:root {
  --black: #05080b;
  --black-2: #090d12;
  --black-3: #0e141b;
  --paper: #edf2f6;
  --steel: #aeb9c4;
  --muted: #788694;
  --line: rgba(198, 218, 235, 0.17);
  --line-strong: rgba(198, 218, 235, 0.34);
  --blue: #269fff;
  --blue-light: #76c7ff;
  --orange: #ff6a2b;
  --green: #67e8a2;
  --red: #ff7268;
  --display: "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --page: min(1440px, calc(100vw - 64px));
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-hard: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  scrollbar-color: var(--blue) var(--black);
  scrollbar-width: thin;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 77% 8%, rgba(38, 159, 255, 0.08), transparent 28rem),
    var(--black);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--blue);
  color: #00111f;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--black);
  background: var(--blue);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--black);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  transform: none;
}

.texture-layer,
.viewport-grid {
  position: fixed;
  z-index: 80;
  inset: 0;
  pointer-events: none;
}

.texture-layer {
  opacity: 0.034;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.viewport-grid {
  z-index: 1;
  opacity: 0.05;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(174, 185, 196, 0.08) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(rgba(174, 185, 196, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 80px;
}

.boot-sequence {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 13px;
  background: var(--black);
  color: var(--steel);
  font-family: var(--mono);
  letter-spacing: 0.16em;
  pointer-events: none;
  animation: boot-exit 0.58s var(--ease-hard) 0.02s forwards;
}

.boot-sequence.is-skipped {
  display: none;
}

.boot-sequence span,
.boot-sequence small {
  opacity: 0.8;
  font-size: 10px;
}

.boot-sequence small {
  justify-self: end;
  color: var(--muted);
  font-size: 8px;
}

.boot-sequence i {
  display: block;
  width: min(360px, 74vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.boot-sequence i::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  animation: boot-line 0.34s var(--ease-out) forwards;
}

@keyframes boot-line {
  from { transform: scaleX(0); }
}

@keyframes boot-exit {
  0%,
  70% {
    opacity: 1;
    clip-path: inset(0);
  }
  99% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
  }
}

.hardline-meter {
  position: fixed;
  z-index: 120;
  top: calc(var(--header-h) + 22px);
  bottom: 24px;
  left: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 12px;
  pointer-events: none;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.hardline-meter > i {
  position: relative;
  display: block;
  width: 1px;
  height: 100%;
  overflow: visible;
  background: rgba(174, 185, 196, 0.16);
}

.hardline-meter > i b {
  position: absolute;
  inset: 0;
  display: block;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(var(--orange), var(--blue) 20%, var(--blue-light));
  box-shadow: 0 0 10px rgba(38, 159, 255, 0.65);
}

.hardline-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hardline-depth {
  min-width: 3ch;
  color: var(--blue-light);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--paper);
  box-shadow: 0 0 10px var(--blue);
}

.cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(118, 199, 255, 0.64);
  transition:
    width 160ms ease,
    height 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring {
  opacity: 1;
}

body.cursor-hover .cursor-ring {
  width: 46px;
  height: 46px;
  border-color: var(--orange);
  background: rgba(255, 106, 43, 0.07);
}

.site-header {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 0 max(32px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid transparent;
  transition:
    height 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  height: 62px;
  border-color: var(--line);
  background: rgba(5, 8, 11, 0.84);
  backdrop-filter: blur(18px) saturate(1.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  width: fit-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(118, 199, 255, 0.66);
  background:
    linear-gradient(135deg, rgba(38, 159, 255, 0.22), transparent),
    #080d12;
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
  box-shadow: inset 0 0 0 4px rgba(38, 159, 255, 0.04);
}

.brand-word {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.025em;
}

.brand small {
  padding-left: 9px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  justify-self: center;
}

.desktop-nav a,
.header-x {
  position: relative;
  color: #a8b3bd;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--blue);
  transition: transform 220ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.header-x:hover {
  color: var(--paper);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
}

.button {
  --button-bg: transparent;
  --button-fg: var(--paper);
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--button-bg);
  color: var(--button-fg);
  cursor: pointer;
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -28%;
  width: 20%;
  transform: skewX(-18deg);
  background: rgba(255, 255, 255, 0.22);
  transition: left 480ms var(--ease-out);
}

.button:hover::before {
  left: 114%;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--blue-light);
}

.button-solid {
  --button-bg: var(--blue);
  --button-fg: #00111f;
  border-color: var(--blue);
}

.button-solid:hover {
  border-color: var(--blue-light);
  background: var(--blue-light);
}

.button-ghost {
  background: rgba(5, 8, 11, 0.24);
  backdrop-filter: blur(8px);
}

.button-light {
  --button-bg: var(--paper);
  --button-fg: var(--black);
  border-color: var(--paper);
}

.button-compact {
  min-height: 38px;
  padding-inline: 15px;
  font-size: 9px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--paper);
  transition: transform 220ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 190;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  overflow-y: auto;
  padding: calc(var(--header-h) + 28px) 24px max(30px, env(safe-area-inset-bottom));
  background:
    linear-gradient(rgba(5, 8, 11, 0.93), rgba(5, 8, 11, 0.98)),
    url("/assets/macrohard-signal-archive-mobile.webp") center / cover;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.mobile-menu nav {
  display: grid;
  align-content: center;
}

.mobile-menu nav a {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(28px, 7.5vw, 48px);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.mobile-menu nav a span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.section {
  width: var(--page);
  margin-inline: auto;
  padding-block: clamp(100px, 11vw, 170px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: clamp(34px, 8vw, 120px);
  margin-bottom: clamp(50px, 6vw, 92px);
}

.section-heading > * {
  min-width: 0;
}

.section-heading h2,
.tax-prologue-copy h2,
.final-content h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(60px, 7.4vw, 122px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.82;
  text-transform: uppercase;
}

.section-heading h2 span,
.tax-prologue-copy h2 span,
.final-content h2 span {
  color: var(--blue);
}

.tax-prologue-copy h2 .tax-rate-title {
  color: var(--paper);
}

.section-heading > p,
.tax-prologue-copy > p,
.final-content > p {
  max-width: 540px;
  margin: 0;
  color: #9aa7b3;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.72;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  50% { opacity: 0.35; }
}

.reveal {
  opacity: 1;
  transform: none;
}

body.is-enhanced .reveal {
  opacity: 0;
  transform: translateY(30px);
}

body.is-enhanced .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 800ms var(--ease-out) var(--delay, 0ms),
    transform 900ms var(--ease-out) var(--delay, 0ms);
}

.cinematic-scene {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
}

.scene-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: var(--black);
}

.scene-media picture,
.scene-media img {
  width: 100%;
  height: 100%;
}

.scene-media img {
  object-fit: cover;
  will-change: transform;
}

.scene-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96) 0%, rgba(5, 8, 11, 0.75) 34%, rgba(5, 8, 11, 0.13) 67%, rgba(5, 8, 11, 0.36) 100%),
    linear-gradient(0deg, rgba(5, 8, 11, 0.76), transparent 38%, rgba(5, 8, 11, 0.28));
}

.scene-scan {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 5px,
    rgba(118, 199, 255, 0.04) 5px 6px
  );
  mix-blend-mode: screen;
}

