/* FUEL — mission control design system */

:root {
  --bg: #07080A;
  --panel: #0E1013;
  --panel-2: #121419;
  --line: rgba(244, 241, 234, 0.08);
  --line-2: rgba(244, 241, 234, 0.14);
  --line-3: rgba(244, 241, 234, 0.26);
  --text: #F4F1EA;
  --dim: #8A8F98;
  --flame: #FF5A1F;
  --flame-hi: #FF7A45;
  --amber: #FFB547;
  --ok: #3DDC97;
  --err: #FF6B5B;

  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: 24px;
  --hdr-h: 64px;
  --r: 4px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 12px);
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(244, 241, 234, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 241, 234, 0.028) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
code, kbd, pre { font-family: var(--font-mono); }
button { font: inherit; color: inherit; }
::selection { background: var(--flame); color: var(--bg); }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--flame);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ───────── type ───────── */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
}
.flame { color: var(--flame); }
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}
.dim { color: var(--dim); }
.fine { font-size: 14px; color: var(--dim); }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.kicker-idx {
  color: var(--flame);
  padding-right: 12px;
  border-right: 1px solid var(--line-2);
}
.h2 { font-size: clamp(34px, 5.4vw, 68px); }

.sec-head { margin-bottom: 40px; max-width: 760px; }
.sec-lede { margin: 18px 0 0; color: var(--dim); font-size: 17px; max-width: 620px; }

/* ───────── lamps ───────── */
.lamp {
  --c: var(--dim);
  display: inline-block;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent), 0 0 12px color-mix(in srgb, var(--c) 60%, transparent);
}
.lamp-flame { --c: var(--flame); animation: pulse 2.4s ease-in-out infinite; }
[data-lamp][data-state="live"], [data-lamp][data-state="awaiting"], .lamp.is-live { --c: var(--ok); animation: pulse 2s ease-in-out infinite; }
[data-lamp][data-state="paused"],
[data-lamp][data-state="predeploy"] { --c: var(--amber); }
[data-lamp][data-state="boot"] { --c: var(--amber); animation: blink 1s steps(2, start) infinite; }
[data-lamp][data-state="offline"] { --c: var(--err); animation: blink 1.4s steps(2, start) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes blink { to { visibility: hidden; } }

/* ───────── buttons ───────── */
.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .3s var(--ease), transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 38px; padding: 0 14px; font-size: 12px; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 14px; }
.btn-primary { background: var(--flame); color: var(--bg); }
.btn-primary:hover { background: var(--flame-hi); box-shadow: 0 0 32px rgba(255, 90, 31, .45); }
.btn-ghost { border-color: var(--line-3); color: var(--text); background: rgba(7, 8, 10, .35); }
.btn-ghost:hover { border-color: var(--text); background: rgba(244, 241, 234, .06); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn .soon {
  font-size: 10px;
  padding: 2px 6px;
  border: 1px solid var(--line-3);
  border-radius: 2px;
  color: var(--dim);
  letter-spacing: .12em;
}

/* ───────── header ───────── */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--hdr-h);
  background: rgba(7, 8, 10, .62);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.hdr-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand img { width: 30px; height: 30px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1;
}
.nav { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dim);
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .nav-pons { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.btn-connect { border-color: var(--line-3); background: rgba(14, 16, 19, .7); }
.btn-connect:hover { border-color: var(--text); }
.btn-connect .lamp { display: none; width: 6px; height: 6px; }
.btn-connect[data-state="connected"] .lamp { display: inline-block; --c: var(--ok); }
.btn-connect[data-state="wrong"] { border-color: var(--amber); color: var(--amber); }
.btn-connect[data-state="wrong"] .lamp { display: inline-block; --c: var(--amber); }

.nav-toggle {
  display: none;
  width: 40px; height: 38px;
  padding: 0;
  border: 1px solid var(--line-3);
  border-radius: var(--r);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span:first-child { top: 14px; }
.nav-toggle span:last-child { top: 22px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }

/* ───────── hero ───────── */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--hdr-h));
  padding-top: var(--hdr-h);
  min-height: min(100svh, 980px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 108%, rgba(255, 181, 71, .55), transparent 70%),
    radial-gradient(ellipse 85% 70% at 50% 115%, rgba(255, 90, 31, .55), rgba(255, 90, 31, .12) 55%, transparent 80%),
    radial-gradient(ellipse 120% 60% at 50% 120%, rgba(160, 40, 8, .5), transparent 80%);
  animation: breathe 7s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes breathe { 0%, 100% { opacity: .85; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.06); } }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  /* fire on black: push the flames down so embers drift behind the headline */
  transform: translateY(26%);
  opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
