/* =====================================================================
   Icon

   quivertips.app's system, the same one the other Robinhood Chain sites
   use: white page, one loud accent used only as a fill, Inter Tight at 600
   with -.04em tracking for display, hairline rules instead of tinted
   sections, 999px pills, 28px accent tiles wrapping near-black cards, and a
   1160px measure.

   The accent here is Quiver's own lime rather than Robinhood green, so this
   site reads as its own thing next to Hood Helper. Lime is a fill with
   #0f0f0f on it (17:1) and never type on white (1.2:1); --accent-ink is the
   text-safe sibling at 6.5:1.

   The minds' own voice — their thoughts in the feed — is set in mono, so
   what a model wrote never reads as what the site says.
   ===================================================================== */

:root {
  --accent: #ccff00;
  --accent-hi: #b8e600;
  --accent-ink: #4d6600;
  --black: #0f0f0f;
  --white: #ffffff;
  --grey: #6b6b6b;
  --grey-2: #8a8a8a;
  --grey-3: #c9c9c9;
  --line: #e8e8e8;
  --wash: #f4f4f4;
  --card: #111111;
  --card-2: #1c1c1c;
  --card-line: #2a2a2a;
  --card-grey: #a3a3a3;
  --up: #1b7f3b;
  --down: #c93a2e;

  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --w: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* Type ----------------------------------------------------------------- */

h1, h2 {
  font-family: var(--display);
  margin: 0;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .95;
}
h1 { font-size: clamp(56px, 8.4vw, 112px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }

.kicker { font-size: 17px; color: var(--grey); margin-bottom: 22px; }
.lede { margin-top: 28px; font-size: 19px; line-height: 1.5; color: #3a3a3a; max-width: 30em; }
.sub  { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--grey); max-width: 40em; }
.sub + .sub { margin-top: 14px; }
.fine { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--grey); max-width: 46em; }
.fine strong { color: var(--black); font-weight: 600; }
.fine a, .sub a, .prose a { color: var(--accent-ink); text-decoration: none; font-weight: 500; }
.fine a:hover, .sub a:hover, .prose a:hover { text-decoration: underline; }
em { font-style: normal; font-weight: 600; color: var(--black); }

code, .mono {
  font-family: var(--mono);
  background: var(--wash);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--black);
  font-size: .88em;
}
::selection { background: var(--accent); color: var(--black); }

/* Nav ------------------------------------------------------------------ */

.bar-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.mark {
  font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.03em;
  text-decoration: none; color: var(--black);
  display: inline-flex; align-items: center; gap: 10px;
}
.mark svg { width: 30px; height: 30px; display: block; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--grey); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--black); }
.nav a.btn, .nav a.btn:hover { color: var(--white); }
.nav a.btn.go, .nav a.btn.go:hover { color: var(--black); }

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--black); color: var(--white);
  font-family: var(--body); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: #2a2a2a; }
.nav .btn, .btn.sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn.go { background: var(--accent); color: var(--black); }
.btn.go:hover { background: var(--accent-hi); }
.btn.ghost { background: transparent; color: var(--black); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--black); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--black); }
.btn.go[disabled]:hover { background: var(--accent); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--black); outline-offset: 2px;
}

/* Hero ----------------------------------------------------------------- */

.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 88px;
}
.hero .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(46px, 7.6vw, 98px); }
.cta { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta .note { font-size: 14px; color: var(--grey); }

/* The tile: the one place the accent covers real area. */
.tile { background: var(--accent); border-radius: 28px; padding: 24px; }
.tile-cap {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13px; font-weight: 500; color: var(--black); padding: 0 2px 14px;
}
.tile .card { background: var(--card); border: 0; border-radius: 20px; padding: 20px 22px; color: var(--white); }
.live-dot { display: inline-flex; align-items: center; gap: 8px; }
.live-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--black);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .25; } }

