/* ============================================================
   Public website — design system v3.

   Aligned to the in-product palette (indigo #667eea → purple
   #764ba2 gradient) so the marketing site reads as continuous
   with the application. Mix of light, tinted, and dark sections
   for rhythm. Custom UI primitives (chat, video, permissions,
   multi-tenant, activity feed) built to *show* real product
   capabilities rather than describe them.
   ============================================================ */

:root {
    /* Brand */
    --brand-1:  #667eea;        /* primary indigo */
    --brand-2:  #764ba2;        /* deeper purple */
    --brand-3:  #4338ca;        /* deep indigo (text accent) */
    --brand-grad:        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --brand-grad-soft:   linear-gradient(135deg, rgba(102,126,234,.18) 0%, rgba(118,75,162,.18) 100%);
    --brand-grad-radial: radial-gradient(ellipse at 50% 0%, rgba(102,126,234,.30) 0%, rgba(118,75,162,.12) 35%, transparent 70%);

    /* Surfaces */
    --bg:           #ffffff;
    --bg-alt:       #fafafa;
    --bg-tint:      #f8f7fd;          /* faint indigo tint */
    --bg-sunken:    #f4f4f5;
    /* Deep slate, aligned with the login page so every dark surface on the
       public site (top bar, final-CTA blocks, security ownership section)
       reads as one continuous premium dark zone. */
    --bg-inverse:   #0f172a;          /* slate-900 */
    --bg-inverse-2: #1e293b;          /* slate-800 */
    --bg-inverse-3: #334155;          /* slate-700 */

    /* Rich gradient — indigo → violet → pink. Same stops as the login's
       brand panel; used on dark surfaces for premium accent moments. */
    --brand-grad-rich: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);

    /* Borders */
    --line:           #e7e7eb;
    --line-strong:    #d4d4d8;
    --line-inverse:   rgba(255,255,255,.10);
    --line-inverse-2: rgba(255,255,255,.06);

    /* Text */
    --ink:               #0a0a0a;
    --ink-soft:          #18181b;
    --muted:             #525252;
    --soft:              #737373;
    --faint:             #a3a3a3;
    --ink-inverse:       #ffffff;
    --ink-inverse-muted: rgba(255,255,255,.66);
    --ink-inverse-faint: rgba(255,255,255,.40);

    /* Accent (used inside the app) */
    --accent:        var(--brand-1);
    --accent-hover:  var(--brand-3);
    --accent-soft:   #eef2ff;
    --accent-border: #c7d2fe;

    /* Status */
    --success:        #10b981;
    --success-soft:   #ecfdf5;
    --success-text:   #065f46;
    --warning:        #f59e0b;
    --warning-soft:   #fffbeb;
    --warning-text:   #92400e;
    --danger:         #ef4444;
    --danger-soft:    #fef2f2;
    --danger-text:    #991b1b;
    --info:           #3b82f6;
    --info-soft:      #eff6ff;
    --info-text:      #1e40af;

    /* Type */
    --font-sans:    'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Radii */
    --r-sm:   6px;
    --r-md:   10px;
    --r-lg:   16px;
    --r-xl:   22px;
    --r-2xl:  28px;
    --r-pill: 999px;

    /* Layout */
    --topbar-h: 36px;
    --nav-h: 64px;
    --container-w: 1200px;
    --section-y: clamp(72px, 9vw, 128px);

    /* Shadows — subtle and layered */
    --shadow-xs: 0 1px 2px rgba(15,15,26,.06);
    --shadow-sm: 0 2px 4px rgba(15,15,26,.06), 0 1px 1px rgba(15,15,26,.04);
    --shadow-md: 0 10px 20px -12px rgba(15,15,26,.12), 0 4px 8px -6px rgba(15,15,26,.06);
    --shadow-lg: 0 24px 48px -24px rgba(15,15,26,.20), 0 8px 16px -12px rgba(15,15,26,.10);
    --shadow-glow: 0 12px 36px -12px rgba(102,126,234,.45);

    /* Motion */
    --ease: cubic-bezier(.22,.61,.36,1);
    --t-fast: 150ms var(--ease);
    --t: 250ms var(--ease);
    --t-slow: 450ms var(--ease);
}

/* ---------------------------------------------------------- */
/* Reset & base                                               */
/* ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--brand-1); color: #fff; }
:focus-visible {
    outline: 2px solid var(--brand-1);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Sample / demo tag — labels mockups so they don't read as real
   customer data. Pinned to the top-right of the parent container. */
.sample-tag {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 9px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,.85);
    color: var(--soft);
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.sample-tag--dark {
    background: rgba(255,255,255,.10);
    color: var(--ink-inverse-muted);
    border-color: var(--line-inverse);
}

/* Reusable "in early access" badge */
.early-access {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: var(--r-pill);
    background: rgba(102,126,234,.12);
    color: var(--brand-3);
    border: 1px solid rgba(102,126,234,.22);
}
.early-access::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--brand-1);
    box-shadow: 0 0 0 3px rgba(102,126,234,.18);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    padding: .625rem 1rem;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: .875rem;
    transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); position: relative; }
.section-sm { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); position: relative; }
.section-alt    { background: var(--bg-alt); }
.section-tint   { background: var(--bg-tint); position: relative; }
.section-tint::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 40% 60% at 100% 0%, rgba(102,126,234,.08) 0%, transparent 60%),
                radial-gradient(ellipse 40% 60% at 0% 100%, rgba(118,75,162,.06) 0%, transparent 60%);
    pointer-events: none;
}
.section-tint > * { position: relative; }

.section-inverse {
    background: var(--bg-inverse);
    color: var(--ink-inverse);
    position: relative;
    overflow: hidden;
}
.section-inverse::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 0%,  rgba(102,126,234,.20) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 100% 100%, rgba(118,75,162,.15) 0%, transparent 60%);
    pointer-events: none;
}
.section-inverse > * { position: relative; }

.section-head {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}
.section-head.is-left { margin-left: 0; text-align: left; }

/* ---------------------------------------------------------- */
/* Typography                                                 */
/* ---------------------------------------------------------- */
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-sans); margin: 0; }
.section-inverse :is(h1, h2, h3, h4) { color: var(--ink-inverse); }

.display {
    font-family: var(--font-sans);
    /* Weight 600 reads as confident, not shouty. 700 is right for the
       gradient-button consumer SaaS pattern; enterprise headlines lean
       lighter. */
    font-weight: 600;
    /* Letter-spacing eased from -0.028em — that was tight enough to make
       "We read" feel cramped at large sizes. -0.018em keeps the modern
       optical correction without crowding the glyphs. */
    letter-spacing: -0.018em;
    /* Line-height eased from 1.08 → 1.14 so two-line headlines breathe
       (the dominant case for hero copy). */
    line-height: 1.14;
    color: var(--ink);
    margin: 0;
    font-size: clamp(2rem, 4vw + 0.4rem, 3.25rem);
    text-wrap: balance;
}
.section-inverse .display { color: var(--ink-inverse); }

.h-display {
    font-size: clamp(1.875rem, 3.6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.16;
    margin: 0;
    color: var(--ink);
    text-wrap: balance;
}
.section-inverse .h-display { color: var(--ink-inverse); }

.h-section {
    font-size: clamp(1.625rem, 2.6vw + 0.4rem, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.22;
    color: var(--ink);
    text-wrap: balance;
}
.section-inverse .h-section { color: var(--ink-inverse); }

/* Headline accent — a single restrained deep-indigo, applied uniformly
   across every page. Cleaner and more institutional than a multi-stop
   gradient on every emphasised phrase. The vivid variant remains
   available for the rare case where we want it to pop. */
.grad-text {
    color: var(--brand-3);
    font-weight: inherit;
}
.grad-text--vivid {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lede {
    font-size: clamp(1rem, .4vw + .9rem, 1.15rem);
    color: var(--muted);
    line-height: 1.6;
    max-width: 56ch;
    margin: 0;
    text-wrap: pretty;
}
.section-inverse .lede { color: var(--ink-inverse-muted); }
.section-head .lede { margin-left: auto; margin-right: auto; }
.section-head.is-left .lede { margin-left: 0; margin-right: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: rgba(102,126,234,.08);
    border: 1px solid rgba(102,126,234,.18);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--brand-3);
    margin-bottom: 24px;
}
.eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand-grad);
}
.section-inverse .eyebrow {
    background: rgba(255,255,255,.06);
    border-color: var(--line-inverse);
    color: var(--ink-inverse-muted);
}

