/* ==========================================================================
   HydroBit — investor site
   Dark, industrial, cinematic. Self-contained: no external requests.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2-variations"),
       url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geistmono-var.woff2") format("woff2-variations"),
       url("fonts/geistmono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink:        #04070b;
  --ink-1:      #070d14;
  --ink-2:      #0a1521;
  --ink-3:      #0e1c2b;
  --line:       rgba(126, 176, 210, 0.14);
  --line-2:     rgba(126, 176, 210, 0.26);

  --text:       #e8eef5;
  --text-2:     #9fb3c6;
  --text-3:     #6f8497;

  --water:      #48d7ee;
  --water-dim:  #1f8fae;
  --water-glow: rgba(72, 215, 238, 0.55);
  --btc:        #f5a524;
  --btc-soft:   #ffcf70;
  --btc-glow:   rgba(245, 165, 36, 0.45);

  --max:        1220px;
  --pad:        clamp(20px, 4.4vw, 56px);

  --font-sans:  "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: var(--water); text-decoration: none; }
a:hover { color: #8ceaff; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: rgba(72, 215, 238, 0.26); color: #fff; }

:focus-visible {
  outline: 2px solid var(--water);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ----------------------------------------------------------- utilities -- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--water);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--btc { color: var(--btc); }
.eyebrow--plain { color: var(--text-3); }

.h2 {
  font-size: clamp(30px, 4.1vw, 54px);
  letter-spacing: -0.028em;
  line-height: 1.03;
}
.h3 {
  font-size: clamp(20px, 1.65vw, 24px);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.58;
  color: var(--text-2);
  max-width: 62ch;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.section {
  position: relative;
  padding-block: clamp(76px, 9vw, 132px);
  border-top: 1px solid var(--line);
}
.section--tight { padding-block: clamp(56px, 6vw, 84px); }

.section-head { max-width: 74ch; }
.section-head .h2 { margin-bottom: 20px; }

/* grain + vignette overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

/* ============================================================== NAV ==== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(4, 7, 11, 0);
  border-bottom: 1px solid transparent;
  transition: background 340ms var(--ease), border-color 340ms var(--ease),
              backdrop-filter 340ms var(--ease);
}
.nav.is-stuck {
  background: rgba(5, 10, 16, 0.82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-stretch: 106%;
}
.brand:hover { color: #fff; }
.brand__mark {
  width: 22px; height: 22px;
  flex: none;
  color: var(--water);
}
.brand__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--btc);
  margin-left: -3px;
  box-shadow: 0 0 9px var(--btc-glow);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color 200ms, border-color 200ms;
}
.nav__links a:hover {
  color: var(--text);
  border-bottom-color: var(--water);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--text) !important;
  background: rgba(72, 215, 238, 0.06);
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.nav__cta:hover {
  background: rgba(72, 215, 238, 0.14);
  border-color: rgba(72, 215, 238, 0.55);
  border-bottom-color: rgba(72, 215, 238, 0.55) !important;
}

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: rgba(10, 21, 33, 0.6);
  color: var(--text);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 16px; height: 1.5px;
  margin: 3.5px auto;
  background: currentColor;
  transition: transform 240ms var(--ease), opacity 180ms;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ============================================================= HERO ==== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #050a10;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

/* Master is 1104x600, sharpened from a 736x400 original. We scale it only
   enough to cover, then soften with a gradient wash so any residual softness
   reads as atmosphere rather than detail. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  /* The master is a 6 s loop and its first and last frames do not match, so a
     very slow scale drift runs underneath it and the cut stops reading as a cut.
     Alternating means it never snaps back to the start of the range. */
  transform: scale(1);
  will-change: transform;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

/* Poster sits under the video for instant paint + graceful degradation. */
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  z-index: -1;
}

.hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* bottom fade into the page */
    linear-gradient(180deg,
      rgba(5, 10, 16, 0.86) 0%,
      rgba(5, 10, 16, 0.34) 26%,
      rgba(5, 10, 16, 0.30) 50%,
      rgba(5, 10, 16, 0.80) 78%,
      var(--ink) 100%),
    /* side vignette keeps the eye centred */
    radial-gradient(120% 88% at 50% 46%,
      rgba(5, 10, 16, 0) 34%,
      rgba(5, 10, 16, 0.52) 100%),
    /* cool grading to match the page palette */
    linear-gradient(115deg,
      rgba(10, 40, 62, 0.34) 0%,
      rgba(6, 16, 26, 0.10) 46%,
      rgba(38, 24, 6, 0.20) 100%);
}

