/* =================================================================
   AI LANDLORD — "The Night Shift Dossier"
   Editorial operations-file aesthetic. Dark cinematic + warm paper.
================================================================= */

:root {
  --paper:    #F1ECE2;   /* warm parchment base */
  --paper-2:  #FBF8F1;   /* lighter card surface */
  --paper-3:  #E7DFD0;   /* inset / beige */
  --ink:      #16130D;   /* warm near-black */
  --ink-2:    #423A2C;   /* muted body */
  --ink-3:    #756B58;   /* faint / meta */
  --night:    #15241D;   /* deep forest night */
  --night-2:  #0D1813;   /* darker */
  --night-3:  #1E342A;   /* raised surface on dark */
  --ember:    #E08A2E;   /* amber lamp glow accent */
  --ember-2:  #F0A94E;   /* lighter ember */
  --pine:     #2E5A40;   /* calm green */
  --pine-lt:  #5E8A6C;
  --bone:     #F6F1E7;
  --line:     rgba(22,19,13,.13);
  --line-2:   rgba(22,19,13,.07);
  --line-d:   rgba(246,241,231,.14);   /* hairline on dark */
  --line-d2:  rgba(246,241,231,.07);

  --disp: "Bricolage Grotesque", "Georgia", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --r: 4px;          /* sharp, dossier corners */
  --r-lg: 8px;
  --shadow: 0 1px 2px rgba(22,19,13,.04), 0 18px 50px -20px rgba(22,19,13,.22);
  --shadow-d: 0 30px 90px -30px rgba(0,0,0,.7), 0 0 0 1px var(--line-d);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ember); color: var(--night-2); }

h1, h2, h3, h4 { font-family: var(--disp); font-weight: 700; letter-spacing: -0.02em; line-height: 1.04; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .wrap, .wrap-narrow { padding: 0 22px; } }

section { padding: 120px 0; position: relative; }
@media (max-width: 720px) { section { padding: 76px 0; } }

/* ---------- Mono system labels ---------- */
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.sec-mark {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.sec-mark::before {
  content: "";
  width: 34px; height: 1.5px;
  background: var(--ember);
}
.on-dark .sec-mark { color: var(--ember-2); }
.on-dark .sec-mark::before { background: var(--ember); }

.sec-title {
  font-size: clamp(34px, 5vw, 60px);
  color: var(--ink);
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.sec-title .accent { color: var(--pine); }
.on-dark .sec-title { color: var(--bone); }
.on-dark .sec-title .accent { color: var(--ember-2); }
.sec-sub {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-2);
  max-width: 56ch;
  margin-top: 22px;
  line-height: 1.55;
}
.on-dark .sec-sub { color: rgba(246,241,231,.72); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 16px 28px;
  background: var(--bg);
  color: var(--fg);
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  position: relative;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s;
  box-shadow: 0 2px 0 rgba(0,0,0,.18);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -2px rgba(0,0,0,.14), 0 16px 30px -14px rgba(0,0,0,.4); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-ember { --bg: var(--ember); --fg: var(--night-2); box-shadow: 0 2px 0 rgba(140,80,12,.5), 0 14px 30px -16px rgba(224,138,46,.8); }
.btn-ember:hover { background: var(--ember-2); }
.btn-ghost {
  --bg: transparent; --fg: var(--bone);
  border: 1.5px solid var(--line-d); box-shadow: none;
}
.btn-ghost:hover { background: rgba(246,241,231,.06); box-shadow: none; }
.btn-lg { padding: 19px 34px; font-size: 18px; }

.reassure {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.on-dark .reassure { color: rgba(246,241,231,.6); }
.reassure .tick { color: var(--pine); }
.on-dark .reassure .tick { color: var(--ember-2); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 80;
  background: rgba(21,36,29,.0);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(241,236,226,.85);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--disp); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--bone); transition: color .3s; white-space: nowrap; flex: none; }
.topbar.scrolled .brand { color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; flex: none; border-radius: var(--r);
  overflow: hidden; display: block;
}
.brand-mark svg { display: block; width: 100%; height: 100%; }
/* the light, breathing */
.al-glow { transform-box: fill-box; transform-origin: center; animation: breathe 3.6s ease-in-out infinite; }
.al-light { transform-box: fill-box; transform-origin: center; animation: charge 3.6s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: .38; transform: scale(.92); } 50% { opacity: .72; transform: scale(1.06); } }
@keyframes charge {
  0%,100% { opacity: .82; transform: scale(1); filter: drop-shadow(0 0 0.4px rgba(240,169,78,.35)); }
  50%     { opacity: 1;   transform: scale(1.05); filter: drop-shadow(0 0 2.6px rgba(240,169,78,.95)); }
}
.brand small { display: block; font-family: var(--mono); font-weight: 500; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; margin-top: 1px; }
.topbar .btn { padding: 11px 20px; font-size: 14px; }
.topbar:not(.scrolled) .btn-ember { box-shadow: 0 2px 0 rgba(140,80,12,.5); }
@media (max-width: 560px) { .brand .brand-name { display: none; } }

