    :root {
        --accent:  #6366f1;
        --accent2: #8b5cf6;
        --accent3: #ec4899;
        --bg:      #ffffff;
        --bg-tint: #fafafb;
        --panel:   #ffffff;
        --text:    #0f172a;
        --text2:   #334155;
        --muted:   #64748b;
        --line:    #e4e4e7;
        --line-s:  #f1f5f9;
    }
    html, body { color: var(--text); }
    /* Body background (grid + atmospheric blobs) is now defined
       once in marketing/layout.blade.php so it applies to every
       public marketing page uniformly.  Landing-light only carries
       font + colour overrides here. */
    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    ::selection { background: var(--accent); color: #fff; }

    /* Pill-nav styling now lives in marketing/layout.blade.php so
       every public page inherits it.  Landing-light only needs to
       hint at the accent colour for the hover state. */
    header.nav .nav-links a.link:hover { color: var(--accent) !important; }

    /* Smooth scroll + offset so #pricing anchor from the nav lands
       under the pill nav, not behind it. */
    html { scroll-behavior: smooth; }
    #pricing { scroll-margin-top: 128px; }

    /* The dark-card footer now lives in marketing/layout.blade.php,
       so landing-light no longer needs to hide the layout footer or
       render its own copy — every public page inherits the same
       footer treatment uniformly. */

    .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

    /* ─── Hero ─────────────────────────────────────────────────────
       No local gradient blobs — the marketing.layout body handles
       those at document level, so they stay uniform across every
       public page instead of being hero-only. */
    .hero-m {
        position: relative;
        padding: 48px 0 64px;
        text-align: center;
    }

    .pill-m {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 6px 14px 6px 12px;
        border: 1px solid var(--line);
        border-radius: 999px; font-size: 12px; color: var(--text2);
        background: rgba(255,255,255,.8);
        backdrop-filter: blur(6px);
        margin-bottom: 28px;
        font-weight: 500;
    }
    .pill-m .dot {
        width: 6px; height: 6px; border-radius: 50%;
        background: #22c55e;
        box-shadow: 0 0 0 3px rgba(34,197,94,.15), 0 0 8px rgba(34,197,94,.5);
    }

    .hero-m h1 {
        font-size: clamp(2.5rem, 5.5vw, 4.5rem);
        font-weight: 800; line-height: 1.05; letter-spacing: -0.035em;
        max-width: 920px; margin: 0 auto 20px; color: var(--text);
    }
    .hero-m h1 .grad {
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
    .hero-m p.sub {
        font-size: 1.15rem; color: var(--text2);
        max-width: 640px; margin: 0 auto 40px; line-height: 1.6;
    }

    .cta-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
    .btn-m {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 14px 26px;
        border-radius: 12px;
        font-size: 15px; font-weight: 600;
        text-decoration: none;
        transition: transform .15s ease, box-shadow .2s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
        white-space: nowrap;
    }
    .btn-m-primary {
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        color: #fff !important;
        box-shadow: 0 10px 28px -10px rgba(99,102,241,.55);
        border: 0;
    }
    .btn-m-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(99,102,241,.7); }
    .btn-m-ghost {
        background: #ffffff;
        color: var(--text) !important;
        border: 1px solid var(--line);
    }
    .btn-m-ghost:hover { border-color: var(--accent); color: var(--accent) !important; }

    .trust {
        margin-top: 56px;
        display: flex; flex-direction: column; align-items: center; gap: 16px;
        color: var(--muted); font-size: 12px;
        letter-spacing: .05em; text-transform: uppercase; font-weight: 500;
    }

    /* ─── Section heading ─────────────────────────────── */
    .sh { text-align: center; margin-bottom: 56px; }
    .sh small {
        display: inline-block;
        padding: 4px 12px;
        border: 1px solid var(--line);
        background: var(--bg-tint);
        border-radius: 999px;
        font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
        color: var(--accent); margin-bottom: 16px; font-weight: 600;
    }
    .sh h2 {
        font-size: clamp(1.875rem, 3.5vw, 2.75rem);
        font-weight: 700; margin: 0 0 12px;
        letter-spacing: -0.025em; color: var(--text);
    }
    .sh p { font-size: 1.05rem; color: var(--text2); max-width: 640px; margin: 0 auto; line-height: 1.55; }

    /* ─── Feature grid ─────────────────────────────── */
    /* No outer margin — parent .wrap.reveal handles vertical rhythm.
       The old 100px 0 was the biggest contributor to the uneven
       spacing around the stats strip. */
    .feat-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; }
    @media (min-width: 768px)  { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1024px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

    .feat-m {
        position: relative;
        padding: 28px;
        border-radius: 16px;
        background: var(--panel);
        border: 1px solid var(--line);
        overflow: hidden;
        transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .feat-m:hover {
        transform: translateY(-3px);
        border-color: rgba(99,102,241,.28);
        box-shadow: 0 14px 32px -16px rgba(99,102,241,.25);
    }
    .feat-m::before {
        content: ""; position: absolute;
        top: 0; left: 0; right: 0; height: 2px;
        background: linear-gradient(90deg, transparent, rgba(99,102,241,.35), transparent);
    }
    .feat-m .icon {
        width: 42px; height: 42px; border-radius: 11px;
        display: inline-flex; align-items: center; justify-content: center;
        margin-bottom: 18px;
        background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(139,92,246,.06));
        border: 1px solid rgba(99,102,241,.18);
        color: var(--accent);
    }
    .feat-m h3 {
        font-size: 1.0625rem; font-weight: 600; margin: 0 0 8px;
        color: var(--text); letter-spacing: -0.01em;
    }
    .feat-m p { font-size: .9rem; color: var(--text2); line-height: 1.6; margin: 0; }

    /* ─── Stats strip ─────────────────────────────── */
    .stats {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
        padding: 40px 56px;
        background:
            radial-gradient(ellipse at top, rgba(99,102,241,.06), transparent 70%),
            var(--bg-tint);
        border: 1px solid var(--line);
        border-radius: 20px;
        margin: 0;  /* the parent .wrap.reveal already provides vertical rhythm */
    }
    @media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
    .stat { text-align: center; }
    .stat .n {
        font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .stat .l {
        font-size: .825rem; color: var(--muted); margin-top: 6px;
        letter-spacing: .05em; text-transform: uppercase; font-weight: 500;
    }

    /* ─── Pricing (high-contrast buttons on every tier) ───────────────── */
    .price-grid {
        display: grid; grid-template-columns: 1fr; gap: 18px;
        margin-bottom: 0;  /* parent handles rhythm */
    }
    @media (min-width: 900px) {
        .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
    }
    .plan {
        position: relative; padding: 32px 28px 30px;
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 16px;
        display: flex; flex-direction: column;
        transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .plan:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -16px rgba(15,23,42,.12); }
    .plan.popular {
        border-color: var(--accent);
        background: linear-gradient(180deg, rgba(99,102,241,.04), transparent 40%), var(--panel);
        transform: scale(1.02);
    }
    .plan.popular:hover { transform: scale(1.02) translateY(-2px); }
    .plan .ribbon {
        position: absolute; top: -12px; right: 24px;
        background: linear-gradient(135deg, var(--accent), var(--accent3));
        color: #fff;
        padding: 4px 12px; border-radius: 999px;
        font-size: 11px; font-weight: 700;
        letter-spacing: .05em; text-transform: uppercase;
        box-shadow: 0 4px 14px -4px rgba(99,102,241,.5);
    }
    .plan h3 {
        font-size: 1.25rem; font-weight: 700; margin: 0 0 8px;
        letter-spacing: -0.015em; color: var(--text);
    }
    .plan .price {
        font-size: 2.5rem; font-weight: 800;
        margin: 14px 0 6px; letter-spacing: -0.03em; color: var(--text);
    }
    .plan .price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
    .plan .desc {
        font-size: .875rem; color: var(--text2); margin: 0 0 22px; min-height: 48px;
        line-height: 1.5;
    }
    .plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
    .plan li {
        display: flex; align-items: flex-start; gap: 10px;
        padding: 5px 0;
        font-size: .875rem; color: var(--text2);
    }
    .plan li::before {
        content: "✓"; color: var(--accent); font-weight: 700;
        flex-shrink: 0; font-size: .95em;
    }
    .plan .btn-m {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    /* Pricing button contrast: ghost tier is readable on white, not
       a pale wash. */
    .plan .btn-m-ghost {
        background: var(--text);
        color: #fff !important;
        border-color: var(--text);
    }
    .plan .btn-m-ghost:hover {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff !important;
    }
    .plan.popular .btn-m-primary { box-shadow: 0 10px 28px -10px rgba(99,102,241,.65); }

    /* ─── Closing CTA ─────────────────────────────── */
    .cta-m {
        margin: 0;  /* parent .wrap.reveal handles outer rhythm */
        padding: 56px 40px;
        text-align: center;
        background:
            radial-gradient(ellipse at center, rgba(99,102,241,.08), transparent 70%),
            linear-gradient(135deg, rgba(99,102,241,.04), rgba(236,72,153,.03));
        border: 1px solid var(--line);
        border-radius: 20px;
        position: relative; overflow: hidden;
    }
    .cta-m h2 {
        font-size: clamp(1.875rem, 4vw, 3rem);
        font-weight: 800; margin: 0 0 16px;
        letter-spacing: -0.025em; color: var(--text);
    }
    .cta-m p {
        color: var(--text2); max-width: 560px; margin: 0 auto 32px;
        font-size: 1.05rem; line-height: 1.6;
    }
    .cta-m code {
        font-family: ui-monospace, 'SF Mono', monospace;
        background: var(--bg-tint); border: 1px solid var(--line);
        padding: 2px 8px; border-radius: 5px; font-size: .9em;
        color: var(--text);
    }

    /* ─── ABOVE-THE-FOLD PRODUCT MOCKUP ────────────────────────
       CSS-drawn dashboard preview that sits below the hero CTAs.
       Gives visitors an immediate sense of "this is what it looks
       like" without requiring a real screenshot — the genre
       Vercel / Linear / Attio / Relate all use. */
    .lp-mockup-wrap {
        margin: 72px auto 0;
        max-width: 1040px;
        padding: 0 12px;
        position: relative;
    }
    .lp-mockup-wrap::before,
    .lp-mockup-wrap::after {
        content: ""; position: absolute; border-radius: 50%;
        filter: blur(100px); opacity: .28; pointer-events: none; z-index: -1;
    }
    .lp-mockup-wrap::before { background: var(--accent);  width: 500px; height: 500px; top: -80px; left: -60px; }
    .lp-mockup-wrap::after  { background: var(--accent3); width: 480px; height: 480px; bottom: -100px; right: -60px; opacity: .18; }

    .lp-mockup {
        background: #ffffff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow:
            0 0 0 1px rgba(15,23,42,.06),
            0 2px 4px rgba(15,23,42,.04),
            0 40px 80px -30px rgba(15,23,42,.28),
            0 80px 120px -40px rgba(99,102,241,.18);
        transform-origin: center top;
        /* Soft 6s float + initial 1.5deg rotateX — compounded in the
           keyframes so we keep the 3D tilt AND get a gentle bounce
           without collapsing to flat. */
        animation: lpFloat 6s cubic-bezier(.42,0,.58,1) infinite;
    }
    @keyframes lpFloat {
        0%, 100% { transform: perspective(1800px) rotateX(1.5deg) translateY(0); }
        50%      { transform: perspective(1800px) rotateX(1.5deg) translateY(-8px); }
    }
    @media (prefers-reduced-motion: reduce) {
        .lp-mockup { animation: none; transform: perspective(1800px) rotateX(1.5deg); }
    }

    .lp-chrome {
        display: flex; align-items: center; gap: 8px;
        padding: 12px 16px;
        background: #fafafb;
        border-bottom: 1px solid var(--line);
    }
    .lp-chrome .dot { width: 11px; height: 11px; border-radius: 50%; }
    .lp-chrome .dot.r { background: #fb7185; }
    .lp-chrome .dot.y { background: #fbbf24; }
    .lp-chrome .dot.g { background: #34d399; }
    .lp-chrome .url {
        margin: 0 auto;
        padding: 4px 14px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 999px;
        font-family: ui-monospace, 'SF Mono', monospace;
        font-size: 11.5px;
        color: var(--muted);
        letter-spacing: .01em;
    }
    .lp-chrome .url .dim { color: #cbd5e1; }

    .lp-app { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }

    .lp-sidebar {
        background: #fafafb;
        border-right: 1px solid var(--line);
        padding: 18px 14px;
        display: flex; flex-direction: column; gap: 20px;
    }
    .lp-sidebar .logo {
        display: inline-flex; align-items: center; gap: 8px;
        font-weight: 700; font-size: 13px; color: var(--text);
        padding: 4px 8px;
    }
    .lp-sidebar .logo .logo-mark {
        width: 22px; height: 22px; border-radius: 6px;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
    }
    .lp-sidebar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
    .lp-sidebar li {
        display: flex; align-items: center; gap: 10px;
        padding: 7px 10px; border-radius: 7px;
        font-size: 12.5px; color: var(--muted); font-weight: 500;
        cursor: default;
    }
    .lp-sidebar li.active { background: #eef2ff; color: var(--accent); }
    .lp-sidebar li .sb-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

    .lp-main { padding: 18px 22px; background: #fff; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
    .lp-main-top { display: flex; align-items: center; justify-content: space-between; }
    .lp-main-top h5 { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); }
    .lp-main-top h5 .count { color: var(--muted); font-weight: 400; margin-left: 8px; font-size: 13px; }
    .lp-main-top .btn {
        padding: 6px 12px;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        color: #fff; border-radius: 7px; font-size: 12px; font-weight: 500;
    }

    .lp-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .lp-k-col {
        background: #fafafb; border: 1px solid var(--line);
        border-radius: 10px; padding: 10px;
        display: flex; flex-direction: column; gap: 8px;
        min-height: 240px;
    }
    .lp-k-head {
        display: flex; align-items: center; justify-content: space-between;
        padding: 4px 2px 8px; border-bottom: 1px solid var(--line);
    }
    .lp-k-head .label { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
    .lp-k-head .pill {
        font-size: 10px; padding: 2px 7px; border-radius: 999px;
        background: #fff; border: 1px solid var(--line); color: var(--muted);
    }
    .lp-card {
        background: #fff; border: 1px solid var(--line); border-radius: 8px;
        padding: 10px 12px 11px;
        display: flex; flex-direction: column; gap: 6px;
        box-shadow: 0 1px 2px rgba(15,23,42,.03);
    }
    .lp-card .name { font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
    .lp-card .meta {
        font-size: 11px; color: var(--muted);
        display: flex; align-items: center; gap: 6px;
        line-height: 1.4;
    }
    .lp-card .meta .av {
        width: 14px; height: 14px; border-radius: 50%;
        background: linear-gradient(135deg, #fbbf24, #f87171);
    }
    .lp-card .meta .av.a2 { background: linear-gradient(135deg, #34d399, #06b6d4); }
    .lp-card .meta .av.a3 { background: linear-gradient(135deg, #a78bfa, #f472b6); }
    .lp-card .tags { display: flex; gap: 4px; margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(15,23,42,.04); }
    .lp-card .tag { font-size: 9.5px; padding: 2px 7px; border-radius: 3px; font-weight: 600; letter-spacing: .04em; }
    .lp-card .tag.hot { background: #fef2f2; color: #dc2626; }
    .lp-card .tag.warm { background: #fffbeb; color: #b45309; }
    .lp-card .tag.enterprise { background: #eef2ff; color: #4338ca; }

    @media (max-width: 720px) {
        .lp-mockup { transform: none; }
        .lp-app { grid-template-columns: 1fr; }
        .lp-sidebar { display: none; }
        .lp-kanban { grid-template-columns: 1fr; }
        .lp-k-col:nth-child(n+2) { display: none; } /* Show only first column */
    }

    /* ─── SCROLL-REVEAL ──────────────────────────────────────
       Sections fade + rise into view as the viewport enters
       their box.  Opt-out on prefers-reduced-motion. */
    .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .6s cubic-bezier(.22,.9,.3,1), transform .6s cubic-bezier(.22,.9,.3,1);
        will-change: opacity, transform;
    }
    .reveal.is-visible { opacity: 1; transform: translateY(0); }
    .reveal[data-delay="1"] { transition-delay: 60ms; }
    .reveal[data-delay="2"] { transition-delay: 120ms; }
    .reveal[data-delay="3"] { transition-delay: 180ms; }
    @media (prefers-reduced-motion: reduce) {
        .reveal { opacity: 1; transform: none; transition: none; }
    }

    /* ─── SECTION RHYTHM ──────────────────────────────────────────
       Tight cadence.  Inner components (like .stats and .cta-m)
       carry their own padding; the wrap only contributes breathing
       room between sections. */
    .wrap.reveal { padding-top: 40px; padding-bottom: 40px; }
    .hero-m + .wrap.reveal { padding-top: 24px; }
    /* Stats strip + closing CTA are visually heavy — keep wrap
       minimal so the banner doesn't float in negative space. */
    .wrap.reveal:has(> .stats),
    .wrap.reveal:has(> .cta-m) { padding-top: 24px; padding-bottom: 24px; }
    /* All section backgrounds are transparent so the body grid
       shows through uniformly — no section-by-section bg jumps. */
    .hero-m,
    .wrap.reveal { background: transparent; }

    /* Rich-footer CSS removed — the dark-card footer is now in
       marketing/layout.blade.php so every page inherits it. */
