/* ============================================================
   SELF-HOSTED FONTS - served same-origin from /fonts/ (no third-party CDN,
   no visitor IP sent to Google). SINGLE SOURCE OF TRUTH for type: every page
   loads fonts through this file only -- never a per-page <link>. To add or
   change a face, drop the woff2 in marketing-site/fonts/ and edit @font-face
   here. The families are named by the :root tokens below.
   ============================================================ */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/lora-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/lora-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/lora-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/lora-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/newsreader-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/newsreader-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   DESIGN TOKENS - marketing-site palette + type. Reference these
   (var(--blue), var(--font-display), ...) rather than hardcoding hexes.
   ============================================================ */
:root {
    /* Brand */
    --blue: #0088CE;        /* interactive accent: CTAs, links */
    --blue-deep: #0066A6;
    --ink-blue: #0a4d6e;    /* structural / decorative accent (rationed) */
    /* Brand as RGB channels — for rgba() alpha compositing, where a hex var() won't work */
    --blue-rgb: 0, 136, 206;        /* == --blue */
    /* Ink + warm gray ramp */
    --ink: #2b2926;
    --ink-soft: #37352F;
    --gray-700: #5b5750;
    --gray-500: #787774;
    --gray-400: #a8a39b;
    --border: #e8e7e4;
    /* Surfaces */
    --cream: #fdfcfb;
    --cream-2: #f7f5f2;
    --white: #ffffff;
    /* Type — reference these rather than restating the stacks per-rule */
    --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

        /* Launch-phase gate. Each rule sets `display: none` only for the wrong
           phase; the "show" case is implicit (the element falls back to its
           declared display). Avoids `display: revert !important`, which used
           to clobber inline-flex / flex centering on CTA buttons.
             phase-1-only — visible only in Phase 1 (Founder's-tier-only)
             phase-2-only — visible only in Phase 2 (Standard published) */
        html[data-launch-phase="phase2"] .phase-1-only { display: none !important; }
        html:not([data-launch-phase="phase2"]) .phase-2-only { display: none !important; }

        /* 30-day money-back guarantee badge — Founder's + Standard pricing cards. */
        .guarantee-badge {
            display: inline-block;
            margin-top: 16px;
            padding: 8px 12px;
            background: #f0fdf4;
            border: 1px solid #d1fae5;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            color: #065f46;
        }

        /* Shared marketing primitives — second consumer (pricing page) triggers
           DRY extraction from the home page's inline uses. */
        .eyebrow {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--blue);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 12px;
        }

        .card-surface {
            background: var(--white);
            border: 1px solid var(--border);
            padding: 24px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-body);
            line-height: 1.7;
            color: var(--ink-soft);
            background: var(--cream);
            min-height: 100vh;
        }

        h1, h2, h3, h4, h5, h6, .navbar-logo {
            /* Reverted custom font */
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ── Fixed Nav Bar ── */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: var(--white);
            border-bottom: 1px solid var(--border);
        }

        .navbar-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            height: 64px;
        }

        .navbar-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--ink-soft);
            text-decoration: none;
            /* Reverted custom font */
        }

        .navbar-logo svg {
            width: 28px;
            height: 28px;
            color: var(--blue);
        }

        .navbar-links {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .navbar-links a {
            color: var(--gray-500);
            text-decoration: none;
            font-size: 0.925rem;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .navbar-links a:hover {
            color: var(--ink-soft);
        }

        .navbar-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 16px;
        }

        .navbar-login {
            color: var(--gray-500);
            text-decoration: none;
            font-size: 0.925rem;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .navbar-login:hover {
            color: var(--ink-soft);
        }

        .btn-nav-cta {
            display: inline-block;
            background: var(--blue);
            color: var(--white);
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 0.925rem;
            font-weight: 600;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-nav-cta:hover {
            background: var(--blue-deep);
            transform: translateY(-1px);
            box-shadow: 0 4px 6px rgba(var(--blue-rgb), 0.2);
        }

        .btn-nav-secondary {
            display: inline-block;
            background: transparent;
            color: var(--blue);
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 0.925rem;
            font-weight: 600;
            text-decoration: none;
            border: 1px solid var(--blue);
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .btn-nav-secondary:hover {
            background: rgba(var(--blue-rgb), 0.08);
        }

        .hero-microcopy {
            color: var(--gray-500);
            font-size: 0.95rem;
            margin-top: -28px;
            margin-bottom: 24px;
        }

        .hero-microcopy strong {
            color: var(--blue);
        }

        /* Hamburger */
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
            grid-column: 3;
            justify-self: end;
        }

        .hamburger span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--ink-soft);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .mobile-menu {
            display: none;
            position: absolute;
            top: 64px;
            left: 0;
            right: 0;
            background: var(--white);
            border-bottom: 1px solid var(--border);
            padding: 16px 24px;
            flex-direction: column;
            gap: 12px;
        }

        .mobile-menu.open {
            display: flex;
        }

        .mobile-menu a,
        .mobile-menu button {
            color: var(--gray-500);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            padding: 8px 0;
            background: none;
            border: none;
            cursor: pointer;
            text-align: left;
        }

        .mobile-menu a:hover,
        .mobile-menu button:hover {
            color: var(--ink-soft);
        }

        .mobile-menu .btn-nav-cta {
            text-align: center;
            color: var(--white);
        }

        /* ── Hero ── */
        .hero {
            padding-top: 140px;
            padding-bottom: 80px;
            text-align: center;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 3.75rem);
            color: var(--ink-soft);
            margin-bottom: 1rem;
            font-weight: 700;
            letter-spacing: -0.03em;
            line-height: 1.15;
            /* Reverted custom font */
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--gray-500);
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.7;
        }

        .hero-ctas {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-bottom: 56px;
            flex-wrap: wrap;
        }

        .btn-hero-primary,
        .btn-hero-ghost {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 52px;
            padding: 0 32px;
            border-radius: 10px;
            font-size: 1.05rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            line-height: 1;
            text-align: center;
        }

        .btn-hero-primary {
            background: var(--blue);
            color: var(--white);
            border: none;
            transition: all 0.2s ease;
        }

        .btn-hero-primary:hover {
            background: var(--blue-deep);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(var(--blue-rgb), 0.25);
        }

        .btn-hero-ghost {
            background: transparent;
            color: var(--gray-500);
            border: 1px solid var(--border);
            cursor: pointer;
            transition: border-color 0.2s ease, color 0.2s ease;
            text-decoration: none;
        }

        .btn-hero-ghost:hover {
            border-color: var(--blue);
            color: var(--ink-soft);
        }

        .hero-demo {
            max-width: 800px;
            width: 100%;
            margin: 0 auto;
            border-radius: 16px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            display: block;
        }

        /* ── Social Proof ── */
        .social-proof {
            background: #fafafa;
            padding: 40px 24px;
            text-align: center;
        }

        .social-proof-label {
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--gray-500);
            margin-bottom: 24px;
        }

        .logo-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 32px;
            flex-wrap: wrap;
        }

        .logo-img {
            height: 40px;
            width: auto;
            filter: grayscale(100%);
            opacity: 0.6;
        }

        .logo-placeholder {
            width: 120px;
            height: 40px;
            background: var(--border);
            border-radius: 6px;
            opacity: 0.5;
        }

        /* ── Features ── */
        .features {
            padding: 96px 24px;
        }

        .section-title {
            font-size: 2rem;
            color: var(--ink-soft);
            text-align: center;
            margin-bottom: 0.75rem;
            font-weight: 600;
            letter-spacing: -0.02em;
            /* Reverted custom font */
        }

        .section-subtitle {
            text-align: center;
            color: var(--gray-500);
            font-size: 1.1rem;
            margin-bottom: 48px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature {
            background: var(--white);
            padding: 32px 28px;
            border-radius: 12px;
            text-align: left;
            border: 1px solid var(--border);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .feature:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        }

        .feature-icon-wrapper {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            background: rgba(var(--blue-rgb), 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .feature-icon-wrapper svg {
            width: 24px;
            height: 24px;
            color: var(--blue);
        }

        .feature h3 {
            color: var(--ink-soft);
            margin-bottom: 8px;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .feature p {
            color: var(--gray-500);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        /* ── How It Works ── */
        .how-it-works {
            padding: 96px 24px;
            background: var(--cream);
        }

        .steps {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            gap: 0;
            margin-top: 48px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .step {
            flex: 1;
            text-align: center;
            position: relative;
            padding: 0 24px;
        }

        .step-content {
            transition: transform 0.3s ease;
        }

        .step:hover .step-content {
            transform: translateY(-4px);
        }

        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--blue);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1rem;
            margin: 0 auto 20px;
            position: relative;
            z-index: 1;
        }

        .step-connector {
            position: absolute;
            top: 19px;
            left: calc(50% + 24px);
            right: calc(-50% + 24px);
            height: 2px;
            background: var(--border);
        }

        .step:last-child .step-connector {
            display: none;
        }

        .step h3 {
            color: var(--ink-soft);
            margin-bottom: 8px;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .step p {
            color: var(--gray-500);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        /* ── Pricing Placeholder ── */
        .pricing {
            padding: 96px 24px;
            text-align: center;
        }

        .pricing .section-subtitle {
            margin-bottom: 32px;
        }

        /* ── Bottom CTA ── */
        .cta-section {
            padding: 96px 24px;
            background: var(--cream);
        }

        .cta-card {
            max-width: 1000px;
            margin: 0 auto;
            background: var(--white);
            border-radius: 20px;
            padding: 80px 48px;
            text-align: center;
            color: var(--ink-soft);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
            border: 1px solid var(--border);
        }

        .cta-card h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--ink-soft);
        }

        .cta-card p {
            font-size: 1.15rem;
            color: var(--gray-700);
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.7;
        }

        .btn-cta-white {
            display: inline-block;
            background: var(--blue);
            color: var(--white);
            padding: 16px 36px;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
        }

        .btn-cta-white:hover {
            background: var(--blue-deep);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(var(--blue-rgb), 0.25);
        }

        .site-footer {
            border-top: 1px solid var(--border);
            padding: 64px 24px 32px;
            background: var(--white);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 48px;
            max-width: 1200px;
            margin: 0 auto 48px;
        }

        .footer-brand p {
            color: var(--gray-500);
            font-size: 0.9rem;
            margin-top: 12px;
            max-width: 260px;
        }

        .footer-col h4 {
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--ink-soft);
            margin-bottom: 16px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col li {
            margin-bottom: 10px;
        }

        .footer-col a {
            color: var(--gray-500);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s ease;
        }

        .footer-col a:hover {
            color: var(--ink-soft);
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 24px;
            border-top: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .footer-copyright {
            color: var(--gray-500);
            font-size: 0.85rem;
        }

        .footer-social {
            display: flex;
            gap: 16px;
        }

        .footer-social a {
            color: var(--gray-500);
            transition: color 0.2s ease;
        }

        .footer-social a:hover {
            color: var(--ink-soft);
        }

        .footer-social svg {
            width: 20px;
            height: 20px;
        }

        /* ── Fade-in animation ── */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (prefers-reduced-motion: reduce) {
            .fade-in { opacity: 1 !important; transform: none !important; }
        }

        /* ── Modal Styles (preserved) ── */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .modal-content {
            background-color: var(--white);
            margin: 5% auto;
            padding: 2rem;
            border-radius: 12px;
            width: 90%;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .modal-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--ink-soft);
        }

        .close {
            color: var(--gray-500);
            float: right;
            font-size: 1.5rem;
            font-weight: bold;
            cursor: pointer;
            border: none;
            background: none;
            padding: 0;
            line-height: 1;
        }

        .close:hover {
            color: var(--ink-soft);
        }

        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--ink-soft);
            line-height: 1.4;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 1rem;
            box-sizing: border-box;
            color: var(--ink-soft);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--blue);
            box-shadow: 0 0 0 2px rgba(var(--blue-rgb), 0.1);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-bottom: 1.25rem;
        }

        .form-row .form-group {
            margin-bottom: 0;
        }

        .checkbox-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .checkbox-item input[type="checkbox"] {
            width: auto;
            margin: 0;
        }

        .radio-group {
            display: flex;
            gap: 1rem;
            margin-top: 0.5rem;
        }

        .radio-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .radio-item input[type="radio"] {
            width: auto;
            margin: 0;
        }

        .form-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }

        .btn {
            display: inline-block;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            border: none;
            transition: background 0.2s ease;
            text-decoration: none;
        }

        .btn-secondary {
            background: #f7f6f3;
            color: var(--gray-500);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background: var(--border);
        }

        .btn-primary {
            background: var(--blue);
            color: var(--white);
        }

        .btn-primary:hover {
            background: var(--blue-deep);
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .error-message {
            color: #d32f2f;
            font-size: 0.875rem;
            margin-top: 0.25rem;
        }

        .success-message {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1rem;
        }

        .loading {
            display: inline-block;
            width: 1rem;
            height: 1rem;
            border: 2px solid transparent;
            border-top: 2px solid currentColor;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 0.5rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Tooltip styles */
        .label-with-tooltip {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .label-with-tooltip label {
            margin-bottom: 0;
            display: inline;
        }

        .tooltip-container {
            position: relative;
            display: inline-block;
        }

        .tooltip-icon {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background-color: var(--blue);
            color: var(--white);
            font-size: 12px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: help;
            user-select: none;
        }

        .tooltip-text {
            visibility: hidden;
            width: 280px;
            background-color: #333;
            color: var(--white);
            text-align: left;
            border-radius: 6px;
            padding: 8px 12px;
            position: absolute;
            z-index: 1000;
            bottom: 125%;
            left: 50%;
            margin-left: -140px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 13px;
            line-height: 1.4;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }

        .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

        .tooltip-container:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }

        /* ── Responsive ── */
        @media (max-width: 1024px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Flip nav to hamburger well before the inline links/actions start
           wrapping. The 1fr auto 1fr grid gets cramped around ~860px; 960px
           gives a comfortable buffer. */
        @media (max-width: 960px) {
            .navbar-links,
            .navbar-actions {
                display: none;
            }

            .hamburger {
                display: flex;
            }
        }

        @media (max-width: 768px) {
            .hero {
                padding-top: 120px;
                padding-bottom: 56px;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .steps {
                flex-direction: column;
                gap: 40px;
            }

            .step-connector {
                display: none;
            }

            .step {
                position: relative;
                padding-left: 0;
                padding-right: 0;
            }

            .step:not(:last-child)::after {
                content: '';
                position: absolute;
                bottom: -20px;
                left: 50%;
                width: 2px;
                height: 20px;
                background: var(--border);
            }

            .cta-card {
                padding: 48px 24px;
                border-radius: 16px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }

            .modal-content {
                margin: 2% auto;
                padding: 1.5rem;
                width: 95%;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .checkbox-group {
                grid-template-columns: 1fr;
            }

            .radio-group {
                flex-direction: column;
                gap: 0.5rem;
            }

            .form-buttons {
                flex-direction: column;
            }
        }
    
/* ── Subpages (Security, Policies, About, etc) ── */
.page-hero {
    padding-top: 140px; padding-bottom: 40px; text-align: center;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem); color: var(--ink-soft); margin-bottom: 1rem;
    font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
}
.page-hero p { font-size: 1.15rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* Subpage container overrides */
.page-hero .container, .content-section .container {
    max-width: 800px;
}

.content-section {
    padding: 48px 24px 96px;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--ink-soft);
    margin: 3rem 0 1rem;
    font-weight: 600;
    border-left: 4px solid var(--blue);
    padding-left: 1rem;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section h3 {
    color: var(--ink-soft);
    font-size: 1.3rem;
    margin: 2rem 0 0.75rem;
    font-weight: 600;
}

.content-section p {
    color: var(--gray-700);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-section ul {
    margin: 1rem 0 2rem 2rem;
    color: var(--gray-700);
}

.content-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.content-section ol {
    margin: 1rem 0 2rem 2rem;
    color: var(--gray-700);
}

.content-section a {
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.content-section a:hover {
    border-bottom-color: var(--blue);
}

.content-section hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0;
}

.content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem;
    font-size: 1rem;
    color: var(--gray-700);
}

.content-section th,
.content-section td {
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}

.content-section th {
    background: var(--cream-2);
    color: var(--ink-soft);
    font-weight: 600;
}

.content-section tbody tr:nth-child(even) td {
    background: #fafafa;
}

.content-section code {
    background: #f4f4f4;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    font-size: 0.95em;
    color: var(--ink-soft);
}

.security-badge {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.security-badge svg {
    width: 32px;
    height: 32px;
    color: var(--blue);
    flex-shrink: 0;
}

.security-badge-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.security-badge-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--gray-500);
}

/* Specific to Policies */
.effective-date {
    background: var(--cream-2);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--blue);
}

.effective-date p {
    margin: 0;
    font-weight: 600;
    color: #555;
}

.important-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.important-note strong {
    color: #856404;
}

.contact-section {
    background: var(--cream-2);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.back-to-policies {
    display: inline-block;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    margin-top: 2rem;
    transition: color 0.2s ease;
}

.back-to-policies:hover {
    color: var(--blue-deep);
}

@media (max-width: 768px) {
    .page-hero { padding-top: 120px; padding-bottom: 32px; }
    .content-section h2 { font-size: 1.3rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   Pricing page — composes the shared primitives above (.eyebrow,
   .card-surface, .features-grid, .section-title, etc.). Anything in this
   section is scoped to /pricing/ today; if a second consumer arrives,
   promote it next to the shared primitives.
   ────────────────────────────────────────────────────────────────────────── */

/* Pricing hero — narrower variant of .page-hero that keeps the same
   top-padding but pulls the subhead width tighter for line-balance. */
.pricing-hero { padding-top: 140px; padding-bottom: 56px; text-align: center; }
.pricing-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem); color: var(--ink-soft);
    margin-bottom: 1rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
}
.pricing-hero p {
    font-size: 1.15rem; color: var(--gray-500); max-width: 720px;
    margin: 0 auto 1.25rem; line-height: 1.7;
}
.pricing-hero .pricing-scarcity {
    display: inline-block; font-size: 0.95rem; color: var(--blue);
    font-weight: 600;
}

/* Billing-cycle toggle (Monthly / Annual). Visible only in phase2. */
.billing-cycle-toggle {
    display: inline-flex; align-items: center; gap: 4px;
    background: #f1efeb; border: 1px solid var(--border);
    border-radius: 999px; padding: 4px; margin: 0 auto 32px;
}
.billing-cycle-toggle button {
    background: transparent; border: none; cursor: pointer;
    padding: 8px 20px; border-radius: 999px;
    font-size: 0.925rem; font-weight: 600; color: var(--gray-500);
    transition: background 0.15s ease, color 0.15s ease;
    font-family: inherit;
}
.billing-cycle-toggle button:hover { color: var(--ink-soft); }
.billing-cycle-toggle button.is-active {
    background: var(--blue); color: var(--white);
    box-shadow: 0 2px 4px rgba(var(--blue-rgb), 0.2);
}
.billing-cycle-toggle .billing-cycle-toggle-wrap {
    text-align: center;
    margin-bottom: 32px;
}

/* Centering wrapper for the toggle (the toggle itself is inline-flex). */
.billing-cycle-wrap { text-align: center; margin-bottom: 40px; }

/* Pricing cards grid — uses .features-grid for the 3-col→responsive layout.
   Per-card visual is .pricing-card (extends .card-surface). */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.pricing-card--recommended {
    border-color: var(--blue);
    box-shadow: 0 10px 24px rgba(var(--blue-rgb), 0.12);
}

.pricing-card--soldout {
    opacity: 0.85;
}

.pricing-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(var(--blue-rgb), 0.3);
    white-space: nowrap;
}

.pricing-card .eyebrow { margin-bottom: 12px; }

.pricing-card h2 {
    font-size: 1.4rem;
    color: var(--ink-soft);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.price-block { margin-bottom: 16px; }
.price-block .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink-soft);
    letter-spacing: -0.02em;
    line-height: 1;
}
.price-block .price-unit {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-left: 6px;
}
.price-block .price-caption {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: 6px;
}
.price-block .price-strike {
    color: var(--gray-400);
    text-decoration: line-through;
    font-size: 1.1rem;
    margin-right: 14px;
    vertical-align: 0.4em;
}

/* Tagline (1–2 line description under the price). */
.pricing-card .pricing-tagline {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Bullets list. */
.pricing-card ul.pricing-features {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
    flex-grow: 1;
}
.pricing-card ul.pricing-features li {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
}
.pricing-card ul.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088CE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Per-card scarcity tag (top-right corner, only on Founder's during phase1). */
.pricing-card .pricing-scarcity-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(var(--blue-rgb), 0.08);
    color: var(--blue-deep);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
}

/* Per-card sold-out badge (Founder's during phase2). */
.pricing-card .sold-out-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1efeb;
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
}

/* Card CTA — full-width primary button at the bottom of each card. */
.pricing-card a.pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 100%;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    background: var(--blue);
    color: var(--white);
    border: none;
    margin-top: auto;
}
.pricing-card a.pricing-cta:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(var(--blue-rgb), 0.2);
}
.pricing-card a.pricing-cta--ghost {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
}
.pricing-card a.pricing-cta--ghost:hover {
    background: rgba(var(--blue-rgb), 0.06);
    transform: none;
    box-shadow: none;
}