/* =================================================================
   HERO — cinematic night
================================================================= */
.hero {
  position: relative;
  background: var(--night);
  color: var(--bone);
  margin-top: -78px;
  padding: 156px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(224,138,46,.30), transparent 58%),
    radial-gradient(820px 600px at 8% 108%, rgba(46,90,64,.45), transparent 60%),
    linear-gradient(180deg, var(--night-2), var(--night) 40%, var(--night-2));
}
.hero::after { /* grain + vignette */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 0%, transparent 55%, rgba(0,0,0,.45));
  opacity: .9;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ember-2); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px;
}
.hero-eyebrow .clock {
  font-weight: 700; color: var(--bone); background: rgba(224,138,46,.14);
  border: 1px solid rgba(224,138,46,.4); padding: 3px 10px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.hero h1 {
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: .98; letter-spacing: -0.035em; color: var(--bone);
}
.hero h1 .glow { color: var(--ember-2); display: block; }
.hero-sub {
  font-size: clamp(18px, 1.7vw, 21px); color: rgba(246,241,231,.74);
  max-width: 50ch; margin: 28px 0 36px; line-height: 1.55;
}
.hero-sub strong { color: var(--bone); font-weight: 600; }
.hero-cta { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 940px) {
  .hero { padding: 104px 0 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Glowing live session card ---------- */
.session {
  background: var(--paper-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--ink);
}
.hero-session { position: relative; }
.hero-session .session {
  box-shadow: var(--shadow-d), 0 0 70px -10px rgba(224,138,46,.35);
}
.hero-session::before { /* lamp halo */
  content: ""; position: absolute; inset: -40px; z-index: -1;
  background: radial-gradient(closest-side, rgba(224,138,46,.28), transparent 70%);
  filter: blur(20px);
}
.session-head {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-3), var(--paper-2));
}
.session-mark { width: 30px; height: 30px; flex: none; border-radius: var(--r); display: grid; place-items: center; background: var(--night); color: var(--ember-2); }
.session-id { font-family: var(--disp); font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.1; }
.session-id small { display: block; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .03em; color: var(--ink-3); margin-top: 2px; text-transform: none; }
.session-live { margin-left: auto; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pine); display: inline-flex; align-items: center; gap: 7px; }
.session-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pine); box-shadow: 0 0 0 3px rgba(46,90,64,.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.session-body { padding: 18px; display: grid; gap: 14px; }

.msg { display: flex; }
.msg.user { justify-content: flex-end; }
.msg.user .bubble {
  max-width: 88%; background: var(--night); color: var(--bone);
  padding: 12px 16px; font-size: 14.5px; line-height: 1.5;
  border-radius: var(--r-lg); border-bottom-right-radius: 2px;
}
.msg.ai { flex-direction: column; align-items: stretch; gap: 12px; }
.msg.ai .who { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.msg.ai .who .who-dot { width: 18px; height: 18px; border-radius: 5px; flex: none; display: grid; place-items: center; background: var(--night); color: var(--ember-2); }
.ai-text { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.ai-text strong { color: var(--ink); font-weight: 600; }

/* Incident record artifact */
.record { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bone); }
.record-top { padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.record-id { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--night); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.badge-open { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a5410; background: rgba(224,138,46,.16); border: 1px solid rgba(224,138,46,.45); padding: 2px 7px; border-radius: 999px; }
.record-meta { margin-top: 9px; display: grid; grid-template-columns: repeat(2, auto); gap: 4px 24px; font-size: 12px; color: var(--ink-3); justify-content: start; }
.record-meta b { color: var(--ink-2); font-weight: 600; }
.record-log { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.record-log th { text-align: left; font-family: var(--mono); font-weight: 600; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 8px 14px; background: var(--paper-3); }
.record-log td { padding: 9px 14px; border-top: 1px solid var(--line-2); color: var(--ink-2); vertical-align: top; line-height: 1.4; }
.record-log td.when { white-space: nowrap; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.record-log td.src { color: var(--pine); font-weight: 600; white-space: nowrap; font-family: var(--mono); font-size: 10.5px; }
.record-log tr.stamp td { animation: stampin .5s both; }
@keyframes stampin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .record-meta { grid-template-columns: 1fr; } }

.sendtext { border: 1px solid rgba(46,90,64,.3); background: rgba(46,90,64,.06); border-radius: var(--r); padding: 13px 15px; }
.st-label { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pine); display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.st-msg { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* streaming caret */
.stream-caret::after { content: "▋"; color: var(--ember); margin-left: 1px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* =================================================================
   TICKER — tenant message marquee
================================================================= */
.ticker { background: var(--night-2); border-top: 1px solid var(--line-d2); border-bottom: 1px solid var(--line-d2); padding: 0; overflow: hidden; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: marquee 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 14px; padding: 17px 34px; color: rgba(246,241,231,.66); font-size: 14px; white-space: nowrap; border-right: 1px solid var(--line-d2); }
.ticker-item .tt { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =================================================================
   PROBLEM — editorial dossier list
================================================================= */
.problem { background: var(--paper); }
.problem-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 56px; align-items: end; }
@media (max-width: 880px) { .problem-head { grid-template-columns: 1fr; gap: 20px; } }
.pain-list { margin-top: 70px; border-top: 1px solid var(--ink); }
.pain-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 28px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  align-items: baseline; transition: background .3s, padding .3s;
}
.pain-row:hover { background: linear-gradient(90deg, rgba(224,138,46,.05), transparent); }
.pain-row .idx { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ember); padding-top: 4px; }
.pain-row .pain-body { display: grid; grid-template-columns: 1fr; gap: 6px; }
.pain-row h3 { font-size: clamp(20px, 2.4vw, 27px); color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.pain-row p { color: var(--ink-3); font-size: 16px; max-width: 60ch; }
@media (max-width: 600px) { .pain-row { grid-template-columns: 1fr; gap: 8px; } .pain-row .idx { padding-top: 0; } }

/* =================================================================
   DARK BAND (quote / generic)
================================================================= */
.band {
  background: var(--night); color: var(--bone); text-align: center; overflow: hidden;
  position: relative; isolation: isolate;
}
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 50% 0%, rgba(224,138,46,.16), transparent 60%), radial-gradient(700px 420px at 80% 120%, rgba(46,90,64,.4), transparent 55%); }
.band blockquote { font-family: var(--disp); font-size: clamp(32px, 5.4vw, 62px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; max-width: 18ch; margin: 0 auto; }
.band blockquote .em { color: var(--ember-2); }
.band .q-sub { margin-top: 28px; color: rgba(246,241,231,.66); font-size: 18px; max-width: 56ch; margin-left: auto; margin-right: auto; line-height: 1.55; }

/* =================================================================
   SOLUTION — featured + supporting capabilities
================================================================= */
.solution { background: var(--bone); }
.cap-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 64px; }
.cap {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px;
  background: var(--paper-2); display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(224,138,46,.5); }
.cap .cap-idx { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--ember); }
.cap .cap-ic { width: 48px; height: 48px; border-radius: var(--r); display: grid; place-items: center; background: var(--night); color: var(--ember-2); }
.cap h3 { font-size: 23px; color: var(--ink); letter-spacing: -0.02em; }
.cap p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.cap p .lead { color: var(--pine); font-weight: 600; }
.cap.feature { grid-column: span 6; background: var(--night); color: var(--bone); border-color: var(--night-3); }
.cap.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 300px at 100% 0%, rgba(224,138,46,.22), transparent 60%); pointer-events: none; }
.cap.feature h3 { color: var(--bone); font-size: clamp(26px, 3vw, 34px); }
.cap.feature p { color: rgba(246,241,231,.74); font-size: 16.5px; }
.cap.feature .cap-ic { background: var(--ember); color: var(--night-2); }
.cap.feature .cap-idx { color: var(--ember-2); }
.cap.feature .lead { color: var(--ember-2); }
.cap.span6 { grid-column: span 6; }
.cap.span4 { grid-column: span 4; }
@media (max-width: 900px) { .cap, .cap.feature, .cap.span6, .cap.span4 { grid-column: span 6; } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } .cap, .cap.feature, .cap.span6, .cap.span4 { grid-column: 1 / -1; } }

