/* SI2SI home: a dark hall, the gods lit as exhibits. One ground, one ink, gold only on the action. */
:root {
  --bg: #0e0c0a; /* the statues' own background */
  --surface: #1a1612;
  --surface-2: #241e18;
  --ink: #e8e4dd; /* marble */
  --muted: #b3a998;
  --accent: #d9b25f; /* the gold veins */
  --accent-ink: #120e09;
  --ember: #c0602f;
  --stone: #8b8070;
  --sage: #6f7c69;
  --accent-hover: #e7c679;
  --accent-text: #d9b25f; /* gold as text: same as the accent at night */
  --seg-on: #4a3d2c;
  --scrim: 14, 12, 10; /* the ground, as rgb, for the scrim under the thesis */
  --clouds: url("/static/sky/clouds-night.webp");
  --scene: url("/static/sky/city-night.webp");
  --far: brightness(0.3); /* a god far away: dim in the night */
  --near: brightness(1);

  --step-small: clamp(0.9rem, 0.87rem + 0.12vw, 0.98rem);
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem);
  --step-huge: clamp(2.75rem, 1rem + 6.6vw, 7rem);

  --m: clamp(20px, 4.4vw, 72px);
  --gap: clamp(112px, 11vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}
/* day on Olympus: marble white without yellow, dark ink, a deeper gold that holds its contrast */
:root[data-theme="light"] {
  --scene: url("/static/sky/city-day.webp"); --day: 1;
  --bg: #ecebe7; --surface: #e1dfda; --surface-2: #d5d2cb; --ink: #1b1814; --muted: #585148;
  --accent: #b9862a; --accent-ink: #140f08; --accent-hover: #c99838; --accent-text: #7d5812; --seg-on: #cbbf9f;
  --ember: #b4562a; --stone: #8b8070; --sage: #6f7c69;
  --scrim: 236, 235, 231; --clouds: url("/static/sky/clouds-day.webp");
  --far: saturate(0.5) brightness(1.18) contrast(0.7); --near: none;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --scene: url("/static/sky/city-day.webp"); --day: 1;
    --bg: #ecebe7; --surface: #e1dfda; --surface-2: #d5d2cb; --ink: #1b1814; --muted: #585148;
    --accent: #b9862a; --accent-ink: #140f08; --accent-hover: #c99838; --accent-text: #7d5812; --seg-on: #cbbf9f;
    --ember: #b4562a; --stone: #8b8070; --sage: #6f7c69;
    --scrim: 236, 235, 231; --clouds: url("/static/sky/clouds-day.webp");
    --far: saturate(0.5) brightness(1.18) contrast(0.7); --near: none;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: var(--step-body);
  line-height: 1.55;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .mark, .bar .tabs a, .btn, .tag-name, .theme, .ca { font-family: "Cinzel", "Trajan Pro", Georgia, serif; }
h1, h2 { font-weight: 500; letter-spacing: 0.01em; line-height: 1.08; }
h3 { font-weight: 500; font-size: var(--step-lead); line-height: 1.2; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.wrap { padding-inline: var(--m); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink); font-weight: 500; text-decoration: none;
  transition: background-color 180ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn-big { min-height: 52px; padding: 0 28px; font-size: var(--step-body); }
.link { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color 160ms; }
.link:hover { color: var(--accent-text); }

/* ---------------------------------------------------------------- bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.mark { font-size: var(--step-lead); font-weight: 700; letter-spacing: 0.08em; text-decoration: none; }
.bar .tabs { display: flex; gap: 6px; }
.bar .tabs a { text-decoration: none; color: var(--ink); padding: 10px 14px; transition: background-color 160ms, color 160ms; font-size: var(--step-body); }
.bar .tabs a:hover { background: rgba(var(--scrim), 0.5); }
.bar .tabs a[aria-current="page"] { color: var(--accent-text); }
/* on the home page the bar lies over the scene, without a ground of its own */
.bar-over { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.ca { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; font: inherit; font-size: var(--step-small); color: var(--ink); background: rgba(var(--scrim), 0.55); border: 0; white-space: nowrap; }
button.ca { cursor: pointer; }
.ca-soon { color: var(--accent-text); }
.icon-link { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--ink); background: rgba(var(--scrim), 0.55); transition: background-color 160ms; }
.icon-link:hover { background: var(--surface-2); }
.wallet { font: inherit; font-size: var(--step-body); border: 0; cursor: pointer; white-space: nowrap; }
.wallet.is-on { background: var(--surface); color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: 14px; }
.theme { min-height: 44px; padding: 0 14px; background: rgba(var(--scrim), 0.55); color: var(--ink); border: 0; font: inherit; font-size: var(--step-small); cursor: pointer; transition: background-color 160ms; }
.theme:hover { background: var(--surface-2); }

/* ---------------------------------------------------------------- the pantheon: who does what */
.pantheon { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: var(--gap); }
/* a tall crop of the city, the same picture as the first screen, by theme */
.city-pic { background: var(--scene) 72% 50% / cover no-repeat; }

.pantheon-pic .pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 420ms var(--ease); }
.pantheon-pic .pic.is-shown { opacity: 1; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.07) translateY(-1.5%); } }
.pantheon-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 24px; align-items: start; }
.pantheon-list > h2 { grid-column: 1 / span 5; grid-row: 1; }
.pantheon-list > .lead { grid-column: 1 / span 5; grid-row: 2; }
.pantheon-list > .rows { grid-column: 7 / span 6; grid-row: 1 / span 2; margin-top: 0; }
.pantheon-list h2 { font-size: var(--step-head); }
.pantheon-list .lead { margin-top: 24px; max-width: 34rem; color: var(--ink); }
.rows { list-style: none; margin: 56px 0 0; padding: 0; }
.row { padding: 16px 0 18px; cursor: default; outline-offset: 6px; }
.row-pic { display: none; }
.row + .row { margin-top: 4px; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.row-name { font-size: var(--step-lead); line-height: 1.2; color: var(--muted); transition: color 250ms; }
.row-share { font-size: var(--step-small); color: var(--muted); white-space: nowrap; }
.row-line { max-height: 0; overflow: hidden; opacity: 0; max-width: 36rem; transition: max-height 380ms var(--ease), opacity 300ms, margin 300ms; }
.row.is-active .row-name { color: var(--ink); }
.row.is-active .row-share { color: var(--accent-text); }
.row.is-active .row-line { max-height: 8em; opacity: 1; margin-top: 10px; }

/* ---------------------------------------------------------------- ask the agora */
.ask { margin-top: var(--gap); display: flex; flex-direction: column; background: var(--surface); padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.ask h2 { font-size: var(--step-head); }
.ask-input {
  margin-top: 40px; width: 100%; background: transparent; border: 0; padding: 0; color: var(--ink);
  font: 500 var(--step-huge) / 1.05 "EB Garamond", Georgia, serif; letter-spacing: -0.01em; caret-color: var(--accent);
}
.ask-input:focus { outline: none; }
.ask-input:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 8px; }
.ask-answer { margin-top: 40px; max-width: 760px; background: var(--surface-2); padding: 8px 24px; }
.hits { list-style: none; margin: 0; padding: 0; }
.hit { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 16px 0; }
.hit + .hit { border-top: 0; margin-top: 2px; background: none; }
.hit-name { font-size: var(--step-lead); line-height: 1.2; }
.hit-name a { text-decoration: none; }
.hit-name a:hover { color: var(--accent-text); }
.hit-price { font-size: var(--step-lead); }
.hit-tags { grid-column: 1 / -1; color: var(--muted); font-size: var(--step-small); }
.hits-note { color: var(--muted); font-size: var(--step-small); padding: 8px 0 14px; }
.ask-try { padding-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.try { background: none; border: 0; padding: 6px 0; color: var(--muted); font: inherit; font-size: var(--step-body); cursor: pointer; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color 160ms; }
.try:hover { color: var(--ink); }

/* ---------------------------------------------------------------- how a deal runs */
.how { margin-top: var(--gap); }
.call { /* taste-skill-ignore: literal request bodies */ margin: 18px 0 0; background: var(--surface); padding: 20px 22px; overflow-x: auto; font: 14px/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ink); }

/* ---------------------------------------------------------------- where every coin goes */
.coins { margin-top: var(--gap); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "fixed head" "fixed body"; grid-template-rows: auto 1fr; }
.coins-h { grid-area: head; font-size: var(--step-head); padding: 72px var(--m) 0 clamp(32px, 5vw, 96px); }
.coins-text { grid-area: body; }
.coins-fixed { grid-area: fixed; align-self: start; position: sticky; top: 0; height: 100svh; background: var(--surface); display: grid; place-items: center; padding: 24px; }
.tablet { width: min(440px, 100%); }
.tablet-title { font-size: var(--step-lead); line-height: 1.25; }
.band { display: flex; height: 64px; margin-top: 28px; background: var(--surface-2); }
.band span { display: block; height: 100%; transition: flex-grow 420ms var(--ease); min-width: 0; }
.ledger { list-style: none; margin: 28px 0 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: baseline; padding: 9px 0; }
.ledger .sw { width: 14px; height: 14px; align-self: center; }
.ledger .who { color: var(--ink); }
.ledger .who small { display: block; color: var(--muted); font-size: var(--step-small); }
.ledger .amt { font-size: var(--step-lead); }
.coins-text { padding: 0 var(--m) 30vh clamp(32px, 5vw, 96px); }
.blk { margin-top: 30vh; max-width: 30rem; }
.blk:first-of-type { margin-top: 56px; }
.blk-say { font-size: var(--step-lead); line-height: 1.25; margin-bottom: 12px; }
.ctl { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.ctl input[type="range"] { flex: 1; accent-color: var(--accent); height: 44px; }
.ctl output { font-size: var(--step-lead); min-width: 5.5em; text-align: right; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.seg button { min-height: 44px; padding: 0 16px; background: var(--surface-2); color: var(--ink); border: 0; font: inherit; font-size: var(--step-small); cursor: pointer; transition: background-color 160ms, color 160ms; }
.seg button:hover { background: var(--surface-2); }
.seg button[aria-checked="true"] { background: var(--seg-on); color: var(--ink); }
.toggle { display: flex; align-items: center; gap: 12px; margin-top: 22px; min-height: 44px; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--accent); }
.burned { margin-top: 30vh; max-width: 30rem; font-size: var(--step-lead); line-height: 1.3; }

/* ---------------------------------------------------------------- prices, like a menu */
.items { list-style: none; margin: 0; padding: 0; }
.item + .item { margin-top: 22px; }
.item-row { display: flex; justify-content: space-between; gap: 18px; font-size: var(--step-body); }
.item-line { color: var(--muted); font-size: var(--step-small); max-width: 36ch; margin-top: 2px; }

/* ---------------------------------------------------------------- close */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; padding: 64px var(--m) 30px; color: var(--muted); font-size: var(--step-small); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--accent-text); }
.foot > :last-child { text-align: right; }