/* faint scanline / grid texture over the hero, very low contrast */
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(126, 176, 210, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126, 176, 210, 0.045) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  mask-image: radial-gradient(90% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 40%, #000 20%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--pad) clamp(46px, 7vh, 86px);
  padding-top: 120px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 13px 6px 11px;
  margin-bottom: 30px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(6, 14, 22, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero__tag i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--btc);
  box-shadow: 0 0 0 0 var(--btc-glow);
  animation: pulseDot 3.4s var(--ease) infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.5); }
  60%      { box-shadow: 0 0 0 7px rgba(245, 165, 36, 0); }
}

.hero h1 {
  font-size: clamp(40px, 7.6vw, 96px);
  letter-spacing: -0.038em;
  line-height: 0.94;
  font-weight: 640;
  font-stretch: 104%;
  max-width: 17ch;
  margin: 0 0 26px;
  text-shadow: 0 2px 40px rgba(4, 7, 11, 0.6);
}
.hero h1 em {
  font-style: normal;
  color: var(--water);
  position: relative;
  white-space: nowrap;
}

.hero__sub {
  max-width: 58ch;
  font-size: clamp(16px, 1.42vw, 20px);
  line-height: 1.6;
  color: #b9cadb;
  margin: 0 0 34px;
  text-shadow: 0 1px 24px rgba(4, 7, 11, 0.7);
}
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 220ms, border-color 220ms,
              color 220ms, box-shadow 260ms;
  will-change: transform;
}
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--primary {
  background: var(--water);
  color: #03141a;
  box-shadow: 0 0 0 0 rgba(72, 215, 238, 0.32);
}
.btn--primary:hover {
  background: #6ee6f7;
  color: #03141a;
  transform: translateY(-1px);
  box-shadow: 0 8px 34px -8px rgba(72, 215, 238, 0.6);
}

.btn--ghost {
  background: rgba(9, 20, 31, 0.42);
  border-color: var(--line-2);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(72, 215, 238, 0.5);
  background: rgba(16, 40, 56, 0.62);
  color: #fff;
  transform: translateY(-1px);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--line-2), transparent);
  animation: scrollLine 2.6s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.hero__meta {
  position: absolute;
  right: var(--pad);
  bottom: clamp(46px, 7vh, 86px);
  z-index: 2;
  display: none;
  gap: 30px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}
.hero__meta b {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-2);
  text-transform: none;
}

/* ===================================================== NUMBERS STRIP === */
.strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(14, 28, 43, 0.55), rgba(7, 13, 20, 0.75));
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.strip__item {
  padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2vw, 34px);
  position: relative;
}
.strip__item + .strip__item { border-left: 1px solid var(--line); }

.strip__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.strip__num {
  font-size: clamp(30px, 3.7vw, 46px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.strip__num span { font-size: 0.46em; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.strip__num--btc { color: var(--btc-soft); }
.strip__note {
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.42;
  color: var(--text-3);
  max-width: 30ch;
}

/* ========================================================= ENGINE ====== */
.engine__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
}
.engine__cta { margin-top: 28px; }
.engine__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
}
.engine__mark {
  width: 34px;
  height: 34px;
  color: var(--water);
  margin-bottom: 6px;
}
.engine__word {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.engine__line {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ======================================================== PROBLEM ====== */
.problem__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 82px);
  align-items: start;
}

.problem__copy .h2 { margin-bottom: 26px; }

.pullquote {
  margin-top: 38px;
  padding: 26px 0 26px 26px;
  border-left: 1px solid var(--water);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.36;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 500;
}
.pullquote span { color: var(--water); }

.cards {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.card {
  padding: clamp(22px, 2.4vw, 30px);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  transition: background 320ms var(--ease);
}
.card:hover { background: linear-gradient(180deg, #10202f, #0a1521); }
.card__k {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.card__k i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--water);
  flex: none;
}
.card h3 {
  font-size: 18.5px;
  letter-spacing: -0.012em;
  margin-bottom: 9px;
  font-weight: 600;
}
.card p {
  font-size: 14.8px;
  line-height: 1.58;
  color: var(--text-2);
  margin: 0;
}
.card--warm .card__k i { background: var(--btc); }

/* ========================================================= PRODUCT ===== */
.product { background: linear-gradient(180deg, var(--ink), #060d15 60%, var(--ink)); }

.product__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 70px);
  align-items: start;
  margin-top: clamp(36px, 4vw, 56px);
}

.spec {
  border-top: 1px solid var(--line);
}
.spec__row {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.spec__k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 3px;
}
.spec__v {
  font-size: 14.8px;
  line-height: 1.55;
  color: var(--text);
}
.spec__v em {
  font-style: normal;
  color: var(--text-2);
}
.spec__v b {
  font-weight: 600;
  color: var(--water);
}

.figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #0a1521;
  overflow: hidden;
}
.figure img {
  width: 100%;
  display: block;
}
.figure figcaption {
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-3);
}
.figure figcaption b {
  color: var(--text-2);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}

/* ============================================================ TABLE ==== */
.tableframe {
  position: relative;
  margin-top: clamp(34px, 4vw, 52px);
}

.tablewrap {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(14, 28, 43, 0.5), rgba(7, 13, 20, 0.6));
}

