:root {
  --bg: #0a0a0b;
  --bg-raised: #131315;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3efe6;
  --muted: #9a958b;
  --gold: #f5c542;
  --gold-soft: rgba(245, 197, 66, 0.14);
  --red: #ff5a4e;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1120px;
  --gutter: clamp(16px, 5vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Film grain + vignette, the "lit from one lamp" look of the ads. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(245, 197, 66, 0.07), transparent 70%),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.65));
}

body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main, header, footer { position: relative; z-index: 2; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 15px;
}

.brand-mark {
  width: 22px;
  height: 28px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 55%;
  height: 1.5px;
  background: var(--gold);
}

.nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav a { text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: clamp(32px, 7vw, 90px);
  padding-bottom: clamp(56px, 9vw, 120px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 90, 78, 0.18);
  animation: rec 1.6s ease-in-out infinite;
}

@keyframes rec { 50% { opacity: 0.25; } }

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 9.5vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
}

h1 em { font-style: italic; color: var(--gold); }

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 30em;
  margin: 0 0 34px;
}

.lede strong { color: var(--text); font-weight: 500; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  font-size: 14px;
  font-weight: 500;
}

.pill svg { width: 16px; height: 16px; }

.pill-note { font-size: 13px; color: var(--muted); margin-left: 4px; }

/* ---------- The face + meter visual ---------- */

.stage {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 420px;
  width: 100%;
  justify-self: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(245, 197, 66, 0.10), transparent 70%),
    linear-gradient(180deg, #111113, #0b0b0c);
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.stage-top {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.stage-top .live { color: var(--red); }

.oval {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 56%;
  aspect-ratio: 3 / 4;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(245, 197, 66, 0.85);
  box-shadow: 0 0 40px rgba(245, 197, 66, 0.18), inset 0 0 40px rgba(245, 197, 66, 0.06);
  animation: oval 7s ease-in-out infinite;
}

/* A minimal face drawn inside the oval: two eyes, a mouth that twitches. */
.oval .eye {
  position: absolute;
  top: 40%;
  width: 14%;
  height: 3px;
  border-radius: 3px;
  background: rgba(243, 239, 230, 0.75);
}
.oval .eye.l { left: 26%; }
.oval .eye.r { right: 26%; }

.oval .mouth {
  position: absolute;
  left: 50%;
  top: 68%;
  width: 30%;
  height: 3px;
  border-radius: 3px;
  background: rgba(243, 239, 230, 0.75);
  transform: translateX(-50%);
  animation: mouth 7s ease-in-out infinite;
}

@keyframes mouth {
  0%, 38% { transform: translateX(-50%) scaleX(1); border-radius: 3px; height: 3px; }
  52% { transform: translateX(-50%) scaleX(1.12); }
  64% { transform: translateX(-50%) scaleX(1.35) translateY(-2px); height: 10px; border-radius: 0 0 20px 20px; }
  78% { transform: translateX(-50%) scaleX(1.5) translateY(-4px); height: 16px; border-radius: 0 0 30px 30px; }
  90%, 100% { transform: translateX(-50%) scaleX(1); height: 3px; border-radius: 3px; }
}

@keyframes oval {
  0%, 60% { border-color: rgba(245, 197, 66, 0.85); }
  78%, 86% { border-color: var(--red); box-shadow: 0 0 60px rgba(255, 90, 78, 0.35); }
  100% { border-color: rgba(245, 197, 66, 0.85); }
}

.meter {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 70px;
}

.meter-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.meter-track {
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 8%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gold), #ffb03a 70%, var(--red));
  animation: fill 7s ease-in-out infinite;
}

@keyframes fill {
  0% { width: 6%; }
  30% { width: 18%; }
  45% { width: 14%; }
  64% { width: 58%; }
  80%, 86% { width: 100%; }
  100% { width: 6%; }
}

.ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.ticks span { width: 1px; height: 6px; background: rgba(255,255,255,0.18); }
.ticks span:nth-child(5n+1) { height: 10px; background: rgba(245,197,66,0.6); }

.verdict {
  position: absolute;
  left: 0;
  right: 0;
  top: 44%;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 7vw, 56px);
  line-height: 1;
  color: var(--text);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
  opacity: 0;
  animation: verdict 7s ease-in-out infinite;
}

@keyframes verdict {
  0%, 76% { opacity: 0; transform: translateY(-40%) scale(0.96); }
  80%, 90% { opacity: 1; transform: translateY(-50%) scale(1); }
  100% { opacity: 0; transform: translateY(-50%); }
}

.watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 230, 0.35);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
}

.section-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  max-width: 14em;
}

h2 em { font-style: italic; color: var(--gold); }

.section-intro { color: var(--muted); max-width: 34em; margin: 0; font-size: 18px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  counter-reset: step;
}

.step {
  padding: 30px 26px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 38px;
}

.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 12px;
}

.step p { margin: 0; color: var(--muted); font-size: 16px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.facts { list-style: none; margin: 0; padding: 0; }

.facts li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}

.facts li:first-child { padding-top: 4px; }

.facts strong { display: block; color: var(--text); font-weight: 500; font-size: 17px; margin-bottom: 2px; }

.facts svg { width: 20px; height: 20px; margin-top: 3px; color: var(--gold); }

.closing { text-align: center; }
.closing h2 { margin-left: auto; margin-right: auto; }
.closing .section-intro { margin: 0 auto 34px; }
.closing .cta-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Legal / text pages ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(64px, 9vw, 110px);
}

.doc h1 { font-size: clamp(46px, 8vw, 76px); margin-bottom: 14px; }

.doc .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 48px;
}

.doc h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 52px 0 14px;
}

.doc h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }

.doc p, .doc li { color: #cfcac0; font-size: 16.5px; }

.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--gold); text-underline-offset: 3px; }

.callout {
  border: 1px solid rgba(245, 197, 66, 0.3);
  background: var(--gold-soft);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 28px 0;
}

.callout p { margin: 0; color: var(--text); }

.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: #cfcac0; }
.doc th { color: var(--text); font-weight: 600; font-size: 14px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 56px; }
  .stage { max-width: 360px; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
}

@media (max-width: 420px) {
  .nav a.hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .meter-fill { width: 64%; }
}