/* ---------------------------------------------------------------- entrances (only once script runs) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity 300ms; }
  .pantheon-pic .pic.is-shown { animation: none; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 860px) {
  .bar { height: 68px; }
  .bar .tabs, .ca { display: none; }
  .bar-end { gap: 8px; }
  .pantheon { grid-template-columns: 1fr; }

  .pantheon-pic { display: none; }
  .row { display: grid; grid-template-columns: 76px 1fr; gap: 6px 16px; align-items: start; }
  .row-pic { display: block; grid-row: span 2; width: 76px; height: 101px; object-fit: cover; filter: brightness(0.6); transition: filter 300ms; }
  .row.is-active .row-pic { filter: none; }
  .row-line { grid-column: 2; }
  .pantheon-list { grid-column: 1; padding-top: 28px; }
  .rows { margin-top: 32px; }
  .row-head { flex-direction: column; gap: 2px; }
  .ask { min-height: auto; }
  .ask-input { font-size: 11vw; }
  .ask-answer { padding: 4px 16px; }
  .ask-try { padding-top: 28px; }
  .try { background: var(--surface-2); padding: 0 14px; min-height: 44px; text-decoration: none; color: var(--ink); }
  .coins { grid-template-columns: 1fr; grid-template-areas: "head" "fixed" "body"; }
  .coins-h { padding: 0 var(--m) 28px; }
  .coins-fixed { position: static; height: auto; padding: 28px var(--m); }
  .tablet-title { font-size: 1.125rem; }
  .band { height: 36px; margin-top: 14px; }
  .ledger { margin-top: 12px; }
  .ledger li { padding: 4px 0; }
  .ledger .who small { display: none; }
  .ledger .amt { font-size: 1.125rem; }
  .coins-text { padding: 40px var(--m) 12vh; }
  .blk { margin-top: 48px; }
  .burned { margin-top: 48px; }
  .foot { grid-template-columns: 1fr; gap: 8px; }
  .foot-links { justify-content: flex-start; }
  .foot > :last-child { text-align: left; }
}

@media (min-width: 600px) and (max-width: 860px) {
}

/* ---------------------------------------------------------------- hero: Olympus, the six gods on the stairs */
.hero { position: relative; height: max(640px, 100svh); container-type: size; overflow: clip; display: flex; align-items: flex-start; padding: 0; gap: 0; justify-content: flex-start; }
/* the scene keeps the picture's own proportions, so each label stays at its statue's feet; it covers the hero from the right */
/* the live market, drawn on a canvas that fills the first screen */
.net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.net-key { position: absolute; right: var(--m); bottom: 36px; z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; font-size: var(--step-small); color: var(--muted); }
.net-key li { display: flex; align-items: center; gap: 8px; }
.net-key span { display: inline-block; flex: none; }
.k-pulse { width: 18px; height: 2px; background: var(--accent); }
.k-ring { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent); }
.k-spark { width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
.k-you { color: var(--ink); }
.scene { position: absolute; right: 0; bottom: 0; width: max(100cqw, calc(100cqh * 16 / 9)); aspect-ratio: 16 / 9; transform-origin: 66% 70%; animation: drift 60s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05); } }
.scene-pic { position: absolute; inset: 0; background: var(--scene) center / cover no-repeat; }
/* a bank of cloud drifting slowly across the foot of the mountain */
.fog {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%; pointer-events: none; opacity: 0.8;
  background: var(--clouds) 0% 100% / 140% auto repeat-x; animation: fog 80s ease-in-out infinite alternate;
  mask-image: linear-gradient(0deg, #000 30%, transparent 100%); /* taste-skill-ignore */
  -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent 100%); /* taste-skill-ignore */
}
@keyframes fog { from { background-position-x: 0%; } to { background-position-x: 100%; } }
.scene-tags { z-index: 1; pointer-events: none; }
.scene-tags .tag { pointer-events: auto; }
.tag {
  position: absolute; left: calc(var(--nx) + (var(--dx) - var(--nx)) * var(--day, 0)); top: calc(var(--ny) + (var(--dy) - var(--ny)) * var(--day, 0)); translate: -50% 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; padding: 6px 12px 7px; white-space: nowrap;
  background: rgba(var(--scrim), 0.86); color: var(--ink); text-decoration: none; line-height: 1.15;
  transition: background-color 160ms;
}
.tag:hover, .tag:focus-visible { background: var(--bg); }
.tag-name { font-size: var(--step-body); font-weight: 500; }
.tag-role { font-size: var(--step-small); color: var(--accent-text); }
/* the one gradient on the page: a neutral scrim so the thesis reads over the open sky */
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, var(--bg) 0%, rgba(var(--scrim), 0) 18%), linear-gradient(90deg, rgba(var(--scrim), 0.92) 0%, rgba(var(--scrim), 0.7) 28%, rgba(var(--scrim), 0) 46%); } /* taste-skill-ignore */
.hero-copy { position: relative; z-index: 2; padding-top: calc(84px + clamp(32px, 8cqh, 104px)); max-width: calc(36rem + 2 * var(--m)); }
.hero-copy h1 { font-size: clamp(2.5rem, 1rem + 3vw, 4rem); line-height: 1.06; max-width: 11em; }
.hero-thesis { margin-top: 28px; max-width: 25rem; font-size: var(--step-lead); line-height: 1.4; }
.hero-acts { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-copy h1, .hero-thesis, .hero-acts { animation: rise 900ms var(--ease) both; }
.hero-thesis { animation-delay: 120ms; }
.hero-acts { animation-delay: 240ms; }
.stairs { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* phones and small tablets: the scene on top, cropped to the six gods, the thesis under it */
@media (max-width: 860px) {
  .hero { height: auto; container-type: normal; display: block; padding-bottom: 40px; }
  .scene { position: relative; right: auto; width: 152%; margin-left: -48%; margin-top: 56px; animation: none; }
  .scene-pic { mask-image: linear-gradient(180deg, #000 70%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); } /* taste-skill-ignore */
  .fog, .scene-tags, .hero-scrim { display: none; }
  .hero-copy { padding-top: 8px; }
  .hero-copy h1 { font-size: clamp(1.9rem, 0.8rem + 5vw, 2.6rem); }
  .stairs { display: block; margin-top: 32px; font-size: var(--step-small); color: var(--muted); max-width: 34rem; }
  .stairs span { color: var(--accent-text); }
}

@media (prefers-reduced-motion: reduce) {
  .scene, .fog, .hero-copy h1, .hero-thesis, .hero-acts { animation: none; }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .ca { display: none; }
  .bar .tabs a { padding: 10px 8px; }
}

/* cut-out statues end softly at the bottom instead of on a straight line */
.pantheon-pic .pic, .cta-pic, .row-pic { mask-image: linear-gradient(180deg, #000 78%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); } /* taste-skill-ignore: an edge fade */

/* the bar controls speak in the same carved capitals as the tabs */
.bar .theme, .bar .ca, .bar .wallet { font-family: "Cinzel", "Trajan Pro", Georgia, serif; font-size: var(--step-small); letter-spacing: 0.02em; }

/* ---------------------------------------------------------------- about */
.about { margin-top: var(--gap); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.about h2 { grid-column: 1 / span 5; font-size: var(--step-head); }
.about-text { grid-column: 7 / span 6; display: grid; gap: 22px; }
.about-lead { font-size: var(--step-lead); line-height: 1.4; }
.facts { grid-column: 1 / -1; list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.facts li { display: grid; gap: 12px; align-content: start; padding-right: 12px; }
.fact-n { font-family: "Cinzel", Georgia, serif; font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); line-height: 1; color: var(--accent-text); }
.fact-t { line-height: 1.4; }

/* ---------------------------------------------------------------- how a deal runs, in five steps */
.how { margin-top: var(--gap); }
.how h2 { font-size: var(--step-head); }
.deal-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.step-card { background: var(--surface); padding: 26px 22px 28px; display: grid; align-content: start; gap: 10px; }
.step-card h3 { font-size: var(--step-lead); }
.step-card p:last-child { line-height: 1.45; }

/* ---------------------------------------------------------------- the token */
.token { margin-top: var(--gap); }
.token-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.token-head h2 { grid-column: 1 / span 5; font-size: var(--step-head); }
.token-head .lead { grid-column: 7 / span 6; font-size: var(--step-lead); line-height: 1.4; }
.rules { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 72px; }
.rules li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 24px; align-items: baseline; }
.rules li > h3, .rules li > p { grid-column: 2; }
.rules li > .rule-n { grid-row: span 2; }
.rule-n { display: block; font-family: "Cinzel", Georgia, serif; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1; color: var(--accent-text); }
.rules h3 { font-size: var(--step-lead); }
.rules p { margin-top: 8px; line-height: 1.45; }

/* ---------------------------------------------------------------- two doors */
.doors { margin-top: var(--gap); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door { display: grid; align-content: start; background: var(--surface); padding: 28px 32px; }
.door h3 { font-size: var(--step-lead); }
.door p { margin: 12px 0 22px; line-height: 1.45; }

@media (max-width: 1100px) {
  .deal-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .about h2, .about-text, .token-head h2, .token-head .lead { grid-column: 1 / -1; }
  .token-head .lead { margin-top: 20px; }
  .deal-steps { grid-template-columns: 1fr; }
  .step-card { padding: 20px; }
  .rules, .doors { grid-template-columns: 1fr; }
  .rules li { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .door { padding: 22px; }
}

@media (max-width: 860px) {
  .hero { min-height: 92svh; display: flex; align-items: flex-end; }
  .net { position: absolute; inset: 0; }
  .net-key { display: none; }
  .hero-scrim { display: block; background: linear-gradient(0deg, rgba(var(--scrim), 0.96) 0%, rgba(var(--scrim), 0.8) 45%, rgba(var(--scrim), 0) 75%); } /* taste-skill-ignore */
  .hero-copy { padding-top: 0; padding-bottom: 8px; }
  .pantheon-list { display: block; }
  .pantheon-list > .rows { margin-top: 40px; }
}
@media (max-width: 420px) { .bar .wallet { padding: 0 12px; } }

/* who does what: the section itself is a plain block; its list carries the two columns */
.pantheon { display: block; }
.pantheon-list { padding-top: 0; }
@media (max-width: 1100px) { .pantheon-list { display: block; } .pantheon-list > .rows { margin-top: 40px; } }
@media (max-width: 860px) { .row { display: block; } .row-line { margin-top: 6px; } }
