/*
 * OpenDPP marketing design system — "Modern SaaS" (Direction B).
 *
 * Single external, cacheable stylesheet for the SSR marketing site: authored here, served from
 * /public/css with a content-hash query (src/views/marketing/assets.ts) and linked ONCE by the
 * marketing shell (src/views/marketing/shell.ts) — replacing the old per-page inline <style> model.
 * Design tokens live in :root below; the React portal mirrors the same brand values (see CLAUDE.md).
 * Source of the visual language: the approved "Direction B — Modern SaaS" mockup.
 */

  :root {
    --ink: #0f172a;
    --slate: #475569;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --mint: #ecfdf5;
    --sky: #eff6ff;
    --emerald: #10b981;
    --blue: #3b82f6;
    --grad: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --grad-soft: linear-gradient(135deg, #34d399 0%, #60a5fa 100%);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.06), 0 24px 60px rgba(15, 23, 42, 0.10);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.10), 0 40px 90px rgba(16, 90, 130, 0.14);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --maxw: 1180px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  h1, h2, h3, .display {
    font-family: "Outfit", sans-serif;
    line-height: 1.1;
    margin: 0;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; }

  .wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
  }

  .grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
  }
  .btn-grad {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.28), 0 2px 6px rgba(59, 130, 246, 0.22);
  }
  .btn-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.34), 0 4px 10px rgba(59, 130, 246, 0.26);
  }
  .btn-outline {
    background: var(--white);
    color: var(--ink);
    border-color: var(--slate-200);
    box-shadow: var(--shadow-sm);
  }
  .btn-outline:hover {
    border-color: var(--slate-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .btn-ghost {
    background: transparent;
    color: var(--slate);
    font-weight: 600;
    padding: 10px 14px;
  }
  .btn-ghost:hover { color: var(--ink); }
  .btn-white {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(15,23,42,0.18);
  }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15,23,42,0.24); }

  /* ---------- Nav ---------- */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.02em;
  }
  .brand .mark {
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--grad);
    display: grid; place-items: center;
    box-shadow: 0 4px 10px rgba(16,185,129,0.3);
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--slate);
    transition: color .15s ease;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .nav-toggle {
    display: none;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    width: 42px; height: 42px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }
  /* mobile menu via checkbox hack */
  #navchk { display: none; }
  .mobile-menu { display: none; }

  /* ---------- Section scaffolding ---------- */
  section { position: relative; }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0e7857;
    background: var(--mint);
    border: 1px solid #bbf7d0;
    padding: 7px 14px;
    border-radius: 999px;
    letter-spacing: 0.01em;
  }
  .eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
  }
  .section-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  /* ---------- Hero ---------- */
  .hero { padding: 72px 0 56px; overflow: hidden; }
  .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
  }
  .hero .blob-a {
    width: 520px; height: 520px;
    background: var(--mint);
    top: -160px; left: -140px;
    opacity: 0.9;
  }
  .hero .blob-b {
    width: 560px; height: 560px;
    background: var(--sky);
    top: -120px; right: -200px;
    opacity: 0.85;
  }
  .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .hero h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 22px 0 0;
  }
  .hero .subhead {
    font-size: 18.5px;
    color: var(--slate);
    margin: 22px 0 0;
    max-width: 540px;
  }
  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
  }
  .reassure {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    flex-wrap: wrap;
  }
  .reassure svg { color: var(--emerald); }
  .reassure .sep { color: var(--slate-300); }

  /* ---------- Product UI mock ---------- */
  .product {
    position: relative;
    z-index: 1;
  }
  .product-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
  }
  .pc-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--slate-100);
    background: var(--slate-50);
  }
  .pc-top .dots { display: flex; gap: 6px; }
  .pc-top .dots span { width: 11px; height: 11px; border-radius: 50%; }
  .pc-url {
    margin-left: 8px;
    flex: 1;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 12px;
    color: var(--slate);
    padding: 5px 12px;
    display: flex; align-items: center; gap: 7px;
  }
  .pc-body { padding: 22px; }
  .pc-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }
  .pc-prod-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--grad-soft);
    display: grid; place-items: center;
    color: #fff;
    flex-shrink: 0;
  }
  .pc-title { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 17px; }
  .pc-sub { font-size: 12.5px; color: var(--slate); margin-top: 2px; }
  .pill-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0e7857;
    background: var(--mint);
    border: 1px solid #a7f3d0;
    padding: 5px 11px;
    border-radius: 999px;
  }
  .pc-metrics {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 14px;
    margin-top: 20px;
  }
  .pc-metric {
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-sm);
    padding: 14px;
    background: var(--slate-50);
  }
  .pc-metric .label { font-size: 11.5px; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; }
  .pc-metric .value { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 22px; margin-top: 4px; }
  .pc-metric .delta { font-size: 11.5px; font-weight: 600; color: var(--emerald); }
  .spark { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 10px; }
  .spark span { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--grad); opacity: 0.9; }
  .qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .qr-box .qr {
    width: 78px; height: 78px;
    border-radius: 12px;
    border: 1px solid var(--slate-200);
    background: #fff;
    padding: 8px;
  }
  .qr-box .qr-cap { font-size: 11px; font-weight: 600; color: var(--slate); }
  .pc-attrs { margin-top: 18px; display: flex; flex-direction: column; gap: 0; }
  .pc-attr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 2px;
    border-top: 1px solid var(--slate-100);
    font-size: 13.5px;
  }
  .pc-attr .k { color: var(--slate); font-weight: 500; }
  .pc-attr .v { display: flex; align-items: center; gap: 8px; font-weight: 600; }
  .tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
  }
  .tag-ok { color: #0e7857; background: var(--mint); border: 1px solid #a7f3d0; }
  .tag-info { color: #1d4ed8; background: var(--sky); border: 1px solid #bfdbfe; }
  .tag-amber { color: #b45309; background: #fffbeb; border: 1px solid #fde68a; }
  /* floating mini badge */
  .float-badge {
    position: absolute;
    bottom: -22px; left: -26px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 12px 16px;
    display: flex; align-items: center; gap: 10px;
    z-index: 2;
  }
  .float-badge .ic {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--mint); color: var(--emerald);
    display: grid; place-items: center;
  }
  .float-badge .t1 { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 14px; }
  .float-badge .t2 { font-size: 11.5px; color: var(--slate); }

  /* ---------- Trust strip ---------- */
  .trust { padding: 26px 0 8px; text-align: center; }
  .trust p {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate);
    margin: 0 0 18px;
  }
  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    padding: 8px 16px;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, border-color .15s ease;
  }
  .chip:hover { transform: translateY(-2px); border-color: #a7f3d0; }
  .chip .cdot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

  /* ---------- Outcomes ---------- */
  .outcomes { padding: 90px 0 30px; }
  .sec-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
  .sec-head h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 14px 0 0;
  }
  .sec-head p { color: var(--slate); font-size: 17px; margin: 14px 0 0; }
  .cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  .ocard {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .ocard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #c7d2fe;
  }
  .ocard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .ocard .oicon {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, #ecfdf5, #eff6ff);
    border: 1px solid #d1fae5;
    display: grid; place-items: center;
    color: var(--emerald);
    flex: 0 0 auto;
  }
  /* Status-tinted icon so each lifecycle state reads at a glance */
  .ocard[data-state="RECALLED"] .oicon { background: linear-gradient(135deg, #fef2f2, #fff1f2); border-color: #fecaca; color: #e11d48; }
  .ocard[data-state="DECOMMISSIONED"] .oicon { background: var(--slate-100); border-color: var(--slate-300); color: var(--slate); }
  /* Colored lifecycle-state pill */
  .ostate { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
  .ostate::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
  .ostate.is-active { color: #0e7857; background: var(--mint); border: 1px solid #a7f3d0; }
  .ostate.is-active::before { background: var(--emerald); }
  .ostate.is-recalled { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
  .ostate.is-recalled::before { background: #e11d48; }
  .ostate.is-decommissioned { color: var(--slate); background: var(--slate-100); border: 1px solid var(--slate-300); }
  .ostate.is-decommissioned::before { background: #94a3b8; }
  .ocat { display: block; margin: 16px 0 3px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--slate); }
  .ocard h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
  .ocard p { color: var(--slate); font-size: 14.5px; margin: 10px 0 0; }
  /* Card link list — keep each label + its arrow together on one line (no orphaned arrow) */
  .ocard .ocard-links { gap: 9px; }
  .ocard .ocard-links li { padding-left: 20px; font-size: 14px; }
  .ocard .ocard-links li::before { top: 9px; }
  .ocard .ocard-links a.inline { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-weight: 600; text-decoration: none; }
  .ocard .ocard-links a.inline svg { flex: 0 0 auto; }
  .ocard .ocard-links a.inline:hover { color: #1d4ed8; }

  /* ---------- How it works ---------- */
  .how { padding: 90px 0; overflow: hidden; }
  .how-wrap { position: relative; }
  .how .blob-c {
    width: 600px; height: 360px;
    background: var(--sky);
    top: 40px; left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
  }
  .steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  /* connecting line */
  .steps::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, #a7f3d0, #bfdbfe);
    z-index: 0;
  }
  .step {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    box-shadow: var(--shadow-md);
  }
  .step .num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: grid; place-items: center;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 19px;
    margin: 0 auto 18px;
    box-shadow: 0 8px 18px rgba(16,185,129,0.3);
    border: 4px solid #fff;
  }
  .step h3 { text-align: center; font-size: 18px; font-weight: 700; }
  .step p { text-align: center; color: var(--slate); font-size: 14.5px; margin: 10px 0 0; }
  .step .sicon { display: grid; place-items: center; color: var(--blue); margin-top: 16px; opacity: 0.85; }

  /* ---------- Pricing ---------- */
  .pricing { padding: 30px 0 90px; }
  .tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
  }
  .tier {
    position: relative;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .tier .tname { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 16px; color: var(--slate); }
  .tier .tprice { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 38px; letter-spacing: -0.02em; margin: 10px 0 2px; }
  .tier .tprice .per { font-size: 15px; font-weight: 600; color: var(--slate); }
  .tier .tval { font-size: 14px; color: var(--slate); margin: 8px 0 18px; }
  .tier ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; }
  .tier li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink); }
  .tier li svg { color: var(--emerald); flex-shrink: 0; margin-top: 3px; }
  .tier .tlink { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
  .tier .tlink:hover { gap: 10px; }
  .tier.popular {
    border: none;
    background: #fff;
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
  }
  .tier.popular:hover { transform: translateY(-14px); }
  .tier.popular::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-md) + 2px);
    background: var(--grad);
    z-index: -1;
  }
  .tier.popular { padding: 32px 28px; }
  .badge-pop {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 6px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(16,185,129,0.34);
    white-space: nowrap;
  }

  /* ---------- Closing CTA ---------- */
  .cta-band { padding: 40px 0 96px; }
  .cta-inner {
    position: relative;
    overflow: hidden;
    background: var(--grad);
    border-radius: 28px;
    padding: 64px 48px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-xl);
  }
  .cta-inner::before, .cta-inner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
  }
  .cta-inner::before {
    width: 380px; height: 380px;
    background: rgba(255,255,255,0.12);
    top: -180px; right: -100px;
    filter: blur(40px);
  }
  .cta-inner::after {
    width: 320px; height: 320px;
    background: rgba(255,255,255,0.10);
    bottom: -190px; left: -80px;
    filter: blur(40px);
  }
  .cta-inner h2 {
    position: relative;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.025em;
    max-width: 720px;
    margin: 0 auto;
  }
  .cta-inner p { position: relative; opacity: 0.92; margin: 14px auto 28px; font-size: 17px; max-width: 560px; }
  .cta-inner .btn-white { position: relative; }

  /* ---------- Footer ---------- */
  footer { border-top: 1px solid var(--slate-200); background: var(--slate-50); }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 36px;
    padding: 56px 0 36px;
  }
  .foot-brand .brand { margin-bottom: 14px; }
  .foot-brand p { color: var(--slate); font-size: 14.5px; max-width: 280px; }
  .foot-col h4 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin: 0 0 16px;
  }
  .foot-col a {
    display: block;
    color: var(--slate);
    font-size: 14.5px;
    margin-bottom: 11px;
    transition: color .15s ease;
  }
  .foot-col a:hover { color: var(--emerald); }
  .foot-bottom {
    border-top: 1px solid var(--slate-200);
    padding: 22px 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .foot-bottom .compliance { font-size: 13px; color: var(--slate); }
  .foot-bottom .socials { display: flex; gap: 14px; color: var(--slate); }
  .foot-bottom .socials a:hover { color: var(--emerald); }

  /* ---------- Responsive ---------- */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 46px; }
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { gap: 40px; }
  }

  @media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-right .btn-ghost { display: none; }
    .nav-toggle { display: inline-flex; }

    #navchk:checked ~ .mobile-menu { display: block; }
    .mobile-menu {
      position: fixed;
      top: 70px; left: 0; right: 0; bottom: 0;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(8px);
      z-index: 60;
      padding: 24px;
      animation: fade .2s ease;
    }
    .mobile-menu a {
      display: block;
      font-size: 18px;
      font-weight: 600;
      color: var(--ink);
      padding: 14px 4px;
      border-bottom: 1px solid var(--slate-100);
    }
    .mobile-menu .btn { width: 100%; margin-top: 18px; }
    @keyframes fade { from { opacity: 0; } to { opacity: 1; } }

    .hero { padding: 48px 0 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 64px; }
    .hero h1 { font-size: 38px; }
    .hero .subhead { font-size: 17px; }
    .float-badge { left: 0; }

    .outcomes { padding: 64px 0 20px; }
    .sec-head h2 { font-size: 32px; }
    .cta-inner h2 { font-size: 30px; }

    .how { padding: 64px 0; }
    .steps { grid-template-columns: 1fr; gap: 18px; }
    .steps::before { display: none; }

    .tiers { grid-template-columns: 1fr; gap: 28px; }
    .tier.popular { transform: none; }
    .tier.popular:hover { transform: translateY(-3px); }
  }

  @media (max-width: 480px) {
    .wrap { padding: 0 18px; }
    .hero h1 { font-size: 32px; }
    .cards-4 { grid-template-columns: 1fr; }
    .pc-metrics { grid-template-columns: 1fr; }
    .cta-inner { padding: 44px 24px; }
    .cta-inner h2 { font-size: 26px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .foot-brand { grid-column: 1 / -1; }
    .reassure { font-size: 13px; }
  }

  /* ---------- Accessibility (added for the SSR integration) ---------- */
  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: var(--emerald);
    color: #fff;
    padding: 12px 18px;
    border-radius: 0 0 12px 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
  }
  .skip-link:focus { left: 0; }

  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  label:focus-visible,
  [tabindex]:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* ---------- Resolver / passport lookup (home) ---------- */
  .resolver { padding: 4px 0 8px; }
  .resolver-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 24px 24px 22px;
  }
  .resolver-title {
    display: flex; align-items: center; gap: 8px;
    font-family: "Outfit", sans-serif; font-weight: 700; font-size: 16px;
    margin-bottom: 14px;
  }
  .resolver-title svg { color: var(--emerald); }
  .resolver-form { display: flex; gap: 10px; }
  .resolver-input {
    flex: 1;
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px;
    padding: 12px 18px;
    border: 1px solid var(--slate-200); border-radius: 999px;
    color: var(--ink); background: var(--slate-50); outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .resolver-input:focus { border-color: #a7f3d0; box-shadow: 0 0 0 4px rgba(16,185,129,0.12); background: #fff; }
  .resolver-hint { margin-top: 14px; font-size: 13.5px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
  .resolver-hint strong { color: var(--ink); font-weight: 600; }
  .resolver-hint a { color: var(--blue); font-weight: 600; }
  .resolver-hint a:hover { text-decoration: underline; }

  .scope-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
    max-width: 940px; margin: 30px auto 0;
  }
  .scope-item {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
    padding: 14px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink);
    box-shadow: var(--shadow-sm); text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  }
  .scope-item:hover { transform: translateY(-2px); border-color: #a7f3d0; box-shadow: var(--shadow-md); }
  @media (max-width: 860px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } .resolver-form { flex-direction: column; } }
  @media (max-width: 480px) { .scope-grid { grid-template-columns: 1fr; } }

  /* ==========================================================================
   * Content-page components (Phase 2) — used by the migrated marketing pages
   * (why/how/about/security/faq + CMS overrides). Extracted from the approved
   * Direction B content-page mockup. Pricing-table / billing-toggle components for
   * the dedicated /pricing page land with Phase 4.
   * ========================================================================== */
  :root { --measure: 720px; }

  /* Active nav item — the shell emits aria-current="page" */
  .nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
  .nav-links a[aria-current="page"]::after {
    content: ""; display: block; height: 2px; margin-top: 5px;
    border-radius: 2px; background: var(--grad);
  }
  .mobile-menu a[aria-current="page"] { color: var(--emerald); }

  /* sec-head needs to layer above decorative blobs on content pages */
  .sec-head { position: relative; z-index: 1; }

  /* ---------- Page header (content pages — no product card) ---------- */
  .page-head { padding: 72px 0 48px; overflow: hidden; }
  .page-head .blob-a { width: 520px; height: 520px; background: var(--mint); top: -180px; left: -160px; opacity: 0.9; }
  .page-head .blob-b { width: 540px; height: 540px; background: var(--sky); top: -160px; right: -220px; opacity: 0.8; }
  .head-inner { position: relative; z-index: 1; max-width: 820px; }
  .page-head h1 { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; margin: 22px 0 0; }
  .page-head .deck { font-size: 19px; color: var(--slate); margin: 24px 0 0; max-width: 64ch; }
  .head-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

  /* ---------- Stats band ---------- */
  .stats { padding: 8px 0 28px; }
  .stats-note { font-size: 12.5px; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
  .stats-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
  .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .stat { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
  .stat .sicon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #ecfdf5, #eff6ff); border: 1px solid #d1fae5; display: grid; place-items: center; color: var(--emerald); margin-bottom: 16px; }
  .stat .fig { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  .stat .lab { font-size: 14px; color: var(--slate); margin-top: 6px; font-weight: 500; }

  /* ---------- Long-form prose ---------- */
  .prose { padding: 56px 0; }
  .prose.alt { background: var(--slate-50); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
  .prose-inner { max-width: var(--measure); }
  .prose-inner.wide { max-width: 920px; }
  .prose h2 { font-size: 34px; font-weight: 700; letter-spacing: -0.022em; margin: 12px 0 0; }
  .prose h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 0; }
  .prose p { color: var(--slate); font-size: 17px; line-height: 1.75; margin: 18px 0 0; }
  .prose p strong { color: var(--ink); font-weight: 600; }
  .prose a.inline { color: var(--blue); font-weight: 600; border-bottom: 1px solid #bfdbfe; transition: border-color .15s ease; }
  .prose a.inline:hover { border-color: var(--blue); }
  .lede { font-size: 19px !important; color: var(--ink) !important; line-height: 1.7 !important; }

  /* checklist (2-col card-ish list) */
  .checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
  .checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
  .checklist li .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--mint); border: 1px solid #a7f3d0; color: var(--emerald); display: grid; place-items: center; margin-top: 1px; }
  .checklist li strong { display: block; font-weight: 600; }
  .checklist li span { display: block; color: var(--slate); font-size: 13.5px; margin-top: 2px; }

  /* styled bullet list */
  .bullets { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
  .bullets li { position: relative; padding-left: 30px; color: var(--slate); font-size: 16.5px; line-height: 1.6; }
  .bullets li strong { color: var(--ink); font-weight: 600; }
  .bullets li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

  /* callout / blockquote */
  .callout { margin: 32px 0 0; border-left: 4px solid var(--emerald); background: linear-gradient(135deg, #ecfdf5, #eff6ff); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 22px 26px; }
  .callout p { margin: 0 !important; font-size: 18px !important; color: var(--ink) !important; font-weight: 500; line-height: 1.6 !important; }
  .callout .who { display: block; margin-top: 12px; font-size: 14px; color: var(--slate); font-weight: 600; }

  /* ---------- Timeline ---------- */
  .timeline-sec { padding: 80px 0; overflow: hidden; }
  .timeline-sec .blob-c { width: 620px; height: 360px; background: var(--sky); top: 60px; left: 50%; transform: translateX(-50%); opacity: 0.6; }
  .timeline { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding-left: 8px; }
  .timeline::before { content: ""; position: absolute; left: 27px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, #a7f3d0, #bfdbfe); }
  .tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 0 0 30px; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 4px solid #fff; box-shadow: 0 8px 18px rgba(16,185,129,0.22), var(--shadow-sm); display: grid; place-items: center; }
  .tl-node .ring { width: 100%; height: 100%; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }
  .tl-node.future .ring { background: #fff; color: var(--blue); border: 2px solid var(--slate-200); }
  .tl-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .tl-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: #c7d2fe; }
  .tl-when { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; padding: 4px 11px; border-radius: 999px; }
  .tl-when.now { color: #0e7857; background: var(--mint); border: 1px solid #a7f3d0; }
  .tl-when.next { color: #1d4ed8; background: var(--sky); border: 1px solid #bfdbfe; }
  .tl-when.later { color: var(--slate); background: var(--slate-100); border: 1px solid var(--slate-200); }
  .tl-card h3 { font-size: 18px; font-weight: 700; margin-top: 12px; }
  .tl-card p { color: var(--slate); font-size: 14.5px; margin: 8px 0 0; line-height: 1.6; }

  /* ---------- Risk / cost cards (negative framing) ---------- */
  .cost-sec { padding: 30px 0 80px; }
  .cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
  .cost-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
  .cost-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .cost-card .cic { width: 46px; height: 46px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; display: grid; place-items: center; margin-bottom: 16px; }
  .cost-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
  .cost-card p { color: var(--slate); font-size: 14.5px; margin: 10px 0 0; line-height: 1.6; }

  /* ---------- Bridge (split copy + ready-list) ---------- */
  .bridge { padding: 80px 0; background: var(--slate-50); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
  .bridge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .bridge-copy h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.025em; margin: 14px 0 0; }
  .bridge-copy p { color: var(--slate); font-size: 17px; line-height: 1.75; margin: 18px 0 0; max-width: 52ch; }
  .bridge-copy .head-cta { margin-top: 28px; }
  .ready-list { display: flex; flex-direction: column; gap: 16px; }
  .ready { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .ready:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #a7f3d0; }
  .ready .ric { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); color: #fff; display: grid; place-items: center; }
  .ready h3 { font-size: 16.5px; font-weight: 700; }
  .ready p { color: var(--slate); font-size: 14px; margin: 5px 0 0; line-height: 1.55; }

  /* ---------- FAQ accordion (CSS-only <details>) ---------- */
  .faq-sec { padding: 80px 0; }
  .faq-list { max-width: 820px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 14px; }
  details.faq { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
  details.faq[open] { box-shadow: var(--shadow-md); border-color: #c7d2fe; }
  details.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
  details.faq summary::-webkit-details-marker { display: none; }
  details.faq summary .chev { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--slate-100); color: var(--slate); display: grid; place-items: center; transition: transform .2s ease, background .2s ease, color .2s ease; }
  details.faq[open] summary .chev { transform: rotate(180deg); background: var(--mint); color: var(--emerald); }
  details.faq .faq-body { padding: 0 24px 24px; color: var(--slate); font-size: 16px; line-height: 1.7; max-width: 68ch; }
  details.faq .faq-body p { margin: 0; }

  /* ---------- Responsive (content-page components) ---------- */
  @media (max-width: 1024px) {
    .page-head h1 { font-size: 46px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .cost-grid { grid-template-columns: 1fr 1fr; }
    .bridge-grid { gap: 40px; }
  }
  @media (max-width: 860px) {
    .page-head { padding: 48px 0 36px; }
    .page-head h1 { font-size: 38px; }
    .page-head .deck { font-size: 17px; }
    .prose { padding: 44px 0; }
    .prose h2 { font-size: 28px; }
    .checklist { grid-template-columns: 1fr; }
    .timeline-sec, .bridge, .faq-sec, .cost-sec { padding: 56px 0; }
    .cost-sec { padding: 20px 0 56px; }
    .bridge-grid { grid-template-columns: 1fr; gap: 36px; }
    .bridge-copy h2 { font-size: 28px; }
  }
  @media (max-width: 480px) {
    .page-head h1 { font-size: 32px; }
    .stat-grid { grid-template-columns: 1fr; }
    .cost-grid { grid-template-columns: 1fr; }
    .prose p { font-size: 16px; }
    .timeline { padding-left: 0; }
    .tl-item { grid-template-columns: 48px 1fr; gap: 16px; }
    .tl-node { width: 48px; height: 48px; }
    .timeline::before { left: 23px; }
    details.faq summary { font-size: 16px; padding: 18px 20px; }
  }

  /* prose lists + divider (used by CMS-rendered pages) */
  .prose ul, .prose ol { margin: 18px 0 0; padding-left: 22px; color: var(--slate); font-size: 17px; line-height: 1.75; }
  .prose li { margin: 8px 0 0; }
  .prose hr { border: none; border-top: 1px solid var(--slate-200); margin: 36px 0; }

  /* ==========================================================================
   * Pricing-page components (Phase 4 /pricing) — billing toggle, tier CTAs,
   * comparison table, add-on cards. Extracted from the approved Direction B pricing mockup.
   * (.tier/.tiers/.badge-pop/.tname/.tprice/.tval already exist from the home teaser.)
   * ========================================================================== */
  #billchk { display: none; }
  .bill-toggle { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 28px 0 8px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--slate); }
  .bill-toggle .switch { position: relative; width: 54px; height: 30px; border-radius: 999px; background: var(--slate-200); border: 1px solid var(--slate-300); cursor: pointer; display: inline-block; transition: background .2s ease, border-color .2s ease; }
  .bill-toggle .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease; }
  #billchk:checked ~ .bill-toggle .switch { background: var(--grad); border-color: transparent; }
  #billchk:checked ~ .bill-toggle .switch::after { transform: translateX(24px); }
  .bill-toggle .lab-1y { color: var(--ink); }
  #billchk:checked ~ .bill-toggle .lab-1y { color: var(--slate); }
  #billchk:checked ~ .bill-toggle .lab-3y { color: var(--ink); }
  .bill-save { font-size: 11.5px; font-weight: 700; color: #0e7857; background: var(--mint); border: 1px solid #a7f3d0; padding: 4px 10px; border-radius: 999px; }
  .tier .tplus { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 11px; }
  .tier .tier-cta { margin-top: auto; }
  .tier .tier-cta .btn { width: 100%; justify-content: center; }
  .tier .price-3y { display: none; }
  #billchk:checked ~ .pricing .price-1y { display: none; }
  #billchk:checked ~ .pricing .price-3y { display: inline; }
  .price-footnote { text-align: center; font-size: 13px; color: var(--slate); margin: 30px auto 0; max-width: 660px; }
  .price-footnote a { color: var(--blue); font-weight: 600; }

  /* Tier grid for 6 tiers — auto-fit so they wrap nicely */
  .tiers.tiers-6 { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 1024px) { .tiers.tiers-6 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 640px) { .tiers.tiers-6 { grid-template-columns: 1fr; } }

  /* ---------- Comparison table ---------- */
  .compare { padding: 70px 0 30px; }
  .table-card { border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; background: #fff; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ctable { width: 100%; border-collapse: collapse; font-size: 14px; }
  .ctable th, .ctable td { text-align: center; padding: 14px 16px; border-bottom: 1px solid var(--slate-100); }
  .ctable thead th { background: var(--slate-50); font-family: "Outfit", sans-serif; font-weight: 700; font-size: 14.5px; border-bottom: 1px solid var(--slate-200); }
  .ctable thead th .th-sub { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; font-size: 12px; color: var(--slate); margin-top: 2px; }
  .ctable thead th.col-pop { background: linear-gradient(180deg, #ecfdf5, #f8fafc); }
  .ctable th.row-label, .ctable td.row-label { text-align: left; font-weight: 600; color: var(--ink); width: 30%; }
  .ctable td.col-pop { background: rgba(236,253,245,0.4); }
  .ctable tbody tr:last-child td { border-bottom: none; }
  .ctable tbody tr:hover td { background: var(--slate-50); }
  .ctable .val { font-weight: 600; color: var(--ink); }
  .ctable .ck { color: var(--emerald); display: inline-flex; vertical-align: middle; }
  .ctable .dash { color: var(--slate-300); font-weight: 700; font-size: 16px; }
  @media (max-width: 860px) { .compare { padding: 56px 0 20px; } .ctable { min-width: 720px; } }

  /* ---------- Add-ons ---------- */
  .addons { padding: 30px 0 80px; }
  .addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .addon-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .addon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c7d2fe; }
  .addon-card .an { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 16px; }
  .addon-card .ap { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  .addon-card .ap .au { font-size: 13px; font-weight: 600; color: var(--slate); -webkit-text-fill-color: var(--slate); }
  .addon-card .ad { font-size: 13.5px; color: var(--slate); line-height: 1.55; margin-top: 2px; }
  .addon-card .afine { font-size: 11.5px; color: var(--slate-400, #94a3b8); line-height: 1.5; margin-top: 2px; font-style: italic; }
  @media (max-width: 900px) { .addon-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .addon-grid { grid-template-columns: 1fr; } }

  /* add-on availability chip */
  .addon-card .aa { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: #0e7857; background: var(--mint); border: 1px solid #a7f3d0; border-radius: 999px; padding: 3px 10px; }

  /* ==========================================================================
     Contact / lead-capture page (src/views/contact.ts)
     ========================================================================== */
  .lead-sec { padding: 8px 0 64px; }
  .lead-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .lead-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }

  .lead-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
  .lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .lead-field { display: flex; flex-direction: column; gap: 6px; }
  .lead-label { font-size: 13px; font-weight: 600; color: var(--ink); }
  .lead-req { color: #dc2626; }
  .lead-opt { color: var(--slate); font-weight: 500; }

  .lead-input {
    font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px;
    padding: 11px 14px;
    border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
    color: var(--ink); background: var(--slate-50); outline: none; width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .lead-input::placeholder { color: #94a3b8; }
  .lead-input:focus { border-color: #a7f3d0; box-shadow: 0 0 0 4px rgba(16,185,129,0.12); background: #fff; }
  .lead-textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

  .lead-check { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--slate); line-height: 1.5; cursor: pointer; }
  .lead-check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--emerald); flex: 0 0 auto; }

  .lead-submit { align-self: flex-start; margin-top: 4px; }
  .lead-note { font-size: 12.5px; color: var(--slate); line-height: 1.55; margin: 2px 0 0; }
  .lead-note a { color: var(--blue); font-weight: 600; }

  /* Honeypot — present in the DOM, invisible + unreachable to humans (bots tend to fill it). */
  .lead-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

  .lead-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; font-weight: 500; }

  .lead-success { text-align: center; padding: 18px 8px 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .lead-success-mark { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: #0e7857; border: 1px solid #a7f3d0; }
  .lead-success h2 { margin: 4px 0 0; }
  .lead-success p { color: var(--slate); max-width: 460px; line-height: 1.6; }
  .lead-success a { color: var(--blue); font-weight: 600; }

  .lead-aside { background: linear-gradient(180deg, var(--sky), #fff); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
  .lead-aside h3 { font-family: "Outfit", sans-serif; font-size: 18px; margin: 0 0 16px; }
  .lead-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
  .lead-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--slate); line-height: 1.5; }
  .lead-step-n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
  .lead-aside-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--slate-200); font-size: 13px; color: var(--slate); line-height: 1.55; }
  .lead-aside-foot strong { color: var(--ink); }

  @media (max-width: 900px) { .lead-wrap { grid-template-columns: 1fr; } .lead-aside { order: -1; } }
  @media (max-width: 560px) { .lead-grid { grid-template-columns: 1fr; } .lead-card { padding: 22px; } }
