/* ==========================================================================
   InvoFlows landing - design tokens
   ========================================================================== */
:root {
    --navy-900: #0b1f42;
    --navy-800: #102a56;
    --navy-600: #3a4f72;
    --slate-500: #5f6f86;
    --slate-400: #8794a8;
    --line: #e6ebf1;
    --line-strong: #d6dee8;
    --surface: #ffffff;
    --surface-alt: #f6f8fb;
    --surface-tint: #eef4f9;

    --teal: #2db5d6;
    --teal-600: #1c8fab;
    --teal-50: #eaf7fb;
    --green: #5db035;
    --green-600: #4c9a24;
    --green-50: #eef8e6;
    --violet: #5a4bd1;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(16, 42, 86, .06), 0 1px 3px rgba(16, 42, 86, .05);
    --shadow: 0 10px 30px rgba(16, 42, 86, .08), 0 2px 6px rgba(16, 42, 86, .05);
    --shadow-lg: 0 30px 70px rgba(16, 42, 86, .16), 0 6px 16px rgba(16, 42, 86, .07);

    --container: 1200px;
    --header-h: 72px;
    --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--navy-600);
    background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { margin: 0; color: var(--navy-800); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--navy-800); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
    border-radius: 10px; font-size: 15.5px; font-weight: 600; white-space: nowrap; border: 1.5px solid transparent;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(93, 176, 53, .28); }
.btn-primary:hover { background: var(--green-600); color: #fff; }
.btn-outline { background: var(--surface); border-color: var(--line-strong); color: var(--navy-800); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn-ghost { color: var(--navy-800); padding: 0 12px; }
.btn-ghost:hover { color: var(--teal-600); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100; height: var(--header-h);
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(16, 42, 86, .06); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 38px; height: auto; }
.wordmark { font-size: 23px; font-weight: 800; font-style: italic; letter-spacing: -.03em; line-height: 1; color: var(--navy-800); }
.wordmark span { color: var(--green); }
.main-nav { display: flex; gap: 2px; margin-right: auto; }
.main-nav a { padding: 8px 11px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; color: var(--navy-600); }
.main-nav a:hover { color: var(--navy-800); background: var(--surface-alt); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--surface-alt); border: 1px solid var(--line); }
.lang-switch button, .lang-switch a { height: 30px; min-width: 38px; padding: 0 8px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--slate-500); }
.lang-switch button[aria-pressed="true"], .lang-switch a[aria-current="page"] { background: var(--surface); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; color: var(--navy-800); border: 1px solid var(--line); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 104px 0; }
.section-flush { padding-top: 0; }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
    font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { margin-top: 18px; font-size: 18.5px; color: var(--slate-500); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(700px 420px at 85% 10%, rgba(45, 181, 214, .12), transparent 70%),
        radial-gradient(600px 380px at 70% 95%, rgba(125, 194, 67, .12), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.4vw, 56px); letter-spacing: -.035em; }
.hero h1 em { display: block; font-style: normal; background: linear-gradient(90deg, var(--teal-600), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--navy-600); }
.hero-points { display: grid; gap: 10px; margin-top: 22px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.hero-points .icon { margin-top: 3px; color: var(--green); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--slate-400); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.stat { padding: 20px 16px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--slate-500); }

.video-card { position: relative; }
.video-card::before {
    content: ""; position: absolute; inset: 8% -4% -6% 6%; z-index: -1; border-radius: 40px;
    background: linear-gradient(135deg, rgba(45, 181, 214, .25), rgba(125, 194, 67, .22)); filter: blur(40px);
}
.video-frame {
    position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
    background: #eef3f8; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-controls { position: absolute; right: 14px; top: 14px; display: flex; gap: 8px; }
.video-btn {
    display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 18px;
    background: rgba(255, 255, 255, .94); border: 1px solid var(--line); color: var(--navy-800);
    font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-sm); transition: background-color .15s;
}
.video-btn:hover { background: #fff; color: var(--teal-600); }
.video-btn .icon { width: 16px; height: 16px; }
.video-btn [data-when-muted="false"], .video-btn.is-unmuted [data-when-muted="true"] { display: none; }
.video-btn.is-unmuted [data-when-muted="false"] { display: inline; }
.video-caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--slate-500); }
.video-caption .icon { color: var(--violet); }

