/* ============ TOKENS ============ */
:root{
  --bg:            #14171b;
  --surface:       #1b1f24;
  --surface-alt:   #21262c;
  --text:          #f2efe9;
  --text-muted:    #9aa1ab;
  --accent:        #d98f4e;
  --accent-deep:   #b8722f;
  --line:          rgba(242,239,233,0.10);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:var(--font-display);
  margin:0;
  letter-spacing:-0.01em;
}

p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.container--narrow{ max-width:960px; }

.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:14px;
}

.section-title{
  font-size:clamp(28px,4vw,42px);
  font-weight:600;
  margin-bottom:40px;
  max-width:20ch;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}

/* ============ TOPBAR ============ */
.topbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  background:linear-gradient(to bottom, rgba(20,23,27,0.85), rgba(20,23,27,0));
  padding:20px 0;
}
.topbar__inner{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.topbar__mark{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:18px;
  letter-spacing:-0.01em;
}
.topbar__mark-icon{
  width:10px; height:10px;
  background:var(--accent);
  transform:rotate(45deg);
  display:inline-block;
}
.topbar__cta{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  border:1px solid rgba(242,239,233,0.28);
  padding:10px 18px;
  border-radius:100px;
  transition:border-color 0.2s ease, background 0.2s ease;
}
.topbar__cta:hover{
  border-color:var(--accent);
  background:rgba(217,143,78,0.08);
}

/* ============ HERO / SCROLL EXPAND ============ */
.hero__stage{
  position:relative;
  height:280vh; /* scroll distance that drives the expansion */
}
.hero__sticky{
  position:sticky;
  top:0;
  height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(0.55) saturate(1.05);
  transform:scale(1.03);
}
.hero__frame{
  position:relative;
  z-index:2;
  width:320px;
  height:400px;
  max-width:92vw;
  max-height:78vh;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,0.55);
  will-change:width,height;
}
.hero__media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero__media--wide{ opacity:1; }
.hero__media--close{ opacity:0; }

.hero__title{
  position:absolute;
  z-index:3;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  pointer-events:none;
  width:100%;
  padding:0 24px;
}
.hero__title-eyebrow{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:18px;
}
.hero__title h1{
  font-size:clamp(32px,6vw,64px);
  font-weight:700;
  color:var(--text);
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0.35em;
  line-height:1.05;
}
.hero__word{ display:inline-block; will-change:transform; }
.hero__scrollcue{
  margin-top:22px;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--text-muted);
  transition:opacity 0.3s ease;
}

/* ============ SECTIONS (shared) ============ */
.section{
  padding:110px 0;
  position:relative;
  z-index:5;
  background:var(--bg);
}
.section--why{ background:var(--bg); }
.section--form{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section--steps{ background:var(--bg); }

/* ============ WHY GRID ============ */
.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}
.why-card{
  background:var(--surface);
  padding:36px 30px;
}
.why-card__mark{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--accent);
  letter-spacing:0.08em;
}
.why-card h3{
  font-size:20px;
  margin:16px 0 10px;
  font-weight:600;
}
.why-card p{
  color:var(--text-muted);
  font-size:15px;
}

/* ============ FORM PANEL ============ */
.form-panel{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:64px;
  align-items:start;
}
.form-panel__lede{
  color:var(--text-muted);
  margin:20px 0 28px;
  font-size:16px;
  max-width:42ch;
}
.trust-list{ display:flex; flex-direction:column; gap:12px; }
.trust-list li{
  position:relative;
  padding-left:22px;
  color:var(--text-muted);
  font-size:14px;
}
.trust-list li::before{
  content:'';
  position:absolute;
  left:0; top:7px;
  width:8px; height:8px;
  background:var(--accent);
  border-radius:2px;
  transform:rotate(45deg);
}

.lead-form{
  background:var(--surface-alt);
  border:1px solid var(--line);
  border-radius:18px;
  padding:32px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.hidden-field{ display:none; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
label{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--text-muted);
}
input, select{
  background:var(--bg);
  border:1px solid rgba(242,239,233,0.16);
  border-radius:10px;
  padding:13px 14px;
  color:var(--text);
  font-family:var(--font-body);
  font-size:15px;
  outline:none;
  transition:border-color 0.2s ease;
  width:100%;
}
input:focus, select:focus{
  border-color:var(--accent);
}
select{ appearance:none; cursor:pointer; }

.btn-submit{
  margin-top:6px;
  background:var(--accent);
  color:#171310;
  border:none;
  border-radius:10px;
  padding:16px 20px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  transition:background 0.2s ease, transform 0.15s ease;
}
.btn-submit:hover{ background:#e6a066; }
.btn-submit:active{ transform:scale(0.98); }
.btn-submit:focus-visible{ outline:2px solid var(--text); outline-offset:3px; }

.form-disclosure{
  font-size:12.5px;
  color:var(--text-muted);
  line-height:1.5;
}

/* ============ STEPS ============ */
.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}
.step__num{
  font-family:var(--font-display);
  font-size:40px;
  font-weight:700;
  color:transparent;
  -webkit-text-stroke:1.5px var(--accent);
  display:block;
  margin-bottom:14px;
}
.step h3{
  font-size:19px;
  margin-bottom:8px;
  font-weight:600;
}
.step p{
  color:var(--text-muted);
  font-size:15px;
  max-width:32ch;
}

/* ============ FOOTER ============ */
.footer{
  padding:40px 0;
  border-top:1px solid var(--line);
  background:var(--bg);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  flex-wrap:wrap;
}
.footer p{
  color:var(--text-muted);
  font-size:13px;
  max-width:56ch;
}
.footer__meta{ font-family:var(--font-mono); font-size:12px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px){
  .form-panel{ grid-template-columns:1fr; gap:36px; }
  .why-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; gap:36px; }
  .field-row{ grid-template-columns:1fr; }
  .section{ padding:76px 0; }
  .hero__stage{ height:240vh; }
}