.mono { font-family: var(--font-mono); }

/* ---------------------------------------------------------- */
/* Buttons                                                    */
/* ---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1;
    border: 1px solid transparent;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.btn:active:not([disabled]):not(.is-loading) { transform: scale(.985); }
.btn[disabled], .btn.is-loading { cursor: not-allowed; opacity: .85; }
.btn .btn-spinner {
    display: none;
    width: 1em; height: 1em;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: spin .7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-icon,
.btn.is-loading > svg:not(.btn-spinner) { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Primary button — solid ink. Enterprise SaaS convention (Stripe, Linear,
   Mercury, Ramp). The gradient variant is retained as .btn-primary--gradient
   for moments where we still want a marketing pop (final-CTA bands etc.). */
.btn-primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.btn-primary:hover:not([disabled]):not(.is-loading) {
    background: #1a1a1a;
    border-color: #1a1a1a;
    box-shadow: 0 6px 16px -6px rgba(0,0,0,.25);
    transform: translateY(-1px);
    color: #fff;
}
.btn-primary--gradient {
    background: var(--brand-grad);
    border-color: transparent;
    box-shadow: 0 6px 20px -6px rgba(102,126,234,.55), inset 0 0 0 1px rgba(255,255,255,.12);
}
.btn-primary--gradient:hover:not([disabled]):not(.is-loading) {
    background: var(--brand-grad);
    box-shadow: 0 10px 28px -8px rgba(102,126,234,.65), inset 0 0 0 1px rgba(255,255,255,.16);
}

.btn-secondary {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover:not([disabled]):not(.is-loading) {
    background: var(--bg-sunken);
    color: var(--ink);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
}
.btn-ghost:hover:not([disabled]):not(.is-loading) { background: var(--bg-sunken); color: var(--ink); }

.section-inverse .btn-primary,
.cta .btn-primary { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 6px 20px -6px rgba(0,0,0,.4); }
.section-inverse .btn-primary:hover:not([disabled]):not(.is-loading),
.cta .btn-primary:hover:not([disabled]):not(.is-loading) { background: #f4f4f5; color: var(--ink); border-color: #f4f4f5; }
.section-inverse .btn-secondary,
.cta .btn-secondary { background: rgba(255,255,255,.05); color: #fff; border-color: var(--line-inverse); box-shadow: none; }
.section-inverse .btn-secondary:hover,
.cta .btn-secondary:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); color: #fff; }

.btn-lg { height: 50px; padding: 0 22px; font-size: 15.5px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brand-3);
    font-weight: 600;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    transition: gap var(--t);
}
.link-arrow:hover { gap: 8px; color: var(--brand-2); }
.link-arrow svg { width: 14px; height: 14px; }
.section-inverse .link-arrow { color: #fff; }

/* ---------------------------------------------------------- */
/* Navigation                                                 */
/* ---------------------------------------------------------- */
.nav {
    position: fixed;
    top: var(--topbar-h); left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    background: transparent;
    transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-solid {
    background: rgba(255,255,255,.80);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom-color: var(--line);
}
.nav__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    font-size: 15.5px;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}
.brand__mark {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 12px -4px rgba(102,126,234,.5);
}

/* Brand wordmark — replaces the text brand in the nav + footer. The asset is
   white glyphs on a transparent background; the white-glass nav and the light
   footer invert it to dark ink, while the transparent nav over a dark hero
   keeps the glyphs white (mirrors the .brand colour switch above). */
.nav .brand-wordmark,
.footer .brand-wordmark { display: block; width: auto; }
.nav .brand-wordmark   { height: 24px; filter: invert(1); }
.footer .brand-wordmark { height: 22px; filter: invert(1); }
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .brand-wordmark { filter: none; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.nav__link {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--ink); background: var(--bg-sunken); }
.nav__link[aria-current="page"] { color: var(--brand-3); }

.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav__sign-in {
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    transition: color var(--t-fast);
}
.nav__sign-in:hover { color: var(--ink); }
.nav__primary {
    height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
    transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.nav__primary:hover { background: #1a1a1a; transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(0,0,0,.25); color: #fff; }

.nav__toggler {
    display: none;
    width: 38px; height: 38px;
    border: 1px solid var(--line);
    background: var(--bg);
    border-radius: 8px;
    color: var(--ink);
}
.nav__toggler:hover { background: var(--bg-sunken); }
.nav__toggler svg { display: block; margin: 0 auto; }

@media (max-width: 880px) {
    .nav__links, .nav__cta { display: none; }
    .nav__toggler { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
}

.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}
.mobile-menu.is-open {
    opacity: 1; transform: none; visibility: visible;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
}
.mobile-menu a {
    display: block;
    padding: 12px 10px;
    margin: 0 -10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    border-radius: 8px;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { background: var(--bg-sunken); }
.mobile-menu a[aria-current="page"] {
    color: var(--brand-3);
    background: rgba(102, 126, 234, 0.06);
}
/* Replace the global 2px brand-1 outline ring with a tighter inset highlight
   for drawer links. The drawer auto-focuses the first link on open (a11y), and
   the global ring reads too loudly on a touch-opened menu. */
.mobile-menu a:focus { outline: none; }
.mobile-menu a:focus-visible {
    outline: none;
    background: rgba(102, 126, 234, 0.10);
    box-shadow: inset 0 0 0 1.5px var(--brand-3);
}
.mobile-menu__cta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-menu__cta .btn {
    width: 100%;
    display: inline-flex;
    border-bottom: none;
    padding: 0 18px;
    font-size: 14.5px;
    margin: 0;
}
/* The drawer CTAs are <a class="btn …"> inside .mobile-menu, so the
   `.mobile-menu a` link rule (ink colour, block, left padding) wins on
   specificity and makes the dark primary button's label invisible.
   Re-assert the button text colours. */
.mobile-menu__cta .btn-primary   { color: #fff; }
.mobile-menu__cta .btn-secondary { color: var(--ink); }

body.scroll-lock { overflow: hidden; }

/* ---------------------------------------------------------- */
/* Hero                                                       */
/* ---------------------------------------------------------- */
.hero {
    position: relative;
    padding: calc(var(--topbar-h) + var(--nav-h) + 64px) 0 80px;
    overflow: hidden;
    isolation: isolate;
}
.hero--center { text-align: center; }
.hero__inner { position: relative; z-index: 2; }
.hero__inner.is-narrow { max-width: 860px; margin: 0 auto; }

/* Split hero — text left, product visual right. Enterprise default.
   Falls back to a stacked single column under 960px.

   Sizing rules:
     · Fills the first viewport on desktop (min-height: 100svh) so the
       hero is the user's entire first impression. 100svh (small viewport
       units) keeps the layout stable when mobile browser chrome
       collapses on scroll; falls back to 100vh on older browsers.
     · Vertically centres content via flex-column so the headline lands
       at optical centre once the fixed nav is accounted for via the
       reserved top padding.
     · On mobile (under 960px) reverts to natural height — stacking the
       text and the dashboard preview vertically would overflow the
       viewport otherwise. */
.hero--split {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--topbar-h) + var(--nav-h) + 32px);
    padding-bottom: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero--split .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 4.5vw, 64px);
    align-items: center;
    max-width: var(--container-w);
    width: 100%;
}
.hero--split .lede { max-width: 50ch; }

/* Larger type on the full-viewport hero — there's room for it. */
.hero--split .display {
    font-size: clamp(2.25rem, 4.5vw + 0.4rem, 3.5rem);
    line-height: 1.12;
}
.hero--split .lede {
    font-size: clamp(1rem, .4vw + .95rem, 1.2rem);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .hero--split {
        min-height: auto;
        padding-top: calc(var(--topbar-h) + var(--nav-h) + 56px);
        padding-bottom: 72px;
        display: block;
    }
    .hero--split .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

.hero__title { margin: 0 0 20px; text-wrap: balance; }
.hero--center .lede { margin-left: auto; margin-right: auto; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero--center .hero__cta { justify-content: center; }
.hero--split .hero__cta  { justify-content: flex-start; }

/* Quieter eyebrow alternative to .early-access. No pill background —
   just a small accent dot and tight uppercase label. Reads more
   institutional in the hero context. */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-3);
    margin-bottom: 18px;
}
.kicker::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand-3);
    box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.12);
}