.hero-video.is-missing { display: none; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .86) 0%, rgba(7, 8, 10, .6) 40%, rgba(7, 8, 10, .15) 78%, rgba(7, 8, 10, .05) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, .7) 0%, rgba(7, 8, 10, 0) 30%, rgba(7, 8, 10, 0) 70%, rgba(7, 8, 10, .6) 90%, var(--bg) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 241, 234, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 241, 234, .05) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent);
}
.hero-in {
  padding-top: 72px;
  padding-bottom: 56px;
  animation: rise .9s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
}
.hero-title {
  font-size: clamp(34px, 10.4vw, 132px);
  margin: 0 0 28px;
  text-shadow: 0 2px 40px rgba(7, 8, 10, .5);
}
.hero-lede {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
  max-width: 34ch;
  margin: 0 0 36px;
  color: rgba(244, 241, 234, .86);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-tele-wrap { padding-bottom: 32px; }
.hero-tele {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(7, 8, 10, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-tele > div { padding: 16px 20px; min-width: 0; }
.hero-tele > div + div { border-left: 1px solid var(--line-2); }
.hero-tele dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.hero-tele dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-tele small { font-size: 12px; color: var(--dim); font-weight: 400; }
.tele-status { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 14px !important; letter-spacing: .1em; }

/* ───────── status pill ───────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  background: rgba(7, 8, 10, .55);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
}
.pill .lamp { width: 7px; height: 7px; }
.eyebrow .eyebrow-txt { color: rgba(244, 241, 234, .8); }

/* ───────── tank card (simplified) ───────── */
.tank-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  overflow: hidden;
}
.tank-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(ellipse at 30% 100%, rgba(255, 90, 31, .12), transparent 65%);
  pointer-events: none;
}
.tank-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-2);
}
.tank-title { font-size: clamp(24px, 3vw, 34px); }
.tank-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 40px;
  padding: 36px 28px 32px;
  align-items: center;
}
.tank-body .gauge-well { padding: 0; border: 0; background: none; }
.tank-body .gauge { max-height: 420px; }
.tank-main { min-width: 0; display: grid; gap: 28px; }
.read-k {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.read-v {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.read-v-xl { font-size: clamp(44px, 6vw, 76px); letter-spacing: -0.035em; }
.read-v .unit { font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--dim); }
.read-v-xl .unit { font-size: 16px; }
.read-sub { margin: 8px 0 0; font-family: var(--font-mono); font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.big-read .read-sub { font-size: 15px; color: rgba(244, 241, 234, .8); }
.read-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.read-row .meter { margin-top: 10px; max-width: 220px; }
.ignite-wrap .wallet-line { margin-top: 12px; }
.stat-row {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.stat-row > div { padding: 18px 28px; min-width: 0; }
.stat-row > div + div { border-left: 1px solid var(--line); }
.stat-row dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.stat-row dd { margin: 0; font-family: var(--font-mono); font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.section-tank .feed { margin-top: 20px; }
.how-title { font-size: clamp(30px, 4vw, 48px); margin-bottom: 32px; }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.tag-ok { color: var(--ok); border: 1px solid rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .06); }
.owner-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--dim);
}
.owner-line a { color: var(--text); text-underline-offset: 3px; }
.owner-line[data-owner="renounced"] .lamp { --c: var(--ok); }
.owner-line[data-owner="active"] .lamp { --c: var(--amber); }

/* ───────── sections ───────── */
.section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-tank { padding-top: 96px; }

/* ───────── console (the tank) ───────── */
.console {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.console::before, .console::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--flame);
  border-style: solid;
  pointer-events: none;
}
.console::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.console::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-2);
}
.console-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.console-id .dim { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.console-body {
  display: grid;
  grid-template-columns: minmax(280px, 36%) minmax(0, 1fr);
}
.gauge-well {
  position: relative;
  padding: 28px 16px 20px;
  border-right: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse 70% 50% at 50% 92%, rgba(255, 90, 31, .10), transparent 70%),
    linear-gradient(to right, rgba(244, 241, 234, .03) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(to bottom, rgba(244, 241, 234, .03) 1px, transparent 1px) 0 0 / 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.gauge { width: 100%; height: auto; max-height: 560px; overflow: visible; }
.gauge-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.gauge-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 14px; height: 0; border-top: 2px solid var(--flame); }
.lg-cost { border-top: 2px dashed var(--amber); }
.lg-hot { width: 10px; height: 10px; border: 1px solid var(--flame); border-radius: 50%; box-shadow: 0 0 8px rgba(255, 90, 31, .8); }

/* gauge parts */
.g-hardware { fill: none; stroke: var(--line-3); stroke-width: 1.2; }
.g-hardware .g-hair { stroke: var(--line-2); }
.g-shell { fill: none; stroke: rgba(244, 241, 234, .34); stroke-width: 1.5; transition: stroke .6s, filter .6s; }
.g-glint { fill: #fff; opacity: .05; }
.g-underglow { opacity: .15; transition: opacity 1.2s var(--ease); }
.g-liquid { transition: transform 1.6s var(--ease); will-change: transform; }
.g-wave { will-change: transform; }
.g-wave-back { fill: #FFB547; opacity: .35; animation: wave 7s linear infinite reverse; transform: translateY(-3px); }
.g-wave-front { stroke: #FFD9A0; stroke-width: 1; stroke-opacity: .75; animation: wave 4.2s linear infinite; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-48px); } }
.g-wave-back { animation-name: wave-back; }
@keyframes wave-back { from { transform: translate(0, -3px); } to { transform: translate(-48px, -3px); } }
.g-bubbles circle { fill: #FFD9A0; opacity: 0; animation: bubble 6s ease-in infinite; }
.g-bubbles circle:nth-child(2) { animation-delay: 1.3s; animation-duration: 7s; }
.g-bubbles circle:nth-child(3) { animation-delay: 2.6s; animation-duration: 5.5s; }
.g-bubbles circle:nth-child(4) { animation-delay: 3.4s; animation-duration: 6.5s; }
.g-bubbles circle:nth-child(5) { animation-delay: 4.5s; animation-duration: 8s; }
@keyframes bubble {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: .5; }
  85% { opacity: .35; }
  100% { transform: translateY(-110px); opacity: 0; }
}
.g-grads line { stroke: rgba(244, 241, 234, .07); stroke-width: 1; }
.g-scale line { stroke: var(--line-3); stroke-width: 1; }
.g-scale line.minor { stroke: var(--line-2); }
.g-scale text, .g-caption, .g-tag text, .g-standby text {
  font-family: var(--font-mono);
  fill: var(--dim);
}
.g-scale text { font-size: 11px; dominant-baseline: middle; }
.g-caption { font-size: 10px; letter-spacing: .18em; }
.g-tag { transition: transform 1.6s var(--ease), opacity .4s; }
.g-tag line { stroke-width: 1.5; }
.g-tag-k { font-size: 9.5px; letter-spacing: .16em; }
.g-tag-v { font-size: 12.5px; font-weight: 600; }
.g-tag-level line { stroke: var(--flame); }
.g-tag-level .g-tag-v { fill: var(--text); }
.g-tag-cost line { stroke: var(--amber); }
.g-tag-cost .g-tag-v, .g-tag-cost .g-tag-k { fill: var(--amber); }
.g-cost-line { stroke: var(--amber); stroke-width: 1.2; stroke-dasharray: 5 5; opacity: .9; transition: transform 1.6s var(--ease), opacity .4s; }
.g-standby text { font-size: 15px; font-weight: 600; letter-spacing: .32em; fill: rgba(244, 241, 234, .38); }
.g-standby .g-standby-sub { font-size: 9.5px; letter-spacing: .24em; fill: var(--dim); }
.g-standby { transition: opacity .4s; }
.gauge:not(.is-standby) .g-standby { opacity: 0; }
.gauge.is-standby .g-standby text:first-child { animation: pulse 2.4s ease-in-out infinite; }
.gauge:not(.has-level) .g-tag-level { opacity: 0; }
.gauge:not(.has-cost) .g-tag-cost,
.gauge:not(.has-cost) .g-cost-line { opacity: 0; }
.gauge.is-hot .g-shell { stroke: var(--flame); filter: drop-shadow(0 0 10px rgba(255, 90, 31, .65)); }
.gauge.is-hot .g-underglow { opacity: .75 !important; }

/* readouts */
.readouts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  align-content: start;
}
.cell { background: var(--panel); padding: 20px 22px; min-width: 0; }
.cell-tank, .cell-price { grid-column: span 3; }
.cell-curve { grid-column: span 6; padding-bottom: 16px; }
.cell-deal, .cell-halving, .cell-epoch { grid-column: span 2; }
.cell-ignite { grid-column: span 6; padding: 22px; }
.cell-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.cell-code { color: rgba(138, 143, 152, .6); letter-spacing: .1em; }
.cell-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cell-value-sm { font-size: clamp(22px, 2.2vw, 28px); }
.cell-value .unit {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--dim);
}
.cell-sub {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
  opacity: .85;
  font-variant-numeric: tabular-nums;
}
.cell-fine {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.5;
}
.cell-price .cell-value { color: var(--text); }
[data-bind="price-full"].tick { color: var(--flame-hi); }
[data-bind="price-full"] { transition: color .5s; }

.deal-pos { color: var(--ok); }
.deal-neg { color: var(--text); }

.meter {
  position: relative;
  display: block;
  height: 4px;
  margin-top: 12px;
  background: rgba(244, 241, 234, .07);
  border-radius: 2px;
  overflow: hidden;
}
.meter i {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 0;
  background: var(--dim);
  transition: left .6s var(--ease), width .6s var(--ease), background-color .4s;
}
.meter-mid { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--line-3); z-index: 1; }
.meter-plain i { left: 0; background: var(--flame); }
#deal-bar.pos { background: var(--ok); box-shadow: 0 0 10px rgba(61, 220, 151, .6); }
#deal-bar.neg { background: var(--flame); }
#halving-bar { transition: width .9s linear; }

/* curve */
.curve-plot { position: relative; height: 112px; }
.curve-plot svg { width: 100%; height: 100%; overflow: visible; }
.curve-grid line { stroke: rgba(244, 241, 234, .08); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 4; }
.curve-area { fill: url(#curve-fill); }
.curve-line { fill: none; stroke: var(--flame); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.curve-future { fill: none; stroke: rgba(244, 241, 234, .3); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.curve-floor { stroke: var(--amber); stroke-opacity: .5; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 6 4; }
.curve-dot {
  position: absolute;
  width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, .22), 0 0 18px rgba(255, 90, 31, .9);
  transition: left .9s linear, top .9s linear;
}
.curve-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 90, 31, .6);
  animation: ping 2s ease-out infinite;
}
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.curve-floor-label {
  position: absolute;
  right: 0;
  transform: translateY(-120%);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: .8;
  pointer-events: none;
}
.curve-axis {
  position: relative;
  height: 18px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: .06em;
}
.curve-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.curve-axis span:first-child { transform: none; }
.curve.is-preview .curve-line { stroke: rgba(244, 241, 234, .28); }
.curve.is-preview .curve-area { opacity: .25; }

/* ignite */
.btn-ignite {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 84px;
  padding: 14px 20px;
  border: 1px solid #FF8A55;
  border-radius: var(--r);
  background: linear-gradient(180deg, #FF6C2E 0%, #FF5A1F 55%, #E8470F 100%);
  color: var(--bg);
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 40px -12px rgba(255, 90, 31, .6);
  transition: box-shadow .3s var(--ease), filter .2s, transform .1s;
}
.btn-ignite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: sheen 3.6s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.btn-ignite:hover:not(:disabled) { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 60px -6px rgba(255, 90, 31, .8); }
.btn-ignite:active:not(:disabled) { transform: translateY(1px); }
.ignite-label {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-size: 28px;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}
.ignite-sub {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
}
.btn-ignite[data-armed="false"] {
  border-color: var(--line-2);
  color: var(--dim);
  background:
    repeating-linear-gradient(135deg, rgba(244, 241, 234, .035) 0 10px, transparent 10px 20px),
    var(--panel-2);
  box-shadow: none;
}
.btn-ignite[data-armed="false"]::before { display: none; }
.btn-ignite[data-armed="false"] .ignite-label { font-size: 20px; letter-spacing: .12em; }
.btn-ignite[data-armed="false"]:not(:disabled) { color: var(--text); border-color: var(--line-3); cursor: pointer; }
.btn-ignite[data-armed="false"]:not(:disabled):hover { border-color: var(--text); }
.btn-ignite:disabled { cursor: not-allowed; }
.btn-ignite.is-busy .ignite-label::after {
  content: "";
  display: inline-block;
  width: 1ch;
  animation: dots 1.2s steps(4, end) infinite;
  overflow: hidden;
  vertical-align: bottom;
}
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.wallet-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}
.wallet-line b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }

.msg {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--dim);
  border-radius: 2px;
  background: rgba(7, 8, 10, .5);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.msg.is-on { display: block; }
.msg[data-kind="wait"], .msg[data-kind="pending"] { border-left-color: var(--amber); }
.msg[data-kind="success"] { border-left-color: var(--ok); }
.msg[data-kind="error"] { border-left-color: var(--err); }
.msg[data-kind="info"] { border-left-color: var(--amber); }
.msg a, .msg button.linkish { color: var(--amber); text-underline-offset: 3px; }
.msg button.linkish { background: none; border: 0; padding: 0; margin-left: 6px; cursor: pointer; text-decoration: underline; font: inherit; }
.msg .msg-k { display: block; margin-bottom: 2px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* params strip */
.params {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.params li { padding: 14px 16px; min-width: 0; }
.params li + li { border-left: 1px solid var(--line); }
.params span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.params b {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.params b.ok { color: var(--ok); }
.params b.warn { color: var(--amber); }

/* ───────── feed ───────── */
.feed-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.totals {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
}
.stat { background: var(--panel); padding: 22px; min-width: 0; }
.stat dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.stat dd { margin: 0; }
.stat-v {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stat-sub { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); overflow-wrap: anywhere; }
.stat .meter { margin-top: 12px; }

.feed { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); min-width: 0; }
.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-2);
}
.feed-poll { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.feed-poll .lamp { width: 6px; height: 6px; }
.feed-list { list-style: none; margin: 0; padding: 0; max-height: 452px; overflow-y: auto; }
.feed-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.feed-item:last-child { border-bottom: 0; }
.feed-n { color: var(--flame); font-weight: 600; min-width: 5ch; }
.feed-main { min-width: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.feed-main b { font-weight: 500; }
.feed-main .burn { color: var(--dim); }
.feed-main .burn b { color: var(--text); }
.feed-meta { display: flex; align-items: center; gap: 12px; color: var(--dim); white-space: nowrap; font-size: 12px; }
.feed-meta a { color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--line-3); }
.feed-meta a:hover { color: var(--text); border-color: var(--text); }
.feed-item.is-new { animation: flash 2.4s var(--ease); }
@keyframes flash { from { background: rgba(255, 90, 31, .18); } to { background: transparent; } }
.feed-empty { margin: 0; padding: 48px 20px; text-align: center; font-family: var(--font-mono); font-size: 13px; color: var(--dim); }
.feed-empty[hidden] { display: none; }

/* ───────── steps ───────── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  counter-reset: step;
}
.step { background: var(--panel); padding: 32px 28px 36px; position: relative; }
.step-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.step .step-n { display: inline-block; margin-bottom: 22px; }
.step-n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--flame);
  padding: 4px 8px;
  border: 1px solid rgba(255, 90, 31, .4);
  border-radius: 2px;
}
.step-icon { width: 48px; height: 48px; fill: none; stroke: var(--dim); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step-icon .accent { stroke: var(--flame); }
.step-icon .accent-fill { fill: var(--flame); stroke: none; }
.step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.step p { margin: 0; color: var(--dim); font-size: 15.5px; }

/* ───────── why ───────── */
.section-why {
  background:
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(255, 90, 31, .08), transparent 70%);
}
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.why-copy .h2 { margin-bottom: 28px; }
.why-copy p:not(.kicker) { color: rgba(244, 241, 234, .82); font-size: 17px; max-width: 54ch; }
.why-copy p.fine { color: var(--dim); font-size: 14px; }
.compare {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > span { padding: 16px 18px; font-size: 14.5px; min-width: 0; }
.compare-row > span + span { border-left: 1px solid var(--line); }
.compare-row [role="rowheader"] {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
}
.compare-row [role="cell"] { color: var(--dim); }
.compare-row .good { color: var(--text); background: rgba(255, 90, 31, .045); }
.compare-head > span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-top: 14px;
  padding-bottom: 14px;
  background: var(--panel-2);
}
.compare-head > span.flame { background: rgba(255, 90, 31, .1); }

/* ───────── contracts ───────── */
.owner-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  margin-bottom: 24px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--dim);
  border-radius: var(--r);
  background: var(--panel);
}
.owner-banner .lamp { margin-top: 8px; }
.owner-banner[data-owner="renounced"] { border-left-color: var(--ok); }
.owner-banner[data-owner="renounced"] .lamp { --c: var(--ok); }
.owner-banner[data-owner="active"] { border-left-color: var(--amber); }
.owner-banner[data-owner="active"] .lamp { --c: var(--amber); }
.owner-title { margin: 0 0 4px; font-family: var(--font-mono); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.owner-text { margin: 0; color: var(--dim); font-size: 14.5px; }
.owner-text a { color: var(--text); text-underline-offset: 3px; }

.addr-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); }
.addr-row {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.addr-row:last-child { border-bottom: 0; }
.addr-label { font-weight: 600; font-size: 15px; }
.addr-label small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 2px;
}
.addr-value { font-size: 13.5px; color: var(--text); overflow-wrap: anywhere; min-width: 0; }
.addr-value.is-empty { color: var(--dim); }
.addr-actions { display: flex; gap: 8px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: transparent;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-3); }
.icon-btn.is-done { color: var(--ok); border-color: rgba(61, 220, 151, .4); }
.icon-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ───────── footer ───────── */
.ftr { padding: 64px 0 40px; }
.ftr-top { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 32px; }
.ftr-tag { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.ftr-nav a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--dim); }
.ftr-nav a:hover { color: var(--text); }
.disclaimer {
  max-width: 880px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  color: var(--dim);
}
.ftr-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 24px 0 0; font-size: 10.5px; }