/* Annual-only display rules (driven by data-billing-cycle attribute on .pricing-grid). */
[data-billing-cycle="monthly"] .price--annual { display: none; }
[data-billing-cycle="annual"] .price--monthly { display: none; }

/* Cycle-toggle only affects Standard card; Founder's and Multi-loc ignore it.
   The monthly-strike span only appears when annual is selected. */
.price--monthly-strike { display: none; }
[data-billing-cycle="annual"] .price--monthly-strike { display: inline; }

/* ── Comparison table (phase1 + phase2 only) ── */
.comparison-section {
    padding: 96px 24px;
    background: var(--cream);
}

.comparison-table-wrap {
    max-width: 1100px;
    margin: 48px auto 0;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    background: var(--white);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.comparison-table th,
.comparison-table td {
    text-align: left;
    padding: 14px 20px;
    border-bottom: 1px solid #f1efeb;
    font-size: 0.95rem;
    color: var(--ink-soft);
    vertical-align: top;
}

.comparison-table th {
    background: var(--cream-2);
    font-weight: 600;
    color: var(--ink-soft);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.comparison-table thead th:first-child {
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.95rem;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table td.feature-name { color: var(--gray-500); font-weight: 500; }
.comparison-table .yes { color: var(--blue); font-weight: 700; }
.comparison-table .no { color: var(--gray-400); }
.comparison-table .cell-note {
    display: inline-block;
    margin-top: 4px;
    color: var(--gray-400);
    font-weight: normal;
    font-size: 0.82rem;
}

/* Annual-save pill inside the billing-cycle toggle. */
.billing-cycle-toggle .annual-save {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.billing-cycle-toggle button:not(.is-active) .annual-save {
    background: rgba(var(--blue-rgb), 0.12);
    color: var(--blue-deep);
}

/* Shared inline-link treatment (replaces ad-hoc inline color styles). */
.link-inline {
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}
.link-inline:hover { border-bottom-color: var(--blue); }

/* ── Trust strip ── */
.trust-section { padding: 64px 24px; background: var(--white); }
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-badge {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.trust-badge svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--blue);
}

.trust-badge-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-soft);
    line-height: 1.4;
}

/* ── FAQ accordion (pure-CSS <details>) ── */
.faq-section { padding: 96px 24px; background: var(--cream); }

.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    padding: 0 24px;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink-soft);
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-item summary::after {
    content: '';
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
    margin-left: 16px;
}