/* =================================================================
   PROOF — "arrives already built" + transcript
================================================================= */
.proof { background: var(--paper); }
.starter { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 38px 28px; text-align: center; max-width: 780px; margin: 60px auto 0; box-shadow: var(--shadow); position: relative; }
.starter::before { content: "PRE-LOADED"; position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--ember); border: 1px solid rgba(224,138,46,.4); border-radius: 999px; padding: 3px 9px; }
.starter-mark { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--night); color: var(--ember-2); }
.starter h3 { font-size: 26px; color: var(--ink); }
.starter-by { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); margin-top: 7px; display: inline-flex; align-items: center; gap: 7px; }
.starter-tag { font-size: 16px; color: var(--ink-2); max-width: 46ch; margin: 14px auto 0; line-height: 1.5; }
.starter-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0 18px; text-align: left; }
.starter-card { border: 1px solid var(--line); border-radius: var(--r); padding: 15px; background: var(--bone); font-size: 13px; line-height: 1.45; color: var(--ink-2); display: flex; flex-direction: column; gap: 10px; min-height: 110px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.starter-card:hover { transform: translateY(-3px); border-color: rgba(224,138,46,.5); box-shadow: var(--shadow); }
.starter-card .sc-ic { width: 30px; height: 30px; border-radius: var(--r); flex: none; display: grid; place-items: center; background: var(--paper-3); color: var(--night); }
.starter-card .sc-txt strong { font-family: var(--disp); color: var(--ink); display: block; font-size: 13.5px; margin-bottom: 2px; }
.starter-composer { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 11px 11px 11px 18px; background: var(--bone); color: var(--ink-3); font-size: 14px; text-align: left; font-family: var(--mono); font-size: 12.5px; }
.starter-composer .sc-send { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--night); color: var(--bone); display: grid; place-items: center; flex: none; }
@media (max-width: 720px) { .starter-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .starter-cards { grid-template-columns: 1fr; } .starter { padding: 32px 20px 22px; } }