.ambient-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  pointer-events: none;
}

.hero {
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 58px) max(32px, calc((100vw - 1440px) / 2)) 122px;
}

.hero-media img {
  object-position: center;
  transform: scale(1.025);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(74px, 8.7vw, 148px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.76;
  text-transform: uppercase;
}

.hero-copy h1 span {
  color: var(--blue);
  text-shadow: 0 0 42px rgba(38, 159, 255, 0.22);
}

.hero-lede {
  max-width: 670px;
  margin: 30px 0 0;
  color: #aeb8c2;
  font-size: clamp(14px, 1.18vw, 18px);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.contract {
  display: grid;
  grid-template-columns: auto minmax(0, auto) auto;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 11, 0.48);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.contract:hover {
  border-color: rgba(118, 199, 255, 0.65);
  background: rgba(38, 159, 255, 0.08);
}

.contract span,
.contract i {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.contract strong {
  min-width: 0;
  overflow: hidden;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
}

.contract i {
  color: var(--blue-light);
}

.hero-readout {
  align-self: stretch;
  justify-self: end;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: end;
  gap: 10px;
  color: rgba(174, 185, 196, 0.58);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.hero-readout i {
  width: 1px;
  height: 100%;
  margin-right: 4px;
  background: linear-gradient(var(--blue), transparent);
}

.hero-facts {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1440px) / 2));
  bottom: 30px;
  left: max(32px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(5, 8, 11, 0.68);
  backdrop-filter: blur(14px);
}

.hero-facts div {
  min-width: 0;
  padding: 13px 16px 12px;
  border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.hero-facts strong {
  font-family: var(--display);
  font-size: clamp(19px, 1.6vw, 27px);
  letter-spacing: -0.03em;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 30px;
  bottom: 126px;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 50px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: var(--blue);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(200%); }
}

.signal-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--black-2);
}

.signal-marquee > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  min-height: 42px;
  animation: marquee 27s linear infinite;
}

.signal-marquee span {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.03em;
}

