:root {
  --green: #00c805;
  --green-deep: #008f17;
  --night: #07110b;
  --deep: #0a1810;
  --cream: #f7f2e3;
  --warm: #ffb14a;
  --cyan: #00c7f2;
  --muted: #99a39a;
  --red: #ff5a52;
  --ink: #101610;
  --line: rgba(247, 242, 227, 0.18);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Inter", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  color-scheme: dark;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
}

html.home-scroll-scenes {
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: none;
}

body.home-scroll-scenes {
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: none;
}

.home-scroll-scenes .home-page > .hero,
.home-scroll-scenes .home-page > .surge-story,
.home-scroll-scenes .home-page > .pump-machine,
.home-scroll-scenes .home-page > .operations-deck,
.home-scroll-scenes .home-page > .forecourt-map,
.home-scroll-scenes .home-page > .closing-pump {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.home-scroll-scenes .home-page > .hero {
  scroll-margin-top: 76px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 80% 5%, rgba(0, 200, 5, 0.09), transparent 28rem),
    linear-gradient(180deg, #061009, #07110b 55%, #030806);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.15;
  content: "";
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.19'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
.button-link {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--night);
  background: var(--green);
  transform: translateY(-160%);
}

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

.canopy-nav {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 88px;
  padding: 14px clamp(22px, 4vw, 68px);
  border-bottom: 1px solid rgba(0, 200, 5, 0.24);
  background: rgba(3, 11, 7, 0.96);
}

.canopy-nav::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--green) 35%, var(--green) 68%, transparent);
  box-shadow: 0 0 22px rgba(0, 200, 5, 0.55);
  animation: canopy-pulse 7s steps(1) infinite;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.route-links {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 24px);
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.route-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
}

.route-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.route-links a:hover,
.route-links a.active {
  color: var(--cream);
}

.route-links a.active::after,
.route-links a:hover::after {
  transform: scaleX(1);
}

.window-decals {
  display: flex;
  gap: 8px;
}

.decal {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--cream);
  border-radius: 4px;
  color: var(--night);
  background: var(--cream);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  text-decoration: none;
  transform: rotate(-1deg);
}

.decal:nth-child(2) {
  color: var(--cream);
  background: var(--green-deep);
  transform: rotate(1deg);
}

.decal.disabled {
  color: var(--muted);
  background: transparent;
  border-color: rgba(153, 163, 154, 0.38);
}

.mobile-routes {
  display: none;
}

.page {
  min-height: calc(100vh - 88px);
}

.section-pad {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 128px) clamp(22px, 5vw, 82px);
}

.home-page > .section-pad {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.eyebrow,
.mono,
.source-line,
.micro,
.paper-kicker {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.74rem;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.83;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.route-intro h1 {
  font-size: clamp(4.5rem, 8.2vw, 9rem);
}

.route-intro p:not(.eyebrow) {
  max-width: 590px;
  margin: 28px 0 0;
  color: #d7ded8;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.route-intro.compact h1 {
  font-size: clamp(4rem, 7vw, 7.8rem);
}

.route-intro.center {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.route-intro.center p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 88px);
  overflow: hidden;
  background: var(--night);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  transition: transform 300ms ease-out;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(53%, 820px);
  min-height: calc(100svh - 186px);
  padding: clamp(44px, 6vw, 90px) 0 88px clamp(28px, 5vw, 78px);
}

.hero-copy h1 {
  font-size: clamp(4.8rem, 8vw, 9rem);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

.hero-lede {
  max-width: 540px;
  margin: 28px 0 24px;
  color: var(--cream);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.5;
  text-shadow: 0 2px 10px #000;
}

.hash-ramp label,
.window-form label,
.address-form label,
.join-ticket label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 64px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: 9px;
  outline: 0;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.22);
  font-family: var(--mono);
  font-size: 0.86rem;
}

input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 199, 242, 0.14);
}

button,
.button-link {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 9px;
  color: var(--night);
  background: var(--green);
  box-shadow: 0 7px 24px rgba(0, 200, 5, 0.2);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

button:hover,
.button-link:hover {
  box-shadow: 0 10px 32px rgba(0, 200, 5, 0.32);
  transform: translateY(-2px);
}

.hash-ramp {
  max-width: 780px;
}

.hash-ramp button {
  min-width: 210px;
}

.micro {
  margin: 15px 0 0;
  font-size: 0.68rem;
}

.cyan {
  color: var(--cyan);
}

.truth-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 98px;
  padding: 20px clamp(28px, 5vw, 78px);
  border-top: 1px solid rgba(247, 242, 227, 0.12);
  background: rgba(3, 11, 7, 0.95);
  font-family: var(--mono);
  font-size: clamp(0.61rem, 0.8vw, 0.75rem);
  line-height: 1.6;
}

.truth-strip span {
  max-width: 1080px;
}

.truth-strip strong {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.45rem;
  text-align: right;
}

[data-state="open"] {
  color: var(--green) !important;
}

[data-state="closed"] {
  color: var(--red) !important;
}

.meter-yard {
  position: relative;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 850px;
  font-size: clamp(3.4rem, 6vw, 7rem);
}

.meter-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.meter-card {
  position: relative;
  min-height: 185px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 5, 0.26);
  border-radius: 14px;
  background: linear-gradient(145deg, #102218, #08120c);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.meter-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  content: "";
  background: var(--green);
}

.meter-card.amber::before {
  background: var(--warm);
}

.meter-card > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.meter-card > strong {
  display: block;
  margin-top: 28px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 0.95;
}

.meter-card small {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 22px;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meter-card small a {
  color: var(--warm);
}

.info-art {
  position: relative;
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #020603;
}

.info-art img {
  display: block;
  width: 100%;
}

.info-art figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.info-art figcaption span {
  padding: 12px;
  border: 1px solid rgba(247, 242, 227, 0.24);
  border-radius: 6px;
  color: var(--night);
  background: rgba(247, 242, 227, 0.9);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
}

.source-line {
  margin-top: 16px;
  color: var(--cyan);
  font-size: 0.62rem;
  line-height: 1.5;
}

.station-footer {
  position: relative;
  padding: 34px clamp(22px, 5vw, 78px) 44px;
  border-top: 8px solid var(--green);
  color: #cad2cc;
  background: #020704;
  font-family: var(--mono);
  font-size: 0.67rem;
  line-height: 1.7;
}

.footer-board {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 15px 18px;
  border-radius: 7px;
  color: var(--ink);
  background: var(--cream);
}

.footer-board span {
  margin-right: auto;
  overflow-wrap: anywhere;
}

.footer-board a,
.receipt-ca a {
  font-weight: 700;
}

.text-button {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: currentColor;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
}

.text-button:hover {
  box-shadow: none;
}

.station-footer p {
  max-width: 1150px;
  margin: 6px 0;
}

.paper-panel {
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 12px 12px 0 rgba(0, 200, 5, 0.15);
}

.window-stage {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(440px, 1.18fr);
  gap: 28px clamp(38px, 6vw, 92px);
  align-items: center;
}

.window-art {
  grid-row: span 2;
  margin: 0;
  overflow: hidden;
  border-radius: 24px 24px 6px 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.window-art img {
  display: block;
  width: 100%;
}

.window-form {
  align-self: start;
}

.window-form input,
.join-ticket input {
  border-color: rgba(16, 22, 16, 0.2);
  box-shadow: none;
}

.window-form button,
.join-ticket button:not(.text-button) {
  width: 100%;
  margin-top: 12px;
}

.form-note {
  margin: 14px 0 0;
  color: #4c5850;
  font-family: var(--mono);
  font-size: 0.64rem;
}

.review-rack {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.review-rack > p {
  grid-column: 1 / -1;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.68rem;
}

.review-rack button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 80px;
  padding: 14px;
  color: var(--cream);
  background: #102118;
  box-shadow: none;
  text-align: left;
}

.review-rack button span {
  color: var(--green);
  font-size: 0.65rem;
}

.review-rack code {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
}

.verdict-slot {
  grid-column: 1 / -1;
  min-height: 170px;
  padding-top: 18px;
}

.verdict-slot > p,
.checking {
  padding: 28px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--mono);
}

.verdict-card {
  position: relative;
  padding: clamp(28px, 4vw, 58px);
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--cream);
  box-shadow: 14px 14px 0 var(--green);
}

.verdict-card.rejected {
  box-shadow: 14px 14px 0 var(--red);
}

.verdict-card h2 {
  margin: 12px 0;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.verdict-card > p {
  max-width: 780px;
  font-size: 1.15rem;
}

.verdict-card dl,
.receipt dl {
  display: grid;
  gap: 8px;
}

.verdict-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.verdict-card dl div,
.receipt dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(16, 22, 16, 0.35);
}

dt {
  color: #5d685f;
  font-family: var(--mono);
  font-size: 0.66rem;
}

dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-align: right;
  overflow-wrap: anywhere;
}

.queue-state {
  display: block;
  margin: 18px 0;
  font-family: var(--mono);
}

.verdict-card > small {
  display: block;
  margin-bottom: 12px;
  color: #58645b;
  font-family: var(--mono);
}

.receipt-ca {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.64rem;
}

.roll-stage {
  display: grid;
  grid-template-columns: 0.75fr 0.55fr 1fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.roll-stage .button-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
}

.roll-art {
  position: sticky;
  top: 24px;
  margin: 0;
  overflow: hidden;
  border-radius: 130px 130px 12px 12px;
}

.roll-art img {
  display: block;
  width: 100%;
}

.receipt-stack {
  display: grid;
  gap: 24px;
}

.receipt {
  position: relative;
  padding: 24px 24px 18px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 9px 10px 0 rgba(0, 200, 5, 0.25);
  animation: paper-feed 600ms cubic-bezier(0.21, 0.8, 0.28, 1) both;
}

.receipt.no {
  box-shadow: 9px 10px 0 rgba(255, 90, 82, 0.28);
}

.receipt::before,
.receipt::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 7px;
  content: "";
  background: linear-gradient(135deg, transparent 5px, var(--cream) 0) 0 0 / 10px 10px repeat-x;
}

.receipt::before {
  top: -7px;
}

.receipt::after {
  bottom: -7px;
  transform: rotate(180deg);
}

.receipt header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.7rem;
}

.tear {
  margin: 18px 0;
  border-top: 1px dashed rgba(16, 22, 16, 0.45);
}

.receipt dl {
  margin: 0;
}

.receipt > small {
  display: block;
  margin-top: 16px;
  color: #5d685f;
  font-family: var(--mono);
  font-size: 0.58rem;
}

.covered-stage {
  position: relative;
}

.address-form {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 42px auto -48px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 17, 11, 0.92);
  box-shadow: 0 18px 70px #000;
}

.covered-art {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
}

.covered-art img {
  display: block;
  width: 100%;
}

.lane-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: -40px;
  padding: 0 clamp(10px, 4vw, 60px);
}

.lane-results > .source-line {
  grid-column: 1 / -1;
}

.lane {
  position: relative;
  z-index: 2;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 18, 12, 0.96);
}

.lane > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.lane > strong {
  display: block;
  margin: 22px 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
}

.lane.green {
  border-color: rgba(0, 200, 5, 0.62);
}

.lane.muted {
  border-color: rgba(247, 242, 227, 0.28);
}

.lane div {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.75rem;
}

.lane div a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--cream);
  text-decoration: none;
}

.lane div em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.tank-stage {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px 70px;
  align-items: end;
}

.tank-art {
  position: relative;
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 5, 0.32);
  border-radius: 26px;
}

.tank-art img {
  display: block;
  width: 100%;
}

.tank-state {
  position: absolute;
  top: 24px;
  right: 24px;
  max-width: 280px;
  padding: 12px 18px;
  border: 2px solid var(--cream);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(7, 17, 11, 0.9);
  font-family: var(--display);
  font-size: 1.8rem;
  text-align: center;
}

.tank-ledger {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  background: var(--line);
}

.tank-ledger article {
  min-height: 130px;
  padding: 24px;
  background: var(--deep);
}

.tank-ledger span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.tank-ledger strong {
  display: block;
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 3.1rem);
  overflow-wrap: anywhere;
}

.tank-ledger strong.mono {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.5;
}

.rules-stage {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 34px clamp(36px, 6vw, 86px);
  align-items: start;
}

.rules-art {
  grid-column: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.rules-art img {
  display: block;
  width: 100%;
}

.rule-plates {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.rule-plates li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0e1f15;
}

.rule-plates li > span {
  color: var(--green);
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 0.85;
}

.rule-plates strong {
  font-family: var(--mono);
  font-size: 0.76rem;
}

.rule-plates p,
.honest-limits p {
  color: #cad2cc;
  line-height: 1.55;
}

.rule-plates p {
  margin: 8px 0 0;
  font-size: 0.88rem;
}

.honest-limits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.honest-limits p {
  margin: 0;
  padding: 20px;
  border-left: 3px solid var(--warm);
  background: rgba(255, 177, 74, 0.06);
}

.rule-contact-board {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--cream);
}

.rule-contact-board > span {
  margin-right: auto;
  overflow-wrap: anywhere;
}

.rule-contact-board .decal {
  border-color: var(--ink);
}

.after-stage {
  position: relative;
}

.deadline-counter {
  display: inline-block;
  margin-top: 34px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 177, 74, 0.45);
  border-radius: 8px;
  color: var(--warm);
  background: rgba(255, 177, 74, 0.06);
  font-family: var(--mono);
  font-size: clamp(1rem, 2.2vw, 1.8rem);
}