/* Right-edge fade says "there is more table this way". app.js turns it on only
   while the table actually has content off-screen, and off at the end. */
.tableframe::after {
  content: "";
  position: absolute;
  top: 1px; bottom: 1px; right: 1px;
  width: 70px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, rgba(8, 17, 27, 0) 0%, rgba(8, 17, 27, 0.94) 78%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}
.tableframe.is-scrollable::after { opacity: 1; }
.tablehint { display: none; }

@media (max-width: 720px) {
  .tablehint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 2px 0;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
  }
  .tablehint span { color: var(--water); }
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 720px;
}
thead th {
  text-align: right;
  padding: 17px 20px 15px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
  vertical-align: bottom;
}
thead th:first-child { text-align: left; padding-left: 24px; }
thead th small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #55697a;
  margin-top: 3px;
  text-transform: none;
  letter-spacing: 0.04em;
}
tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
  white-space: nowrap;
}
tbody td:first-child {
  text-align: left;
  padding-left: 24px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}
tbody tr { transition: background 200ms; }
tbody tr:hover { background: rgba(72, 215, 238, 0.045); }
tbody tr:last-child td { border-bottom: none; }
tbody tr.is-focus { background: rgba(72, 215, 238, 0.07); }
tbody tr.is-focus td:first-child::after {
  content: "recommended";
  display: inline-block;
  margin-left: 10px;
  padding: 2px 7px;
  border: 1px solid rgba(72, 215, 238, 0.4);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--water);
  vertical-align: 2px;
  font-weight: 500;
}
td .up { color: var(--btc-soft); }
td .unit { color: var(--text-3); font-size: 12px; }

.table-note {
  margin-top: 16px;
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 88ch;
}

/* ============================================================ SIZING === */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 34px;
}
.kpi {
  padding: 22px 20px;
  background: var(--ink-1);
}
.kpi__n {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.06;
}
.kpi__n small { font-size: 0.5em; color: var(--text-2); font-weight: 500; }
.kpi__l {
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.45;
}

/* ============================================================= GLOBE === */
.globe-sec {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(78% 62% at 50% 42%, rgba(18, 52, 74, 0.5) 0%, rgba(4, 7, 11, 0) 68%),
    var(--ink);
  border-top: 1px solid var(--line);
}

.globe__layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 4vw, 66px);
  align-items: center;
  margin-top: clamp(22px, 3vw, 34px);
}

.globe__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.globe__stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.globe__stage::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 0 0 90px 20px rgba(4, 12, 20, 0.55);
}

