:root{
    --bg:#0A0A0A;
    --surface:#141414;
    --surface-2:#1B1B1B;
    --text:#F2F1ED;
    --text-dim:#9C9C9C;
    --text-dim-2:#707070;
    --red:#E9382B;
    --red-deep:#B3241D;
    --chip-bg:#3D0B0C;
    --chip-text:#F1B4AE;
    --line: rgba(255,255,255,0.10);
    --line-soft: rgba(255,255,255,0.06);
    --max:1180px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:'Inter', sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  img{ max-width:100%; display:block; }
  ::selection{ background: var(--red); color:#fff; }
  a{ color:inherit; }
  h1,h2,h3{
    font-family:'Space Grotesk', sans-serif;
    font-weight:600;
    letter-spacing:-0.01em;
    margin:0;
    color:var(--text);
  }
  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
  }
  :focus-visible{ outline:2px solid var(--red); outline-offset:3px; }

  .wrap{ max-width:var(--max); margin:0 auto; padding:0 20px; }
  @media (min-width:640px){ .wrap{ padding:0 32px; } }

  /* ---------- Nav ---------- */
  header.site{
    position:sticky; top:0; z-index:40;
    background:rgba(10,10,10,0.86);
    backdrop-filter: blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    max-width:var(--max); margin:0 auto; padding:14px 20px;
    display:flex; align-items:center; justify-content:space-between; gap:12px;
  }
  @media (min-width:640px){ .nav{ padding:16px 32px; } }
  .brand{
    display:flex; align-items:center; gap:9px;
    font-family:'JetBrains Mono', monospace; font-weight:600; font-size:13.5px;
    letter-spacing:0.02em;
    color:var(--text); text-decoration:none; text-transform:uppercase;
  }
  .brand .mark{ width:24px; height:24px; border-radius:6px; flex-shrink:0; }
  nav.links{ display:none; gap:28px; font-family:'Inter',sans-serif; font-size:14.5px; }
  nav.links a{ text-decoration:none; color:var(--text-dim); transition:color .15s ease; }
  nav.links a:hover{ color:var(--text); }
  @media (min-width:900px){ nav.links{ display:flex; } }
  .nav-cta{
    font-size:13.5px; padding:9px 16px; border-radius:6px;
    background:var(--red); color:#fff !important;
    text-decoration:none; font-family:'Inter',sans-serif; font-weight:600;
    white-space:nowrap; flex-shrink:0;
    transition: background .15s ease;
  }
  .nav-cta:hover{ background:var(--red-deep); }

  /* ---------- Timecode section label ---------- */
  .timecode{
    display:flex; align-items:center; gap:14px;
    max-width:var(--max); margin:0 auto; padding:0 20px;
    font-family:'JetBrains Mono', monospace; font-size:12.5px;
    color:var(--text-dim-2); letter-spacing:0.04em; text-transform:uppercase;
  }
  @media (min-width:640px){ .timecode{ padding:0 32px; font-size:13px; } }
  .timecode .tc-num{ color:var(--red); flex-shrink:0; }
  .timecode .tc-line{ flex:1; height:1px; background:var(--line); }
  .timecode .tc-label{ flex-shrink:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

  /* ---------- Hero ---------- */
  .hero{ padding:52px 0 44px; }
  @media (min-width:900px){ .hero{ padding:88px 0 60px; } }
  .hero .wrap{ display:grid; grid-template-columns:1fr; gap:36px; }
  @media (min-width:900px){ .hero .wrap{ grid-template-columns:1.05fr 0.85fr; gap:56px; align-items:center; } }

  .status-line{
    display:flex; align-items:center; gap:9px;
    font-family:'JetBrains Mono', monospace; font-size:12.5px; color:var(--text-dim);
    letter-spacing:0.03em; text-transform:uppercase; margin-bottom:18px;
  }
  .status-line .dot{ width:7px; height:7px; border-radius:50%; background:var(--red); flex-shrink:0; box-shadow:0 0 8px var(--red); }

  .hero h1{
    font-size:clamp(32px, 7vw, 58px);
    line-height:1.08;
  }
  .hero h1 .accent{ color:var(--red); }
  .hero p.lede{
    font-size:clamp(16px, 2vw, 19px); color:var(--text-dim); max-width:46ch; margin-top:18px;
  }

  .hero-detect{
    margin-top:26px; font-family:'JetBrains Mono', monospace; font-size:clamp(14px,2vw,16px);
    color:var(--text-dim); min-height:30px; position:relative;
  }
  .hero-detect .chip{
    display:inline-block; padding:3px 11px; border-radius:20px;
    background: var(--chip-bg); color:var(--chip-text); border:1px solid rgba(241,180,174,0.3);
    font-family:'Inter', sans-serif; font-size:14px; font-weight:600;
    opacity:0; transform: translateY(3px) scale(0.94);
    transition: opacity .5s ease, transform .5s cubic-bezier(.2,.9,.3,1.2);
  }
  .hero-detect .chip.on{ opacity:1; transform:translateY(0) scale(1); }
  .hero-detect .plain{ transition: opacity .35s ease; }
  .hero-detect .plain.gone{ opacity:0; position:absolute; }

  .cta-row{ margin-top:30px; display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
  .btn-primary{
    background:var(--red); color:#fff; text-decoration:none;
    padding:13px 24px; border-radius:7px; font-family:'Inter',sans-serif; font-weight:600; font-size:14.5px;
    display:inline-block; transition: background .15s ease, transform .15s ease;
  }
  .btn-primary:hover{ background:var(--red-deep); transform: translateY(-1px); }
  .btn-ghost{
    color:var(--text); text-decoration:none; font-family:'Inter',sans-serif; font-weight:500; font-size:14.5px;
    border-bottom:1px solid var(--text-dim-2); padding-bottom:2px;
  }
  .btn-ghost:hover{ color:var(--red); border-color:var(--red); }

  .stat-row{
    margin-top:40px; display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
    border-top:1px solid var(--line); padding-top:22px; max-width:480px;
  }
  .stat-row .stat .num{ font-family:'JetBrains Mono',monospace; font-size:clamp(18px,3.5vw,24px); color:var(--text); font-weight:600; }
  .stat-row .stat .lbl{ font-size:11.5px; color:var(--text-dim-2); text-transform:uppercase; letter-spacing:0.03em; margin-top:3px; }

  .hero-shot{ display:flex; justify-content:center; }
  .phone{
    width:min(300px, 78vw);
    border-radius:24px;
    background:var(--surface);
    border:1px solid var(--line);
    padding:9px;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(233,56,43,0.06);
  }
  .phone img{ border-radius:17px; }

  /* ---------- Feature sections ---------- */
  section.feature{ padding:52px 0; }
  @media (min-width:900px){ section.feature{ padding:88px 0; } }
  section.feature .wrap{ display:grid; grid-template-columns:1fr; gap:30px; }
  @media (min-width:900px){ section.feature .wrap{ grid-template-columns:1fr 1fr; gap:60px; align-items:center; } }
  .feature .wrap > .copy{ order:1; }
  .feature .wrap > .media{ order:2; }
  @media (min-width:900px){
    section.feature.reverse .wrap > .copy{ order:2; }
    section.feature.reverse .wrap > .media{ order:1; }
  }
  @media (min-width:900px){ section.feature.solo .wrap{ grid-template-columns:1fr; } }
  section.feature.solo .copy .head{ max-width:640px; }

  .feature .head{ margin-top:16px; }
  .feature h2{ font-size:clamp(24px, 4.4vw, 36px); line-height:1.14; margin-bottom:14px; }
  .feature p{ color:var(--text-dim); font-size:clamp(15px,1.8vw,17px); max-width:48ch; }
  .feature ul{ margin:18px 0 0; padding:0; list-style:none; }
  .feature ul li{
    padding:12px 0 12px 22px; position:relative; color:var(--text-dim); font-size:15.5px;
    border-top:1px solid var(--line-soft);
  }
  .feature ul li:first-child{ border-top:none; padding-top:0; }
  .feature ul li::before{
    content:"→"; position:absolute; left:0; top:12px; color:var(--red); font-family:'JetBrains Mono',monospace; font-size:14px;
  }
  .feature ul li b{ color:var(--text); font-weight:600; }

  .shot-pair{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .shot-card{
    border-radius:12px; overflow:hidden;
    border:1px solid var(--line);
    box-shadow: 0 20px 44px -26px rgba(0,0,0,0.7);
  }
  .shot-single{ display:flex; justify-content:center; }
  .shot-single .shot-card{ max-width:280px; width:100%; }

  /* ---------- Alt surface band ---------- */
  section.band{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

  /* ---------- Themes ---------- */
  section.themes{ padding:52px 0; text-align:center; }
  @media (min-width:900px){ section.themes{ padding:88px 0; } }
  section.themes h2{ font-size:clamp(24px,4.4vw,36px); }
  section.themes p.lede{ color:var(--text-dim); max-width:52ch; margin:14px auto 0; font-size:15.5px; }
  .swatch-grid{ margin-top:38px; display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
  @media (min-width:640px){ .swatch-grid{ grid-template-columns:repeat(4,1fr); gap:18px; } }
  .swatch{
    border-radius:12px; padding:20px 16px 18px; text-align:left;
    border:1px solid rgba(255,255,255,0.08);
  }
  .swatch .name{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px; margin-bottom:5px; }
  .swatch .sample{ font-size:12px; opacity:0.8; line-height:1.4; }
  .swatch .chip-demo{
    display:inline-block; margin-top:12px; font-size:11.5px; padding:3px 9px; border-radius:14px;
    font-family:'Inter',sans-serif; font-weight:600;
  }
  .swatch.light{ background:#F5F5F3; color:#1A1A1A; }
  .swatch.light .chip-demo{ background:#FFE3E0; color:#AE241C; }
  .swatch.black{ background:#0A0A0A; color:#EDEDED; border-color:rgba(255,255,255,0.1); }
  .swatch.black .chip-demo{ background:#3D0B0C; color:#F1B4AE; }
  .swatch.dark{ background:#1E1E20; color:#EDEDED; border-color:rgba(255,255,255,0.1); }
  .swatch.dark .chip-demo{ background:#3D0B0C; color:#F1B4AE; }
  .swatch.navyth{ background:#0B132A; color:#DCE1EF; }
  .swatch.navyth .chip-demo{ background:#3E0D13; color:#F1B4AE; }

  /* ---------- Process ---------- */
  section.process{ padding:52px 0; }
  @media (min-width:900px){ section.process{ padding:88px 0; } }
  .process-grid{
    margin-top:38px; display:grid; grid-template-columns:1fr; gap:0;
    border-top:1px solid var(--line);
  }
  @media (min-width:700px){ .process-grid{ grid-template-columns:repeat(4,1fr); gap:0; } }
  .p-step{
    padding:22px 18px 22px 0; border-bottom:1px solid var(--line);
  }
  @media (min-width:700px){
    .p-step{ border-right:1px solid var(--line); border-bottom:none; padding:24px 20px; }
    .p-step:last-child{ border-right:none; }
  }
  .p-step .idx{ font-family:'JetBrains Mono',monospace; color:var(--red); font-size:13px; }
  .p-step h3{ font-size:17px; margin:10px 0 8px; }
  .p-step p{ color:var(--text-dim); font-size:14.5px; margin:0; }

  /* ---------- Install / GET ---------- */
  section.install{ padding:60px 0; text-align:center; }
  @media (min-width:900px){ section.install{ padding:100px 0; } }
  .install h2{ font-size:clamp(26px,5vw,42px); max-width:20ch; margin:0 auto; }
  .install p{ color:var(--text-dim); max-width:54ch; margin:16px auto 0; font-size:15.5px; }
  .store-row{ margin:36px auto 0; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
  .btn-store{
    display:flex; align-items:center; gap:11px;
    padding:12px 20px; border-radius:9px;
    font-family:'Inter',sans-serif; text-decoration:none;
    background:var(--text); color:var(--bg);
    transition: background .15s ease, transform .15s ease;
  }
  a.btn-store:hover{ background:var(--red); color:#fff; transform: translateY(-1px); }
  .btn-store span{ display:flex; flex-direction:column; line-height:1.25; text-align:left; font-size:15px; font-weight:600; }
  .btn-store small{ font-size:11px; font-weight:400; opacity:0.75; text-transform:none; }
  .btn-store.soon{ background:transparent; color:var(--text-dim); border:1px solid var(--line); cursor:default; }
  .soon-note{ margin-top:22px !important; font-family:'Inter',sans-serif; font-size:13.5px !important; }
  .soon-note a{ color:var(--red); text-decoration:underline; text-underline-offset:3px; }

  /* ---------- Footer ---------- */
  footer{ padding:36px 0 32px; font-family:'Inter',sans-serif; font-size:13.5px; color:var(--text-dim); border-top:1px solid var(--line); }
  footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
  footer .brand{ font-size:13px; }
  footer .foot-links{ display:flex; gap:20px; }
  footer a.link{ color:var(--text-dim); text-decoration:none; }
  footer a.link:hover{ color:var(--red); }

/* ---------- Legal / Privacy Policy page ---------- */
.legal{ padding:44px 0 80px; }
@media (min-width:900px){ .legal{ padding:56px 0 100px; } }
.legal .wrap{ max-width:760px; }
.back-link{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'JetBrains Mono', monospace; font-size:12.5px; color:var(--text-dim);
  text-decoration:none; margin-bottom:28px; letter-spacing:0.02em;
}
.back-link:hover{ color:var(--red); }
.legal h1{ font-size:clamp(28px, 6vw, 44px); line-height:1.1; margin-bottom:18px; }
.legal .meta{
  font-family:'JetBrains Mono', monospace; font-size:12.5px; color:var(--text-dim);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:16px 0; margin-bottom:40px; display:grid; gap:6px;
}
.legal .meta strong{ color:var(--text); font-weight:600; }
.legal section.clause{ margin-top:40px; }
.legal section.clause:first-of-type{ margin-top:0; }
.legal h2{
  font-size:clamp(18px,2.6vw,21px); display:flex; align-items:baseline; gap:10px;
  border-top:1px solid var(--line-soft); padding-top:24px;
}
.legal section.clause:first-of-type h2{ border-top:none; padding-top:0; }
.legal h2 .n{ font-family:'JetBrains Mono', monospace; color:var(--red); font-size:14px; flex-shrink:0; }
.legal p{ color:var(--text-dim); font-size:15.5px; margin-top:12px; line-height:1.7; }
.legal ul{ margin:14px 0 0; padding:0; list-style:none; }
.legal ul li{
  padding:9px 0 9px 20px; position:relative; color:var(--text-dim); font-size:15px;
  border-top:1px solid var(--line-soft);
}
.legal ul li:first-child{ border-top:none; padding-top:0; }
.legal ul li::before{ content:"—"; position:absolute; left:0; color:var(--red); }
.legal ul li b{ color:var(--text); font-weight:600; }
.legal a.inline{ color:var(--red); text-decoration:underline; text-underline-offset:3px; }

/* ---------- Waitlist page ---------- */
.waitlist-hero{ padding:56px 0 40px; text-align:center; }
@media (min-width:900px){ .waitlist-hero{ padding:80px 0 56px; } }
.waitlist-hero .wrap{ max-width:560px; }
.waitlist-hero h1{ font-size:clamp(28px, 6vw, 44px); line-height:1.12; }
.waitlist-hero p.lede{ color:var(--text-dim); font-size:15.5px; margin-top:16px; }

.waitlist-form{
  display:flex; gap:10px; max-width:440px; margin:30px auto 0; flex-wrap:wrap; justify-content:center;
}
.waitlist-form input[type="email"]{
  flex:1 1 230px; padding:13px 16px; border-radius:8px; border:1px solid var(--line);
  background:var(--surface); color:var(--text); font-family:'Inter',sans-serif; font-size:15px;
}
.waitlist-form input[type="email"]::placeholder{ color:var(--text-dim-2); }
.waitlist-form input[type="email"]:focus{ outline:2px solid var(--red); outline-offset:2px; border-color:var(--red); }
.waitlist-form button{
  background:var(--red); color:#fff; border:none; padding:13px 22px; border-radius:8px;
  font-family:'Inter',sans-serif; font-weight:600; font-size:14.5px; cursor:pointer;
  transition: background .15s ease;
}
.waitlist-form button:hover{ background:var(--red-deep); }
.waitlist-form button:disabled{ opacity:0.6; cursor:default; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.waitlist-status{
  margin-top:18px; font-family:'JetBrains Mono', monospace; font-size:13.5px; min-height:18px;
}
.waitlist-status.ok{ color:#8FD99B; }
.waitlist-status.err{ color:#F0958B; }

.waitlist-note{ margin-top:18px; font-size:13px; color:var(--text-dim-2); }
.waitlist-note a{ color:var(--text-dim); text-decoration:underline; text-underline-offset:3px; }

.waitlist-store-note{
  margin-top:48px; padding-top:32px; border-top:1px solid var(--line);
  font-family:'JetBrains Mono', monospace; font-size:12.5px; color:var(--text-dim-2);
}

/* ---------- Inline keyboard-shortcut label ---------- */
code.kbd{
  font-family:'JetBrains Mono', monospace; background:var(--surface-2); border:1px solid var(--line);
  padding:1px 6px; border-radius:4px; font-size:0.86em; color:var(--text);
}

/* ---------- Quick-insert shortcut demo ---------- */
.shortcut-demo{
  margin-top:24px; padding-top:20px; border-top:1px solid var(--line-soft);
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
}
.shortcut-demo .sd-label{
  font-family:'JetBrains Mono', monospace; font-size:11px; text-transform:uppercase;
  letter-spacing:0.05em; color:var(--text-dim-2); flex-shrink:0;
}
.shortcut-demo .sd-line{
  position:relative; min-height:26px; display:inline-flex; align-items:center;
  font-family:'JetBrains Mono', monospace; font-size:14.5px; color:var(--text-dim);
}
.shortcut-demo .sd-chip{
  display:inline-block; padding:3px 11px; border-radius:20px;
  background:var(--chip-bg); color:var(--chip-text); border:1px solid rgba(241,180,174,0.3);
  font-family:'Inter', sans-serif; font-size:13.5px; font-weight:600;
  opacity:0; transform: translateY(3px) scale(0.94);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.9,.3,1.2);
}
.shortcut-demo .sd-chip.on{ opacity:1; transform:translateY(0) scale(1); }
.shortcut-demo .sd-plain{ transition: opacity .3s ease; }
.shortcut-demo .sd-plain.gone{ opacity:0; position:absolute; }