.after-art {
  margin: 46px 0 -78px;
  overflow: hidden;
  border-radius: 26px;
}

.after-art img {
  display: block;
  width: 100%;
}

.terms-card {
  position: relative;
  width: min(90%, 920px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px);
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--cream);
  box-shadow: 16px 16px 0 var(--green);
}

.terms-card blockquote {
  margin: 20px 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
}

.terms-card p {
  line-height: 1.6;
}

.terms-card a {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.after-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 88px;
}

.after-columns article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.after-columns span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.after-columns p {
  color: #d6ddd7;
  line-height: 1.6;
}

.join-stage {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 28px clamp(40px, 6vw, 90px);
  align-items: center;
}

.join-art {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  overflow: hidden;
  border-radius: 180px 18px 18px 18px;
}

.join-art img {
  display: block;
  width: 100%;
}

.join-ticket {
  position: relative;
  align-self: start;
}

.join-ticket::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 11px;
  content: "";
  background: linear-gradient(135deg, transparent 7px, var(--cream) 0) 0 0 / 14px 14px repeat-x;
}

.join-ticket > p {
  min-height: 22px;
  color: #526057;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  padding: 13px 18px;
  border: 2px solid var(--night);
  color: var(--night);
  background: var(--green);
  box-shadow: 7px 7px 0 var(--cream);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.notice.show {
  opacity: 1;
  transform: none;
}

@keyframes canopy-pulse {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.55; }
  94% { opacity: 0.9; }
  95% { opacity: 0.62; }
}

@keyframes paper-feed {
  from { opacity: 0; clip-path: inset(0 0 100%); transform: translateY(-24px); }
  to { opacity: 1; clip-path: inset(0); transform: none; }
}

@media (max-width: 1180px) {
  .canopy-nav {
    grid-template-columns: auto 1fr auto;
  }

  .route-links {
    display: none;
  }

  .mobile-routes {
    position: relative;
    display: block;
    justify-self: end;
    margin-left: 14px;
    font-family: var(--mono);
    font-size: 0.7rem;
  }

  .mobile-routes summary {
    padding: 10px;
    border: 1px solid var(--line);
    cursor: pointer;
    list-style: none;
  }

  .mobile-routes nav {
    position: absolute;
    top: 44px;
    right: 0;
    display: grid;
    width: 230px;
    padding: 10px;
    border: 1px solid var(--line);
    background: #061009;
    box-shadow: 0 22px 60px #000;
  }

  .mobile-routes a {
    padding: 10px;
    color: var(--muted);
    text-decoration: none;
  }

  .mobile-routes a.active {
    color: var(--green);
  }

  .mobile-socials {
    display: flex;
    gap: 8px;
    padding: 10px 5px 4px;
    border-top: 1px solid var(--line);
  }

  .mobile-socials .decal {
    padding: 7px;
  }

  .meter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roll-stage {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .roll-stage .route-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .canopy-nav {
    min-height: 72px;
    padding: 10px 18px;
  }

  .brand {
    font-size: 1.55rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .window-decals {
    display: none;
  }

  .page {
    min-height: calc(100vh - 72px);
  }

  .hero {
    min-height: calc(100svh - 72px);
  }

  .hero-art {
    object-position: 62% center;
  }

  .hero-copy {
    width: 100%;
    min-height: calc(100svh - 150px);
    padding: 38px 20px 108px;
  }

  .hero-copy h1 {
    max-width: 610px;
    font-size: clamp(3.8rem, 16vw, 6rem);
  }

  .hero-lede {
    max-width: 420px;
    margin-top: 20px;
  }

  .hash-ramp {
    max-width: 620px;
  }

  .hash-ramp .input-row {
    grid-template-columns: 1fr;
  }

  .hash-ramp button {
    min-width: 0;
  }

  .truth-strip {
    min-height: 82px;
    padding: 12px 20px;
    font-size: 0.53rem;
  }

  .truth-strip strong {
    display: none;
  }

  .window-stage,
  .tank-stage,
  .rules-stage,
  .join-stage {
    grid-template-columns: 1fr;
  }

  .window-art,
  .window-form,
  .review-rack,
  .verdict-slot,
  .tank-art,
  .tank-ledger,
  .rules-art,
  .rule-plates,
  .honest-limits,
  .rule-contact-board,
  .join-art,
  .join-ticket {
    grid-column: 1;
    grid-row: auto;
  }

  .window-art {
    order: 2;
  }

  .window-form {
    order: 3;
  }

  .review-rack {
    order: 4;
  }

  .verdict-slot {
    order: 5;
  }

  .review-rack {
    grid-template-columns: 1fr;
  }

  .roll-stage {
    grid-template-columns: 0.55fr 1fr;
  }

  .roll-stage .route-intro {
    grid-column: 1 / -1;
  }

  .lane-results,
  .tank-ledger,
  .honest-limits,
  .after-columns {
    grid-template-columns: 1fr;
  }

  .rule-plates {
    margin-top: 10px;
  }

  .join-art {
    order: 2;
  }

  .join-ticket {
    order: 3;
  }
}

@media (max-width: 560px) {
  .section-pad {
    padding: 58px 16px 76px;
  }

  .route-intro h1,
  .route-intro.compact h1 {
    font-size: clamp(3.7rem, 19vw, 5.2rem);
  }

  .hero-copy {
    justify-content: flex-start;
    padding-top: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(3.35rem, 16vw, 4.25rem);
  }

  .hero-lede {
    max-width: 330px;
    margin-bottom: 16px;
    font-size: 0.91rem;
  }

  .hash-ramp label {
    margin-bottom: 6px;
  }

  input {
    min-height: 54px;
  }

  .hash-ramp button {
    min-height: 48px;
  }

  .micro {
    margin-top: 10px;
    font-size: 0.58rem;
  }

  .truth-strip span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 3.45rem;
  }

  .meter-grid,
  .roll-stage,
  .verdict-card dl {
    grid-template-columns: 1fr;
  }

  .meter-card {
    min-height: 150px;
  }

  .info-art figcaption {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px;
    background: var(--deep);
  }

  .window-art,
  .covered-art,
  .tank-art,
  .rules-art,
  .after-art,
  .join-art {
    border-radius: 12px;
  }

  .address-form {
    margin-bottom: 16px;
  }

  .address-form .input-row {
    grid-template-columns: 1fr;
  }

  .lane-results {
    margin-top: 16px;
    padding: 0;
  }

  .roll-art {
    position: static;
    width: 70%;
    margin: 0 auto;
  }

  .rule-plates li {
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 17px;
  }

  .rule-plates li > span {
    font-size: 2.4rem;
  }

  .terms-card {
    width: 96%;
    box-shadow: 8px 8px 0 var(--green);
  }

  .after-art {
    margin-bottom: -34px;
  }

  .footer-board {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice {
    right: 14px;
    bottom: 14px;
    left: 14px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Technical art pass: crisp protocol diagrams replace rendered concept art. */
.hero-art,
.info-art img,
.window-art img,
.roll-art img,
.covered-art img,
.tank-art img,
.rules-art img,
.after-art img,
.join-art img,
.closing-pump img {
  image-rendering: auto;
}

.window-art,
.roll-art,
.covered-art,
.tank-art,
.rules-art,
.after-art,
.join-art,
.closing-pump figure,
.pump-machine .info-art {
  border: 1px solid rgba(0, 200, 5, 0.4);
  border-radius: 7px;
  background: #030a06;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  transform: none;
}

.home-page .hero-art {
  object-position: center;
  opacity: 0.96;
}

.home-page .hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(0, 200, 5, 0.018) 5px 6px);
  pointer-events: none;
}

.roll-art {
  border-radius: 7px;
}

.closing-pump img {
  filter: none;
}

/* Forecourt rebuild: product state sits on top of the approved A-world art. */
.nav-chain-stamp {
  position: absolute;
  bottom: 7px;
  left: clamp(82px, 8vw, 126px);
  display: flex;
  align-items: center;
  gap: 7px;
  color: #718077;
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}

.nav-chain-stamp i,
.price-pole-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: status-breathe 2.2s ease-in-out infinite;
}

.nav-chain-stamp b {
  color: var(--green);
  font-weight: 600;
}

.home-page {
  overflow: clip;
}

.home-page .hero {
  min-height: calc(100svh - 88px);
  border-bottom: 1px solid rgba(0, 200, 5, 0.38);
}

.home-page .hero::before {
  position: absolute;
  top: 0;
  bottom: 98px;
  left: 0;
  z-index: -1;
  width: min(66%, 980px);
  content: "";
  background: linear-gradient(90deg, rgba(3, 10, 6, 0.94) 0%, rgba(3, 10, 6, 0.74) 64%, transparent 100%);
  pointer-events: none;
}

.home-page .hero-copy {
  position: relative;
  z-index: 2;
  justify-content: flex-start;
  width: min(60%, 860px);
  padding-top: clamp(34px, 4.2vw, 62px);
}

.home-page .hero-copy h1 {
  font-size: clamp(4.9rem, 7.15vw, 7.7rem);
  filter: drop-shadow(0 10px 30px #000);
}

.home-page .hero-lede {
  max-width: 570px;
  margin: 18px 0;
}

.price-pole {
  position: absolute;
  top: clamp(28px, 5vw, 74px);
  right: clamp(24px, 4.8vw, 76px);
  z-index: 3;
  width: clamp(220px, 20vw, 294px);
  padding: 13px;
  border: 1px solid rgba(247, 242, 227, 0.38);
  border-radius: 7px;
  background: rgba(2, 8, 4, 0.88);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52), inset 0 0 0 4px rgba(0, 200, 5, 0.05);
  backdrop-filter: blur(8px);
  transform: perspective(800px) rotateY(-5deg);
}

.price-pole-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1px 3px 11px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.price-pole dl {
  margin: 0;
  border: 1px solid rgba(0, 200, 5, 0.24);
  background: #020503;
}

.price-pole dl div {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px 11px;
  border-bottom: 1px solid rgba(0, 200, 5, 0.2);
}

.price-pole dl div:last-child {
  border-bottom: 0;
}

.price-pole dt {
  color: #6e7c72;
  font-size: 0.54rem;
}

.price-pole dd {
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
  text-align: right;
  text-shadow: 0 0 14px rgba(0, 200, 5, 0.32);
}

.price-pole small {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  color: #718077;
  font-family: var(--mono);
  font-size: 0.47rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pump-console {
  position: relative;
  width: min(100%, 700px);
  padding: 14px 15px 12px;
  border: 2px solid #131a14;
  border-radius: 7px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8px 8px, #667067 0 2px, transparent 3px),
    radial-gradient(circle at calc(100% - 8px) 8px, #667067 0 2px, transparent 3px),
    linear-gradient(135deg, #f7f2e3, #d9ddcf);
  box-shadow: 10px 12px 0 rgba(0, 200, 5, 0.42), 0 26px 68px rgba(0, 0, 0, 0.45);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.pump-console[data-ready="true"] {
  box-shadow: 10px 12px 0 var(--cyan), 0 26px 68px rgba(0, 0, 0, 0.45);
}

.pump-console.primed {
  animation: handle-pull 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pump-console-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  padding: 0 3px 8px;
  border-bottom: 1px solid rgba(16, 22, 16, 0.28);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.07em;
}

.pump-console-head strong {
  color: var(--green-deep);
}

.pump-console .hash-ramp label {
  margin-bottom: 6px;
  color: #475149;
  font-size: 0.55rem;
}

.pump-console input {
  min-height: 52px;
  border: 1px solid #111812;
  border-radius: 3px;
  background: #fffdf5;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pump-console .hash-ramp button {
  min-width: 178px;
  min-height: 52px;
  border: 1px solid #08120b;
  border-radius: 3px;
  box-shadow: 4px 4px 0 #101610;
}

.pump-controls {
  display: grid;
  grid-template-columns: 160px 130px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  margin-top: 10px;
}

.nozzle-control {
  position: relative;
  min-height: 38px;
  padding: 0 12px;
  overflow: visible;
  border: 1px solid #070b08;
  border-radius: 3px;
  color: var(--cream);
  background: #111812;
  box-shadow: none;
  font-size: 0.58rem;
}

.nozzle-control:hover {
  box-shadow: none;
}

.nozzle-control i {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 22px;
  height: 9px;
  border-radius: 0 8px 8px 0;
  background: #111812;
  transform: translateY(-50%) rotate(-20deg);
}

.console-gauge {
  position: relative;
  width: 118px;
  height: 50px;
  overflow: hidden;
  border: 1px solid #111812;
  border-radius: 70px 70px 4px 4px;
  background: repeating-conic-gradient(from 270deg at 50% 100%, #111812 0 1deg, transparent 1deg 12deg), #e9e6d9;
}

.console-gauge::after {
  position: absolute;
  right: 12px;
  bottom: -20px;
  left: 12px;
  height: 36px;
  border-radius: 50%;
  content: "";
  background: #e9e6d9;
}

.console-gauge > i {
  position: absolute;
  bottom: 3px;
  left: 50%;
  z-index: 2;
  width: 42px;
  height: 2px;
  background: var(--red);
  transform: rotate(-62deg);
  transform-origin: left center;
  transition: transform 160ms ease;
}

.console-gauge b {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.42rem;
  text-align: center;
}

.pump-controls p {
  margin: 0;
  color: #4b574d;
  font-family: var(--mono);
  font-size: 0.55rem;
  line-height: 1.55;
}

.pump-controls p strong {
  color: var(--green-deep);
}

[data-reveal] {
  opacity: 1;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

.surge-story {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  color: var(--ink);
  background: var(--cream);
}

.surge-lead {
  padding: clamp(68px, 8vw, 130px) clamp(28px, 6vw, 96px);
  border-right: 2px solid var(--ink);
}

.surge-lead h2,
.machine-heading h2 {
  font-size: clamp(4rem, 7.8vw, 8.5rem);
}

.surge-lead h2 em {
  color: var(--green-deep);
  font-style: normal;
}

.surge-lead > p:last-child {
  max-width: 560px;
  margin: 30px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.surge-dials {
  display: grid;
  grid-template-columns: 1fr 82px 1fr;
  align-items: stretch;
  min-width: 0;
}

.surge-dials article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 4vw, 64px);
  background: #dfe3d7;
}

.surge-dials article.hot {
  color: var(--cream);
  background: var(--green-deep);
}

.surge-dials small,
.surge-dials span,
.surge-foot {
  font-family: var(--mono);
}

.surge-dials small {
  font-size: 0.65rem;
}

.surge-dials strong {
  margin: 24px 0 18px;
  font-family: var(--display);
  font-size: clamp(3.2rem, 4.8vw, 6rem);
  font-weight: 900;
  line-height: 0.82;
  overflow-wrap: anywhere;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.surge-dials span {
  font-size: 0.58rem;
}

.surge-arrow {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: var(--ink);
}

.surge-arrow i {
  width: 2px;
  height: 56px;
  background: var(--green);
}

.surge-arrow b {
  padding: 18px 0;
  font-family: var(--display);
  font-size: 2.6rem;
}

.surge-foot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  border-top: 2px solid var(--ink);
  font-size: 0.62rem;
}

.surge-foot > * {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 7px;
  padding: 15px 20px;
  border-right: 1px solid rgba(16, 22, 16, 0.3);
}

.surge-foot b {
  font-family: var(--display);
  font-size: 1.3rem;
}

.surge-foot a {
  color: var(--cream);
  background: var(--ink);
  text-decoration: none;
}

.pump-machine {
  padding-top: clamp(90px, 10vw, 160px);
  padding-bottom: clamp(90px, 10vw, 160px);
}

.machine-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.machine-heading h2 {
  font-size: clamp(4rem, 7vw, 7.8rem);
}

.machine-heading > p {
  max-width: 420px;
  margin: 0 0 8px;
  color: #b8c3ba;
  line-height: 1.6;
}

.flow-machine {
  --flow-step: 0;
  border: 1px solid rgba(0, 200, 5, 0.38);
  border-radius: 18px;
  background: #020704;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.flow-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 1px;
  background: rgba(247, 242, 227, 0.13);
}

.flow-rail button {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 98px;
  padding: 18px;
  border-radius: 0;
  color: #89958c;
  background: #09120d;
  box-shadow: none;
  text-align: left;
}

.flow-rail button:hover,
.flow-rail button.active {
  color: var(--cream);
  background: #102218;
  box-shadow: inset 0 -4px var(--green);
  transform: none;
}

.flow-rail button span {
  color: var(--green);
  font-family: var(--display);
  font-size: 2.2rem;
}

.flow-rail button strong {
  font-size: 0.62rem;
}

.flow-readout {
  display: grid;
  grid-template-columns: 180px 1fr 190px;
  align-items: center;
  gap: clamp(24px, 4vw, 66px);
  min-height: 310px;
  padding: clamp(28px, 5vw, 70px);
}

.flow-readout > span {
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(7rem, 13vw, 14rem);
  font-weight: 900;
  line-height: 0.7;
  text-shadow: 0 0 40px rgba(0, 200, 5, 0.18);
}

.flow-readout small {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.flow-readout h3 {
  margin: 10px 0 16px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 0.9;
}

.flow-readout p {
  max-width: 640px;
  margin: 0;
  color: #c6d0c8;
  font-size: 1rem;
  line-height: 1.65;
}

.flow-pressure {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  height: 112px;
  padding: 16px 12px 24px;
  border: 1px solid rgba(247, 242, 227, 0.16);
  border-radius: 8px;
}

.flow-pressure i {
  width: 13px;
  height: calc(18px + (var(--flow-step) + 1) * 10px);
  max-height: 66px;
  background: var(--green);
  animation: pressure-shift 1.2s ease-in-out infinite alternate;
}

.flow-pressure i:nth-child(2) { animation-delay: -0.5s; }
.flow-pressure i:nth-child(3) { animation-delay: -0.8s; }
.flow-pressure i:nth-child(4) { animation-delay: -0.2s; }
.flow-pressure i:nth-child(5) { animation-delay: -1s; }

.flow-pressure b {
  position: absolute;
  margin-bottom: -17px;
  color: #718077;
  font-family: var(--mono);
  font-size: 0.48rem;
}

.pump-machine .info-art {
  width: min(92%, 1240px);
  margin: 34px auto 0;
  border-radius: 180px 18px 18px;
  transform: rotate(-0.7deg);
}

.operations-deck {
  width: 100%;
  max-width: none;
  color: var(--ink);
  background: var(--cream);
}

.machine-heading.inverse .eyebrow {
  color: var(--green-deep);
}

.machine-heading.inverse > p {
  color: #48544b;
}

.operations-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 2px;
  border: 2px solid var(--ink);
  background: var(--ink);
}

.operations-grid article {
  position: relative;
  min-height: 188px;
  padding: 23px;
  overflow: hidden;
  background: #ecebdc;
}

.operations-grid article:nth-child(3n) {
  background: #dce3d8;
}

.operations-grid article > span {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
}

.operations-grid article > strong {
  display: block;
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  font-weight: 900;
  line-height: 0.85;
  overflow-wrap: anywhere;
}

.operations-grid article > small {
  position: absolute;
  right: 20px;
  bottom: 16px;
  left: 23px;
  overflow: hidden;
  color: #687269;
  font-family: var(--mono);
  font-size: 0.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-grid .odometer {
  grid-row: span 2;
  color: var(--green);
  background: var(--ink);
}

.operations-grid .odometer > strong {
  margin-top: 44px;
  font-size: clamp(3.8rem, 7vw, 8rem);
  text-shadow: 0 0 20px rgba(0, 200, 5, 0.22);
}

.operations-grid .odometer > small {
  color: #708076;
}

.odometer-bars {
  position: absolute;
  right: 22px;
  bottom: 48px;
  left: 23px;
  display: flex;
  gap: 5px;
  height: 54px;
  align-items: flex-end;
}

.odometer-bars i {
  flex: 1;
  height: 20%;
  background: rgba(0, 200, 5, 0.6);
  animation: meter-jump 1.6s steps(4) infinite alternate;
}

.odometer-bars i:nth-child(2) { animation-delay: -0.4s; }
.odometer-bars i:nth-child(3) { animation-delay: -0.9s; }
.odometer-bars i:nth-child(4) { animation-delay: -1.3s; }
.odometer-bars i:nth-child(5) { animation-delay: -0.7s; }
.odometer-bars i:nth-child(6) { animation-delay: -1.5s; }

.operations-grid .tank-cell {
  grid-column: span 2;
}

.operations-grid .deadline-cell {
  grid-column: span 2;
  color: var(--cream);
  background: var(--green-deep);
}

.operations-grid .deadline-cell small,
.operations-grid .deadline-cell small a {
  color: var(--cream);
}

.capacity-track {
  position: absolute;
  right: 22px;
  bottom: 44px;
  left: 23px;
  height: 8px;
  background: rgba(16, 22, 16, 0.14);
}

.capacity-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green-deep);
  transition: width 700ms ease;
}

.forecourt-map {
  padding-top: clamp(100px, 11vw, 180px);
  padding-bottom: clamp(100px, 11vw, 180px);
}

.map-board {
  position: relative;
  height: 620px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 5, 0.5);
  border-radius: 26px;
  background: #030906;
  box-shadow: inset 0 0 100px rgba(0, 200, 5, 0.04), 0 34px 100px rgba(0, 0, 0, 0.35);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(0, 200, 5, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 200, 5, 0.5) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle, black, transparent 88%);
}

.map-board::before,
.map-board::after {
  position: absolute;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}

.map-board::before {
  top: 18px;
  left: 20px;
  content: "NIGHT FORECOURT · ACCESS MAP";
  color: var(--green);
}

.map-board::after {
  right: 20px;
  bottom: 18px;
  content: "EVERY PATH IS READ ONLY";
  color: #718077;
}

.map-pump {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: #08130c;
  box-shadow: 0 0 0 18px rgba(0, 200, 5, 0.04), 0 0 80px rgba(0, 200, 5, 0.13);
  transform: translate(-50%, -50%);
}

.map-pump img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  opacity: 0.55;
}

.map-pump span {
  position: absolute;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 0.8;
  text-align: center;
}

.map-stop {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px 10px;
  width: 220px;
  min-height: 94px;
  padding: 14px;
  border: 1px solid rgba(247, 242, 227, 0.23);
  border-radius: 7px;
  color: var(--cream);
  background: rgba(8, 19, 12, 0.94);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.map-stop:hover {
  border-color: var(--green);
  background: #10281a;
  transform: translateY(-5px) rotate(-1deg);
}

.map-stop > span {
  grid-row: 1 / span 3;
  color: var(--green);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
}

.map-stop strong {
  font-family: var(--mono);
  font-size: 0.62rem;
}

.map-stop small {
  color: #9ba89e;
  font-size: 0.62rem;
  line-height: 1.35;
}

.map-stop > i {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.49rem;
  font-style: normal;
}

.stop-1 { top: 11%; left: 6%; }
.stop-2 { top: 8%; left: 37%; }
.stop-3 { top: 11%; right: 6%; }
.stop-4 { top: 42%; right: 4%; }
.stop-5 { right: 21%; bottom: 8%; }
.stop-6 { bottom: 7%; left: 29%; }
.stop-7 { bottom: 16%; left: 4%; }

.map-hose {
  position: absolute;
  inset: 7%;
  z-index: 2;
  width: 86%;
  height: 86%;
  overflow: visible;
}

.map-hose path {
  fill: none;
  stroke: rgba(0, 200, 5, 0.55);
  stroke-width: 2;
  stroke-dasharray: 8 11;
  vector-effect: non-scaling-stroke;
  animation: hose-move 18s linear infinite;
}

.night-roll {
  border-top: 1px solid rgba(0, 200, 5, 0.25);
  border-bottom: 1px solid rgba(0, 200, 5, 0.25);
  background: #020704;
}

.night-roll-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(247, 242, 227, 0.13);
  color: #8b978e;
  font-family: var(--mono);
  font-size: 0.58rem;
}

.night-roll-head a {
  color: var(--green);
  text-decoration: none;
}

.night-roll-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: receipt-conveyor 34s linear infinite;
}

.night-roll-track:hover {
  animation-play-state: paused;
}

.night-roll-track > span {
  padding: 34px;
  color: #7f8b82;
  font-family: var(--mono);
}

.night-roll-track a {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr);
  gap: 8px 18px;
  width: 340px;
  padding: 28px 30px;
  border-right: 1px dashed rgba(247, 242, 227, 0.18);
  color: var(--cream);
  text-decoration: none;
}