.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-item .faq-answer {
    padding: 0 0 24px 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item .faq-answer p { margin-bottom: 8px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ── Final CTA strip ── */
.final-cta-section { padding: 96px 24px; }
.final-cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 64px 48px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.final-cta-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--ink-soft);
    letter-spacing: -0.02em;
}
.final-cta-card p {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.final-cta-card .final-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Mobile breakpoints for the pricing page ── */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid > .pricing-card:last-child { grid-column: 1 / -1; max-width: 540px; margin: 0 auto; width: 100%; }
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .pricing-hero { padding-top: 120px; padding-bottom: 40px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-grid > .pricing-card:last-child { grid-column: auto; max-width: none; }
    .trust-strip { grid-template-columns: 1fr; }
    .final-cta-card { padding: 48px 24px; }
    .final-cta-card h2 { font-size: 1.5rem; }
    .comparison-section,
    .faq-section,
    .final-cta-section,
    .trust-section { padding-left: 16px; padding-right: 16px; }
}

/* ── Lightbox ── click-to-zoom for demo screenshots */
.demo-screenshot {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-screenshot:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12) !important;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 32px;
    cursor: zoom-out;
    animation: lightboxFadeIn 0.18s ease-out;
}

.lightbox[hidden] { display: none; }

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .lightbox { padding: 16px; }
    .lightbox-close { top: 12px; right: 12px; }
}