.hero__meta {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    color: var(--soft);
    font-size: 13.5px;
    align-items: center;
    list-style: none;
    padding: 0;
}
.hero--center .hero__meta { justify-content: center; }
.hero__meta__item { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta__item svg { width: 14px; height: 14px; color: var(--brand-1); }

/* Animated gradient orb backdrop */
.hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* Subtle ink-tinted wash from top. Less aggressive than the
       indigo-purple radial that read consumer-y. */
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%,
            rgba(102,126,234,.08) 0%,
            rgba(118,75,162,.04) 35%,
            transparent 70%);
}
.hero__orb {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero__orb::before, .hero__orb::after {
    content: "";
    position: absolute;
    width: 480px; height: 480px;
    border-radius: 50%;
    filter: blur(96px);
    /* Muted from .55 — bright orbs read as consumer / AI-startup,
       not enterprise. A subtle wash signals modern without shouting. */
    opacity: .18;
}
.hero__orb::before {
    top: -200px; left: 12%;
    background: radial-gradient(circle, #667eea 0%, transparent 70%);
    animation: orb-a 18s var(--ease) infinite alternate;
}
.hero__orb::after {
    top: -120px; right: 8%;
    background: radial-gradient(circle, #764ba2 0%, transparent 70%);
    animation: orb-b 22s var(--ease) infinite alternate;
}
@keyframes orb-a { to { transform: translate(40px, 60px) scale(1.08); } }
@keyframes orb-b { to { transform: translate(-60px, 40px) scale(.95); } }
@media (prefers-reduced-motion: reduce) {
    .hero__orb::before, .hero__orb::after { animation: none; }
}
.hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(15,15,26,.10) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 70%);
    opacity: .55;
}

.hero-compact { padding: calc(var(--topbar-h) + var(--nav-h) + 56px) 0 32px; }
.hero-compact .display { font-size: clamp(1.75rem, 3.4vw + 0.4rem, 2.625rem); }

/* ──────────────────────────────────────────────────────────────
   Dark-nav variant.
   When a page renders a dark hero, the nav sits transparently over it
   at the top of the page (white text on dark hero), then transitions
   to the standard white-glass pill on scroll once the user is past the
   hero and into the light content sections. Toggled by adding the
   .nav--on-dark class to the nav element via the layout.
   ────────────────────────────────────────────────────────────── */
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) {
    background: transparent;
    border-bottom-color: transparent;
}
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .brand { color: #ffffff; }
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .brand__mark {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .nav__link {
    color: rgba(255, 255, 255, 0.72);
}
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .nav__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .nav__link[aria-current="page"] {
    color: #c4b5fd;
}
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .nav__sign-in {
    color: rgba(255, 255, 255, 0.72);
}
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .nav__sign-in:hover { color: #ffffff; }
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .nav__primary {
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.4);
}
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .nav__primary:hover {
    background: #f1f5f9;
    color: var(--ink);
}
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .nav__toggler {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.30);
}
.nav.nav--on-dark:not(.is-scrolled):not(.is-solid) .nav__toggler:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* ──────────────────────────────────────────────────────────────
   Dark / premium hero variant.
   Aligned with the login page palette so the marketing front door
   reads as continuous with the app's premium feel: deep slate body,
   indigo → violet → pink gradient lights, white dotted overlay,
   white-on-ink CTA, ghost secondary. Compose with .hero--split or
   stand-alone.
   ────────────────────────────────────────────────────────────── */
.hero--dark {
    background: var(--bg-inverse);
    color: rgba(255, 255, 255, 0.85);
}

/* Brighter, larger orbs in the login palette — visible against the dark
   slate base so the hero feels rich without being noisy. */
.hero--dark .hero__orb::before,
.hero--dark .hero__orb::after {
    width: 620px; height: 620px;
    filter: blur(120px);
    opacity: 0.38;
}
.hero--dark .hero__orb::before {
    top: -260px; left: -8%;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
}
.hero--dark .hero__orb::after {
    top: -180px; right: -8%;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
}

/* White dotted overlay matches the login's auth-brand__dots pattern. */
.hero--dark .hero__grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.75;
}

/* Backdrop wash subtle and dark-friendly. */
.hero--dark .hero__backdrop {
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%,
            rgba(79, 70, 229, 0.18) 0%,
            rgba(124, 58, 237, 0.10) 35%,
            transparent 70%);
}

/* Typography on dark hero. */
.hero--dark .display       { color: #ffffff; }
.hero--dark .hero__title   { color: #ffffff; }
.hero--dark .lede          { color: rgba(255, 255, 255, 0.72); }
.hero--dark .hero__trust   { color: rgba(255, 255, 255, 0.50); }

/* Eyebrow / kicker: lighter accent on dark base. */
.hero--dark .kicker {
    color: #c4b5fd;   /* violet-300 — readable on slate, premium feel */
}
.hero--dark .kicker::before {
    background: #c4b5fd;
    box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.18);
}

/* Gradient-text accent on dark hero uses the login's rich gradient —
   indigo → violet → pink. Bright enough to read on slate and gives the
   marketing page the same premium signature the login has. */
.hero--dark .grad-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f0abfc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* CTAs inverted for the dark surface. Primary is white-on-ink (high
   contrast pop on slate); secondary is a ghost border. */
.hero--dark .btn-primary {
    background: #ffffff;
    color: var(--ink);
    border-color: #ffffff;
    box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
}
.hero--dark .btn-primary:hover:not([disabled]):not(.is-loading) {
    background: #f1f5f9;
    color: var(--ink);
    border-color: #f1f5f9;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55);
}
.hero--dark .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero--dark .btn-secondary:hover:not([disabled]):not(.is-loading) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
}

/* Product preview frame inside the dark hero — keeps the white card
   surface so populated data stays readable, but with a stronger shadow
   and a subtle violet edge glow so it sits crisply on the dark base. */
.hero--dark .frame {
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 50px -20px rgba(124, 58, 237, 0.35);
}
.hero--dark .sample-tag {
    background: rgba(15, 23, 42, 0.85);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

/* ---------------------------------------------------------- */
/* Browser frame (product preview)                            */
/* ---------------------------------------------------------- */
.frame {
    position: relative;
    margin: 64px auto 0;
    max-width: 1100px;
    border: 1px solid var(--line);
    border-radius: var(--r-2xl);
    background: #fff;
    box-shadow: var(--shadow-lg), 0 60px 100px -50px rgba(102,126,234,.30);
    overflow: hidden;
}
.frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--r-2xl);
    padding: 1px;
    background: linear-gradient(180deg, rgba(102,126,234,.30), transparent 35%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.frame__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.frame__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame__dot:nth-child(2) { background: #fbbf24; }
.frame__dot:nth-child(3) { background: #34d399; }
.frame__addr {
    margin-left: 14px;
    flex: 1;
    height: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--soft);
    max-width: 380px;
}
.frame__body { padding: 24px; }

.frame__layout { display: grid; grid-template-columns: 200px 1fr; gap: 16px; min-height: 360px; }
.frame__sb {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 14px 12px;
    display: flex; flex-direction: column; gap: 4px;
}
.frame__sb__group {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 8px 4px;
}
.frame__sb__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 7px;
    font-size: 12.5px;
    color: var(--ink-soft);
    transition: background var(--t-fast);
}
.frame__sb__item svg { width: 13px; height: 13px; color: var(--soft); flex-shrink: 0; }
.frame__sb__item.is-active { background: rgba(102,126,234,.10); color: var(--brand-3); }
.frame__sb__item.is-active svg { color: var(--brand-3); }
.frame__sb__item__badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    color: var(--soft);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 1px 6px;
    border-radius: var(--r-pill);
}