.night-roll-track b {
  grid-row: span 2;
  color: var(--green);
  font-family: var(--display);
  font-size: 2.2rem;
}

.night-roll-track code,
.night-roll-track span,
.night-roll-track em {
  font-family: var(--mono);
  font-size: 0.55rem;
}

.night-roll-track em {
  color: var(--cyan);
  font-style: normal;
}

.closing-pump figure {
  position: relative;
  height: min(72vw, 760px);
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
}

.closing-pump img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08);
  transform: scale(1.02);
}

.closing-pump figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(247, 242, 227, 0.38);
  color: var(--cream);
  background: rgba(2, 8, 4, 0.88);
  backdrop-filter: blur(9px);
}

.closing-pump figcaption span {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 900;
  line-height: 0.82;
}

.closing-pump figcaption a {
  flex: 0 0 auto;
  padding: 18px 22px;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-decoration: none;
}

.window-scanner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  padding: 1px;
  border: 1px solid rgba(0, 200, 5, 0.3);
  background: rgba(0, 200, 5, 0.16);
}

.window-scanner span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  color: #a8b3aa;
  background: #09130d;
  font-family: var(--mono);
  font-size: 0.5rem;
}

.window-scanner i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 200, 5, 0.42);
}

.roll-controls {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.roll-controls > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.roll-controls button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(247, 242, 227, 0.3);
  border-radius: 3px;
  color: #aab6ad;
  background: transparent;
  box-shadow: none;
  font-size: 0.56rem;
}

.roll-controls button:hover,
.roll-controls button.active {
  border-color: var(--green);
  color: var(--night);
  background: var(--green);
  box-shadow: none;
  transform: none;
}

.roll-controls button b {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  min-height: 20px;
  margin-left: 6px;
  border-radius: 50%;
  color: var(--night);
  background: var(--cream);
}

.roll-controls small {
  display: block;
  margin-top: 10px;
  color: #748078;
  font-family: var(--mono);
  font-size: 0.48rem;
}

.tank-capacity {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(340px, calc(100% - 48px));
  padding: 15px;
  border: 1px solid rgba(247, 242, 227, 0.45);
  border-radius: 7px;
  background: rgba(2, 8, 4, 0.9);
  backdrop-filter: blur(7px);
}