/* ════════════════════════════════════════════════════════════════════════
   DESIGN REFRESH  —  refined editorial warmth
   Newsreader display headings · design tokens · unified warm gray (applied
   in the rules above + inline) · section rhythm · rationed tonal accent ·
   stronger closing CTA. Copy unchanged.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Display serif headings ─────────────────────────────────────────────
   Newsreader is optical-sized; font-optical-sizing:auto picks the display
   cut at large sizes. Gives the brand a warm, editorial voice. */
.hero h1,
.section-title,
.cta-card h2,
.final-cta-card h2,
.pricing-hero h1,
.page-hero h1,
.product-context h3 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
}
.hero h1            { font-weight: 600; letter-spacing: -0.02em;  line-height: 1.1; }
.section-title      { font-weight: 600; letter-spacing: -0.015em; }
.product-context h3 { font-weight: 600; letter-spacing: -0.015em; }
.cta-card h2,
.final-cta-card h2  { font-weight: 600; letter-spacing: -0.015em; }
.pricing-hero h1,
.page-hero h1       { font-weight: 600; letter-spacing: -0.018em; }

/* ── Section rhythm ─────────────────────────────────────────────────────
   Deliberate warm alternation + hairline borders, so sections read as
   distinct movements instead of one flat cream sheet. */
