/* ============================================================
   Leverline — shared stylesheet
   ============================================================ */

:root{
  --bg: #0a0a0b;
  --bg-alt: #0d0d0f;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --border: #222225;
  --border-2: #2a2a2e;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-faint: #707078;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dim: rgba(59,130,246,.12);
  --success: #22c55e;
  --error: #ef4444;

  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-head: "Archivo", var(--font-sans);
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1120px;
}

*, *::before, *::after{ box-sizing: border-box; }
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{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* subtle grain overlay */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

img, svg{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

p{ margin: 0; }

.mono{ font-family: var(--font-mono); }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section{
  padding: 96px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.section-tight{ padding: 72px 0; }

@media (max-width: 720px){
  .section{ padding: 64px 0; }
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.eyebrow::before{
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 1px;
  display: inline-block;
}

.section-head{
  max-width: 700px;
  margin-bottom: 48px;
}
.section-head h2{
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
}
.section-head p{
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover{ background: #2f6fe0; }
.btn-ghost{
  background: transparent;
  border-color: var(--border-2);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--text-faint); }
.btn-lg{ padding: 16px 32px; font-size: 16.5px; }
.btn-block{ width: 100%; }

/* ---------- nav ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.nav.is-scrolled{
  background: rgba(10,10,11,.78);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-mark{
  width: 34px;
  height: auto;
  flex: 0 0 auto;
}
.brand-word{
  display: inline-block;
  color: var(--text);
  border-bottom: 2px solid #3987e5;
  padding-bottom: 2px;
  line-height: 1;
}
.brand-word span{ color: #3987e5; }
.brand{ gap: 7px; }
.nav-links{
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn){
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color .15s ease;
}
.nav-links a:not(.btn):hover{ color: var(--text); }
.nav-cta{ display: flex; align-items: center; gap: 20px; }
.nav-phone{
  font-size: 14px;
  color: var(--text-muted);
  transition: color .15s ease;
}
.nav-phone:hover{ color: var(--accent-light); }
.nav-menu-btn{
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
}
.mobile-menu{
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: rgba(10,10,11,.96);
  backdrop-filter: blur(10px);
}
.mobile-menu.is-open{ display: flex; }
.mobile-menu a{
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
}
.mobile-menu a.btn{ margin: 16px 24px; }

@media (max-width: 760px){
  .nav-links a:not(.btn){ display: none; }
  .nav-cta .btn-ghost, .nav-phone{ display: none; }
  .nav-menu-btn{ display: inline-flex; }
}

/* ---------- hero ---------- */
.hero{
  padding: 88px 0 72px;
  position: relative;
}
.hero-grid{
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 40px;
}
.hero h1{
  font-size: clamp(40px, 7vw, 82px);
  max-width: 15ch;
  letter-spacing: -0.035em;
}
.hero .lede{
  margin-top: 26px;
  font-size: 19.5px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
}
.hero-flow{
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  max-width: 760px;
}
.hero-flow .chip{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  color: var(--text-muted);
}
.hero-flow .arrow{ color: var(--border-2); }
.hero-ctas{
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-note{
  font-size: 13.5px;
  color: var(--text-faint);
}
.hero-tag{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 8px;
}

/* ---------- founder split ---------- */
.founder{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.founder-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 96px;
}
@media (max-width: 880px){
  .founder{ grid-template-columns: 1fr; gap: 32px; }
  .founder-card{ position: static; top: auto; }
}
.founder-name{ font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.founder-role{ color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.founder-stats{
  margin-top: 22px;
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.founder-stat b{
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent-light);
}
.founder-stat span{ font-size: 13px; color: var(--text-faint); }
.founder-copy p{
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.founder-copy p:last-child{ margin-bottom: 0; }
.founder-copy strong{ color: var(--text); font-weight: 600; }

/* ---------- SMS mockup ---------- */
.sms-wrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.missed-call-badge{
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.missed-call-badge .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--error);
  box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}
.missed-call-badge b{ color: var(--text); font-weight: 600; }

.phone{
  width: 100%;
  max-width: 380px;
  background: #0e0e10;
  border: 1px solid #2b2b2f;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.02);
}
.phone-screen{
  background: linear-gradient(180deg,#0b0c10,#0a0a0c);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.phone-statusbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #f2f2f4;
  font-family: var(--font-sans);
}
.phone-statusbar .icons{ display:flex; align-items:center; gap:5px; }
.phone-header{
  text-align: center;
  padding: 6px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.phone-header .name{ font-size: 13.5px; font-weight: 600; color: #f5f5f6; }
.phone-header .sub{ font-size: 11.5px; color: #78787f; margin-top: 2px; }
.thread{
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 420px;
}
.msg-time{
  text-align: center;
  font-size: 10.5px;
  color: #6a6a70;
  margin: 6px 0 2px;
  letter-spacing: .03em;
}
.bubble{
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  animation: bubbleIn .35s ease forwards;
}
@keyframes bubbleIn{ to{ opacity: 1; transform: translateY(0); } }
.bubble.us{
  align-self: flex-end;
  background: linear-gradient(180deg,#3b82f6,#2f6fe0);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.bubble.them{
  align-self: flex-start;
  background: #26262b;
  color: #ececee;
  border-bottom-left-radius: 5px;
}
.sms-caption{
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  max-width: 440px;
}
.sms-caption b{ color: var(--text); }

/* ---------- stats ---------- */
.stat-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 720px){ .stat-grid{ grid-template-columns: 1fr; } }
.stat-cell{
  background: var(--surface);
  padding: 30px 26px;
}
.stat-cell .num{
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  color: var(--accent-light);
}
.stat-cell .label{
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.stat-foot{
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-faint);
}
.roi-line{
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  font-size: 16.5px;
  color: var(--text-muted);
}
.roi-line b{ color: var(--text); }

/* ---------- steps / blueprint ---------- */
.blueprint{
  background:
    radial-gradient(var(--border-2) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 40px;
}
@media (max-width: 640px){ .blueprint{ padding: 32px 20px; } }
.steps{
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: step;
  position: relative;
}
.steps li{
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--border-2);
}
.steps li:last-child{ border-bottom: none; }
.steps li::before{
  content: counter(step);
  font-family: var(--font-mono);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600;
}
.steps .step-body h4{
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16.5px;
  margin-bottom: 5px;
}
.steps .step-body p{
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.steps-note{
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-2);
  font-size: 14.5px;
  color: var(--text-faint);
  line-height: 1.65;
}
.steps-note strong{ color: var(--text-muted); }

.custom-callout{
  margin-top: 28px;
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,.28);
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 15.5px;
  color: #dbe8fe;
  line-height: 1.6;
}
.custom-callout b{ color: #fff; }

/* ---------- offer stack ---------- */
.offer-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px){ .offer-grid{ grid-template-columns: 1fr; } }
.offer-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.offer-card h3{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.offer-card.included h3{ color: var(--success); }
.offer-card.excluded h3{ color: var(--error); }
.check-list{ list-style: none; margin: 0; padding: 0; }
.check-list li{
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child{ border-bottom: none; }
.check-list.included li::before{
  content: "✓";
  position: absolute; left: 0; top: 10px;
  color: var(--success); font-weight: 700; font-family: var(--font-mono);
}
.check-list.excluded li::before{
  content: "✕";
  position: absolute; left: 0; top: 10px;
  color: var(--error); font-weight: 700; font-family: var(--font-mono);
}
.check-list li strong{ color: var(--text); font-weight: 600; }

/* ---------- pricing / invoice ---------- */
.pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 1080px){ .pricing-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 880px){ .pricing-grid{ grid-template-columns: 1fr; } }

.tier-meta{
  margin: 0;
  padding: 0 28px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.invoice{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.invoice.featured{ border-color: rgba(59,130,246,.4); position: relative; }
.invoice.featured::before{
  content: "PILOT";
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .1em;
  color: var(--accent-light);
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,.3);
  padding: 4px 9px; border-radius: 5px;
}
.invoice-head{
  padding: 26px 28px;
  border-bottom: 1px solid var(--border);
}
.invoice-head .tag{
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint);
}
.invoice-head h3{
  font-family: var(--font-head);
  font-size: 24px; margin-top: 8px;
}
.invoice-body{ padding: 8px 28px; }
.invoice-row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-2);
  font-size: 14.5px;
}
.invoice-row:last-child{ border-bottom: none; }
.invoice-row .desc{ color: var(--text-muted); max-width: 62%; }
.invoice-row .amt{
  font-family: var(--font-mono);
  color: var(--text);
  white-space: nowrap;
}
.invoice-total{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.invoice-total .label{ font-size: 14px; color: var(--text-muted); }
.invoice-total .value{
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
}
.invoice-total .value small{
  font-size: 14px; color: var(--text-faint); font-weight: 400;
}
.invoice-foot{
  padding: 18px 28px 26px;
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.6;
}
.invoice-cta{ padding: 0 28px 28px; }

.guarantee-box{
  margin: 0 28px 24px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.28);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  color: #d5f5e0;
  line-height: 1.6;
}
.guarantee-box b{ color: #fff; }
.scarcity-line{
  margin: 0 28px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.scarcity-line::before{
  content:"";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-light);
}

.invoice-total .value small.cap-note{ display: block; margin-top: 3px; }

/* ---------- cap bands ---------- */
.cap-bands{
  margin: 0 28px 4px;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cap-bands-head{
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.cap-band{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.cap-band b{ color: var(--text); font-size: 14px; font-weight: 600; }

/* ---------- billable booking definition ---------- */
.billable{
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.billable-head .mono{
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-faint);
}
.billable-head h4{ margin: 8px 0 6px; font-size: 20px; }
.billable-head p{ margin: 0 0 20px; color: var(--text-muted); font-size: 15px; max-width: 72ch; }
.billable-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px){ .billable-grid{ grid-template-columns: 1fr; } }
.billable-col h5{
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.billable-yes h5{ color: rgba(248,113,113,.95); }
.billable-no h5{ color: rgba(74,222,128,.95); }
.billable-col ul{ margin: 0; padding-left: 18px; }
.billable-col li{
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.billable-col li b{ color: var(--text); font-weight: 600; }
.billable-foot{
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
.billable-foot b{ color: var(--text); }

.value-compare{
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 28px;
}
.value-compare h4{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}
.value-compare p{
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- proof ---------- */
/* ---------- client results ---------- */
.client-results{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
@media (max-width: 760px){ .client-results{ grid-template-columns: 1fr; } }
.result-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 30px;
}
.result-num{
  font-size: 46px;
  line-height: 1.05;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: -.02em;
}
.result-what b{ color: var(--text); font-weight: 600; }
.result-what{
  margin-top: 4px;
  font-size: 15px;
  color: var(--text);
}
.result-detail{
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-faint);
}
.result-who{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.result-who b{ display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.result-who span{ font-size: 13px; color: var(--text-faint); }
.result-note{
  margin: 0 0 26px;
  font-size: 13.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.proof-block{
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 32px 36px;
}
.proof-block p{
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
}
.proof-block .cite{
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}
.proof-stats{
  margin-top: 24px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.proof-stats div b{
  display:block; font-family: var(--font-mono); font-size: 22px; color: var(--accent-light);
}
.proof-stats div span{ font-size: 13px; color: var(--text-faint); }

/* ---------- requirements ---------- */
.req-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 720px){ .req-list{ grid-template-columns: 1fr; } }
.req-item{
  background: var(--surface);
  padding: 22px 24px;
  display: flex;
  gap: 14px;
}
.req-item .idx{
  font-family: var(--font-mono);
  color: var(--text-faint);
  font-size: 13px;
  padding-top: 2px;
}
.req-item p{ font-size: 15px; color: var(--text-muted); line-height: 1.55; }
.req-item strong{ color: var(--text); font-weight: 600; }

/* ---------- final CTA ---------- */
.final-cta{
  text-align: center;
  padding: 100px 0 110px;
}
.final-cta h2{
  font-size: clamp(28px, 4vw, 44px);
  max-width: 780px;
  margin: 0 auto 18px;
}
.final-cta p{
  color: var(--text-muted);
  font-size: 17.5px;
  max-width: 560px;
  margin: 0 auto 34px;
}
.final-cta .scarcity-note{
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ---------- footer ---------- */
footer{
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-faint);
}
.footer-inner a{ color: var(--text-faint); }
.footer-inner a:hover{ color: var(--text-muted); }
.footer-links{ display: flex; gap: 22px; }

/* ---------- reveal on scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- booking page ---------- */
.book-page{
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0 40px;
}
.book-head{
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}
.book-head h1{ font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 14px; }
.book-head p{ color: var(--text-muted); font-size: 16.5px; line-height: 1.6; }
.book-phone{
  margin-top: 14px !important;
  font-family: var(--font-mono);
  font-size: 14px !important;
  color: var(--text-faint) !important;
}
.book-phone a{ color: var(--accent-light); }
.book-frame-wrap{
  width: 100%;
  max-width: 780px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  min-height: 640px;
}
.book-what{
  max-width: 780px;
  width: 100%;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
@media (max-width: 640px){ .book-what{ grid-template-columns: 1fr; } }
.book-what div{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.book-what b{ display:block; color: var(--text); font-size: 14px; margin-bottom: 4px; }

/* ---------- math chain ---------- */
.math-block{
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
@media (max-width: 640px){ .math-block{ padding: 24px 20px; } }
.math-head span{
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-faint);
}
.math-head h3{
  font-size: clamp(20px, 2.4vw, 26px);
  margin-top: 8px;
}
.math-chain{
  margin-top: 26px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
}
.math-step{
  flex: 1 1 120px;
  background: var(--bg-alt);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
}
.math-step b{
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}
.math-step span{
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.4;
}
.math-step sup{ color: var(--accent-light); font-size: 9px; }
.math-step.math-result{
  background: var(--accent-dim);
  border-color: rgba(59,130,246,.42);
}
.math-step.math-result b{ color: var(--accent-light); font-size: 30px; }
.math-step.math-result span{ color: #cfe0fb; }
.math-op{
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text-faint);
}
@media (max-width: 620px){
  .math-chain{ flex-direction: column; }
  .math-op{ justify-content: center; }
}
.math-note{
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-2);
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.math-note b{ color: var(--text); }

/* ---------- revenue-at-risk table ---------- */
.risk-table-wrap{
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
  background: var(--surface);
}
.risk-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.risk-table th{
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-2);
  white-space: nowrap;
}
.risk-table th sup{ color: var(--accent-light); }
.risk-table td{
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  white-space: nowrap;
}
.risk-table tbody tr:last-child td{ border-bottom: none; }
.risk-table tbody tr{ transition: background .12s ease; }
.risk-table tbody tr:hover{ background: var(--surface-2); }
.risk-table td.trade{ color: var(--text); font-weight: 600; }
.risk-table td.dim{ color: var(--text-faint); }
.risk-table td.risk{
  color: var(--accent-light);
  font-weight: 600;
  text-align: right;
}
.risk-table th:last-child{ text-align: right; }
.risk-foot{
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.65;
}
.risk-foot b{ color: var(--text-muted); }

/* ---------- speed block ---------- */
.speed-block{
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
@media (max-width: 640px){ .speed-block{ padding: 24px 20px; } }
.speed-head h3{
  font-size: clamp(20px, 2.4vw, 26px);
  margin-top: 2px;
}
.speed-grid{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px){ .speed-grid{ grid-template-columns: 1fr; gap: 16px; } }
.speed-cell{
  background: var(--bg-alt);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 20px;
}
.speed-cell b{
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: var(--accent-light);
  line-height: 1;
}
.speed-cell p{
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.speed-cell sup{ color: var(--accent-light); font-size: 10px; }
.speed-note{
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-2);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
.speed-note b{ color: var(--text); }
.speed-note sup{ color: var(--accent-light); font-size: 10px; }

/* ---------- sources ---------- */
.sources-section{
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.sources summary{
  cursor: pointer;
  font-size: 14px;
  color: var(--text-faint);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.sources summary::-webkit-details-marker{ display: none; }
.sources summary::before{
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent-light);
  font-size: 15px;
}
.sources[open] summary::before{ content: "\2212"; }
.sources summary:hover{ color: var(--text-muted); }
.sources summary .mono{
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--accent-light);
}
.source-list{
  margin: 22px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 14px;
}
.source-list li{
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.65;
}
.source-list li b{ color: var(--text-muted); font-weight: 600; }
.source-list a{ color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }
.source-caveat{
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.65;
}

/* footnote markers in stat cells */
.stat-cell sup{ color: var(--accent-light); font-size: 10px; }

/* ---------- calculator ---------- */
.calc{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 32px;
  margin-bottom: 28px;
}
@media (max-width: 640px){ .calc{ padding: 24px 20px; } }
.calc-controls{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px){ .calc-controls{ grid-template-columns: 1fr; gap: 26px; } }
.calc-field label{
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.calc-row{
  display: flex;
  align-items: center;
  gap: 16px;
}
.calc-val{
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-light);
  min-width: 72px;
  text-align: right;
  flex: 0 0 auto;
}
.calc-hint{
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.5;
}
.calc-hint sup{ color: var(--accent-light); }

/* range input */
.calc input[type=range]{
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  min-width: 0;
  height: 4px;
  border-radius: 2px;
  background: var(--border-2);
  outline: none;
  cursor: pointer;
}
.calc input[type=range]::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}
.calc input[type=range]::-webkit-slider-thumb:active{ cursor: grabbing; }
.calc input[type=range]::-moz-range-thumb{
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}
.calc input[type=range]:focus-visible{
  box-shadow: 0 0 0 2px var(--accent-dim);
}

.calc-summary{
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.calc-stat{ text-align: center; }
.calc-stat b{
  display: block;
  font-size: 34px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}
.calc-stat span{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-faint);
}
.calc-stat span sup{ color: var(--accent-light); font-size: 9px; }
.calc-stat-hero b{ color: var(--accent-light); font-size: 46px; }
.calc-stat-hero span{ color: var(--text-muted); }
.calc-arrow{
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--border-2);
}
@media (max-width: 520px){
  .calc-arrow{ transform: rotate(90deg); }
  .calc-summary{ flex-direction: column; gap: 14px; }
}

.risk-table td.lost-mo{ color: var(--text); font-weight: 600; text-align: right; }
.risk-table td.lost-yr{ color: var(--accent-light); font-weight: 600; text-align: right; }
.risk-table th:nth-child(3), .risk-table th:nth-child(4){ text-align: right; }

.risk-table .group-row td{
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-2);
  white-space: normal;
}
.risk-table .group-row td span{
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-faint);
  font-size: 11.5px;
}

/* ---------- calculator: trade selector ---------- */
.calc-trade{ margin-bottom: 26px; }
.calc-trade select{
  width: 100%;
  max-width: 420px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border-2);
  border-radius: 9px;
  padding: 13px 40px 13px 15px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%2360a5fa' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
.calc-trade select:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-trade select option{ background: var(--surface); color: var(--text); }

.calc-summary .calc-stat b{ font-size: 30px; }
.calc-stat-hero b{ font-size: 40px; }
.calc-stat-hero span .mono{ color: var(--accent-light); }

.calc-caveat{
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
  border-left: 2px solid var(--border-2);
  padding-left: 14px;
}

.breakeven{
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.breakeven-label{
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--accent-light);
  background: var(--accent-dim);
  border: 1px solid rgba(59,130,246,.3);
  border-radius: 5px;
  padding: 5px 9px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.breakeven p{
  flex: 1 1 260px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.breakeven p b{ color: var(--text); font-weight: 600; }
