:root {
  --mist: #e8f0ef;
  --mist-2: #dde8e6;
  --panel: #ffffff;
  --ink: #0f2a2e;
  --ink-2: #3e5658;
  --sea: #5b6f70;
  --line: #cddad8;
  --violet: #6a4cff;
  --violet-ink: #5537f0;
  --violet-on-ink: #b9a8ff;
  --good: #11785a;
  --bad: #b42318;
  --shadow: 0 32px 80px -32px rgb(15 42 46 / .38), 0 2px 8px rgb(15 42 46 / .08);
  --r-s: 6px;
  --r-m: 14px;
  --display: "Sora", "Albert Sans", system-ui, sans-serif;
  --body: "Albert Sans", system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, monospace;
  --wrap: 1240px;
  --inset: max(80px, calc((100vw - var(--wrap) - 48px) / 2 + 80px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-color: var(--sea) var(--mist); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 18px/1.6 var(--body); caret-color: var(--violet);
  accent-color: var(--violet);
}
::selection { background: var(--violet); color: #fff; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: var(--r-s); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
code { font-family: var(--mono); font-size: 0.86em; }

/* header */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 32px;
  padding: 16px var(--inset);
  background: rgb(232 240 239 / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: 0.02em; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); text-decoration: underline; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { cursor: progress; transform: none; }
.btn-violet:disabled { background: #d6cfff; color: #2a2350; }
.btn-line:disabled { color: var(--ink-2); border-color: var(--ink-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #173b40; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-ink); }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--panel); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ca { margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.hero-ca code { font-size: 14px; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

/* the working piece */
.chip {
  position: absolute; transform: translate(-50%, -50%); font: 500 14px/1 var(--mono); font-variant-numeric: tabular-nums;
  background: var(--panel); color: var(--ink); padding: 8px 10px; border-radius: 999px; box-shadow: 0 6px 18px -8px rgb(15 42 46 / .35);
  white-space: nowrap; transition: left .9s var(--ease), top .9s var(--ease), opacity .4s;
}

/* how it is checked */
.checked { margin: 0; padding: 48px var(--inset) 128px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.checked h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.0; margin-bottom: 32px; max-width: 12ch; }
.checked > * { min-width: 0; }
.checked-copy { display: grid; gap: 16px; max-width: 34em; }
.checked-copy p { color: var(--ink-2); }
.code { margin: 0; background: var(--ink); color: #e6efee; border-radius: var(--r-m); padding: 32px; box-shadow: var(--shadow); position: sticky; top: 104px; }
.code figcaption { font: 600 15px/1 var(--body); color: var(--violet-on-ink); margin-bottom: 20px; }
.code code { font-size: 1em; }
.runlabel { margin: 28px 0 12px; font: 600 15px/1.4 var(--body); color: var(--violet-on-ink); }
.runs { list-style: none; margin: 0; padding: 0; font: 400 15px/1.4 var(--body); }
.runs b { font-weight: 600; font-variant-numeric: tabular-nums; }
.runs li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgb(255 255 255 / .12); }
.runs b { font-weight: 500; }
.t-ok { color: #7ee2b8; }
.t-no { color: #ffb4a8; }
.code pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 14px/1.7 var(--mono); }
code, pre, .chip, .members, .ca code, .code figcaption { font-variant-ligatures: none; }
.code .k { color: var(--violet-on-ink); }
.code .t { color: #8fd3c7; }
.code .c { color: #8aa5a6; }

/* scope */
.scope { background: var(--mist-2); padding: 64px var(--inset); }
.scope h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; margin-bottom: 40px; max-width: 22ch; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.ledger li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger .state { font: 600 15px/1.4 var(--body); }
.is-today { font-size: 20px; color: var(--ink); }
.is-planned { font-size: 18px; color: #4a5d5e; border-bottom-style: dashed !important; }
.scope-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; }
.scope h3 { font: 700 18px/1.2 var(--display); margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1.5px solid var(--ink); }
.scope ul { list-style: none; margin: 0; padding: 0; }
.today li { font-size: 20px; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
.planned h3 { color: #4a5d5e; border-bottom: 1px dashed #4a5d5e; }
.planned li { font-size: 17px; color: #4a5d5e; padding: 16px 0; border-top: 1px dashed var(--line); }
.planned li:first-child { border-top: 0; }

/* token */
.token { padding: 80px var(--inset); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px 96px; align-items: center; background: var(--ink); color: #e8f0ef; }
.token-left, .token-right { display: grid; gap: 16px; }
.token-note { color: #c9dbd9; font-size: 16px; max-width: 34em; }
.token .btn-line { border-color: #e8f0ef; color: #e8f0ef; }
.token .btn-line:hover { background: #173b40; }
.ca-label { font-size: 15px; color: #a9c2c0; }
.token-head { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.token-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.token h2 { font-size: clamp(44px, 5vw, 76px); line-height: 1; }
.token-line { color: #c9dbd9; font-size: 20px; }
.ca { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 12px; max-width: 100%; }
.ca code { font-size: 16px; word-break: break-all; color: #ffffff; }

footer p { max-width: 62ch; }
footer { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 32px var(--inset) 48px; border-top: 1px solid var(--line); color: var(--sea); font-size: 15px; }

@media (max-width: 980px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .code { position: static; }
}
@media (max-width: 980px) {
  :root { --inset: 32px; }
}
@media (max-width: 700px) {
  :root { --inset: 20px; }
  .token h2 { font-size: 44px; }
  .ledger li { grid-template-columns: 1fr; gap: 4px; }
  .token { padding: 64px 20px; grid-template-columns: 1fr; }
  body { font-size: 17px; }
  .top { padding: 12px 16px; gap: 12px; }
  .top .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .checked { padding: 72px 16px; gap: 40px; }
  .scope { padding: 40px 16px; }
  .scope-grid { grid-template-columns: 1fr; gap: 40px; }
  .today li { font-size: 18px; }
  .token { padding: 56px 16px 72px; }
  .code { padding: 20px; }
  .code pre { font-size: 13px; }
  .row .btn { flex: 1 1 auto; }
}

/* first screen: comp A, the question and the live app */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; padding: 96px var(--inset) 0; background: radial-gradient(50% 60% at 75% 40%, #f7fbfa, var(--mist) 70%); }
.hero-copy { padding-top: 24px; animation: rise .6s var(--ease) both; }
.hero h1 { font-size: clamp(44px, 5vw, 76px); line-height: 1.02; }
.answer { margin-top: 28px; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.3; color: var(--ink-2); max-width: 20em; }
@media (max-width: 980px) {
  .hero { padding-top: 64px; gap: 40px; }
}
@media (max-width: 700px) {
  .hero { padding: 48px 16px 0; }
  .hero h1 { font-size: 36px; }
  .answer { font-size: 20px; }
}


/* the app (comp A right column) */
.app { position: relative; z-index: 2; background: var(--panel); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 24px 28px 28px; margin-bottom: -96px; display: grid; gap: 16px; align-content: start; }
.app > * { min-width: 0; }
.mode { font-size: 14px; line-height: 1.5; color: #3f3591; background: #efecff; border-radius: var(--r-s); padding: 12px 14px; }
.tabs { min-width: 0; display: flex; gap: 4px; background: var(--mist); border-radius: 999px; padding: 4px; }
.tabs button { flex: 1 1 0; min-width: 0; padding: 0 6px; white-space: nowrap; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: 600 15px/1 var(--body); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 2px 8px -4px rgb(15 42 46 / .4); }
.pane { display: grid; gap: 12px; }
.pane label, .pane legend { font-weight: 600; font-size: 15px; color: var(--ink); }
.pane input:not([type="radio"]), .pane textarea { width: 100%; font: 400 16px/1.45 var(--body); color: var(--ink); background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; }
.pane input:focus, .pane textarea:focus { border-color: var(--violet); outline: none; }
.who-can { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.radio { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 500 !important; min-height: 32px; }
.radio input { width: 18px; height: 18px; }
.radio small { color: var(--sea); font-weight: 400; }
.token-rule { display: grid; gap: 8px; padding: 12px 0 0 28px; }
.token-found { font-size: 14px; color: var(--sea); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 20px; }
.token-found.ok b { color: var(--ink); }
.token-found.bad { color: var(--bad); }
.token-found a { color: var(--violet-ink); }
.badge { font-size: 13px; font-weight: 600; color: #2a2350; background: #e3ddff; border-radius: 999px; padding: 2px 10px; }
.result { display: grid; gap: 10px; padding: 16px; background: var(--mist); border-radius: var(--r-s); font-size: 15px; color: var(--ink-2); }
.copyrow { display: flex; gap: 8px; }
.copyrow input { min-width: 0; flex: 1; }
.copyrow input { font: 400 14px/1.4 var(--mono) !important; background: var(--panel) !important; }
.empty { padding: 32px 16px; text-align: center; color: var(--sea); background: var(--mist); border-radius: var(--r-s); }
.poll-q { font: 700 22px/1.25 var(--display); color: var(--ink); }
.poll-rule { font-size: 15px; color: var(--sea); }
.ring { position: relative; height: 220px; border-radius: var(--r-m); background: radial-gradient(60% 55% at 50% 50%, #ffffff, #e8f0ef 85%); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring ellipse { fill: none; stroke: #a9bfbc; stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.chip.more { background: var(--ink); color: #fff; }
.ring-note, .step-note { font-size: 14px; color: var(--sea); }
.wallet-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wallet { font: 500 14px/1.4 var(--mono); color: var(--ink-2); }
.status { min-height: 1.4em; font-size: 15px; color: var(--sea); margin: 0; }
.status.ok { color: var(--good); }
.status a { color: var(--violet-ink); font-weight: 600; }
.status.bad { color: var(--bad); }
.verdicts { display: grid; gap: 10px; }
.verdict p, .tally p { overflow-wrap: anywhere; }
.verdict, .tally { border-radius: var(--r-s); padding: 14px 16px; display: grid; gap: 4px; background: var(--mist); border-left: 0; }
.verdict.ok .v-head { color: var(--good); }
.verdict.no .v-head { color: var(--bad); }
.verdict.warn .v-head { color: #8a5a00; }
.v-head { font-weight: 700; font-size: 16px; }
.v-q { font-size: 14px; color: var(--sea); }
.v-m { font-size: 17px; color: var(--ink); }
.v-meta { font: 400 14px/1.4 var(--mono); color: var(--sea); }
.tally { background: var(--ink); color: #e8f0ef; }
.tally .v-q { color: #c9dbd9; }
.tally b { font-family: var(--display); font-size: 20px; margin-right: 8px; color: var(--violet-on-ink); }

/* what it's for */
.uses { padding: 200px var(--inset) 96px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.uses h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; position: sticky; top: 104px; }
.use-list { list-style: none; margin: 0; padding: 0; counter-reset: use; }
.use-list li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 24px; padding: 28px 0; border-top: 1.5px solid var(--ink); }
.use-list li::before { counter-increment: use; content: counter(use); grid-row: span 2; font: 800 40px/1 var(--display); color: var(--violet); }
.use-list h3 { font: 700 24px/1.2 var(--display); margin: 0; }
.use-list p { color: var(--ink-2); max-width: 36em; }

/* how it works */
.how { padding: 96px var(--inset); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; background: var(--mist-2); }
.how h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; margin-bottom: 32px; }
.steps { margin: 0; padding-left: 1.6em; display: grid; gap: 20px; color: var(--ink-2); }
.steps li::marker { font-family: var(--display); font-weight: 800; color: var(--violet); }
.steps b { color: var(--ink); }
.how-figure { margin: 0; }
.how-figure img { width: 100%; height: auto; display: block; border-radius: var(--r-m); box-shadow: var(--shadow); }
.how-figure figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* check band */
.check-band { margin: 96px var(--inset); padding: 48px 56px; border-radius: var(--r-m); background: var(--panel); box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.check-band h2 { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: 12px; }
.check-band p { color: var(--ink-2); max-width: 34em; }

.works .add-chain { margin-left: auto; }
@media (max-width: 700px) { .works .add-chain { margin-left: 0; width: 100%; } }
/* Elysium co-brand */
.cobrand { display: flex; align-items: center; gap: 14px; }
.cobrand-sep { width: 1px; height: 24px; background: var(--line); }
.built-on { display: inline-flex; align-items: center; }
.built-on img { height: 26px; width: auto; display: block; }
.chip-mark { width: 20px; height: 20px; }
.ely-logo img { height: 34px; width: auto; display: block; }
.token-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.token-ely { height: 26px; width: auto; }
@media (max-width: 700px) { .built-on img { height: 20px; } .cobrand { gap: 10px; } .cobrand .brand span { font-size: 18px; } }
@media (max-width: 380px) { .cobrand-sep, .built-on { display: none; } }
/* chain chip */
.chain-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--panel); box-shadow: 0 6px 18px -10px rgb(15 42 46 / .4); font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chain-chip b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.chain-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sea); margin-left: 2px; }
.chain-chip.live .dot { background: #18a06f; box-shadow: 0 0 0 0 rgb(24 160 111 / .5); animation: beat 2s ease-out infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgb(24 160 111 / .45); } 100% { box-shadow: 0 0 0 8px rgb(24 160 111 / 0); } }
.ely-word { font: 800 14px/1 var(--display); letter-spacing: 0.01em; color: var(--ink); }
/* amounts */
.amounts { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.amounts legend { margin-bottom: 8px; }
.amount { position: relative; display: grid; gap: 2px; padding: 14px 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); cursor: pointer; background: var(--mist); }
.amount input { position: absolute; opacity: 0; }
.amount span { font-size: 15px; color: var(--ink-2); }
.amount b { display: block; margin-bottom: 4px; font: 800 24px/1 var(--display); color: var(--ink); }
.amount small { font-size: 13px; color: var(--sea); font-variant-numeric: tabular-nums; }
.amount:has(input:checked) { border-color: var(--violet); background: #f3f0ff; }
.amount:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
/* any amount */
.amount-row { display: flex; align-items: center; background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--r-s); padding-right: 16px; }
.amount-row:focus-within { border-color: var(--violet); }
.amount-row input { border: 0 !important; background: transparent !important; font: 700 28px/1.2 var(--display) !important; padding: 12px 16px !important; font-variant-numeric: tabular-nums; }
.amount-row .unit { font-weight: 600; color: var(--ink-2); }
.quick { display: flex; gap: 8px; flex-wrap: wrap; }
.quick button { min-height: 40px; min-width: 56px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--panel); font: 600 15px/1 var(--body); color: var(--ink); cursor: pointer; }
.quick button:hover { border-color: var(--violet); }
.split-line { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.split-line.bad { color: var(--bad); }
.pieces { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.pieces legend { margin-bottom: 4px; }
.piece { font-variant-numeric: tabular-nums; }
/* pools tab */
.pools-lede { color: var(--ink-2); font-size: 15px; }
.pool-stats { list-style: none; margin: 0; padding: 0; }
.pool-stats li { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.p-amt { font-weight: 700; }
.p-n { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.pool-total { font-size: 14px; color: var(--sea); }
.band-live { margin-top: 12px; font-size: 16px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.band-live b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .chain-chip.live .dot { animation: none; } }

/* limits */
.limits { padding: 96px var(--inset); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; gap: 24px 64px; align-items: start; }
.limits h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; }
.limits-lede { grid-column: 1; color: var(--ink-2); max-width: 26em; }
.limit-list { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.limit-list li { padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.limit-list b { display: block; color: var(--ink); font: 700 19px/1.3 var(--display); margin-bottom: 4px; }
.pane label small { font-weight: 400; color: var(--sea); }

/* works with */
.works { padding: 40px var(--inset); display: flex; align-items: center; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.works-label { font-size: 15px; color: var(--sea); }
.works-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px 40px; flex-wrap: wrap; align-items: center; }
.works-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--ink); }
.works-list img { width: 28px; height: 28px; }
.ely { font: 800 20px/1 var(--display); letter-spacing: 0.01em; }

@media (max-width: 980px) {
  .hero, .checked { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; gap: 40px; }
  .code { position: static; }
  .uses, .how, .limits { grid-template-columns: 1fr; gap: 32px; }
  .limit-list, .limits-lede { grid-column: auto; grid-row: auto; }
  .uses { padding-top: 136px; }
  .uses h2 { position: static; }
  .app { margin-bottom: -64px; }
}
@media (max-width: 700px) {
  .app { padding: 16px; margin-bottom: -48px; }
  .tabs button { font-size: 14px; }
  .ring { height: 200px; }
  .uses { padding: 104px 16px 64px; }
  .use-list li { grid-template-columns: 40px 1fr; }
  .use-list li::before { font-size: 30px; }
  .how { padding: 64px 16px; }
  .limits { padding: 64px 16px; }
  .check-band { margin: 64px 16px; padding: 28px 20px; }
  .works { padding: 32px 16px; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== photo pass (2026-11-30): real photography, calmer buttons ===== */
.btn-ink { background: var(--ink); color: #fff; }
.btn-violet { background: var(--ink); color: #fff; }
.btn-violet:hover { background: #173b40; }
.btn-violet:disabled { background: #b9c9c7; color: var(--ink); }
.btn { border-radius: 10px; letter-spacing: 0.005em; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8f0ef; }
.btn-ghost { background: rgb(255 255 255 / .06); color: #fff; border-color: rgb(255 255 255 / .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgb(255 255 255 / .14); }
.quick button, .tabs, .tabs button { border-radius: 8px; }
.tabs { border-radius: 10px; }
.use-list li::before, .steps li::marker { color: var(--ink); }
.use-list li::before { font-weight: 300; font-size: 44px; }

/* hero: full-bleed photograph */
.hero {
  background:
    linear-gradient(90deg, rgb(8 26 29 / .88) 0%, rgb(8 26 29 / .66) 34%, rgb(8 26 29 / .18) 62%, rgb(8 26 29 / 0) 80%),
    linear-gradient(0deg, rgb(8 26 29 / .55) 0%, rgb(8 26 29 / 0) 30%),
    #0f2a2e url(img/hero.jpg) 70% 50% / cover no-repeat;
  color: #fff; min-height: 760px; padding-top: 136px; padding-bottom: 0;
}
.hero h1 { color: #fff; }
.hero .answer { color: rgb(255 255 255 / .82); }
.hero-ca { color: rgb(255 255 255 / .7); }
.hero-ca code { color: #fff; }
.hero .chain-chip { background: rgb(255 255 255 / .1); color: rgb(255 255 255 / .78); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .chain-chip b, .hero .ely-word { color: #fff; }
.hero .app { margin-top: 24px; margin-bottom: -120px; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .55), 0 2px 8px rgb(0 0 0 / .12); }
.uses { padding-top: 232px; }

/* full-bleed photo band */
.band { margin: 0; height: clamp(280px, 38vw, 560px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; display: block; }

.how-figure img { border-radius: 4px; box-shadow: none; aspect-ratio: 4 / 3; object-fit: cover; }
.how-figure figcaption { font-size: 14px; color: var(--sea); }

/* any amount: card on a photo */
.check-wrap { padding: 160px var(--inset); min-height: 620px; display: flex; align-items: center; background: #0f2a2e url(img/colonnade.jpg) 50% 50% / cover no-repeat; }
.check-wrap .check-band { margin: 0 auto 0 0; max-width: 760px; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .5); }

/* stay private: still life */
.limits-figure { grid-column: 1; margin: 16px 0 0; }
.limits-figure img { width: 100%; height: auto; display: block; border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 1000px) {
  .hero { background:
    linear-gradient(180deg, rgb(8 26 29 / .55) 0%, rgb(8 26 29 / .78) 55%, rgb(8 26 29 / .92) 100%),
    #0f2a2e url(img/hero-1600.jpg) 72% 0 / auto 760px no-repeat; min-height: 0; padding-top: 72px; }
  .hero .app { margin-bottom: -64px; }
  .uses { padding-top: 140px; }
  .limits-figure { grid-column: auto; }
}
@media (max-width: 700px) {
  .hero { padding: 56px 16px 0; background-size: auto 640px, auto 640px; }
  .hero .app { margin-bottom: -48px; }
  .uses { padding-top: 112px; }
  .check-wrap { padding: 72px 16px; }
  .check-wrap .check-band { margin: 0; }
  .band { height: 240px; }
}
.uses { padding-top: 136px; }
.checked { padding-top: 120px; }
.limits-figure { margin-top: 24px; max-width: 460px; }
@media (max-width: 1000px) { .uses { padding-top: 96px; } .checked { padding-top: 80px; } }
@media (max-width: 700px) { .uses { padding-top: 88px; } .checked { padding-top: 64px; } }
.works-list .ely-logo img { width: auto; height: 30px; }
@media (max-width: 1000px) {
  .hero { background:
    linear-gradient(180deg, rgb(8 26 29 / .2) 0%, rgb(8 26 29 / .62) 38%, rgb(8 26 29 / .9) 70%, rgb(8 26 29 / .96) 100%),
    #0f2a2e url(img/hero-1600.jpg) 78% 0 / auto 520px no-repeat; padding-top: 220px; }
}
@media (max-width: 700px) { .hero { padding-top: 200px; } }

/* ===== full section pass (2026-11-30) ===== */
:root { --deep: #0b2226; --hair: rgb(15 42 46 / .14); }
body { background: var(--mist); }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
h2 { letter-spacing: -0.035em; }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sea); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.step-n { font: 500 13px/1 var(--mono); letter-spacing: .06em; color: var(--sea); }

/* header: dark glass across the whole page */
.top { background: rgb(11 34 38 / .82); color: #fff; border-bottom: 1px solid rgb(255 255 255 / .08); }
.top nav a { color: rgb(255 255 255 / .72); }
.top nav a:hover { color: #fff; text-decoration: none; }
.top .brand span { color: #fff; }
.cobrand-sep { background: rgb(255 255 255 / .22); }
.hero { margin-top: -77px; padding-top: 196px; }
@media (max-width: 1000px) { .hero { margin-top: -69px; padding-top: 260px; } }
@media (max-width: 700px) { .hero { padding-top: 240px; } }

/* how it works: three steps */
.steps3 { padding: 176px var(--inset) 128px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 64px; }
.sec-head .eyebrow { grid-column: 1 / -1; margin-bottom: -40px; }
.steps3 h2, .why h2, .limits h2, .checked h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; max-width: 14ch; margin: 0; }
.step-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.step-grid li { padding: 28px 40px 8px 0; display: grid; gap: 14px; align-content: start; }
.step-grid li + li { padding-left: 32px; border-left: 1px solid var(--hair); }
.step-grid h3 { font: 600 23px/1.2 var(--display); letter-spacing: -0.02em; margin: 0; }
.step-grid p { color: var(--ink-2); font-size: 17px; }

/* why: photo left, points right */
.why { padding: 0 var(--inset) 144px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.why-figure { margin: 0; }
.why-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; border-radius: 6px; }
.why-figure figcaption { margin-top: 14px; font-size: 14px; color: var(--sea); }
.why-copy h2 { margin-bottom: 40px; }
.why-list { margin: 0; display: grid; }
.why-list > div { padding: 20px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 170px 1fr; gap: 24px; }
.why-list dt { font: 600 17px/1.4 var(--display); color: var(--ink); }
.why-list dd { margin: 0; color: var(--ink-2); font-size: 17px; }

/* pools: card on the colonnade */
.check-wrap { background: linear-gradient(90deg, rgb(8 26 29 / .35), rgb(8 26 29 / 0) 60%), #0f2a2e url(img/colonnade.jpg) 50% 50% / cover no-repeat; }
.check-wrap .check-band { display: block; padding: 48px; border-radius: 8px; max-width: 640px; }
.check-band h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; margin-bottom: 16px; }
.split-demo { margin: 28px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 500 14px/1 var(--mono); }
.sd-amt { font-weight: 600; color: var(--ink); margin-right: 2px; }
.sd-arrow { color: var(--sea); margin: 0 6px; }
.pc { display: inline-grid; place-items: center; height: 30px; padding: 0 9px; border-radius: 5px; background: var(--mist); color: var(--ink); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pc.p10 { background: var(--ink); color: #fff; border-color: var(--ink); }
.pc.p1 { background: #d3e2df; }
.band-foot { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.band-foot .band-live { margin: 0; }

/* under the hood: specs */
.checked { padding-bottom: 144px; }
.checked h2 { margin-bottom: 32px; }
.specs { margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.specs > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--hair); }
.specs > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--hair); }
.specs dt { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--sea); margin-bottom: 8px; }
.specs dd { margin: 0; font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.code { border-radius: 8px; background: var(--deep); }
.code figcaption, .runlabel, .code .k { color: #9fd6cb; }

/* stay private: side + 2x2 */
.limits { background: var(--mist-2); padding: 128px var(--inset) 144px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto; gap: 80px; }
.limits-side { display: grid; gap: 20px; align-content: start; }
.limits-side h2 { margin-bottom: 4px; }
.limits-side .eyebrow { margin-bottom: 0; }
.limits-figure { margin: 12px 0 0; max-width: none; }
.limit-list { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-self: center; border-top: 1px solid var(--ink); }
.limit-list li { border-top: 0; padding: 28px 28px 32px 0; display: grid; gap: 10px; align-content: start; font-size: 16px; }
.limit-list li:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--hair); }
.limit-list li:nth-child(n+3) { border-top: 1px solid var(--hair); }
.limit-list b { font-size: 20px; margin: 0; }

/* built on */
.works { background: var(--mist); border-top: 0; padding-top: 56px; padding-bottom: 56px; }
.works-label.eyebrow { margin: 0; }

/* token: dark, with the sea from the hero */
.token { background: linear-gradient(90deg, rgb(11 34 38 / .96) 30%, rgb(11 34 38 / .7)), var(--deep) url(img/hero-1600.jpg) 70% 60% / cover no-repeat; padding-top: 112px; padding-bottom: 112px; }
.token .eyebrow { color: rgb(255 255 255 / .6); margin-bottom: 4px; }
footer { background: var(--deep); color: rgb(255 255 255 / .55); border-top: 1px solid rgb(255 255 255 / .08); }
footer .brand span { color: rgb(255 255 255 / .85); }

@media (max-width: 1000px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .sec-head .eyebrow { margin-bottom: 0; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid li, .step-grid li + li { padding: 24px 0; border-left: 0; }
  .step-grid li + li { border-top: 1px solid var(--hair); }
  .why { grid-template-columns: 1fr; gap: 40px; padding-bottom: 96px; }
  .limits { grid-template-columns: 1fr; gap: 48px; padding: 96px var(--inset); }
  .limit-list { grid-column: auto; grid-row: auto; }
  .steps3 { padding-top: 120px; padding-bottom: 96px; }
}
@media (max-width: 700px) {
  .steps3 { padding: 104px 16px 72px; }
  .why { padding: 0 16px 80px; }
  .why-list > div { grid-template-columns: 1fr; gap: 6px; }
  .check-wrap .check-band { padding: 28px 20px; }
  .limits { padding: 72px 16px; }
  .limit-list { grid-template-columns: 1fr; }
  .limit-list li, .limit-list li:nth-child(even) { padding: 22px 0; border-left: 0; }
  .limit-list li + li { border-top: 1px solid var(--hair); }
  .specs dd { font-size: 18px; }
  .token { padding-top: 72px; padding-bottom: 72px; }
}
.why-figure img, .limits-figure img { height: auto; }