.proof-caption { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-3); text-align: center; margin-top: 16px; }
.proof-caption em { color: var(--pine); font-style: normal; }
.transcript { max-width: 820px; margin: 56px auto 0; }
.transcript .session { box-shadow: var(--shadow); border: 1px solid var(--line); }
.chat-note { max-width: 60ch; margin: 18px auto 0; text-align: center; font-size: 14px; color: var(--ink-3); line-height: 1.55; }

/* =================================================================
   TIMELINE — how it works
================================================================= */
.how { background: var(--bone); }
.timeline { margin-top: 64px; position: relative; }
.t-step { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 32px 0; border-top: 1px solid var(--line); position: relative; }
.t-step:last-child { border-bottom: 1px solid var(--line); }
.t-time { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--pine); text-transform: uppercase; letter-spacing: .08em; padding-top: 5px; }
.t-time b { display: block; font-family: var(--disp); font-size: 34px; color: var(--ember); letter-spacing: -0.03em; margin-bottom: 2px; text-transform: none; }
.t-body h3 { font-size: clamp(21px, 2.4vw, 27px); color: var(--ink); letter-spacing: -0.02em; margin-bottom: 8px; }
.t-body p { color: var(--ink-2); font-size: 16.5px; max-width: 62ch; line-height: 1.55; }
.t-body em { color: var(--pine); font-style: italic; }
.t-total { margin-top: 38px; display: inline-flex; align-items: center; gap: 12px; background: var(--night); color: var(--bone); font-family: var(--disp); font-weight: 700; padding: 16px 28px; border-radius: var(--r); font-size: 17px; }
.t-total .tick { color: var(--ember-2); display: inline-flex; }
@media (max-width: 640px) { .t-step { grid-template-columns: 1fr; gap: 10px; } }

