/* ACQ-1567 — cinematic marketing design system, extracted from docs/corrected-marketing-mockup/index.html.
   Shared stylesheet for the cinematic-design marketing pages. */
/* =========================================================
     App blue look & feel (apps/web tokens) — premium build
     ========================================================= */
  :root {
    --blue: #0149AD; --blue-600: #035DDD; --blue-700: #013580; --blue-900: #021a3c;
    --blue-tint: #eaf1fc; --blue-tint-2: #f5f8fe;
    --emerald: #0c9a67; --emerald-bg: #e6f6ef;
    --amber: #b7791f; --amber-bg: #fdf3e1;
    --ink: #0e1726; --ink-2: #344256; --ink-3: #5d6b80; --ink-4: #8c98ab;
    --line: #e7ecf3; --line-2: #f1f5fa;
    --bg: #ffffff; --bg-2: #f7f9fd;
    --sh-sm: 0 1px 2px rgba(6,26,60,.06), 0 1px 1px rgba(6,26,60,.04);
    --sh-md: 0 6px 16px -6px rgba(6,26,60,.12), 0 2px 6px -2px rgba(6,26,60,.06);
    --sh-lg: 0 30px 64px -24px rgba(1,49,128,.32), 0 10px 24px -14px rgba(6,26,60,.18);
    --container: 1180px; --gutter: clamp(20px, 5vw, 52px);
    --mono: "JetBrains Mono", ui-monospace, monospace;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased;
    font-feature-settings: "cv05" 1, "ss03" 1;
  }
  h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.028em; line-height: 1.05; color: var(--ink); }
  h1, h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 900; letter-spacing: -0.032em; }
  h3 { font-size: clamp(19px, 1.7vw, 23px); }
  p { color: var(--ink-2); }
  a { color: inherit; text-decoration: none; }
  .tnum { font-variant-numeric: tabular-nums; }
  .wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
  .section { padding: clamp(72px, 10vw, 132px) 0; }

  .eyebrow {
    font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
  }
  .eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--blue); display: inline-block; }
  .eyebrow.light { color: #8fb6ef; } .eyebrow.light::before { background: #8fb6ef; }
  .lede { font-size: clamp(17px, 1.35vw, 19.5px); color: var(--ink-3); line-height: 1.6; }

  /* ---------- mockup notice ---------- */
  .mock-bar { background: var(--ink); color: #b9c4d4; font-size: 11.5px; letter-spacing: .02em; text-align: center; padding: 7px 16px; font-family: var(--mono); }
  .mock-bar b { color: #fff; } .mock-bar .hl { color: #7fb0ff; }

  /* ---------- buttons ---------- */
  .btn {
    --r: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; line-height: 1;
    padding: 14px 24px; border-radius: var(--r); cursor: pointer; border: 1.5px solid transparent;
    transition: transform .16s cubic-bezier(.2,.7,.3,1), box-shadow .16s ease, background .16s ease, border-color .16s ease; white-space: nowrap;
  }
  .btn:active { transform: translateY(0); }
  .btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -10px rgba(1,73,173,.7); }
  .btn-primary:hover { background: var(--blue-600); transform: translateY(-1.5px); box-shadow: 0 14px 30px -12px rgba(1,73,173,.75); }
  .btn-white { background: #fff; color: var(--blue); box-shadow: 0 10px 24px -12px rgba(0,0,0,.4); }
  .btn-white:hover { transform: translateY(-1.5px); background: #f1f6fe; }
  .btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-sm); }
  .btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1.5px); }
  .btn-lg { padding: 16px 30px; font-size: 16px; --r: 12px; }
  .btn-block { width: 100%; }
  .textcta {
    display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink-2); cursor: pointer; padding: 6px 2px;
    transition: color .15s ease, gap .15s ease;
  }
  .textcta .ar { color: var(--blue); transition: transform .15s ease; }
  .textcta:hover { color: var(--blue); } .textcta:hover .ar { transform: translateX(3px); }

  /* ---------- nav ---------- */
  .nav { position: sticky; top: 0; z-index: 60; transition: box-shadow .2s ease, background .2s ease; }
  .nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
  .nav-inner { display: flex; align-items: center; gap: 30px; height: 70px; }
  .brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.03em; font-size: 17.5px; color: var(--ink); }
  .brand .mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(150deg, var(--blue-600), var(--blue-700)); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: -0.05em; box-shadow: var(--sh-sm); }
  .nav-links { display: flex; gap: 28px; margin-left: 16px; }
  .nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-3); }
  .nav-links a:hover { color: var(--ink); }
  .nav-spacer { flex: 1; }
  .nav-login { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
  .nav-login:hover { color: var(--blue); }
  @media (max-width: 900px){ .nav-links{ display:none; } }

  /* ---------- hero ---------- */
  .hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
  .hero::before { /* glow */ content:""; position:absolute; top:-280px; right:-180px; width:760px; height:760px; border-radius:50%;
    background: radial-gradient(circle at center, rgba(3,93,221,.16), rgba(3,93,221,0) 62%); pointer-events:none; }
  .hero::after { /* grid */ content:""; position:absolute; inset:0; pointer-events:none; opacity:.6;
    background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 10%, #000, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 80% 10%, #000, transparent 72%); }
  .hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
  .badge { display:inline-flex; align-items:center; gap:8px; font-family:var(--mono); font-size:12px; font-weight:600; color:var(--blue);
    background: var(--blue-tint); border:1px solid #d4e3fa; padding:6px 12px; border-radius:999px; letter-spacing:.02em; }
  .badge .dt { width:6px; height:6px; border-radius:50%; background:var(--emerald); box-shadow:0 0 0 3px rgba(12,154,103,.18); }
  .hero h1 { font-size: clamp(38px, 5.4vw, 67px); font-weight: 900; letter-spacing: -0.035em; margin: 22px 0 22px; }
  .hero h1 .g { background: linear-gradient(100deg, var(--blue), var(--blue-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero .lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 30ch; }
  .hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
  .hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .hero-trust .lab { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-4); }
  .hero-trust .org { font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
  .hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
  @media (max-width: 880px){ .hero-grid{ grid-template-columns: 1fr; } .hero-visual{ order:-1; } }

  /* ---------- product UI mock ---------- */
  .device { position: relative; }
  .device .float { position:absolute; z-index:3; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow: var(--sh-lg); padding:13px 15px; }
  .device .float.tl { top:-22px; left:-26px; }
  .device .float.br { bottom:-24px; right:-18px; }
  .float .fl-k { font-family:var(--mono); font-size:10px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-4); }
  .float .fl-v { font-size:21px; font-weight:900; letter-spacing:-0.03em; margin-top:2px; }
  .float .fl-v small { font-size:12px; font-weight:700; color:var(--emerald); margin-left:5px; }
  .appwin { border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-lg); overflow: hidden; }
  .appbar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom:1px solid var(--line-2); background: #fbfcfe; }
  .appbar i { width: 9px; height: 9px; border-radius: 50%; background: #dde4ee; }
  .appbar i:nth-child(1){ background:#f2b8b8;} .appbar i:nth-child(2){ background:#f4ddb0;} .appbar i:nth-child(3){ background:#bfe3c9;}
  .appbar .url { margin-left: 10px; font-family:var(--mono); font-size: 11px; color: var(--ink-4); background:#fff; border:1px solid var(--line-2); padding:3px 10px; border-radius:6px; }
  .applayout { display: grid; grid-template-columns: 132px 1fr; min-height: 320px; }
  .appside { background: #fafbfe; border-right:1px solid var(--line-2); padding: 14px 10px; display:grid; gap:5px; align-content:start; }
  .nav-item { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; color:var(--ink-3); padding:7px 9px; border-radius:7px; }
  .nav-item .d { width:14px; height:14px; border-radius:4px; background:#e1e8f2; }
  .nav-item.on { background: var(--blue-tint); color: var(--blue); } .nav-item.on .d { background: var(--blue); }
  .appmain { padding: 16px; background:#fff; }
  .app-h { display:flex; justify-content:space-between; align-items:center; margin-bottom:13px; }
  .app-h b { font-size:14px; } .app-h .pill { font-family:var(--mono); font-size:10px; color:var(--ink-4); background:var(--bg-2); padding:4px 9px; border-radius:6px; }
  .deal { border:1px solid var(--line-2); border-radius:11px; padding:12px 13px; margin-bottom:9px; transition: box-shadow .2s; }
  .deal:hover{ box-shadow: var(--sh-md); }
  .deal-top { display:flex; justify-content:space-between; align-items:center; }
  .deal-top b { font-size:13px; } .deal-top .loc { font-size:11px; color:var(--ink-4); font-weight:600; }
  .chip { font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; padding:3px 8px; border-radius:5px; }
  .chip.s { background:var(--emerald-bg); color:var(--emerald); } .chip.m { background:var(--amber-bg); color:var(--amber); }
  .deal-fin { display:flex; gap:18px; margin-top:10px; }
  .deal-fin div { font-size:11px; color:var(--ink-4); font-family:var(--mono); }
  .deal-fin div b { display:block; font-family:"Inter"; font-size:14px; color:var(--ink); font-weight:800; letter-spacing:-0.02em; margin-top:1px; }
  .spark { margin-top:10px; }

  /* ---------- credibility strip ---------- */
  .creds { border-block: 1px solid var(--line); background: var(--bg-2); }
  .creds-inner { display:flex; align-items:center; justify-content:center; gap: clamp(18px,4vw,52px); flex-wrap:wrap; padding: 26px 0; }
  .creds .lab { font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-4); }
  .creds .org { font-size:17px; font-weight:800; color:var(--ink-2); letter-spacing:-0.02em; opacity:.85; }

  /* ---------- stat band ---------- */
  .stats { background: linear-gradient(155deg, var(--blue-900), var(--blue-700) 60%, var(--blue)); color:#fff; position:relative; overflow:hidden; }
  .stats::after { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 85% 0%, rgba(255,255,255,.10), transparent 45%); pointer-events:none; }
  .stats-inner { position:relative; padding: clamp(48px,6vw,76px) 0; }
  .stats-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 1px; }
  .stat { padding: 8px clamp(20px,3vw,44px); position:relative; }
  .stat + .stat::before { content:""; position:absolute; left:0; top:14%; height:72%; width:1px; background:rgba(255,255,255,.14); }
  .stat .num { font-size: clamp(42px, 5.6vw, 72px); font-weight:900; letter-spacing:-0.045em; line-height:1; }
  .stat .num .u { color:#86b3f2; }
  .stat .lbl { margin-top:14px; font-family:var(--mono); font-size:12px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:#9fb6d6; }
  .stats-foot { position:relative; border-top:1px solid rgba(255,255,255,.13); padding:18px 0; font-size:13px; color:#9fb6d6; text-align:center; }
  @media (max-width: 760px){ .stats-grid{ grid-template-columns:1fr; gap:0;} .stat{ padding:22px var(--gutter); border-top:1px solid rgba(255,255,255,.13);} .stat:first-child{border-top:0;} .stat + .stat::before{display:none;} }

  /* ---------- section head ---------- */
  .shead { max-width: 660px; margin-bottom: 50px; }
  .shead.center { margin-inline:auto; text-align:center; } .shead.center .eyebrow{ justify-content:center; }
  .shead p { margin-top: 16px; }

  /* ---------- showcase (editorial split) ---------- */
  .showcase { display:grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px,5vw,72px); align-items:center; }
  .showcase.rev .sc-copy { order:2; }
  .feat { display:grid; gap:18px; margin-top:30px; }
  .feat-row { display:flex; gap:15px; }
  .feat-ic { flex-shrink:0; width:40px; height:40px; border-radius:10px; background:var(--blue-tint); color:var(--blue); display:grid; place-items:center; font-size:18px; box-shadow: inset 0 0 0 1px #d8e6fb; }
  .feat-row b { font-size:15.5px; display:block; } .feat-row span { font-size:14px; color:var(--ink-3); }
  @media (max-width: 880px){ .showcase{ grid-template-columns:1fr;} .showcase.rev .sc-copy{ order:0;} }

  /* ---------- proof ---------- */
  .proof-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
  .pcard { border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow: var(--sh-sm); overflow:hidden; transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s; }
  .pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
  .pcard-head { display:flex; align-items:center; gap:13px; padding:18px 20px 14px; }
  .ava { width:44px; height:44px; border-radius:12px; background: linear-gradient(150deg, var(--blue-600), var(--blue-700)); color:#fff; display:grid; place-items:center; font-size:15px; font-weight:800; letter-spacing:-0.03em; flex-shrink:0; box-shadow: var(--sh-sm); }
  .pcard-head b { font-size:16px; display:block; letter-spacing:-0.02em; } .pcard-head span { font-size:13px; color:var(--ink-3); }
  .pcard-stats { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line-2); }
  .pcell { padding:13px 20px; border-top:1px solid var(--line-2); border-left:1px solid var(--line-2); }
  .pcell:nth-child(-n+2){ border-top:0; } .pcell:nth-child(odd){ border-left:0; }
  .pcell .k { font-family:var(--mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-4); }
  .pcell .v { font-size:19px; font-weight:900; letter-spacing:-0.03em; margin-top:3px; color:var(--blue-700); }
  .pcard-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 20px; background:var(--bg-2); border-top:1px solid var(--line); }
  .pcard-foot .q { font-size:12.5px; color:var(--ink-3); font-style:italic; }
  .tagok { font-family:var(--mono); font-size:10px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--emerald); display:flex; align-items:center; gap:6px; white-space:nowrap; }
  .tagok::before { content:""; width:7px;height:7px;border-radius:50%;background:var(--emerald); box-shadow:0 0 0 3px var(--emerald-bg); }
  @media (max-width: 920px){ .proof-grid{ grid-template-columns:1fr 1fr;} } @media (max-width: 600px){ .proof-grid{ grid-template-columns:1fr;} }

  /* ---------- chart / economics ---------- */
  .chart-wrap { border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow: var(--sh-md); padding: clamp(20px,3vw,34px); }
  .chart-leg { display:flex; gap:22px; margin-bottom:18px; flex-wrap:wrap; }
  .chart-leg span { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--ink-2); }
  .chart-leg .sw { width:14px; height:14px; border-radius:4px; } .chart-leg .sw.bar{ background:var(--blue);} .chart-leg .sw.line{ background:var(--emerald);}
  svg .axis { stroke:var(--line); stroke-width:1; } svg .grid { stroke:var(--line-2); stroke-width:1; }
  svg .alab { font-family:var(--mono); font-size:11px; fill:var(--ink-4); }

  /* ---------- ladder ---------- */
  .ladder { display:grid; grid-template-columns: 1.18fr 1fr 1fr; gap:18px; align-items:stretch; }
  .tier { border:1px solid var(--line); border-radius:18px; padding:28px; background:#fff; box-shadow: var(--sh-sm); position:relative; display:flex; flex-direction:column; }
  .tier.primary { border:1.5px solid var(--blue); box-shadow: 0 24px 56px -28px rgba(1,73,173,.45); }
  .tier.primary::before { content:""; position:absolute; inset:0; border-radius:18px; padding:1.5px; background:linear-gradient(160deg, var(--blue), transparent 60%); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; }
  .tier .tag { position:absolute; top:-12px; left:28px; background:var(--blue); color:#fff; font-family:var(--mono); font-size:10.5px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; padding:5px 11px; border-radius:7px; box-shadow: var(--sh-sm); }
  .tier .nm { font-family:var(--mono); font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); }
  .tier .price { font-size: clamp(28px,3.2vw,40px); font-weight:900; letter-spacing:-0.04em; margin:10px 0 2px; color:var(--blue-700); }
  .tier .price small { font-size:14px; font-weight:700; color:var(--ink-4); letter-spacing:0; }
  .tier .pricenote { font-size:12.5px; color:var(--ink-4); }
  .tier .one { font-size:14.5px; color:var(--ink-2); margin:14px 0 18px; }
  .tier ul { list-style:none; display:grid; gap:11px; margin-top:auto; }
  .tier li { font-size:13.5px; color:var(--ink-2); display:flex; gap:10px; align-items:flex-start; }
  .tier li .ck { color:var(--blue); font-weight:800; }
  @media (max-width: 880px){ .ladder{ grid-template-columns:1fr;} }

  /* ---------- team ---------- */
  .team-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
  .member .ph { aspect-ratio:1; border-radius:14px; background: linear-gradient(155deg,#0a3a7e,var(--blue-900)); color:#cdddf2; display:grid; place-items:center; font-size:24px; font-weight:900; letter-spacing:-0.05em; box-shadow: var(--sh-sm); position:relative; overflow:hidden; }
  .member .ph::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 70% 15%, rgba(3,93,221,.4), transparent 55%); }
  .member b { display:block; font-size:14px; margin-top:12px; letter-spacing:-0.01em; } .member span { font-size:12px; color:var(--ink-3); }
  @media (max-width: 880px){ .team-grid{ grid-template-columns:repeat(3,1fr);} } @media (max-width: 480px){ .team-grid{ grid-template-columns:repeat(2,1fr);} }

  /* ---------- closing ---------- */
  .closing { background: linear-gradient(150deg, var(--blue-900), var(--blue-700)); color:#fff; text-align:center; position:relative; overflow:hidden; }
  .closing::after{ content:""; position:absolute; inset:0; background-image:radial-gradient(circle at 50% -10%, rgba(3,93,221,.5), transparent 55%); pointer-events:none; }
  .closing-inner { position:relative; }
  .closing h2 { color:#fff; font-size: clamp(34px,5vw,58px); max-width:18ch; margin:0 auto 18px; }
  .closing p { color:#aec6e6; max-width:50ch; margin:0 auto 32px; font-size:17px; }
  .closing .actions { display:flex; gap:18px; justify-content:center; align-items:center; flex-wrap:wrap; }
  .closing .actions .textcta { color:#cdddf2; } .closing .actions .textcta .ar{ color:#8fb6ef; } .closing .actions .textcta:hover{ color:#fff; }

  /* ---------- build spec ---------- */
  .specs { background: var(--bg-2); border-top:1px solid var(--line); }
  .spec-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:30px; }
  .spec { background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px; display:flex; align-items:center; gap:20px; box-shadow: var(--sh-sm); }
  .spec .meta b { font-size:14px; display:block; } .spec .meta span { font-size:12.5px; color:var(--ink-3); }
  .spec .meta code { font-family:var(--mono); font-size:11px; color:var(--blue); background:var(--blue-tint); padding:2px 7px; border-radius:5px; }
  @media (max-width: 720px){ .spec-grid{ grid-template-columns:1fr;} .spec{ flex-direction:column; align-items:flex-start;} }

  /* ---------- footer ---------- */
  footer.ft { background: var(--ink); color:#9aa6b8; }
  .ft-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; padding:60px 0 34px; }
  .ft .brand { color:#fff; margin-bottom:14px; } .ft .brand .mark{ box-shadow:none; }
  .ft h5 { color:#fff; font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px; font-weight:600; }
  .ft ul { list-style:none; display:grid; gap:10px; } .ft a { font-size:13.5px; } .ft a:hover { color:#fff; }
  .ft .bnd { font-size:13.5px; max-width:32ch; color:#9aa6b8; }
  .ft-bot { border-top:1px solid rgba(255,255,255,.1); padding:18px 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.5px; }
  @media (max-width: 760px){ .ft-grid{ grid-template-columns:1fr 1fr;} }

  /* ---------- modal ---------- */
  /* overflow-y:auto + flex with `.modal { margin:auto }` = centered when it fits, scrollable when the modal is taller than the viewport (so the submit button is never clipped). */
  .ov { position:fixed; inset:0; background:rgba(6,16,32,.55); backdrop-filter:blur(5px); display:none; z-index:100; padding:20px; overflow-y:auto; }
  .ov.open { display:flex; }
  .modal { background:#fff; border-radius:18px; max-width:470px; width:100%; margin:auto; padding:34px; position:relative; box-shadow:0 50px 100px -40px rgba(0,0,0,.6); }
  .modal h3 { font-size:25px; letter-spacing:-0.03em; } .modal p.sub { font-size:14px; color:var(--ink-3); margin:8px 0 24px; }
  .modal label { font-family:var(--mono); font-size:10.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-3); display:block; margin-bottom:6px; }
  /* Consent row is a normal-case flex line, not a uppercase mono field label. */
  .modal label.consent { display:flex; gap:9px; align-items:flex-start; font-family:inherit; font-size:11.5px; font-weight:400; letter-spacing:0; text-transform:none; line-height:1.45; color:var(--ink-3); margin:4px 0 2px; }
  .modal label.consent span { flex:1; min-width:0; }
  /* The shared `.modal input { width:100% }` rule was blowing the consent checkbox up to full width and eating the row — keep it a native, fixed-size box. */
  .modal label.consent input[type="checkbox"] { width:16px; height:16px; flex:none; padding:0; margin:3px 0 0; }
  .modal .field { margin-bottom:14px; } .modal .two { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .modal input { width:100%; padding:12px 13px; border:1px solid var(--line); border-radius:9px; font-family:inherit; font-size:14px; background:var(--bg-2); }
  .modal input:focus { outline:2px solid var(--blue); border-color:var(--blue); background:#fff; }
  .modal .x { position:absolute; top:18px; right:18px; width:32px; height:32px; border-radius:9px; border:1px solid var(--line); background:#fff; cursor:pointer; font-size:17px; color:var(--ink-3); }
  .modal .route { font-family:var(--mono); font-size:11px; color:var(--ink-4); margin-top:16px; text-align:center; } .modal .route code { color:var(--blue); }
  .modal .ok { text-align:center; padding:8px 0; } .modal .ok .check { width:56px; height:56px; border-radius:50%; background:var(--emerald-bg); color:var(--emerald); display:grid; place-items:center; font-size:27px; margin:0 auto 16px; }

  .reveal { opacity:0; transform:translateY(20px); transition:opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity:1; transform:none; }
  @media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } html{ scroll-behavior:auto; } }

  /* =========================================================
     CINEMATIC (Mercury-style) hero — full-bleed photo, one
     centered headline, one direct action. Overrides the v2 hero.
     ========================================================= */
  .mock-bar { position: fixed; bottom: 16px; left: 16px; z-index: 130; width: auto; padding: 8px 14px;
    border-radius: 999px; background: rgba(14,23,38,.82); backdrop-filter: blur(8px); box-shadow: var(--sh-md);
    font-size: 11px; opacity: .92; }

  .nav { position: fixed; top: 0; left: 0; right: 0; background: transparent; }
  .nav:not(.scrolled) .brand { color: #fff; }
  .nav:not(.scrolled) .brand .mark { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.34); }
  .nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,.84); }
  .nav:not(.scrolled) .nav-links a:hover { color: #fff; }
  .nav:not(.scrolled) .nav-login { color: rgba(255,255,255,.92); }
  .nav:not(.scrolled) .nav-login:hover { color: #fff; }

  .hero-cine { position: relative; min-height: 100svh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; padding: 96px var(--gutter) 0;
    overflow: hidden; isolation: isolate; }
  .hero-cine::before { content: ""; position: absolute; inset: 0; z-index: -2;
    background-image: var(--hero-img); background-size: cover; background-position: 50% 54%;
    transform: scale(1.06); filter: saturate(.74) contrast(.88) brightness(1.07);
    animation: heroDrift 42s ease-in-out infinite alternate; }
  .hero-cine::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(ellipse 84% 62% at 50% 43%, rgba(255,255,255,.42), rgba(255,255,255,0) 70%),
      linear-gradient(180deg, rgba(243,247,253,.34) 0%, rgba(243,247,253,.04) 28%, rgba(8,18,40,.05) 56%, rgba(8,18,40,.46) 100%); }
  @keyframes heroDrift { from { transform: scale(1.06) translate(0,0); } to { transform: scale(1.13) translate(-16px,-10px); } }
  @media (prefers-reduced-motion: reduce){ .hero-cine::before { animation: none; } }

  .hero-cine-inner { position: relative; z-index: 2; max-width: 940px; }
  .hero-cine h1 { font-size: clamp(42px, 6.6vw, 88px); font-weight: 800; letter-spacing: -0.042em;
    line-height: 1.0; color: #0a1730; max-width: 15ch; margin: 0 auto;
    text-shadow: 0 0 2px rgba(255,255,255,.92), 0 1px 8px rgba(255,255,255,.85), 0 2px 26px rgba(255,255,255,.6); }
  .hero-cine .sub { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.5; font-weight: 600; color: #16233c;
    max-width: 54ch; margin: 24px auto 0; text-shadow: 0 0 2px rgba(255,255,255,.96), 0 1px 10px rgba(255,255,255,.92), 0 1px 3px rgba(255,255,255,.85); }
  .hero-cta-bar { margin: 40px auto 0; display: flex; align-items: center; gap: 7px; max-width: 470px;
    background: rgba(255,255,255,.80); border: 1px solid rgba(255,255,255,.88); border-radius: 14px; padding: 7px;
    box-shadow: 0 26px 64px -26px rgba(6,26,60,.55); backdrop-filter: blur(12px); }
  .hero-cta-bar input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 15px;
    font-family: inherit; font-size: 15px; color: var(--ink); }
  .hero-cta-bar input::placeholder { color: var(--ink-4); }
  .hero-cta-bar input:focus { outline: none; }
  .hero-cta-bar .btn { white-space: nowrap; }
  .hero-sub-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 14.5px;
    font-weight: 600; color: #182a49; cursor: pointer; text-shadow: 0 1px 14px rgba(255,255,255,.7); }
  .hero-sub-link .ar { color: var(--blue); transition: transform .15s ease; }
  .hero-sub-link:hover .ar { transform: translateX(3px); }
  .hero-cine-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px var(--gutter);
    text-align: center; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
    color: #d6e0ee; background: linear-gradient(180deg, transparent, rgba(7,15,30,.66)); }
  .hero-cine-strip b { color: #fff; font-weight: 700; }
  .hero-cine-strip { line-height: 1.6; }
  @media (max-width: 600px){ .hero-cta-bar { flex-direction: column; align-items: stretch; } .hero-cta-bar .btn { width: 100%; }
    .hero-cine-strip { font-size: 11px; padding: 13px 16px; } }
  @media (max-width: 560px){
    .nav-inner { gap: 12px; height: 62px; }
    .nav-login { display: none; }
    .brand { font-size: 15px; white-space: nowrap; }
    .brand .mark { width: 28px; height: 28px; font-size: 12px; }
    .nav .btn-primary { padding: 9px 15px; font-size: 13px; }
  }

  /* ---- 06-13 refinements (Brendan feedback) ---- */
  /* nav legibility over the bright photo: subtle top scrim + text glow */
  .nav:not(.scrolled) { background: linear-gradient(180deg, rgba(8,15,30,.46), rgba(8,15,30,0)); }
  .nav:not(.scrolled) .brand, .nav:not(.scrolled) .nav-links a, .nav:not(.scrolled) .nav-login { text-shadow: 0 1px 12px rgba(8,15,30,.6); }
  /* hero sub-link sits in the dark lower zone -> light text */
  .hero-sub-link { color: #e9f0fb; text-shadow: 0 1px 14px rgba(8,15,30,.78); }
  .hero-sub-link .ar { color: #9fc0f5; }
  /* feature markers: mono numerals, not glyph icons */
  .feat-ic { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0; }
  /* real team headshots: standardized grayscale, color on hover */
  .member .ph { background: #0a3a7e; }
  .member .ph::after { content: none; }
  .member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; filter: grayscale(1) contrast(1.04); transition: filter .35s ease; }
  .member:hover .ph img { filter: grayscale(0) contrast(1); }
  /* clickable case-study cards */
  .pcard { cursor: pointer; }
  .pcard .readmore { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
  .pcard .readmore .ar { transition: transform .15s ease; }
  .pcard:hover .readmore .ar { transform: translateX(3px); }

  /* ===== Deal Desk carousel ===== */
  .dd{ display:grid; grid-template-columns:316px 1fr; gap:30px; align-items:start; }
  .dd-rail{ display:grid; gap:10px; align-content:start; }
  .dd-tab{ text-align:left; width:100%; font-family:inherit; background:#fff; border:1px solid var(--line); border-radius:12px; padding:15px 17px; cursor:pointer; box-shadow:var(--sh-sm); transition:border-color .18s, box-shadow .18s; }
  .dd-tab b{ display:block; font-size:15.5px; color:var(--ink); letter-spacing:-0.01em; }
  .dd-tab span{ display:block; font-size:12.5px; color:var(--ink-4); margin-top:3px; line-height:1.45; }
  .dd-tab:hover{ border-color:#cfe0fb; }
  .dd-tab.on{ border-color:var(--blue); box-shadow:0 14px 30px -18px rgba(1,73,173,.45); }
  .dd-tab.on b{ color:var(--blue-700); }
  .dd-screen .appwin{ box-shadow:var(--sh-lg); }
  .dd-panel{ display:none; } .dd-panel.on{ display:block; }
  .dd-panel .appmain{ padding:18px; min-height:296px; }
  .ai-list{ display:grid; gap:7px; margin-top:10px; }
  .ai-list span{ font-size:12.5px; color:var(--ink-3); }
  .ai-list .ok{ color:var(--emerald); } .ai-list .pend{ color:var(--ink-4); }
  .dd-files{ display:grid; gap:7px; }
  .dd-file{ display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid var(--line-2); border-radius:9px; padding:10px 13px; }
  .dd-file .fn{ font-family:var(--mono); font-size:12px; color:var(--ink-2); }
  .dd-prog{ display:flex; gap:5px; margin-top:11px; } .dd-prog i{ flex:1; height:6px; border-radius:4px; background:var(--blue); } .dd-prog i.off{ flex:.6; background:var(--line); }
  @media (max-width:880px){
    .dd{ grid-template-columns:1fr; }
    .dd-screen{ order:-1; }
    /* Screenshots become a native swipeable scroll-snap carousel on mobile.
       Extra selector depth (.dd-screen) outranks the base `.dd .dd-stack` rules below. */
    .dd .dd-screen .dd-stack{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; padding-bottom:4px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
    .dd .dd-screen .dd-stack::-webkit-scrollbar{ display:none; }
    .dd .dd-screen .dd-stack .dd-panel{ grid-area:auto; flex:0 0 86%; min-width:0; visibility:visible; opacity:1; scroll-snap-align:center; }
  }

  /* ===== live logo (light/dark handling) ===== */
  .brand-logo { height: 30px; width: auto; display: block; }
  .nav:not(.scrolled) .brand-logo { filter: brightness(0) invert(1); }
  .nav.scrolled .brand-logo { filter: none; }
  .ft-logo { height: 30px; filter: brightness(0) invert(1); opacity: .95; }
  @media (max-width: 560px){ .brand-logo { height: 26px; } }

  /* ===== video testimonials ===== */
  .vid-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
  .vid-card{ text-align:left; font-family:inherit; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; cursor:pointer; box-shadow:var(--sh-sm); transition:transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s; padding:0; width:100%; display:block; }
  .vid-card:hover{ transform:translateY(-4px); box-shadow:var(--sh-md); }
  .vid-thumb{ display:block; position:relative; aspect-ratio:16/9; background-size:cover; background-position:center; background-color:var(--blue-900); }
  .vid-play{ position:absolute; inset:0; margin:auto; width:58px; height:58px; border-radius:50%; background:rgba(1,73,173,.94); box-shadow:0 10px 26px -8px rgba(0,0,0,.55); }
  .vid-play::after{ content:""; position:absolute; top:50%; left:54%; transform:translate(-50%,-50%); border-style:solid; border-width:10px 0 10px 17px; border-color:transparent transparent transparent #fff; }
  .vid-meta{ display:block; padding:15px 18px; } .vid-meta b{ font-size:15.5px; display:block; letter-spacing:-0.01em; color:var(--ink); } .vid-meta span{ font-size:13px; color:var(--ink-3); }
  .vov{ position:fixed; inset:0; background:rgba(6,16,32,.82); backdrop-filter:blur(5px); display:none; place-items:center; z-index:120; padding:24px; }
  .vov.open{ display:grid; }
  .vbox{ position:relative; width:100%; max-width:900px; }
  .vframe{ position:relative; aspect-ratio:16/9; border-radius:14px; overflow:hidden; box-shadow:0 40px 100px -30px rgba(0,0,0,.7); background:#000; }
  .vframe iframe{ width:100%; height:100%; border:0; }
  .vx{ position:absolute; top:-44px; right:0; width:36px; height:36px; border-radius:9px; border:0; background:rgba(255,255,255,.18); color:#fff; font-size:20px; cursor:pointer; }
  @media (max-width:820px){ .vid-grid{ grid-template-columns:1fr; } }

  /* deal desk panels = real screenshots */
  .dd-panel img{ display:block; width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top center; background:var(--bg-2); }

  /* deal desk: full screenshots, stable frame height (no crop, no jump) */
  .dd .dd-stack{ display:grid; }
  .dd .dd-stack .dd-panel{ grid-area:1 / 1; display:block; visibility:hidden; opacity:0; transition:opacity .35s ease; }
  .dd .dd-stack .dd-panel.on{ visibility:visible; opacity:1; }
  .dd .dd-stack .dd-panel img{ width:100%; height:auto; aspect-ratio:auto; object-fit:fill; display:block; background:var(--bg-2); }

  /* ===== mobile app — iPhone frames ===== */
  .mobile-wrap{ text-align:center; }
  .mobile-copy{ max-width:640px; margin:0 auto 54px; }
  .mobile-copy .eyebrow{ justify-content:center; }
  .phones{ display:flex; justify-content:center; align-items:flex-end; gap:clamp(12px,3vw,40px); }
  .iphone{ position:relative; width:clamp(150px,22vw,248px); aspect-ratio:1170/2532; border-radius:clamp(26px,3.2vw,40px); background:#0b1220; padding:8px; flex-shrink:0; box-shadow:0 40px 72px -30px rgba(6,26,60,.5), 0 0 0 1.5px rgba(255,255,255,.06) inset; }
  .iphone.up{ margin-bottom:clamp(18px,4vw,52px); width:clamp(160px,24vw,268px); }
  .iphone img{ width:100%; height:100%; object-fit:cover; object-position:top; border-radius:clamp(20px,2.6vw,32px); display:block; }
  .iphone-island{ position:absolute; top:13px; left:50%; transform:translateX(-50%); width:30%; height:16px; background:#0b1220; border-radius:11px; z-index:2; }
  @media (max-width:680px){ .iphone{ width:clamp(92px,27vw,140px); } .iphone.up{ width:clamp(100px,29vw,150px); } .iphone-island{ height:12px; } }

/* ACQ-1567 — solid nav for pages WITHOUT a full-bleed photo hero (case studies,
   legal, schedule). The transparent over-photo nav is illegible on white
   backgrounds; these render the scrolled (white-bg / dark-text) look always. */
.nav.solid{ background:rgba(255,255,255,.92); backdrop-filter:saturate(180%) blur(14px); box-shadow:0 1px 0 var(--line); }
.nav.solid .brand{ color:var(--ink); text-shadow:none; }
.nav.solid .brand-logo{ filter:none; }
.nav.solid .nav-links a{ color:var(--ink-3); text-shadow:none; }
.nav.solid .nav-links a:hover{ color:var(--ink); }
.nav.solid .nav-login{ color:var(--ink-2); text-shadow:none; }


/* ACQ-1567 — hero text legibility: a soft radial glow behind the hero text block
   so the sub-line reads over busy photos, while the photo stays clear at the edges. */
.hero-cine-inner::before{ content:""; position:absolute; inset:-34px -70px -12px; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse 80% 66% at 50% 46%, rgba(248,250,253,.64), rgba(248,250,253,0) 72%); }
.hero-cine .sub{ text-shadow:0 0 3px rgba(255,255,255,.98), 0 1px 12px rgba(255,255,255,.95), 0 1px 4px rgba(255,255,255,.9); }

/* ACQ-1567 — mobile nav menu (CSS-only: hidden checkbox + label toggle + :has). */
.nav-toggle{ display:none; }
@media (max-width:900px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid var(--line); border-radius:9px; background:rgba(255,255,255,.92); cursor:pointer; margin-left:8px; flex-shrink:0; }
  .nav-toggle span{ position:relative; display:block; width:18px; height:2px; background:var(--ink); border-radius:2px; }
  .nav-toggle span::before, .nav-toggle span::after{ content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink); border-radius:2px; }
  .nav-toggle span::before{ top:-6px; } .nav-toggle span::after{ top:6px; }
  .nav:not(.scrolled):not(.solid) .nav-toggle{ background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.45); }
  .nav:not(.scrolled):not(.solid) .nav-toggle span, .nav:not(.scrolled):not(.solid) .nav-toggle span::before, .nav:not(.scrolled):not(.solid) .nav-toggle span::after{ background:#fff; }
  .nav-inner:has(.nav-check:checked) .nav-links{ display:flex; flex-direction:column; gap:2px; position:absolute; top:calc(100% + 6px); left:var(--gutter); right:var(--gutter); background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px; box-shadow:var(--sh-lg); z-index:80; }
  .nav-inner:has(.nav-check:checked) .nav-links a{ color:var(--ink-2); text-shadow:none; padding:11px 12px; border-radius:8px; font-size:15px; }
  .nav-inner:has(.nav-check:checked) .nav-links a:hover{ background:var(--bg-2); color:var(--ink); }
}