.frame__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.frame__kpi {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
}
.frame__kpi__label { font-size: 10.5px; color: var(--soft); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.frame__kpi__value { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-top: 4px; }
.frame__kpi__delta { margin-top: 4px; font-size: 11.5px; color: var(--success); font-weight: 600; }
.frame__kpi__delta.is-soft { color: var(--soft); }

.frame__split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.frame__panel { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.frame__panel__title {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.frame__panel__title small { color: var(--soft); font-weight: 500; font-size: 10.5px; }

.frame__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
}
.frame__row:first-of-type { border-top: 0; padding-top: 0; }
.frame__avatar {
    width: 24px; height: 24px;
    border-radius: 7px;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 700;
    flex-shrink: 0;
}
.frame__avatar.is-soft { background: var(--bg-sunken); color: var(--ink); }
.frame__row__main { flex: 1; min-width: 0; }
.frame__row__name { color: var(--ink); font-weight: 500; font-size: 12px; }
.frame__row__meta { color: var(--soft); font-size: 10.5px; }
.frame__row__value { font-family: var(--font-mono); font-size: 12px; color: var(--ink); font-weight: 500; }
.frame__row__tag {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--r-pill);
    background: var(--success-soft);
    color: var(--success-text);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.frame__row__tag.is-pending { background: var(--warning-soft); color: var(--warning-text); }
.frame__row__tag.is-overdue { background: var(--danger-soft);  color: var(--danger-text); }

.frame__bars { display: flex; flex-direction: column; gap: 12px; }
.frame__bar-row__top { display: flex; justify-content: space-between; font-size: 11px; color: var(--soft); margin-bottom: 4px; }
.frame__bar-row__top strong { color: var(--ink); font-weight: 600; }
.frame__bar-row__track { height: 6px; background: var(--bg-sunken); border-radius: var(--r-pill); overflow: hidden; }
.frame__bar-row__fill { height: 100%; background: var(--brand-grad); border-radius: var(--r-pill); }

@media (max-width: 880px) {
    .frame__layout { grid-template-columns: 1fr; }
    .frame__sb { display: none; }
}
@media (max-width: 600px) {
    .frame__kpis { grid-template-columns: repeat(2, 1fr); }
    .frame__split { grid-template-columns: 1fr; }
    .frame__addr { display: none; }
}

/* ---------------------------------------------------------- */
/* Chat mockup                                                */
/* ---------------------------------------------------------- */
.chat {
    display: grid;
    grid-template-columns: 180px 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 380px;
}
.chat__sb {
    background: var(--bg-alt);
    border-right: 1px solid var(--line);
    padding: 16px 10px;
}
.chat__sb__title {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--soft);
    padding: 4px 8px 8px;
}
.chat__channel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 7px;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 2px;
}
.chat__channel.is-active { background: rgba(102,126,234,.10); color: var(--brand-3); font-weight: 600; }
.chat__channel__hash { color: var(--soft); }
.chat__channel.is-active .chat__channel__hash { color: var(--brand-3); }
.chat__channel__count {
    margin-left: auto;
    font-size: 10px;
    background: var(--brand-grad);
    color: #fff;
    padding: 1px 6px;
    border-radius: var(--r-pill);
    font-weight: 700;
}
.chat__main { display: flex; flex-direction: column; }
.chat__head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat__head__title { font-weight: 600; color: var(--ink); font-size: 13px; }
.chat__head__sub  { font-size: 11.5px; color: var(--soft); }
.chat__head__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16,185,129,.18);
    margin-right: 6px;
}
.chat__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.chat__msg { display: flex; gap: 10px; align-items: flex-start; }
.chat__msg__avatar {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.chat__msg__avatar.is-alt { background: linear-gradient(135deg,#11998e,#38ef7d); }
.chat__msg__avatar.is-alt-2 { background: linear-gradient(135deg,#f59e0b,#d97706); }
.chat__msg__body__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.chat__msg__name { font-weight: 600; color: var(--ink); font-size: 12.5px; }
.chat__msg__time { font-size: 10.5px; color: var(--soft); font-family: var(--font-mono); }
.chat__msg__text {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 8px 12px;
    max-width: 90%;
}
.chat__msg__text.is-brand { background: var(--brand-grad); color: #fff; }
.chat__input {
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-alt);
}
.chat__input__box {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12.5px;
    color: var(--soft);
}
.chat__input__send {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 600px) { .chat { grid-template-columns: 1fr; } .chat__sb { display: none; } }

/* ---------------------------------------------------------- */
/* Video call mockup                                          */
/* ---------------------------------------------------------- */
.callmock {
    background: #0a0612;
    border-radius: var(--r-xl);
    border: 1px solid var(--line-inverse);
    overflow: hidden;
    padding: 14px;
    color: #fff;
    box-shadow: var(--shadow-md);
}
.callmock__main {
    aspect-ratio: 16 / 9;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #c026d3 100%);
    position: relative;
    overflow: hidden;
}
.callmock__main::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.4), transparent 60%);
}
.callmock__main__name {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(10px);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}
.callmock__main__rec {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(220,38,38,.95);
    padding: 4px 10px;
    border-radius: var(--r-pill);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.callmock__main__rec::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { opacity: .3; } }
.callmock__tiles { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.callmock__tile {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background: linear-gradient(135deg, #1f1840, #2d2358);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}
.callmock__tile:nth-child(2) { background: linear-gradient(135deg, #0f4c5c, #19738a); }
.callmock__tile:nth-child(3) { background: linear-gradient(135deg, #7e2553, #a83263); }
.callmock__tile:nth-child(4) { background: linear-gradient(135deg, #d97706, #fbbf24); }
.callmock__tile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4));
}
.callmock__tile__name {
    position: absolute;
    bottom: 6px;
    left: 8px;
    font-size: 10px;
    font-weight: 600;
    z-index: 1;
}
.callmock__controls {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.callmock__btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.10);
}
.callmock__btn--end { background: #dc2626; border-color: #dc2626; }
.callmock__btn svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------- */
/* Permissions matrix mockup                                  */
/* ---------------------------------------------------------- */
.matrix {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.matrix__head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
}
.matrix__head small { color: var(--soft); font-weight: 500; margin-left: 6px; }
.matrix__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    font-size: 12.5px;
}
.matrix__cell {
    padding: 11px 14px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.matrix__cell:nth-child(5n + 1) { justify-content: flex-start; font-weight: 500; color: var(--ink); }
.matrix__cell.is-head {
    border-top: 0;
    background: var(--bg-alt);
    color: var(--soft);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.04em;
}
.matrix__check {
    width: 18px; height: 18px;
    border-radius: 5px;
    background: rgba(102,126,234,.10);
    color: var(--brand-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.matrix__check.is-off { background: var(--bg-sunken); color: var(--faint); }
.matrix__check svg { width: 11px; height: 11px; }

/* ---------------------------------------------------------- */
/* Multi-tenant list mockup                                   */
/* ---------------------------------------------------------- */
.tenants {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.tenants__head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 600;
}
.tenants__head__pill {
    font-size: 10.5px;
    background: var(--brand-grad);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    font-weight: 700;
}
.tenants__row {
    display: grid;
    grid-template-columns: 36px 1.5fr 1fr 1fr 80px;
    gap: 12px;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
}
.tenants__row:first-of-type { border-top: 0; }
.tenants__row__avatar {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}
.tenants__row__avatar.t2 { background: linear-gradient(135deg,#11998e,#38ef7d); }
.tenants__row__avatar.t3 { background: linear-gradient(135deg,#f59e0b,#d97706); }
.tenants__row__avatar.t4 { background: linear-gradient(135deg,#06b6d4,#0ea5e9); }
.tenants__row__name { color: var(--ink); font-weight: 600; }
.tenants__row__meta { color: var(--soft); font-size: 10.5px; }
.tenants__row__stat { color: var(--ink); font-family: var(--font-mono); font-weight: 500; }
.tenants__row__stat__label { display: block; font-size: 10px; color: var(--soft); font-family: var(--font-body); font-weight: 400; margin-bottom: 1px; }
.tenants__row__status {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background: var(--success-soft);
    color: var(--success-text);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
@media (max-width: 600px) {
    .tenants__row { grid-template-columns: 32px 1fr 80px; }
    .tenants__row__stat { display: none; }
}

/* ---------------------------------------------------------- */
/* Live activity feed                                         */
/* ---------------------------------------------------------- */
.activity {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 16px 18px;
    box-shadow: var(--shadow-md);
}
.activity__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.activity__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.activity__live {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--success);
    position: relative;
}
.activity__live::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--success);
    opacity: .35;
    animation: ping 1.8s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .5; } 100% { transform: scale(2); opacity: 0; } }
.activity__list { display: flex; flex-direction: column; gap: 12px; }
.activity__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.activity__item:last-child { border-bottom: 0; padding-bottom: 0; }
.activity__icon {
    width: 26px; height: 26px;
    border-radius: 8px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.activity__icon svg { width: 12px; height: 12px; }
.activity__icon--pay     { background: var(--success-soft); color: var(--success); }
.activity__icon--receipt { background: var(--info-soft);    color: var(--info); }
.activity__icon--reminder{ background: var(--warning-soft); color: var(--warning); }
.activity__icon--chat    { background: rgba(102,126,234,.10); color: var(--brand-3); }
.activity__body { flex: 1; line-height: 1.45; }
.activity__body strong { color: var(--ink); font-weight: 600; }
.activity__time { font-size: 10.5px; color: var(--soft); font-family: var(--font-mono); }

/* ---------------------------------------------------------- */
/* Logo strip                                                 */
/* ---------------------------------------------------------- */
.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; background: var(--bg); }
.logo-strip__label { text-align: center; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--soft); text-transform: uppercase; margin: 0 0 20px; }
.logo-strip__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; }
.logo-strip__item {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--faint);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--t);
}
.logo-strip__item svg { width: 16px; height: 16px; }
.logo-strip__item:hover { color: var(--soft); }

/* ---------------------------------------------------------- */
/* Bento grid                                                 */
/* ---------------------------------------------------------- */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 16px;
}
.bento__cell {
    grid-column: span 2;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: #fff;
    padding: 26px;
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.bento__cell:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bento__cell.is-wide { grid-column: span 3; }
.bento__cell.is-tall { grid-row: span 2; }
.bento__cell.is-feature {
    background: var(--bg-inverse);
    color: var(--ink-inverse);
    border-color: var(--bg-inverse);
    position: relative;
    isolation: isolate;
}
.bento__cell.is-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 100% 0%, rgba(118,75,162,.30) 0%, transparent 50%),
                radial-gradient(ellipse at 0% 100%, rgba(102,126,234,.20) 0%, transparent 50%);
    pointer-events: none;
}
.bento__cell.is-feature > * { position: relative; z-index: 1; }
.bento__cell.is-feature :is(.bento__title) { color: var(--ink-inverse); }
.bento__cell.is-feature .bento__body { color: var(--ink-inverse-muted); }

.bento__title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; }
.bento__body  { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0 0 16px; }
.bento__icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(102,126,234,.10);
    color: var(--brand-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.bento__cell.is-feature .bento__icon { background: rgba(255,255,255,.10); color: #fff; }
.bento__visual { margin-top: auto; padding-top: 14px; }

@media (max-width: 960px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento__cell, .bento__cell.is-wide { grid-column: span 1; }
    .bento__cell.is-tall { grid-row: span 1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- */
/* Feature row                                                */
/* ---------------------------------------------------------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    padding: 72px 0;
    border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: 0; padding-top: 16px; }
.feature-row.is-reverse .feature-row__media { order: 2; }
.feature-row__copy { max-width: 480px; }
.feature-row__title { font-size: clamp(1.5rem, 2vw + .5rem, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 16px 0 16px; color: var(--ink); text-wrap: balance; }
.feature-row__body { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 0 0 24px; }
.feature-row__list { margin: 0 0 28px; padding: 0; list-style: none; }
.feature-row__list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-top: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink-soft);
}
.feature-row__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--brand-grad);
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px rgba(102,126,234,.18);
}
.feature-row__list li:first-child { border-top: 0; }

@media (max-width: 880px) {
    .feature-row, .feature-row.is-reverse { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
    .feature-row.is-reverse .feature-row__media { order: 0; }
}

/* ---------------------------------------------------------- */
/* Tab switcher (feature explorer)                            */
/* ---------------------------------------------------------- */
.tabs {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 880px) { .tabs { grid-template-columns: 1fr; } }
.tabs__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
@media (max-width: 880px) {
    .tabs__list { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
}
.tabs__btn {
    text-align: left;
    background: none;
    border: 1px solid transparent;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast);
    color: var(--ink-soft);
    flex-shrink: 0;
}
.tabs__btn:hover { background: var(--bg-sunken); }
.tabs__btn[aria-selected="true"] {
    background: #fff;
    border-color: rgba(102,126,234,.20);
    box-shadow: 0 6px 18px -10px rgba(102,126,234,.40);
}
.tabs__btn__head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--ink);
    font-size: 14.5px;
}
.tabs__btn__icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(102,126,234,.10);
    color: var(--brand-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tabs__btn[aria-selected="true"] .tabs__btn__icon { background: var(--brand-grad); color: #fff; }
.tabs__btn__body {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.5;
}
@media (max-width: 880px) { .tabs__btn__body { display: none; } }

.tabs__panel { display: none; }
.tabs__panel[data-active="true"] { display: block; animation: tab-in .35s var(--ease) both; }
@keyframes tab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------- */
/* Stats / Quote / FAQ / CTA / Cards                          */
/* ---------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat__value {
    font-size: clamp(2rem, 3vw + .75rem, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
    font-family: var(--font-sans);
}
.section-inverse .stat__value {
    background: linear-gradient(180deg, #fff, rgba(255,255,255,.7));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat__label { font-size: 14.5px; color: var(--muted); margin-top: 8px; max-width: 220px; }
.section-inverse .stat__label { color: var(--ink-inverse-muted); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

.quote { max-width: 800px; margin: 0 auto; text-align: center; }
.quote__text {
    font-size: clamp(1.25rem, 1.6vw + .5rem, 1.75rem);
    line-height: 1.4;
    letter-spacing: -0.015em;
    color: var(--ink);
    font-weight: 500;
    margin: 0 0 28px;
    text-wrap: balance;
}
.section-inverse .quote__text { color: var(--ink-inverse); }
.quote__author { display: inline-flex; align-items: center; gap: 12px; }
.quote__avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.quote__name { font-weight: 600; color: var(--ink); }
.section-inverse .quote__name { color: var(--ink-inverse); }
.quote__title { font-size: 13.5px; color: var(--soft); }
.section-inverse .quote__title { color: var(--ink-inverse-faint); }

.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.faq__btn {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 22px 0;
    font-size: 16.5px;
    font-weight: 500;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color var(--t-fast);
}
.faq__btn:hover { color: var(--brand-3); }
.faq__btn__icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1;
    transition: transform var(--t), background var(--t-fast), border-color var(--t-fast);
}
.faq__item.is-open .faq__btn__icon { transform: rotate(45deg); background: var(--brand-grad); color: #fff; border-color: transparent; }
.faq__panel { overflow: hidden; max-height: 0; transition: max-height var(--t); }
.faq__item.is-open .faq__panel { max-height: 600px; }
.faq__body { padding: 0 32px 24px 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

.cta {
    background: var(--bg-inverse);
    color: var(--ink-inverse);
    border-radius: var(--r-2xl);
    padding: clamp(48px, 6vw, 88px);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-inverse);
}
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 0%,   rgba(79, 70, 229, 0.32) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 100%, rgba(236, 72, 153, 0.20) 0%, transparent 60%);
    pointer-events: none;
}
.cta__inner { position: relative; max-width: 660px; margin: 0 auto; }
.cta__title { color: #fff; margin: 0 0 16px; }
.cta__sub { color: var(--ink-inverse-muted); margin: 0 0 28px; }
.cta__actions { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(102,126,234,.10);
    color: var(--brand-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.card__title { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.005em; }
.card__body { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

.split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.side-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    background: var(--bg-alt);
}
.side-card + .side-card { margin-top: 16px; }
.side-card__title { font-size: 12px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 14px; }
.side-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.side-list li { display: flex; gap: 12px; }
.side-list__num {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.side-list__body { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.side-list__body small { color: var(--soft); display: block; margin-top: 2px; font-size: 12.5px; }

.contact-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 14.5px; }
.contact-line:first-of-type { border-top: 0; }
.contact-line__label { color: var(--soft); font-size: 12.5px; }
.contact-line a { font-weight: 500; }
.contact-line a:hover { color: var(--brand-3); }

/* ---------------------------------------------------------- */
/* Forms                                                      */
/* ---------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-row > * { min-width: 0; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }
.field__label .req { color: var(--danger); margin-left: 2px; }
.field__hint { font-size: 12px; color: var(--soft); margin: 0; }
.field__error {
    font-size: 12.5px;
    color: var(--danger);
    margin: 0;
    display: none;
    align-items: center;
    gap: 6px;
}
.field__error::before {
    content: "";
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--danger);
    flex-shrink: 0;
}
.field.has-error .field__error,
.field__error:not(:empty) { display: inline-flex; }

.input,
.textarea,
.select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--line-strong); }
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--brand-1);
    box-shadow: 0 0 0 4px rgba(102,126,234,.14);
}
.textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23737373' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(220,38,38,.06);
}
.input[disabled], .textarea[disabled], .select[disabled] { background: var(--bg-sunken); color: var(--soft); cursor: not-allowed; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: #fff;
    font-size: 13.5px;
    color: var(--ink-soft);
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
    position: relative;
}
.chip:hover { border-color: var(--line-strong); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked),
.chip.is-active {
    border-color: transparent;
    background: var(--brand-grad);
    color: #fff;
    box-shadow: 0 4px 12px -4px rgba(102,126,234,.4);
}

.form-notice { border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.form-notice--success { background: var(--success-soft); color: var(--success-text); border: 1px solid #a7f3d0; }
.form-notice--error   { background: var(--danger-soft);  color: var(--danger-text);  border: 1px solid #fecaca; }

.form-success { text-align: center; padding: 48px 16px; }
.form-success__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 12px 28px -8px rgba(102,126,234,.55);
}
.form-success__title { font-size: 1.625rem; font-weight: 600; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.015em; }
.form-success__body  { color: var(--muted); font-size: 15.5px; max-width: 380px; margin: 0 auto 20px; line-height: 1.6; }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-2xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
    position: relative;
}
.form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--r-2xl);
    padding: 1px;
    background: linear-gradient(180deg, rgba(102,126,234,.20), transparent 50%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
@media (max-width: 600px) { .form-card { padding: 24px; } }

/* ---------------------------------------------------------- */
/* Toast                                                      */
/* ---------------------------------------------------------- */
.toast-host {
    position: fixed;
    top: calc(var(--topbar-h) + var(--nav-h) + 16px);
    right: 16px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
}
@media (max-width: 600px) { .toast-host { left: 16px; right: 16px; max-width: none; } }
.toast {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: toast-in .25s var(--ease) both;
}
.toast.is-hiding { animation: toast-out .2s var(--ease) both; }
.toast__dot {
    flex-shrink: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand-1);
    margin-top: 8px;
}
.toast--success .toast__dot { background: var(--success); }
.toast--error   .toast__dot { background: var(--danger); }
.toast__body { flex: 1; min-width: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.toast__close { background: none; border: 0; color: var(--soft); padding: 2px 4px; margin: -2px -4px; line-height: 1; border-radius: 4px; }
.toast__close:hover { color: var(--ink); background: var(--bg-sunken); }
@keyframes toast-in  { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes toast-out {   to { opacity: 0; transform: translateY(-6px); } }

/* ---------------------------------------------------------- */
/* Reveal                                                     */
/* ---------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    will-change: opacity, transform;
}
.reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------- */
/* Footer                                                     */
/* ---------------------------------------------------------- */
.footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding: 64px 0 24px;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute; left: 50%; top: -1px;
    transform: translateX(-50%);
    width: 280px; height: 2px;
    background: var(--brand-grad);
    border-radius: var(--r-pill);
    opacity: .6;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer__brand-text { font-weight: 700; color: var(--ink); font-size: 15px; margin-left: 10px; letter-spacing: -0.01em; }
.footer__tagline { margin: 16px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer__col-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin: 0 0 14px; }
.footer__col-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col-list a { color: var(--muted); font-size: 14px; transition: color var(--t-fast); }
.footer__col-list a:hover { color: var(--brand-3); }
.footer__bottom { padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--soft); }
.footer__social { display: inline-flex; gap: 10px; }
.footer__social a {
    width: 32px; height: 32px;
    border-radius: 8px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.footer__social a:hover { background: var(--brand-grad); color: #fff; border-color: transparent; }

/* Legal pages */
.legal { padding: calc(var(--topbar-h) + var(--nav-h) + 48px) 0 80px; }
.legal__hero { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.legal__hero h1 { margin: 0 0 12px; }
.legal__hero p { color: var(--muted); }
.legal__body { max-width: 760px; margin: 0 auto; }
.legal__body h2 { font-size: 1.375rem; font-weight: 600; margin: 48px 0 12px; color: var(--ink); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }
.legal__body ul { color: var(--ink-soft); line-height: 1.7; padding-left: 20px; margin: 0 0 16px; }
.legal__body li { margin-bottom: 4px; }
.legal__meta { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 32px; font-size: 13px; color: var(--soft); }
.legal__meta strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------- */
/* Public utility top bar (desktop-only)                      */
/* ---------------------------------------------------------- */
.public-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-h);
    z-index: 1001;
    background: var(--bg-inverse);
    color: var(--ink-inverse);
    border-bottom: 1px solid var(--line-inverse);
    font-size: 12.5px;
    line-height: 1.2;
}
.public-topbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.public-topbar__trust {
    margin: 0;
    color: var(--ink-inverse-muted);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.public-topbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}
.public-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-inverse-muted);
    transition: color var(--t-fast);
}
.public-topbar__link svg { opacity: 0.75; }
.public-topbar__link:hover { color: var(--ink-inverse); }
.public-topbar__link--phone { color: var(--ink-inverse); font-weight: 500; }
.public-topbar__link--phone svg { opacity: 1; }

@media (max-width: 880px) {
    :root { --topbar-h: 0px; }
    .public-topbar { display: none; }
}

/* ---------------------------------------------------------- */
/* Mobile sticky CTA (mobile-only)                            */
/* ---------------------------------------------------------- */
.sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 990;
    display: none;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-lg);
}
.sticky-cta__btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.sticky-cta__btn--call {
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--line-strong);
}
.sticky-cta__btn--call:hover { background: var(--bg-sunken); }
.sticky-cta__btn--demo {
    background: var(--brand-grad);
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(102, 126, 234, 0.5);
}
.sticky-cta__btn--demo:hover { transform: translateY(-1px); }

@media (max-width: 880px) {
    .sticky-cta { display: inline-flex; }
    /* Lift the toast above the sticky bar so they don't collide. */
    .toast-host { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); top: auto; }
    /* Reserve breathing room at the bottom of the page so the sticky bar
       never covers final CTAs or the footer baseline. */
    body { padding-bottom: 72px; }
}

/* ---------------------------------------------------------- */
/* Mobile menu — call shortcut                                */
/* ---------------------------------------------------------- */
.mobile-menu__call {
    display: block;
    margin: 8px 0 4px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    background: var(--bg-sunken);
}
.mobile-menu__call:hover { background: var(--bg-alt); }

/* ---------------------------------------------------------- */
/* Footer — address line                                      */
/* ---------------------------------------------------------- */
.footer__address {
    color: var(--ink-inverse-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* ============================================================ */
/* Pillar page — /product/fee-management                        */
/* ============================================================ */

/* Hero bullet list under the lede */
.fm-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
}
.fm-hero-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.4;
}
.fm-hero-bullets svg {
    color: var(--brand-3);
    flex-shrink: 0;
}

/* Trust strip — slightly taller cards with brand-tinted icons */
.fm-trust .card { background: var(--bg); }

/* Workflow step — alternating two-column row */
.fm-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    padding: 48px 0;
}
.fm-step + .fm-step { border-top: 1px solid var(--line); }
.fm-step--flipped .fm-step__copy   { order: 2; }
.fm-step--flipped .fm-step__visual { order: 1; }

.fm-step__eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-3);
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}
.fm-step__title {
    font-family: var(--font-sans);
    font-size: clamp(22px, 2.2vw + 0.4rem, 30px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 14px;
    text-wrap: balance;
}
.fm-step__body {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 20px;
    max-width: 56ch;
}
.fm-step__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.fm-step__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
}
.fm-step__bullets svg {
    margin-top: 4px;
    color: var(--brand-3);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .fm-step {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0;
    }
    .fm-step--flipped .fm-step__copy,
    .fm-step--flipped .fm-step__visual { order: initial; }
}

/* Mock frames — shared scaffold for the step visuals */
.fm-mock {
    margin: 0;
    max-width: none;
    box-shadow: var(--shadow-md);
}
.fm-mock__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
}
.fm-mock__head__title {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.sample-tag--inline {
    position: static;
    transform: none;
}

/* Fee structure table */
.fm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.fm-table th, .fm-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.fm-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.fm-table tbody tr:last-child td { border-bottom: 0; }
.fm-table .fm-table__rule td {
    color: var(--soft);
    font-size: 12.5px;
    background: var(--bg-tint);
}
.fm-table .ta-r { text-align: right; }
.fm-table .mono { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.fm-table .concession { color: var(--success-text); }
.fm-table .soft       { color: var(--soft); font-size: 12px; }

/* Receipt preview — a believable printed receipt */
.fm-receipt {
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    padding: 22px;
    box-shadow: var(--shadow-md);
    font-size: 13px;
    color: var(--ink-soft);
    max-width: 420px;
    margin: 0 auto;
}
.fm-receipt__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line-strong);
    margin-bottom: 14px;
}
.fm-receipt__brand { margin: 0; font-weight: 600; color: var(--ink); font-size: 14px; letter-spacing: -0.01em; }
.fm-receipt__sub   { margin: 2px 0 0; color: var(--soft); font-size: 12px; }
.fm-receipt__lock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--r-pill);
    background: var(--success-soft);
    color: var(--success-text);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.fm-receipt__grid {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    row-gap: 4px;
    margin: 0 0 14px;
}
.fm-receipt__grid dt { color: var(--soft); font-size: 12px; }
.fm-receipt__grid dd { margin: 0; color: var(--ink); font-size: 12.5px; }
.fm-receipt__grid .mono { font-family: var(--font-mono); }
.fm-receipt__lines { width: 100%; border-collapse: collapse; }
.fm-receipt__lines td { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.fm-receipt__lines .ta-r { text-align: right; }
.fm-receipt__lines .mono { font-family: var(--font-mono); }
.fm-receipt__lines__total td {
    border-top: 1px solid var(--ink);
    border-bottom: 0;
    padding-top: 10px;
    font-weight: 700;
    color: var(--ink);
    font-size: 13.5px;
}
.fm-receipt__foot {
    margin: 14px 0 0;
    font-size: 11px;
    color: var(--soft);
    line-height: 1.5;
}

/* Concession workflow */
.fm-concession {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 14px 16px;
    background: var(--bg-alt);
    margin-bottom: 16px;
}
.fm-concession__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 4px 0;
    font-size: 13px;
}
.fm-concession__label { color: var(--soft); font-size: 12px; }
.fm-concession__value { color: var(--ink); }

