/* =========  TOKENS  ========= */
:root{
  --bg: #07050d;
  --bg-2: #0b0817;
  --bg-3: #120d22;
  --ink: #f5f2ff;
  --ink-2: #cfc6e8;
  --ink-3: #8c83a8;
  --ink-4: #5b5373;
  --line: rgba(181, 155, 255, 0.12);
  --line-2: rgba(181, 155, 255, 0.22);
  --violet: #7c5cff;
  --violet-2: #9c7bff;
  --violet-glow: #b794ff;
  --violet-deep: #4a2ed1;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-glow: 0 0 60px rgba(124, 92, 255, 0.35);
  --shadow-card: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(181,155,255,0.08) inset;
  --max: 1200px;
  --ff-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --ff-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* base page tint */
body::before{
  content:'';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 50% -100px, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(900px 900px at 90% 120%, rgba(124,92,255,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* =========  SCARCITY BAR  ========= */
.scarcity-bar{
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #14092b 0%, #0d0620 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.scarcity-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.scarcity-text strong{color: var(--violet-glow); font-weight:600}
.scarcity-text .muted{color: var(--ink-3)}
.scarcity-text .sep{color: var(--ink-4); margin: 0 6px}
.scarcity-cta{
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(124,92,255,0.15);
  border: 1px solid rgba(124,92,255,0.35);
  color: var(--violet-glow);
  font-weight: 500;
  transition: all .2s;
}
.scarcity-cta:hover{background: rgba(124,92,255,0.28); color: #fff}
.pulse-dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff5c8a;
  box-shadow: 0 0 0 0 rgba(255,92,138,0.7);
  animation: pulse 1.8s infinite;
  display: inline-block;
}
@keyframes pulse{
  0%{box-shadow: 0 0 0 0 rgba(255,92,138,0.7)}
  70%{box-shadow: 0 0 0 10px rgba(255,92,138,0)}
  100%{box-shadow: 0 0 0 0 rgba(255,92,138,0)}
}

/* =========  NAV  ========= */
.nav{
  position: relative;
  z-index: 10;
  padding: 22px 0;
}
.nav-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark{
  width: 24px; height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-glow) 100%);
  box-shadow: 0 0 20px rgba(124,92,255,0.5), inset 0 0 10px rgba(255,255,255,0.2);
  position: relative;
}
.brand-mark::after{
  content:'';
  position: absolute; inset: 4px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 3px;
  border-right: none;
  border-bottom: none;
}
.brand-dot{color: var(--violet-glow)}
.nav-links{
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a{transition: color .15s}
.nav-links a:hover{color: var(--ink)}
.nav-cta{
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.nav-cta:hover{background: rgba(124,92,255,0.15); border-color: var(--violet)}

@media (max-width: 720px){
  .nav-links{display:none}
}

/* =========  HERO  ========= */
.hero{
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
  z-index: 1;
}
.hero-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.beams{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.beam{
  position: absolute;
  top: -10%;
  width: 120px;
  height: 140%;
  background: linear-gradient(180deg, transparent 0%, rgba(124,92,255,0.35) 30%, rgba(183,148,255,0.25) 60%, transparent 100%);
  filter: blur(40px);
  opacity: 0.8;
  transform-origin: top center;
}
.beam-1{ left: 8%; transform: rotate(-18deg); width: 140px; }
.beam-2{ left: 28%; transform: rotate(-8deg); width: 90px; opacity: 0.5}
.beam-3{ right: 28%; transform: rotate(8deg); width: 90px; opacity: 0.5}
.beam-4{ right: 8%; transform: rotate(18deg); width: 140px; }
.beam-center{ left: 50%; transform: translateX(-50%); width: 260px; opacity: 0.7}

.starfield{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 40% 10%, rgba(183,148,255,0.8), transparent),
    radial-gradient(1px 1px at 60% 50%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 75% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 15% 80%, rgba(183,148,255,0.9), transparent),
    radial-gradient(1px 1px at 50% 85%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 90% 90%, rgba(255,255,255,0.8), transparent);
  opacity: 0.55;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--violet-glow);
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.25);
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow-dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-glow);
  box-shadow: 0 0 8px var(--violet-glow);
}

.headline{
  font-family: var(--ff-display);
  font-size: clamp(38px, 6.2vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 24px;
  text-wrap: balance;
}
.headline-accent{
  background: linear-gradient(180deg, #b794ff 0%, #7c5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}
.grad{
  background: linear-gradient(180deg, #b794ff 0%, #7c5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub{
  max-width: 680px;
  margin: 0 auto 36px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}
.sub em{ color: var(--violet-glow); font-style: normal; font-weight: 500}

/* form */
.hero-form{max-width: 520px; margin: 0 auto 24px;}
.field-wrap{
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 6px;
  transition: all .2s;
  box-shadow: 0 0 0 0 rgba(124,92,255,0);
}
.field-wrap:focus-within{
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124,92,255,0.15), var(--shadow-glow);
}
.field-wrap input{
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  min-width: 0;
}
.field-wrap input::placeholder{ color: var(--ink-4) }
.field-wrap.big{ padding: 8px }
.field-wrap.big input{ padding: 16px 20px; font-size: 16px }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 550;
  font-size: 15px;
  border-radius: 10px;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(180deg, #9278ff 0%, #6a47f5 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 8px 24px rgba(124,92,255,0.35), 0 0 40px rgba(124,92,255,0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary::before{
  content:'';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left .6s;
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 12px 32px rgba(124,92,255,0.5), 0 0 60px rgba(124,92,255,0.4);
}
.btn-primary:hover::before{ left: 100% }
.btn-big{ padding: 16px 24px; font-size: 16px; border-radius: 12px }

.btn-ghost{
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--ink);
  padding: 12px 18px;
}
.btn-ghost:hover{ background: rgba(124,92,255,0.12); border-color: var(--violet) }

.form-meta{
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.form-meta.centered{ justify-content: center}
.check{ color: var(--violet-glow); font-weight: 600; margin-right: 2px}
.form-error{
  color: #ff8ba5;
  font-size: 13px;
  margin-top: 10px;
  min-height: 16px;
}

.social-proof{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.avatars{ display: flex }
.avatar{
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  background-size: cover;
  background-position: center;
}
.avatar:first-child{ margin-left: 0}
.avatar.a1{ background: linear-gradient(135deg, #ff9a6b, #c14f2e) }
.avatar.a2{ background: linear-gradient(135deg, #6bafff, #2e5ec1) }
.avatar.a3{ background: linear-gradient(135deg, #b794ff, #6a47f5) }
.avatar.a4{ background: linear-gradient(135deg, #ffc76b, #c18a2e) }
.avatar.a5{ background: linear-gradient(135deg, #6bffb4, #2ec17d) }
.proof-text{ text-align: left; font-size: 13px; color: var(--ink-2)}
.stars{ color: #ffc76b; letter-spacing: 2px; font-size: 12px }
.proof-copy strong{ color: var(--ink); font-weight: 600}

/* hero preview */
.hero-preview{
  max-width: 900px;
  margin: 72px auto 0;
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(30,20,60,0.85) 0%, rgba(16,10,34,0.95) 100%);
  border: 1px solid var(--line-2);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 80px rgba(124,92,255,0.2);
  text-align: left;
}
.preview-glow{
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124,92,255,0.4), transparent 50%, rgba(183,148,255,0.3));
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
}
.preview-chrome{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(10,6,20,0.5);
}
.dot{ width: 11px; height: 11px; border-radius: 50%; display: inline-block}
.dot.r{ background: #ff5f5f}
.dot.y{ background: #ffbd3d}
.dot.g{ background: #27c940}
.url-bar{
  margin-left: 16px;
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 12px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 340px;
}

.preview-body{
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 300px;
}
.preview-sidebar{
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  background: rgba(10,6,20,0.3);
}
.ps-item{
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 2px;
}
.ps-item.active{ background: rgba(124,92,255,0.15); color: var(--ink); border: 1px solid rgba(124,92,255,0.25) }
.ps-dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--violet-glow); box-shadow: 0 0 8px var(--violet-glow) }
.ps-dot.gray{ background: var(--ink-4); box-shadow: none}

.preview-main{
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-msg{
  max-width: 420px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.chat-msg.user{
  align-self: flex-end;
  background: linear-gradient(180deg, #7c5cff, #5836e5);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg.agent{
  align-self: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink-2);
}
.typing{ display: inline-flex; gap: 3px; align-items: center}
.typing i{
  width: 5px; height: 5px; border-radius: 50%; background: var(--violet-glow);
  animation: typing 1.2s infinite;
}
.typing i:nth-child(2){ animation-delay: .2s}
.typing i:nth-child(3){ animation-delay: .4s}
@keyframes typing{
  0%,80%,100%{ opacity: 0.3; transform: translateY(0)}
  40%{ opacity: 1; transform: translateY(-2px)}
}
.chat-chips{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px}
.chip{
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124,92,255,0.1);
  border: 1px solid rgba(124,92,255,0.25);
  color: var(--violet-glow);
}

@media (max-width: 640px){
  .preview-body{ grid-template-columns: 1fr}
  .preview-sidebar{ display: none}
}

/* =========  GENERIC SECTION  ========= */
.section{
  position: relative;
  padding: 100px 0;
  z-index: 1;
}
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.container.narrow{ max-width: 780px}

.section-label{
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--violet-glow);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label.centered{ text-align: center}
.section-title{
  font-family: var(--ff-display);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 48px;
  max-width: 900px;
  text-wrap: balance;
}
.section-title.centered{ margin-left: auto; margin-right: auto; text-align: center}

/* =========  GAP  ========= */
.section-gap{ background: linear-gradient(180deg, transparent 0%, var(--bg-2) 100%); padding-bottom: 140px;}
.gap-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  align-items: start;
}
.gap-lead{
  font-size: 22px;
  line-height: 1.5;
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  grid-column: 1;
}
.gap-body{
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
.gap-body strong{ color: var(--violet-glow); font-weight: 500}
.gap-kicker{
  grid-column: 1 / -1;
  font-family: var(--ff-display);
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink);
  margin: 24px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 780px;
  text-wrap: pretty;
}
@media (max-width: 760px){
  .gap-grid{ grid-template-columns: 1fr; gap: 24px}
  .gap-lead{ font-size: 20px}
  .gap-kicker{ font-size: 20px}
}

/* =========  WHO  ========= */
.section-who{ background: var(--bg-2)}
.who-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.who-card{
  background: linear-gradient(180deg, rgba(30,20,60,0.5) 0%, rgba(16,10,34,0.8) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.who-card::before{
  content:'';
  position: absolute;
  top: 0; left: 50%;
  width: 60%; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(183,148,255,0.6), transparent);
}
.who-card:hover{
  border-color: rgba(124,92,255,0.5);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px -20px rgba(124,92,255,0.4);
}
.who-card-mid{
  background: linear-gradient(180deg, rgba(60,40,120,0.35) 0%, rgba(30,18,60,0.85) 100%);
  border-color: rgba(124,92,255,0.3);
}
.who-quote{
  font-family: var(--ff-display);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}
.who-card p{
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.who-tag{
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-glow);
  padding: 4px 10px;
  background: rgba(124,92,255,0.1);
  border: 1px solid rgba(124,92,255,0.25);
  border-radius: 4px;
}

@media (max-width: 820px){
  .who-grid{ grid-template-columns: 1fr; }
}

/* =========  BUILD  ========= */
.section-build{ background: var(--bg-2)}
.build-top{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.build-body{
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 440px;
}
.build-body strong{ color: var(--violet-glow); font-weight: 500}
.build-kicker{
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 24px 0 28px;
  line-height: 1.4;
}

.build-preview{
  position: relative;
  background: linear-gradient(180deg, rgba(40,25,80,0.6) 0%, rgba(16,10,34,0.95) 100%);
  border: 1px solid rgba(124,92,255,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.bp-glow{
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(124,92,255,0.3), transparent 60%);
  z-index: -1;
  filter: blur(30px);
}
.bp-header{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(10,6,20,0.4);
}
.bp-title{
  margin-left: 12px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.bp-body{ padding: 24px}
.bp-row{ display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px}
.bp-stat{
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}
.bp-stat-num{
  font-family: var(--ff-display);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  background: linear-gradient(180deg, #fff 0%, var(--violet-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.bp-stat-label{
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--ff-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-queue{ display: flex; flex-direction: column; gap: 8px}
.queue-item{
  display: grid;
  grid-template-columns: 70px 1fr 1fr 110px;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  align-items: center;
}
.queue-item-live{
  border-color: rgba(124,92,255,0.4);
  background: rgba(124,92,255,0.06);
}
.q-tag{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.q-urgent{ background: rgba(255,92,138,0.15); color: #ff8ba5; border: 1px solid rgba(255,92,138,0.3)}
.q-review{ background: rgba(255,199,107,0.12); color: #ffc76b; border: 1px solid rgba(255,199,107,0.25)}
.q-fyi{ background: rgba(107,175,255,0.12); color: #8bb8ff; border: 1px solid rgba(107,175,255,0.25)}
.q-live{ background: rgba(124,92,255,0.15); color: var(--violet-glow); border: 1px solid rgba(124,92,255,0.35)}
.q-from{ color: var(--ink); font-weight: 500}
.q-sub{ color: var(--ink-3)}
.q-status{ color: var(--violet-glow); font-family: var(--ff-mono); font-size: 11px; text-align: right}
.typing-inline{ display: inline-flex; gap: 3px}
.typing-inline i{
  width: 4px; height: 4px; border-radius: 50%; background: var(--violet-glow);
  animation: typing 1.2s infinite;
}
.typing-inline i:nth-child(2){ animation-delay: .2s}
.typing-inline i:nth-child(3){ animation-delay: .4s}

@media (max-width: 900px){
  .build-top{ grid-template-columns: 1fr; gap: 40px}
  .queue-item{ grid-template-columns: 60px 1fr; gap: 8px}
  .queue-item .q-sub, .queue-item .q-status{ display: none}
}

/* =========  CURRICULUM  ========= */
.section-curriculum{ background: var(--bg)}
.lessons{
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: lesson;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.lesson{
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: all .2s;
  position: relative;
}
.lesson:hover{
  background: rgba(124,92,255,0.04);
}
.lesson::before{
  content:'';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: transparent;
  transition: background .2s;
}
.lesson:hover::before{ background: var(--violet)}
.lesson-num{
  font-family: var(--ff-display);
  font-size: 42px;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.lesson-body h3{
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lesson-body p{
  margin: 0;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.5;
}
.lesson-meta{
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
}
.badge-flag{
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #7c5cff, #b794ff);
  color: #fff;
  border-radius: 4px;
}
.lesson-featured{
  background: linear-gradient(90deg, rgba(124,92,255,0.08), transparent);
}
.lesson-featured::before{ background: var(--violet)}
.lesson-featured .lesson-num{
  background: linear-gradient(180deg, var(--violet-glow), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 720px){
  .lesson{ grid-template-columns: 60px 1fr; gap: 16px; padding: 20px 16px}
  .lesson-num{ font-size: 32px}
  .lesson-body h3{ font-size: 18px}
  .lesson-meta{ grid-column: 2; font-size: 11px}
}

/* =========  CLAIM / COUNTER  ========= */
.section-claim{
  background: radial-gradient(ellipse at center, rgba(40,25,90,0.5) 0%, var(--bg) 70%);
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}
.claim-bg{ position: absolute; inset: 0; overflow: hidden; pointer-events: none}
.claim-inner{ position: relative; z-index: 2}
.claim-body{
  max-width: 680px;
  margin: 0 auto 48px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.counter-card{
  max-width: 520px;
  margin: 0 auto 40px;
  background: linear-gradient(180deg, rgba(40,25,80,0.6) 0%, rgba(16,10,34,0.9) 100%);
  border: 1px solid rgba(124,92,255,0.35);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 0 60px rgba(124,92,255,0.25);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.counter-card::before{
  content:'';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-glow), transparent);
}
.counter-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.counter-label{
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.counter-pulse{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #ff8ba5;
}
.counter-figures{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.counter-num{
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 0%, var(--violet-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.counter-of{ font-size: 20px; color: var(--ink-4); -webkit-text-fill-color: var(--ink-4); font-weight: 400; margin-left: 4px}
.counter-left{
  font-size: 13px;
  color: var(--ink-3);
  text-align: right;
}
.counter-left span{ color: var(--violet-glow); font-weight: 600; font-size: 15px}
.counter-bar{
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.counter-fill{
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--violet-glow));
  border-radius: 999px;
  box-shadow: 0 0 12px var(--violet-glow);
  transition: width .6s;
  position: relative;
}
.counter-fill::after{
  content:'';
  position: absolute;
  top: 0; right: 0;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  animation: shimmer 2s infinite;
}
@keyframes shimmer{
  0%{ transform: translateX(-100%)}
  100%{ transform: translateX(100%)}
}
.counter-foot{
  display: flex;
  justify-content: center;
  font-size: 12px;
  color: var(--ink-3);
}
.foot-item{ display: inline-flex; align-items: center; gap: 8px}
.fi-dot{
  width: 6px; height: 6px; border-radius: 50%; background: #27c940;
  box-shadow: 0 0 8px #27c940;
}

.claim-form{ max-width: 520px; margin: 0 auto}

/* =========  FAQ  ========= */
.section-faq{ background: var(--bg-2); padding: 120px 0}
.faq-list{ display: flex; flex-direction: column; gap: 12px}
.faq-item{
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: all .2s;
}
.faq-item:hover{ border-color: var(--line-2)}
.faq-item[open]{
  border-color: rgba(124,92,255,0.35);
  background: rgba(124,92,255,0.05);
}
.faq-item summary{
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker{ display: none}
.faq-chevron{
  width: 16px; height: 16px;
  position: relative;
  flex-shrink: 0;
}
.faq-chevron::before, .faq-chevron::after{
  content:'';
  position: absolute;
  background: var(--violet-glow);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform-origin: center;
  transition: all .25s;
}
.faq-chevron::before{ width: 12px; height: 2px; transform: translate(-50%,-50%)}
.faq-chevron::after{ width: 2px; height: 12px; transform: translate(-50%,-50%)}
.faq-item[open] .faq-chevron::after{ transform: translate(-50%,-50%) rotate(90deg); opacity: 0}
.faq-answer{
  padding: 0 24px 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}
.faq-answer em{ color: var(--violet-glow); font-style: normal; font-weight: 500}

/* =========  FINAL  ========= */
.section-final{
  text-align: center;
  padding: 140px 0 160px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.section-final .beams{ opacity: 0.6}
.final-headline{
  font-family: var(--ff-display);
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 40px;
  position: relative;
  z-index: 2;
  text-wrap: balance;
}
.btn-final{ position: relative; z-index: 2}
.final-meta{
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-3);
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.final-meta .sep{ color: var(--ink-4)}

/* =========  FOOTER  ========= */
.footer{
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
}
.footer-meta{
  font-size: 13px;
  color: var(--ink-4);
}
.footer-meta a{ color: var(--ink-3); transition: color .2s}
.footer-meta a:hover{ color: var(--ink)}

/* =========  TOAST  ========= */
.signup-toast{
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  background: linear-gradient(180deg, rgba(30,20,60,0.95), rgba(16,10,34,0.95));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124,92,255,0.35);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5), 0 0 30px rgba(124,92,255,0.25);
  transform: translateX(-120%);
  transition: transform .5s cubic-bezier(.2,.9,.3,1.15);
}
.signup-toast.show{ transform: translateX(0)}
.toast-avatar{
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b794ff, #6a47f5);
  box-shadow: 0 0 12px rgba(183,148,255,0.4);
  flex-shrink: 0;
}
.toast-body{ font-size: 13px}
.toast-name{ color: var(--ink); font-weight: 500}
.toast-sub{ color: var(--ink-3); font-size: 11px; margin-top: 2px}

@media (max-width: 540px){
  .signup-toast{ left: 12px; right: 12px; min-width: 0}
}

/* =========  MODAL  ========= */
.modal{
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7,5,13,0.8);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open{ display: flex}
.modal-card{
  max-width: 440px;
  width: 100%;
  background: linear-gradient(180deg, rgba(40,25,80,0.95), rgba(16,10,34,0.98));
  border: 1px solid rgba(124,92,255,0.4);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 80px rgba(124,92,255,0.35);
  animation: modalIn .35s cubic-bezier(.2,.9,.3,1.15);
}
@keyframes modalIn{
  from{ opacity: 0; transform: translateY(20px) scale(.95)}
  to{ opacity: 1; transform: none}
}
.modal-check{
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7c5cff, #5836e5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(124,92,255,0.5);
}
.modal-card h3{
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.modal-card p{
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.modal-card p strong{ color: var(--violet-glow); font-weight: 500}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html{ scroll-behavior: auto}
}

/* ════════════════════════════════════════════════════════════════════════
 * MOBILE OPTIMIZATION PASS · 2026-04-26
 * Goals: tighter rhythm on phones, vertical form stacking, no iOS zoom,
 * better tap targets, lighter paints, no awkward overflow.
 * ══════════════════════════════════════════════════════════════════════ */

/* ───── Tablet (≤900px) ───── */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .section-claim { padding: 84px 0; }
  .section-final { padding: 84px 0 96px; }
  .section-faq { padding: 72px 0; }
  .section-title { margin-bottom: 32px; }
  .counter-card { padding: 26px; }
  .counter-num { font-size: 42px; }
  .hero { padding: 32px 0 64px; }
  .hero-preview { margin-top: 56px; }
  .build-top { gap: 32px; }
  .gap-grid { gap: 28px 40px; }
}

/* ───── Phones (≤640px) ───── */
@media (max-width: 640px) {
  /* Container & section rhythm */
  .container,
  .nav-inner,
  .hero-inner,
  .scarcity-inner,
  .footer-inner { padding-left: 16px; padding-right: 16px; }

  .section { padding: 56px 0; }
  .section-claim { padding: 64px 0; }
  .section-final { padding: 64px 0 80px; }
  .section-faq { padding: 56px 0; }
  .section-gap { padding-bottom: 80px; }
  .hero { padding: 20px 0 48px; }

  /* Headlines */
  .headline { font-size: clamp(30px, 9vw, 44px); margin-bottom: 18px; line-height: 1.06; }
  .section-title { font-size: clamp(24px, 7vw, 34px); margin-bottom: 24px; line-height: 1.1; }
  .final-headline { font-size: clamp(28px, 8vw, 42px); margin-bottom: 28px; line-height: 1.08; }

  /* Sub copy */
  .sub { font-size: 16px; margin-bottom: 28px; line-height: 1.55; }
  .eyebrow { margin-bottom: 20px; padding: 5px 12px; font-size: 10.5px; }

  /* Scarcity bar */
  .scarcity-inner {
    font-size: 12px;
    padding: 8px 16px;
    flex-wrap: wrap;
    gap: 6px 10px;
    line-height: 1.35;
  }
  .scarcity-text .sep { display: none; }
  .scarcity-cta { font-size: 11px; padding: 3px 10px; margin-left: 0; }

  /* Form stacks vertically + 16px input prevents iOS zoom */
  .hero-form, .claim-form { max-width: 100%; }
  .field-wrap {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
    border-radius: 12px;
  }
  .field-wrap input {
    padding: 14px 14px;
    font-size: 16px !important;
    border-radius: 8px;
  }
  .field-wrap.big { padding: 8px; }
  .field-wrap.big input { padding: 14px 16px; font-size: 16px; }
  .field-wrap .btn { width: 100%; justify-content: center; min-height: 48px; }
  .field-wrap.big .btn { padding: 14px 20px; font-size: 15px; }

  /* Button tap targets */
  .btn { min-height: 44px; }
  .btn-big { padding: 14px 22px; font-size: 15px; min-height: 50px; }

  /* Form meta */
  .form-meta { font-size: 12px; gap: 8px 12px; }

  /* Social proof block: stack to centred column */
  .social-proof {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .proof-text { text-align: center; }
  .avatars { justify-content: center; }

  /* Nav */
  .nav { padding: 14px 0; }
  .brand { font-size: 15px; gap: 8px; }
  .brand-mark { width: 22px; height: 22px; }
  .nav-cta { font-size: 12.5px; padding: 7px 13px; }

  /* Hero browser preview — declutter */
  .hero-preview { margin-top: 40px; border-radius: 14px; }
  .preview-chrome { padding: 8px 12px; gap: 6px; }
  .preview-chrome .url-bar { display: none; }
  .preview-main { padding: 14px; gap: 10px; }
  .chat-msg { max-width: 100%; font-size: 13px; padding: 10px 14px; line-height: 1.45; }

  /* Build preview */
  .bp-row { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
  .bp-stat { padding: 12px; }
  .bp-stat-num { font-size: 22px; }
  .bp-body { padding: 16px; }

  /* Curriculum */
  .lesson { padding: 18px 12px; gap: 12px; }
  .lesson-num { font-size: 28px; }
  .lesson-body h3 { font-size: 17px; gap: 8px; }
  .lesson-body p { font-size: 14px; line-height: 1.45; }
  .lesson-meta { font-size: 10.5px; }

  /* FAQ — bigger tap targets */
  .faq-item summary { padding: 16px 18px; font-size: 14.5px; min-height: 56px; }
  .faq-answer { padding: 0 18px 18px; font-size: 14px; }

  /* Counter card */
  .counter-card { padding: 20px; max-width: none; }
  .counter-num { font-size: 36px; }
  .counter-of { font-size: 16px; }
  .counter-figures { margin-bottom: 12px; }
  .counter-bar { margin-bottom: 12px; }
  .counter-foot { font-size: 11px; }
  .counter-label { font-size: 10px; }

  /* Modal */
  .modal { padding: 16px; }
  .modal-card { padding: 28px 22px; border-radius: 16px; }
  .modal-card h3 { font-size: 22px; }
  .modal-card p { font-size: 14px; }
  .modal-check { width: 50px; height: 50px; margin-bottom: 16px; }

  /* Footer */
  .footer { padding: 24px 0; }
  .footer-inner { gap: 12px; flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-meta { font-size: 12px; }

  /* Toast — full width */
  .signup-toast { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; min-width: 0; }
  .toast-body { font-size: 12px; }

  /* Final meta */
  .final-meta { font-size: 12px; gap: 6px 12px; flex-direction: column; align-items: center; }
  .final-meta .sep { display: none; }

  /* WHO / build copy */
  .who-quote { font-size: 18px; line-height: 1.32; }
  .who-card { padding: 24px 20px; border-radius: 14px; }
  .who-card p { font-size: 14px; line-height: 1.55; margin-bottom: 16px; }
  .build-body { font-size: 15px; max-width: none; }
  .build-kicker { font-size: 17px; line-height: 1.4; margin: 18px 0 22px; }

  /* GAP section */
  .gap-lead { font-size: 18px; line-height: 1.45; }
  .gap-body { font-size: 15px; line-height: 1.6; }
  .gap-kicker { font-size: 18px; padding-top: 22px; line-height: 1.4; }
}

/* ───── Tiny phones (≤380px) ───── */
@media (max-width: 380px) {
  .container,
  .nav-inner,
  .hero-inner,
  .scarcity-inner,
  .footer-inner { padding-left: 14px; padding-right: 14px; }
  .headline { font-size: 28px; }
  .section-title { font-size: 22px; }
  .final-headline { font-size: 26px; }
  .scarcity-text { font-size: 11px; }
  .nav-cta { padding: 6px 11px; font-size: 12px; }
}

/* ───── Performance: cheap paints + drop heavy filters on mobile ───── */
@media (max-width: 640px) {
  body::before {
    background: radial-gradient(900px 600px at 50% -100px, rgba(124,92,255,0.15), transparent 60%);
  }
  .preview-glow { display: none; }
  .hero-preview { box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5); }
  .beam-2, .beam-3 { display: none; }
  .beam { filter: blur(28px); }
  .starfield { opacity: 0.4; }
  /* Reduce expensive shadow/glow stacks on cards */
  .who-card { box-shadow: 0 12px 28px -12px rgba(0,0,0,0.5); }
  .counter-card { box-shadow: 0 0 30px rgba(124,92,255,0.2); }
}

/* Better text rendering on small screens */
@media (max-width: 640px) {
  body { -webkit-text-size-adjust: 100%; }
  /* Ensure no horizontal overflow ever */
  html, body { overflow-x: hidden; max-width: 100vw; }
}

/* ════════════════════════════════════════════════════════════════════════
 * LIGHT-SURFACE SYSTEM · 2026-04-30
 * Alternating dark/light section blocks to break the page into
 * pacing chunks. Light "paper" surface holds reading-heavy sections
 * (Trade/Opportunity/Build, Curriculum/Who-For, FAQ). Dark holds the
 * brand/drama beats (Hero, Pain Amplifier, Last Call). Bridges sit
 * between blocks as soft gradient seams with a violet bloom for
 * brand continuity.
 * ══════════════════════════════════════════════════════════════════════ */

:root {
  --paper: #f6f5fa;
  --paper-card: #ffffff;
  --ink-on-paper: #16122a;
  --ink-on-paper-2: #4f4a68;
  --ink-on-paper-3: #5d5778;
  --ink-on-paper-4: #adaab9;
  --line-on-paper: rgba(38, 22, 95, 0.10);
  --line-on-paper-2: rgba(38, 22, 95, 0.18);
  --violet-on-paper: #5a3ce6;
}

/* ─── The flip itself ───────────────────────────────────────────────── */
.surface-paper {
  background: var(--paper);
  color: var(--ink-on-paper);
  position: relative;
  z-index: 1;
}

/* ─── Section primitives on paper ───────────────────────────────────── */
.surface-paper .section-label,
.surface-paper .section-label.centered { color: var(--violet-on-paper); }
.surface-paper .section-title,
.surface-paper .section-title.centered { color: var(--ink-on-paper); }
.surface-paper .section-sub { color: var(--ink-on-paper-2); }
.surface-paper .section-sub em { color: var(--violet-on-paper); font-style: normal; font-weight: 500; }
.surface-paper .section-body,
.surface-paper .section-body.centered { color: var(--ink-on-paper-2); }
.surface-paper .section-kicker,
.surface-paper .section-kicker.centered { color: var(--ink-on-paper); }
.surface-paper .section-kicker.centered.muted { color: var(--ink-on-paper-2); font-weight: 400; }
.surface-paper .section-kicker strong,
.surface-paper .section-kicker.centered strong { color: var(--violet-on-paper); }

/* Violet text-gradient on paper — switch to a deeper stop for legibility */
.surface-paper .grad {
  background: linear-gradient(180deg, #7c5cff 0%, #4a2ed1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Body bullet list */
.surface-paper .body-list li { color: var(--ink-on-paper-2); }

/* sys-footer copy + lesson "free for the first 500" line */
.surface-paper .sys-footer { color: var(--ink-on-paper-2); }
.surface-paper .sys-footer strong { color: var(--ink-on-paper); }

/* Ghost button rare on paper — give it a sane variant just in case */
.surface-paper .btn-ghost {
  background: rgba(124, 92, 255, 0.06);
  border-color: var(--line-on-paper-2);
  color: var(--ink-on-paper);
}
.surface-paper .btn-ghost:hover {
  background: rgba(124, 92, 255, 0.12);
  border-color: var(--violet-on-paper);
}

/* ─── Trade cards (Group 1 / Group 2) on paper ──────────────────────── */
.surface-paper .trade-card {
  background: var(--paper-card);
  border-color: var(--line-on-paper-2);
  box-shadow: 0 14px 40px -20px rgba(38, 22, 95, 0.18), 0 1px 2px rgba(38, 22, 95, 0.04);
}
.surface-paper .trade-card-name { color: var(--ink-on-paper); }
.surface-paper .trade-card-body p { color: var(--ink-on-paper-2); }
.surface-paper .trade-card-body strong { color: var(--ink-on-paper); }
.surface-paper .trade-card-result {
  color: var(--ink-on-paper-3);
  border-top-color: var(--line-on-paper);
}
.surface-paper .trade-card-result strong { color: var(--ink-on-paper); }
.surface-paper .trade-card-label { color: var(--violet-on-paper); }
.surface-paper .trade-card--slow .trade-card-label { color: var(--ink-on-paper-3); }
.surface-paper .trade-card--fast {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.07), rgba(124, 92, 255, 0.01));
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 24px 60px -28px rgba(124, 92, 255, 0.45), 0 1px 2px rgba(38, 22, 95, 0.04);
}
.surface-paper .trade-card--fast::before {
  background: radial-gradient(500px 200px at 80% 20%, rgba(124, 92, 255, 0.10), transparent 60%);
}
.surface-paper .trade-card--fast .trade-card-result strong { color: var(--violet-on-paper); }

/* ─── VS comparison cards on paper ──────────────────────────────────── */
.surface-paper .vs-card {
  background: var(--paper-card);
  border-color: var(--line-on-paper-2);
  box-shadow: 0 14px 40px -20px rgba(38, 22, 95, 0.16), 0 1px 2px rgba(38, 22, 95, 0.04);
}
.surface-paper .vs-card--old { opacity: 1; }
.surface-paper .vs-card--new {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), rgba(124, 92, 255, 0.01));
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 24px 60px -28px rgba(124, 92, 255, 0.45);
}
.surface-paper .vs-card .vs-label { color: var(--violet-on-paper); }
.surface-paper .vs-card--old .vs-label { color: var(--ink-on-paper-3); }
.surface-paper .vs-card .vs-title { color: var(--ink-on-paper); }
.surface-paper .vs-card .vs-price .price-num { color: var(--ink-on-paper); }
.surface-paper .vs-card--new .vs-price .price-num {
  background: linear-gradient(135deg, #7c5cff 0%, #4a2ed1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.surface-paper .vs-card .vs-price .price-unit { color: var(--ink-on-paper-3); }
.surface-paper .vs-card .vs-foot { color: var(--ink-on-paper-3); }
.surface-paper .vs-divider { color: var(--ink-on-paper-3); }
.surface-paper .vs-divider .vs-arrow { color: var(--violet-on-paper); }

/* ─── Savings banner ("R150,000 saved per project") on paper ──────────── */
.surface-paper .savings-banner {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.10), rgba(183, 148, 255, 0.04));
  border-color: rgba(124, 92, 255, 0.30);
  color: var(--ink-on-paper);
}
.surface-paper .savings-banner strong { color: var(--violet-on-paper); }

/* ─── Math block on paper (defensive — used in older copy) ──────────── */
.surface-paper .math-block { color: var(--ink-on-paper-2); }
.surface-paper .math-block strong { color: var(--violet-on-paper); }
.surface-paper .math-total { color: var(--ink-on-paper); border-top-color: rgba(124, 92, 255, 0.22); }

/* ─── Sys cards on paper — proper light cards (the dark-card assumption was wrong; the original sys-card uses transparent rgba whites that vanish on paper) ─── */
.surface-paper .sys-card {
  background: var(--paper-card);
  border-color: var(--line-on-paper-2);
  box-shadow: 0 14px 40px -20px rgba(38, 22, 95, 0.16), 0 1px 2px rgba(38, 22, 95, 0.04);
}
.surface-paper .sys-card-num { color: var(--violet-on-paper); }
.surface-paper .sys-card-title { color: var(--ink-on-paper); }
.surface-paper .sys-card-body { color: var(--ink-on-paper-2); }
.surface-paper .sys-card-meta { border-top-color: var(--line-on-paper); }
.surface-paper .sys-card-meta .label { color: var(--ink-on-paper-3); }
.surface-paper .sys-card-meta .val { color: var(--ink-on-paper); }
.surface-paper .sys-card-meta .val.rate { color: var(--violet-on-paper); }

/* ─── Lesson list on paper ──────────────────────────────────────────── */
.surface-paper .lessons { border-top-color: var(--line-on-paper); }
.surface-paper .lesson { border-bottom-color: var(--line-on-paper); }
.surface-paper .lesson:hover { background: rgba(124, 92, 255, 0.05); }
.surface-paper .lesson-num { color: var(--ink-on-paper-4); }
.surface-paper .lesson-body h3 { color: var(--ink-on-paper); }
.surface-paper .lesson-body p { color: var(--ink-on-paper-3); }
.surface-paper .lesson-meta { color: var(--ink-on-paper-3); }
.surface-paper .lesson-featured {
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.07), transparent);
}
.surface-paper .lesson-featured .lesson-num {
  background: linear-gradient(180deg, #7c5cff, #4a2ed1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── Who v2 columns on paper ───────────────────────────────────────── */
.surface-paper .who2-col {
  background: var(--paper-card);
  border-color: var(--line-on-paper-2);
  box-shadow: 0 14px 40px -20px rgba(38, 22, 95, 0.14);
}
.surface-paper .who2-col.yes { border-color: rgba(124, 92, 255, 0.4); }
.surface-paper .who2-col.no { border-color: rgba(208, 70, 70, 0.35); }
.surface-paper .who2-heading { color: var(--ink-on-paper-2); }
.surface-paper .who2-col.yes .who2-heading { color: var(--violet-on-paper); }
.surface-paper .who2-col.no .who2-heading { color: #c84545; }
.surface-paper .who2-list li { color: var(--ink-on-paper-2); }
.surface-paper .who2-col.yes li::before {
  background-color: rgba(124, 92, 255, 0.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235a3ce6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8l3.5 3.5L13 5'/></svg>");
}
.surface-paper .who2-col.no li::before {
  background-color: rgba(208, 70, 70, 0.14);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c84545' stroke-width='2.4' stroke-linecap='round'><path d='M4 4l8 8M12 4l-8 8'/></svg>");
}

/* ─── FAQ on paper ──────────────────────────────────────────────────── */
.surface-paper .faq-item {
  background: var(--paper-card);
  border-color: var(--line-on-paper);
  box-shadow: 0 1px 2px rgba(38, 22, 95, 0.04);
}
.surface-paper .faq-item:hover { border-color: var(--line-on-paper-2); }
.surface-paper .faq-item[open] {
  border-color: rgba(124, 92, 255, 0.35);
  background: rgba(124, 92, 255, 0.04);
}
.surface-paper .faq-item summary { color: var(--ink-on-paper); }
.surface-paper .faq-chevron::before,
.surface-paper .faq-chevron::after { background: var(--violet-on-paper); }
.surface-paper .faq-answer { color: var(--ink-on-paper-2); }
.surface-paper .faq-answer em { color: var(--violet-on-paper); font-style: normal; font-weight: 500; }
.surface-paper .faq-answer strong { color: var(--ink-on-paper); }

/* ════════════════════════════════════════════════════════════════════════
 * BRIDGES — hard cuts with a violet "seam" stitching the two surfaces.
 * 2px brand-violet line that holds across most of the width and fades
 * out near the edges, plus a soft outer glow so the brand light bleeds
 * into both adjacent sections (reads as a deliberate seal, not a rule).
 * ══════════════════════════════════════════════════════════════════════ */
.bridge {
  position: relative;
  width: 100%;
  height: 6px;
  z-index: 2;
  pointer-events: none;
  /* Clip the side fade and glow to the bridge's own box on x-axis so the
     glow can't push horizontal overflow on small screens */
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(124, 92, 255, 0.55) 12%,
    rgba(183, 148, 255, 0.95) 50%,
    rgba(124, 92, 255, 0.55) 88%,
    transparent 100%
  );
  box-shadow:
    0 0 20px rgba(124, 92, 255, 0.55),
    0 0 56px rgba(124, 92, 255, 0.22);
}
/* Direction classes kept for HTML stability but render identically */
.bridge.bridge-d-l,
.bridge.bridge-l-d { /* same as .bridge */ }

/* Scale the seam down on phones — 6px + 20/56 glow is too heavy on a small screen */
@media (max-width: 640px) {
  .bridge {
    height: 4px;
    box-shadow:
      0 0 14px rgba(124, 92, 255, 0.50),
      0 0 36px rgba(124, 92, 255, 0.18);
  }
}
