:root{
  --bg:#100F14; --panel:#191722; --hairline:#2A2736;
  --ink:#F2EFE6; --muted:#A29B8C; --gold:#F3C763; --amber:#D98A45;
  --on-gold:#100F14;
}
*{box-sizing:border-box}
html{scroll-behavior:auto}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:16px; line-height:1.65; letter-spacing:-.05px;
}
::selection{background:rgba(243,199,99,.28); color:var(--ink)}
a{color:inherit}
.wrap{max-width:1040px; margin:0 auto; padding:0 24px; position:relative; z-index:2}
h1,h2,h3{font-family:"Space Grotesk",Arial,sans-serif; font-weight:600; letter-spacing:-.4px; margin:0}
.mono{font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace}
.eyebrow{
  font-family:"IBM Plex Mono",ui-monospace,monospace; font-size:11.5px; letter-spacing:2.6px;
  text-transform:uppercase; color:var(--amber); margin:0 0 16px; font-weight:500;
}
.eyebrow.center{text-align:center}
.muted{color:var(--muted)}

/* fixed 3D canvas */
#scene{
  position:fixed; inset:0; width:100vw; height:100vh; z-index:0; display:block;
  background:var(--bg);
}

/* header */
.topbar{
  position:fixed; top:0; left:0; right:0; z-index:20; backdrop-filter:blur(10px);
  background:rgba(16,15,20,.72); border-bottom:1px solid var(--hairline);
}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; padding:16px 24px; max-width:1040px; margin:0 auto}
.wordmark{display:flex; align-items:center; gap:10px; font-family:"Space Grotesk"; font-weight:600; letter-spacing:.02em; font-size:15px}
.wordmark .dot{width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 10px rgba(243,199,99,.7)}
.status-pill{
  font-family:"IBM Plex Mono"; font-size:11px; color:var(--muted); border:1px solid var(--hairline);
  border-radius:999px; padding:5px 12px; letter-spacing:.02em; display:none;
}
@media(min-width:640px){.status-pill{display:inline-block}}

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--gold); color:var(--on-gold); text-decoration:none; font-weight:600;
  font-family:"Space Grotesk"; font-size:15px; padding:14px 26px; border-radius:8px;
  border:1px solid var(--gold); cursor:pointer; transition:transform .12s ease, box-shadow .12s ease;
  box-shadow:0 0 0 rgba(243,199,99,0);
}
.btn:hover{box-shadow:0 0 24px rgba(243,199,99,.28); transform:translateY(-1px)}
.btn-ghost{
  display:inline-flex; align-items:center; gap:8px; background:transparent; color:var(--gold);
  border:1px solid rgba(243,199,99,.45); text-decoration:none; font-family:"Space Grotesk";
  font-weight:600; font-size:14px; padding:10px 18px; border-radius:8px;
}

/* scroll structure: main sits above canvas, each beat is a tall scroll unit
   holding a pinned, centered content block so the camera has room to travel */
main#scroller{position:relative; z-index:2}
.beat{
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  padding:80px 0; position:relative;
}
.beat .wrap{width:100%}
.center-col{display:flex; flex-direction:column; align-items:center; text-align:center}

/* intro */
.headline{font-size:clamp(30px,5.4vw,54px); line-height:1.1; letter-spacing:-1.1px; max-width:820px; text-shadow:0 2px 24px rgba(16,15,20,.9), 0 0 2px rgba(16,15,20,.9)}
.headline .accent{color:var(--gold)}
.mission-line{
  font-family:"Inter",-apple-system,sans-serif; font-size:19px; line-height:1.7; font-weight:400;
  color:var(--ink); max-width:620px; margin:26px auto 0;
  text-shadow:0 2px 20px rgba(16,15,20,.85);
}
.slogan{font-size:13.5px; color:var(--muted); letter-spacing:.03em; margin:22px 0 0}
.name-descriptor{font-family:"Inter",-apple-system,sans-serif; font-size:14px; color:var(--muted); margin-top:6px; font-weight:400}
.status-line{font-size:12.5px; color:var(--muted); margin-top:20px; letter-spacing:.02em}
.status-line .ok{color:var(--gold)}
.scroll-hint{font-size:11.5px; color:var(--muted); opacity:.6; margin-top:56px; animation:bob 2.4s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}

/* five lights beats */
.light-beat .wrap{text-align:center; display:flex; flex-direction:column; align-items:center}
.light-mark{width:22px; height:22px; border-radius:50%; background:var(--lc,var(--gold)); box-shadow:0 0 40px 6px var(--lc,var(--gold)); margin:0 auto 22px}
.light-beat h2{font-size:clamp(34px,6vw,64px); margin-bottom:16px}
.light-copy{font-size:18px; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.7}