/* =================================================================
   VALUE STACK
================================================================= */
.stack { background: var(--paper); }
.stack-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 56px; align-items: start; margin-top: 60px; }
@media (max-width: 920px) { .stack-grid { grid-template-columns: 1fr; gap: 40px; } }
.stack-table { border: 1px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.stack-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 22px; font-size: 15px; border-top: 1px solid var(--line); }
.stack-row:first-child { border-top: none; }
.stack-row .item { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.stack-row .item svg { flex: none; color: var(--pine); margin-top: 3px; }
.stack-row .val { font-family: var(--mono); font-weight: 600; color: var(--ink-3); white-space: nowrap; font-size: 14px; }
.bonus-tag { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); border: 1px solid rgba(224,138,46,.4); padding: 2px 7px; border-radius: 999px; margin-right: 8px; }
.stack-row.total { background: var(--paper-3); font-family: var(--disp); font-weight: 700; color: var(--ink); font-size: 16px; }
.stack-row.total .val { color: var(--ink); text-decoration: line-through; text-decoration-color: var(--ember); text-decoration-thickness: 2px; font-size: 16px; }
.stack-row.today { background: var(--night); color: var(--bone); font-family: var(--disp); font-weight: 800; font-size: 19px; }
.stack-row.today .val { color: var(--ember-2); font-size: 26px; }
.stack-note { margin-top: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--ink-3); display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; }
.stack-note svg { flex: none; color: var(--pine); margin-top: 2px; }

.stack-deliver { position: sticky; top: 104px; }
.deliver-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; font-size: 14px; line-height: 1.5; color: var(--ink-2); border-top: 1px solid var(--line); }
.deliver-row:first-child { border-top: none; }
.deliver-row svg { color: var(--pine); flex: none; margin-top: 2px; }
.deliver-row b { color: var(--ink); font-family: var(--disp); }
.deliver-foot { padding: 14px 18px; border-top: 1px solid var(--line); background: var(--paper-3); font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--ink-3); display: flex; align-items: center; gap: 9px; line-height: 1.5; }
.deliver-foot svg { color: var(--ember); flex: none; }
@media (max-width: 920px) { .stack-deliver { position: relative; top: auto; max-width: 540px; } }

