/* ============================================================
   Bidhood — styles
   Neuro-Noise shader background · rounded surfaces · techno display
   + mono data. No live/mock data anywhere; the page describes a rule.
   ============================================================ */

:root {
  --bg: #0a1712;
  --bg2: #0e2018;
  --card: rgba(16, 30, 24, .74);
  --card2: rgba(21, 38, 30, .80);
  --line: rgba(120, 200, 165, .18);
  --line2: rgba(120, 200, 165, .30);
  --ink: #eaf5ef;
  --mut: #b2ccbf;
  --dim: #84a093;
  --gold: #56d79b;
  --gold2: #7fe9b6;
  --gold-soft: rgba(86, 215, 155, .12);
  --pink: #7fa896;
  --pink-soft: rgba(127, 168, 150, .12);
  --display: "Orbitron", "Space Grotesk", sans-serif;
  --sans: "Space Grotesk", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Code", Consolas, monospace;
  --r: 16px;
  --r-sm: 12px;
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono { font-family: var(--mono); }
.gold { color: var(--gold); }
.pink { color: var(--pink); }
.dim { color: var(--dim); }
a { color: inherit; }
::selection { background: rgba(86, 215, 155, .3); color: #04160e; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- shader background ---------- */

.bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: var(--bg); }
#shaderBg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bg-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 72% 12%, transparent 0%, rgba(10, 23, 18, .28) 70%),
    linear-gradient(to bottom, rgba(10, 23, 18, .18) 0%, rgba(10, 23, 18, .08) 30%, rgba(10, 23, 18, .32) 100%);
}

/* ---------- scroll progress + rail ---------- */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--gold2));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
.rail {
  position: fixed; left: 20px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 3px; z-index: 40;
}
.rail a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  color: var(--dim); opacity: .55; text-decoration: none;
  padding: 4px 8px; border-left: 2px solid transparent;
  transition: color .25s, opacity .25s, border-color .25s;
}
.rail a:hover { opacity: 1; color: var(--ink); }
.rail a.active { opacity: 1; color: var(--gold); border-left-color: var(--gold); }
@media (max-width: 1300px) { .rail { display: none; } }

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 14px 28px;
  background: rgba(10, 23, 18, .55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.brand-tick {
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  background: var(--gold-soft); border: 1px solid rgba(86, 215, 155, .25);
  padding: 2px 8px; border-radius: 100px;
}
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px; color: var(--mut); text-decoration: none;
  padding: 7px 13px; border-radius: 100px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(120, 200, 165, .08); }