.legend {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex: none;
}
.legend i.d1 { background: var(--water); box-shadow: 0 0 7px var(--water-glow); }
.legend i.d2 { background: var(--btc); box-shadow: 0 0 7px var(--btc-glow); }
.legend i.d3 { background: #5d7183; }

.region-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.region-list li {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 13px 17px;
  background: rgba(9, 20, 31, 0.86);
  font-size: 14px;
  color: var(--text);
  transition: background 240ms;
}
.region-list li:hover { background: rgba(22, 48, 68, 0.8); }
.region-list b {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.08em;
  min-width: 20px;
}

.globe__caveat {
  margin-top: 22px;
  padding: 15px 18px;
  border: 1px solid rgba(245, 165, 36, 0.22);
  border-left: 2px solid var(--btc);
  border-radius: 2px;
  background: rgba(245, 165, 36, 0.045);
  font-size: 13.5px;
  line-height: 1.55;
  color: #d3baa0;
}
.globe__caveat b { color: var(--btc-soft); font-weight: 600; }

/* ========================================================= TWO POTS ==== */
.pots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(30px, 3.6vw, 44px);
}
.pot {
  padding: clamp(26px, 3vw, 38px);
  background: var(--ink-1);
  position: relative;
  overflow: hidden;
}
.pot::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.pot--reserve::before { background: linear-gradient(90deg, var(--btc), transparent 72%); }
.pot--wage::before { background: linear-gradient(90deg, var(--water), transparent 72%); }

.pot__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
  margin-bottom: 17px;
}
.pot--reserve .pot__tag {
  color: var(--btc-soft);
  background: rgba(245, 165, 36, 0.1);
  border: 1px solid rgba(245, 165, 36, 0.26);
}
.pot--wage .pot__tag {
  color: var(--water);
  background: rgba(72, 215, 238, 0.09);
  border: 1px solid rgba(72, 215, 238, 0.26);
}
.pot h3 {
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: -0.02em;
  margin-bottom: 13px;
}
.pot p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-2);
}
.pot__note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
  font-size: 13.5px;
  color: var(--text-3);
}

.honest-box {
  margin-top: clamp(30px, 3.6vw, 44px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(19, 42, 60, 0.72), rgba(9, 18, 28, 0.8));
}
.honest-box h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  margin-bottom: 12px;
}
.honest-box p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-2);
}
.honest-box .big {
  font-size: clamp(20px, 2.1vw, 27px);
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.34;
  margin-bottom: 14px;
}
.honest-box .big b { color: var(--btc-soft); font-weight: 600; }

/* ============================================================ POWER ==== */
.power__grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(30px, 4.5vw, 64px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 46px);
}

.rules {
  counter-reset: rule;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.rules li {
  counter-increment: rule;
  position: relative;
  padding: 16px 20px 16px 56px;
  background: var(--ink-1);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.rules li::before {
  content: "0" counter(rule);
  position: absolute;
  left: 20px;
  top: 17px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--water);
  letter-spacing: 0.08em;
}
.rules li b { color: var(--text); font-weight: 600; }

/* =========================================================== STATUS ==== */
.status {
  background:
    linear-gradient(180deg, #060c13, #080f18 40%, var(--ink));
}

.status__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 36px;
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(245, 165, 36, 0.35);
  border-radius: 2px;
  background: rgba(245, 165, 36, 0.07);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--btc-soft);
  white-space: nowrap;
}
.stamp i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--btc);
  animation: pulseDot 3s infinite;
}

.status__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--ink-1);
}
.stat__q {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.stat__a {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.25;
}
.stat__a--no { color: #ff9b7a; }
.stat__a--yes { color: #7ddba4; }
.stat__x {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}

/* timeline */
.timeline {
  margin-top: clamp(34px, 4vw, 48px);
  position: relative;
  padding-left: 26px;
  border-left: 1px solid var(--line-2);
  display: grid;
  gap: 26px;
}
.tl {
  position: relative;
}
.tl::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--water-dim);
}
.tl:first-child::before {
  background: var(--water);
  border-color: var(--water);
  box-shadow: 0 0 12px var(--water-glow);
}
.tl__when {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--water);
  margin-bottom: 6px;
}
.tl:first-child .tl__when { color: var(--btc-soft); }
.tl__what {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.tl__what b { color: var(--text); font-weight: 600; }

/* ========================================================== FUNDING ==== */
.ask {
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background:
    radial-gradient(110% 140% at 12% 0%, rgba(24, 62, 86, 0.6) 0%, rgba(8, 15, 24, 0) 62%),
    linear-gradient(180deg, #0b1724, #070e16);
  padding: clamp(28px, 4vw, 56px);
  margin-top: clamp(30px, 3.6vw, 44px);
  position: relative;
  overflow: hidden;
}
.ask::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, var(--water), transparent);
}