.signal-marquee i {
  color: var(--orange);
  font-size: 7px;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.terminal {
  position: relative;
}

.terminal::before {
  content: "01";
  position: absolute;
  z-index: -1;
  top: 70px;
  right: 0;
  color: rgba(118, 199, 255, 0.035);
  font-family: var(--display);
  font-size: clamp(180px, 27vw, 440px);
  line-height: 0.75;
}

.terminal-shell,
.routing-console,
.rewards-console {
  min-width: 0;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(9, 13, 18, 0.96), rgba(5, 8, 11, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255, 255, 255, 0.015) 61px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.console-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 40px;
  gap: 24px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.console-title {
  color: var(--steel);
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.console-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.console-status.is-live i,
.terminal-shell:has([data-market-status="LIVE"]) .console-status i {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.console-status.is-stale i {
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.console-status.is-alert {
  color: var(--red);
}

.console-status.is-alert i {
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
}

.terminal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 1fr);
  min-width: 0;
}

.terminal-layout > * {
  min-width: 0;
}

.market-sidebar {
  min-width: 0;
  padding: clamp(22px, 2.5vw, 38px);
  border-right: 1px solid var(--line);
}

.market-pair {
  display: flex;
  align-items: center;
  gap: 13px;
}

.market-pair img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
}

.market-pair strong,
.market-pair span {
  display: block;
}

.market-pair strong {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.035em;
}

.market-pair span {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.market-price {
  margin: 34px 0 28px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.market-price > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.market-price > strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(34px, 3vw, 52px);
  letter-spacing: -0.045em;
}

.market-price em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
}

.market-price em.is-up {
  color: var(--green);
}

.market-price em.is-down {
  color: var(--red);
}

.market-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.market-metrics div {
  min-width: 0;
  padding: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-metrics dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.market-metrics dd {
  margin: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-full {
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 24px;
}

.chart-panel {
  display: grid;
  grid-template-rows: auto minmax(370px, 1fr) auto;
  min-width: 0;
  padding: 18px 20px 12px;
}

.chart-toolbar,
.chart-footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.chart-toolbar {
  padding-bottom: 14px;
}

.chart-toolbar a,
.chart-footer a {
  color: var(--steel);
}

.chart-toolbar a:hover,
.chart-footer a:hover {
  color: var(--blue-light);
}

.chart-ranges {
  display: flex;
  gap: 4px;
}

.chart-ranges button {
  min-width: 44px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.chart-ranges button:hover,
.chart-ranges button.is-active {
  border-color: var(--blue);
  background: rgba(38, 159, 255, 0.1);
  color: var(--paper);
}

.native-chart {
  position: relative;
  min-width: 0;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 60% 36%, rgba(38, 159, 255, 0.06), transparent 40%),
    rgba(3, 6, 9, 0.76);
}

.native-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 370px;
  overflow: visible;
}

.chart-grid-line {
  stroke: rgba(174, 185, 196, 0.13);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.chart-axis-label {
  fill: #7b8997;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.chart-volume-bar {
  fill: rgba(118, 199, 255, 0.18);
}

.chart-area {
  fill: url("#chartAreaGradient");
}

.chart-line {
  fill: none;
  stroke: var(--blue-light);
  stroke-width: 2.3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(38, 159, 255, 0.46));
}

.chart-crosshair {
  stroke: rgba(237, 242, 246, 0.35);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}

.chart-point {
  fill: var(--paper);
  stroke: var(--blue);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.chart-tooltip {
  position: absolute;
  z-index: 6;
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid rgba(118, 199, 255, 0.4);
  background: rgba(5, 8, 11, 0.94);
  pointer-events: none;
  font-family: var(--mono);
}

.chart-tooltip span,
.chart-tooltip small,
.chart-tooltip strong {
  display: block;
}

.chart-tooltip span,
.chart-tooltip small {
  color: var(--muted);
  font-size: 7px;
}

.chart-tooltip strong {
  margin-block: 5px;
  color: var(--blue-light);
  font-size: 10px;
}

.chart-loading {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background: rgba(3, 6, 9, 0.8);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.chart-loading[hidden] {
  display: none;
}

.chart-loading i {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.chart-loading.is-error i {
  border-color: var(--orange);
  border-radius: 0;
  animation: none;
  transform: rotate(45deg) scale(0.45);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.chart-footer {
  padding-top: 11px;
}

.tax-section {
  position: relative;
  border-top: 1px solid var(--line);
}

.tax-prologue {
  position: relative;
  height: 175vh;
  min-height: 1080px;
}

.tax-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}

.tax-scene-media img {
  object-position: 61% center;
  transform: scale(1.04);
}

.tax-scene-media .scene-vignette {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.98) 0%, rgba(5, 8, 11, 0.85) 33%, rgba(5, 8, 11, 0.12) 66%, rgba(5, 8, 11, 0.28)),
    linear-gradient(0deg, rgba(5, 8, 11, 0.84), transparent 34%, rgba(5, 8, 11, 0.2));
}

.core-bloom {
  position: absolute;
  top: 50%;
  left: 68%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: var(--core-bloom, 0.1);
  transform: translate(-50%, -50%) scale(var(--core-scale, 0.82));
  background: radial-gradient(circle, rgba(118, 199, 255, 0.28), rgba(38, 159, 255, 0.05) 38%, transparent 68%);
  filter: blur(12px);
  mix-blend-mode: screen;
}

.tax-prologue-copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: max(32px, calc((100vw - 1440px) / 2));
  width: min(690px, 44vw);
  transform: translateY(-50%);
}

.tax-prologue-copy h2 {
  font-size: clamp(66px, 7.7vw, 126px);
}

.tax-prologue-copy > p {
  max-width: 600px;
  margin-top: 28px;
}

.tax-proof-rail {
  position: absolute;
  z-index: 4;
  right: max(32px, calc((100vw - 1440px) / 2));
  bottom: 30px;
  left: max(32px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: auto minmax(50px, 1fr) auto minmax(50px, 1fr) auto minmax(50px, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 11, 0.75);
  backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.tax-proof-rail strong {
  color: var(--blue-light);
  font-weight: 500;
}

.tax-proof-rail > i {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.tax-proof-rail > i b {
  position: absolute;
  top: -1px;
  left: -14px;
  width: 12px;
  height: 3px;
  background: var(--blue-light);
  box-shadow: 0 0 10px var(--blue);
  animation: pipe-flow 2s linear infinite;
}

.tax-proof-rail > i:nth-of-type(2) b {
  animation-delay: 0.5s;
}

.tax-proof-rail > i:nth-of-type(3) b {
  animation-delay: 1s;
}

@keyframes pipe-flow {
  to { left: calc(100% + 14px); }
}

.core-readout {
  position: absolute;
  z-index: 3;
  top: 100px;
  right: 30px;
  display: grid;
  justify-items: end;
  gap: 7px;
  color: rgba(174, 185, 196, 0.6);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.tax-control {
  position: relative;
  padding-top: clamp(110px, 12vw, 180px);
}

.tax-control::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: linear-gradient(var(--blue), transparent);
}

.tax-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: start;
  gap: 14px;
}

.config-alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: -38px 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 114, 104, 0.72);
  background:
    linear-gradient(90deg, rgba(255, 114, 104, 0.16), rgba(255, 106, 43, 0.06)),
    var(--black-2);
  box-shadow: 0 0 34px rgba(255, 114, 104, 0.1);
}

.config-alert[hidden] {
  display: none;
}

.config-alert strong,
.config-alert a {
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.config-alert p {
  max-width: 980px;
  margin: 7px 0 0;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.65;
}

.config-alert a {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tax-control.has-config-alert .routing-console {
  border-color: rgba(255, 114, 104, 0.58);
}

.tax-control-grid > * {
  min-width: 0;
}

.routing-console,
.rewards-console {
  min-width: 0;
}

.routing-console > :not(.console-bar),
.rewards-console > :not(.console-bar) {
  margin-inline: clamp(20px, 2.5vw, 34px);
}

.trade-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 28px;
}

.trade-mode button {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.trade-mode button strong {
  color: inherit;
  font-family: var(--display);
  font-size: 27px;
}

.trade-mode button:hover,
.trade-mode button.is-active {
  border-color: var(--blue);
  background: rgba(38, 159, 255, 0.1);
  color: var(--paper);
}

.tax-pipeline {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) 28px minmax(0, 0.86fr) 28px minmax(0, 1.24fr);
  align-items: stretch;
  margin-top: 28px;
}

.tax-pipeline > div {
  min-width: 0;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.tax-pipeline > div > span,
.tax-pipeline > div > strong,
.tax-pipeline > div > small {
  display: block;
}

.tax-pipeline > div > span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 8px;
}

.tax-pipeline > div > strong {
  margin-block: 24px 6px;
  font-family: var(--display);
  font-size: clamp(17px, 1.45vw, 23px);
  letter-spacing: -0.035em;
}

.tax-pipeline > div > small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.5;
}

.tax-pipeline > i {
  position: relative;
  align-self: center;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.tax-pipeline > i b {
  position: absolute;
  width: 8px;
  height: 3px;
  top: -1px;
  left: -10px;
  background: var(--blue-light);
  animation: pipe-flow 1.5s linear infinite;
}

.tax-output {
  border-color: rgba(38, 159, 255, 0.48) !important;
  box-shadow: inset 3px 0 var(--blue);
}

.allocation-ledger {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.allocation-ledger div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.allocation-ledger div:first-child {
  color: var(--paper);
}

.allocation-ledger div:first-child strong {
  color: var(--blue-light);
}

.tax-calculator {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid rgba(255, 106, 43, 0.32);
  background: rgba(255, 106, 43, 0.035);
}

.tax-calculator label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.tax-calculator input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(27px, 2.4vw, 38px);
}

.tax-calculator input:focus {
  border-bottom-color: var(--blue);
}

.tax-calculator dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0 0;
}

.tax-calculator dl div {
  padding: 12px;
  border: 1px solid var(--line);
}

.tax-calculator dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

.tax-calculator dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
}

.tax-calculator > p,
.reward-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.55;
}

.console-link {
  display: flex;
  min-height: 52px;
  align-items: center;
  margin-top: 24px !important;
  margin-bottom: 28px !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reward-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
}

.reward-title p {
  margin: 0 0 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.reward-title h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 3.7vw, 59px);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.reward-title h3 span {
  color: var(--blue);
}

.block-readout {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.reward-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.reward-metrics > div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reward-metrics > div:first-child {
  grid-column: 1 / -1;
}

.reward-metrics dt {
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.reward-metrics dd {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
  margin: 0;
}

.reward-metrics dd strong {
  min-width: 0;
  overflow: hidden;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(27px, 2.8vw, 44px);
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
}

.reward-metrics dd span {
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: 7px;
}

.reward-metrics small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.payout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.payout-feed {
  max-height: 294px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: var(--blue) transparent;
  scrollbar-width: thin;
}

.payout-feed li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  min-height: 60px;
  align-content: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  transition: background-color 160ms ease;
}

.payout-feed li:hover {
  background: rgba(38, 159, 255, 0.04);
}

.payout-feed li > span,
.payout-feed li > a {
  overflow: hidden;
  color: var(--steel);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payout-feed li > a:hover {
  color: var(--blue-light);
}

.payout-feed li > strong {
  color: var(--green);
  font-size: 9px;
  font-weight: 500;
}

.payout-feed li > small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 7px;
}

.reward-note {
  margin-top: 17px !important;
}

.reward-links {
  display: flex;
  gap: 20px;
  margin-top: 18px !important;
  margin-bottom: 28px !important;
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: 8px;
}

.tax-disclosure {
  max-width: 880px;
  margin: 30px auto 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.65;
  text-align: center;
}

.lore {
  position: relative;
}

.lore::after {
  content: "03";
  position: absolute;
  z-index: -1;
  top: 90px;
  left: -2vw;
  color: rgba(255, 106, 43, 0.035);
  font-family: var(--display);
  font-size: clamp(180px, 27vw, 430px);
  line-height: 0.75;
}

.lore-frame {
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: var(--black-2);
}

.lore-visual {
  position: relative;
  min-height: min(700px, 72vw);
  overflow: hidden;
}

.lore-visual picture,
.lore-visual picture img {
  width: 100%;
  height: 100%;
}

.lore-visual picture {
  position: absolute;
  inset: 0;
}

.lore-visual picture img {
  object-fit: cover;
  object-position: 60% center;
  transform: scale(1.02);
  transition:
    object-position 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
}

.lore[data-lore-state="thesis"] .lore-visual picture img {
  object-position: 66% center;
  transform: scale(1.025);
}

.lore[data-lore-state="chain"] .lore-visual picture img {
  object-position: 72% center;
  transform: scale(1.03);
}

.lore-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.98), rgba(5, 8, 11, 0.86) 37%, rgba(5, 8, 11, 0.16) 68%),
    linear-gradient(0deg, rgba(5, 8, 11, 0.8), transparent 35%);
}