.nav-links a.active { color: var(--gold); }
.nav-burger { display: none; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  padding: 13px 26px; border-radius: 100px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-solid {
  background: var(--gold); color: #04160e;
  box-shadow: 0 12px 34px -10px rgba(86, 215, 155, .5);
}
.btn-solid:hover { background: var(--gold2); box-shadow: 0 16px 42px -10px rgba(86, 215, 155, .68); }
.btn-ghost { color: var(--ink); border-color: var(--line2); background: rgba(120, 200, 165, .05); }
.btn-ghost:hover { border-color: rgba(120, 200, 165, .45); background: rgba(120, 200, 165, .1); }
.btn:not([href]) { cursor: default; opacity: .6; }
.btn-ghost:not([href]):hover { border-color: var(--line2); background: rgba(120, 200, 165, .05); }
.soon {
  font-family: var(--mono); font-size: 10px; color: var(--gold);
  border: 1px solid rgba(86, 215, 155, .35); border-radius: 100px;
  padding: 1px 7px; text-transform: uppercase; letter-spacing: .05em;
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
  transition-delay: calc(var(--rd, 0) * 90ms);
}
[data-reveal].revealed { opacity: 1; transform: none; }
html.no-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; filter: none !important; }
[data-delay="1"] { --rd: 1; } [data-delay="2"] { --rd: 2; } [data-delay="3"] { --rd: 3; } [data-delay="4"] { --rd: 4; }
.sec-head[data-reveal] { filter: blur(9px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1), filter .9s ease; }
.sec-head[data-reveal].revealed { filter: blur(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; filter: none; } }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 60px; overflow: hidden;
}
@media (min-height: 1400px) { .hero { min-height: 960px; } }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 22% 50%, rgba(10, 23, 18, .5), transparent 62%);
}
.hero-inner {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .92fr);
  gap: 54px; align-items: center; width: 100%;
}
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7; }
.hero-h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 4vw, 48px); line-height: 1.16; letter-spacing: .01em;
  margin-bottom: 26px;
  text-shadow: 0 2px 40px rgba(10, 23, 18, .6);
}
.hero-h1 em, .sec-head em, .closing-h em, .loop-tagline em { font-style: normal; color: var(--gold); }
.hl { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hl-in { display: inline-block; transform: translateY(112%); animation: hlUp .95s cubic-bezier(.16,.84,.28,1) .1s forwards; }
.hl:nth-child(2) .hl-in { animation-delay: .24s; }
@keyframes hlUp { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hl-in { transform: none; animation: none; } }
html.no-reveal .hl-in { transform: none; animation: none; }
.hero-sub { font-size: 17.5px; color: var(--mut); max-width: 54ch; margin-bottom: 32px; }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.hero-chips li {
  font-family: var(--mono); font-size: 12.5px; color: var(--ink);
  border: 1px solid var(--line); background: rgba(16, 30, 24, .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 100px; padding: 6px 13px; display: flex; gap: 8px; align-items: center;
}
.chip-k { color: var(--dim); text-transform: uppercase; font-size: 10.5px; letter-spacing: .08em; }

/* ---------- rulebook card ---------- */

.rulebook {
  background: var(--card); border: 1px solid var(--line2); border-radius: var(--r);
  overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.rulebook-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--line); background: rgba(21, 38, 30, .5);
}
.rb-title { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.rb-tag { font-family: var(--mono); font-size: 10px; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(86, 215, 155,.3); border-radius: 100px; padding: 3px 10px; letter-spacing: .05em; }
.rulebook-list { list-style: none; padding: 8px 20px; }
.rulebook-list li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.rulebook-list li:last-child { border-bottom: none; }
.rb-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.rb-v { font-size: 13.5px; color: var(--mut); }
.rulebook-foot { padding: 13px 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--dim); letter-spacing: .04em; }

/* ---------- slogan tape ---------- */

.slogan { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(12, 24, 18, .42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow: hidden; padding: 20px 0; position: relative; z-index: 2; }
.slogan-track { display: flex; width: max-content; animation: slogan 38s linear infinite; }
.slogan:hover .slogan-track { animation-play-state: paused; }
@keyframes slogan { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .slogan-track { animation: none; } }
.s-line {
  font-family: var(--display); font-size: clamp(18px, 2.4vw, 28px); line-height: 1.15;
  letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; padding-right: 28px; color: transparent;
  -webkit-text-stroke: 1px rgba(234, 245, 239, .32);
}
.s-line b { font-weight: 500; color: var(--ink); -webkit-text-stroke: 0 transparent; }

/* ---------- sections ---------- */

.section { padding: 128px 0; position: relative; background: rgba(11, 22, 17, .34); }
.section-alt { background: rgba(15, 28, 22, .46); }
main { counter-reset: secn; }
.section:not(.closing):not(.live-section) > .container { position: relative; }
.section:not(.closing):not(.live-section) > .container::before {
  counter-increment: secn; content: "0" counter(secn);
  position: absolute; top: -52px; right: 0;
  font-family: var(--mono); font-weight: 600; font-size: clamp(88px, 11vw, 158px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(120, 200, 165, .16);
  pointer-events: none; user-select: none;
}
.sec-head { max-width: 720px; margin-bottom: 60px; }
.sec-num { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.sec-num::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7; }
.sec-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.2; letter-spacing: .01em; margin-bottom: 20px; }
.sec-lede { color: var(--mut); font-size: 16.5px; max-width: 62ch; }
.sec-lede strong { color: var(--ink); }
.formula { font-family: var(--mono); font-size: 13.5px; color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--r-sm); display: inline-block; margin-bottom: 12px; }

/* ---------- 01 loop ---------- */

.loop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; }
.loop-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 24px 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1) calc(var(--rd,0)*90ms), transform .7s cubic-bezier(.2,.6,.2,1) calc(var(--rd,0)*90ms), translate .25s, border-color .25s, box-shadow .25s;
}
.loop-card:hover { border-color: rgba(86, 215, 155,.35); translate: 0 -4px; box-shadow: 0 22px 54px -22px rgba(0,0,0,.7); }
.loop-idx { font-family: var(--mono); font-size: 12px; color: var(--gold); width: 30px; height: 30px; border-radius: 100px; border: 1px solid rgba(86, 215, 155,.35); background: var(--gold-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.loop-card h3 { font-family: var(--display); font-weight: 500; font-size: 17px; margin-bottom: 12px; }
.loop-card p { font-size: 14px; color: var(--mut); }
.loop-note { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px !important; color: var(--dim) !important; }
.loop-tagline { margin-top: 54px; text-align: center; font-family: var(--display); font-size: clamp(16px, 2.2vw, 21px); color: var(--mut); }
.loop-tagline em { color: var(--gold); }

/* ---------- 02 corridor ---------- */

.corridor-lab { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 70px -40px rgba(0,0,0,.8); }
.lab-hint { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.lab-readout { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.lab-bps { font-size: clamp(40px, 5vw, 58px); font-weight: 600; color: var(--ink); }
.lab-bps-unit { color: var(--dim); font-size: 14px; }
.lab-zone { margin-left: auto; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .12em; padding: 7px 16px; border-radius: 100px; border: 1px solid var(--line2); color: var(--mut); transition: all .25s; }
.lab-zone.zone-buy { color: #04160e; background: var(--gold); border-color: var(--gold); box-shadow: 0 0 24px -4px var(--gold); }
.lab-zone.zone-news { color: var(--pink); background: var(--pink-soft); border-color: rgba(127, 168, 150,.4); }
.lab-slider-wrap { position: relative; margin-bottom: 30px; }
.lab-zones { display: flex; height: 34px; border-radius: 100px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 2px; }
.lab-zones .z { flex: 0 0 var(--w); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.z-hold { background: rgba(120, 200, 165,.05); color: var(--dim); }
.z-buy { background: var(--gold-soft); color: var(--gold); border-left: 1px solid rgba(86, 215, 155,.3); border-right: 1px solid rgba(86, 215, 155,.3); }
.z-news { background: var(--pink-soft); color: rgba(127, 168, 150,.8); }
#labRange { width: 100%; appearance: none; -webkit-appearance: none; height: 26px; background: transparent; cursor: pointer; margin-top: -32px; position: relative; z-index: 2; }
#labRange::-webkit-slider-runnable-track { height: 2px; background: transparent; }
#labRange::-webkit-slider-thumb { -webkit-appearance: none; width: 6px; height: 44px; border-radius: 100px; background: var(--ink); margin-top: -22px; box-shadow: 0 0 0 4px rgba(234, 245, 239,.12), 0 0 16px rgba(234, 245, 239,.35); }
#labRange::-moz-range-track { height: 2px; background: transparent; }
#labRange::-moz-range-thumb { width: 6px; height: 44px; border: none; border-radius: 100px; background: var(--ink); box-shadow: 0 0 0 4px rgba(234, 245, 239,.12), 0 0 16px rgba(234, 245, 239,.35); }
.lab-marks { position: relative; height: 18px; margin-top: 12px; }
.lab-marks span { position: absolute; left: var(--x); transform: translateX(-50%); font-size: 10.5px; color: var(--dim); }
.lab-marks span:first-child { transform: none; } .lab-marks span:last-child { transform: translateX(-100%); }
.lab-out { display: grid; grid-template-columns: 1fr 1.4fr; grid-auto-rows: 1fr; gap: 16px; }
.lab-card-curve { grid-column: 2; grid-row: 1 / 3; }
.lab-card { background: var(--card2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px; }
.lab-card-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.lab-card-v { font-size: 14px; color: var(--ink); }
.lab-meter { height: 8px; border-radius: 100px; background: rgba(120, 200, 165,.1); position: relative; margin-bottom: 10px; }
.lab-meter span { display: block; height: 100%; border-radius: 100px; width: 0; background: linear-gradient(90deg, #2b5f47, var(--gold)); transition: width .2s ease-out; }
.lab-meter i { position: absolute; top: -4px; bottom: -4px; width: 2px; left: 100%; background: var(--pink); border-radius: 2px; }
#labCurve { width: 100%; height: 120px; display: block; }
.lab-card-hint { font-size: 11.5px; color: var(--dim); margin-top: 10px; }
.corridor-rules { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.rule-row { display: grid; grid-template-columns: 130px 1fr 1.4fr; gap: 18px; align-items: baseline; background: rgba(16, 30, 24,.5); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 20px; font-size: 14px; }
.rule-row-buy { border-color: rgba(86, 215, 155,.3); background: rgba(86, 215, 155,.05); }
.rule-band { font-size: 13px; } .rule-what { color: var(--ink); } .rule-why { color: var(--dim); font-size: 13px; }

/* ---------- 03 week ---------- */

.week-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.week-grid { display: flex; flex-direction: column; gap: 7px; }
.week-row { display: flex; gap: 7px; align-items: center; }
.week-day { font-family: var(--mono); font-size: 10.5px; color: var(--dim); width: 34px; flex: none; text-transform: uppercase; }
.week-cell { flex: 1; aspect-ratio: 1.6; border-radius: 5px; background: rgba(120, 200, 165,.07); min-width: 0; }
.week-cell.open { background: var(--gold); box-shadow: 0 0 10px -2px rgba(86, 215, 155,.6); }
.week-cell.half { background: rgba(86, 215, 155,.45); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-reveal) .week-wrap:not(.wave) .week-cell { opacity: 0; transform: scale(.5); }
  .week-wrap.wave .week-cell { animation: cellIn .45s cubic-bezier(.2,.7,.3,1.25) both; animation-delay: calc(var(--i,0) * 5ms); }
}
@keyframes cellIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
.week-legend { display: flex; gap: 24px; margin-top: 20px; font-size: 11px; color: var(--dim); }
.wl { display: flex; align-items: center; gap: 8px; }
.wl::before { content: ""; width: 12px; height: 8px; border-radius: 3px; }
.wl-open::before { background: var(--gold); } .wl-off::before { background: rgba(120, 200, 165,.12); }
.week-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.wstat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; text-align: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wstat-hot { border-color: rgba(86, 215, 155,.35); background: linear-gradient(180deg, rgba(86, 215, 155,.1), rgba(16, 30, 24,.75)); }
.wstat-n { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; }
.wstat-hot .wstat-n { color: var(--gold); }
.wstat-l { color: var(--dim); font-size: 13px; }
.aside-note { margin-top: 46px; padding: 26px 30px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(86, 215, 155,.07), transparent 70%); border-radius: 0 var(--r) var(--r) 0; color: var(--mut); font-size: 16px; max-width: 760px; }

/* ---------- 04 rain ---------- */

.rain-formula { text-align: center; margin-bottom: 46px; }
.rain-formula code { display: inline-block; font-size: clamp(16px, 2.6vw, 24px); color: var(--ink); background: var(--card); border: 1px solid var(--line2); border-radius: var(--r); padding: 20px 34px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 60px -30px rgba(0,0,0,.9); }
.rain-formula .sub { font-size: .6em; color: var(--gold); vertical-align: sub; }
.rain-formula p { margin-top: 14px; color: var(--dim); font-size: 13.5px; font-family: var(--mono); }
.rain-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rain-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .7s cubic-bezier(.2,.6,.2,1) calc(var(--rd,0)*90ms), transform .7s cubic-bezier(.2,.6,.2,1) calc(var(--rd,0)*90ms), translate .25s, border-color .25s; }
.rain-card:hover { border-color: rgba(86, 215, 155,.35); translate: 0 -4px; }
.rain-card h3 { font-family: var(--display); font-weight: 500; font-size: 16px; margin-bottom: 9px; }
.rain-card p { font-size: 13.5px; color: var(--mut); }

/* ---------- 05 metric ---------- */

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.metric-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.metric-k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.atlaunch { color: var(--gold); border: 1px solid rgba(86, 215, 155,.35); border-radius: 100px; padding: 2px 9px; }
.metric-formula { display: block; font-size: 14px; color: var(--gold); background: rgba(86, 215, 155,.06); border: 1px solid rgba(86, 215, 155,.2); border-radius: var(--r-sm); padding: 16px 18px; margin-bottom: 18px; line-height: 1.5; }
.metric-p { color: var(--mut); font-size: 14.5px; }
.metric-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.metric-list li { font-size: 14.5px; color: var(--mut); padding-left: 24px; position: relative; }
.metric-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); }

/* ---------- live / trustless section ---------- */
.live-section { background: rgba(13, 26, 20, .5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.live-tag { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pulse 2.2s infinite; }

.live-buys { margin-top: 26px; border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.live-buys[hidden] { display: none; }
.live-buys-head, .buy-row {
  display: grid; grid-template-columns: 120px 1.2fr .9fr .8fr 1.4fr; gap: 14px;
  padding: 13px 20px; align-items: center; font-size: 13px;
}
.live-buys-head { background: rgba(21, 38, 30, .6); border-bottom: 1px solid var(--line); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; }
.buy-row { border-bottom: 1px dashed var(--line); color: var(--mut); }
.buy-row:last-child { border-bottom: none; }
.buy-row:hover { background: rgba(86, 215, 155, .04); }
.buy-disc { color: var(--gold); font-weight: 600; }
.buy-row a { color: var(--gold2); text-decoration: none; border-bottom: 1px dotted rgba(127, 233, 182, .4); }
.buy-row a:hover { border-bottom-color: var(--gold2); }
.buy-tx-plain { color: var(--mut); }
.live-buys-foot { padding: 12px 20px; color: var(--dim); font-size: 11px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .live-buys-head { display: none; }
  .buy-row { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .buy-row .lb-block { display: none; }
}

/* live dashboard status + stats (fed by /api/status + /api/metrics) */
.demo-badge {
  display: inline-block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(86, 215, 155, .3);
  border-radius: 100px; padding: 5px 13px; margin-bottom: 14px;
}
.dash-status { display: flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .04em; color: var(--mut); margin-bottom: 22px; }
.dash-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.dash-status.live { color: var(--gold); }
.dash-status.live .dot { background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pulse 2.2s infinite; }
.dash-status.err { color: var(--pink); }
.dash-status.err .dot { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.dash-live { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.dash-live[hidden] { display: none; }
.dstat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 22px 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dstat-n { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.dstat-l { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 760px) { .dash-live { grid-template-columns: 1fr 1fr; } }

/* ---------- 06 versus ---------- */

.vs-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.vs-row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; border-bottom: 1px solid var(--line); }
.vs-row:last-child { border-bottom: none; }
.vs-row > span { padding: 16px 22px; font-size: 14px; }
.vs-row > span:first-child { font-family: var(--mono); font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; background: rgba(21, 38, 30,.4); }
.vs-row > span:nth-child(2) { color: var(--dim); border-left: 1px solid var(--line); }
.vs-row > span:nth-child(3) { color: var(--ink); border-left: 1px solid rgba(86, 215, 155,.25); background: rgba(86, 215, 155,.05); }
.vs-row:not(.vs-head):hover > span:nth-child(3) { background: rgba(86, 215, 155,.1); }
.vs-head { background: rgba(21, 38, 30,.55); }
.vs-head > span { font-family: var(--mono) !important; font-size: 11px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--mut) !important; }
.vs-head > span:nth-child(3) { color: var(--gold) !important; }

/* ---------- 07 honesty ---------- */

.honesty-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 46px; align-items: start; }
.hcol { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hcol-t { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.hcol-code { color: var(--gold); } .hcol-trust { color: var(--pink); }
.hcol-t::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.hcol ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.hcol li { font-size: 14.5px; color: var(--mut); padding-left: 22px; position: relative; }
.hcol li::before { content: "—"; position: absolute; left: 0; color: var(--dim); }
.risks { max-width: 760px; }
.risks-t { font-family: var(--display); font-weight: 600; font-size: 19px; margin-bottom: 18px; }
.risks details { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .2s; }
.risks details[open] { border-color: var(--line2); }
.risks summary { cursor: pointer; padding: 16px 20px; font-size: 15px; font-weight: 600; list-style: none; display: flex; align-items: center; }
.risks summary::-webkit-details-marker { display: none; }
.risks summary::after { content: "+"; margin-left: auto; font-family: var(--mono); color: var(--dim); font-size: 16px; transition: transform .2s; }
.risks details[open] summary::after { transform: rotate(45deg); }
.risks details p { padding: 0 20px 18px; color: var(--mut); font-size: 14.5px; }

/* ---------- 08 stages ---------- */

.stages { list-style: none; max-width: 720px; position: relative; }
.stages::before { content: ""; position: absolute; left: 22px; top: 14px; bottom: 14px; width: 1px; background: var(--line2); }
.stages li { display: flex; gap: 26px; padding: 20px 0; position: relative; }
.st-n { flex: none; width: 46px; height: 46px; border-radius: 100px; background: var(--card2); border: 1px solid var(--line2); color: var(--gold); font-size: 12.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.stages h3 { font-family: var(--display); font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.stages p { color: var(--mut); font-size: 14.5px; max-width: 56ch; }

/* ---------- closing + footer ---------- */

.closing { text-align: center; padding: 150px 0 140px; background: rgba(11, 22, 17,.28); }
.closing-h { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3.6vw, 42px); line-height: 1.22; margin-bottom: 40px; }
.closing-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.footer { border-top: 1px solid var(--line); padding: 44px 0 54px; background: rgba(10, 21, 16,.6); }
.footer-top { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.footer .brand { text-decoration: none; }
.footer-motto { margin-left: auto; font-size: 11.5px; color: var(--dim); letter-spacing: .14em; text-transform: uppercase; }
.footer-legal { color: var(--dim); font-size: 12.5px; line-height: 1.75; max-width: 900px; }

/* ============================================================ responsive ============================================================ */

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero::before { background: radial-gradient(ellipse 120% 60% at 50% 40%, rgba(10, 23, 18,.45), transparent 70%); }
  .rulebook { max-width: 560px; }
  .loop-grid { grid-template-columns: 1fr 1fr; }
  .rain-cards { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .lab-out { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .lab-card-curve { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 760px) {
  .section { padding: 88px 0; }
  .container { padding: 0 20px; }
  .nav { gap: 14px; padding: 12px 20px; }
  .nav-links { position: fixed; top: 58px; left: 0; right: 0; flex-direction: column; padding: 12px 20px 20px; background: rgba(10, 23, 18,.98); border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 15px; }
  .nav-burger { display: flex; }
  .hero { padding-top: 110px; }
  .slogan { padding: 14px 0; }
  .section:not(.closing):not(.live-section) > .container::before { font-size: 62px; top: -32px; -webkit-text-stroke: 1px rgba(120, 200, 165,.16); }
  .loop-grid, .rain-cards { grid-template-columns: 1fr; }
  .week-stats { grid-template-columns: 1fr; }
  .honesty-cols { grid-template-columns: 1fr; }
  .lab-out { grid-template-columns: 1fr; }
  .corridor-lab { padding: 22px; }
  .week-day { width: 26px; }
  .rule-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .vs-row { grid-template-columns: 1fr; }
  .vs-row > span { padding: 10px 16px; }
  .vs-row > span:nth-child(2), .vs-row > span:nth-child(3) { border-left: none; }
  .vs-row > span:nth-child(2)::before { content: "timer: "; color: var(--dim); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
  .vs-row > span:nth-child(3)::before { content: "bidhood: "; color: var(--gold); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
  .vs-head { display: none; }
  .stages::before { left: 18px; } .st-n { width: 38px; height: 38px; } .stages li { gap: 18px; }
}