.video-dialog { width: min(1200px, 94vw); padding: 0; border: 0; border-radius: var(--radius-lg); background: #000; box-shadow: var(--shadow-lg); overflow: hidden; }
.video-dialog::backdrop { background: rgba(11, 31, 66, .72); backdrop-filter: blur(4px); }
.video-dialog video { width: 100%; aspect-ratio: 16 / 9; }
.dialog-close { position: absolute; right: 12px; top: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .92); color: var(--navy-800); }

/* ==========================================================================
   Trust strips
   ========================================================================== */
.trust { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: auto 1fr; gap: 20px 48px; align-items: center; }
.trust-label { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.trust-label small { display: block; font-size: 13.5px; font-weight: 400; color: var(--slate-500); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 17px;
    background: var(--surface-alt); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--navy-800); white-space: nowrap;
}
.chip .icon { width: 16px; height: 16px; color: var(--teal-600); }
.chip-code { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.chip-accent { background: var(--teal-50); border-color: #bfe8f2; color: var(--teal-600); }

.industries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.industry {
    display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--navy-800); text-align: center;
}
.industry .icon { width: 26px; height: 26px; color: var(--teal-600); }
.industries-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 28px; font-size: 16px; color: var(--slate-500); }
.industries-foot span { display: inline-flex; align-items: center; gap: 8px; }
.industries-foot .icon { color: var(--green); }

/* ==========================================================================
   Comparison
   ========================================================================== */
