/* EquinoxLaunch beta.
   The equinox: the moment day and night are exactly equal.
   The theme is carried by four quiet things and nothing else:
     1. the page itself: night on the left, a faint dawn on the right;
     2. the horizon line under the header and between sections;
     3. the sun arc that times a launch window;
     4. the disc that fills with daylight as a launch fills.
   Everything else is a plain, legible trading tool. */

:root {
  --night: #07080a;
  --panel: #0d0f12;
  --line: #1c2026;
  --text: #e9edf2;
  --dim: #98a2ae;
  --lime: #c8ff2e;
  --red: #ff4d2e;
  --amber: #ffc233;
  --lime-wash: rgba(200, 255, 46, 0.13);

  --sans: "Space Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 10px;
  --pad: clamp(1rem, 4vw, 3rem);
  --ease: 160ms ease-out;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.55rem;
  --step-3: 2.4rem;
  --step-4: 3.6rem;
}

* { box-sizing: border-box; }

html { background: var(--night); color: var(--text); color-scheme: dark; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
}

/* ---------- 1. the sky: night to the left, a faint dawn to the right ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70rem 46rem at 108% 8%, rgba(255, 194, 51, 0.055), transparent 62%),
    radial-gradient(50rem 40rem at 100% 100%, rgba(200, 255, 46, 0.025), transparent 60%),
    linear-gradient(90deg, #05060a 0%, #07080a 52%, #0a0a08 100%);
}
/* Stars: sparse, mostly tiny, only on the night side, thinning out before the middle. */
.stars, .planets { position: absolute; inset: -40px 0; will-change: transform; }
.stars::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 4% 12%, rgba(233, 237, 242, 0.62), transparent 100%),
    radial-gradient(1px 1px at 9% 31%, rgba(233, 237, 242, 0.5), transparent 100%),
    radial-gradient(1px 1px at 2.5% 55%, rgba(233, 237, 242, 0.58), transparent 100%),
    radial-gradient(1px 1px at 7% 78%, rgba(233, 237, 242, 0.46), transparent 100%),
    radial-gradient(1px 1px at 12% 91%, rgba(233, 237, 242, 0.4), transparent 100%),
    radial-gradient(1px 1px at 15% 9%, rgba(233, 237, 242, 0.5), transparent 100%),
    radial-gradient(1px 1px at 18% 46%, rgba(233, 237, 242, 0.42), transparent 100%),
    radial-gradient(1px 1px at 21% 69%, rgba(233, 237, 242, 0.4), transparent 100%),
    radial-gradient(1px 1px at 24% 24%, rgba(233, 237, 242, 0.44), transparent 100%),
    radial-gradient(1px 1px at 27% 86%, rgba(233, 237, 242, 0.34), transparent 100%),
    radial-gradient(1px 1px at 31% 14%, rgba(233, 237, 242, 0.36), transparent 100%),
    radial-gradient(1px 1px at 34% 58%, rgba(233, 237, 242, 0.3), transparent 100%),
    radial-gradient(1px 1px at 38% 37%, rgba(233, 237, 242, 0.26), transparent 100%),
    radial-gradient(1px 1px at 42% 81%, rgba(233, 237, 242, 0.22), transparent 100%),
    radial-gradient(1.6px 1.6px at 6% 43%, rgba(233, 237, 242, 0.6), transparent 100%),
    radial-gradient(1.6px 1.6px at 16% 28%, rgba(233, 237, 242, 0.5), transparent 100%),
    radial-gradient(1.6px 1.6px at 26% 52%, rgba(233, 237, 242, 0.4), transparent 100%),
    radial-gradient(2px 2px at 11% 67%, rgba(233, 237, 242, 0.5), transparent 100%),
    radial-gradient(2px 2px at 22% 6%, rgba(233, 237, 242, 0.42), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 22%, rgba(0, 0, 0, 0.35) 36%, transparent 50%);
  mask-image: linear-gradient(90deg, #000 0%, #000 22%, rgba(0, 0, 0, 0.35) 36%, transparent 50%);
}
/* A handful twinkle, very slowly, each on its own beat. */
.twinkle {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #e9edf2;
  opacity: 0.55; animation: twinkle 9s ease-in-out infinite;
}
.twinkle.t1 { left: 5%; top: 24%; animation-duration: 8s; }
.twinkle.t2 { left: 13%; top: 58%; animation-duration: 11s; animation-delay: -3s; }
.twinkle.t3 { left: 20%; top: 16%; width: 3px; height: 3px; animation-duration: 13s; animation-delay: -6s; }
.twinkle.t4 { left: 8%; top: 84%; animation-duration: 10s; animation-delay: -1.5s; }
.twinkle.t5 { left: 29%; top: 40%; animation-duration: 14s; animation-delay: -8s; opacity: 0.4; }
@keyframes twinkle { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.12; } }