.tank-capacity span,
.tank-capacity b {
  font-family: var(--mono);
  font-size: 0.56rem;
}

.tank-capacity b {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--green);
}

.tank-capacity > div {
  height: 12px;
  margin-top: 12px;
  border: 1px solid rgba(247, 242, 227, 0.3);
  background: rgba(247, 242, 227, 0.06);
}

.tank-capacity i {
  display: block;
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--green) 0 16px, transparent 16px 19px);
  transition: width 700ms ease;
}

@keyframes status-breathe {
  50% { opacity: 0.35; transform: scale(0.7); }
}

@keyframes handle-pull {
  35% { transform: translateY(5px) rotate(-0.5deg); }
  70% { transform: translateY(-2px) rotate(0.3deg); }
}

@keyframes pressure-shift {
  from { height: 18px; opacity: 0.4; }
  to { height: 66px; opacity: 1; }
}

@keyframes meter-jump {
  0% { height: 16%; }
  100% { height: 94%; }
}

@keyframes hose-move {
  to { stroke-dashoffset: -380; }
}

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

@media (max-width: 1180px) {
  .price-pole {
    display: none;
  }

  .home-page .hero-copy {
    width: min(74%, 820px);
  }

  .surge-story {
    grid-template-columns: 1fr;
  }

  .surge-lead {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

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

  .operations-grid .odometer {
    grid-column: span 2;
    grid-row: span 1;
  }

  .map-stop {
    width: 190px;
  }
}

@media (max-width: 820px) {
  .nav-chain-stamp {
    display: none;
  }

  .home-page .hero::before {
    width: 100%;
    background: linear-gradient(90deg, rgba(3, 10, 6, 0.9), rgba(3, 10, 6, 0.54) 76%, transparent);
  }

  .home-page .hero-copy {
    width: 100%;
    padding-top: 28px;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(3.6rem, 14vw, 5.5rem);
  }

  .pump-controls {
    grid-template-columns: 145px 124px 1fr;
  }

  .surge-foot {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-rail {
    grid-template-columns: 1fr;
  }

  .flow-rail button {
    min-height: 66px;
  }

  .flow-readout {
    grid-template-columns: 112px 1fr;
  }

  .flow-pressure {
    display: none;
  }

  .operations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .operations-grid .odometer,
  .operations-grid .tank-cell,
  .operations-grid .deadline-cell {
    grid-column: span 2;
  }

  .map-board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    height: auto;
    padding: 54px 12px 48px;
  }

  .map-pump,
  .map-hose {
    display: none;
  }

  .map-stop {
    position: static;
    width: auto;
    min-height: 112px;
  }

  .closing-pump figcaption {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .home-page .hero {
    min-height: calc(100svh - 72px);
  }

  .home-page .hero-copy {
    min-height: calc(100svh - 154px);
    padding: 22px 16px 94px;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(3.05rem, 14.2vw, 4rem);
  }

  .home-page .hero-lede {
    margin: 12px 0;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .pump-console {
    padding: 10px;
    box-shadow: 6px 7px 0 rgba(0, 200, 5, 0.42), 0 18px 40px rgba(0, 0, 0, 0.4);
  }

  .pump-console .hash-ramp .input-row {
    grid-template-columns: 1fr auto;
    gap: 6px;
  }

  .pump-console input {
    min-width: 0;
    min-height: 44px;
    padding: 0 11px;
    font-size: 0.68rem;
  }

  .pump-console .hash-ramp button {
    min-width: 104px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.58rem;
  }

  .pump-controls {
    grid-template-columns: 128px 1fr;
    min-height: 43px;
  }

  .pump-controls p {
    display: none;
  }

  .console-gauge {
    width: 108px;
    height: 42px;
  }

  .truth-strip {
    min-height: 82px;
  }

  .surge-lead,
  .surge-dials article {
    padding: 52px 20px;
  }

  .surge-lead h2,
  .machine-heading h2 {
    font-size: 3.7rem;
  }

  .surge-dials {
    grid-template-columns: 1fr;
  }

  .surge-arrow {
    flex-direction: row;
    min-height: 60px;
  }

  .surge-arrow i {
    width: 52px;
    height: 2px;
  }

  .surge-arrow b {
    padding: 0 16px;
  }

  .surge-foot {
    grid-template-columns: 1fr;
  }

  .surge-foot > * {
    min-height: 54px;
    border-bottom: 1px solid rgba(16, 22, 16, 0.25);
  }

  .machine-heading {
    display: block;
    margin-bottom: 28px;
  }

  .machine-heading > p {
    margin-top: 18px;
  }

  .flow-readout {
    grid-template-columns: 76px 1fr;
    gap: 18px;
    min-height: 230px;
    padding: 24px 18px;
  }

  .flow-readout > span {
    font-size: 5rem;
  }

  .flow-readout h3 {
    font-size: 2.7rem;
  }

  .flow-readout p {
    font-size: 0.83rem;
  }

  .pump-machine .info-art {
    width: 100%;
    border-radius: 60px 10px 10px;
  }

  .operations-grid {
    grid-template-columns: 1fr;
  }

  .operations-grid .odometer,
  .operations-grid .tank-cell,
  .operations-grid .deadline-cell {
    grid-column: 1;
  }

  .operations-grid article {
    min-height: 154px;
  }

  .map-board {
    grid-template-columns: 1fr;
  }

  .map-stop {
    min-height: 98px;
  }

  .night-roll-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .night-roll-track a {
    width: 290px;
    padding: 23px 20px;
  }

  .closing-pump figure {
    height: 620px;
    border-radius: 12px;
  }

  .closing-pump figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 22px;
  }

  .closing-pump figcaption span {
    font-size: 3.5rem;
  }

  .window-scanner {
    margin-top: 20px;
  }

  .tank-capacity {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .night-roll-track {
    width: auto;
    overflow-x: auto;
  }
}

.window-art,
.roll-art,
.covered-art,
.tank-art,
.rules-art,
.after-art,
.join-art,
.closing-pump figure,
.pump-machine .info-art {
  border-radius: 7px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  transform: none;
}

.join-art {
  border-radius: 7px;
}

.info-art img,
.window-art img,
.roll-art img,
.covered-art img,
.tank-art img,
.rules-art img,
.after-art img,
.join-art img {
  height: auto;
}

.hero-art,
.closing-pump img {
  height: 100%;
}

/* Protocol interface pass — data and execution paths are the primary visual language. */
:root {
  --surface: #07100c;
  --surface-2: #0b1711;
  --surface-3: #0d1d15;
  --protocol-line: rgba(154, 255, 178, 0.14);
  --protocol-dim: #708078;
  --protocol-white: #f4f6ef;
}

body {
  background: #030906;
}

body::before {
  opacity: 0.045;
}

.canopy-nav {
  min-height: 76px;
  padding: 12px clamp(22px, 4vw, 64px);
  border-color: rgba(148, 255, 171, 0.12);
  background: rgba(3, 9, 6, 0.86);
  backdrop-filter: blur(18px);
}

.canopy-nav::after {
  display: none;
}

.brand {
  gap: 10px;
  font-family: var(--body);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.route-links {
  font-size: 0.61rem;
  letter-spacing: 0.11em;
}

.route-links a::after {
  bottom: -11px;
  height: 1px;
}

.window-decals .decal {
  min-height: 29px;
  border-color: rgba(244, 246, 239, 0.18);
  border-radius: 999px;
  color: #8b9890;
  background: transparent;
  transform: none;
}

.nav-chain-stamp {
  display: none;
}

.protocol-hero {
  min-height: calc(100svh - 76px);
  background:
    radial-gradient(circle at 78% 42%, rgba(0, 200, 5, 0.115), transparent 29%),
    radial-gradient(circle at 64% 71%, rgba(0, 199, 242, 0.055), transparent 24%),
    #030906;
}

.protocol-hero::before,
.protocol-hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.protocol-hero::before {
  inset: 0;
  width: auto;
  background: linear-gradient(90deg, rgba(3, 9, 6, 0.98) 0%, rgba(3, 9, 6, 0.8) 39%, rgba(3, 9, 6, 0.12) 72%, rgba(3, 9, 6, 0.55) 100%);
}

.protocol-hero::after {
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, #030906 100%);
}

.chain-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.protocol-watermark {
  position: absolute;
  top: 8%;
  right: -7%;
  z-index: 0;
  width: 62%;
  height: 84%;
  object-fit: cover;
  opacity: 0.025;
  filter: saturate(0);
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(440px, 0.72fr);
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
  width: min(100%, 1600px);
  min-height: calc(100svh - 150px);
  margin: 0 auto;
  padding: clamp(58px, 7vw, 112px) clamp(24px, 5vw, 82px) 118px;
}

.home-page .hero-grid {
  width: 100%;
  max-width: none;
}

.home-page .hero-copy {
  width: auto;
  min-height: 0;
  padding: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #9ba8a1;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.1em;
}

.hero-kicker span {
  color: var(--green);
}

.hero-kicker i {
  display: block;
  width: 42px;
  height: 1px;
  background: rgba(244, 246, 239, 0.3);
}

.hero-kicker b {
  font-weight: 500;
}

.home-page .hero-copy h1 {
  max-width: 880px;
  font-family: var(--body);
  font-size: clamp(4.4rem, 6.55vw, 7.35rem);
  font-weight: 600;
  line-height: 0.89;
  letter-spacing: -0.075em;
  text-transform: none;
  filter: none;
  text-shadow: none;
}

.home-page .hero-copy h1 span {
  color: #7dfb8d;
}

.home-page .hero-lede {
  max-width: 590px;
  margin: 28px 0 24px;
  color: #a7b2ac;
  font-size: clamp(0.96rem, 1.2vw, 1.13rem);
  line-height: 1.65;
  text-shadow: none;
}

.hero-trust {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-trust span {
  padding: 7px 10px;
  border: 1px solid var(--protocol-line);
  border-radius: 999px;
  color: #839088;
  background: rgba(10, 24, 16, 0.54);
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
}

.home-page .pump-console {
  width: min(100%, 670px);
  padding: 9px;
  border: 1px solid rgba(148, 255, 171, 0.18);
  border-radius: 15px;
  color: var(--protocol-white);
  background: rgba(9, 20, 14, 0.76);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.home-page .pump-console[data-ready="true"] {
  border-color: rgba(125, 251, 141, 0.72);
  box-shadow: 0 0 0 4px rgba(0, 200, 5, 0.07), 0 30px 90px rgba(0, 0, 0, 0.38);
}

.home-page .pump-console-head {
  margin: 0;
  padding: 3px 5px 10px;
  border: 0;
  color: #738078;
  font-size: 0.51rem;
}

.home-page .pump-console-head strong {
  color: #8c9991;
}

.home-page .pump-console input {
  min-height: 58px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  color: #dce7df;
  background: #030906;
  box-shadow: inset 0 0 0 1px rgba(244, 246, 239, 0.11);
}

.home-page .pump-console .hash-ramp button {
  min-width: 160px;
  min-height: 58px;
  border: 0;
  border-radius: 9px;
  color: #031006;
  box-shadow: none;
}

.home-page .pump-console .hash-ramp button span,
.trace-query button span {
  margin-left: 12px;
  font-size: 1rem;
}

.hash-progress {
  height: 2px;
  margin: 8px 4px 1px;
  overflow: hidden;
  background: rgba(244, 246, 239, 0.07);
}

.hash-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), #7dfb8d);
  box-shadow: 0 0 12px var(--green);
  transition: width 160ms ease;
}

.protocol-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 255, 171, 0.17);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(13, 29, 21, 0.9), rgba(4, 12, 8, 0.82));
  box-shadow: 0 45px 140px rgba(0, 0, 0, 0.56), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
}

.protocol-console > header,
.protocol-console > footer,
.trace-query > header,
.execution-stack > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  padding: 0 18px;
  border-bottom: 1px solid var(--protocol-line);
  color: #7e8d84;
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.09em;
}

.protocol-console > header span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aab6af;
}

.protocol-console > header i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64ef78;
  box-shadow: 0 0 13px #00c805;
}

.protocol-console > header b,
.trace-query > header b,
.execution-stack > header b {
  font-weight: 500;
}