.product-context {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 96px 24px;
}
.how-it-works { background: var(--cream); }
.cta-section  { background: var(--cream-2); border-top: 1px solid var(--border); }

/* ── Rationed tonal accent ──────────────────────────────────────────────
   Bright blue now signals "interactive" (CTAs, links); a deeper ink-blue
   carries non-interactive structure, adding the hierarchy the flat
   single-blue lacked. */
.step-number { background: var(--ink-blue); }

/* ── Stronger closing CTA ───────────────────────────────────────────────
   An accent rule makes the card register as the page's conclusion; one
   unmistakable primary action, with the secondary demoted to a quiet link
   so the primary actually pops. */
.cta-card { position: relative; overflow: hidden; border-color: var(--border); }
.cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), #2bb0e8);
}
.cta-secondary-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--gray-500);
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.cta-secondary-link:hover { color: var(--ink-soft); border-bottom-color: var(--border); }

/* ============================================================
   PAGE COMPONENTS — consolidated from per-page <style> blocks (P3b).
   Only classes NOT already defined globally above are migrated here; the
   per-page <style> blocks duplicated existing global rules (.page-hero,
   .content-section, .form-group, .container, etc.) which already won the
   cascade (styles.css loads after the inline <style>), so those are simply
   deleted. Brand colors use var() tokens; non-brand status/neutral colors
   stay literal (allowlisted in .stylelintrc.cjs).
   ============================================================ */