/* Two planets. Both are lit on exactly one half, from the dawn side: the equinox. */
.planet { position: absolute; border-radius: 50%; display: block; }
/* The large one sits mostly off the bottom-left corner, very faint. */
.planet.big {
  width: clamp(13rem, 34vw, 27rem); aspect-ratio: 1;
  left: clamp(-13rem, -15vw, -6rem); bottom: clamp(-14rem, -16vw, -5rem);
  background: linear-gradient(90deg, #090b0f 0%, #090b0f 49.2%, rgba(200, 255, 46, 0.16) 50.8%, rgba(214, 240, 110, 0.07) 78%, rgba(255, 194, 51, 0.1) 100%);
  box-shadow: inset -1.5px 0 0 rgba(200, 255, 46, 0.42), inset -14px 0 26px -16px rgba(200, 255, 46, 0.25), 0 0 46px rgba(200, 255, 46, 0.045);
  opacity: 0.75;
}
/* The small one is far away: something you notice on a second look. */
.planet.far {
  width: 7px; height: 7px; right: 13%; top: 31%;
  background: linear-gradient(90deg, #0b0d11 0%, #0b0d11 50%, rgba(255, 214, 120, 0.85) 50%, rgba(255, 214, 120, 0.85) 100%);
  box-shadow: 0 0 6px rgba(255, 194, 51, 0.18);
  opacity: 0.5;
}
@media (max-width: 40rem) {
  .planet.big { opacity: 0.55; }
  .twinkle.t5 { display: none; }
}

/* ---------- 2. the horizon ---------- */
.horizon {
  height: 1px; position: relative; margin: 3rem 0 0;
  background: linear-gradient(90deg, transparent 0%, var(--line) 12%, var(--line) 58%, rgba(200, 255, 46, 0.7) 74%, rgba(255, 194, 51, 0.85) 80%, var(--line) 92%, transparent 100%);
}
.horizon::after {
  content: ""; position: absolute; left: 68%; width: 18%; top: -7px; height: 14px;
  background: radial-gradient(closest-side, rgba(255, 194, 51, 0.28), rgba(200, 255, 46, 0.1) 55%, transparent);
  filter: blur(3px);
}
.horizon.under-header { margin: 0; }
.horizon + h2 { margin-top: 2rem; }

/* every number, address and price */
.num, input[type="number"], input[type="datetime-local"] {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.pos { color: var(--lime); }
.neg { color: var(--red); }
.lime { color: var(--lime); }
.quiet { color: var(--dim); }
.small { font-size: var(--step--1); }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-color: var(--line); transition: color var(--ease), text-decoration-color var(--ease); }
a:hover { text-decoration-color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

/* ---------- honesty notes: small, amber-bordered ---------- */
.note {
  border-left: 2px solid var(--amber);
  padding: 0.1rem 0 0.1rem 0.75rem;
  margin: 0.6rem 0;
  font-size: var(--step--1);
  color: var(--dim);
  max-width: 78ch;
}
.note strong { color: var(--amber); font-weight: 600; }
.notes { padding: 0.9rem var(--pad) 0; max-width: 76rem; margin: 0 auto; }

/* ---------- header ---------- */
.top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2.2rem;
  padding: 0.9rem var(--pad);
  max-width: 76rem; margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.mark { width: 1.9rem; height: 1.9rem; flex: none; }
.word { font-weight: 700; letter-spacing: 0.14em; font-size: 1rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-right: auto; }
.tabs a {
  text-decoration: none; color: var(--dim); padding: 0.4rem 0.8rem; border-radius: 8px;
  border: 1px solid transparent; transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.tabs a:hover { color: var(--text); background: var(--panel); }
.tabs a[aria-current="page"] { color: var(--text); border-color: var(--line); background: var(--panel); }
.wallet { display: flex; align-items: center; gap: 0.6rem; }
.wallet-on {
  display: flex; flex-direction: column; line-height: 1.2; padding: 0.35rem 0.8rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
}
.wallet-addr { font-size: var(--step--1); }
.wallet-net { font-size: 0.72rem; color: var(--dim); }

/* ---------- main ---------- */
main { padding: clamp(1.2rem, 4vw, 2.6rem) var(--pad) 4rem; max-width: 76rem; margin: 0 auto; }
main:focus { outline: none; }

h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 { font-size: clamp(var(--step-3), 6.5vw, var(--step-4)); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; margin-top: 2.6rem; }
h2.panel-title { font-size: var(--step-1); margin: 0 0 0.8rem; }
p { max-width: 68ch; }
.lede { font-size: var(--step-1); max-width: 46ch; margin: 1.1rem 0 1.4rem; color: var(--dim); }
.loading { color: var(--dim); }
.loading::after { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-left: 0.5rem; border-radius: 50%; background: var(--lime); opacity: 0.6; }

.pagehead { padding-bottom: 1.2rem; margin-bottom: 0.4rem; }
.launchhead { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.launchhead h1 { font-size: clamp(var(--step-2), 5vw, var(--step-3)); }
.symbol { color: var(--dim); font-weight: 500; font-size: 0.6em; letter-spacing: 0; }

/* hero: two equal halves, like the mark */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.hero > div { padding: clamp(1.4rem, 4vw, 2.8rem); }
.hero-night { background: var(--panel); }
.hero-day { background: var(--lime); color: var(--night); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-line { margin: 0; font-weight: 600; font-size: var(--step-1); max-width: 22ch; line-height: 1.25; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-points { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.55rem; font-size: var(--step--1); line-height: 1.4; max-width: 38ch; }
.hero-points li { padding-left: 0.8rem; border-left: 2px solid var(--night); }
.hero-points strong { font-weight: 700; }
.join-caveat { margin: 0.7rem 0 0; }
.foot-line { color: var(--dim); font-size: 0.78rem; margin: 0 0 0.8rem; max-width: none; }
@media (max-width: 46rem) { .hero { grid-template-columns: 1fr; } }

/* ---------- panels ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.5rem); margin-top: 1rem;
}
.empty {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.6rem; margin-top: 1rem;
  color: var(--dim); text-align: left;
}
.empty.bad { border-color: rgba(255, 77, 46, 0.5); color: var(--text); }
.empty p { margin: 0 0 0.8rem; }
.empty p:last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */
button, .button {
  font: inherit; font-weight: 600; color: var(--night); background: var(--lime);
  border: 1px solid var(--lime); border-radius: var(--radius); padding: 0.6rem 1.1rem;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease);
}
button:hover, .button:hover { background: #d9ff6a; border-color: #d9ff6a; box-shadow: 0 0 0 3px rgba(200, 255, 46, 0.14); }
button:active, .button:active { transform: translateY(1px); }
button.ghost, .button.ghost { background: transparent; color: var(--text); border-color: var(--line); }
button.ghost:hover, .button.ghost:hover { border-color: var(--dim); background: rgba(255, 255, 255, 0.03); box-shadow: none; }
button[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
button.wide { width: 100%; }
button.copy {
  background: transparent; color: var(--dim); border: 1px solid var(--line);
  border-radius: 6px; padding: 0.1rem 0.45rem; font-size: 0.72rem; font-weight: 500;
}
button.copy:hover { color: var(--text); border-color: var(--dim); background: transparent; box-shadow: none; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.5rem; max-width: 40rem; }
label, legend { font-weight: 600; display: block; padding: 0; }
.hint { font-weight: 400; color: var(--dim); font-size: var(--step--1); display: block; margin: 0.25rem 0 0; }
input[type="text"], input[type="number"], input[type="datetime-local"], input[type="url"] {
  font-size: 1rem; width: 100%; margin-top: 0.45rem; padding: 0.65rem 0.8rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--night); color: var(--text);
  transition: border-color var(--ease);
}
input[type="text"] { font-family: var(--sans); }
input:hover { border-color: #2a303a; }
input:focus-visible { outline: 2px solid var(--lime); outline-offset: 0; border-color: var(--lime); }
input[disabled] { opacity: 0.45; }
input[type="radio"] { accent-color: var(--lime); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; gap: 0.5rem; margin-top: 0.6rem; }
.choice {
  font-weight: 400; display: flex; gap: 0.7rem; align-items: baseline; padding: 0.6rem 0.8rem;
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color var(--ease), background var(--ease);
}
.choice:hover { border-color: #2a303a; background: rgba(255, 255, 255, 0.02); }
.choice:has(input:checked) { border-color: var(--lime); }
.summary { border-top: 1px solid var(--line); padding-top: 1.2rem; }

/* ---------- facts ---------- */
dl.facts { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: 0.7rem 1.5rem; margin: 0; }
dl.facts dt { color: var(--dim); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
dl.facts.tight { grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; font-size: var(--step--1); }
@media (max-width: 36rem) {
  dl.facts:not(.tight) { grid-template-columns: 1fr; gap: 0; }
  dl.facts:not(.tight) dd { margin-bottom: 0.8rem; }
}
.addr { display: inline-flex; align-items: center; gap: 0.55rem; }

/* ---------- status chips: a name from the day, and the plain word ---------- */
.chip {
  display: inline-flex; align-items: baseline; gap: 0.45rem; padding: 0.2rem 0.7rem;
  border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; color: var(--dim);
}
.chip::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; align-self: center; }
.chip-name { font-weight: 600; font-size: var(--step--1); color: var(--text); }
.chip-plain { font-size: 0.75rem; color: var(--dim); }
.chip.dawn { color: #7aa7ff; }
.chip.daylight { color: var(--lime); border-color: rgba(200, 255, 46, 0.4); }
.chip.dusk, .chip.twilight { color: var(--amber); border-color: rgba(255, 194, 51, 0.4); }
.chip.night { color: var(--dim); }
.chip.eclipsed { color: var(--red); border-color: rgba(255, 77, 46, 0.4); }

/* ---------- launch cards ---------- */
.cards { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.card {
  display: grid; gap: 0.9rem; padding: 1.1rem 1.2rem; text-decoration: none; height: 100%;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-2px); border-color: rgba(200, 255, 46, 0.45); box-shadow: 0 8px 28px -14px rgba(200, 255, 46, 0.35); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.8rem; }
.card-name { font-weight: 600; font-size: var(--step-1); display: block; overflow-wrap: anywhere; }
.card-symbol { color: var(--dim); font-size: var(--step--1); }
.card-raise { font-size: var(--step--1); }
.card-amount { font-size: var(--step-1); font-weight: 700; color: var(--text); }
.card-foot { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.78rem; color: var(--dim); }

.meter, .bar { position: relative; height: 6px; background: var(--night); border: 1px solid var(--line); border-radius: 4px; }
.meter i, .bar i { position: absolute; inset: 0 auto 0 0; background: var(--lime); border-radius: 3px; transition: width 400ms ease-out; }
.meter b, .bar b { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 1px dashed var(--dim); }

/* ---------- launch page ---------- */
.launch-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; }
.launch-top .panel { margin-top: 0; }
@media (max-width: 52rem) { .launch-top { grid-template-columns: 1fr; } }

/* 3. the sun arc */
.timer { text-align: center; }
.sunarc { width: 100%; max-width: 26rem; height: auto; display: block; margin: 0 auto; }
.arc-rest { fill: none; stroke: #2a303a; stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.arc-done { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; }
.arc-ground { stroke: var(--line); stroke-width: 1; }
.arc-tick { stroke: var(--dim); stroke-width: 1; }
.sun { fill: var(--dim); }
.sun.daylight { fill: var(--lime); }
.sun.dusk { fill: #ff8a3c; }
.sun.twilight { fill: var(--amber); }
.sun.dawn { fill: #7aa7ff; }
.sun.eclipsed { fill: var(--panel); stroke: var(--red); stroke-width: 2; }
.arc-ends { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.75rem; color: var(--dim); max-width: 26rem; margin: 0.2rem auto 0; text-align: left; }
.arc-ends span:last-child { text-align: right; }
.arc-ends b { color: var(--text); font-weight: 500; display: block; }
.clock { font-size: clamp(2.2rem, 8vw, 3.4rem); font-weight: 700; line-height: 1.05; margin-top: 1.1rem; letter-spacing: -0.02em; }
.clock-label { margin: 0.3rem auto 0; font-size: var(--step--1); }
/* Dusk: the last tenth of the window. The countdown breathes, gently. */
.clock.dusk { color: #ff8a3c; animation: dusk-pulse 2.4s ease-in-out infinite; }
@keyframes dusk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }

/* 4. the disc */
.raise-row { display: flex; align-items: center; gap: 1.4rem; }
.disc { width: 8.5rem; height: 8.5rem; flex: none; }
.disc-night { fill: var(--night); }
.disc-day { fill: var(--lime); transition: x 400ms ease-out, width 400ms ease-out; }
.disc-min { stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 3; }
.disc-rim { fill: none; stroke: var(--lime); stroke-width: 1.5; }
.raise-now { font-size: var(--step-2); font-weight: 700; line-height: 1.1; margin-bottom: 0.7rem; }
.unit { font-family: var(--sans); font-size: var(--step--1); font-weight: 400; color: var(--dim); }
.raise .bar { display: none; margin: 1rem 0 0.2rem; }
.raise p { margin: 0.9rem 0 0; }
@media (max-width: 40rem) {
  .disc { display: none; }
  .raise .bar { display: block; }
}

/* the one price */
.price-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.scale { width: 4.2rem; height: auto; flex: none; }
.scale-beam { stroke: var(--lime); stroke-width: 2; stroke-linecap: round; }
.scale-post { stroke: var(--dim); stroke-width: 1.5; fill: none; stroke-linecap: round; }
.scale-pan { fill: none; stroke: var(--dim); stroke-width: 1.5; stroke-linejoin: round; }
.scale-pivot { fill: var(--lime); }
.price-big { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.price-cap { margin: 0.35rem 0 0; color: var(--dim); }
.price-none { margin: 0; color: var(--dim); }

/* deposit box */
.actions > p { margin: 0.7rem 0; }
.depositbox { max-width: 28rem; display: grid; gap: 0.5rem; margin: 1rem 0; }
.amount { position: relative; display: flex; align-items: center; }
.amount input { margin: 0; padding-right: 8.6rem; font-size: 1.3rem; font-weight: 500; height: 3.2rem; }
.amount-unit { position: absolute; right: 4.6rem; color: var(--dim); font-size: var(--step--1); pointer-events: none; }
.amount .max { position: absolute; right: 0.45rem; padding: 0.3rem 0.6rem; font-size: 0.78rem; letter-spacing: 0.06em; border-radius: 7px; }
.amount .max:hover { border-color: var(--lime); color: var(--lime); }

.toolrow { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.localtools { border-style: dashed; }

/* unlock timeline */
.unlockbox { margin: 1.3rem 0 0.4rem; max-width: 34rem; }
.unlock { width: 100%; height: auto; display: block; }
.unlock-axis { stroke: var(--line); stroke-width: 1; }
.unlock-line { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linejoin: round; }
.unlock-area { fill: var(--lime-wash); }
.unlock-cliff { stroke: var(--dim); stroke-width: 1; }
.unlock-now { stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 3 3; }
.unlock-keys { display: flex; justify-content: space-between; gap: 0.8rem; font-size: 0.72rem; color: var(--dim); }
.unlock-keys span:nth-child(2) { text-align: center; }
.unlock-keys span:last-child { text-align: right; }

/* fee split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 0.6rem; }
@media (max-width: 40rem) { .split { grid-template-columns: 1fr; } }
.split-label { margin: 0 0 0.45rem; font-size: var(--step--1); color: var(--dim); }
.splitbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--night); gap: 2px; }
.split-creator { background: var(--lime); display: block; }
.split-protocol { background: #3a424d; display: block; }
.split + p { margin-bottom: 1.2rem; }

/* depositors table */
.tablewrap { overflow-x: auto; }
.table-sum { margin: 0 0 1rem; color: var(--dim); font-size: var(--step--1); }
table.holders { width: 100%; border-collapse: collapse; min-width: 30rem; }
table.holders th {
  text-align: left; font-weight: 500; color: var(--dim); font-size: 0.78rem;
  padding: 0 1rem 0.6rem 0; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.holders td { padding: 0.6rem 1rem 0.6rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
table.holders tbody tr { transition: background var(--ease); }
table.holders tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
table.holders tr:last-child td { border-bottom: 0; }
table.holders .right { text-align: right; }
table.holders .barcell { width: 32%; min-width: 7rem; padding-right: 0; }
.sharebar { height: 4px; background: var(--night); border-radius: 2px; overflow: hidden; }
.sharebar i { display: block; height: 100%; background: var(--lime); }
.refunded { color: var(--dim); font-family: var(--sans); font-size: 0.75rem; }

ol.steps, ul.plain { max-width: 68ch; padding-left: 1.3rem; }
ol.steps li, ul.plain li { margin: 0.5rem 0; }
ol.steps li::marker { color: var(--lime); font-family: var(--mono); }

/* ---------- the main path: three steps ---------- */
.path { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; counter-reset: step; }
.path li {
  counter-increment: step; position: relative; padding: 0.75rem 0.9rem 0.8rem 2.7rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--dim);
}
.path li::before {
  content: counter(step); position: absolute; left: 0.8rem; top: 0.75rem; width: 1.35rem; height: 1.35rem;
  border-radius: 50%; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.75rem;
  display: grid; place-items: center; color: var(--dim);
}
.path-name { display: block; font-weight: 600; color: var(--text); }
.path-text { display: block; font-size: 0.8rem; line-height: 1.35; margin-top: 0.15rem; }
.path li.now { border-color: rgba(200, 255, 46, 0.55); }
.path li.now::before { background: var(--lime); border-color: var(--lime); color: var(--night); font-weight: 700; }
.path li.done .path-name { color: var(--dim); }
.path li.done::before { content: "\2713"; color: var(--lime); border-color: rgba(200, 255, 46, 0.4); }
.path.failed li.now { border-color: rgba(255, 77, 46, 0.55); }
.path.failed li.now::before { background: var(--red); border-color: var(--red); color: var(--night); }
@media (max-width: 46rem) { .path { grid-template-columns: 1fr; } }

/* ---------- expanders: one click to the exact numbers ---------- */
.fold { padding: 0; }
.fold > summary {
  cursor: pointer; padding: 0.95rem clamp(1rem, 3vw, 1.5rem); font-weight: 600; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: var(--radius);
  transition: background var(--ease);
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; color: var(--lime); line-height: 1; }
.fold[open] > summary::after { content: "\2212"; }
.fold > summary:hover { background: rgba(255, 255, 255, 0.025); }
.fold[open] > summary { border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.fold > *:not(summary) { margin-left: clamp(1rem, 3vw, 1.5rem); margin-right: clamp(1rem, 3vw, 1.5rem); }
.fold > summary + * { margin-top: 1.1rem; }
.fold > *:last-child { margin-bottom: 1.3rem; }
.fold-sub { font-size: var(--step-0); margin-top: 1.6rem; margin-bottom: 0.8rem; color: var(--dim); font-weight: 500; }

.mathrow { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 0.15rem 1.2rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.math-label { font-weight: 600; grid-row: span 2; }
.math-formula { color: var(--dim); font-size: 0.82rem; }
.math-result { font-size: 0.9rem; overflow-wrap: anywhere; }
@media (max-width: 40rem) { .mathrow { grid-template-columns: 1fr; } .math-label { grid-row: auto; } }

dl.facts.exact { gap: 0.45rem 1.5rem; font-size: 0.9rem; }
dl.facts.exact dd { font-size: 0.85rem; }
dl.facts.exact dt.group { grid-column: 1 / -1; color: var(--lime); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; padding-top: 0.9rem; border-top: 1px solid var(--line); margin-top: 0.5rem; }
dl.facts.exact dt.group:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
dl.facts.exact dd.group { display: none; }
.addr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.7rem; }
.full-addr { overflow-wrap: anywhere; }
.explorer { font-size: 0.78rem; color: var(--dim); }
.explorer:hover { color: var(--lime); }

/* ---------- toasts ---------- */
.toasts { position: fixed; right: 1rem; bottom: 1rem; display: grid; gap: 0.5rem; z-index: 10; width: min(24rem, calc(100vw - 2rem)); }
.toast {
  background: #12151a; border: 1px solid var(--line); border-left: 3px solid var(--dim); border-radius: var(--radius);
  padding: 0.75rem 1rem; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8);
  animation: toast-in 180ms ease-out;
}
.toast p { margin: 0; font-size: var(--step--1); }
.toast.good { border-left-color: var(--lime); }
.toast.bad { border-left-color: var(--red); }
.toast.wait { border-left-color: var(--amber); }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.foot { padding: 0 var(--pad) 3rem; max-width: 76rem; margin: 0 auto; }
.foot .horizon { margin: 0 0 1.4rem; }
.netline { color: var(--dim); font-size: 0.72rem; margin-top: 1rem; overflow-wrap: anywhere; max-width: none; }

/* ---------- people who turn animations off: no movement, no glow ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
  .horizon::after { display: none; }
  .clock.dusk { animation: none !important; opacity: 1; }
  .twinkle { animation: none !important; opacity: 0.45; }
  .stars, .planets { transform: none !important; }
}

/* ---------- the sky drifts, ever so slightly ----------
   A few pixels over a minute or two, back and forth. Slow enough that you only notice it
   if you watch. The reduced-motion rule above switches all of it off. */
.stars::before { animation: star-drift 150s ease-in-out infinite alternate; }
.planet.big { animation: planet-drift-big 110s ease-in-out infinite alternate; }
.planet.far { animation: planet-drift-far 170s ease-in-out infinite alternate; }
.twinkle {
  animation-name: twinkle, star-drift;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-direction: normal, alternate;
}
.twinkle.t1 { animation-duration: 8s, 150s; }
.twinkle.t2 { animation-duration: 11s, 150s; animation-delay: -3s, 0s; }
.twinkle.t3 { animation-duration: 13s, 150s; animation-delay: -6s, 0s; }
.twinkle.t4 { animation-duration: 10s, 150s; animation-delay: -1.5s, 0s; }
.twinkle.t5 { animation-duration: 14s, 150s; animation-delay: -8s, 0s; }
@keyframes star-drift { from { translate: 0 0; } to { translate: -7px 4px; } }
@keyframes planet-drift-big { from { translate: 0 0; } to { translate: 8px -5px; } }
@keyframes planet-drift-far { from { translate: 0 0; } to { translate: -6px 4px; } }

/* ---------- sky, second pass ----------
   The large planet was reading as a flat lime sun. It is now a dark world seen from close by:
   only its upper edge rises into the corner, with a soft warm light along the side facing dawn.
   Scroll movement and idle drift are both stronger, and still slow. */
.stars, .planets { inset: -160px 0; }

.planet.big {
  width: clamp(26rem, 58vw, 52rem);
  left: clamp(-30rem, -33vw, -15rem);
  bottom: clamp(-36rem, -41vw, -19rem);
  /* a sphere: dark body, light falling off smoothly from the dawn-facing limb */
  background:
    radial-gradient(circle at 96% 30%, rgba(255, 226, 170, 0.20) 0%, rgba(255, 214, 150, 0.09) 16%, rgba(180, 200, 230, 0.035) 34%, rgba(0, 0, 0, 0) 52%),
    radial-gradient(circle at 30% 70%, #0b0e14 0%, #080a0e 70%, #07080a 100%);
  /* a thin lit rim on the dawn side, and a very faint air around it */
  box-shadow:
    inset -2px 2px 1px -1px rgba(255, 232, 190, 0.55),
    inset -18px 14px 40px -26px rgba(255, 214, 150, 0.30),
    0 0 60px rgba(160, 190, 255, 0.05);
  opacity: 0.9;
  animation: planet-drift-big 46s ease-in-out infinite alternate;
}
.planet.far {
  right: 12%; top: 27%;
  animation: planet-drift-far 64s ease-in-out infinite alternate;
}
.stars::before { animation: star-drift 58s ease-in-out infinite alternate; }
.twinkle.t1 { animation-duration: 8s, 58s; }
.twinkle.t2 { animation-duration: 11s, 58s; }
.twinkle.t3 { animation-duration: 13s, 58s; }
.twinkle.t4 { animation-duration: 10s, 58s; }
.twinkle.t5 { animation-duration: 14s, 58s; }

/* Idle drift: clearly there if you look for a few seconds, never fast. */
@keyframes star-drift {
  0% { translate: 0 0; }
  50% { translate: -16px 12px; }
  100% { translate: -30px -6px; }
}
@keyframes planet-drift-big {
  0% { translate: 0 0; }
  50% { translate: 18px -22px; }
  100% { translate: 34px -10px; }
}
@keyframes planet-drift-far {
  0% { translate: 0 0; }
  50% { translate: -14px 16px; }
  100% { translate: -28px 4px; }
}
@media (max-width: 40rem) {
  .planet.big { opacity: 0.7; }
}

/* ---------- sky, third pass ----------
   The large planet is gone. In its place: more stars, in the colours stars really are
   (blue-white, white, pale gold, orange, red), in different sizes, some glistening and some still. */
.planet.big { display: none; }

/* a second, coloured layer of still stars */
.stars::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 3% 38%, rgba(170, 200, 255, 0.75), transparent 100%),
    radial-gradient(1px 1px at 10% 14%, rgba(255, 236, 196, 0.6), transparent 100%),
    radial-gradient(2px 2px at 17% 79%, rgba(255, 184, 120, 0.6), transparent 100%),
    radial-gradient(1px 1px at 23% 41%, rgba(170, 200, 255, 0.55), transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 63%, rgba(255, 240, 210, 0.5), transparent 100%),
    radial-gradient(1px 1px at 36% 22%, rgba(255, 150, 120, 0.5), transparent 100%),
    radial-gradient(1px 1px at 44% 88%, rgba(190, 212, 255, 0.4), transparent 100%),
    radial-gradient(1.5px 1.5px at 52% 9%, rgba(255, 244, 220, 0.36), transparent 100%),
    radial-gradient(1px 1px at 61% 71%, rgba(170, 200, 255, 0.3), transparent 100%),
    radial-gradient(1px 1px at 70% 34%, rgba(255, 196, 140, 0.3), transparent 100%),
    radial-gradient(1px 1px at 79% 92%, rgba(233, 237, 242, 0.26), transparent 100%),
    radial-gradient(1px 1px at 88% 56%, rgba(190, 212, 255, 0.24), transparent 100%),
    radial-gradient(1px 1px at 95% 17%, rgba(255, 236, 196, 0.22), transparent 100%);
  animation: star-drift 58s ease-in-out infinite alternate;
}

/* the brighter ones: a core, a soft glow, and a slow glisten */
.sun-far {
  position: absolute; border-radius: 50%; display: block;
  width: 3px; height: 3px;
  background: currentColor;
  box-shadow: 0 0 6px 1px currentColor;
  opacity: 0.8;
  animation-name: glisten, star-drift;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-direction: normal, alternate;
  animation-duration: 7s, 58s;
}
.sun-far.white { color: #f3f6fb; }
.sun-far.blue { color: #a9c6ff; }
.sun-far.gold { color: #ffe9b0; }
.sun-far.orange { color: #ffb070; }
.sun-far.red { color: #ff8f78; }

.sun-far.s1 { left: 7%; top: 21%; width: 4px; height: 4px; animation-duration: 6s, 58s; }
.sun-far.s2 { left: 19%; top: 52%; width: 2px; height: 2px; animation-duration: 9s, 58s; animation-delay: -2s, 0s; }
.sun-far.s3 { left: 12%; top: 73%; width: 4px; height: 4px; animation-duration: 8s, 58s; animation-delay: -5s, 0s; }
.sun-far.s4 { left: 33%; top: 30%; width: 3px; height: 3px; animation-duration: 11s, 58s; animation-delay: -3s, 0s; opacity: 0.6; }
.sun-far.s5 { left: 57%; top: 84%; width: 2px; height: 2px; animation-duration: 10s, 58s; animation-delay: -7s, 0s; opacity: 0.5; }
/* two that do not glisten at all */
.sun-far.s6 { left: 74%; top: 12%; width: 3px; height: 3px; animation-name: star-drift; animation-duration: 58s; animation-direction: alternate; opacity: 0.45; }
.sun-far.s7 { left: 90%; top: 68%; width: 2px; height: 2px; animation-name: star-drift; animation-duration: 58s; animation-direction: alternate; opacity: 0.4; }

@keyframes glisten {
  0%, 100% { opacity: 0.85; scale: 1; }
  45% { opacity: 0.3; scale: 0.7; }
  55% { opacity: 1; scale: 1.25; }
}
@media (max-width: 40rem) {
  .sun-far.s4, .sun-far.s5 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sun-far, .stars::after { animation: none !important; }
}

/* ---------- legal pages ---------- */
.legal-version { margin: 0 0 1.2rem; }
.region-block h1 { font-size: var(--step-2); margin: 0 0 0.8rem; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.6rem; }
.legal-tabs a {
  text-decoration: none; color: var(--dim); padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--step--1); transition: color var(--ease), border-color var(--ease);
}
.legal-tabs a:hover { color: var(--text); border-color: var(--dim); }
.legal-tabs a[aria-current="page"] { color: var(--night); background: var(--lime); border-color: var(--lime); font-weight: 600; }
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--step-1); margin-top: 2.2rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #c9d1da; max-width: none; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: 0.45rem 0; }
.legal li::marker { color: var(--dim); }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 1rem 0 0; font-size: var(--step--1); }
.legal-links a { color: var(--dim); }
.legal-links a:hover { color: var(--text); }

/* ---------- the agreement popup ---------- */
dialog.agree {
  background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 4vw, 1.8rem); width: min(30rem, calc(100vw - 2rem)); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}
dialog.agree::backdrop { background: rgba(4, 5, 7, 0.72); }
dialog.agree h2 { margin: 0 0 0.8rem; font-size: var(--step-1); }
dialog.agree p { margin: 0 0 0.9rem; }
dialog.agree a { color: var(--lime); }
.agree-row { display: flex; justify-content: flex-end; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* ---------- additions: alerts, transaction facts, oversubscription, dollar estimates ---------- */
.alerts { padding: 0 var(--pad); max-width: 76rem; margin: 0 auto; }
.alert {
  border: 1px solid rgba(255, 194, 51, 0.5); border-left: 3px solid var(--amber); border-radius: var(--radius);
  background: rgba(255, 194, 51, 0.06); padding: 0.7rem 1rem; margin: 0.8rem 0 0; max-width: none; color: var(--text);
  overflow-wrap: anywhere;
}
.alert.bad { border-color: rgba(255, 77, 46, 0.6); border-left-color: var(--red); background: rgba(255, 77, 46, 0.07); }

.chip.overdue { color: var(--amber); border-color: rgba(255, 194, 51, 0.4); }
.sun.overdue { fill: var(--amber); }

.tx { display: grid; gap: 0.35rem; margin: 0.9rem 0; justify-items: start; }
.tx button.wide { justify-self: stretch; }
.tx p { margin: 0; max-width: none; }
.tx-facts { overflow-wrap: anywhere; }
.tx-to { color: var(--text); }

.usd { color: var(--dim); font-size: var(--step--1); font-weight: 400; white-space: nowrap; }
.priceline { margin-top: 1.4rem; }

.oversub-line { margin: 0 0 0.4rem; font-size: var(--step-1); max-width: none; }
.oversub-times { color: var(--amber); font-weight: 700; }
.price-value { margin: 0.6rem 0 0; }

.tokenline { margin: -0.6rem 0 0.8rem; max-width: none; overflow-wrap: anywhere; }
.tokenline .full-addr { color: var(--text); }
dl.facts.mine { margin: 0.4rem 0 0.6rem; }

.card-over { font-size: var(--step--1); color: var(--amber); }
.card-token { font-size: 0.78rem; color: var(--dim); }
.card-warn { font-size: 0.78rem; color: var(--amber); }

.problems { color: var(--amber); margin: 0.3rem 0 0; padding-left: 1.2rem; }

.legal .statement {
  border: 1px solid rgba(255, 194, 51, 0.5); border-left: 3px solid var(--amber); border-radius: var(--radius);
  background: rgba(255, 194, 51, 0.06); padding: 0.75rem 1rem; color: var(--text);
}
.legal .statement strong { color: var(--amber); font-weight: 600; }

/* ---------- additions, round 2: How it works, finalize block, tabs, example bars ---------- */
.how-lede { max-width: 60ch; margin-top: 0; color: var(--text); }

.tablist { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.4rem 0 0; border-bottom: 1px solid var(--line); padding-bottom: 0.8rem; }
button.tab {
  background: transparent; color: var(--dim); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-weight: 600;
}
button.tab:hover { background: rgba(255, 255, 255, 0.03); color: var(--text); border-color: var(--dim); box-shadow: none; }
button.tab[aria-selected="true"] { background: var(--lime); color: var(--night); border-color: var(--lime); }
.tabpanel[hidden] { display: none; }
.tabpanel:focus-visible { outline-offset: 8px; }

.sunsteps { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 52rem) { .sunsteps { grid-template-columns: 1fr; } }
.sunstep { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem 1.2rem; text-align: center; }
.sunstep .sunarc { max-width: 15rem; }
.sunstep-name { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.01em; margin-top: 0.3rem; }
.sunstep-n { color: var(--lime); font-size: var(--step-0); font-weight: 500; margin-right: 0.5rem; vertical-align: 0.2em; }
.sunstep-text { margin: 0.4rem auto 0; max-width: 26ch; color: var(--dim); }

.example-line { font-size: var(--step-1); line-height: 1.35; margin: 0 0 1.2rem; max-width: 46ch; }
.example-line .num { color: var(--lime); }
.example-foot { margin: 1.2rem 0 0.4rem; font-weight: 600; }
.xbar-fig { margin: 1.1rem 0 0; }
.xbar-cap { color: var(--dim); font-size: var(--step--1); margin-bottom: 0.4rem; }
.xbar { display: flex; height: 2.2rem; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--night); }
.xbar-part { display: block; height: 100%; min-width: 3px; }
.xbar-part.kept, .xbar-dot.kept { background: var(--lime); }
.xbar-part.back, .xbar-dot.back { background: #2a303a; }
.xbar-part.fee, .xbar-dot.fee { background: var(--amber); }
.xbar-key { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.25rem; font-size: var(--step--1); }
.xbar-key li { display: flex; align-items: baseline; gap: 0.55rem; }
.xbar-dot { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 3px; flex: none; }

.versus { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1rem; }
@media (max-width: 46rem) { .versus { grid-template-columns: 1fr; } }
.versus-col { padding: clamp(1rem, 3vw, 1.6rem); }
.versus-col h3 { font-size: var(--step-1); margin-bottom: 0.8rem; }
.versus-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.versus-col li { min-height: 3em; }
.versus-normal { background: var(--panel); color: var(--dim); }
.versus-normal h3 { color: var(--text); }
.versus-eqx { background: var(--lime); color: var(--night); font-weight: 500; }
.open-market { margin-top: 1rem; max-width: 70ch; }

.twolines p { margin: 0 0 0.5rem; font-size: var(--step-1); max-width: 48ch; }
.twolines p:last-child { margin: 0; color: var(--lime); }

.setlist li { margin: 0.4rem 0; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 46rem) { .tiers { grid-template-columns: 1fr; } }
.tiercard h3 { font-size: var(--step-1); margin-bottom: 0.8rem; }

.risks-block { border-color: rgba(255, 194, 51, 0.5); border-left: 3px solid var(--amber); margin-top: 2.6rem; }
.risks-list { padding-left: 1.2rem; margin: 0 0 1.2rem; max-width: 72ch; }
.risks-list li { margin: 0.5rem 0; color: #c9d1da; }
.risks-list li strong { color: var(--amber); font-weight: 600; }

.finalize { border-color: rgba(200, 255, 46, 0.55); box-shadow: 0 0 0 3px rgba(200, 255, 46, 0.07); margin-bottom: 1rem; }
.finalize-line { font-size: var(--step-1); font-weight: 600; margin: 0 0 0.8rem; max-width: 40ch; }
button.big { font-size: var(--step-1); padding: 0.85rem 1.2rem; }
.supplyline { margin-top: -0.4rem; }

/* ---------- skip link, launching-soon and not-found states ---------- */
.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 50; background: var(--lime); color: var(--night); padding: 0.5rem 0.9rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 0.5rem; }
.soon {
  display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: clamp(1rem, 4vw, 2.4rem); align-items: center;
  margin-top: 1.6rem; padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
}
.soon h2 { margin: 0 0 0.6rem; }
.soon p { margin: 0 0 0.7rem; }
.soon p:last-child { margin: 1rem 0 0; }
.soon-arc svg { width: 100%; height: auto; display: block; }
@media (max-width: 40rem) { .soon { grid-template-columns: 1fr; } .soon-arc { max-width: 12rem; } }
noscript p { color: var(--dim); }

/* ---------- hero, compact: the launches should be visible without scrolling far ---------- */
.hero { grid-template-columns: 1.35fr 1fr; }
.hero > div { padding: clamp(1.2rem, 2.6vw, 2rem) clamp(1.2rem, 3vw, 2.2rem); }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 14ch; }
.hero .lede { font-size: var(--step-0); margin: 0.8rem 0 1.1rem; max-width: 44ch; }
.hero-day { justify-content: center; }
.hero-line { font-size: var(--step-0); max-width: 30ch; }
.hero-points { margin-top: 0.9rem; }
@media (max-width: 46rem) { .hero { grid-template-columns: 1fr; } }

.tx-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.8rem 1.4rem; margin-top: 0.8rem; }
/* in the narrow figure lists an amount and its unit stay together; the dollar estimate goes below */
dl.facts.tight dd .num { white-space: nowrap; }
dl.facts.tight dd .usd { display: block; color: var(--dim); }

/* used for a moment by the copy buttons when the browser's clipboard interface refuses */
.copy-helper { position: fixed; left: -100rem; top: 0; width: 1px; height: 1px; opacity: 0; }

/* ---------- the price of one token: dollars first, HYPE beside it; zeros as a lowered count ---------- */
.px { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.5em; min-width: 0; }
.px-usd { white-space: nowrap; }
.px-hype { font-size: 0.56em; font-weight: 400; color: var(--dim); white-space: nowrap; letter-spacing: 0; }
.tiny sub { font-size: 0.62em; line-height: 0; vertical-align: baseline; position: relative; bottom: -0.32em; margin: 0 0.05em; }
.price-big .px-hype { font-size: 0.42em; }