/* =================================================================
   FIT
================================================================= */
.fit { background: var(--bone); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; }
.fit-col { border-radius: var(--r-lg); padding: 36px 34px; border: 1px solid var(--line); background: var(--paper-2); }
.fit-col.for { background: var(--night); border-color: var(--night-3); }
.fit-col h3 { font-size: 22px; margin-bottom: 22px; display: flex; align-items: center; gap: 11px; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.fit-col.for h3 { color: var(--ember-2); }
.fit-col.notfor h3 { color: var(--ink-3); }
.fit-col ul { list-style: none; display: grid; gap: 15px; }
.fit-col li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.fit-col li svg { flex: none; margin-top: 3px; }
.fit-col.for li { color: rgba(246,241,231,.86); }
.fit-col.for li svg { color: var(--ember-2); }
.fit-col.notfor li { color: var(--ink-3); }
.fit-col.notfor li svg { color: #B7AE9C; }
@media (max-width: 800px) { .fit-grid { grid-template-columns: 1fr; } }

/* =================================================================
   FOUNDER
================================================================= */
.founder { background: var(--paper); }
.founder-card { display: grid; grid-template-columns: 120px 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 50px; background: var(--paper-2); box-shadow: var(--shadow); }
.founder-photo { width: 120px; height: 120px; border-radius: var(--r-lg); background: var(--paper-3); display: grid; place-items: center; color: var(--ink-3); position: relative; overflow: hidden; }
.founder-photo::after { content: "PHOTO"; position: absolute; bottom: 9px; font-family: var(--mono); font-size: 8px; letter-spacing: .14em; color: var(--ink-3); }
.founder-card .sec-mark { margin-bottom: 16px; }
.founder-card p { color: var(--ink-2); font-size: 17.5px; line-height: 1.6; max-width: 70ch; }
.founder-card p strong { color: var(--ink); }
.founder-sign { display: block; margin-top: 16px; font-family: var(--disp); font-weight: 700; font-style: italic; font-size: 19px; color: var(--pine); }
@media (max-width: 680px) { .founder-card { grid-template-columns: 1fr; padding: 34px 26px; gap: 24px; } }

/* =================================================================
   GUARANTEE
================================================================= */
.guarantee { background: var(--bone); }
.g-card { display: grid; grid-template-columns: 130px 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; border: 1.5px solid var(--ember); border-radius: var(--r-lg); padding: 48px 52px; background: linear-gradient(150deg, rgba(224,138,46,.08), var(--paper-2)); }
.g-seal { width: 130px; height: 130px; border-radius: 50%; background: var(--night); color: var(--ember-2); display: grid; place-items: center; position: relative; }
.g-seal::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px dashed rgba(224,138,46,.55); }
.g-card h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--ink); margin-bottom: 12px; letter-spacing: -0.025em; }
.g-card p { color: var(--ink-2); font-size: 17px; max-width: 64ch; line-height: 1.55; }
.g-card a { color: var(--pine); font-weight: 600; }
@media (max-width: 680px) { .g-card { grid-template-columns: 1fr; padding: 34px 26px; gap: 24px; } }

/* =================================================================
   FAQ
================================================================= */
.faq { background: var(--paper); }
.faq-list { margin-top: 56px; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 26px 0; display: grid; grid-template-columns: 40px 1fr 34px; gap: 18px; align-items: center; font-family: var(--disp); font-weight: 700; font-size: clamp(18px, 2vw, 23px); color: var(--ink); letter-spacing: -0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-idx { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ember); letter-spacing: .04em; }
.faq-item summary .chev { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: transform .3s, background .3s, color .3s; }
.faq-item[open] summary .chev { transform: rotate(45deg); background: var(--night); color: var(--ember-2); border-color: var(--night); }
.faq-body { padding: 0 0 28px 58px; color: var(--ink-2); font-size: 16.5px; max-width: 76ch; line-height: 1.6; }
.faq-body em { color: var(--pine); font-style: italic; }
@media (max-width: 600px) { .faq-item summary { grid-template-columns: 28px 1fr 30px; gap: 12px; } .faq-body { padding-left: 0; } }