.fm-approval { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
.fm-approval__step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}
.fm-approval__step.is-done    { background: var(--success-soft); border-color: #bbf7d0; }
.fm-approval__step.is-pending { background: var(--warning-soft); border-color: #fde68a; }
.fm-approval__dot {
    flex-shrink: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-top: 6px;
}
.fm-approval__step.is-done    .fm-approval__dot { background: var(--success); }
.fm-approval__step.is-pending .fm-approval__dot { background: var(--warning); }
.fm-approval__role { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.fm-approval__meta { margin: 2px 0 0; font-size: 11.5px; color: var(--soft); }
.fm-approval__note { margin: 12px 0 0; font-size: 12px; color: var(--soft); }

/* Reconciliation view */
.fm-recon {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 0 18px;
}
.fm-recon__col {
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 14px 10px;
    background: var(--bg);
}
.fm-recon__label { margin: 0 0 6px; font-size: 11px; color: var(--soft); text-transform: uppercase; letter-spacing: 0.05em; }
.fm-recon__value { margin: 0; font-family: var(--font-mono); font-weight: 700; color: var(--ink); font-size: 16px; }
.fm-recon__meta  { margin: 4px 0 0; font-size: 11px; color: var(--soft); }
.fm-recon__op    { font-family: var(--font-mono); color: var(--soft); font-weight: 600; }

.fm-recon__match {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: var(--success-soft);
    color: var(--success-text);
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}
.fm-recon__check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
}
.fm-recon__refund {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    font-size: 13px;
}
.fm-recon__refund__title { margin: 0; font-weight: 600; color: var(--ink); font-size: 13px; }
.fm-recon__refund__meta  { margin: 2px 0 0; color: var(--soft); font-size: 11.5px; line-height: 1.5; }

@media (max-width: 540px) {
    .fm-recon {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .fm-recon__op { display: none; }
}

/* Defaulters buckets + audit pack */
.fm-buckets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.fm-bucket {
    text-align: center;
    padding: 12px 6px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--bg);
}
.fm-bucket__count { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 22px; color: var(--ink); }
.fm-bucket__label { display: block; font-size: 11px; color: var(--soft); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.fm-bucket--ok     { background: var(--success-soft); border-color: #bbf7d0; }
.fm-bucket--ok     .fm-bucket__count { color: var(--success-text); }
.fm-bucket--warn   { background: var(--warning-soft); border-color: #fde68a; }
.fm-bucket--warn   .fm-bucket__count { color: var(--warning-text); }
.fm-bucket--danger { background: var(--danger-soft);  border-color: #fecaca; }
.fm-bucket--danger .fm-bucket__count { color: var(--danger-text); }

.fm-audit {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px;
    margin-top: 12px;
    background: var(--bg-inverse);
    color: var(--ink-inverse);
    border-radius: var(--r-md);
}
.fm-audit__title  { margin: 0; font-weight: 600; font-size: 13.5px; }
.fm-audit__meta   { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-inverse-muted); }
.fm-audit__action {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: var(--brand-grad);
    color: #fff;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 600;
}

/* Operator-credibility quote between sections */
.fm-quote {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.fm-quote__body {
    margin: 0 0 16px;
    font-family: var(--font-sans);
    font-size: clamp(18px, 1.8vw + 0.3rem, 26px);
    line-height: 1.4;
    letter-spacing: -0.015em;
    color: var(--ink);
    font-weight: 500;
    text-wrap: balance;
}
.fm-quote__attr {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================ */
/* Homepage — section-specific styles                           */
/* ============================================================ */

/* Hero trust line (single-line under CTAs) */
.hero__trust {
    margin: 24px 0 0;
    max-width: 56ch;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--soft);
    letter-spacing: 0.01em;
    text-wrap: pretty;
}
.hero--center .hero__trust { margin-left: auto; margin-right: auto; }

/* Hero visual column — wraps the populated product frame in the split
   hero. Lets the frame breathe and gives us a hook for animations.
   The slimmed contents (3 KPIs + one panel) sit inside the standard
   .frame primitives and only need light width tweaks. */
.hero__visual {
    position: relative;
    z-index: 2;
}
.hero__visual .frame {
    margin: 0;
    max-width: none;
    box-shadow: var(--shadow-lg);
}
.hero__visual .frame__kpis {
    grid-template-columns: repeat(3, 1fr);
}
.hero__visual .frame__kpi__value {
    font-size: 17px;
}
@media (max-width: 600px) {
    /* Keep the product-preview frame inside the viewport. Let the KPI cells
       shrink (minmax 0 + min-width 0) and scale the type and padding down so
       three KPIs fit a phone width without forcing the frame wider than the
       column. */
    .hero__visual .frame__bar        { padding: 10px 12px; }
    .hero__visual .frame__addr       { font-size: 10.5px; margin-left: 8px; max-width: none; }
    .hero__visual .frame__body       { padding: 14px; }
    .hero__visual .frame__kpis       { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .hero__visual .frame__kpi        { padding: 10px 8px; min-width: 0; }
    .hero__visual .frame__kpi__value { font-size: 13px; }
    .hero__visual .frame__kpi__label { font-size: 9px; }
    .hero__visual .frame__kpi__delta { font-size: 9.5px; }
}

/* Problem acknowledgement — typography-only */
.problem {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}
.problem__title {
    font-family: var(--font-sans);
    font-size: clamp(26px, 2.8vw + 0.5rem, 36px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 12px 0 24px;
    text-wrap: balance;
}
.problem__body p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
}
.problem__body p.problem__close {
    margin-top: 28px;
    font-weight: 600;
    color: var(--ink);
    font-size: 18px;
}

/* Outcomes (4-card grid — outcome-led, not feature-led) */
.outcomes { gap: 20px; }
.outcome-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.outcome-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.outcome-card__eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--brand-3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.outcome-card__title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 10px;
}
.outcome-card__body {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

/* Fee deep-dive split — wider copy column */
.fee-deepdive { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 900px) { .fee-deepdive { grid-template-columns: 1fr; } }

/* Modules grid — 8 tiles, clickable, fee one is highlighted */
.modules { gap: 16px; }
.module-tile {
    display: block;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    color: inherit;
    text-decoration: none;
    transition: border-color var(--t), transform var(--t), box-shadow var(--t), background var(--t);
}
.module-tile:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.module-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.10);
    color: var(--brand-3);
    margin-bottom: 14px;
}
.module-tile__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.module-tile__body {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
}
.module-tile__deep {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--brand-3);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.module-tile--pillar {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
    border-color: var(--accent-border);
}
.module-tile--pillar:hover {
    border-color: var(--brand-3);
}

/* Why-us cards */
.why-card { padding: 28px 24px; }
.why-card .card__title { font-size: 17px; margin-bottom: 8px; }
.why-card .card__body  { font-size: 14.5px; }

/* Security strip — intro left, list right */
.security-strip {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.security-strip__title {
    font-family: var(--font-sans);
    font-size: clamp(22px, 2.2vw + 0.3rem, 28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.018em;
    color: var(--ink);
    margin: 12px 0 14px;
    text-wrap: balance;
}
.security-strip__lede {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    max-width: 44ch;
}
.security-strip__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.security-strip__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}
.security-strip__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--brand-3);
}
.security-strip__list strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 2px;
}
.security-strip__list span {
    display: block;
    font-size: 12.5px;
    color: var(--soft);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .security-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .security-strip__list { grid-template-columns: 1fr; }
}

/* Implementation timeline — Week 1 → 4 */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: tl;
}
.timeline__item {
    position: relative;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color var(--t), transform var(--t);
}
.timeline__item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.timeline__week {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-3);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: var(--r-pill);
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.timeline__title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 8px;
}
.timeline__text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}
.timeline__guarantee {
    margin: 36px auto 0;
    max-width: 760px;
    text-align: center;
    padding: 18px 24px;
    background: var(--bg-inverse);
    color: var(--ink-inverse);
    border-radius: var(--r-md);
    font-size: 14.5px;
    line-height: 1.6;
}
.timeline__guarantee strong { color: #fff; }

@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* About-the-makers strip — intro + quote */
.founders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.founders__title {
    font-family: var(--font-sans);
    font-size: clamp(22px, 2.4vw + 0.3rem, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 12px 0 18px;
    text-wrap: balance;
}
.founders__body {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 14px;
    max-width: 52ch;
}
.founders__cta { margin-top: 18px; font-size: 14.5px; font-weight: 600; }
.founders__cta a { color: var(--brand-3); }
.founders__cta a:hover { text-decoration: underline; }

.founders__quote {
    margin: 0;
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}
.founders__quote__text {
    margin: 0 0 22px;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--ink);
}
.founders__quote__attr {
    display: flex;
    align-items: center;
    gap: 12px;
}
.founders__avatar {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.founders__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.founders__role { font-size: 12.5px; color: var(--soft); margin-top: 2px; }

@media (max-width: 900px) {
    .founders { grid-template-columns: 1fr; }
}

/* ============================================================ */
/* Trust pages — /security and /implementation                  */
/* ============================================================ */

/* Shared utilities */
.section__subtitle {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 12px;
}
.section__body {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 14px;
    max-width: 56ch;
}
.eyebrow--inverse {
    color: var(--ink-inverse-muted);
}

/* ---- Security page ---- */

.trust-pillars .card { padding: 26px 22px; }

.security-deepdive {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.security-stack {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.security-stack li {
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.security-stack strong { color: var(--ink); margin-right: 6px; }

.security-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.security-card__title {
    font-size: 12px;
    font-weight: 600;
    color: var(--soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
}
.security-facts {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8px 14px;
    margin: 0;
}
.security-facts dt {
    color: var(--soft);
    font-size: 13px;
}
.security-facts dd {
    margin: 0;
    color: var(--ink);
    font-size: 13.5px;
    font-family: var(--font-mono);
}

@media (max-width: 900px) {
    .security-deepdive { grid-template-columns: 1fr; }
}

.audit-block { align-items: start; gap: 40px; }
.audit-list-wrap {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
}
.audit-list__head {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.audit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.audit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.audit-list__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    margin-top: 2px;
}
.audit-list strong { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.audit-list span   { display: block; font-size: 12.5px; color: var(--soft); margin-top: 2px; line-height: 1.5; }
.audit-list__foot {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--soft);
    line-height: 1.6;
}
@media (max-width: 900px) {
    .audit-block { grid-template-columns: 1fr; }
}

/* Section inverse — already exists; only adjust title overrides on this page */
.ownership__title { color: #fff; }
.ownership__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
    margin-top: 36px;
}
.ownership__grid h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.005em;
}
.ownership__grid p {
    margin: 0;
    color: var(--ink-inverse-muted);
    font-size: 14px;
    line-height: 1.65;
}
@media (max-width: 700px) {
    .ownership__grid { grid-template-columns: 1fr; gap: 22px; }
}

.honest-card { position: relative; padding-top: 38px; }
.honest-card__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    background: var(--warning-soft);
    color: var(--warning-text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ---- Implementation page ---- */

.included-card {
    padding: 24px;
    position: relative;
}
.included-card__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    margin-bottom: 14px;
}

.week-block {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid var(--line);
}
.week-block:first-of-type { border-top: 0; padding-top: 8px; }
.week-block__week {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-3);
    background: var(--accent-soft);
    padding: 4px 12px;
    border-radius: var(--r-pill);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.week-block__title {
    font-family: var(--font-sans);
    font-size: clamp(20px, 2vw + 0.3rem, 26px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 10px;
    text-wrap: balance;
}
.week-block__sub {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 28ch;
}
.week-block__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.week-block__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.week-block__list svg {
    margin-top: 4px;
    color: var(--brand-3);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .week-block { grid-template-columns: 1fr; gap: 18px; }
    .week-block__sub { max-width: none; }
}

.migration-commitment {
    margin-top: 40px;
    padding: 24px 28px;
    background: var(--bg-inverse);
    color: var(--ink-inverse);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}
.migration-commitment__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-inverse-muted);
    margin-bottom: 8px;
}
.migration-commitment p {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.6;
    color: #fff;
}

/* Training */
.training-grid { gap: 18px; }
.training-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    transition: border-color var(--t), transform var(--t);
}
.training-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.training-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 12px;
}
.training-card__audience {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.training-card__duration {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    color: var(--brand-3);
    letter-spacing: 0.03em;
}
.training-card__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}
.training-note {
    text-align: center;
    margin-top: 24px;
    font-size: 13.5px;
    color: var(--soft);
}

/* Support SLA */
.sla__title { color: #fff; }
.sla__lede  { color: var(--ink-inverse-muted); }
.sla-grid { gap: 16px; }
.sla-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-inverse);
    border-radius: var(--r-lg);
    padding: 22px;
}
.sla-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.sla-card__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 10px;
    border-radius: var(--r-pill);
    background: var(--brand-grad);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.sla-card__severity {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.005em;
}
.sla-card__body {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-inverse-muted);
}