.ask__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
}
.ask__figure {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.ask__figure span {
  display: block;
  font-size: 12.5px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--water);
  margin-bottom: 14px;
}
.ask__fine {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-3);
  max-width: 34ch;
}

.uses {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.uses li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text-2);
}
.uses li span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  flex: none;
}

/* ========================================================== CONTACT ==== */
.contact {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 50% 100%, rgba(20, 56, 78, 0.5) 0%, rgba(4, 7, 11, 0) 66%),
    var(--ink);
  text-align: center;
}
.contact__inner {
  max-width: 780px;
  margin-inline: auto;
}
.contact .h2 {
  font-size: clamp(32px, 4.6vw, 60px);
  margin-bottom: 22px;
}
.contact p {
  color: var(--text-2);
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.6;
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: 34px;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
}
.contact__mail {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.contact__mail a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.contact__mail a:hover { color: var(--water); border-bottom-color: var(--water); }

.contact__fine {
  margin-top: 30px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5c7182;
  max-width: 62ch;
  margin-inline: auto;
}

/* =========================================================== FOOTER ==== */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(36px, 4vw, 54px) 34px;
  background: #04080c;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a, .footer__col span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer__col a:hover { color: var(--water); }

.footer__legal {
  padding-top: 26px;
  display: grid;
  gap: 14px;
  max-width: 96ch;
}
.footer__legal p {
  font-size: 12.3px;
  line-height: 1.65;
  color: #5c7182;
  margin: 0;
}
.footer__legal strong { color: #8297a8; font-weight: 600; }

.footer__sig {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4d6070;
}

/* ============================================================ REVEAL === */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Reduced motion: the still poster carries the hero on its own. */
  .hero__video { display: none !important; animation: none !important; }
  .hero__media { transform: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after,
  .hero__tag i,
  .stamp i { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ============================================================== RESP === */
@media (max-width: 1080px) {
  .problem__grid,
  .product__grid,
  .power__grid,
  .ask__grid { grid-template-columns: 1fr; }
  .globe__layout { grid-template-columns: 1fr; }
  .globe__stage { max-width: 460px; }
  .hero__meta { display: none; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--pad) 22px;
    background: rgba(5, 10, 16, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .nav.is-open .nav__links .nav__cta {
    margin-top: 16px;
    padding: 12px 17px;
    justify-content: center;
    border-bottom: 1px solid var(--line-2);
  }

  .strip__grid { grid-template-columns: 1fr; }
  .strip__item + .strip__item {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .strip__item { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: baseline; }
  .strip__label { grid-column: 1 / -1; margin-bottom: 4px; }
  .strip__num { justify-self: end; }
  .strip__note { grid-column: 1 / -1; max-width: none; margin-top: 6px; }

  .engine__grid { grid-template-columns: 1fr; }
  .engine__card { max-width: 420px; }

  .kpis { grid-template-columns: 1fr 1fr; }
  .pots { grid-template-columns: 1fr; }
  .status__grid { grid-template-columns: 1fr 1fr; }
  .spec__row { grid-template-columns: 1fr; gap: 5px; }
  .region-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 72px; }

  .hero { min-height: 92svh; }
  .hero__inner { padding-top: 96px; padding-bottom: 52px; }
  .hero h1 { max-width: 100%; font-size: clamp(36px, 10.4vw, 52px); }
  .hero__sub { font-size: 15.5px; margin-bottom: 28px; }
  .hero__cta { gap: 10px; }
  .btn { flex: 1 1 auto; padding: 14px 18px; font-size: 14px; }
  .hero__scroll { display: none; }

  .strip__item { display: block; }
  .strip__num { justify-self: start; }

  .status__grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .globe__stage { max-width: 380px; }

  .ask { padding: 24px 20px; }
  .uses li { font-size: 13.5px; }

  .pullquote { padding-left: 20px; font-size: 18px; }

  .footer__top { flex-direction: column; gap: 24px; }
  .footer__sig { flex-direction: column; align-items: start; }

  tbody td, thead th { padding-inline: 14px; }
  tbody td:first-child, thead th:first-child { padding-left: 16px; }
}

@media (max-width: 420px) {
  .kpis { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

/* Print: keep it readable, drop the motion */
@media print {
  .nav, .hero__scroll, .grain, .hero__media { display: none !important; }
  body { background: #fff; color: #111; }
  .section { border-top-color: #ddd; page-break-inside: avoid; }
}