/* ───────── toast ───────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border: 1px solid var(--line-3);
  border-radius: var(--r);
  background: rgba(14, 16, 19, .96);
  font-family: var(--font-mono);
  font-size: 12.5px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast[data-kind="error"] { border-color: rgba(255, 107, 91, .6); }
.toast[data-kind="ok"] { border-color: rgba(61, 220, 151, .5); }

/* ───────── docs ───────── */
.docs-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.docs-hero .h1 { font-size: clamp(40px, 7vw, 84px); margin-bottom: 20px; }
.docs-hero p:not(.kicker) { color: var(--dim); font-size: 18px; max-width: 60ch; margin: 0; }
.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 96px;
}
.toc { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: start; }
.toc summary {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
  cursor: default;
}
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.toc a {
  display: flex;
  gap: 10px;
  padding: 7px 0 7px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 14px;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.toc a span { font-family: var(--font-mono); font-size: 11px; color: rgba(138, 143, 152, .7); padding-top: 2px; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--text); border-left-color: var(--flame); }
.toc a.is-active span { color: var(--flame); }

.prose { max-width: 720px; min-width: 0; }
.prose section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.prose section:last-child { border-bottom: 0; margin-bottom: 0; }
.prose h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.prose h2 .n { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--flame); letter-spacing: .12em; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 32px 0 10px; }
.prose p, .prose li { color: rgba(244, 241, 234, .84); font-size: 16px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--flame); }
.prose a { color: var(--text); text-decoration-color: var(--flame); text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code {
  font-size: .88em;
  padding: 1px 5px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--panel);
  overflow-wrap: anywhere;
}
.prose pre {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--flame);
  border-radius: var(--r);
  background: var(--panel);
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.7;
}
.prose pre code { padding: 0; border: 0; background: none; font-size: inherit; }
.prose pre .c { color: var(--dim); }
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.flow li {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text) !important;
}
.flow li.arrow { border: 0; background: none; padding: 0; color: var(--flame) !important; }
.flow li.hl { border-color: rgba(255, 90, 31, .5); color: var(--flame) !important; }