/* ============================================================ */
/* About page                                                   */
/* ============================================================ */

/* Founders — grid scales to however many entries the view model carries. */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.founder-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    align-items: start;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.founder-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.founder-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.founder-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-card__body { min-width: 0; }
.founder-card__name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.founder-card__role {
    margin: 2px 0 12px;
    font-size: 13px;
    color: var(--soft);
}
.founder-card__bio {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.founder-card__links {
    display: inline-flex;
    gap: 8px;
}
.founder-card__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    color: var(--soft);
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.founder-card__links a:hover {
    background: var(--brand-grad);
    color: #fff;
    border-color: transparent;
}

@media (max-width: 500px) {
    .founder-card { grid-template-columns: 1fr; gap: 14px; }
    .founder-card__avatar { width: 64px; height: 64px; font-size: 22px; }
}

/* Milestones — vertical list with monospace date column */
.milestones {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.milestone {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.milestone:first-child { border-top: 0; }
.milestone__when {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-3);
    letter-spacing: 0.03em;
    padding-top: 2px;
}
.milestone__title {
    margin: 0 0 4px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.milestone__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}
@media (max-width: 600px) {
    .milestone { grid-template-columns: 1fr; gap: 4px; }
    .milestone__when { padding-top: 0; }
}

/* ============================================================ */
/* Demo page — attribution strip + sidecar accent variants      */
/* ============================================================ */

.demo-attr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}
.demo-attr__host {
    display: flex;
    align-items: center;
    gap: 14px;
}
.demo-attr__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.demo-attr__hosted {
    margin: 0;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--soft);
    font-weight: 500;
}
.demo-attr__name {
    margin: 2px 0 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.demo-attr__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
}
.demo-attr__bullets li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    font-size: 13.5px;
    font-weight: 500;
}
.demo-attr__bullets svg { color: var(--brand-3); }

@media (max-width: 600px) {
    .demo-attr { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 18px; }
}

/* Accent variant of the side-card used by "Rather just call us?" */
.side-card--accent {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
    border-color: var(--accent-border);
}
.side-card__body {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.side-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
}
.side-card__email {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    color: var(--brand-3);
}
.side-card__email:hover { text-decoration: underline; }
.side-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.side-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.side-card__list strong { color: var(--ink); font-weight: 600; }
.side-card__check {
    flex-shrink: 0;
    margin-top: 4px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--brand-grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