/* A mind speaking, inside a dark card. */
.voice-who { display: flex; align-items: center; gap: 12px; }
.voice-who .logo { width: 40px; height: 40px; border-radius: 12px; background: var(--card-2); color: var(--card-grey); }
.voice-who b { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: 18px; display: block; }
.voice-who span { color: var(--card-grey); font-size: 13px; }
.voice-text {
  margin-top: 16px; font-family: var(--mono); font-size: 14.5px; line-height: 1.6; color: #e9e9e9;
  min-height: 7.2em; white-space: pre-wrap; overflow-wrap: anywhere;
}
.voice-text .caret { display: inline-block; width: .55em; height: 1.05em; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.voice-corr { margin-top: 10px; font-size: 13px; color: #ff9a8f; }
.voice-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--card-line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--card-grey);
}
.voice-foot a { color: var(--accent); text-decoration: none; font-weight: 600; }
.voice-foot a:hover { text-decoration: underline; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px;
  background: var(--accent); color: var(--black); font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.tag.dim { background: var(--card-2); color: var(--card-grey); }

/* Stats ---------------------------------------------------------------- */

.statband { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statband .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 44px; padding-bottom: 44px; }
.statgrid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  margin-top: 28px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat .k { font-size: 13px; font-weight: 500; color: var(--grey-2); }
.stat .v { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; line-height: 1; }
.stat .n { font-size: 13px; color: var(--grey); }

/* Story ------------------------------------------------------------------ */

.story { height: 260vh; position: relative; }
.story-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center; gap: 34px;
  max-width: var(--w); margin: 0 auto; padding: 0 24px;
}
.story-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.story-steps { display: flex; gap: 26px; flex-wrap: wrap; }
.story-copy p {
  font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -.02em; line-height: 1.15; color: var(--grey-3); margin: 0; transition: color .35s;
}
.story-copy p.on { color: var(--black); }
.storybar { height: 3px; background: #ededed; border-radius: 2px; overflow: hidden; width: 100%; flex-basis: 100%; }
.storybar i { display: block; height: 100%; background: var(--black); transform-origin: left center; transform: scaleX(0); }
.stage { position: relative; height: 250px; }
.frame {
  position: absolute; width: 360px;
  background: var(--white); border-radius: 26px; padding: 11px;
  box-shadow: 0 44px 90px -34px rgba(0,0,0,.5), 0 0 0 1px #e6e6e6;
  transition: opacity .6s, transform .6s cubic-bezier(.2,.75,.2,1);
}
.story.js .frame { opacity: 0; transform: translateY(28px); }
.story.js .frame.in { opacity: 1; transform: translateY(0); }
.frame:nth-child(1) { left: 0; top: 34px; z-index: 1; }
.frame:nth-child(2) { left: calc(50% - 180px); top: 0; z-index: 3; }
.frame:nth-child(3) { right: 0; top: 40px; z-index: 2; }
.frame .card { background: var(--card); border: 0; border-radius: 17px; padding: 16px 18px; color: var(--white); }
.fr-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--card-grey); }
.fr-top b { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: 16px; color: var(--white); }
.fr-body { margin-top: 12px; font-family: var(--mono); font-size: 13px; line-height: 1.55; color: #d6d6d6; }
.fr-big { margin-top: 10px; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -.035em; line-height: 1; }
.fr-big span { display: block; margin-top: 6px; font-family: var(--body); font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--card-grey); }
.frame .tag { margin-top: 12px; }

/* Sections --------------------------------------------------------------- */

.panel { padding: 88px 0; }
body > section + section, body > footer, main > section + section { border-top: 1px solid var(--line); }
.story + section { border-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.sec-head > div { min-width: 0; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--grey);
  white-space: nowrap; cursor: pointer;
}
.chip:hover { border-color: var(--black); color: var(--black); }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }

/* Band of four powers. */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-top: 56px; padding-bottom: 56px; }
.band .num { font-family: var(--mono); font-size: 12px; color: var(--grey-2); margin-bottom: 14px; display: block; }
.band p { margin-top: 10px; color: var(--grey); font-size: 15.5px; }

/* Coin cards ------------------------------------------------------------- */