.chain-orbit {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(240px, 27vw, 370px);
  overflow: hidden;
  background:
    linear-gradient(rgba(126, 255, 151, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 255, 151, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.chain-orbit::before,
.chain-orbit::after {
  position: absolute;
  border: 1px solid rgba(125, 251, 141, 0.14);
  border-radius: 50%;
  content: "";
}

.chain-orbit::before {
  width: 280px;
  height: 280px;
  box-shadow: 0 0 80px rgba(0, 200, 5, 0.09);
}

.chain-orbit::after {
  width: 178px;
  height: 178px;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(102, 239, 125, 0.25);
  border-radius: 50%;
}

.orbit-ring.ring-a {
  width: 330px;
  height: 170px;
  animation: orbit-tilt 18s linear infinite;
}

.orbit-ring.ring-b {
  width: 170px;
  height: 330px;
  animation: orbit-tilt 24s linear infinite reverse;
}

.orbit-ring i {
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.orbit-ring i:nth-child(2) {
  top: 12%;
  right: 14%;
  left: auto;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.orbit-ring i:nth-child(3) {
  top: auto;
  right: 12%;
  bottom: 6%;
  left: auto;
}

.chain-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(148, 255, 171, 0.38);
  border-radius: 50%;
  background: rgba(3, 10, 6, 0.86);
  box-shadow: inset 0 0 38px rgba(0, 200, 5, 0.08), 0 0 70px rgba(0, 200, 5, 0.08);
}

.chain-core small,
.chain-core span {
  color: #748078;
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.chain-core strong {
  margin: 5px 0;
  font-family: var(--body);
  font-size: 2.15rem;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.trace-route {
  display: flex;
  align-items: center;
  padding: 0 18px 18px;
}

.trace-route span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #a4b0a8;
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.06em;
}

.trace-route span i {
  color: var(--green);
  font-style: normal;
}

.trace-route > b {
  flex: 1;
  height: 1px;
  margin: 0 8px;
  overflow: hidden;
  background: rgba(148, 255, 171, 0.16);
}

.trace-route > b::after {
  display: block;
  width: 35%;
  height: 100%;
  content: "";
  background: #66f07a;
  box-shadow: 0 0 8px #00c805;
  animation: trace-packet 2.8s ease-in-out infinite;
}

.protocol-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--protocol-line);
}

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

.protocol-metrics div:last-child {
  border-right: 0;
}

.protocol-metrics dt {
  margin-bottom: 10px;
  color: #657269;
  font-size: 0.47rem;
  letter-spacing: 0.08em;
}

.protocol-metrics dd {
  overflow: hidden;
  color: #dce7df;
  font-size: 0.66rem;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.protocol-console > footer {
  min-height: 36px;
  border-top: 1px solid var(--protocol-line);
  border-bottom: 0;
  color: #58635c;
  font-size: 0.44rem;
}

.protocol-console > footer span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.truth-strip {
  z-index: 3;
  min-height: 64px;
  padding-right: clamp(24px, 5vw, 82px);
  padding-left: clamp(24px, 5vw, 82px);
  border-top: 1px solid var(--protocol-line);
  color: #647169;
  background: rgba(3, 9, 6, 0.8);
}

.truth-strip strong {
  color: #7dfb8d;
}

.trace-stage {
  display: block;
  max-width: 1500px;
  padding-top: clamp(58px, 7vw, 108px);
}

.trace-intro {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.64fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.trace-intro h1 {
  font-family: var(--body);
  font-size: clamp(4.2rem, 7.2vw, 8rem);
  font-weight: 600;
  line-height: 0.87;
  letter-spacing: -0.075em;
  text-transform: none;
}

.trace-intro > p {
  margin: 0 0 4px;
  color: #89968e;
  font-size: 1rem;
  line-height: 1.7;
}

.trace-workbench {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(500px, 1.2fr);
  overflow: hidden;
  border: 1px solid rgba(148, 255, 171, 0.16);
  border-radius: 20px;
  background: #07100c;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.03);
}

.trace-watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.018;
  filter: saturate(0);
  pointer-events: none;
}

.trace-query,
.execution-stack {
  position: relative;
  z-index: 1;
}

.trace-query {
  border-right: 1px solid var(--protocol-line);
  background: rgba(3, 10, 6, 0.32);
}

.trace-query .window-form {
  padding: 36px;
}

.trace-query label {
  color: #839088;
}

.trace-query input {
  min-height: 62px;
  border: 1px solid rgba(244, 246, 239, 0.12);
  border-radius: 8px;
  color: #e5ece7;
  background: #030906;
  box-shadow: none;
}

.trace-query button {
  min-height: 58px;
  border-radius: 8px;
  box-shadow: none;
}

.trace-query .form-note {
  color: #617067;
}

.query-code {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px 18px;
  margin: 0 36px 36px;
  padding: 22px;
  border: 1px solid rgba(148, 255, 171, 0.1);
  border-radius: 9px;
  background: rgba(3, 9, 6, 0.66);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.query-code span {
  color: #5f6c64;
}

.query-code b {
  overflow: hidden;
  color: #a6b2aa;
  font-weight: 500;
  text-overflow: ellipsis;
}

.execution-stack ol {
  margin: 0;
  padding: 10px 28px 0;
  list-style: none;
}

.execution-stack li {
  display: grid;
  grid-template-columns: 34px 18px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 83px;
  border-bottom: 1px solid rgba(148, 255, 171, 0.09);
}

.execution-stack li > span {
  color: #617067;
  font-family: var(--mono);
  font-size: 0.54rem;
}

.execution-stack li > i {
  position: relative;
  width: 8px;
  height: 8px;
  border: 1px solid #6bf27e;
  border-radius: 50%;
  box-shadow: 0 0 13px rgba(0, 200, 5, 0.52);
}

.execution-stack li > i::after {
  position: absolute;
  top: 9px;
  left: 3px;
  width: 1px;
  height: 73px;
  content: "";
  background: linear-gradient(#3ab94c, rgba(58, 185, 76, 0));
}

.execution-stack li:last-child > i::after {
  display: none;
}

.execution-stack li div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.execution-stack li strong {
  color: #d5dfd8;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.execution-stack li small {
  color: #6f7c74;
  font-size: 0.69rem;
}

.execution-stack li > b {
  padding: 6px 8px;
  border: 1px solid rgba(148, 255, 171, 0.13);
  border-radius: 5px;
  color: #74e985;
  font-family: var(--mono);
  font-size: 0.48rem;
  font-weight: 500;
}

.fee-equation {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 11px;
  align-items: center;
  margin: 25px 28px 28px;
  padding: 18px;
  border: 1px solid rgba(148, 255, 171, 0.13);
  border-radius: 9px;
  color: #708078;
  background: rgba(3, 9, 6, 0.72);
  font-family: var(--mono);
  font-size: 0.55rem;
}

.fee-equation strong {
  color: #aeb9b2;
  font-weight: 500;
}

.fee-equation i {
  color: var(--green);
  font-style: normal;
}

.fee-equation b {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 255, 171, 0.09);
  color: #6bf27e;
  font-weight: 500;
}

.trace-stage .review-rack {
  margin-top: 22px;
  padding-top: 0;
  border: 0;
}

.trace-stage .review-rack button {
  min-height: 74px;
  border: 1px solid rgba(148, 255, 171, 0.1);
  border-radius: 9px;
  background: #09150f;
}

.trace-stage .verdict-slot {
  min-height: 140px;
}

@keyframes orbit-tilt {
  to { transform: rotate(360deg); }
}

@keyframes trace-packet {
  from { transform: translateX(-100%); }
  to { transform: translateX(390%); }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
    gap: 40px;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(4rem, 7vw, 6rem);
  }

  .trace-workbench {
    grid-template-columns: minmax(300px, 0.78fr) minmax(430px, 1.1fr);
  }
}

@media (max-width: 820px) {
  .canopy-nav {
    min-height: 68px;
  }

  .protocol-hero {
    min-height: auto;
  }

  .protocol-hero::before {
    background: linear-gradient(180deg, rgba(3, 9, 6, 0.62), rgba(3, 9, 6, 0.98) 70%);
  }

  .chain-field {
    opacity: 0.5;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 54px;
  }

  .home-page .hero-copy {
    width: auto;
    min-height: 0;
    padding: 0;
  }

  .home-page .hero-copy h1 {
    max-width: 680px;
    font-size: clamp(3.65rem, 12.5vw, 6rem);
  }

  .protocol-console {
    width: min(100%, 590px);
    margin-left: auto;
  }

  .trace-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 42px;
  }

  .trace-intro > p {
    max-width: 600px;
  }

  .trace-workbench {
    grid-template-columns: 1fr;
  }

  .trace-query {
    border-right: 0;
    border-bottom: 1px solid var(--protocol-line);
  }
}

@media (max-width: 560px) {
  .hero-grid {
    gap: 32px;
    padding: 38px 16px 100px;
  }

  .hero-kicker {
    margin-bottom: 18px;
  }

  .hero-kicker i,
  .hero-kicker b {
    display: none;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(3.05rem, 14.7vw, 4.3rem);
    line-height: 0.91;
  }

  .home-page .hero-lede {
    margin: 20px 0 16px;
  }

  .hero-trust {
    flex-wrap: wrap;
    margin-bottom: 22px;
  }

  .home-page .pump-console .hash-ramp .input-row {
    grid-template-columns: 1fr auto;
  }

  .home-page .pump-console .hash-ramp button {
    min-width: 104px;
    padding: 0 12px;
    font-size: 0.57rem;
  }

  .home-page .pump-console .hash-ramp button span {
    display: none;
  }

  .protocol-console {
    border-radius: 13px;
  }

  .chain-orbit {
    height: 255px;
  }

  .orbit-ring.ring-a {
    width: 275px;
  }

  .orbit-ring.ring-b {
    height: 275px;
  }

  .trace-route {
    padding-right: 12px;
    padding-left: 12px;
  }

  .trace-route span {
    font-size: 0.4rem;
  }

  .protocol-metrics dd {
    font-size: 0.56rem;
  }

  .trace-stage {
    padding-top: 48px;
  }

  .trace-intro h1 {
    font-size: 4rem;
  }

  .trace-workbench {
    border-radius: 13px;
  }

  .trace-query .window-form {
    padding: 24px 18px;
  }

  .query-code {
    margin: 0 18px 24px;
    padding: 16px;
    font-size: 0.5rem;
  }

  .execution-stack ol {
    padding: 8px 16px 0;
  }

  .execution-stack li {
    grid-template-columns: 27px 14px 1fr;
    gap: 8px;
  }

  .execution-stack li > b {
    display: none;
  }

  .fee-equation {
    grid-template-columns: 1fr;
    margin: 20px 16px 18px;
  }

  .fee-equation i {
    display: none;
  }
}

/* Carry the protocol system through every route and lower-home module. */
.machine-heading h2,
.surge-lead h2,
.route-intro h1,
.flow-readout h3,
.lane > strong,
.tank-ledger strong,
.terms-card blockquote,
.closing-pump figcaption span {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: -0.065em;
}

.machine-heading h2,
.surge-lead h2 {
  font-size: clamp(3.5rem, 6vw, 6.8rem);
  line-height: 0.9;
  text-transform: none;
}

.surge-story {
  grid-template-columns: 0.85fr 1.15fr;
  color: var(--protocol-white);
  background: #07100c;
  border-top: 1px solid var(--protocol-line);
  border-bottom: 1px solid var(--protocol-line);
}

.surge-lead {
  border-right: 1px solid var(--protocol-line);
}

.surge-lead h2 em {
  color: #7dfb8d;
}

.surge-lead > p:last-child,
.machine-heading > p {
  color: #819087;
}

.surge-dials article,
.surge-dials article.hot {
  position: relative;
  color: var(--protocol-white);
  background: #09150f;
}

.surge-dials article::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: #627069;
}

.surge-dials article.hot::before {
  height: 58%;
  opacity: 0.12;
  background: repeating-linear-gradient(0deg, #7dfb8d 0 2px, transparent 2px 11px);
}

.surge-dials strong {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.surge-arrow {
  background: #050c08;
}

.surge-arrow b {
  font-family: var(--body);
  font-weight: 500;
}

.surge-foot {
  border-top: 1px solid var(--protocol-line);
}

.surge-foot > * {
  border-right-color: var(--protocol-line);
}

.surge-foot a {
  color: #82ef91;
  background: #050c08;
}

.pump-machine {
  background: #030906;
}

.flow-machine,
.pump-machine .info-art,
.map-board {
  border-color: rgba(148, 255, 171, 0.14);
  border-radius: 18px;
  background: #07100c;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.025);
}

.flow-rail {
  gap: 0;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid var(--protocol-line);
}

.flow-rail button {
  min-height: 76px;
  border-right: 1px solid var(--protocol-line);
  color: #6e7c74;
  background: transparent;
}

.flow-rail button:last-child {
  border-right: 0;
}

.flow-rail button:hover,
.flow-rail button.active {
  color: #d8e3db;
  background: rgba(61, 164, 77, 0.075);
  box-shadow: inset 0 -1px #65ef79;
}

.flow-rail button span,
.flow-readout > span {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.flow-readout {
  min-height: 260px;
}

.flow-readout > span {
  font-size: clamp(5.5rem, 10vw, 10rem);
}

.flow-pressure {
  border-color: var(--protocol-line);
}

.pump-machine .info-art {
  width: 100%;
  height: 390px;
  margin-top: 22px;
  transform: none;
}

.pump-machine .info-art::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, #07100c 0%, transparent 22%, transparent 78%, #07100c 100%);
  pointer-events: none;
}

.pump-machine .info-art img {
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
}

.info-art figcaption {
  z-index: 2;
}

.info-art figcaption span {
  border-color: var(--protocol-line);
  color: #9eaaa2;
  background: rgba(3, 9, 6, 0.88);
}

.operations-deck {
  color: var(--protocol-white);
  background: #07100c;
  border-top: 1px solid var(--protocol-line);
  border-bottom: 1px solid var(--protocol-line);
}

.machine-heading.inverse .eyebrow {
  color: #67ef7a;
}

.machine-heading.inverse > p {
  color: #819087;
}

.operations-grid {
  gap: 0;
  border: 1px solid var(--protocol-line);
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}

.operations-grid article,
.operations-grid article:nth-child(3n),
.operations-grid .odometer,
.operations-grid .deadline-cell {
  color: #dbe5de;
  background: #09150f;
  border-right: 1px solid var(--protocol-line);
  border-bottom: 1px solid var(--protocol-line);
}

.operations-grid .odometer,
.operations-grid .deadline-cell {
  background: #0b1d13;
}

.operations-grid article > strong {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.operations-grid article > span,
.operations-grid article > small,
.operations-grid .odometer > small,
.operations-grid .deadline-cell small,
.operations-grid .deadline-cell small a {
  color: #657269;
}

.operations-grid .odometer > strong,
.operations-grid .deadline-cell > strong {
  color: #78f68a;
}

.capacity-track {
  background: rgba(244, 246, 239, 0.08);
}

.capacity-track i {
  background: #65ef79;
}

.forecourt-map {
  background: #030906;
}

.map-board {
  height: 570px;
}

.map-stop {
  border-color: rgba(148, 255, 171, 0.12);
  border-radius: 9px;
  background: rgba(7, 16, 12, 0.9);
}

.map-stop > span {
  font-family: var(--body);
  font-weight: 500;
}

.map-pump {
  border-color: rgba(125, 251, 141, 0.32);
}

.map-pump img {
  opacity: 0.24;
}

.map-pump span {
  font-family: var(--body);
  font-weight: 500;
}

.closing-pump figure {
  height: 360px;
  border-color: var(--protocol-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 50%, rgba(0, 200, 5, 0.16), transparent 22%),
    linear-gradient(rgba(126, 255, 151, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 255, 151, 0.045) 1px, transparent 1px),
    #07100c;
  background-size: auto, 38px 38px, 38px 38px, auto;
}

.closing-pump img {
  opacity: 0.08;
  filter: saturate(0);
}

.closing-pump figcaption {
  inset: 0;
  padding: clamp(28px, 5vw, 72px);
  border: 0;
  background: linear-gradient(90deg, rgba(3, 9, 6, 0.94), rgba(3, 9, 6, 0.36));
  backdrop-filter: none;
}

.closing-pump figcaption span {
  max-width: 760px;
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  line-height: 0.9;
}

.closing-pump figcaption a {
  border-radius: 999px;
}

.night-roll,
.station-footer {
  border-color: var(--protocol-line);
}

.station-footer {
  border-top-width: 1px;
}

.footer-board,
.rule-contact-board {
  border: 1px solid var(--protocol-line);
  border-radius: 9px;
  color: #a8b4ac;
  background: #08130d;
}

.footer-board a,
.rule-contact-board a {
  color: #75ef86;
}

.page:not(.home-page) {
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 200, 5, 0.06), transparent 25rem),
    #030906;
}

.route-intro h1 {
  line-height: 0.88;
  text-transform: none;
}

.roll-stage,
.covered-stage,
.tank-stage,
.rules-stage,
.after-stage,
.join-stage {
  padding-top: clamp(64px, 8vw, 118px);
}

.roll-art,
.covered-art,
.tank-art,
.rules-art,
.after-art,
.join-art {
  border: 1px solid var(--protocol-line);
  border-radius: 16px;
  background: #07100c;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.025);
}

.roll-art img,
.covered-art img,
.tank-art img,
.rules-art img,
.after-art img,
.join-art img {
  opacity: 0.55;
}

.roll-art {
  border-radius: 16px;
}

.address-form,
.lane,
.rule-plates li,
.after-columns article {
  border-color: var(--protocol-line);
  border-radius: 10px;
  background: #09150f;
  box-shadow: none;
}

.lane.green {
  border-color: rgba(105, 241, 125, 0.34);
}

.tank-art {
  max-height: 620px;
}

.tank-art img {
  max-height: 620px;
  object-fit: cover;
}

.tank-state,
.tank-capacity {
  border-color: var(--protocol-line);
  background: rgba(3, 9, 6, 0.88);
}

.tank-state {
  font-family: var(--body);
  font-weight: 500;
}

.tank-ledger {
  gap: 0;
  padding: 0;
  border-color: var(--protocol-line);
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
}

.tank-ledger article {
  min-height: 120px;
  background: #09150f;
  border-right: 1px solid var(--protocol-line);
  border-bottom: 1px solid var(--protocol-line);
}

.rules-art {
  max-height: 560px;
}

.rules-art img {
  height: 560px;
  object-fit: cover;
}

.rule-plates li > span {
  font-family: var(--body);
  font-weight: 500;
}

.honest-limits p {
  border-left: 1px solid rgba(255, 177, 74, 0.36);
  background: rgba(255, 177, 74, 0.035);
}

.after-art {
  max-height: 480px;
}

.after-art img {
  height: 480px;
  object-fit: cover;
}

.terms-card {
  border: 1px solid rgba(148, 255, 171, 0.18);
  border-radius: 14px;
  color: #dce5df;
  background: rgba(7, 16, 12, 0.94);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.terms-card blockquote {
  font-size: clamp(1.8rem, 3.2vw, 3.5rem);
  line-height: 1.05;
}

.terms-card p {
  color: #829087;
}

.join-art {
  border-radius: 16px;
}

.join-ticket.paper-panel {
  border: 1px solid var(--protocol-line);
  border-radius: 13px;
  color: #dce5df;
  background: #09150f;
  box-shadow: none;
}

.join-ticket::after {
  display: none;
}

.join-ticket > p,
.join-ticket .form-note {
  color: #6f7c74;
}

.join-ticket input {
  border: 1px solid rgba(244, 246, 239, 0.12);
  color: #e5ece7;
  background: #030906;
}

.join-ticket .receipt-ca {
  border-color: var(--protocol-line);
}

@media (max-width: 820px) {
  .surge-story {
    grid-template-columns: 1fr;
  }

  .surge-lead {
    border-right: 0;
    border-bottom: 1px solid var(--protocol-line);
  }

  .pump-machine .info-art {
    height: 330px;
  }

  .map-board {
    height: auto;
  }

  .closing-pump figure {
    height: 340px;
  }
}

@media (max-width: 560px) {
  .machine-heading h2,
  .surge-lead h2 {
    font-size: 3.3rem;
  }

  .surge-dials article {
    min-height: 210px;
  }

  .pump-machine .info-art {
    height: 280px;
  }

  .operations-grid article,
  .operations-grid article:nth-child(3n),
  .operations-grid .odometer,
  .operations-grid .deadline-cell {
    border-right: 0;
  }

  .closing-pump figcaption span {
    font-size: 3rem;
  }

  .rules-art img,
  .after-art img {
    height: auto;
  }
}

/* Route-native protocol instruments replace decorative illustration. */
.protocol-roll-art,
.payer-router,
.reserve-console,
.rule-matrix,
.date-router,
.signal-console {
  position: relative;
  isolation: isolate;
  color: #dce5df;
  font-family: var(--mono);
}

.protocol-roll-art > img,
.payer-router > img,
.reserve-console > img,
.rule-matrix > img,
.date-router > img,
.signal-console > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.018;
  filter: saturate(0);
}

.protocol-roll-art > header,
.payer-router > header,
.reserve-console > header,
.rule-matrix > header,
.date-router > header,
.signal-console > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 17px;
  border-bottom: 1px solid var(--protocol-line);
  color: #78867e;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.protocol-roll-art > header b,
.payer-router > header b,
.reserve-console > header b,
.rule-matrix > header b,
.date-router > header b,
.signal-console > header b {
  color: #93a098;
  font-weight: 500;
}

.protocol-roll-art {
  height: 510px;
}

.block-index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 88px);
  padding: 18px;
}

.block-index article {
  position: relative;
  display: grid;
  grid-template-columns: 54px 16px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 92px;
  padding: 13px;
  border: 1px solid rgba(148, 255, 171, 0.1);
  border-radius: 8px;
  background: rgba(4, 12, 8, 0.75);
}

.block-index article + article {
  margin-top: 14px;
}

.block-index article + article::before {
  position: absolute;
  bottom: 100%;
  left: 90px;
  width: 1px;
  height: 15px;
  content: "";
  background: #267d35;
}

.block-index article > span {
  color: #77857d;
  font-size: 0.54rem;
}

.block-index article > i {
  width: 7px;
  height: 7px;
  border: 1px solid #60806a;
  border-radius: 50%;
}

.block-index article.good > i {
  background: #6bf27e;
  border-color: #6bf27e;
  box-shadow: 0 0 14px rgba(0, 200, 5, 0.6);
}

.block-index article div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
}