/* panels (frosted, sit above canvas for readability) */
.panel-beat .wrap{
  background:rgba(25,23,34,.82); backdrop-filter:blur(6px);
  border:1px solid var(--hairline); border-radius:20px; padding:56px 48px; max-width:920px;
}
.beat-title{font-size:clamp(24px,3.4vw,32px); max-width:680px}
.lede{max-width:640px; font-size:17px; color:var(--muted); line-height:1.7; margin-top:14px}

/* typer */
.typer-grid{display:grid; grid-template-columns:1fr; gap:28px; margin-top:32px}
@media(min-width:820px){.typer-grid{grid-template-columns:1fr 1fr}}
.typer-form{display:flex; flex-direction:column; gap:8px}
.typer-label{font-size:11px; letter-spacing:1.6px; text-transform:uppercase; color:var(--amber); margin-top:14px}
.typer-form input[type=date],
.typer-form input[type=time],
.typer-form input[type=text]{
  background:var(--bg); border:1px solid var(--hairline); border-radius:8px; padding:12px 14px;
  color:var(--ink); font-family:"Inter"; font-size:15px; outline:none;
}
.typer-form input:focus{border-color:var(--gold)}
.typer-form input:disabled{opacity:.4}
.typer-check{display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); margin-top:8px}
.typer-check input{accent-color:var(--gold)}
.typer-consent{align-items:flex-start; line-height:1.5}
.typer-consent input{margin-top:3px; flex-shrink:0}
.typer-consent a,
.typer-privacy a{color:var(--gold); text-decoration:underline}
.typer-form .btn:disabled{opacity:.4; cursor:not-allowed; box-shadow:none}
.typer-candidates{display:flex; flex-direction:column; gap:6px; margin-top:4px}
.typer-candidates-label{font-size:11px; color:var(--muted); margin:4px 0 2px}
.typer-candidate-btn{
  text-align:left; background:rgba(243,199,99,.08); border:1px solid var(--hairline); border-radius:6px;
  padding:8px 10px; color:var(--ink); font-size:12.5px; cursor:pointer;
}
.typer-candidate-btn:hover{border-color:var(--gold)}
.typer-form .btn{margin-top:18px}
.typer-privacy{font-size:11px; color:var(--muted); margin-top:12px; line-height:1.6}

.typer-result{display:flex; flex-direction:column; justify-content:center; min-height:220px}
.typer-placeholder{font-size:14px; text-align:center}
.typer-loading{font-size:13px; color:var(--muted); text-align:center}
.typer-error{font-size:13px; color:var(--amber); text-align:center}

.typer-card{
  border:1px solid var(--hairline); border-radius:14px; padding:26px;
  background:linear-gradient(160deg, rgba(243,199,99,.06), rgba(16,15,20,.5));
  position:relative;
}
.typer-card-mark{width:20px; height:20px; border-radius:50%; background:var(--lc,var(--gold)); box-shadow:0 0 30px 6px var(--lc,var(--gold)); margin-bottom:16px}
.typer-card-eyebrow{font-size:11px; letter-spacing:1.8px; color:var(--amber); margin-bottom:8px}
.typer-card-title{font-size:26px; margin-bottom:10px}
.typer-card-blurb{font-size:15.5px; color:var(--ink); line-height:1.6; margin:0 0 14px}
.typer-caveat{font-size:12.5px; color:var(--muted); line-height:1.6; border-top:1px solid var(--hairline); padding-top:12px; margin:0 0 14px}
.typer-card-fine{font-size:11px; color:var(--muted); line-height:1.6; margin:0}
.typer-share-card-link{display:block; margin-top:18px; border-radius:12px; overflow:hidden; border:1px solid var(--hairline); line-height:0}
.typer-share-card-img{width:100%; height:auto; display:block; transition:opacity .12s ease}
.typer-share-card-link:hover .typer-share-card-img{opacity:.88}
.typer-result-actions{display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; align-items:center}

.get-grid{display:grid; grid-template-columns:1fr; gap:16px; margin-top:36px}
@media(min-width:760px){.get-grid{grid-template-columns:1fr 1fr}}
.get-item{border:1px solid var(--hairline); background:rgba(16,15,20,.4); border-radius:12px; padding:22px}
.get-item .idx{color:var(--amber); font-size:12px; letter-spacing:.1em}
.get-item h3{font-size:17px; margin:10px 0 8px}
.get-item p{color:var(--muted); font-size:14.5px; line-height:1.65; margin:0}
.get-footer{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px;
  margin-top:32px; padding-top:28px; border-top:1px solid var(--hairline);
}
.price-tag{font-size:15px; color:var(--gold)}