.archive-hud {
  position: absolute;
  inset: 18px 20px auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  color: rgba(174, 185, 196, 0.6);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.archive-hud i {
  position: absolute;
  right: 26%;
  top: 34px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(174, 185, 196, 0.22);
  transition:
    background-color 400ms ease,
    box-shadow 400ms ease;
}

.archive-hud i:nth-of-type(2) {
  right: 14%;
}

.archive-hud i:nth-of-type(3) {
  right: 5%;
}

.lore[data-lore-state="phrase"] .archive-hud i:first-of-type {
  background: var(--orange);
  box-shadow: 0 0 14px var(--orange);
}

.lore[data-lore-state="thesis"] .archive-hud i:nth-of-type(2) {
  background: var(--paper);
  box-shadow: 0 0 14px var(--paper);
}

.lore[data-lore-state="chain"] .archive-hud i:nth-of-type(3) {
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue);
}

.lore-panels {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: clamp(24px, 5vw, 74px);
  width: min(480px, 38vw);
  transform: translateY(-43%);
}

.lore-panel[hidden] {
  display: none;
}

.lore-panel {
  animation: lore-enter 560ms var(--ease-out);
}

@keyframes lore-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.lore-panel > p:first-child {
  margin: 0 0 24px;
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.lore-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 5.5vw, 86px);
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.lore-panel h3 + p {
  max-width: 430px;
  margin: 24px 0;
  color: #9aa6b1;
  font-size: 14px;
  line-height: 1.65;
}