.table-wrap { margin: 20px 0; border: 1px solid var(--line-2); border-radius: var(--r); overflow-x: auto; background: var(--panel); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  background: var(--panel-2);
}
.prose td { color: rgba(244, 241, 234, .84); }
.prose td.mono { font-family: var(--font-mono); font-size: 13px; overflow-wrap: anywhere; }
.callout {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--amber);
  border-radius: var(--r);
  background: var(--panel);
  font-size: 15px;
}
.callout p:last-child { margin: 0; }
.callout.ok { border-left-color: var(--ok); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--flame); font-size: 20px; line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; }
.faq details > div p:last-child { margin: 0; }

/* ───────── 404 ───────── */
.lost {
  position: relative;
  min-height: calc(100svh - var(--hdr-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.lost .hero-glow { z-index: -1; opacity: .8; }
.lost-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--flame); text-transform: uppercase; margin-bottom: 20px; display: flex; gap: 12px; align-items: center; }
.lost h1 { font-size: clamp(44px, 9vw, 120px); margin-bottom: 24px; }
.lost p:not(.lost-code) { color: var(--dim); font-size: 18px; max-width: 44ch; margin-bottom: 32px; }

/* ───────── responsive ───────── */
@media (max-width: 1180px) {
  .cell-deal .cell-code, .cell-halving .cell-code, .cell-epoch .cell-code { display: none; }
}

@media (max-width: 1080px) {
  .params { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .params li:nth-child(5) { border-left: 0; }
  .params li:nth-child(n+5) { border-top: 1px solid var(--line); }
  .feed-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav {
    position: fixed;
    top: var(--hdr-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(7, 8, 10, .97);
    border-bottom: 1px solid var(--line-2);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s var(--ease); }
  .nav a { padding: 14px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav .nav-pons { display: block; color: var(--flame); }
  .nav .nav-pons[hidden] { display: none; }
  .hdr-pons { display: none; }
  .nav-toggle { display: inline-block; }

  .console-body { grid-template-columns: minmax(0, 1fr); }
  .tank-body { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 20px 24px; }
  .tank-body .gauge { max-height: 260px; }
  .tank-head { padding: 18px 20px; }
  .stat-row > div { padding: 14px 20px; }
  .gauge-well { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 20px 12px 12px; }
  .gauge { max-height: 360px; }
  .gauge-legend { gap: 6px 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step-top { margin-bottom: 24px; }
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .toc {
    position: static;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    background: var(--panel);
    padding: 0 16px;
  }
  .toc summary { cursor: pointer; margin: 0; padding: 14px 0; display: flex; justify-content: space-between; }
  .toc summary::after { content: "+"; color: var(--flame); font-size: 16px; line-height: 1; }
  .toc[open] summary::after { content: "−"; }
  .toc ol { margin-bottom: 14px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --hdr-h: 58px; }
  body { font-size: 15.5px; }
  .hdr-in { gap: 12px; }
  .wordmark { font-size: 19px; }
  .brand img { width: 26px; height: 26px; }
  .section { padding: 76px 0; }
  .section-tank { padding-top: 64px; }
  .sec-head { margin-bottom: 28px; }
  .sec-lede { font-size: 16px; }
  .hero { min-height: min(100svh, 860px); }
  .hero-video { transform: translateY(12%); opacity: .75; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 8, 10, .75) 0%, rgba(7, 8, 10, .35) 30%, rgba(7, 8, 10, .45) 55%, rgba(7, 8, 10, .55) 80%, var(--bg) 100%);
  }
  .hero-in { padding-top: 48px; padding-bottom: 36px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .14em; margin-bottom: 22px; gap: 10px; }
  .hero-lede { font-size: 17px; margin-bottom: 28px; }
  .cta-row .btn { flex: 1 1 auto; }
  .hero-tele-wrap { padding-bottom: 20px; }
  .hero-tele { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-tele > div { padding: 12px 14px; }
  .hero-tele > div:nth-child(3) { border-left: 0; }
  .hero-tele > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .hero-tele dd { font-size: 15px; }
  .tele-status { font-size: 12px !important; }

  .console-bar { padding: 12px 14px; }
  .hide-sm { display: none; }
  .cell { padding: 16px; }
  .cell-tank, .cell-price { grid-column: span 6; }
  .cell-deal, .cell-halving, .cell-epoch { grid-column: span 2; padding: 14px 12px; }
  .cell-deal .cell-code, .cell-halving .cell-code, .cell-epoch .cell-code { display: none; }
  .cell-deal .cell-fine, .cell-halving .cell-fine, .cell-epoch .cell-fine { font-size: 10.5px; }
  .cell-label { font-size: 10.5px; letter-spacing: .12em; }
  .cell-value-sm { font-size: 20px; }
  .cell-ignite { padding: 16px; }
  .curve-plot { height: 96px; }
  .curve-axis span.sm-hide { display: none; }
  .gauge { max-height: 320px; }
  .btn-ignite { min-height: 76px; }
  .ignite-label { font-size: 24px; }
  .read-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .read-v { font-size: 22px; }
  .read-v-xl { font-size: 48px; }
  .stat-row > div { padding: 14px 12px; }
  .stat-row dt { font-size: 9.5px; letter-spacing: .1em; }
  .stat-row dd { font-size: 15px; }
  .tank-body { padding: 24px 16px 20px; }
  .tank-head { padding: 16px; }
  .eyebrow { flex-wrap: wrap; }
  .params { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .params li { padding: 12px 14px; }
  .params li:nth-child(odd) { border-left: 0; }
  .params li:nth-child(even) { border-left: 1px solid var(--line); }
  .params li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 16px; }
  .feed-head { padding: 12px 14px; }
  .feed-item { grid-template-columns: auto minmax(0, 1fr); padding: 12px 14px; gap: 4px 12px; font-size: 12.5px; }
  .feed-meta { grid-column: 2; }

  .step { padding: 24px 20px 28px; }
  .compare-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compare-row [role="rowheader"] { grid-column: 1 / -1; padding: 12px 14px 0; border-left: 0 !important; }
  .compare-row > span { padding: 10px 14px 14px; font-size: 13.5px; }
  .compare-row > span:nth-child(2) { border-left: 0; }
  .compare-head > span:first-child { display: none; }
  .compare-head > span { padding: 12px 14px; }

  .addr-row { grid-template-columns: minmax(0, 1fr) auto; padding: 14px; }
  .addr-label { grid-column: 1; }
  .addr-actions { grid-column: 2; grid-row: 1; }
  .addr-value { grid-column: 1 / -1; font-size: 12px; }
  .owner-banner { padding: 16px; }

  .ftr-nav { margin-left: 0; width: 100%; }
}

@media (max-width: 380px) {
  .hdr-actions .btn-connect { padding: 0 10px; }
  .cell-deal, .cell-halving, .cell-epoch { padding: 12px 10px; }
  .cell-value-sm { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .g-bubbles { display: none; }
  .btn-ignite::before { display: none; }
}
