/* Apex Dreams — shared design system. Extracted from the original single-page site so every page (home + SEO landing pages) looks and behaves identically without duplicating ~500 lines of CSS per file. */
  :root{
    --ink:#07060b;
    --ink-2:#0d0b16;
    --ink-3:#131022;
    --line: rgba(255,255,255,0.09);
    --violet:#7b2ff7;
    --azure:#3a6df0;
    --ember:#ff5e3a;
    --flare:#ffb020;
    --paper:#f4f2fb;
    --mute: rgba(244,242,251,0.62);
    --mute-2: rgba(244,242,251,0.5);
    --grad-full: linear-gradient(115deg, var(--azure) 0%, var(--violet) 38%, var(--ember) 72%, var(--flare) 100%);
    --grad-warm: linear-gradient(120deg, var(--ember), var(--flare));
    --grad-cool: linear-gradient(120deg, var(--azure), var(--violet));
    --radius: 18px;
    --nav-h: 64px;
    --tab-h: 74px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  /* screen-reader-only: stays in the accessibility tree, removed from visual flow */
  .visually-hidden{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;} }

  body{
    background:var(--ink);
    color:var(--paper);
    font-family:'Manrope', system-ui, sans-serif;
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  ::selection{ background:var(--violet); color:#fff; }

  h1,h2,h3,h4,.disp{
    font-family:'Unbounded', system-ui, sans-serif;
    font-weight:800;
    letter-spacing:-0.01em;
    line-height:1.04;
  }

  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  button{font-family:inherit; cursor:pointer;}

  .wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }
  section{ position:relative; padding:110px 0; }
  @media (max-width:720px){ section{ padding:72px 0; } }

  .eyebrow{
    font-family:'Unbounded', sans-serif;
    font-size:12px;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:var(--mute);
    display:flex; align-items:center; gap:10px;
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:''; width:20px; height:2px; background:var(--grad-warm); display:inline-block; border-radius:2px;
  }

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

  /* ---------- NAV (desktop) ---------- */
  header.topnav{
    position:fixed; top:0; left:0; right:0; z-index:100;
    height:var(--nav-h);
    display:flex; align-items:center;
    backdrop-filter: blur(14px) saturate(140%);
    background:rgba(7,6,11,0.55);
    border-bottom:1px solid var(--line);
    transition:transform .35s ease, background .3s ease;
  }
  header.topnav.hide{ transform:translateY(-100%); }
  .nav-inner{ width:100%; display:flex; align-items:center; justify-content:space-between; }
  .brand{ display:flex; align-items:center; gap:10px; font-family:'Unbounded'; font-weight:800; font-size:16px; letter-spacing:0.01em; }
  .brand .mark{ width:28px; height:28px; }
  .navlinks{ display:flex; gap:30px; font-size:14px; color:var(--mute); }
  .navlinks a{ position:relative; padding:6px 0; transition:color .2s; }
  .navlinks a:hover, .navlinks a:focus-visible{ color:var(--paper); }
  .navlinks a::after{ content:''; position:absolute; left:0; bottom:0; height:2px; width:0; background:var(--grad-warm); transition:width .25s ease; }
  .navlinks a:hover::after{ width:100%; }
  .nav-cta{
    font-size:13px; font-weight:700; font-family:'Unbounded';
    padding:11px 20px; border-radius:100px; background:var(--grad-warm); color:#0a0710;
    letter-spacing:0.01em;
  }
  .nav-cta:hover{ filter:brightness(1.08); }

  @media (max-width:860px){ .navlinks{ display:none; } }

  /* ---------- HERO ---------- */
  .hero{
    min-height:100svh;
    display:flex; flex-direction:column; justify-content:center;
    padding-top: calc(var(--nav-h) + 60px);
    position:relative;
    overflow:hidden;
  }
  .hero-glow{
    position:absolute; inset:-20% -10% auto -10%; height:120%;
    background: radial-gradient(60% 55% at 25% 20%, rgba(123,47,247,0.35), transparent 60%),
                radial-gradient(55% 50% at 80% 15%, rgba(255,94,58,0.28), transparent 60%),
                radial-gradient(45% 45% at 55% 85%, rgba(58,109,240,0.22), transparent 60%);
    filter: blur(10px);
    pointer-events:none;
    animation: driftGlow 22s ease-in-out infinite alternate;
  }
  @keyframes driftGlow{ from{ transform:translateY(0) scale(1);} to{ transform:translateY(2%) scale(1.04);} }

  .hero h1{
    font-size: clamp(42px, 7.4vw, 96px);
    max-width: 14ch;
  }
  .hero .sub{
    margin-top:26px; max-width:52ch; font-size:clamp(16px,2vw,19px); color:var(--mute);
  }
  .hero-actions{ display:flex; gap:16px; margin-top:40px; flex-wrap:wrap; }
  .btn-primary, .btn-ghost{
    font-family:'Unbounded'; font-weight:700; font-size:14px;
    padding:16px 28px; border-radius:100px; display:inline-flex; align-items:center; gap:10px;
    letter-spacing:0.01em;
    transition:transform .2s ease, filter .2s ease;
  }
  .btn-primary{ background:var(--grad-warm); color:#0a0710; }
  .btn-primary:hover{ transform:translateY(-2px); filter:brightness(1.06); }
  .btn-ghost{ border:1px solid var(--line); color:var(--paper); background:rgba(255,255,255,0.02); }
  .btn-ghost:hover{ border-color:rgba(255,255,255,0.3); transform:translateY(-2px); }

  .hero-strip{
    margin-top:74px; padding-top:34px; border-top:1px solid var(--line);
    display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
  }
  .hero-strip .stripe-item{ font-size:13px; color:var(--mute-2); }
  .hero-strip .stripe-item b{ display:block; font-family:'Unbounded'; color:var(--paper); font-size:15px; margin-bottom:4px; font-weight:700;}
  @media (max-width:720px){ .hero-strip{ grid-template-columns:repeat(2,1fr); } }

  /* ---------- FOUR CREATIVES / one brain ---------- */
  .brain-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; margin-top:56px; }
  @media (max-width:900px){ .brain-grid{ grid-template-columns:repeat(2,1fr); } }
  .brain-card{ background:var(--ink-2); padding:34px 26px; min-height:230px; display:flex; flex-direction:column; justify-content:flex-end; position:relative; overflow:hidden; transition:transform .35s ease; }
  .brain-card .num{ position:absolute; top:22px; left:26px; font-family:'Unbounded'; font-size:12px; color:var(--mute-2); letter-spacing:0.1em; }
  .brain-card .glow{ position:absolute; inset:auto -40% -60% auto; width:220px; height:220px; border-radius:50%; filter:blur(50px); opacity:0.35; }
  .brain-card h3{ font-size:21px; margin-bottom:10px; }
  .brain-card p{ font-size:13.5px; color:var(--mute); line-height:1.55; }
  .brain-card:nth-child(1) .glow{ background:var(--violet); }
  .brain-card:nth-child(2) .glow{ background:var(--azure); }
  .brain-card:nth-child(3) .glow{ background:var(--ember); }
  .brain-card:nth-child(4) .glow{ background:var(--flare); }
  .brain-card:hover{ transform:translateY(-4px); }

  /* photo cards: image gets its own fixed-ratio slot, text sits below on solid ground
     — never overlaid on the face, regardless of how long the bio text runs */
  .brain-card.has-photo{ padding:0; display:block; min-height:0; }
  .brain-photo{ position:relative; width:100%; aspect-ratio:4/5; overflow:hidden; background:var(--ink-3); }
  .brain-photo img{ width:100%; height:100%; object-fit:cover; object-position:top center; filter:grayscale(0.15) contrast(1.05); transition:transform .6s ease, filter .5s ease; display:block; }
  .brain-card.has-photo:hover .brain-photo img{ transform:scale(1.06); filter:grayscale(0) contrast(1.1); }
  .brain-text{ padding:22px 24px 28px; position:relative; }
  .brain-text .num{ position:static; display:block; margin-bottom:10px; }
  @media (prefers-reduced-motion: reduce){
    .brain-card, .brain-photo img{ transition:none !important; }
  }

  /* ---------- PILLARS ---------- */
  .pillars{ margin-top:50px; display:flex; flex-direction:column; }
  .pillar-row{
    display:grid; grid-template-columns: 90px 1fr 1.3fr; gap:24px; align-items:center;
    padding:30px 4px; border-top:1px solid var(--line);
  }
  .pillar-row:last-child{ border-bottom:1px solid var(--line); }
  .pillar-row .pid{ font-family:'Unbounded'; font-size:13px; color:var(--mute-2); }
  .pillar-row h3{ font-size: clamp(20px,2.6vw,28px); }
  .pillar-row p{ color:var(--mute); font-size:14.5px; max-width:48ch; }
  @media (max-width:760px){
    .pillar-row{ grid-template-columns:1fr; gap:8px; padding:22px 0; }
    .pillar-row .pid{ order:0; }
  }

  /* ---------- WORK ---------- */
  .work-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:50px; }
  @media (max-width:920px){ .work-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:620px){ .work-grid{ grid-template-columns:1fr; } }
  .work-card{
    border-radius:var(--radius); overflow:hidden; border:1px solid var(--line);
    background:var(--ink-2);
    transition:transform .3s ease, border-color .3s ease;
  }
  .work-card:hover{ transform:translateY(-6px); border-color:rgba(255,255,255,0.22); }
  .work-thumb{ aspect-ratio: 4/5; position:relative; display:flex; align-items:flex-end; padding:18px; overflow:hidden; }
  .work-thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
  .work-thumb::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%); }
  .work-thumb .tag{ position:relative; z-index:1; font-family:'Unbounded'; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; background:rgba(0,0,0,0.4); border:1px solid rgba(255,255,255,0.25); padding:6px 12px; border-radius:100px; }
  .work-thumb .play-ic{ position:absolute; right:14px; bottom:14px; color:rgba(255,255,255,0.85); z-index:1; transition:transform .3s ease; }

  /* inline video cards — real ads people can watch on-site, not just a TikTok link out.
     object-fit:contain (not cover) because source footage is mixed orientation
     (some landscape, some portrait) and cropping a finished ad to fit a fixed
     box would cut real content off it. */
  .work-video-wrap{ position:relative; aspect-ratio:4/5; background:#000; overflow:hidden; }
  .work-video-wrap video{ width:100%; height:100%; object-fit:contain; background:#000; display:block; }
  .work-video-wrap .tag{ position:absolute; top:14px; left:14px; z-index:2; }
  .tag.spec-tag{ background:rgba(255,94,58,0.18); border-color:rgba(255,94,58,0.55); color:#ffcdbf; }
  .spec-note{ font-size:12px; color:var(--mute); font-style:italic; }
  .work-body .tiktok-alt{ color:var(--flare); text-decoration:none; }
  .work-body .tiktok-alt:hover{ text-decoration:underline; }
  .yt-facade{ cursor:pointer; }
  .yt-facade:focus-visible{ outline:2px solid var(--flare, #ffb020); outline-offset:3px; }
  .yt-facade:hover .play-ic{ transform:scale(1.18); }
  .work-card-link{ text-decoration:none; color:inherit; display:block; }
  .work-card-link:hover .play-ic{ transform:scale(1.18); }
  .work-card-link:focus-visible{ outline:2px solid var(--flare, #ffb020); outline-offset:3px; }
  .work-body{ padding:18px 20px 22px; }
  .work-body h3{ font-size:17px; margin-bottom:6px; }
  .work-body p{ font-size:13px; color:var(--mute-2); }
  .work-think{ border-top:1px solid var(--line); padding:0 20px; }
  .work-think summary{ cursor:pointer; list-style:none; padding:14px 0; font-family:'Unbounded'; font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--mute-2); display:flex; align-items:center; gap:8px; }
  .work-think summary::-webkit-details-marker{ display:none; }
  .work-think summary::before{ content:'+'; font-size:15px; color:var(--flare); transition:transform .25s ease; }
  .work-think[open] summary::before{ transform:rotate(45deg); }
  .work-think p{ font-size:13.5px; color:var(--mute); line-height:1.6; padding-bottom:18px; }
  .work-think p.proves{ padding-top:2px; padding-bottom:16px; margin-top:-8px; color:var(--flare); font-size:12.5px; }
  .work-think p.proves strong{ font-family:'Unbounded'; font-weight:700; }
  .work-think summary:focus-visible{ outline:2px solid var(--flare, #ffb020); outline-offset:2px; }
  @media (prefers-reduced-motion: reduce){
    .work-card, .play-ic, .work-think summary::before{ transition:none !important; }
  }
  .filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:34px; }
  .filter-row-sub{ margin-top:14px; padding-top:14px; border-top:1px dashed var(--line); transition:opacity .25s ease, max-height .25s ease; }
  .filter-row-sub.hidden-row{ display:none; }
  .filter-chip{
    font-family:'Unbounded'; font-size:12px; padding:9px 16px; border-radius:100px;
    border:1px solid var(--line); color:var(--mute); background:transparent; transition:all .2s;
  }
  .filter-chip.active, .filter-chip:hover{ color:var(--paper); border-color:rgba(255,255,255,0.3); background:rgba(255,255,255,0.04); }

  /* case study detail (expand) */
  /* case-study modal removed — replaced by inline .work-think details per card */

  /* ---------- PHILOSOPHY ---------- */
  .philosophy{ background:var(--ink-3); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .phil-line{
    font-family:'Unbounded'; font-weight:700; font-size:clamp(26px,4.4vw,50px);
    line-height:1.18; padding:26px 0; border-bottom:1px solid var(--line);
  }
  .phil-line:last-child{ border-bottom:none; }
  .phil-line span{ color:var(--mute-2); }

  /* ---------- SERVICES ---------- */
  .service-list{ margin-top:50px; display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
  @media (max-width:760px){ .service-list{ grid-template-columns:1fr; } }
  .layer-strip{ margin-top:36px; display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
  @media (max-width:760px){ .layer-strip{ grid-template-columns:1fr; } }
  .layer-item{ background:var(--ink-2); padding:26px 22px; }
  .layer-num{ font-family:'Unbounded'; font-size:11px; color:var(--mute-2); letter-spacing:0.1em; }
  .layer-item h3{ font-size:16px; margin:8px 0 8px; }
  .layer-item p{ font-size:13px; color:var(--mute); line-height:1.5; }

  /* distribution / clipping split (amplify section) */
  .distro-split{ margin-top:36px; display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
  @media (max-width:760px){ .distro-split{ grid-template-columns:1fr; } }
  .distro-card{ background:var(--ink-2); padding:28px 26px; }
  .distro-card h3{ font-size:17px; margin-bottom:10px; }
  .distro-card p{ font-size:13.5px; color:var(--mute); line-height:1.6; }
  .distro-note{ margin-top:26px; font-size:13.5px; color:var(--mute); font-style:italic; max-width:60ch; line-height:1.6; }
  .distro-flow{ margin-top:30px; display:flex; flex-wrap:wrap; align-items:center; gap:10px 6px; }
  .distro-flow span[role="listitem"]{ background:var(--ink-2); border:1px solid var(--line); border-radius:100px; padding:8px 14px; font-size:12.5px; font-family:'Unbounded'; color:var(--paper); }
  .distro-arrow{ color:var(--mute-2); font-size:14px; }
  .service-card{ border:1px solid var(--line); border-radius:var(--radius); padding:26px; background:var(--ink-2); }
  .service-card h3{ font-size:18px; margin-bottom:8px; }
  .service-card p{ font-size:13.5px; color:var(--mute); }

  /* ---------- PROCESS ---------- */
  .process-list{ margin-top:50px; display:flex; flex-direction:column; }
  .proc-row{ display:flex; gap:22px; padding:24px 0; border-top:1px solid var(--line); align-items:flex-start; }
  .proc-row:last-child{ border-bottom:1px solid var(--line); }
  .proc-num{ font-family:'Unbounded'; font-size:14px; color:var(--flare); min-width:32px; }
  .proc-row h3{ font-size:16px; margin-bottom:4px; }
  .proc-row p{ font-size:13.5px; color:var(--mute); max-width:52ch; }

  /* ---------- WHO FOR ---------- */
  .chips-cloud{ display:flex; flex-wrap:wrap; gap:12px; margin-top:44px; }
  .cloud-chip{ border:1px solid var(--line); padding:12px 20px; border-radius:100px; font-size:14px; color:var(--mute); background:var(--ink-2); }
  .cloud-chip.highlight{ background:var(--grad-cool); color:#fff; border:none; font-weight:700; }

  /* ---------- FAQ ---------- */
  .faq-item{ border-top:1px solid var(--line); }
  .faq-item:last-child{ border-bottom:1px solid var(--line); }
  .faq-q{ width:100%; background:none; border:none; color:var(--paper); text-align:left; padding:22px 4px; display:flex; justify-content:space-between; align-items:center; font-family:'Unbounded'; font-size:15px; gap:20px; }
  .faq-q .plus{ font-size:20px; color:var(--flare); transition:transform .3s ease; flex-shrink:0; }
  .faq-item.open .plus{ transform:rotate(45deg); }
  .faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
  .faq-a p{ padding:0 4px 22px; font-size:14px; color:var(--mute); max-width:60ch; }

  /* ---------- CTA / START PROJECT ---------- */
  .cta-section{ position:relative; }
  .cta-panel{
    border-radius:28px; padding:60px 40px;
    background:linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)), var(--grad-full);
    position:relative; overflow:hidden;
    display:flex; flex-direction:column; align-items:flex-start;
  }
  .cta-panel h2{ color:#fff; font-size:clamp(30px,5vw,52px); max-width:16ch; }
  .cta-panel p{ color:rgba(255,255,255,0.88); margin-top:16px; max-width:48ch; font-size:16px; font-weight:600; }
  .cta-panel .btn-dark{
    margin-top:32px; background:#0a0710; color:#fff; font-family:'Unbounded'; font-weight:700; font-size:14px;
    padding:16px 30px; border-radius:100px; border:none;
  }
  .cta-panel .btn-dark:hover{ transform:translateY(-2px); }

  /* form (legacy field styles kept for the hidden fallback textarea etc.) */
  .field{ display:flex; flex-direction:column; gap:8px; }
  .field label{ font-size:12.5px; color:var(--mute); font-family:'Unbounded'; }
  .field input, .field select, .field textarea{
    background:var(--ink); border:1px solid var(--line); border-radius:10px; padding:13px 14px; color:var(--paper); font-family:'Manrope'; font-size:14px;
    width:100%;
  }
  .field input:focus, .field select:focus, .field textarea:focus, button:focus-visible, a:focus-visible{
    outline:2px solid var(--flare); outline-offset:2px;
  }
  .field textarea{ resize:vertical; min-height:90px; }
  .form-note{ font-size:12.5px; color:var(--mute-2); }

  /* ---------- BOOKING WIZARD MODAL (SideShift-style step flow, our own colors) ---------- */
  .wizard-overlay{
    display:none; position:fixed; inset:0; z-index:300;
    background:rgba(5,3,10,0.72); backdrop-filter:blur(8px) saturate(140%);
    align-items:center; justify-content:center; padding:24px;
    overflow-y:auto;
  }
  .wizard-overlay.open{ display:flex; }
  @media (max-width:640px){ .wizard-overlay{ padding:0; } }
  .wizard{
    position:relative; width:100%; max-width:580px; max-height:88vh; overflow-y:auto;
    background:var(--ink-2); border:1px solid var(--line); border-radius:var(--radius); overflow-x:hidden;
    animation:wizardIn .3s ease;
  }
  @media (max-width:640px){ .wizard{ max-width:100%; max-height:100vh; height:100%; border-radius:0; border:none; } }
  @keyframes wizardIn{ from{ opacity:0; transform:translateY(16px) scale(0.98); } to{ opacity:1; transform:translateY(0) scale(1); } }
  @media (prefers-reduced-motion: reduce){ .wizard{ animation:none; } }
  .wizard-modal-close{
    position:absolute; top:16px; right:16px; z-index:10; width:36px; height:36px; border-radius:50%;
    background:var(--ink); border:1px solid var(--line); color:var(--paper);
    display:flex; align-items:center; justify-content:center; cursor:pointer;
  }
  .wizard-modal-close:hover{ border-color:rgba(255,255,255,0.3); }
  .wizard-modal-close:focus-visible{ outline:2px solid var(--flare); outline-offset:2px; }
  .wizard-progress-track{ height:5px; background:var(--line); }
  .wizard-progress-bar{ height:100%; background:linear-gradient(90deg,var(--violet),var(--flare)); border-radius:0 4px 4px 0; transition:width .35s ease; width:0%; }
  @media (prefers-reduced-motion: reduce){ .wizard-progress-bar{ transition:none; } }
  .wizard-body{ padding:44px 34px 34px; }
  @media (max-width:640px){ .wizard-body{ padding:34px 20px 26px; } }
  .wizard-step{ display:none; }
  .wizard-step.active{ display:block; animation:wstepIn .35s ease; }
  @keyframes wstepIn{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:translateY(0);} }
  @media (prefers-reduced-motion: reduce){ .wizard-step.active{ animation:none; } }
  .wizard-icon{ width:64px; height:64px; margin:0 auto 22px; border-radius:20px; display:flex; align-items:center; justify-content:center; background:var(--grad-full); }
  .wizard-icon svg{ width:30px; height:30px; stroke:#0a0710; fill:none; stroke-width:1.7; }
  .wizard-step h3{ text-align:center; font-size:clamp(20px,3vw,26px); max-width:26ch; margin:0 auto; }
  .wizard-step .wizard-sub{ text-align:center; color:var(--mute); font-size:14px; margin-top:10px; max-width:38ch; margin-left:auto; margin-right:auto; }
  /* <fieldset> ships with a default browser border/padding/min-width that
     was never reset — that's the stray white frame around each question's
     options. Resetting it here so the fieldset is purely structural/
     semantic (for screen readers) with zero visual footprint of its own. */
  fieldset{ border:none; padding:0; margin:0; min-width:0; }
  .wizard-options{ margin-top:30px; display:flex; flex-direction:column; gap:12px; max-width:440px; margin-left:auto; margin-right:auto; }
  .wizard-option{ position:relative; }
  .wizard-option input{ position:absolute; opacity:0; width:1px; height:1px; }
  .wizard-option label{
    display:flex; align-items:center; gap:14px; padding:16px 18px; background:var(--ink); border:1.5px solid var(--line);
    border-radius:14px; cursor:pointer; transition:border-color .2s, background .2s;
  }
  .wizard-option label .opt-title{ font-weight:700; font-size:14.5px; }
  .wizard-option label .opt-sub{ font-size:12.5px; color:var(--mute-2); margin-top:2px; }
  .wizard-option input:checked + label{ border-color:var(--flare); background:rgba(255,176,32,0.08); }
  .wizard-option input:focus-visible + label{ outline:2px solid var(--flare); outline-offset:2px; }
  .wizard-option .opt-check{ width:20px; height:20px; border-radius:6px; border:1.5px solid var(--line); flex-shrink:0; display:flex; align-items:center; justify-content:center; }
  .wizard-option input:checked + label .opt-check{ background:var(--flare); border-color:var(--flare); }
  .wizard-option input[type="radio"] + label .opt-check{ border-radius:50%; }
  .wizard-option .opt-check svg{ width:12px; height:12px; stroke:#0a0710; stroke-width:3; fill:none; opacity:0; }
  .wizard-option input:checked + label .opt-check svg{ opacity:1; }

  .wizard-chips{ margin-top:30px; display:flex; flex-wrap:wrap; gap:10px; justify-content:center; max-width:520px; margin-left:auto; margin-right:auto; }
  .wizard-chip{ position:relative; }
  .wizard-chip input{ position:absolute; opacity:0; width:1px; height:1px; }
  .wizard-chip label{
    display:inline-flex; padding:11px 18px; border-radius:100px; border:1.5px solid var(--line); background:var(--ink);
    font-size:13.5px; font-family:'Unbounded'; cursor:pointer; transition:border-color .2s, background .2s, color .2s;
  }
  .wizard-chip input:checked + label{ border-color:transparent; background:linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)), var(--grad-full); color:#fff; }
  .wizard-chip input:focus-visible + label{ outline:2px solid var(--flare); outline-offset:2px; }

  .wizard-slider-wrap{ margin-top:40px; text-align:center; }
  .wizard-slider-value{ font-family:'Unbounded'; font-weight:800; font-size:56px; line-height:1; }
  .wizard-slider-unit{ font-family:'Unbounded'; font-size:18px; color:var(--mute); display:block; margin-top:4px; }
  .wizard-slider{ width:100%; max-width:440px; margin:34px auto 0; display:block; accent-color:var(--flare); height:6px; }
  .wizard-slider-ticks{ max-width:440px; margin:8px auto 0; display:flex; justify-content:space-between; font-size:11px; color:var(--mute-2); font-family:'Unbounded'; }

  .wizard-input-wrap{ margin-top:34px; max-width:440px; margin-left:auto; margin-right:auto; }
  .wizard-input-wrap input, .wizard-input-wrap textarea{
    width:100%; background:var(--ink); border:1.5px solid var(--line); border-radius:12px; padding:15px 16px;
    color:var(--paper); font-family:'Manrope'; font-size:15px; text-align:center;
  }
  .wizard-input-wrap input:focus, .wizard-input-wrap textarea:focus{ outline:2px solid var(--flare); outline-offset:2px; border-color:var(--flare); }
  .wizard-input-wrap.stacked{ text-align:left; }
  .wizard-input-wrap.stacked .field{ margin-bottom:16px; }
  .wizard-input-wrap.stacked .field label{ text-align:left; }
  .wizard-input-wrap.stacked input, .wizard-input-wrap.stacked textarea{ text-align:left; }

  .wizard-skip{ display:block; text-align:center; margin-top:18px; color:var(--mute-2); font-size:13px; background:none; border:none; cursor:pointer; font-family:'Manrope'; }
  .wizard-skip:hover{ color:var(--paper); }

  .wizard-nav{ display:flex; gap:14px; margin-top:38px; max-width:440px; margin-left:auto; margin-right:auto; }
  .wizard-nav button{ flex:1; padding:15px 20px; border-radius:100px; font-family:'Unbounded'; font-weight:700; font-size:14px; cursor:pointer; border:none; }
  .wizard-back{ background:transparent; border:1.5px solid var(--line) !important; color:var(--paper); }
  .wizard-back:hover{ border-color:rgba(255,255,255,0.3) !important; }
  .wizard-continue{ background:linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)), var(--grad-full); color:#fff; }
  .wizard-continue:hover{ transform:translateY(-1px); }
  .wizard-continue:disabled{ opacity:0.45; cursor:not-allowed; transform:none; }
  .wizard-back:disabled{ visibility:hidden; }

  .wizard-done{ text-align:center; padding:20px 0; }
  .wizard-done .big-check{ width:64px; height:64px; margin:0 auto 20px; border-radius:50%; background:var(--grad-full); display:flex; align-items:center; justify-content:center; }
  .wizard-done .big-check svg{ width:30px; height:30px; stroke:#0a0710; stroke-width:2.5; fill:none; }

  /* ---------- FOOTER ---------- */
  footer{ border-top:1px solid var(--line); padding:50px 0 calc(50px + env(safe-area-inset-bottom)); }
  .foot-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:30px; }
  .foot-brand{ font-family:'Unbounded'; font-weight:800; font-size:18px; }
  .foot-brand-row{ display:flex; align-items:center; gap:10px; }
  .foot-links{ display:flex; gap:26px; flex-wrap:wrap; font-size:13.5px; color:var(--mute); }
  .foot-bottom{ margin-top:40px; font-size:12px; color:var(--mute-2); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

  @media (max-width:900px){ footer{ padding-bottom: calc(var(--tab-h) + var(--netlify-badge-gutter, 0px) + 30px + env(safe-area-inset-bottom)); } }

  /* ---------- MOBILE APP SHELL ---------- */
  .app-topbar{ display:none; }
  @media (max-width:900px){
    body{ padding-bottom:0; }
    header.topnav{ height:56px; }
    .brand span.txt{ font-size:14px; }
    .nav-cta{ display:none; }

    .app-topbar{
      display:flex; position:fixed; top:0; left:0; right:0; z-index:99;
      height: calc(56px + env(safe-area-inset-top));
      padding-top:env(safe-area-inset-top);
      align-items:center; justify-content:space-between;
      background:rgba(7,6,11,0.72); backdrop-filter:blur(16px) saturate(150%);
      border-bottom:1px solid var(--line);
    }
    header.topnav{ display:none; }
    .app-topbar .wrap{ display:flex; align-items:center; justify-content:space-between; width:100%; }

    .hero{ padding-top: calc(56px + env(safe-area-inset-top) + 40px); }

    /* bottom tab bar
       — reserved gutter above the very bottom edge: Netlify's free-tier
         "Powered by Netlify" badge is injected client-side, outside this
         page's DOM, so it can't be targeted or hidden with CSS/JS here.
         Lifting the bar clear of that zone is the only reliable fix
         short of a custom domain or a paid Netlify plan (either removes
         the badge outright — see --netlify-badge-gutter below).
    */
    :root{ --netlify-badge-gutter: 0px; } /* was 54px to clear the free-tier Netlify badge — set back to 0 */
    .tabbar{
      position:fixed; left:0; right:0; bottom:var(--netlify-badge-gutter); z-index:100;
      height: calc(var(--tab-h) + env(safe-area-inset-bottom));
      padding-bottom:env(safe-area-inset-bottom);
      background:rgba(11,9,18,0.86); backdrop-filter:blur(20px) saturate(160%);
      border-top:1px solid var(--line);
      display:flex; align-items:stretch;
    }
    .tab-item{
      flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
      color:var(--mute-2); font-size:10.5px; font-family:'Unbounded'; letter-spacing:0.02em;
      transition:color .2s;
    }
    .tab-item svg{ width:21px; height:21px; stroke:currentColor; fill:none; stroke-width:1.8; }
    .tab-item.active{ color:var(--flare); }
    .tab-item .dot{ width:4px; height:4px; border-radius:50%; background:var(--flare); opacity:0; transition:opacity .2s; }
    .tab-item.active .dot{ opacity:1; }

    section{ scroll-margin-top:70px; }
    .hero-strip{ margin-top:50px; }
  }

  @media (min-width:901px){ .tabbar{ display:none; } }

  .reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
  .reveal.in{ opacity:1; transform:translateY(0); }

  .skip-link{ position:absolute; left:-999px; top:0; background:var(--flare); color:#0a0710; padding:10px 16px; z-index:1000; font-weight:700; }
  .skip-link:focus{ left:16px; top:16px; }