.lore-panel a {
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lore-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.lore-tabs button {
  display: grid;
  min-height: 106px;
  grid-template-columns: 44px 1fr;
  align-content: center;
  gap: 4px 12px;
  padding: 16px 20px;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease;
}

.lore-tabs button:last-child {
  border-right: 0;
}

.lore-tabs button:hover,
.lore-tabs button.is-active {
  background: rgba(38, 159, 255, 0.07);
}

.lore-tabs button span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.lore-tabs button strong {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.lore-tabs button small {
  color: var(--muted);
  font-size: 9px;
}

.lore-tabs button.is-active span,
.lore-tabs button.is-active strong {
  color: var(--blue-light);
}

.lore-disclaimer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  font-family: var(--mono);
}

.lore-disclaimer strong {
  color: var(--orange);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.lore-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.55;
}

.lore-disclaimer a {
  color: var(--blue-light);
  font-size: 8px;
  white-space: nowrap;
}

.system-map {
  position: relative;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.system-heading {
  padding-bottom: 60px;
}

.system-journey {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.32fr);
  width: 100%;
  border-block: 1px solid var(--line);
}

.system-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--black);
}

.system-stage picture,
.system-stage picture img {
  width: 100%;
  height: 100%;
}

.system-stage picture {
  position: absolute;
  inset: 0;
}

.system-stage picture img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transition:
    transform 1s var(--ease-out),
    object-position 1s var(--ease-out),
    filter 1s ease;
}

.system-map[data-active-step="1"] .system-stage img {
  object-position: 54% center;
  transform: scale(1.055);
  filter: brightness(1.05);
}

.system-map[data-active-step="2"] .system-stage img {
  object-position: 62% center;
  transform: scale(1.075);
  filter: brightness(1.1);
}

.system-stage-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.88), rgba(5, 8, 11, 0.38) 48%, rgba(5, 8, 11, 0.12)),
    linear-gradient(0deg, rgba(5, 8, 11, 0.86), transparent 50%);
}

.inspection-light {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background: radial-gradient(
    340px circle at var(--inspect-x, 62%) var(--inspect-y, 52%),
    rgba(118, 199, 255, 0.13),
    transparent 70%
  );
  pointer-events: none;
}

.system-readout {
  position: absolute;
  z-index: 3;
  bottom: clamp(32px, 5vw, 78px);
  left: clamp(28px, 5vw, 76px);
  width: min(500px, 48vw);
}