.block-index article b {
  overflow: hidden;
  color: #c8d3cb;
  font-size: 0.61rem;
  font-weight: 500;
  text-overflow: ellipsis;
}

.block-index article small {
  color: #657269;
  font-size: 0.48rem;
}

.block-index article.good small {
  color: #69ef7b;
}

.protocol-roll-art > figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 13px 17px;
  border-top: 1px solid var(--protocol-line);
  color: #657269;
  font-size: 0.48rem;
}

.protocol-roll-art > figcaption b {
  color: #68ec7a;
  font-weight: 500;
}

.payer-router {
  height: 660px;
  background:
    linear-gradient(rgba(126, 255, 151, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 255, 151, 0.035) 1px, transparent 1px),
    #07100c;
  background-size: 42px 42px;
}

.payer-root {
  position: absolute;
  top: 112px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 130px;
  border: 1px solid rgba(148, 255, 171, 0.28);
  border-radius: 10px;
  background: #07120c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}

.payer-root::before,
.payer-root::after {
  position: absolute;
  top: 100%;
  width: 35%;
  height: 95px;
  border-top: 1px solid #41794a;
  content: "";
}

.payer-root::before {
  right: 50%;
  border-left: 1px solid #41794a;
  transform: skewX(-34deg);
  transform-origin: top right;
}

.payer-root::after {
  left: 50%;
  border-right: 1px solid #41794a;
  transform: skewX(34deg);
  transform-origin: top left;
}

.payer-root small,
.payer-root span {
  color: #69766e;
  font-size: 0.47rem;
}

.payer-root strong {
  margin: 8px 0 7px;
  color: #6df17e;
  font-family: var(--body);
  font-size: 1.25rem;
  font-weight: 500;
}

.payer-root code {
  color: #9eaaa2;
  font-size: 0.55rem;
}

.payer-root > i {
  position: absolute;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #69ef7b;
  box-shadow: 0 0 15px #00c805;
}

.payer-branch {
  position: absolute;
  top: 350px;
  width: 34%;
}

.payer-branch.branch-left {
  left: 8%;
}

.payer-branch.branch-right {
  right: 8%;
}

.payer-branch article {
  padding: 23px;
  border: 1px solid rgba(148, 255, 171, 0.13);
  border-radius: 10px;
  background: rgba(4, 12, 8, 0.85);
}

.payer-branch.branch-right article {
  border-color: rgba(105, 241, 125, 0.42);
  box-shadow: inset 0 0 40px rgba(0, 200, 5, 0.035);
}

.payer-branch span,
.payer-branch small {
  display: block;
  color: #69766e;
  font-size: 0.49rem;
}

.payer-branch strong {
  display: block;
  margin: 13px 0;
  color: #b7c2ba;
  font-size: 0.65rem;
  font-weight: 500;
}

.payer-branch.branch-right small {
  color: #69ef7b;
}

.payer-router > figcaption {
  position: absolute;
  right: 8%;
  bottom: 44px;
  left: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px;
  border: 1px solid var(--protocol-line);
  border-radius: 8px;
  color: #7e8a83;
  background: rgba(3, 9, 6, 0.74);
  font-size: 0.5rem;
}

.payer-router > figcaption b {
  color: #6df17e;
}

.reserve-console {
  height: 480px;
  background:
    radial-gradient(circle at 54% 52%, rgba(0, 200, 5, 0.085), transparent 22%),
    #07100c;
}

.reserve-flow {
  display: grid;
  grid-template-columns: 0.62fr 0.38fr 1.35fr 0.38fr 0.62fr;
  align-items: center;
  height: calc(100% - 46px);
  padding: 58px 45px;
}

.reserve-source,
.reserve-sink {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 135px;
  padding: 20px;
  border: 1px solid var(--protocol-line);
  border-radius: 9px;
  background: rgba(3, 9, 6, 0.82);
}

.reserve-source small,
.reserve-sink small,
.reserve-vault small {
  color: #657269;
  font-size: 0.47rem;
}

.reserve-source strong,
.reserve-sink strong {
  margin: 10px 0;
  color: #d8e3db;
  font-family: var(--body);
  font-size: 1.4rem;
  font-weight: 500;
}

.reserve-source span,
.reserve-sink span,
.reserve-vault span {
  color: #718078;
  font-size: 0.5rem;
}

.reserve-pipe {
  position: relative;
  height: 1px;
  background: #347641;
}

.reserve-pipe i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6cf17e;
  box-shadow: 0 0 11px #00c805;
  animation: reserve-packet 2.4s linear infinite;
}

.reserve-pipe i:nth-child(2) { animation-delay: -0.8s; }
.reserve-pipe i:nth-child(3) { animation-delay: -1.6s; }

.reserve-vault {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 230px;
  padding: 34px;
  border: 1px solid rgba(111, 244, 131, 0.4);
  border-radius: 18px;
  background: rgba(7, 22, 13, 0.9);
  box-shadow: inset 0 -70px rgba(0, 200, 5, 0.035), 0 25px 75px rgba(0, 0, 0, 0.3);
}