/* =================================================================
   OPT-IN
================================================================= */
.optin { background: var(--bone); }
.optin-card { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 50px; background: var(--paper-2); text-align: center; box-shadow: var(--shadow); }
.optin-card h2 { font-size: clamp(24px, 3vw, 32px); color: var(--ink); margin: 14px 0 10px; letter-spacing: -0.025em; }
.optin-card > p { color: var(--ink-2); font-size: 16px; max-width: 52ch; margin: 0 auto; line-height: 1.5; }
.optin-form { display: flex; gap: 10px; margin: 26px auto 0; max-width: 500px; }
.optin-form input { flex: 1; min-width: 0; font-family: var(--sans); font-size: 16px; padding: 15px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bone); color: var(--ink); }
.optin-form input:focus { outline: 2px solid var(--pine); }
.optin-note { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .02em; }
.optin-note a { color: var(--pine); text-decoration: underline; }
.optin-reveal { display: none; text-align: left; margin-top: 26px; }
.optin-reveal.show { display: block; }
.email-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bone); }
.ec-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--paper-3); border-bottom: 1px solid var(--line); font-family: var(--disp); font-weight: 700; font-size: 15px; color: var(--ink); }
.ec-head svg { color: var(--pine); flex: none; }
.ec-when { padding: 14px 20px 0; font-family: var(--mono); font-size: 11px; color: var(--ember); letter-spacing: .02em; }
.ec-body { padding: 10px 20px 18px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.ec-sms { margin: 0 20px 18px; padding: 14px 16px; background: rgba(46,90,64,.07); border: 1px solid rgba(46,90,64,.22); border-radius: var(--r); font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.ec-sms strong { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--pine); margin-bottom: 5px; }
.ec-foot { padding: 12px 20px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.ec-foot a { color: var(--pine); font-weight: 600; }
@media (max-width: 560px) { .optin-card { padding: 34px 22px; } .optin-form { flex-direction: column; } }

/* =================================================================
   BUY — climactic dark
================================================================= */
.buy { background: var(--night); color: var(--bone); text-align: center; overflow: hidden; isolation: isolate; }
.buy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(760px 440px at 50% -5%, rgba(224,138,46,.26), transparent 58%), radial-gradient(700px 460px at 12% 110%, rgba(46,90,64,.45), transparent 55%); }
.buy-card { max-width: 660px; margin: 0 auto; }
.buy h2 { font-size: clamp(34px, 5vw, 60px); color: var(--bone); letter-spacing: -0.03em; margin: 22px 0 12px; }
.buy .buy-lede { color: rgba(246,241,231,.72); font-size: 18px; max-width: 50ch; margin: 0 auto 36px; line-height: 1.5; }
.price-block { border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 40px 34px; margin-bottom: 28px; background: rgba(246,241,231,.03); }
.price-was { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: rgba(246,241,231,.6); }
.price-was s { text-decoration-color: var(--ember); text-decoration-thickness: 2px; }
.price-now { font-family: var(--disp); font-size: clamp(64px, 10vw, 92px); font-weight: 800; line-height: .9; color: var(--ember-2); margin: 10px 0 6px; letter-spacing: -0.04em; }
.price-now sup { font-size: .42em; vertical-align: .9em; margin-right: 3px; }
.price-today { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,241,231,.62); margin-bottom: 28px; }
.buy .btn { width: 100%; max-width: 460px; justify-content: center; }
.buy-icons { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 22px; }
.buy-icons .bi { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: rgba(246,241,231,.78); }
.buy-icons .bi svg { color: var(--ember-2); flex: none; }
.smallprint { margin-top: 26px; font-family: var(--mono); font-size: 11px; color: rgba(246,241,231,.5); letter-spacing: .02em; }