/* how it works */
.steps{display:grid; grid-template-columns:1fr; gap:18px; margin-top:36px}
@media(min-width:800px){.steps{grid-template-columns:repeat(3,1fr)}}
.step{border:1px solid var(--hairline); border-radius:12px; padding:24px; background:rgba(16,15,20,.4)}
.step .num{font-size:26px; color:var(--gold); margin-bottom:14px}
.step .tag{font-family:"IBM Plex Mono"; font-size:10.5px; letter-spacing:2px; text-transform:uppercase; color:var(--amber); margin-bottom:10px}
.step h3{font-size:17px; margin-bottom:8px}
.step p{color:var(--muted); font-size:14.5px; line-height:1.6; margin:0}

/* subscription */
.sub-card{display:grid; grid-template-columns:1fr; gap:24px}
@media(min-width:820px){.sub-card{grid-template-columns:1.3fr .7fr; align-items:center}}
.sub-price{font-size:34px; color:var(--gold)}
.sub-price .per{font-size:15px; color:var(--muted); font-family:"Inter"}
.sub-fine{font-size:12px; color:var(--muted); margin-top:14px; line-height:1.7; font-family:"IBM Plex Mono"}
.sub-side{display:flex; flex-direction:column; gap:14px; align-items:flex-start}
@media(min-width:820px){.sub-side{align-items:flex-end; text-align:right}}

/* faq */
.faq{margin-top:32px; display:flex; flex-direction:column; gap:1px; border-top:1px solid var(--hairline)}
.faq-item{border-bottom:1px solid var(--hairline); padding:24px 0}
.faq-item h3{font-size:17px; margin-bottom:10px; display:flex; gap:10px; align-items:baseline}
.faq-item h3 .q{color:var(--amber); font-size:13px}
.faq-item p{color:var(--muted); font-size:15px; line-height:1.72; margin:0}

/* final cta */
.cta-title{font-size:clamp(26px,4vw,38px); max-width:640px; margin:0 auto 14px}
.signature{color:var(--gold); font-size:14px; margin:18px 0 34px; letter-spacing:.02em}

.capture-card{
  background:rgba(25,23,34,.9); backdrop-filter:blur(6px); border:1px solid var(--hairline); border-radius:16px; padding:28px;
  max-width:420px; width:100%; text-align:left;
}
.capture-label{font-size:11px; letter-spacing:1.8px; text-transform:uppercase; color:var(--amber); margin-bottom:10px}
.capture-price{font-size:15px; color:var(--gold); margin-bottom:18px}
.capture-form{display:flex; flex-direction:column; gap:10px}
.capture-form input[type=email]{
  background:var(--bg); border:1px solid var(--hairline); border-radius:8px; padding:13px 14px;
  color:var(--ink); font-family:"Inter"; font-size:15px; outline:none;
}
.capture-form input[type=email]:focus{border-color:var(--gold)}
.capture-form .btn{width:100%}
.capture-fine{font-family:"IBM Plex Mono"; font-size:11.5px; color:var(--muted); line-height:1.6; margin-top:14px}
.capture-confirm{display:none; font-family:"IBM Plex Mono"; font-size:13px; color:var(--gold); padding:12px 0 0}
.capture-error{display:none; font-family:"IBM Plex Mono"; font-size:13px; color:var(--amber); padding:12px 0 0}

/* footer */
footer{position:relative; z-index:2; border-top:1px solid var(--hairline); padding:32px 0; text-align:center; background:var(--bg)}
.foot-fine{font-family:"IBM Plex Mono"; font-size:11.5px; color:var(--muted); line-height:1.8; max-width:560px; margin:0 auto}
.foot-links{margin-top:14px; display:flex; gap:18px; justify-content:center; font-size:12.5px; color:var(--muted)}
.foot-links a{text-decoration:none; color:var(--muted)}
.foot-links a:hover{color:var(--gold)}

.center{text-align:center}

/* reduced motion: static flat fallback, canvas hidden, no scroll-camera */
.reduced-fallback{display:none}
@media (prefers-reduced-motion: reduce){
  #scene{display:none}
  main#scroller{padding-top:0}
  .beat{min-height:auto; padding:64px 0}
  .scroll-hint{display:none}
  body{
    background-image:
      radial-gradient(1px 1px at 12% 18%, rgba(242,239,230,.4), transparent),
      radial-gradient(1px 1px at 84% 12%, rgba(242,239,230,.32), transparent),
      radial-gradient(1px 1px at 38% 58%, rgba(242,239,230,.26), transparent),
      radial-gradient(1px 1px at 64% 36%, rgba(242,239,230,.3), transparent),
      radial-gradient(1px 1px at 92% 68%, rgba(242,239,230,.24), transparent);
    background-attachment:fixed;
  }
  .light-mark{box-shadow:none; border:1px solid var(--lc,var(--gold))}
}