.reserve-vault > strong {
  margin: 12px 0 28px;
  color: #eff5f0;
  font-family: var(--body);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.reserve-vault > div {
  height: 12px;
  margin-bottom: 12px;
  background: rgba(244, 246, 239, 0.07);
}

.reserve-vault > div i {
  display: block;
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(90deg, #67ef7a 0 16px, transparent 16px 19px);
}

.reserve-console .tank-state {
  top: 60px;
  right: 18px;
  padding: 7px 10px;
  border-width: 1px;
  color: #7c8981;
  font-family: var(--mono);
  font-size: 0.52rem;
}

.reserve-console .tank-capacity {
  display: none;
}

.rule-matrix {
  height: 520px;
}

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: 58px 1.35fr 0.85fr 48px;
  gap: 12px;
  align-items: center;
}

.matrix-head {
  padding: 18px 20px 10px;
  color: #536159;
  font-size: 0.44rem;
}

.matrix-row {
  min-height: 70px;
  margin: 0 18px;
  border-bottom: 1px solid rgba(148, 255, 171, 0.09);
  color: #86938b;
  font-size: 0.55rem;
}

.matrix-row > span {
  color: #65ed77;
}

.matrix-row strong {
  overflow: hidden;
  color: #bdc8c0;
  font-weight: 500;
  text-overflow: ellipsis;
}

.matrix-row code {
  color: #7f8c84;
  font-family: var(--mono);
}

.matrix-row i {
  padding: 5px 7px;
  border: 1px solid rgba(105, 241, 125, 0.3);
  border-radius: 4px;
  color: #69ef7b;
  font-size: 0.44rem;
  font-style: normal;
  text-align: center;
}

.matrix-hash {
  margin: 20px 18px;
  padding: 16px;
  border: 1px solid var(--protocol-line);
  border-radius: 8px;
  background: rgba(3, 9, 6, 0.68);
}

.matrix-hash small {
  display: block;
  margin-bottom: 9px;
  color: #5f6c64;
  font-size: 0.43rem;
}

.matrix-hash b {
  color: #86f496;
  font-size: 0.56rem;
  font-weight: 500;
}

.date-router {
  height: 390px;
  background:
    linear-gradient(rgba(126, 255, 151, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 255, 151, 0.035) 1px, transparent 1px),
    #07100c;
  background-size: 48px 48px;
}

.date-track {
  display: grid;
  grid-template-columns: 1fr 0.72fr 1fr 0.72fr 1fr;
  align-items: center;
  height: calc(100% - 86px);
  padding: 32px 52px;
}

.date-track article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 145px;
  padding: 20px;
  border: 1px solid var(--protocol-line);
  border-radius: 9px;
  background: rgba(3, 9, 6, 0.84);
}

.date-track article.gate {
  border-color: rgba(255, 177, 74, 0.46);
}

.date-track article > i {
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6bf27e;
  box-shadow: 0 0 13px #00c805;
}

.date-track article.gate > i {
  background: var(--warm);
  box-shadow: 0 0 13px rgba(255, 177, 74, 0.55);
}

.date-track small,
.date-track span {
  color: #69766e;
  font-size: 0.46rem;
}

.date-track strong {
  margin: 14px 0;
  color: #cbd6ce;
  font-size: 0.64rem;
  font-weight: 500;
}

.date-track article.gate strong {
  color: #ffc16e;
}

.date-line {
  position: relative;
  height: 1px;
  background: #3b7c47;
}

.date-line i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #70f281;
  animation: reserve-packet 2.2s linear infinite;
}

.date-router > figcaption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  color: #657269;
  font-size: 0.47rem;
}

.date-router > figcaption b {
  margin-left: 10px;
  color: #6bf27e;
}

.signal-console {
  height: 540px;
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 200, 5, 0.1), transparent 34%),
    #07100c;
}

.signal-field {
  position: relative;
  display: grid;
  place-items: center;
  height: calc(100% - 90px);
  overflow: hidden;
}

.signal-ring {
  position: absolute;
  border: 1px solid rgba(105, 241, 125, 0.15);
  border-radius: 50%;
}

.signal-ring.ring-1 { width: 170px; height: 170px; }
.signal-ring.ring-2 { width: 290px; height: 290px; }
.signal-ring.ring-3 { width: 410px; height: 410px; border-style: dashed; animation: orbit-tilt 30s linear infinite; }

.signal-field > div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(105, 241, 125, 0.42);
  border-radius: 50%;
  background: #07120c;
  box-shadow: 0 0 70px rgba(0, 200, 5, 0.08);
}

.signal-field small,
.signal-field b {
  color: #647168;
  font-size: 0.46rem;
  font-weight: 500;
}

.signal-field strong {
  margin: 5px 0;
  color: #e1e9e3;
  font-family: var(--body);
  font-size: 2rem;
  font-weight: 500;
}

.signal-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.signal-node.node-1 { top: 17%; left: 50%; }
.signal-node.node-2 { top: 50%; right: 18%; background: #6bf27e; box-shadow: 0 0 16px #00c805; }
.signal-node.node-3 { bottom: 16%; left: 51%; }
.signal-node.node-4 { top: 50%; left: 18%; background: #6bf27e; box-shadow: 0 0 16px #00c805; }

.signal-console > figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: flex;
  justify-content: space-between;
  color: #647168;
  font-size: 0.45rem;
}

@keyframes reserve-packet {
  to { left: calc(100% - 7px); }
}

@media (max-width: 820px) {
  .payer-router {
    height: 580px;
  }

  .reserve-flow {
    grid-template-columns: 0.7fr 0.28fr 1.2fr;
    padding: 45px 24px;
  }

  .reserve-pipe.out,
  .reserve-sink {
    display: none;
  }

  .date-track {
    padding: 28px 18px;
  }
}

@media (max-width: 560px) {
  .protocol-roll-art {
    height: 420px;
  }

  .block-index article {
    min-height: 76px;
  }

  .payer-router {
    height: 490px;
  }

  .payer-root {
    top: 77px;
    width: 150px;
    height: 100px;
  }

  .payer-root::before,
  .payer-root::after {
    height: 63px;
  }

  .payer-branch {
    top: 265px;
    width: 41%;
  }

  .payer-branch.branch-left { left: 5%; }
  .payer-branch.branch-right { right: 5%; }
  .payer-branch article { padding: 14px 12px; }
  .payer-branch strong { font-size: 0.53rem; }

  .payer-router > figcaption {
    right: 5%;
    bottom: 24px;
    left: 5%;
    gap: 7px;
    padding: 11px;
    font-size: 0.4rem;
  }

  .reserve-console {
    height: 390px;
  }

  .reserve-flow {
    grid-template-columns: 0.68fr 0.2fr 1fr;
    padding: 34px 13px;
  }

  .reserve-source {
    min-height: 105px;
    padding: 12px;
  }

  .reserve-source strong {
    font-size: 1rem;
  }

  .reserve-vault {
    min-height: 190px;
    padding: 20px 15px;
  }

  .reserve-vault > strong {
    margin-bottom: 20px;
    font-size: 1.7rem;
  }

  .rule-matrix {
    height: 450px;
  }

  .matrix-head,
  .matrix-row {
    grid-template-columns: 45px 1fr 58px 35px;
    gap: 5px;
  }

  .matrix-head {
    padding-right: 12px;
    padding-left: 12px;
  }

  .matrix-row {
    min-height: 63px;
    margin: 0 10px;
    font-size: 0.46rem;
  }

  .matrix-hash {
    margin: 16px 10px;
  }

  .date-router {
    height: 520px;
  }

  .date-track {
    grid-template-columns: 1fr;
    gap: 5px;
    height: calc(100% - 76px);
    padding: 18px;
  }

  .date-track article {
    min-height: 91px;
  }

  .date-line {
    width: 1px;
    height: 18px;
    margin: auto;
  }

  .date-line i {
    display: none;
  }

  .signal-console {
    height: 420px;
  }

  .signal-ring.ring-1 { width: 120px; height: 120px; }
  .signal-ring.ring-2 { width: 205px; height: 205px; }
  .signal-ring.ring-3 { width: 285px; height: 285px; }
  .signal-field > div { width: 112px; height: 112px; }
}

/* Layout revision: full scenes, compact telemetry and deliberate page grids. */
.surge-story {
  min-height: 100svh;
  min-height: 100dvh;
  scroll-snap-align: start;
}

.scene-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: clamp(72px, 7vw, 108px);
  padding-bottom: clamp(72px, 7vw, 108px);
  scroll-snap-align: start;
}

.scene-section .machine-heading {
  flex: 0 0 auto;
}

.pump-machine .flow-machine {
  flex: 0 0 auto;
}

.pump-machine .info-art {
  flex: 1 1 300px;
  min-height: 285px;
  max-height: 380px;
}

.pump-machine.scene-section {
  min-height: 100svh;
  min-height: 100dvh;
}

.fee-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.84fr);
  gap: 18px;
  min-height: clamp(560px, 62svh, 680px);
  min-height: clamp(560px, 62dvh, 680px);
}

.fee-workbench .flow-machine,
.fee-workbench .pump-art {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
}

.fee-workbench .flow-machine {
  display: flex;
  flex-direction: column;
}

.fee-workbench .flow-rail {
  flex: 0 0 auto;
}

.fee-workbench .flow-rail button {
  grid-template-columns: 1fr;
  align-content: center;
  gap: 5px;
  min-height: 88px;
}

.fee-workbench .flow-rail button span {
  font-size: 1.55rem;
}

.fee-workbench .flow-readout {
  flex: 1 1 auto;
  grid-template-columns: minmax(128px, 0.42fr) minmax(190px, 1fr);
  align-content: center;
  min-height: 0;
  padding: clamp(34px, 4vw, 62px);
}

.fee-workbench .flow-readout > span {
  font-size: clamp(7rem, 10vw, 10.5rem);
}

.fee-workbench .flow-readout h3 {
  font-size: clamp(3rem, 4.8vw, 5.25rem);
}

.fee-workbench .flow-pressure {
  grid-column: 1 / -1;
  justify-self: stretch;
  height: 86px;
  margin-top: 22px;
}

.fee-workbench .pump-art {
  position: relative;
  overflow: hidden;
}

.fee-workbench .pump-art img {
  min-width: 100%;
  object-fit: cover;
  object-position: center;
}

.fee-workbench .pump-art figcaption {
  right: 16px;
  bottom: 16px;
  left: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.forecourt-map .map-board {
  flex: 1 1 540px;
  min-height: 520px;
  max-height: 620px;
}

.operations-deck {
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: clamp(78px, 8vw, 118px);
  padding-bottom: clamp(78px, 8vw, 118px);
  scroll-snap-align: start;
}

.operations-deck .machine-heading {
  align-items: end;
  margin-bottom: 34px;
}

.operations-deck .machine-heading h2 {
  max-width: 820px;
  font-size: clamp(3rem, 4.6vw, 5.5rem);
}

.operations-deck .machine-heading > p {
  max-width: 360px;
  font-size: 0.86rem;
}

.operations-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.operations-grid article,
.operations-grid article:nth-child(3n),
.operations-grid .odometer,
.operations-grid .deadline-cell {
  min-height: 132px;
  padding: 19px;
}

.operations-grid .odometer {
  grid-column: span 2;
  grid-row: auto;
}

.operations-grid .tank-cell {
  grid-column: auto;
}

.operations-grid .deadline-cell {
  grid-column: 1 / -1;
  min-height: 104px;
}

.operations-grid article > strong {
  margin-top: 22px;
  font-size: clamp(1.35rem, 2.5vw, 2.65rem);
  line-height: 0.95;
}

.operations-grid .odometer > strong {
  margin-top: 20px;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
}

.operations-grid .odometer-bars {
  right: 20px;
  bottom: 37px;
  left: auto;
  width: 38%;
  height: 38px;
}

.operations-grid article > small {
  right: 18px;
  bottom: 12px;
  left: 19px;
}

.contract-module {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(250px, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 19px 21px;
  border: 1px solid var(--protocol-line);
  border-radius: 12px;
  background: #08130d;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.hero-contract {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 670px);
  min-height: 108px;
  margin-top: 18px;
  padding: 16px 18px;
  overflow: hidden;
  border-color: rgba(125, 251, 141, 0.54);
  background:
    linear-gradient(90deg, rgba(0, 200, 5, 0.12), transparent 38%),
    rgba(8, 24, 14, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 200, 5, 0.08), 0 20px 60px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.04);
}

.hero-contract::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--green), #7dfb8d 58%, transparent);
  box-shadow: 0 0 14px rgba(0, 200, 5, 0.7);
}

.hero-contract span {
  color: #7dfb8d;
  font-size: 0.7rem;
  font-weight: 600;
}

.hero-contract code {
  grid-row: 2;
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 1px solid rgba(125, 251, 141, 0.16);
  border-radius: 8px;
  color: #d8f8dd;
  background: rgba(2, 9, 5, 0.72);
  overflow: visible;
  font-size: clamp(0.68rem, 0.75vw, 0.86rem);
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.hero-contract .contract-actions {
  grid-row: 1;
  grid-column: 2;
  gap: 8px;
}

.hero-contract .contract-actions button,
.hero-contract .contract-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.hero-contract .contract-actions button {
  border: 1px solid rgba(125, 251, 141, 0.42);
  color: #8cf99b;
  background: rgba(0, 200, 5, 0.1);
  font-weight: 600;
}

.hero-contract .contract-actions a {
  border: 1px solid rgba(244, 246, 239, 0.14);
  color: #a4b1a9;
  background: rgba(244, 246, 239, 0.025);
}

.contract-module > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contract-module span,
.contract-module small,
.contract-module code,
.contract-module a,
.contract-module button {
  font-family: var(--mono);
}

.contract-module span {
  color: #d5ded8;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.contract-module small {
  color: #627068;
  font-size: 0.48rem;
}

.contract-module code {
  overflow: hidden;
  color: #7e8b83;
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contract-actions a,
.contract-actions button {
  color: #72ef84;
  font-size: 0.6rem;
}

.closing-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.78fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  min-height: 650px;
  padding: clamp(42px, 6vw, 82px);
  overflow: hidden;
  border: 1px solid var(--protocol-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 72% 48%, rgba(0, 200, 5, 0.12), transparent 28%),
    linear-gradient(rgba(126, 255, 151, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 255, 151, 0.035) 1px, transparent 1px),
    #07100c;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.closing-copy h2 {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(4rem, 6.4vw, 7.2rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.closing-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 34px;
  color: #8d9a92;
  line-height: 1.65;
}

.closing-copy > a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(112, 242, 130, 0.42);
  border-radius: 999px;
  color: #79f38a;
  font-family: var(--mono);
  font-size: 0.61rem;
  text-decoration: none;
}