/* Form inputs — font-family + textarea sizing (augments the global .form-group rules) */
.form-group input, .form-group select, .form-group textarea { font-family: inherit; }
.form-group textarea { resize: vertical; min-height: 150px; }

/* Contact + demo form chrome */
.contact-form-section, .demo-form-section { padding: 32px 24px 96px; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 40px; }
.btn-submit {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; height: 48px; background: var(--blue); color: var(--white);
    border-radius: 8px; font-size: 1rem; font-weight: 600;
    border: none; cursor: pointer; transition: background 0.2s ease;
}
.btn-submit:hover { background: var(--blue-deep); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.loading {
    display: inline-block; width: 1rem; height: 1rem;
    border: 2px solid transparent; border-top: 2px solid currentColor;
    border-radius: 50%; animation: spin 1s linear infinite; margin-right: 0.5rem;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.form-note { margin-top: 16px; text-align: center; font-size: 0.85rem; color: var(--gray-500); }
.form-note a { color: var(--blue); text-decoration: none; }

/* Policies index grid + cards */
.policies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.policy-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 12px;
    padding: 32px 28px; text-align: center; text-decoration: none; color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.policy-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.policy-card.disabled { opacity: 0.5; cursor: not-allowed; }
.policy-card.disabled:hover { transform: none; box-shadow: none; }
.policy-icon {
    width: 56px; height: 56px; border-radius: 12px; background: rgba(var(--blue-rgb), 0.08);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.policy-icon svg { width: 28px; height: 28px; color: var(--blue); }
/* .policy-card h2/p and .contact-note a are intentionally NOT redefined here:
   the cards live inside .content-section, whose global h2/p/a rules already
   style these descendants (and won the cascade before this refactor). Redefining
   them would change the rendered size/hover, so we leave them to global. */
.policy-meta { font-size: 0.85rem; color: var(--gray-500); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.contact-note { text-align: center; margin-top: 48px; color: var(--gray-500); font-size: 0.95rem; }

/* Blog post */
.blog-post { padding: 48px 24px 96px; }
.blog-post article { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 40px; }
.blog-post .post-meta { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 8px; }
.blog-post h2 { font-size: 1.6rem; color: var(--ink-soft); margin-bottom: 20px; font-weight: 700; line-height: 1.3; }
.blog-post p { color: #555; font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
.blog-post h3 { color: var(--ink-soft); font-size: 1.2rem; margin-top: 32px; margin-bottom: 12px; font-weight: 600; }
.blog-post a { color: var(--blue); text-decoration: none; }
.blog-post a:hover { text-decoration: underline; }

/* Careers notice card */
.notice-card {
    background: #f7f6f3; border-radius: 12px; padding: 32px;
    border: 1px solid var(--border); text-align: center; margin-top: 16px;
}
/* .notice-card h3/p left to global .content-section h3/p (notice-card is inside
   .content-section); redefining would change the rendered size, so preserve. */

/* Founder's invite page */
.founder-hero { padding: 140px 24px 40px; text-align: center; }
.founder-hero .container { max-width: 720px; margin: 0 auto; }
.founder-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem); color: var(--ink-soft); margin: 12px 0 16px;
    font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
}
.founder-hero .sub { color: #6b6864; font-size: 1.05rem; line-height: 1.6; max-width: 540px; margin: 0 auto 32px; }
.founder-section { padding: 24px; max-width: 720px; margin: 0 auto 64px; }
.pricing-table { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 32px; margin-bottom: 32px; }
.pricing-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f1efed; }
.pricing-row:last-child { border-bottom: none; }
.pricing-row .when { font-weight: 600; color: var(--ink-soft); }
.pricing-row .what { color: var(--ink-soft); text-align: right; }
.pricing-row .what .price { font-weight: 700; }
.bullet-list { list-style: none; padding: 0; margin: 0 0 32px; }
.bullet-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-soft); line-height: 1.5; }
.bullet-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }
.founder-cta {
    display: inline-flex; align-items: center; justify-content: center; height: 56px;
    padding: 0 32px; background: var(--blue); color: var(--white); border-radius: 10px;
    font-size: 1.05rem; font-weight: 600; text-decoration: none;
    transition: background 0.18s ease; border: none; cursor: pointer;
}
.founder-cta:hover { background: var(--blue-deep); }
.ask-block { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 24px; color: #6b6864; font-size: 0.95rem; line-height: 1.6; }
.neutral-state { background: #fafafa; border: 1px solid var(--border); border-radius: 12px; padding: 40px 32px; text-align: center; color: #6b6864; max-width: 540px; margin: 0 auto; }
.neutral-state strong { color: var(--ink-soft); }
.neutral-state a { color: var(--blue); text-decoration: none; }
.loading-state { color: #6b6864; text-align: center; padding: 40px; }
.hide { display: none !important; }
.eyebrow-pilot {
    display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--blue); background: #e6f4fb; padding: 4px 12px; border-radius: 999px;
}

/* Utility classes that replace inline style="" attributes (P3b) */
.is-hidden { display: none; }
.inline-link { color: var(--blue); text-decoration: none; }
.inline-link-medium { color: var(--blue); font-weight: 500; text-decoration: none; }
.bg-transparent { background: transparent; }
.flex-center-col { display: flex; flex-direction: column; align-items: center; }
.text-center { text-align: center; }
.mt-12 { margin-top: 12px; }
.section-pad-x { padding: 0 24px 96px; }
.muted-sm { color: var(--gray-500); font-size: 0.95rem; }
.footer-logo { margin-bottom: 4px; }

/* Home page — social proof + feature rows (replaces inline style attrs, P3b) */
.social-proof .container { max-width: 800px; }
.social-proof-quote {
    font-size: 1.5rem; font-family: 'Lora', serif; color: var(--ink-soft);
    line-height: 1.4; margin-bottom: 24px;
}
.social-proof-name { font-weight: 600; color: var(--blue); font-size: 1.1rem; }
.product-context .container { max-width: 1100px; }
.feature-row { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; margin-top: 80px; }
.feature-row--reverse { flex-direction: row-reverse; }
.feature-row--mt-lg { margin-top: 120px; }
.feature-col { flex: 1; min-width: 300px; }
.feature-title { font-size: 2rem; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.2; }
.feature-text { color: var(--gray-700); font-size: 1.1rem; line-height: 1.6; margin-bottom: 24px; }
.feature-card-q { font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.feature-img { width: 100%; border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }

