:root {
    --deep: #0f172a; --deep-2: #1e293b; --mint: #ecfdf5; --paper: #ffffff;
    --green: #10b981; --green-bright: #34d67f;
    --ink: #0f172a; --ink-soft: #64748b; --ink-on-deep: #cbd5e1; --line: #e2e8f0;
    --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --pad: 22px;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--pad); }
  h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.03em; }
  em { font-style: normal; color: var(--green); }

  .note { margin: 0; padding: 12px 20px; background: #fff8e6; border-bottom: 1px solid #e0c470; font-size: 12.5px; color: #4a390a; line-height: 1.5; }

  /* ---------- sticky frosted nav ---------- */
  .nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(15,23,42,.72); backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px var(--pad);
  }
  .nav__inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
  .brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
  .brand img { width: 30px; height: 30px; display: block; }
  .wordmark { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--paper); letter-spacing: -0.03em; white-space: nowrap; }
  .wordmark span { color: var(--green-bright); }
  .nav__link {
    display: none; color: var(--ink-on-deep); text-decoration: none; font-size: 14px; font-weight: 500;
    padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); white-space: nowrap;
  }
  @media (min-width: 700px) { .nav__link { display: inline-block; } }
  .nav__link:hover { border-color: var(--green-bright); color: var(--paper); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
    padding: 12px 22px; border-radius: 999px; font-family: var(--body); font-weight: 600;
    font-size: 15px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  }
  .btn--go { background: var(--green); color: #04231a; }
  .btn--go:hover { background: var(--green-bright); }
  .btn--ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,.28); }
  .nav .btn { min-height: 38px; padding: 8px 16px; font-size: 14px; }
  a:focus-visible, .btn:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; }

  /* ---------- hero: centred, phone bleeds off the bottom ---------- */
  .hero { background: var(--deep); color: var(--ink-on-deep); text-align: center; padding: 58px 0 0; overflow: hidden; position: relative; margin-top: -62px; padding-top: 120px; }
  .hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(currentColor 1px, transparent 1px); background-size: 26px 26px; opacity: .07; }
  .hero > * { position: relative; }
  .hero h1 { font-size: clamp(38px, 7vw, 68px); font-weight: 800; line-height: 1.02; color: var(--paper); }
  .hero .lede { margin: 16px auto 0; max-width: 30ch; font-size: 17px; color: rgba(203,213,225,.82); }
  .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; }
  .fine { margin: 16px 0 0; font-size: 13px; color: rgba(203,213,225,.66); }
  .fine a { color: var(--green-bright); text-decoration: none; border-bottom: 1px solid rgba(52,214,127,.4); }
  .fine--soft { color: var(--ink-soft); font-size: 14px; margin-top: 18px; }
  .fine--soft a { color: #047857; border-bottom-color: rgba(4,120,87,.35); }
  .addr {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
    color: var(--paper); border-radius: 999px; padding: 7px 16px; margin: 0 0 22px;
  }
  .addr b { color: var(--green-bright); font-weight: 400; }
  .addr__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); }
  .hero__stage { margin-top: 42px; height: 460px; overflow: hidden; }
  .hero__stage .phone { margin: 0 auto; }

  .phone { width: 300px; border-radius: 34px; background: #020617; padding: 9px; box-shadow: 0 30px 70px -20px rgba(2,6,23,.55); }
  @media (min-width: 700px) { .phone { width: 340px; } }
  .phone img { display: block; width: 100%; border-radius: 26px; }

  /* ---------- built-for strip ---------- */
  .strip { background: var(--deep); color: rgba(203,213,225,.72); text-align: center; padding: 26px var(--pad) 32px; margin: 0; font-size: 13.5px; }
  .strip b { color: var(--paper); font-weight: 600; }

  /* ---------- alternating feature rows (the CheQ spine) ---------- */
  .row { border-bottom: 1px solid var(--green); background: var(--paper); }
  .row__in {
    max-width: 1080px; margin: 0 auto; padding: 0 var(--pad);
    display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center;
    overflow: hidden;
  }
  .row__text { padding: 54px 0 10px; }
  .row__shot { position: relative; display: flex; justify-content: center; align-self: end; }
  /* leaf-ish motif behind the phone */
  .row__shot::before {
    content: ""; position: absolute; left: 50%; bottom: 0; width: 460px; height: 78%;
    transform: translateX(-50%);
    background-image: radial-gradient(ellipse 4px 9px at center, rgba(16,185,129,.34) 60%, transparent 62%);
    background-size: 36px 48px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 82%);
    mask-image: radial-gradient(ellipse at center, #000 45%, transparent 82%);
  }
  .row__shot .phone { position: relative; margin-bottom: -150px; }
  .tile {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 15px; background: var(--green); margin-bottom: 18px;
  }
  .tile svg { width: 26px; height: 26px; }
  .eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
  .row h2 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; line-height: 1.06; }
  .row .lede { margin: 16px 0 0; max-width: 34ch; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }

  @media (min-width: 860px) {
    .row__in { grid-template-columns: 1fr 1fr; gap: 48px; min-height: 580px; }
    .row__text { padding: 70px 0; }
    .row__shot .phone { width: 310px; }
    .row--flip .row__text { order: 2; }
    .row--flip .row__shot { order: 1; }
  }

  /* ---------- plain bands ---------- */
  .band { padding: 66px 0; text-align: center; }
  .band--mint { background: var(--mint); }
  .band--deep { background: var(--deep); color: var(--ink-on-deep); }
  .band h2 { font-size: clamp(30px, 5.2vw, 50px); font-weight: 800; line-height: 1.05; }
  .band .lede { margin: 16px auto 0; max-width: 32ch; font-size: 17px; color: var(--ink-soft); }
  .band--deep .lede { color: rgba(203,213,225,.82); }

  /* ---------- timeline ---------- */
  .beats { margin: 34px auto 0; max-width: 640px; text-align: left; display: grid; gap: 2px; }
  .beat { display: flex; gap: 18px; align-items: baseline; padding: 18px 20px; background: rgba(255,255,255,.62); border-radius: 12px; }
  .beat time { font-family: var(--mono); font-size: 13px; color: var(--green); flex: none; width: 52px; }
  .beat p { margin: 0; font-size: 16px; line-height: 1.5; }
  .beat b { font-weight: 600; }

  /* ---------- pricing ---------- */
  .price { margin: 34px auto 0; max-width: 380px; background: var(--deep-2); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 30px 26px; }
  .price__fig { font-family: var(--display); font-size: 52px; font-weight: 800; color: var(--paper); line-height: 1; letter-spacing: -0.03em; }
  .price__per { margin: 8px 0 2px; font-size: 14px; color: rgba(203,213,225,.9); }
  .price__yr { margin: 0 0 20px; font-size: 13px; color: rgba(203,213,225,.6); }
  .price ul { margin: 0; padding: 0; list-style: none; text-align: left; display: grid; gap: 10px; }
  .price li { font-size: 14px; color: rgba(203,213,225,.92); padding-left: 24px; position: relative; }
  .price li::before { content: "\2713"; position: absolute; left: 0; color: var(--green-bright); font-weight: 700; }
  .price .btn { margin-top: 24px; width: 100%; }

  /* ---------- FAQ: heading left, accordion right (CheQ) ---------- */
  .faq { background: var(--paper); padding: 76px 0; position: relative; overflow: hidden; }
  .faq::before {
    content: ""; position: absolute; left: -40px; bottom: -30px; width: 420px; height: 300px;
    background-image: radial-gradient(ellipse 4px 9px at center, rgba(16,185,129,.30) 60%, transparent 62%);
    background-size: 36px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 70%, #000 20%, transparent 72%);
    mask-image: radial-gradient(ellipse at 30% 70%, #000 20%, transparent 72%);
  }
  .faq__in { position: relative; display: grid; grid-template-columns: 1fr; gap: 32px; }
  @media (min-width: 900px) { .faq__in { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } }
  .faq h2 { font-size: clamp(30px, 4.8vw, 46px); font-weight: 800; line-height: 1.06; }
  .faq__list { display: grid; gap: 16px; }

  /* outer group card */
  .grp {
    border: 1px solid #e5e7eb; border-radius: 22px; background: var(--paper);
    padding: 13px; box-shadow: 0 10px 30px -22px rgba(2,6,23,.45);
  }
  .grp > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
    padding: 6px 8px 6px 6px;
  }
  .grp > summary::-webkit-details-marker { display: none; }
  .grp > summary:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; border-radius: 16px; }
  .grp__ico {
    flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--mint);
    display: flex; align-items: center; justify-content: center;
  }
  .grp__ico svg { width: 22px; height: 22px; }
  .grp__t { font-family: var(--display); font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; }
  .grp__body { padding: 4px 0 0; display: grid; gap: 10px; }

  /* inner question card */
  .qa { border: 1px solid #e5e7eb; border-radius: 15px; background: var(--paper); }
  .qa[open] { background: #f1f5f9; border-color: transparent; }
  .qa > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
    padding: 17px 20px; font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.4;
  }
  .qa > summary::-webkit-details-marker { display: none; }
  .qa > summary:focus-visible { outline: 3px solid var(--green-bright); outline-offset: -3px; border-radius: 15px; }
  .qa__a {
    margin: 0 20px; padding: 13px 0 17px; border-top: 1px solid #dde3ea;
    font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
  }

  /* shared +/- toggle */
  .qa__sign { margin-left: auto; flex: none; width: 24px; height: 24px; position: relative; }
  .qa__sign::before, .qa__sign::after {
    content: ""; position: absolute; left: 50%; top: 50%; background: var(--green);
    transform: translate(-50%,-50%); border-radius: 2px;
  }
  .qa__sign::before { width: 16px; height: 2.4px; }
  .qa__sign::after  { width: 2.4px; height: 16px; }
  details[open] > summary .qa__sign::after { display: none; }

  /* ---------- footer ---------- */
  .foot { background: var(--deep); color: rgba(203,213,225,.66); padding: 46px var(--pad) 40px; font-size: 13.5px; }
  .foot__in { max-width: 1080px; margin: 0 auto; display: grid; gap: 26px; }
  @media (min-width: 720px) { .foot__in { grid-template-columns: 2fr 1fr 1fr; } }
  .foot a { color: var(--ink-on-deep); text-decoration: none; }
  .foot a:hover { color: var(--green-bright); }
  .foot .brand img { width: 26px; height: 26px; }
  .foot__mark { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--paper); letter-spacing: -0.03em; }
  .foot__mark span { color: var(--green-bright); }
  .foot p { margin: 8px 0 0; }
  .foot h4 { font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--paper); margin: 0 0 8px; }

  /* ================= motion ================= */
  /* One curve for everything, borrowed from CheQ: fast out, long soft settle. */
  :root { --ease: cubic-bezier(.12,.23,.5,1); --ease-over: cubic-bezier(.12,.23,.49,1.2); }

  /* Every hidden state below is gated behind html.js (set by an inline script in
     <head>, so it lands before first paint). Without the gate, a script that never
     runs would leave the whole page stuck at opacity 0. */

  /* ---- hero load sequence ---- */
  .js [data-anim] { opacity: 0; animation: rise .7s var(--ease) var(--d, 0s) forwards; }
  .js [data-anim="down"] { animation-name: drop; }
  .js [data-anim="pop"]  { animation: pop .85s var(--ease-over) var(--d, 0s) forwards; }

  @keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes drop { from { opacity: .001; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  @keyframes pop  { from { opacity: .001; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }

  .js .brand      { --d: .05s; }
  .js .nav__link  { --d: .12s; }
  .js .nav .btn   { --d: .22s; }
  .js .hero .addr { --d: .10s; }
  .js .hero .lede { --d: .55s; }
  .js .hero .cta  { --d: .70s; }
  .js .hero .fine { --d: .85s; }
  .js .hero__stage .phone { --d: .50s; }

  /* headline, word by word — per-word not per-character, so text-wrap:balance and
     screen readers both still work (JS sets aria-label on the h1). */
  .js .hero h1 .w {
    display: inline-block; opacity: 0; filter: blur(5px); transform: translateY(10px);
    animation: word .7s var(--ease) var(--d, 0s) forwards;
  }
  .js .hero h1 em .w { filter: blur(10px); }
  @keyframes word { from { opacity: .001; } to { opacity: 1; filter: blur(0); transform: none; } }

  /* ---- scroll reveal ---- */
  .js [data-reveal] { opacity: 0; transform: translateY(16px); }
  .js [data-reveal="left"]  { transform: translateX(-24px); }
  .js [data-reveal="right"] { transform: translateX(24px); }
  .js [data-reveal].is-in {
    opacity: 1; transform: none;
    transition: opacity .55s var(--ease) var(--d, 0s), transform .55s var(--ease) var(--d, 0s);
  }
  .js .beats .beat:nth-child(2) { --d: .09s; }
  .js .beats .beat:nth-child(3) { --d: .18s; }

  /* tile icon pops as its row arrives */
  .js [data-reveal] .tile { opacity: 0; transform: scale(.8); }
  .js [data-reveal].is-in .tile {
    opacity: 1; transform: none;
    transition: opacity .4s var(--ease) .15s, transform .6s var(--ease-over) .15s;
  }

  /* ---- ambient ---- */
  /* the dot means "live", which is the product name — so it breathes */
  .addr__dot { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse {
    0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(52,214,127,.5); }
    50%      { opacity: .72; box-shadow: 0 0 0 6px rgba(52,214,127,0); }
  }
  /* float is delayed past the entrance so the two transform animations never overlap */
  .js .hero__stage .phone { animation: pop .85s var(--ease-over) var(--d) forwards, float 6s ease-in-out 1.8s infinite; }
  @keyframes float { 0%, 100% { transform: none; } 50% { transform: translateY(-6px); } }

  .btn { transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
  .btn--go:hover { transform: translateY(-1px); }
  .row__shot .phone, .price { transition: transform .3s var(--ease); }

  /* FAQ +/- : was display:none, which cannot transition */
  .qa__sign::after { transition: transform .22s var(--ease), opacity .22s var(--ease); }
  details[open] > summary .qa__sign::after { transform: rotate(90deg); opacity: 0; }

  /* ---- reduced motion ----
     Killing animation alone is NOT enough: an element whose initial state is
     opacity:0 would freeze invisible. Force every animated state back to visible. */
  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    .js [data-anim],
    .js [data-reveal],
    .js [data-reveal] .tile,
    .js .hero h1 .w {
      opacity: 1 !important; transform: none !important; filter: none !important;
    }
    details[open] > summary .qa__sign::after { display: none; }
  }