/* =================================================================
   FOOTER
================================================================= */
footer { background: var(--night-2); color: rgba(246,241,231,.62); padding: 56px 0; font-size: 14px; border-top: 1px solid var(--line-d2); }
.foot-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-top { display: flex; align-items: center; gap: 14px; }
.foot-mark { width: 40px; height: 40px; flex: none; border-radius: var(--r); overflow: hidden; }
.foot-mark svg { display: block; width: 100%; height: 100%; }
.foot-brand { font-family: var(--disp); font-weight: 800; color: var(--bone); font-size: 18px; }
.foot-brand small { display: block; font-family: var(--mono); font-weight: 400; color: rgba(246,241,231,.5); font-size: 11.5px; letter-spacing: .02em; margin-top: 6px; max-width: 38ch; line-height: 1.5; }
.foot-right { text-align: right; font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; line-height: 1.9; }
.foot-right a { text-decoration: underline; }
@media (max-width: 640px) { .foot-right { text-align: left; } }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(13,24,19,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line-d2); transform: translateY(120%); transition: transform .3s; }
.mobile-cta.show { transform: translateY(0); }
.mobile-cta .btn { width: 100%; }
@media (max-width: 768px) { .mobile-cta { display: block; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* =================================================================
   VSL — video sales letter placeholder (founder / upsell spots)
================================================================= */
.vsl { max-width: 880px; margin: 0 auto; }
.vsl-frame {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden;
  cursor: pointer; border: 1px solid var(--line-d);
  background: radial-gradient(720px 420px at 50% -12%, rgba(224,138,46,.20), transparent 60%), linear-gradient(180deg, #15241D, #0D1813);
  box-shadow: var(--shadow-d);
}
.vsl-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 0%, transparent 52%, rgba(0,0,0,.5)); }
.vsl-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(246,241,231,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(246,241,231,.045) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent 90%); mask-image: radial-gradient(closest-side, #000, transparent 90%); }
.vsl-tag { position: absolute; top: 16px; left: 18px; z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone); display: flex; align-items: center; gap: 8px; }
.vsl-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E2483A; box-shadow: 0 0 0 3px rgba(226,72,58,.25); animation: pulse 2s infinite; }
.vsl-dur { position: absolute; top: 15px; right: 18px; z-index: 3; font-family: var(--mono); font-size: 11px; color: rgba(246,241,231,.72); background: rgba(0,0,0,.32); padding: 3px 8px; border-radius: 4px; }
.vsl-play { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; }
.vsl-play .pbtn { width: 84px; height: 84px; border-radius: 50%; background: var(--ember); color: var(--night-2); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(224,138,46,.5); animation: vslring 2.6s infinite; transition: transform .2s; padding-left: 5px; }
.vsl-frame:hover .pbtn { transform: scale(1.07); background: var(--ember-2); }
@keyframes vslring { 0% { box-shadow: 0 0 0 0 rgba(224,138,46,.5); } 70% { box-shadow: 0 0 0 24px rgba(224,138,46,0); } 100% { box-shadow: 0 0 0 0 rgba(224,138,46,0); } }
.vsl-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 22px 22px 24px; display: flex; align-items: center; gap: 14px; background: linear-gradient(0deg, rgba(13,24,19,.94), transparent); }
.vsl-cap .vc-txt b { font-family: var(--disp); font-weight: 700; color: var(--bone); font-size: clamp(15px,2vw,18px); display: block; line-height: 1.2; }
.vsl-cap .vc-txt span { font-family: var(--mono); font-size: 11px; color: rgba(246,241,231,.6); letter-spacing: .02em; }
.vsl-scrub { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 4; background: rgba(246,241,231,.16); }
.vsl-scrub::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16%; background: var(--ember); }
.vsl-note { text-align: center; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); }
.on-dark .vsl-note { color: rgba(246,241,231,.5); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .session-live::before { animation: none; }
  .stream-caret::after { display: none; }
  * { animation-duration: .001s !important; }
}