.cards { display: grid; gap: 16px; margin-top: 32px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ccard {
  border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  background: var(--white); display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit; transition: border-color .2s; min-width: 0;
}
.ccard:hover { border-color: var(--black); }
.cc-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cc-top > div { min-width: 0; }
.logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--wash); flex: none; display: block; }
.logo.ph { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; color: var(--grey); }
.cc-name { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-sym { font-size: 13px; color: var(--grey); }
.cc-model { font-family: var(--mono); font-size: 12px; color: var(--grey); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-say {
  font-family: var(--mono); font-size: 13px; line-height: 1.5; color: #333;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.5em;
}
.cc-say.quiet { color: var(--grey-2); }
.cc-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.cc-nums div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-nums span { font-size: 12px; color: var(--grey-2); }
.cc-nums b { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge.awake { background: var(--accent); color: var(--black); }
.badge.asleep { background: var(--wash); color: var(--grey); }
.badge.grad { background: var(--black); color: var(--white); }
.cc-top .badge { margin-left: auto; }

.empty { color: var(--grey); font-size: 16px; margin-top: 28px; padding: 28px; border: 1px dashed var(--line); border-radius: 18px; }

/* The fee split ----------------------------------------------------------- */

.split { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.split-step { border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.split-when { font-size: 13px; color: var(--grey); }
.split-when b { display: block; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.025em; color: var(--black); margin-top: 4px; }
.sbar { display: flex; height: 40px; border-radius: 10px; overflow: hidden; gap: 2px; }
.sbar i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 600; min-width: 0; overflow: hidden; white-space: nowrap; }
.sbar .cr { background: var(--accent); color: var(--black); }
.sbar .tr { background: var(--black); color: var(--white); }
.sbar .pl { background: var(--grey-3); color: var(--black); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--grey); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.legend .cr { background: var(--accent); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.legend .tr { background: var(--black); }
.legend .pl { background: var(--grey-3); }

/* Rules table ------------------------------------------------------------- */

.tbl { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; }
.tbl th {
  text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  color: var(--grey-2); padding: 0 16px 10px 0; border-bottom: 1px solid var(--line);
}
.tbl td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--grey); }
.tbl td:first-child { color: var(--black); font-weight: 500; width: 38%; }
.tbl .no { color: var(--down); font-weight: 600; }
.tbl .yes { color: var(--accent-ink); font-weight: 600; }

/* Forms ------------------------------------------------------------------- */

.lform { margin-top: 8px; }
.lsec { padding: 40px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.lsec:first-child { border-top: 0; padding-top: 16px; }
.lsec-head .num { font-family: var(--mono); font-size: 12px; color: var(--grey-2); display: block; margin-bottom: 10px; }
.lsec-head p { margin-top: 10px; color: var(--grey); font-size: 14.5px; }
.lsec-body { min-width: 0; max-width: 640px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.frow.three { grid-template-columns: 1fr 1fr 1fr; }
.fi { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.fi label, .fi .lab { font-size: 14px; font-weight: 500; }
.fi .opt { color: var(--grey-2); font-weight: 400; }
.fi input, .fi select, .fi textarea {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); color: var(--black);
  font-family: var(--body); font-size: 16px;
}
.fi textarea { height: auto; min-height: 110px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.fi input:focus, .fi select:focus, .fi textarea:focus { outline: 0; border-color: var(--black); }
.fi input::placeholder, .fi textarea::placeholder { color: var(--grey-2); }
.fi .hint { font-size: 13px; color: var(--grey-2); display: flex; justify-content: space-between; gap: 12px; }
.fi .hint.bad { color: var(--down); }
.fi .chips { margin-bottom: 4px; }
.fi .chip { height: 32px; font-size: 13px; }

.drop {
  display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 124px; padding: 18px;
  border: 1px dashed var(--grey-3); border-radius: 16px; background: var(--white); cursor: pointer; text-align: center;
  transition: border-color .18s, background .18s;
}
.drop:hover, .drop:focus-visible { border-color: var(--black); outline: 0; }
.drop.over { border-color: var(--accent-ink); background: #fbffe9; }
.drop.has { border-style: solid; border-color: var(--line); text-align: left; justify-content: flex-start; }
.drop img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; }
.drop-copy { display: flex; flex-direction: column; gap: 4px; }
.drop-copy b { font-weight: 600; font-size: 15px; }
.drop-copy span { font-size: 13px; color: var(--grey); }

/* Model picker. */
.mp-search { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.mp-search input {
  flex: 1; min-width: 0; height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); font-family: var(--body); font-size: 15px; color: var(--black); background: var(--white);
}
.mp-search input:focus { outline: 0; border-color: var(--black); }
.mp-list {
  border: 1px solid var(--line); border-radius: 16px; max-height: 360px; overflow-y: auto; overscroll-behavior: contain;
}
.mp-group { position: sticky; top: 0; background: var(--white); padding: 10px 16px 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-2); border-bottom: 1px solid var(--line); z-index: 1; }
.mp-opt { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.mp-opt:last-child { border-bottom: 0; }
.mp-opt:hover { background: #fafafa; }
.mp-opt input { accent-color: var(--black); width: 18px; height: 18px; flex: none; margin: 0; }
.mp-opt .nm { font-weight: 500; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-opt .id { font-family: var(--mono); font-size: 12px; color: var(--grey-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-opt .pr { margin-left: auto; font-size: 13px; color: var(--grey); white-space: nowrap; text-align: right; }
.mp-opt > div { min-width: 0; display: flex; flex-direction: column; }
.mp-opt.on { background: #fbffe9; }
.mp-empty { padding: 22px 16px; color: var(--grey); font-size: 14px; }
.mp-picked { margin-top: 12px; font-size: 14px; color: var(--grey); }
.mp-picked b { color: var(--black); font-weight: 600; }

.lnote { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; font-size: 14px; line-height: 1.6; color: var(--grey); }
.lnote p + p { margin-top: 10px; }
.lnote b { color: var(--black); font-weight: 600; }
.lnote.warn { border-color: #f1d3cf; background: #fffaf9; }

.terms { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.terms li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.terms li span { color: var(--grey); }
.terms li b { font-weight: 600; text-align: right; }

.steps { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--grey-2); }
.steps li .ic { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--grey-3); flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.steps li.now { color: var(--black); }
.steps li.now .ic { border-color: var(--black); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.done { color: var(--black); }
.steps li.done .ic { background: var(--accent); border-color: var(--accent); color: var(--black); }
.steps li.fail { color: var(--down); }
.steps li.fail .ic { border-color: var(--down); color: var(--down); }
.steps li .why { display: block; font-size: 13px; color: var(--grey); margin-top: 3px; }
.steps li.fail .why { color: var(--down); }
@keyframes spin { to { transform: rotate(360deg); } }

.lstatus { margin-top: 14px; font-size: 14px; color: var(--grey); min-height: 1.5em; }
.lstatus.ok { color: var(--accent-ink); font-weight: 600; }
.lstatus.err { color: var(--down); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--grey); margin-bottom: 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--black); flex: none; }

.done-box { margin-top: 28px; padding: 24px; border-radius: 22px; background: var(--accent); }
.done-box .card { background: var(--card); color: var(--white); border-radius: 16px; padding: 20px 22px; }
.done-box h3 { color: var(--white); }
.done-box p { margin-top: 8px; color: var(--card-grey); font-size: 14.5px; }
.done-box .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.done-box input { height: 44px; border-radius: 999px; border: 1px solid var(--card-line); background: var(--card-2); color: var(--white); padding: 0 18px; font-size: 15px; width: 160px; font-family: var(--body); }
.done-box .btn.go { height: 44px; }
.done-box .btn.ghost { color: var(--white); border-color: var(--card-line); height: 44px; }
.done-box .q { font-family: var(--mono); font-size: 12.5px; color: var(--card-grey); margin-top: 10px; }

/* Coin page ------------------------------------------------------------- */

.coin-head .wrap { padding-top: 40px; padding-bottom: 36px; }
.back { font-size: 14px; color: var(--grey); text-decoration: none; }
.back:hover { color: var(--black); }
.coin-id { display: flex; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.coin-id .logo { width: 84px; height: 84px; border-radius: 22px; font-size: 30px; }
.coin-id h1 { font-size: clamp(40px, 6vw, 72px); }
.coin-id .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.coin-id .meta .mono { font-size: 12.5px; }
.coin-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.coin-cols { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding-top: 48px; padding-bottom: 88px; }
.coin-cols > * { min-width: 0; }

.feed { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.feed li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.feed .k { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--grey-2); padding-top: 3px; }
.feed .k.thought, .feed .k.made { color: var(--accent-ink); }
.feed .k.action { color: var(--black); }
.feed .k.blocked, .feed .k.halted { color: var(--down); }
.feed .t { font-size: 12px; color: var(--grey-2); margin-top: 6px; display: block; font-weight: 400; text-transform: none; letter-spacing: 0; }
.feed .say { font-family: var(--mono); font-size: 14px; line-height: 1.6; color: #222; white-space: pre-wrap; overflow-wrap: anywhere; }
.feed .sys { font-size: 15px; color: #333; overflow-wrap: anywhere; }
.feed .lore-t { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; margin-bottom: 6px; }
.feed .corr { margin-top: 8px; font-size: 13px; color: var(--down); }
.feed .why { margin-top: 4px; font-size: 13px; color: var(--grey); }
.feed .tx { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--accent-ink); text-decoration: none; font-weight: 500; }
.feed .tx:hover { text-decoration: underline; }
.feed img.made, .feed video.made { margin-top: 8px; max-width: 100%; width: 360px; border-radius: 14px; display: block; border: 1px solid var(--line); background: #000; }
.feed .st { display: inline-flex; height: 22px; align-items: center; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; margin-left: 8px; vertical-align: 1px; }
.feed .st.ok { background: var(--accent); color: var(--black); }
.feed .st.wait { background: var(--wash); color: var(--grey); }
.feed .st.bad { background: #fdeceb; color: var(--down); }
.feed-more { margin-top: 18px; }

.side-box { border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.side-box + .side-box { margin-top: 16px; }
.side-box h3 { font-size: 18px; }
.side-box .say { margin-top: 10px; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: #333; white-space: pre-wrap; overflow-wrap: anywhere; }
.side-box .say.quiet { color: var(--grey-2); font-family: var(--body); }
.kv { list-style: none; margin: 12px 0 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv li:last-child { border-bottom: 0; }
.kv li span { color: var(--grey); }
.kv li b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.side-box details summary { cursor: pointer; font-size: 14px; font-weight: 600; margin-top: 14px; }
.side-box details[open] summary { margin-bottom: 4px; }

.progress { margin-top: 14px; height: 8px; background: var(--wash); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--black); border-radius: 999px; }

/* Docs ------------------------------------------------------------------- */

.docs { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.docs nav { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.docs nav a { font-size: 14px; color: var(--grey); text-decoration: none; padding: 6px 0; }
.docs nav a:hover { color: var(--black); }
.prose { min-width: 0; max-width: 720px; }
.prose h2 { margin-top: 64px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; font-size: 19px; }
.prose p, .prose li { color: #3a3a3a; font-size: 16.5px; line-height: 1.7; }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose strong { font-weight: 600; color: var(--black); }
.prose .lnote { margin-top: 20px; }
.prose .tbl { font-size: 14.5px; }
.prose .addr { font-family: var(--mono); font-size: 12.5px; word-break: break-all; }

/* Footer ------------------------------------------------------------------ */

footer { padding: 36px 0 44px; font-size: 14px; color: var(--grey); }
footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
footer .wrap > div { max-width: 46em; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer .fine { margin-top: 0; max-width: none; }
footer .fine + .fine { margin-top: 12px; }
footer a { color: var(--grey); text-decoration: none; }
footer a:hover { color: var(--black); }

/* Motion -------------------------------------------------------------------- */

.motion .kicker, .motion .lede, .motion .cta { opacity: 0; animation: fade .7s ease .35s forwards; }
.motion .cta { animation-delay: .45s; }
.motion .tile { opacity: 0; animation: tilein .9s cubic-bezier(.2,.75,.2,1) .2s forwards; }
@keyframes fade { to { opacity: 1; } }
@keyframes tilein { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .motion .kicker, .motion .lede, .motion .cta, .motion .tile { opacity: 1; animation: none; }
  .story.js .frame { opacity: 1; transform: none; transition: none; }
  .live-dot::before, .voice-text .caret, .steps li.now .ic { animation: none; }
}

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 1240px) {
  .frame { width: calc(33.4% + 14px); }
  .frame:nth-child(2) { left: calc(33.3% - 7px); }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; padding-bottom: 64px; }
  .statband .wrap, .statgrid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .band .wrap { grid-template-columns: repeat(2, 1fr); }
  .story { height: auto; }
  .story-sticky { position: static; height: auto; gap: 22px; padding-top: 56px; padding-bottom: 56px; }
  .story-copy { align-items: flex-start; flex-direction: column; gap: 12px; }
  .story-steps { flex-direction: column; gap: 8px; }
  .storybar { display: none; }
  .stage { height: auto; display: flex; flex-direction: column; gap: 12px; }
  .frame { position: relative; width: 100%; }
  .frame:nth-child(n) { left: auto; right: auto; top: auto; }
  .split { grid-template-columns: 1fr; }
  .coin-cols { grid-template-columns: 1fr; }
  .lsec { grid-template-columns: 1fr; gap: 20px; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .docs nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
}
@media (max-width: 820px) {
  .panel { padding: 64px 0; }
  .tbl td:first-child { width: auto; }
}
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .story-sticky { padding-left: 16px; padding-right: 16px; }
  .frow, .frow.three { grid-template-columns: 1fr; }
  .statband .wrap, .statgrid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .band .wrap { grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: clamp(34px, 11vw, 56px); }
  .br-wide { display: none; }
  .feed li { grid-template-columns: 1fr; gap: 6px; }
  .feed .t { display: inline; margin: 0 0 0 8px; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .tbl td { border: 0; padding: 2px 0; }
}

/* Faces ------------------------------------------------------------------
   Four generated faces to choose from. The chosen one gets the black ring and
   the accent tick; it becomes the persona's first frame and the coin's logo. */

.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.face {
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; cursor: pointer;
  background: var(--wash); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s;
}
.face input { position: absolute; opacity: 0; pointer-events: none; }
.face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face:hover { outline-color: var(--grey-3); }
.face:focus-within { outline-color: var(--black); }
.face.on { outline: 3px solid var(--black); }
.face.on::after {
  content: "✓"; position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--black); font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* Clips -------------------------------------------------------------------
   A persona's video: the clip fills a dark rounded card and its words sit on a
   gradient at the foot, in mono like everything else the personas say. */

.clip { position: relative; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: var(--card); }
.clip video, .clip img.poster { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.clip-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 18px 18px; color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); pointer-events: none;
}
.clip-info a { pointer-events: auto; color: inherit; text-decoration: none; }
.clip-who { display: flex; align-items: center; gap: 10px; }
.clip-who .logo { width: 34px; height: 34px; border-radius: 10px; background: var(--card-2); color: var(--card-grey); }
.clip-who b { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.02em; display: block; }
.clip-who span { font-size: 12.5px; color: #cfcfcf; }
.clip-title { margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; line-height: 1.15; }
.clip-line { margin-top: 6px; font-family: var(--mono); font-size: 13.5px; line-height: 1.5; color: #f1f1f1; }
.clip-meta { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #d4d4d4; }
.clip-meta .tag { height: 22px; font-size: 11.5px; }
.clip-sound {
  position: absolute; top: 12px; right: 12px; height: 32px; padding: 0 12px; border-radius: 999px; border: 0;
  background: rgba(15,15,15,.62); color: var(--white); font: 600 12.5px var(--body); cursor: pointer;
}
.clip-sound:hover { background: rgba(15,15,15,.85); }

/* The feed page: one clip after another down a narrow column. */
.reel { max-width: 440px; margin: 0 auto; padding: 8px 16px 96px; display: flex; flex-direction: column; gap: 28px; }
.reel .clip { scroll-snap-align: center; }
html.snap { scroll-snap-type: y proximity; }
.reel-end { text-align: center; color: var(--grey); font-size: 14px; }

/* A coin's own videos, smaller and side by side. */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 20px; }
.vgrid .clip { border-radius: 18px; }
.vgrid .clip-info { padding: 48px 12px 12px; }
.vgrid .clip-title { font-size: 15.5px; margin-top: 0; }
.vgrid .clip-line { font-size: 12px; }

/* The hero tile can play the newest clip. */
.tile .clip { border-radius: 20px; aspect-ratio: 4 / 5; }

.queue { list-style: none; margin: 12px 0 0; padding: 0; }
.queue li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--grey); }
.queue li:last-child { border-bottom: 0; }
.queue li b { color: var(--black); font-weight: 600; }

@media (max-width: 620px) {
  .faces { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Chain choice ------------------------------------------------------------ */
.chains { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chainopt {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px;
  cursor: pointer; position: relative; transition: border-color .15s;
}
.chainopt:hover { border-color: var(--grey-3); }
.chainopt input { position: absolute; opacity: 0; pointer-events: none; }
.chainopt b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.chainopt span { font-size: 13.5px; color: var(--grey); line-height: 1.5; }
.chainopt:has(input:checked) { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.chainopt:has(input:checked)::after {
  content: "✓"; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--black); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.chainopt:focus-within { outline: 2px solid var(--black); outline-offset: 2px; }
.badge.chain { background: var(--wash); color: var(--grey); }
.chainopt .soon { font-family: var(--body); font-style: normal; font-size: 11.5px; font-weight: 600; background: var(--wash); color: var(--grey); border-radius: 999px; padding: 3px 9px; margin-left: 6px; vertical-align: 2px; letter-spacing: 0; }
.chainopt.off { opacity: .55; cursor: not-allowed; }
.chainopt.off:hover { border-color: var(--line); }
@media (max-width: 620px) { .chains { grid-template-columns: 1fr; } }