.system-readout > span {
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.system-readout h3 {
  margin: 16px 0 18px;
  font-family: var(--display);
  font-size: clamp(55px, 6.7vw, 108px);
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.system-readout > p {
  max-width: 450px;
  margin: 0;
  color: #a3afba;
  font-size: 14px;
  line-height: 1.65;
}

.system-readout dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(380px, 100%);
  margin: 25px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.system-readout dl div {
  padding: 11px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-readout dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

.system-readout dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
}

.system-progress {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 28px;
  display: flex;
  gap: 5px;
}

.system-progress i {
  display: block;
  width: 34px;
  height: 2px;
  background: rgba(174, 185, 196, 0.22);
}

.system-progress i.is-active {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(38, 159, 255, 0.5);
}

.system-steps {
  min-width: 0;
  background: var(--black-2);
}

.system-step {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 78svh;
  padding: clamp(28px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  opacity: 0.4;
  transition:
    opacity 260ms ease,
    background-color 260ms ease;
}

.system-step:last-child {
  border-bottom: 0;
}

.system-step.is-active {
  opacity: 1;
  background: linear-gradient(90deg, rgba(38, 159, 255, 0.08), transparent);
}

.system-step > span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
}

.system-step h3 {
  margin: 18px 0 12px;
  font-family: var(--display);
  font-size: clamp(33px, 3.4vw, 54px);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.system-step p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.how-to-buy {
  position: relative;
}

.execution-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.execution-steps li {
  position: relative;
  min-height: 340px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition:
    background-color 220ms ease,
    transform 220ms var(--ease-out);
}

.execution-steps li:hover {
  z-index: 2;
  transform: translateY(-8px);
  background: rgba(38, 159, 255, 0.055);
}

.execution-steps li > span {
  color: var(--blue);
  font-family: var(--display);
  font-size: 42px;
}

.execution-steps li > div {
  position: absolute;
  right: 20px;
  bottom: 24px;
  left: 20px;
}

.execution-steps small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.execution-steps h3 {
  margin: 10px 0 12px;
  font-family: var(--display);
  font-size: clamp(25px, 2.5vw, 38px);
  letter-spacing: -0.045em;
}

.execution-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.execution-steps li > i {
  position: absolute;
  top: 24px;
  right: 20px;
  color: var(--muted);
  font-size: 20px;
  font-style: normal;
}

.protocol-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.final-cta {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 110px max(32px, calc((100vw - 1440px) / 2));
}

.final-media img {
  object-position: center;
  transform: scale(1.04);
}

.final-media .scene-vignette {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96), rgba(5, 8, 11, 0.72) 36%, rgba(5, 8, 11, 0.08) 70%),
    linear-gradient(0deg, rgba(5, 8, 11, 0.82), transparent 45%, rgba(5, 8, 11, 0.16));
}

.final-content {
  z-index: 2;
  width: min(820px, 66vw);
}

.final-content h2 {
  font-size: clamp(70px, 9vw, 150px);
}

.final-content > p {
  margin-top: 28px;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.final-coordinate {
  position: absolute;
  right: max(32px, calc((100vw - 1440px) / 2));
  bottom: 26px;
  left: max(32px, calc((100vw - 1440px) / 2));
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: rgba(174, 185, 196, 0.62);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 54px 80px;
  width: var(--page);
  margin-inline: auto;
  padding: 72px 0 34px;
}

.footer-brand p {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: end;
  gap: 20px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--blue-light);
}

.footer-disclaimer {
  grid-column: 1 / -1;
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
}

.footer-base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.mobile-command-dock {
  display: none;
}

.toast {
  position: fixed;
  z-index: 500;
  right: 24px;
  bottom: 24px;
  min-width: 230px;
  padding: 14px 16px;
  transform: translateY(20px);
  border: 1px solid rgba(118, 199, 255, 0.55);
  background: rgba(5, 8, 11, 0.94);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  transition:
    opacity 220ms ease,
    transform 220ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  :root {
    --page: min(100% - 48px, 1100px);
  }

  .site-header {
    padding-inline: 24px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 8px;
  }

  .brand small,
  .header-x {
    display: none;
  }

  .hero {
    padding-inline: 24px;
  }

  .hero-facts,
  .tax-proof-rail,
  .final-coordinate {
    right: 24px;
    left: 24px;
  }

  .scroll-cue {
    display: none;
  }

  .terminal-layout {
    grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  }

  .tax-control-grid {
    grid-template-columns: 1fr;
  }

  .rewards-console {
    margin-top: 0;
  }

  .system-journey {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
  }

  .terminal-layout {
    grid-template-columns: 1fr;
  }

  .market-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .market-price {
    margin: 0;
    padding: 0;
    border-bottom: 0;
  }

  .market-metrics,
  .contract-full {
    grid-column: 1 / -1;
  }

  .chart-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .tax-prologue-copy {
    width: min(620px, 62vw);
  }

  .lore-panels {
    width: min(480px, 48vw);
  }

  .lore-disclaimer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .system-journey {
    display: block;
  }

  .system-stage {
    position: relative;
    top: auto;
    height: min(82svh, 760px);
    min-height: 580px;
    border-right: 0;
  }

  .system-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .system-step {
    min-height: 250px;
    padding: 24px;
    border-right: 1px solid var(--line);
    cursor: pointer;
  }

  .system-step:last-child {
    border-right: 0;
  }

  .execution-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --page: calc(100vw - 34px);
    --header-h: 60px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 12px);
  }

  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .viewport-grid {
    opacity: 0.04;
    background-size: 100% 100%, 100% 64px;
  }

  .scene-scan,
  .ambient-canvas {
    display: none;
  }

  .hardline-meter {
    top: calc(var(--header-h) + 8px);
    bottom: calc(68px + env(safe-area-inset-bottom));
    left: 6px;
    gap: 6px;
  }

  .hardline-label {
    display: none;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
    font-size: 16px;
  }

  .brand-word {
    font-size: 16px;
  }

  .mobile-menu {
    padding-right: 18px;
    padding-left: 18px;
  }

  .mobile-menu nav a {
    min-height: 58px;
    font-size: clamp(25px, 8.2vw, 42px);
  }

  .section {
    padding-block: 88px;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 44px;
  }

  .section-heading h2,
  .tax-prologue-copy h2,
  .final-content h2 {
    font-size: clamp(49px, 15.3vw, 72px);
    line-height: 0.84;
  }

  .section-heading > p,
  .tax-prologue-copy > p,
  .final-content > p {
    font-size: 13px;
    line-height: 1.65;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 8px;
  }

  .hero {
    display: block;
    min-height: 100svh;
    padding: calc(var(--header-h) + 34px) 17px 160px;
  }

  .hero-media picture,
  .hero-media img {
    height: 100%;
  }

  .hero-media img {
    object-position: center top;
    transform: scale(1.01);
  }

  .hero-media .scene-vignette {
    background:
      linear-gradient(0deg, rgba(5, 8, 11, 0.99) 0%, rgba(5, 8, 11, 0.88) 38%, rgba(5, 8, 11, 0.16) 71%, rgba(5, 8, 11, 0.3)),
      linear-gradient(90deg, rgba(5, 8, 11, 0.62), transparent 70%);
  }

  .hero-content {
    display: block;
    min-height: calc(100svh - 220px);
  }

  .hero-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .hero-copy h1 {
    font-size: clamp(61px, 19vw, 92px);
    line-height: 0.78;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .button {
    flex: 1 1 140px;
    min-height: 48px;
    padding-inline: 14px;
    font-size: 8px;
  }

  .contract {
    width: 100%;
    min-width: 0;
  }

  .hero-readout {
    display: none;
  }

  .hero-facts {
    right: 17px;
    bottom: 18px;
    left: 17px;
    grid-template-columns: repeat(6, 1fr);
  }

  .hero-facts div {
    grid-column: span 2;
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:nth-child(n + 4) {
    grid-column: span 3;
    border-bottom: 0;
  }

  .hero-facts div:nth-child(3) {
    border-right: 0;
  }

  .hero-facts span {
    margin-bottom: 4px;
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .hero-facts strong {
    font-size: clamp(13px, 4vw, 18px);
  }

  .signal-marquee > div {
    min-height: 38px;
  }

  .terminal::before,
  .lore::after {
    display: none;
  }

  .console-bar {
    grid-template-columns: 1fr auto;
    gap: 8px;
    min-height: 38px;
    padding-inline: 10px;
    font-size: 8.5px;
  }

  .console-coordinates {
    display: none;
  }

  .market-sidebar {
    display: block;
    padding: 18px;
  }

  .market-price {
    margin-top: 24px;
  }

  .market-price > strong {
    font-size: 38px;
  }

  .market-metrics {
    margin-top: 20px;
  }

  .chart-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(300px, 1fr) auto;
    padding: 12px 10px 10px;
  }

  .chart-toolbar {
    display: block;
  }

  .chart-toolbar > span {
    display: block;
    margin-top: 8px;
    text-align: right;
  }

  .chart-ranges {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .chart-ranges button {
    min-width: 0;
    min-height: 44px;
  }

  .native-chart,
  .native-chart svg {
    min-height: 300px;
  }

  .chart-footer {
    display: grid;
    gap: 7px;
    justify-items: start;
  }

  .tax-prologue {
    height: 112svh;
    min-height: 720px;
  }

  .tax-sticky {
    min-height: 620px;
  }

  .tax-scene-media img {
    object-position: center top;
    transform: scale(1.01);
  }

  .tax-scene-media .scene-vignette {
    background:
      linear-gradient(0deg, rgba(5, 8, 11, 0.99), rgba(5, 8, 11, 0.9) 43%, rgba(5, 8, 11, 0.08) 72%),
      linear-gradient(90deg, rgba(5, 8, 11, 0.38), transparent);
  }

  .core-bloom {
    top: 28%;
    left: 50%;
    width: 90vw;
  }

  .tax-prologue-copy {
    top: auto;
    right: 17px;
    bottom: 116px;
    left: 17px;
    width: auto;
    transform: none;
  }

  .tax-prologue-copy > p {
    margin-top: 20px;
  }

  .tax-proof-rail {
    right: 17px;
    bottom: 18px;
    left: 17px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    min-height: 74px;
    padding: 10px;
    font-size: 9px;
  }

  .tax-proof-rail > i {
    display: none;
  }

  .tax-proof-rail > * {
    text-align: center;
  }

  .core-readout {
    top: 76px;
    right: 17px;
    font-size: 9px;
  }

  .tax-control {
    padding-top: 88px;
  }

  .config-alert {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: -18px;
  }

  .config-alert a {
    justify-self: start;
  }

  .routing-console > :not(.console-bar),
  .rewards-console > :not(.console-bar) {
    margin-inline: 16px;
  }

  .trade-mode {
    margin-top: 18px;
  }

  .tax-pipeline {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .tax-pipeline > div {
    min-height: 92px;
  }

  .tax-pipeline > div > strong {
    margin-block: 14px 5px;
    font-size: 20px;
  }

  .tax-pipeline > i {
    width: 1px;
    height: 20px;
    justify-self: center;
  }

  .tax-pipeline > i b {
    top: -6px;
    left: -1px;
    width: 3px;
    height: 8px;
    animation: pipe-flow-mobile 1.5s linear infinite;
  }

  @keyframes pipe-flow-mobile {
    to { top: calc(100% + 6px); }
  }

  .tax-calculator {
    padding: 16px;
  }

  .reward-title {
    display: block;
  }

  .block-readout {
    display: inline-block;
    margin-top: 14px;
  }

  .reward-title h3 {
    font-size: 42px;
  }

  .reward-metrics {
    grid-template-columns: 1fr;
  }

  .reward-metrics > div:first-child {
    grid-column: auto;
  }

  .reward-metrics dd strong {
    font-size: 34px;
  }

  .reward-links {
    display: grid;
    gap: 10px;
  }

  .payout-feed li:nth-child(n + 4) {
    display: none;
  }

  .lore-visual {
    min-height: 680px;
  }

  .lore-visual picture img,
  .lore[data-lore-state="phrase"] .lore-visual picture img {
    object-position: 22% top;
    transform: none;
  }

  .lore[data-lore-state="thesis"] .lore-visual picture img {
    object-position: 50% top;
    transform: none;
  }

  .lore[data-lore-state="chain"] .lore-visual picture img {
    object-position: 78% top;
    transform: none;
  }

  .lore-shade {
    background:
      linear-gradient(0deg, rgba(5, 8, 11, 0.99), rgba(5, 8, 11, 0.88) 48%, rgba(5, 8, 11, 0.1) 76%),
      linear-gradient(90deg, rgba(5, 8, 11, 0.34), transparent);
  }

  .archive-hud {
    inset: 13px 14px auto;
    font-size: 9px;
  }

  .lore-panels {
    top: auto;
    right: 20px;
    bottom: 28px;
    left: 20px;
    width: auto;
    transform: none;
  }

  .lore-panel h3 {
    font-size: 54px;
  }

  .lore-panel h3 + p {
    margin-block: 18px;
    font-size: 12px;
  }

  .lore-tabs {
    grid-template-columns: 1fr;
  }

  .lore-tabs button {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lore-tabs button:last-child {
    border-bottom: 0;
  }

  .lore-disclaimer {
    padding: 16px;
  }

  .lore-disclaimer p,
  .tax-disclosure,
  .reward-note,
  .tax-calculator > p {
    font-size: 10.5px;
    line-height: 1.65;
  }

  .chart-toolbar a,
  .chart-footer a,
  .reward-links a,
  .lore-panel a,
  .lore-disclaimer a,
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .system-heading {
    padding-bottom: 24px;
  }

  .system-stage {
    height: 74svh;
    min-height: 560px;
  }

  .system-stage picture img,
  .system-map[data-active-step="1"] .system-stage img,
  .system-map[data-active-step="2"] .system-stage img {
    object-position: center;
    transform: scale(1.02);
  }

  .system-stage-shade {
    background:
      linear-gradient(0deg, rgba(5, 8, 11, 0.96), rgba(5, 8, 11, 0.62) 46%, rgba(5, 8, 11, 0.08) 80%),
      linear-gradient(90deg, rgba(5, 8, 11, 0.3), transparent);
  }

  .system-readout {
    right: 20px;
    bottom: 30px;
    left: 20px;
    width: auto;
  }

  .system-readout h3 {
    margin-block: 12px;
    font-size: 54px;
  }

  .system-readout > p {
    font-size: 12px;
  }

  .system-steps {
    grid-template-columns: 1fr;
  }

  .system-step {
    min-height: 138px;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .system-step h3 {
    margin-block: 10px 7px;
    font-size: 29px;
  }

  .execution-steps {
    grid-template-columns: 1fr;
  }

  .execution-steps li {
    min-height: 220px;
  }

  .execution-steps h3 {
    font-size: 31px;
  }

  .protocol-actions .button {
    width: 100%;
  }

  .final-cta {
    align-items: end;
    min-height: 100svh;
    padding: 100px 17px 94px;
  }

  .final-media img {
    object-position: center top;
    transform: scale(1.01);
  }

  .final-media .scene-vignette {
    background:
      linear-gradient(0deg, rgba(5, 8, 11, 0.98), rgba(5, 8, 11, 0.86) 42%, rgba(5, 8, 11, 0.12) 77%),
      linear-gradient(90deg, rgba(5, 8, 11, 0.3), transparent);
  }

  .final-content {
    width: 100%;
  }

  .final-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .final-actions .button:first-child {
    grid-column: 1 / -1;
  }

  .final-actions .button {
    min-height: 48px;
    padding-inline: 13px;
    font-size: 8px;
  }

  .final-coordinate {
    right: 17px;
    bottom: 20px;
    left: 17px;
    font-size: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 58px 26px;
  }

  .footer-links {
    justify-content: start;
  }

  .footer-disclaimer,
  .footer-base {
    grid-column: auto;
  }

  .footer-base {
    gap: 20px;
    font-size: 9px;
  }

  .mobile-command-dock {
    position: fixed;
    z-index: 260;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(118, 199, 255, 0.38);
    background: rgba(5, 8, 11, 0.94);
    backdrop-filter: blur(18px);
  }

  .mobile-command-dock[hidden],
  body.menu-open .mobile-command-dock {
    display: none;
  }

  .mobile-command-dock a,
  .mobile-command-dock button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 58px;
    padding: 0 12px;
    border-right: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    color: var(--steel);
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .mobile-command-dock > :last-child {
    border-right: 0;
    background: var(--blue);
    color: #00111f;
  }

  .mobile-command-dock i {
    font-size: 14px;
    font-style: normal;
  }

  .toast {
    right: 12px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: 12px;
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 700px) and (max-height: 680px) {
  .hero {
    min-height: auto;
    padding-bottom: 28px;
  }

  .hero-content {
    min-height: 0;
  }

  .hero-copy {
    position: relative;
  }

  .hero-facts {
    position: relative;
    inset: auto;
    margin-top: 26px;
  }
}

@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 60px;
  }

  .hero-lede {
    font-size: 11px;
  }

  .hero-facts strong {
    font-size: 13px;
  }

  .chart-ranges button {
    font-size: 7px;
  }

  .tax-calculator dl {
    grid-template-columns: 1fr;
  }

  .final-actions {
    grid-template-columns: 1fr;
  }

  .final-actions .button:first-child {
    grid-column: auto;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .mobile-menu {
    display: block;
    padding-top: calc(var(--header-h) + 12px);
  }

  .mobile-menu-meta {
    margin-bottom: 12px;
  }

  .mobile-menu nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mobile-menu nav a {
    min-height: 44px;
    font-size: 22px;
  }

  .mobile-menu > .button {
    width: 100%;
    margin-top: 14px;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .button:hover,
  .execution-steps li:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .boot-sequence {
    display: none;
  }

  body.is-enhanced .reveal {
    opacity: 1;
    transform: none;
  }

  .scene-media img,
  .system-stage img {
    transform: none !important;
  }

  .tax-prologue {
    height: 100svh;
    min-height: 680px;
  }
}