.closing-trace {
  overflow: hidden;
  border: 1px solid rgba(148, 255, 171, 0.18);
  border-radius: 14px;
  background: rgba(3, 9, 6, 0.82);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.34);
}

.closing-trace > header,
.closing-trace > footer,
.closing-trace > div {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(148, 255, 171, 0.1);
  font-family: var(--mono);
  font-size: 0.56rem;
}

.closing-trace > header {
  display: flex;
  justify-content: space-between;
  min-height: 46px;
  color: #66736b;
}

.closing-trace > div i {
  color: #5f6d64;
  font-style: normal;
}

.closing-trace > div span {
  color: #a6b2aa;
}

.closing-trace > div b {
  color: #6eef80;
  font-size: 0.48rem;
  font-weight: 500;
}

.closing-trace > footer {
  grid-template-columns: 1fr auto;
  border: 0;
  background: rgba(0, 200, 5, 0.05);
}

.closing-trace > footer span {
  color: #637068;
}

.closing-trace > footer strong {
  color: #75f087;
  font-weight: 500;
}

.dashboard-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: end;
  margin-bottom: 52px;
}

.dashboard-intro > p,
.route-summary > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: #929e96;
  font-size: 1rem;
  line-height: 1.7;
}

.dashboard-intro h1,
.route-intro.compact.dashboard-intro h1 {
  font-size: clamp(4.1rem, 6.8vw, 7.4rem);
}

.route-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--protocol-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--protocol-line);
}

.route-summary > p {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  padding: 22px;
  background: #08130d;
}

.route-summary > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 78px;
  padding: 17px 20px;
  background: #07100c;
}

.route-summary span,
.route-summary b {
  font-family: var(--mono);
}

.route-summary span {
  color: #617067;
  font-size: 0.48rem;
}

.route-summary b {
  color: #c9d4cc;
  font-size: 0.65rem;
  font-weight: 500;
}

.roll-stage {
  display: block;
  max-width: 1500px;
}

.roll-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding: 9px;
  border: 1px solid var(--protocol-line);
  border-radius: 12px;
  background: #07100c;
}

.roll-tabs {
  display: flex;
  gap: 7px;
}

.roll-tabs button {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #77857d;
  background: transparent;
  box-shadow: none;
}

.roll-tabs button:hover,
.roll-tabs button.active {
  border-color: rgba(112, 242, 130, 0.22);
  color: #d7e1da;
  background: rgba(0, 200, 5, 0.07);
  box-shadow: none;
  transform: none;
}

.roll-tabs button b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #6cf17e;
  background: #0c2013;
  font-size: 0.56rem;
}

.roll-toolbar > a {
  padding: 13px 15px;
  color: #73ef85;
  font-family: var(--mono);
  font-size: 0.57rem;
  text-decoration: none;
}

.roll-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1.52fr);
  gap: 26px;
  align-items: start;
}

.roll-layout .protocol-roll-art {
  position: sticky;
  top: 22px;
  width: 100%;
}

.roll-layout .receipt-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.roll-layout .receipt {
  min-width: 0;
  padding: 22px 20px 17px;
  box-shadow: none;
}

.roll-layout .receipt:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.roll-layout .receipt dl div {
  align-items: flex-start;
}

.tank-stage,
.rules-stage {
  display: block;
  max-width: 1500px;
}

.tank-intro,
.rules-intro {
  margin-bottom: 48px;
}

.tank-stage .reserve-console {
  grid-column: auto;
  margin-bottom: 22px;
}

.tank-stage .tank-ledger {
  grid-column: auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-radius: 12px;
}

.tank-stage .tank-ledger article {
  min-height: 108px;
  padding: 18px;
}

.tank-stage .tank-ledger strong {
  margin-top: 14px;
  font-size: clamp(1.15rem, 2vw, 2rem);
}

.tank-stage .tank-ledger strong.mono {
  font-size: 0.62rem;
}

.rules-workbench {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: 20px;
  align-items: stretch;
}

.rules-workbench .rules-art,
.rules-workbench .rule-plates {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  margin: 0;
}

.rules-workbench .rules-art {
  height: auto;
  min-height: 100%;
}

.rules-workbench .rule-plates {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rules-workbench .rule-plates li {
  grid-template-columns: 52px 1fr;
  align-content: start;
  min-height: 0;
  padding: 21px;
}

.rules-workbench .rule-plates li > span {
  font-size: 2.5rem;
}

.rules-stage .honest-limits {
  grid-column: auto;
  margin: 22px 0;
}

.rules-stage > .contract-module {
  grid-column: auto;
}

.after-intro {
  text-align: left;
}

.after-intro h1 {
  font-size: clamp(4rem, 6.5vw, 7.2rem);
}

.deadline-panel {
  padding: 24px;
  border: 1px solid rgba(255, 177, 74, 0.25);
  border-radius: 13px;
  background: rgba(255, 177, 74, 0.035);
}

.deadline-panel > span {
  color: #a17e4e;
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.06em;
}

.deadline-panel .deadline-counter {
  display: block;
  margin: 17px 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
}

.deadline-panel p {
  margin: 0;
  color: #857a68;
  font-size: 0.83rem;
  line-height: 1.55;
}

.after-stage .after-art {
  margin: 0 0 26px;
}

.after-details {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.after-details .terms-card {
  width: auto;
  margin: 0;
  padding: clamp(28px, 4vw, 52px);
}

.after-details .terms-card blockquote {
  font-size: clamp(1.7rem, 2.65vw, 3rem);
}

.after-details .after-columns {
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.after-details .after-columns article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
}

.station-footer {
  padding-top: 28px;
  padding-bottom: 32px;
  color: #6e7b73;
  font-size: 0.58rem;
}

.station-footer p {
  max-width: 1240px;
}

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

.scroll-reveal.is-visible {
  animation: scroll-rise 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--reveal-order, 0) * 45ms);
}

@keyframes scroll-rise {
  from { opacity: 0.12; transform: translateY(44px) scale(0.992); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.scene-section .pump-art img,
.scene-section .map-grid {
  transform: translateY(calc((var(--scene-progress, 0.5) - 0.5) * -28px)) scale(1.03);
  transition: transform 80ms linear;
}

.surge-story .surge-dials article.hot::before {
  transform: scaleY(calc(0.2 + var(--scene-progress, 0.5) * 0.8));
  transform-origin: bottom;
  transition: transform 120ms linear;
}

@media (max-width: 980px) {
  .fee-workbench {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fee-workbench .flow-machine {
    min-height: 470px;
  }

  .fee-workbench .pump-art {
    height: 360px;
  }

  .operations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operations-grid .deadline-cell {
    grid-column: 1 / -1;
  }

  .dashboard-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dashboard-intro > p,
  .route-summary {
    max-width: 680px;
  }

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

  .roll-layout .protocol-roll-art {
    position: relative;
    top: auto;
    height: 360px;
  }

  .block-index {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .block-index article + article {
    margin: 0;
  }

  .block-index article + article::before {
    display: none;
  }

  .rules-workbench {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .scene-section {
    min-height: auto;
  }

  .pump-machine.scene-section {
    min-height: auto;
  }

  .forecourt-map .map-board {
    min-height: 0;
  }

  .closing-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tank-stage .tank-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .after-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pump-machine .info-art {
    flex-basis: 250px;
  }

  .fee-workbench .flow-machine {
    min-height: 0;
  }

  .fee-workbench .flow-readout {
    grid-template-columns: 96px 1fr;
    padding: 28px 20px;
  }

  .fee-workbench .flow-readout > span {
    font-size: 5.5rem;
  }

  .fee-workbench .flow-pressure {
    display: flex;
  }

  .operations-deck .machine-heading h2 {
    font-size: 3rem;
  }

  .operations-grid {
    grid-template-columns: 1fr;
  }

  .operations-grid .odometer,
  .operations-grid .deadline-cell {
    grid-column: auto;
  }

  .operations-grid .odometer-bars {
    width: 34%;
  }

  .contract-module {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-contract code,
  .hero-contract .contract-actions {
    grid-row: auto;
    grid-column: 1;
  }

  .closing-shell {
    padding: 27px 18px;
  }

  .closing-copy h2 {
    font-size: 3.5rem;
  }

  .closing-trace > div {
    grid-template-columns: 30px 1fr auto;
    gap: 8px;
    padding: 0 12px;
  }

  .dashboard-intro h1,
  .route-intro.compact.dashboard-intro h1,
  .after-intro h1 {
    font-size: 3.7rem;
  }

  .roll-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

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

  .roll-tabs button {
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    padding: 8px;
    font-size: 0.48rem;
  }

  .roll-toolbar > a {
    text-align: center;
  }

  .roll-layout .protocol-roll-art {
    height: 420px;
  }

  .block-index {
    display: flex;
  }

  .block-index article + article {
    margin-top: 10px;
  }

  .roll-layout .receipt-stack {
    grid-template-columns: 1fr;
  }

  .roll-layout .receipt:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .route-summary {
    grid-template-columns: 1fr;
  }

  .route-summary > div,
  .route-summary > p {
    grid-column: auto;
  }

  .tank-stage .tank-ledger {
    grid-template-columns: 1fr;
  }

  .rules-workbench .rule-plates {
    grid-template-columns: 1fr;
  }

  .rules-stage .honest-limits {
    grid-template-columns: 1fr;
  }
}

/* Keep every home scene on one consistent beat on short 16:9 laptop screens. */
@media (min-width: 981px) and (max-height: 1100px) {
  .protocol-hero {
    min-height: calc(100svh - 76px);
    min-height: calc(100dvh - 76px);
  }

  .hero-grid {
    min-height: calc(100svh - 76px);
    min-height: calc(100dvh - 76px);
    padding-top: 38px;
    padding-bottom: 82px;
  }

  .home-page .hero-copy h1 {
    font-size: 4.6rem;
  }

  .home-page .hero-lede {
    margin-top: 20px;
    margin-bottom: 18px;
    font-size: 0.92rem;
  }

  .hero-trust {
    margin-bottom: 20px;
  }

  .surge-lead {
    padding: 50px clamp(36px, 5vw, 68px);
  }

  .surge-lead h2 {
    font-size: clamp(3.5rem, 4.8vw, 4.35rem);
  }

  .surge-lead > p:last-child {
    margin-top: 20px;
    font-size: 0.9rem;
  }

  .surge-dials strong {
    margin: 18px 0 14px;
    font-size: clamp(2.8rem, 4vw, 4rem);
  }

  .scene-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .pump-machine.scene-section {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .machine-heading {
    margin-bottom: 22px;
  }

  .machine-heading h2,
  .operations-deck .machine-heading h2 {
    font-size: 4rem;
  }

  .fee-workbench {
    height: calc(100dvh - 220px);
    min-height: 500px;
    max-height: 820px;
  }

  .fee-workbench .flow-rail button {
    min-height: 64px;
    padding: 10px 12px;
  }

  .fee-workbench .flow-readout {
    padding: 26px 34px;
  }

  .fee-workbench .flow-readout > span {
    font-size: 7rem;
  }

  .fee-workbench .flow-readout h3 {
    font-size: 3.5rem;
  }

  .fee-workbench .flow-pressure {
    height: 68px;
    margin-top: 14px;
    padding-top: 10px;
  }

  .operations-deck {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .operations-deck .machine-heading {
    margin-bottom: 22px;
  }

  .operations-grid article,
  .operations-grid article:nth-child(3n),
  .operations-grid .odometer,
  .operations-grid .deadline-cell {
    min-height: 105px;
    padding: 15px;
  }

  .operations-grid .deadline-cell {
    min-height: 76px;
  }

  .operations-grid article > strong,
  .operations-grid .odometer > strong {
    margin-top: 15px;
  }

  .contract-module {
    margin-top: 14px;
    padding: 14px 18px;
  }

  .forecourt-map .map-board {
    flex-basis: auto;
    height: calc(100dvh - 265px);
    min-height: 470px;
    max-height: 760px;
  }

  .closing-shell {
    min-height: 0;
    height: calc(100dvh - 92px);
    padding: clamp(38px, 5vw, 62px);
  }
}

@media (min-width: 981px) and (max-height: 850px) {
  .hero-grid {
    padding-bottom: 70px;
  }

  .home-page .hero-copy h1 {
    font-size: 4.1rem;
  }

  .home-page .hero-lede {
    margin-top: 14px;
    margin-bottom: 12px;
  }

  .hero-trust {
    margin-bottom: 12px;
  }

  .hero-contract {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.home-scroll-scenes {
    scroll-snap-type: y proximity;
  }

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

  .scene-section .pump-art img,
  .scene-section .map-grid,
  .surge-story .surge-dials article.hot::before {
    transform: none;
  }
}