.compare { display: grid; grid-template-columns: 1fr 1.12fr; gap: 24px; align-items: stretch; }
.compare-card { padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.compare-card h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; margin-bottom: 24px; }
.compare-card.is-muted { background: var(--surface-alt); }
.compare-card.is-muted h3 { color: var(--slate-500); }
.compare-card.is-brand { border-color: rgba(93, 176, 53, .45); box-shadow: var(--shadow); position: relative; }
.compare-card.is-brand::before { content: ""; position: absolute; left: 36px; right: 36px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--teal), var(--green)); }
.compare-card.is-brand h3 img { width: 30px; }
.icon-list { display: grid; gap: 14px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.icon-list .bullet { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon-list .bullet .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.is-muted .bullet { background: #e9edf2; color: var(--slate-400); }
.is-muted li { color: var(--slate-500); }
.is-brand .bullet { background: var(--green-50); color: var(--green-600); }
.is-brand li { color: var(--navy-800); }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-icon {
    position: relative; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--teal-600);
}
.step-icon .icon { width: 28px; height: 28px; }
.step-icon::after {
    counter-increment: step; content: counter(step); position: absolute; right: -8px; top: -8px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--navy-800); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step:last-child .step-icon { background: var(--green); border-color: var(--green); color: #fff; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--slate-500); }

/* ==========================================================================
   Tabs (shared by features, pricing, savings)
   ========================================================================== */
.js [data-tab]:not(.is-active) { display: none !important; }
.segmented { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.segmented button { height: 40px; padding: 0 18px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--slate-500); transition: background-color .15s, color .15s; }
.segmented button:hover { color: var(--navy-800); }
.segmented button[aria-selected="true"] { background: var(--navy-800); color: #fff; }
.segmented-wrap { display: flex; justify-content: center; margin-bottom: 40px; }
.no-js-label { display: none; }
html:not(.js) .no-js-label { display: block; margin: 32px 0 16px; font-size: 20px; }
html:not(.js) .segmented-wrap { display: none; }

/* ==========================================================================
   Feature cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon { width: 44px; height: 44px; margin-bottom: 18px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--teal-50); color: var(--teal-600); }
.card-icon .icon { width: 22px; height: 22px; }
.card-icon.is-green { background: var(--green-50); color: var(--green-600); }
.card-icon.is-violet { background: #efedfb; color: var(--violet); }
.card h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { font-size: 15.5px; color: var(--slate-500); }
.card .tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 10px; background: var(--surface-alt); font-size: 12.5px; font-weight: 600; color: var(--teal-600); vertical-align: 2px; }

/* ==========================================================================
   Rules engine
   ========================================================================== */
.rules { display: grid; grid-template-columns: 1fr minmax(220px, .7fr) 1fr; grid-template-rows: repeat(3, auto); gap: 20px 32px; align-items: stretch; }
.rules-hub {
    grid-column: 2; grid-row: 1 / span 3; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    padding: 32px 20px; border-radius: 28px; text-align: center;
    background: linear-gradient(160deg, #ffffff 0%, #f1f7fb 100%); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.rules-hub::before, .rules-hub::after { content: ""; position: absolute; top: 18%; bottom: 18%; width: 32px; border: 2px dashed var(--line-strong); }
.rules-hub::before { right: 100%; border-right: 0; border-radius: 16px 0 0 16px; }
.rules-hub::after { left: 100%; border-left: 0; border-radius: 0 16px 16px 0; }
.rules-hub img { width: 84px; }
.rules-hub strong { font-size: 22px; color: var(--navy-800); letter-spacing: -.02em; }
.rules-hub span { font-size: 14.5px; color: var(--slate-500); }
.rule-card { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rule-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 8px; }
.rule-card h3 .icon { color: var(--teal-600); }
.rule-card p { font-size: 15px; color: var(--slate-500); }
.rule-card .example {
    display: flex; gap: 8px; margin-top: 14px; padding: 8px 12px; border-radius: var(--radius-sm);
    background: var(--surface-alt); border: 1px dashed var(--line-strong); font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--navy-800);
}
.rule-card .example b { flex: none; color: var(--teal-600); font-weight: 600; }
.rule-card.is-custom { border-color: rgba(93, 176, 53, .45); background: linear-gradient(180deg, #fbfef9, #fff); }
.rule-card.is-custom .more { display: inline-flex; margin-top: 12px; font-size: 14px; }
.rules-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; margin-top: 40px; font-size: 16.5px; color: var(--navy-800); text-align: center; }
.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.info-card { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-card .card-icon { margin: 0; }
.info-card strong { display: block; color: var(--navy-800); font-size: 16.5px; margin-bottom: 4px; }
.info-card p { font-size: 15px; color: var(--slate-500); }

/* ==========================================================================
   Integrations
   ========================================================================== */
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.logo-tile {
    height: 92px; padding: 18px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.logo-tile img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-tile.logo-word { font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--navy-800); opacity: .75; text-align: center; line-height: 1.15; transition: opacity .2s; }
.logo-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile.logo-word:hover { opacity: 1; }
.integrations-list { margin-top: 40px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.integrations-list h3 { font-size: 16px; margin-bottom: 16px; }
.integrations-list .chips { gap: 10px; }
.integrations-foot { display: flex; justify-content: center; margin-top: 28px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.plans { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.plan.is-featured { border: 1.5px solid var(--navy-800); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 32px; height: 26px; padding: 0 12px; border-radius: 13px; display: inline-flex; align-items: center; background: var(--navy-800); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.plan h3 { font-size: 20px; }
.plan-desc { margin-top: 6px; font-size: 15px; color: var(--slate-500); min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; color: var(--navy-800); }
.price strong { font-size: 44px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.price span { font-size: 15px; color: var(--slate-500); }
.price-sub { margin-top: 8px; font-size: 14px; color: var(--slate-400); }
.package { margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-alt); font-size: 14.5px; color: var(--navy-600); }
.package strong { color: var(--navy-800); }
.package small { display: block; margin-top: 2px; font-size: 13px; color: var(--slate-500); }
.plan .icon-list { margin-top: 22px; gap: 10px; }
.plan .icon-list li { font-size: 15px; color: var(--navy-800); }
.plan .bullet { background: var(--green-50); color: var(--green-600); width: 22px; height: 22px; }
.plan .btn { margin-top: auto; }
.plan-spacer { flex: 1; min-height: 24px; }
.plan.is-custom { background: linear-gradient(170deg, var(--navy-800), var(--navy-900)); border-color: var(--navy-800); color: #c8d4e6; }
.plan.is-custom h3, .plan.is-custom .price { color: #fff; }
.plan.is-custom .plan-desc, .plan.is-custom .price span { color: #a9b8cf; }
.plan.is-custom .icon-list li { color: #e6edf7; }
.plan.is-custom .bullet { background: rgba(125, 194, 67, .18); color: #9ad46b; }
.shared-features { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px; margin-top: 28px; font-size: 15px; color: var(--navy-800); }
.shared-features > span:first-child { font-weight: 600; color: var(--slate-500); }
.shared-features li { display: inline-flex; align-items: center; gap: 7px; }
.shared-features ul { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.shared-features .icon { color: var(--green); width: 18px; height: 18px; }
.free-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.free-row strong { margin-right: 6px; color: var(--navy-800); font-size: 15.5px; }
.free-row .chip .icon { color: #d64545; }

.savings { margin-top: 72px; }
.savings-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.savings-head h3 { font-size: 26px; }
.savings-head .segmented-wrap { margin: 0; }
.savings-intro { margin-bottom: 18px; font-size: 15.5px; color: var(--slate-500); max-width: 860px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.data-table th { padding: 14px 20px; text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-500); background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.data-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--navy-800); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:last-child { font-weight: 700; color: var(--green-600); }
.data-table small { color: var(--slate-500); font-weight: 400; }
.footnote { margin-top: 14px; font-size: 13.5px; color: var(--slate-400); }
.free-banner { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 48px; padding: 22px; border-radius: var(--radius-lg); background: var(--green-50); border: 1px solid #cfeab9; color: var(--navy-800); font-size: 18px; font-weight: 600; text-align: center; }
.free-banner .icon { color: var(--green-600); width: 24px; height: 24px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--teal-600); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none;
    font-size: 16.5px; font-weight: 600; color: var(--navy-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--slate-400); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); color: var(--teal-600); }
.faq-item p { padding: 0 32px 20px 0; font-size: 15.5px; color: var(--slate-500); }

/* ==========================================================================
   CTA + contacts
   ========================================================================== */
.cta-panel {
    position: relative; overflow: hidden; padding: 64px; border-radius: 28px; color: #c8d4e6;
    background: radial-gradient(600px 300px at 90% 0%, rgba(45, 181, 214, .35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(125, 194, 67, .25), transparent 70%), var(--navy-800);
}
.cta-panel .eyebrow { color: #8fdcef; }
.cta-panel h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); max-width: 760px; }
.cta-panel p { margin-top: 18px; max-width: 760px; font-size: 17.5px; }
.cta-panel .hero-ctas .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.cta-panel .hero-ctas .btn-outline:hover { border-color: #fff; }
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
a.contact-card:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.contact-card .icon { margin-bottom: 8px; color: #8fdcef; }
.contact-card span { font-size: 13px; color: #a9b8cf; }
.contact-card strong { font-size: 16.5px; font-weight: 600; }
.contact-card small { font-size: 13px; color: #a9b8cf; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 72px 0 32px; background: var(--surface-alt); border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 360px; color: var(--slate-500); }
.footer-col h4 { margin-bottom: 14px; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--navy-800); }
.footer-col li + li { margin-top: 9px; }
.footer-col a { color: var(--slate-500); }
.footer-col a:hover { color: var(--navy-800); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate-400); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .card:hover { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .main-nav a { padding: 8px 8px; font-size: 14.5px; }
    .header-inner { gap: 18px; }
    .logo-wall { grid-template-columns: repeat(4, 1fr); }
    .industries { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
    .burger { display: inline-flex; }
    .main-nav {
        position: fixed; left: 0; right: 0; top: var(--header-h); flex-direction: column; gap: 0; padding: 12px 24px 24px;
        background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(16, 42, 86, .08);
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    }
    .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .main-nav a { padding: 14px 4px; font-size: 16.5px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .header-actions { margin-left: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .rules { grid-template-columns: 1fr 1fr; }
    .rules-hub { grid-column: 1 / -1; grid-row: auto; order: -1; flex-direction: row; }
    .rules-hub::before, .rules-hub::after { display: none; }
    .rules-hub img { width: 56px; }
    .plans { grid-template-columns: 1fr 1fr; }
    .plan.is-custom { grid-column: 1 / -1; }
    .contacts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .section { padding: 80px 0; }
    .compare { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
    .steps::before { display: none; }
    .cards { grid-template-columns: 1fr 1fr; }
    .faq { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .cta-panel { padding: 44px 32px; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .container { padding: 0 18px; }
    .header-actions .btn-outline, .header-actions .btn-primary { display: none; }
    .hero { padding: 40px 0 64px; }
    .stats { grid-template-columns: 1fr; }
    .stat, .stat + .stat { padding: 16px 0 0; border-left: 0; }
    .stat + .stat { margin-top: 16px; border-top: 1px solid var(--line); }
    .industries { grid-template-columns: 1fr 1fr; }
    .steps, .cards, .rules, .plans, .info-row, .contacts { grid-template-columns: 1fr; }
    .rules-hub { flex-direction: column; }
    .logo-wall { grid-template-columns: 1fr 1fr; }
    .compare-card, .plan { padding: 26px 22px; }
    .data-table th, .data-table td { padding: 12px 14px; }
    .cta-panel { padding: 36px 22px; border-radius: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
}
