:root {
  --ink: #08070d;
  --panel: #111018;
  --panel-2: #18121e;
  --paper: #f6eee7;
  --muted: #ab9ead;
  --ember: #ff7a1a;
  --gold: #ffd166;
  --violet: #8f63ba;
  --line: rgba(255,255,255,.11);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border .3s ease, height .3s ease;
}
.site-header.scrolled, .site-header.compact {
  height: 64px;
  background: rgba(8,7,13,.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 25%; box-shadow: 0 0 24px rgba(255,111,24,.32); }
.brand span { font-size: 12px; letter-spacing: .19em; font-weight: 800; }
nav { display: flex; gap: 28px; margin-left: auto; }
nav a, footer a { color: #c6bac9; text-decoration: none; font-size: 12px; letter-spacing: .05em; }
nav a:hover, footer a:hover { color: var(--gold); }
.nav-cta {
  text-decoration: none;
  color: #1a0c08;
  background: var(--gold);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
  padding: 120px max(7vw, calc((100vw - var(--max))/2)) 90px;
}
.hero-art, .hero-vignette { position: absolute; inset: 0; z-index: -3; }
.hero-art {
  background: url('hero-1600.png') center 42% / cover no-repeat;
  filter: saturate(.9) contrast(1.06);
  transform: scale(1.02);
}
.hero-vignette {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,4,9,.94) 0%, rgba(5,4,9,.68) 40%, rgba(5,4,9,.25) 69%, rgba(5,4,9,.76) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 28%, rgba(0,0,0,.12) 75%, rgba(0,0,0,.6) 100%);
}
.hero-copy { max-width: 680px; }
.eyebrow, .section-kicker {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--ember); box-shadow: 0 0 8px var(--ember); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(58px, 8vw, 116px); }
h2 { font-size: clamp(48px, 6.2vw, 88px); }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.lede, .section-intro { color: #c9beca; font-size: clamp(16px, 1.6vw, 20px); max-width: 590px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, border .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #180b08; background: linear-gradient(135deg, var(--gold), var(--ember)); border-color: transparent; box-shadow: 0 12px 34px rgba(255,91,20,.2); }
.button.primary:hover { box-shadow: 0 16px 45px rgba(255,91,20,.33); }
.button.ghost { background: rgba(10,8,14,.48); backdrop-filter: blur(8px); color: #eadfeb; }
.button svg { width: 25px; height: 25px; fill: currentColor; }
.button small { display: block; font-size: 8px; line-height: 1; letter-spacing: .14em; }
.button span { line-height: 1.05; }

.run-card {
  align-self: end;
  justify-self: end;
  width: min(100%, 330px);
  margin-bottom: 6vh;
  padding: 22px;
  border: 1px solid rgba(255,209,102,.23);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(10,8,14,.86), rgba(24,14,26,.71));
  box-shadow: 0 28px 80px rgba(0,0,0,.4), inset 0 0 80px rgba(118,53,72,.06);
  backdrop-filter: blur(14px);
}
.run-card-top { display: flex; justify-content: space-between; color: #978b9d; font-size: 9px; letter-spacing: .14em; }
.run-card-top strong { color: var(--gold); }
.flame-reading { display: flex; align-items: baseline; justify-content: center; gap: 7px; padding: 20px 0 12px; }
.flame-reading strong { font: 400 64px/.9 Georgia, serif; color: #fff0ca; }
.flame-reading span { color: #9d8ea1; }
.flame-reading .flame-mark { color: var(--ember); font-size: 21px; transform: rotate(45deg); text-shadow: 0 0 18px var(--ember); }
.flame-bar { height: 5px; border-radius: 4px; background: #2d2131; overflow: hidden; }
.flame-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff4b17, var(--gold)); box-shadow: 0 0 16px var(--ember); }
.run-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 18px; }
.run-actions div { padding: 10px 5px; background: rgba(255,255,255,.04); border: 1px solid var(--line); text-align: center; }
.run-actions span, .run-actions b { display: block; font-size: 9px; letter-spacing: .08em; }
.run-actions b { color: var(--gold); margin-top: 3px; }
.run-actions .danger b { color: #ff795b; }
.run-card p { margin: 17px 0 0; color: #918594; text-align: center; font: italic 13px/1.4 Georgia, serif; }
.scroll-cue { position: absolute; left: max(7vw, calc((100vw - var(--max))/2)); bottom: 28px; display: flex; align-items: center; gap: 12px; color: #776d7d; text-decoration: none; font-size: 9px; letter-spacing: .18em; }
.scroll-cue i { width: 45px; height: 1px; background: #594d60; }

.ember-field { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ember-field i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px var(--ember); animation: ember-rise 7s linear infinite; }
.ember-field i:nth-child(1){left:18%;top:85%;animation-delay:-1s}.ember-field i:nth-child(2){left:46%;top:74%;animation-delay:-4s}.ember-field i:nth-child(3){left:65%;top:88%;animation-delay:-2.4s}.ember-field i:nth-child(4){left:76%;top:69%;animation-delay:-6s}.ember-field i:nth-child(5){left:31%;top:93%;animation-delay:-5s}.ember-field i:nth-child(6){left:89%;top:91%;animation-delay:-.4s}
@keyframes ember-rise { to { transform: translate(30px,-400px) scale(.2); opacity: 0; } }

.manifesto, .features { max-width: var(--max); margin: 0 auto; padding: 150px 28px; }
.manifesto { text-align: center; }
.manifesto .section-intro { margin: 0 auto 70px; }
.cost-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); text-align: left; }
.cost-card { display: grid; grid-template-columns: 110px 1fr; gap: 25px; align-items: center; min-height: 190px; padding: 34px; background: var(--ink); }
.cost-card .cost { color: var(--gold); font: 400 48px/1 Georgia, serif; }
.cost-card h3 { margin-bottom: 7px; font-size: 18px; }
.cost-card p { margin: 0; color: var(--muted); font-size: 14px; }

.tradeoff { display: grid; grid-template-columns: 1fr 1fr; min-height: 800px; background: #0c0910; border-block: 1px solid var(--line); }
.tradeoff-visual { position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle, #2b0f18 0, #0b080f 55%, #07060a 100%); }
.tradeoff-visual img { width: min(72%, 580px); position: relative; z-index: 2; mix-blend-mode: screen; filter: contrast(1.08); }
.ring { position: absolute; border: 1px solid rgba(255,125,45,.17); border-radius: 50%; }
.ring-one { width: 62%; aspect-ratio: 1; animation: breathe 5s ease-in-out infinite; }
.ring-two { width: 86%; aspect-ratio: 1; animation: breathe 5s 1s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.04); opacity: .45; } }
.tradeoff-copy { padding: clamp(80px, 10vw, 160px) clamp(36px, 7vw, 110px); align-self: center; }
.tradeoff-copy > p { max-width: 520px; color: var(--muted); font-size: 18px; }
.tradeoff-copy ul { margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.tradeoff-copy li { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); }
.tradeoff-copy li span, .tradeoff-copy li small { color: var(--gold); font-size: 10px; letter-spacing: .09em; }
.tradeoff-copy li b { font-size: 14px; }
.tradeoff-copy li small { color: #9c8da2; }

.feature-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 70px; }
.feature-heading h2 { margin: 0; }
.feature-heading p { max-width: 360px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.feature-grid article { min-height: 290px; padding: 30px; border-right: 1px solid var(--line); }
.feature-grid article:last-child { border: 0; }
.feature-grid span { color: var(--ember); font: 400 23px Georgia, serif; }
.feature-grid h3 { margin: 70px 0 15px; font-size: 18px; }
.feature-grid p { color: var(--muted); font-size: 14px; }

.final-cta { min-height: 620px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 24px; text-align: center; background: radial-gradient(circle at 50% 55%, rgba(145,53,31,.25), transparent 34%), #0a080e; border-top: 1px solid var(--line); }
.final-cta img { border-radius: 24px; box-shadow: 0 0 50px rgba(255,91,20,.24); }
.final-cta p { margin: 28px 0 11px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.final-cta h2 { margin-bottom: 38px; }

footer { min-height: 110px; display: flex; align-items: center; gap: 30px; padding: 30px max(5vw, calc((100vw - var(--max))/2)); border-top: 1px solid var(--line); color: #756b78; }
footer p { margin: 0 auto; font-size: 11px; }
footer div { display: flex; gap: 20px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.legal-page { background: linear-gradient(145deg, #160c18, var(--ink) 420px) no-repeat; }
.legal-shell { width: min(850px, calc(100% - 40px)); margin: 0 auto; padding: 150px 0 100px; }
.legal-shell h1 { font-size: clamp(52px, 8vw, 88px); }
.legal-updated { color: #95899b; font-size: 13px; }
.legal-summary { margin: 48px 0; padding: 24px 26px; border-left: 2px solid var(--ember); background: rgba(255,255,255,.04); }
.legal-summary strong { color: var(--gold); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.legal-summary p { margin: 8px 0 0; color: #d1c7d3; }
.legal-content h2 { margin: 44px 0 10px; font: 400 27px/1.2 Georgia, serif; color: #fff0da; letter-spacing: -.02em; }
.legal-content p { color: #b3a8b7; }
.legal-content a { color: var(--gold); text-underline-offset: 3px; }

@media (max-width: 900px) {
  nav { display: none; }
  .site-header { height: 64px; background: linear-gradient(rgba(8,7,13,.75), transparent); }
  .site-header .nav-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; align-content: center; padding-top: 110px; }
  .hero-art { background-position: 55% center; opacity: .74; }
  .hero-vignette { background: linear-gradient(90deg, rgba(5,4,9,.92), rgba(5,4,9,.35)), linear-gradient(0deg, var(--ink), transparent 55%, rgba(0,0,0,.5)); }
  .run-card { display: none; }
  .cost-grid { grid-template-columns: 1fr; }
  .tradeoff { grid-template-columns: 1fr; }
  .tradeoff-visual { min-height: 560px; }
  .feature-heading { display: block; }
  .feature-heading p { margin-top: 30px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid article:nth-child(2) { border-right: 0; }
  .feature-grid article { border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 17px; }
  .brand span { font-size: 10px; }
  .nav-cta { padding: 9px 12px; font-size: 9px; }
  .hero { padding-inline: 22px; padding-bottom: 70px; }
  h1 { font-size: clamp(55px, 18vw, 76px); }
  .lede { font-size: 16px; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .manifesto, .features { padding: 100px 20px; }
  .cost-card { grid-template-columns: 75px 1fr; gap: 12px; min-height: 160px; padding: 24px 18px; }
  .cost-card .cost { font-size: 36px; }
  .tradeoff-visual { min-height: 420px; }
  .tradeoff-copy { padding: 80px 24px; }
  .tradeoff-copy li { grid-template-columns: 65px 1fr; }
  .tradeoff-copy li small { grid-column: 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { border-right: 0; min-height: 230px; }
  .feature-grid h3 { margin-top: 45px; }
  footer { flex-direction: column; text-align: center; }
  footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
