/* ═══ TOKENS ═══
   Measured from denar.markets' compiled css: cream page, card ivory, royal green,
   gold eyebrows, navy dark surfaces. Instrument Serif / Inter / IBM Plex Mono. */
:root {
  --page: #f2eee0;
  --page-deep: #ebe6d3;
  --card: #fbf9f0;
  --card-raised: #fffdf7;
  --text: #1c2b21;
  --ink-2: #47543f;
  --muted: #6d7466;
  --faint: #9ba191;
  --border: #e2dcc6;
  --line-strong: #d0c8ac;
  --line-faint: #ece7d6;
  --royal: #1d5b3a;
  --royal-soft: #dfe9d6;
  --royal-tint: #eef4e8;
  --navy: #17382a;
  --engr: #2e5d45;
  --gold: #a8791f;
  --gold-soft: #f2e6c6;
  --good: #2e7d4f;
  --bad: #b0452c;
  --wash-a: #cadfc0;
  --d-ink: #f4f1e4;
  --d-ink-2: #c3d2c0;
  --d-muted: #93a793;
  --d-faint: #6c8271;
  --d-line: #2b5340;
  --d-surf-2: #1e4633;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-pill: 0 1px 2px #17382a0d, 0 10px 26px -14px #17382a38;
  --shadow-card: 0 1px 2px #17382a0a, 0 14px 34px -22px #17382a42;
  --shadow-lift: 0 2px 5px #17382a0f, 0 26px 50px -26px #17382a52;
  --r-panel: 20px;
  --r-frame: 28px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 24px }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden }
::selection { background: var(--royal); color: var(--card) }
a { color: inherit }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums }
.faint { color: var(--faint) }
.good { color: var(--good) } .bad { color: var(--bad) }
button { font: inherit; color: inherit }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 6px }

/* ═══ ANNOUNCEMENT ═══ */
.bar { position: relative; background: var(--navy); color: var(--d-ink); font-size: 13px; line-height: 19.5px; padding: 8px 48px; text-align: center }
.bar p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.bar b { font-weight: 500 }
.bar a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 241, 228, .45) }
.bar__seal { color: #d9bd76; margin-right: 8px }
.bar__x { position: absolute; right: 16px; top: 50%; translate: 0 -50%; background: none; border: 0; color: var(--d-ink-2); font-size: 20px; line-height: 1; cursor: pointer; padding: 4px }
.bar.is-gone { display: none }

/* ═══ HEADER ═══ */
.top { position: relative; max-width: var(--max); height: 64px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--royal) }
.logo__mark { width: 32px; height: 32px }
.logo__word { font-family: var(--serif); font-size: 27px; line-height: 1; color: var(--royal); letter-spacing: -.01em; translate: 0 -2px }
.pillnav { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; gap: 2px; padding: 6px; border: 1px solid var(--border); border-radius: 999px; background: rgba(251, 249, 240, .9); box-shadow: var(--shadow-pill); backdrop-filter: blur(4px) }
.pillnav a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; border-radius: 999px; font-size: 14px; color: var(--ink-2); text-decoration: none; transition: background .16s, color .16s }
.pillnav a:hover { background: var(--card-hover, #f6f2e3); color: var(--text) }
.pillnav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .75 }
.btn-soft { font-size: 13.5px; font-weight: 500; color: var(--royal); background: var(--royal-soft); border: 1px solid rgba(29, 91, 58, .25); border-radius: 999px; padding: 8px 16px; text-decoration: none; transition: background .16s }
.btn-soft:hover { background: #d3e2c8 }

/* ═══ BUTTONS ═══ */
.btn-ink, .btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 21px; border-radius: 999px; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .16s, box-shadow .3s }
.btn-ink { color: var(--card); background: var(--navy); border: 0; padding: 13px 24px }
.btn-ink:hover { background: #10291e; transform: translateY(-1px); box-shadow: var(--shadow-lift) }
.btn-ghost { color: var(--royal); background: var(--card-raised); border: 1px solid rgba(29, 91, 58, .35); padding: 12px 24px }
.btn-ghost:hover { background: var(--royal-tint) }
.btn-ink span, .btn-ghost span { transition: transform .3s var(--ease) }
.btn-ink:hover span, .btn-ghost:hover span { transform: translateX(3px) }
.btn-ink--sm { padding: 10px 16px; font-size: 14px }
.btn-ink--full { width: 100%; justify-content: center }
.btn-ink:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none }

/* ═══ HERO ═══
   The frame is a card; the engraving video sits at its foot and multiplies onto the ivory,
   so the viaduct reads as printed on the card. Text rides the empty sky above the deck. */
.hero-wrap { padding: 16px 24px 0 }
.hero { position: relative; max-width: var(--max); margin: 0 auto; height: clamp(660px, calc(100svh - 132px), 820px); border: 1px solid var(--border); border-radius: var(--r-frame); background: var(--card); box-shadow: var(--shadow-card); overflow: hidden; isolation: isolate }
.hero__lines { position: absolute; inset: 0 0 auto; height: 200px; background: repeating-linear-gradient(180deg, rgba(46, 93, 69, .22) 0 .5px, transparent .5px 4px); -webkit-mask: linear-gradient(180deg, #000 10%, transparent); mask: linear-gradient(180deg, #000 10%, transparent); pointer-events: none }
.hero__lines::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: rgba(46, 93, 69, .45) }
.hero__diamond { position: absolute; left: 50%; width: 9px; height: 9px; border: 1px solid rgba(46, 93, 69, .6); background: var(--card); rotate: 45deg; translate: -50% 0 }
.hero__diamond--t { top: 12px }
.hero__rose { position: absolute; left: 50%; top: 58px; translate: -50% 0; width: 300px; height: 300px; opacity: .45; pointer-events: none; color: var(--engr) }
.hero__coin { position: absolute; color: var(--engr); opacity: .8; animation: bob 7s ease-in-out infinite }
.hero__coin--a { left: 21%; top: 150px; width: 62px; height: 62px }
.hero__coin--b { right: 19%; top: 118px; width: 44px; height: 44px; animation-delay: -3s }
@keyframes bob { 50% { transform: translateY(-8px) } }
.hero__video { position: absolute; left: 0; bottom: -64px; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: 50% 100%; mix-blend-mode: multiply; pointer-events: none; user-select: none; z-index: 0 }
.hero__content { position: relative; z-index: 1; max-width: 768px; margin: 0 auto; padding: 72px 24px 0; text-align: center }
.live { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 14px; font-size: 14px; color: var(--text); background: var(--card-raised); border: 1px solid var(--border); border-radius: 999px }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #7fb48d; box-shadow: 0 0 0 0 rgba(127, 180, 141, .6); animation: ping 2.4s infinite }
.live b { font-weight: 500; color: var(--royal) }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(127, 180, 141, 0) } 100% { box-shadow: 0 0 0 0 rgba(127, 180, 141, 0) } }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.012em; margin: 22px 0 0; text-wrap: balance }
h1 em, .h2 em, .h3x em, .band__h em { font-style: italic; color: var(--royal) }
.hero__lede { margin: 20px auto 0; max-width: 500px; font-size: 18px; line-height: 28px; color: var(--ink-2); text-wrap: balance }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px }

/* ═══ TICKER ═══ */
.ticker { margin-top: 40px; border-block: 1px solid var(--border); background: var(--card-raised); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent) }
.ticker__track { display: flex; width: max-content; animation: tick 70s linear infinite; padding: 12px 0 }
.ticker:hover .ticker__track { animation-play-state: paused }
.tk-i { display: flex; align-items: center; gap: 10px; padding: 0 20px; white-space: nowrap }
.tk-i b { font: 600 13px var(--mono); color: var(--text) }
.tk-i span { font: 13px var(--mono); color: var(--ink-2) }
.tk-i small { font: 11px var(--mono); color: var(--faint) }
.tk-sep { width: 8px; height: 8px; border: 1px solid var(--line-strong); rotate: 45deg; flex: none; align-self: center }
@keyframes tick { to { transform: translateX(-50%) } }

/* engraved coin */
.coin { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--engr); font: 600 10px var(--serif); font-style: italic; letter-spacing: 0; background: radial-gradient(circle, var(--card) 52%, transparent 53%), repeating-radial-gradient(circle, rgba(46, 93, 69, .5) 0 .6px, transparent .6px 2px), var(--royal-tint); border: 1px solid rgba(46, 93, 69, .55); box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 2.6px rgba(46, 93, 69, .35) }
.coin--lg { width: 36px; height: 36px; font: 600 9px var(--mono); font-style: normal; letter-spacing: -.02em }
.coin--ix { color: var(--card); background: var(--royal); border-color: var(--royal); box-shadow: inset 0 0 0 2px var(--royal), inset 0 0 0 2.8px rgba(251, 249, 240, .5) }

/* ═══ SECTIONS ═══ */
.sec { max-width: var(--max); margin: 0 auto; padding: 96px 24px 0 }
.sec--tight { padding-top: 16px }
.sec--flush { padding-top: 16px }
.sec--mid { padding-top: 80px }
.eyebrow { margin: 0; font: 11px/16.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold) }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.012em; margin: 12px 0 0; max-width: 21em; text-wrap: balance }
.lede { margin: 18px 0 0; max-width: 680px; font-size: 16px; line-height: 26px; color: var(--muted); text-wrap: pretty }

/* why cards */
.why { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.why__c h3 { margin: 22px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.025em }
.why__c p { margin: 8px 0 0; font-size: 15px; line-height: 23px; color: var(--muted) }
.vis { position: relative; height: 208px; border: 1px solid var(--border); border-radius: var(--r-panel); background: var(--card); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease) }
.why__c:hover .vis { box-shadow: var(--shadow-lift); transform: translateY(-2px) }
.chip-s { position: absolute; left: 20px; top: 22px; display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; font: 11px var(--mono); color: var(--muted); background: var(--card-raised) }
.chip-s i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint) }
.bars { position: absolute; inset: auto 20px 20px; height: 112px; display: flex; align-items: flex-end; gap: 10px }
.bars span { position: relative; flex: 1; height: var(--h); background: var(--page-deep); border-radius: 3px; display: flex; justify-content: center }
.bars em { position: absolute; bottom: calc(100% + 4px); font: normal 9.5px var(--mono); color: var(--faint) }
.bars .is-ix { background: var(--royal) }
.bars b { position: absolute; bottom: calc(100% + 6px); padding: 2px 8px; border-radius: 999px; background: var(--royal); color: var(--card); font-size: 11px; font-weight: 500 }
.vis--drift { padding: 22px 20px }
.drow + .drow { margin-top: 18px }
.drow__l { display: block; font: 11px var(--mono); color: var(--muted); margin-bottom: 8px }
.dstack { display: flex; height: 30px; border-radius: 7px; overflow: hidden; gap: 2px }
.dstack span { transition: flex-grow .6s var(--ease); background: var(--page-deep) }
.dstack span:first-child { background: var(--royal) }
.dstack span:nth-child(2) { background: #c9d9bf } .dstack span:nth-child(3) { background: #dfe6d2 } .dstack span:nth-child(4) { background: #e9e4cf }
.drow__k { display: flex; justify-content: space-between; margin-top: 18px; font: 11px var(--mono); color: var(--faint) }
.drow__k b { font-weight: 500 }
.vis--ring { display: grid; place-items: center }
.ring { position: relative; width: 184px; height: 184px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(46, 93, 69, .1) 0 .7px, transparent .7px 7px); border: 1px solid rgba(46, 93, 69, .2); animation: spin 80s linear infinite }
.ring__c { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--card-raised); border: 1px solid var(--border); font-size: 11px; font-weight: 500; animation: spin 80s linear infinite reverse }
.ring .coin { position: absolute; left: 50%; top: 50%; margin: -15px 0 0 -15px; width: 30px; height: 30px; font-size: 13px; transform: rotate(var(--a)) translateY(-78px) rotate(calc(-1 * var(--a))) }
.ring .coin > b { animation: spin 80s linear infinite reverse; font-weight: 600 }
@keyframes spin { to { rotate: 360deg } }

/* stats */
.stats { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.stat { border: 1px solid var(--border); border-radius: var(--r-panel); background: var(--card); padding: 20px }
.stat__k { margin: 0; font: 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted) }
.stat__v { margin: 6px 0 0; font-size: 30px; line-height: 37.5px; letter-spacing: -.025em; font-variant-numeric: tabular-nums }
.stat__v small { font-size: 15px; color: var(--muted); letter-spacing: 0; margin-left: 2px }
.stat__s { margin: 4px 0 0; font: 11px/1.6 var(--mono); color: var(--faint) }

/* panel (table / create) */
.panel { border: 1px solid var(--border); border-radius: var(--r-frame); background: var(--card); box-shadow: var(--shadow-card); overflow: hidden }
.panel__h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px }
.panel__t { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap }
.panel__t h2 { margin: 0; font: 400 26px/1 var(--serif); letter-spacing: -.012em }
.dot-note { display: inline-flex; align-items: center; gap: 6px; font: 11px var(--mono); color: var(--muted) }
.dot-note i { width: 6px; height: 6px; border-radius: 50%; background: #8fbf9c }
.dot-note--gold i { background: var(--gold) }
.tabs { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--page-deep) }
.tabs button { border: 0; background: none; border-radius: 999px; padding: 5px 13px; font-size: 13px; color: var(--muted); cursor: pointer }
.tabs button.is-on { background: var(--card-raised); color: var(--text); box-shadow: var(--shadow-pill) }

.tbl__head, .row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.6fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr) 24px; align-items: center; gap: 16px; padding: 0 24px }
.tbl__head { height: 36px; background: var(--page); border-block: 1px solid var(--border); font: 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted) }
.r { text-align: right }
.row { min-height: 70px; border-bottom: 1px solid var(--line-faint); cursor: pointer; transition: background .16s; width: 100%; border-left: 0; border-right: 0; border-top: 0; background: none; text-align: left }
.row:hover, .row.is-open { background: #f6f2e3 }
.row__ix { display: flex; align-items: center; gap: 12px; min-width: 0 }
.row__nm { display: block; font-weight: 500; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.row__sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted) }
.tag { font: 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px }
.tag--gold { color: var(--gold); border-color: #e6d6a9; background: var(--gold-soft) }
.comp { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.comp__bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px }
.comp__bar i { background: var(--royal) }
.comp__bar i:nth-child(2) { background: #6f9a7c } .comp__bar i:nth-child(3) { background: #a9c3a4 } .comp__bar i:nth-child(4) { background: #cbd8bd } .comp__bar i:nth-child(5) { background: #e0e4cf }
.comp__t { font: 11px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.cell { font: 13px var(--mono); font-variant-numeric: tabular-nums; color: var(--text) }
.cell--m { color: var(--muted) }
.row__chev { color: var(--faint); transition: rotate .3s var(--ease); text-align: right }
.row.is-open .row__chev { rotate: 90deg }
.det { display: none; padding: 18px 24px 22px; border-bottom: 1px solid var(--line-faint); background: #f8f5ea }
.det.is-open { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; align-items: center }
.leg { display: grid; grid-template-columns: 26px 54px 40px minmax(0, 1fr) 62px; gap: 12px; align-items: center; padding: 6px 0 }
.leg__t { font: 500 12.5px var(--mono) }
.leg__w { font: 12px var(--mono); color: var(--faint) }
.leg__r { font: 12.5px var(--mono); text-align: right }
.det__lv { text-align: right; border-left: 1px solid var(--border); padding-left: 28px }
.det__lv p { margin: 0 }
.det__num { font: 400 58px/1 var(--serif); letter-spacing: -.01em; margin-top: 8px !important }
.det__chg { font: 13px var(--mono); margin-top: 6px !important }
.det__f { font: 11px/1.5 var(--mono); color: var(--faint); margin-top: 12px !important }
.panel__f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; background: var(--page) }
.panel__f p { margin: 0; font: 11px var(--mono); color: var(--muted) }

/* range */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; margin: 0; cursor: pointer }
.range::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: var(--border) }
.range::-moz-range-track { height: 2px; background: var(--border) }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--card-raised); border: 1.5px solid var(--royal); margin-top: -6px; box-shadow: var(--shadow-pill) }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--card-raised); border: 1.5px solid var(--royal) }
.range--dark::-webkit-slider-runnable-track { background: var(--d-line) }
.range--dark::-moz-range-track { background: var(--d-line) }
.range--dark::-webkit-slider-thumb { background: var(--d-ink); border-color: var(--d-ink) }
.range--dark::-moz-range-thumb { background: var(--d-ink); border-color: var(--d-ink) }

/* steps */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.step { position: relative; height: 100%; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-panel); background: var(--card); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease) }
.step:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px) }
.step__rose { position: absolute; right: -14px; top: -14px; width: 96px; height: 96px; color: var(--engr); opacity: .35 }
.step__n { font: 11px var(--mono); letter-spacing: .2em; color: var(--gold) }
.step h3 { margin: 12px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.025em }
.step p { margin: 8px 0 0; font-size: 15px; line-height: 24px; color: var(--muted) }

/* create */
.create .panel__h { border-bottom: 1px solid var(--border) }
.create__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) }
.create__in { padding: 24px }
.create__out { padding: 28px; background: var(--page); border-left: 1px solid var(--border) }
.fld { display: block }
.fld__l { display: block; margin: 0 0 8px; font-size: 13px; color: var(--ink-2) }
.create__in > .fld__l { margin-top: 22px }
.fld__box { display: flex; border: 1px solid var(--border); border-radius: 12px; background: var(--card-raised); padding: 0 14px }
.fld__box input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; font: 15px var(--sans); color: var(--text); outline: none }
.pick { display: flex; flex-wrap: wrap; gap: 7px }
.pk { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); background: var(--card-raised); border-radius: 999px; padding: 4px 11px 4px 4px; font: 500 12px var(--mono); cursor: pointer; transition: border-color .16s, background .16s }
.pk .coin { width: 20px; height: 20px; font-size: 10px }
.pk:hover { border-color: var(--line-strong) }
.pk.is-on { background: var(--royal-soft); border-color: rgba(29, 91, 58, .4); color: var(--royal) }
.pk:disabled { opacity: .4; cursor: not-allowed }
.wts { margin-top: 18px; border-top: 1px solid var(--border) }
.wrow { display: grid; grid-template-columns: 28px 54px minmax(0, 1fr) 84px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-faint) }
.wrow .wbar { height: 6px; border-radius: 3px; background: var(--page-deep); overflow: hidden }
.wrow .wbar i { display: block; height: 100%; background: var(--royal); transition: width .3s var(--ease) }
.wbox { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: var(--card-raised); padding: 0 10px }
.wbox input { width: 100%; border: 0; background: none; padding: 7px 0; font: 500 13px var(--mono); color: var(--text); outline: none }
.wbox em { font: normal 12px var(--mono); color: var(--faint) }
.wsum { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--ink-2) }
.wsum b { color: var(--good); font-weight: 500 }
.wsum b.is-bad { color: var(--bad) }
.ulink { margin-left: auto; border: 0; background: none; padding: 0; font-size: 13px; color: var(--royal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.prev__n { margin: 10px 0 0; font: 400 40px/1.05 var(--serif); letter-spacing: -.012em; overflow-wrap: anywhere }
.prev__c { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.6 }
.prev__stack { display: flex; height: 10px; gap: 2px; border-radius: 5px; overflow: hidden; margin-top: 18px }
.prev__stack i { background: var(--royal); transition: flex-grow .4s var(--ease) }
.prev__stack i:nth-child(2) { background: #6f9a7c } .prev__stack i:nth-child(3) { background: #a9c3a4 } .prev__stack i:nth-child(4) { background: #cbd8bd } .prev__stack i:nth-child(5) { background: #dcd6bd }
.prev__lv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 22px }
.prev__lv div { border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 14px }
.prev__lv b { display: block; margin-top: 6px; font: 400 34px/1 var(--serif) }
.prev__lv b.sm { font: 500 14px/34px var(--mono) }
.prev__note { margin: 12px 0 0; font: 11px/1.6 var(--mono); color: var(--faint) }

/* duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.duo__c { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-frame); padding: 40px; min-height: 320px; transition: box-shadow .3s var(--ease) }
.duo__c:hover { box-shadow: var(--shadow-lift) }
.duo__c--wash { background: radial-gradient(120% 90% at 0% 0%, #dde9d4 0%, #eef0e2 45%, var(--page) 100%) }
.duo__c--dots { background: radial-gradient(circle, rgba(46, 93, 69, .14) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--card) }
.duo__rose { position: absolute; right: -60px; bottom: -110px; width: 300px; height: 300px; color: var(--engr); opacity: .3 }
.duo__in { position: relative; max-width: 400px }
.duo__c h3 { margin: 12px 0 0; font: 400 32px/1 var(--serif); letter-spacing: -.012em }
.duo__c p:not(.eyebrow) { margin: 14px 0 0; font-size: 15.5px; line-height: 24.5px; color: var(--ink-2) }
.duo__c .btn-ink, .duo__c .btn-ghost { margin-top: 28px }
.duo__c .btn-ink { padding: 10px 20px }
.duo__c .btn-ghost { padding: 9px 20px }

/* dark band */
.band { position: relative; overflow: hidden; border-radius: var(--r-frame); background: var(--navy); color: var(--d-ink); padding: 44px 40px 36px }
.band__seal { position: absolute; right: -40px; top: 60px; width: 230px; height: 230px; color: #5e8a6f; opacity: .35 }
.eyebrow--dark { color: #c9a457 }
.eyebrow--dim { color: var(--d-muted) }
.band__h { position: relative; margin: 12px 0 0; font: 400 clamp(32px, 3.4vw, 40px)/1.1 var(--serif); letter-spacing: -.012em }
.band__h em { color: var(--d-ink) }
.band__p { position: relative; margin: 14px 0 0; max-width: 600px; font-size: 15px; line-height: 23.5px; color: var(--d-ink-2) }
.tk { position: relative; margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding-top: 28px; border-top: 1px solid var(--d-line) }
.tk__ctl { display: grid; gap: 16px; align-content: start }
.seg { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--d-line); border-radius: 999px; background: rgba(0, 0, 0, .12) }
.seg button { flex: 1; border: 0; border-radius: 999px; background: none; padding: 7px 10px; font-size: 13px; color: var(--d-ink-2); cursor: pointer; white-space: nowrap; transition: background .16s, color .16s }
.seg button.is-on { background: var(--d-ink); color: var(--navy) }
.seg--side button[data-side="1"].is-on { background: #9fd0ae; color: #0e2419 }
.seg--side button[data-side="-1"].is-on { background: #e6a792; color: #3a130a }
.dfld { display: grid; gap: 6px }
.dfld > span { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--d-muted) }
.dfld b { font-weight: 500; color: var(--d-ink); font-size: 13px }
.dfld input[type="number"] { width: 82px; border: 1px solid var(--d-line); border-radius: 8px; background: rgba(0, 0, 0, .15); color: var(--d-ink); font: 500 13px var(--mono); padding: 5px 8px; text-align: right; outline: none }
.tk__out { border-left: 1px solid var(--d-line); padding-left: 40px }
.tk__big { margin: 6px 0 0; font: 400 clamp(54px, 6vw, 76px)/.95 var(--serif); letter-spacing: -.012em; font-variant-numeric: tabular-nums }
.tk__big.is-down { color: #e6a792 }
.tk__unit { margin: 8px 0 0; font-size: 12px; color: var(--d-muted) }
.tk__dl { margin: 22px 0 0; font-size: 12px }
.tk__dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--d-line) }
.tk__dl dt { color: var(--d-faint) }
.tk__dl dd { margin: 0; color: var(--d-ink-2) }
.band__fine { position: relative; margin: 26px 0 0; font-size: 11px; color: var(--d-faint) }

/* guardrails */
.guard { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-frame); background: var(--card); padding: 54px 48px 48px }
.guard__frieze, .foot__frieze { position: absolute; left: 0; right: 0; top: 0; height: 22px; opacity: .5; background:
  radial-gradient(ellipse 9px 5px at 9px 11px, transparent 3.6px, rgba(46, 93, 69, .35) 4px, transparent 4.6px) 0 0 / 18px 22px,
  linear-gradient(rgba(46, 93, 69, .25), rgba(46, 93, 69, .25)) 0 4px / 100% 1px no-repeat,
  linear-gradient(rgba(46, 93, 69, .25), rgba(46, 93, 69, .25)) 0 18px / 100% 1px no-repeat }
.checks { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px }
.checks li { display: flex; gap: 14px }
.checks i { flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; font: normal 11px var(--sans); color: var(--royal); background: var(--royal-tint); border: 1px solid #cfe0c6 }
.checks h3 { margin: 0; font-size: 15.5px; font-weight: 500 }
.checks p { margin: 4px 0 0; font-size: 14px; line-height: 22px; color: var(--muted) }

/* clock */
.clock { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: center; border: 1px solid var(--border); border-radius: var(--r-frame); background: var(--page-deep); padding: 56px 40px }
.h3x { margin: 12px 0 0; font: 400 clamp(30px, 3vw, 36px)/1.1 var(--serif); letter-spacing: -.012em }
.clock__txt p:not(.eyebrow) { margin: 18px 0 0; max-width: 580px; font-size: 15px; line-height: 24px; color: var(--muted) }
.clock__vis { text-align: center }
.dial { width: 160px; height: 160px; color: var(--engr) }
.dial__cap { margin: 14px 0 0; font-size: 11px; letter-spacing: .2em; color: var(--faint) }
.pill-mono { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--card-raised); font: 11px var(--mono); color: var(--ink-2) }
.pill-mono i { width: 6px; height: 6px; border-radius: 50%; background: #8fbf9c }

/* closer */
.nots { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.nots p { margin: 0; padding: 22px 20px; min-height: 120px; display: flex; align-items: flex-end; border: 1px solid var(--border); border-radius: var(--r-panel); background: var(--card); font: 400 24px/1.12 var(--serif); letter-spacing: -.01em }
.arrowchain { margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font: 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2) }
.arrowchain i { font-style: normal; color: var(--gold) }

/* footer */
.foot { position: relative; margin-top: 96px; overflow: hidden; background: var(--navy); color: var(--d-ink) }
.foot__frieze { filter: invert(1) hue-rotate(180deg); opacity: .25 }
.foot__rose { position: absolute; right: -80px; top: 10px; width: 300px; height: 300px; color: #5e8a6f; opacity: .3 }
.foot__in { position: relative; max-width: var(--max); margin: 0 auto; padding: 78px 24px 56px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px }
.logo--dark, .logo--dark .logo__word { color: var(--d-ink) }
.foot__brand p { margin: 20px 0 0; max-width: 320px; font-size: 14.5px; line-height: 23px; color: var(--d-ink-2) }
.foot__col { display: grid; gap: 12px; align-content: start; font-size: 14.5px }
.foot__col p { margin: 8px 0 8px; font: 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--d-faint) }
.foot__col a, .foot__col span { color: var(--d-ink-2); text-decoration: none }
.foot__col a:hover { color: var(--d-ink) }
.foot__col sup { font-size: 9px; color: var(--d-faint) }
.foot__base { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 24px 36px }
.foot__base::before { content: ""; display: block; height: 1px; background: var(--d-line); margin-bottom: 26px }
.foot__base p { margin: 0; max-width: 820px; font: 11.5px/1.6 var(--mono); color: var(--d-faint) }
.foot__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; font: 11.5px var(--mono); color: var(--d-faint) }
.foot__row i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6f9a7c; margin-right: 8px; vertical-align: 1px }

/* toast */
.toast { position: fixed; left: 16px; bottom: 16px; z-index: 50; width: 248px; padding: 20px 16px 16px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #1e4633, #17382a); color: var(--d-ink); box-shadow: 0 24px 50px -20px rgba(14, 36, 25, .6); opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .5s var(--ease), translate .5s var(--ease) }
.toast.is-in { opacity: 1; translate: 0 0; pointer-events: auto }
.toast__rose { position: absolute; left: -30px; top: -30px; width: 120px; height: 120px; color: #6f9a7c; opacity: .45 }
.toast__seal { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .2); color: #d9bd76; font-size: 15px; border: 1px solid var(--d-line) }
.toast p { position: relative; margin: 46px 0 0; font-size: 13px; line-height: 18px; color: var(--d-ink-2) }
.toast p b { display: block; color: var(--d-ink); font-weight: 500; margin-bottom: 2px }
.toast__x { position: absolute; right: 10px; top: 8px; border: 0; background: none; color: var(--d-muted); font-size: 18px; cursor: pointer; padding: 4px }

/* rosette svg */
.rose { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor }

/* ═══ REVEAL ═══ */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms) }
.rv.in { opacity: 1; transform: none }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .pillnav a { padding: 6px 10px }
  .pillnav svg { display: none }
}
@media (max-width: 960px) {
  .pillnav { display: none }
  .why, .steps { grid-template-columns: minmax(0, 1fr) }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .tbl__head { display: none }
  .row { grid-template-columns: minmax(0, 1fr) auto 18px; padding: 14px 20px; gap: 12px }
  .row .comp, .row .c-legs, .row .c-top, .row .c-lev { display: none }
  .det.is-open { grid-template-columns: minmax(0, 1fr); gap: 18px }
  .det__lv { border-left: 0; padding-left: 0; text-align: left; border-top: 1px solid var(--border); padding-top: 16px }
  .create__grid, .duo, .tk { grid-template-columns: minmax(0, 1fr) }
  .create__out { border-left: 0; border-top: 1px solid var(--border) }
  .tk__out { border-left: 0; padding-left: 0; border-top: 1px solid var(--d-line); padding-top: 24px }
  .checks { grid-template-columns: 1fr 1fr }
  .clock { grid-template-columns: minmax(0, 1fr) }
  .nots { grid-template-columns: 1fr 1fr }
  .foot__in { grid-template-columns: 1fr 1fr }
  .foot__brand { grid-column: 1 / -1 }
}
@media (max-width: 640px) {
  .bar { padding: 8px 40px 8px 16px; text-align: left; font-size: 12px }
  .top { padding: 0 16px }
  .hero-wrap { padding: 12px 12px 0 }
  .hero { height: auto; min-height: 640px; border-radius: 22px }
  .hero__content { padding: 48px 18px 290px }
  .hero__lede { font-size: 16px; line-height: 25px }
  .hero__video { bottom: 0; height: 300px; aspect-ratio: auto; object-position: 50% 100% }
  .hero__coin--a { left: 6%; top: 112px; width: 44px; height: 44px }
  .hero__coin--b { right: 6%; top: 70px; width: 34px; height: 34px }
  .hero__rose { width: 240px; height: 240px }
  .sec { padding: 72px 16px 0 }
  .sec--tight, .sec--flush { padding-top: 12px }
  .sec--mid { padding-top: 56px }
  .stats { grid-template-columns: minmax(0, 1fr) }
  .panel__h { padding: 14px 18px }
  .det { padding: 16px 18px }
  .leg { grid-template-columns: 22px 46px 32px minmax(0, 1fr) 54px; gap: 8px }
  .create__in, .create__out { padding: 18px }
  .duo__c, .band, .guard { padding: 30px 22px }
  .seg button { font-size: 11.5px; padding: 7px 4px }
  .checks, .nots { grid-template-columns: minmax(0, 1fr) }
  .clock { padding: 36px 22px }
  .foot__in { grid-template-columns: 1fr }
  .panel__f { padding: 14px 18px }
  .toast { display: none }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .rv { opacity: 1; transform: none; transition: none }
  .ticker__track, .ring, .ring__c, .ring .coin > b, .hero__coin, .live i { animation: none }
}

/* ═══ APP ═══ (app.html + wallet picker; same tokens as the landing) */
.is-app .top { position: sticky; top: 0; z-index: 30; background: rgba(242, 238, 224, .86); backdrop-filter: blur(10px); max-width: none; padding: 0 max(24px, calc((100vw - var(--max)) / 2 + 24px)) }
.pillnav a.is-on { background: var(--card-raised); color: var(--text); box-shadow: var(--shadow-pill) }
.btn-soft { cursor: pointer; font-family: var(--sans) }
.btn-soft.is-conn { font-family: var(--mono); font-size: 12.5px }
.app { max-width: var(--max); margin: 0 auto; padding: 16px 24px 0 }
.notice { margin-bottom: 16px; border: 1px solid #e6d6a9; background: var(--gold-soft); border-radius: 16px; padding: 14px 20px; font-size: 14px; color: #6b4f14 }
.notice p { margin: 0 } .notice a { color: var(--royal); font-weight: 500 }
.prices { border: 1px solid var(--border); border-radius: var(--r-panel); background: var(--card-raised); padding: 14px 20px }
.prices__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap }
.prices__grid { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 8px 18px }
.px { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0 }
.px b { font: 600 12.5px var(--mono) } .px .mono { margin-left: auto; color: var(--ink-2); font-size: 12.5px }
.bad-dot { background: var(--bad) !important }
.tab { margin-top: 16px }
.split2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 16px; align-items: start }
.tbl__head--app, .row--app { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.9fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, .9fr) }
.empty { margin: 0; padding: 28px 24px; color: var(--muted); font-size: 14px }
.empty a { color: var(--royal) }
.ticket2 { position: sticky; top: 80px }
.ticket2 .panel__h { border-bottom: 1px solid var(--border) }
.ticket2__in { padding: 18px 22px 22px; display: grid; gap: 14px }
.tk2__lv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.tk2__lv div { border: 1px solid var(--border); border-radius: 14px; background: var(--card-raised); padding: 12px 14px }
.tk2__lv b { display: block; margin-top: 4px; font: 400 34px/1 var(--serif) }
.tl { display: grid; grid-template-columns: 24px 54px 40px 1fr 64px; gap: 8px; align-items: center; font-size: 12.5px; padding: 4px 0; border-bottom: 1px dashed var(--line-faint) }
.tl b { font: 500 12.5px var(--mono) } .tl .mono { text-align: right; font-size: 12px }
.seg--light { border-color: var(--border); background: var(--page-deep) }
.seg--light button { color: var(--muted) }
.seg--light button.is-on[data-side="1"] { background: var(--royal); color: var(--card) }
.seg--light button.is-on[data-side="0"] { background: var(--bad); color: var(--card) }
.ticket2 .fld__l { display: flex; justify-content: space-between }
.ticket2 .fld__l b { font-weight: 500; color: var(--text) }
.unit { font: normal 12px var(--mono); color: var(--faint); align-self: center }
.fld__box input[type="number"] { font-family: var(--mono) }
.kv { margin: 0; border-top: 1px solid var(--border) }
.kv div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line-faint); font-size: 13px }
.kv dt { color: var(--muted) } .kv dd { margin: 0; text-align: right; font-size: 12.5px }
.txline { margin: 0; min-height: 1.2em; font: 12px/1.5 var(--mono); color: var(--ink-2) }
.txline a, .fine a { color: var(--royal) }
.fine { margin: 0; font-size: 12px; line-height: 1.5; color: var(--faint) }
.fine .ulink { font-size: 12px }
.stats--app { margin-top: 0 }
.stat__v small { font-size: 13px }
.duo--app { margin-top: 16px }
.duo--app .fld { margin-top: 20px }
.duo--app .fld__l { display: flex; justify-content: space-between }
.duo--app .btn-ink, .duo--app .btn-ghost { margin-top: 14px; border: 0; font-family: var(--sans) }
.duo--app .btn-ghost { border: 1px solid rgba(29, 91, 58, .35) }
.duo--app .txline { margin-top: 12px }
.duo--app .fine { margin-top: 10px }
.panel--gap { margin-top: 16px }
.ptbl__h, .ptbl__r { display: grid; grid-template-columns: minmax(0, 1.6fr) 100px minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 88px; gap: 12px; align-items: center; padding: 12px 24px }
.ptbl__h { background: var(--page); border-block: 1px solid var(--border); font: 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-block: 9px }
.ptbl__r { border-bottom: 1px solid var(--line-faint); font-size: 13px }
.ptbl__r small { display: block }
#liqRows .ptbl__r { grid-template-columns: 120px 1fr 140px }
#posRows .txline, #liqRows .txline { padding: 12px 24px }
.tagside { font: 500 12px var(--mono); padding: 3px 8px; border-radius: 999px; justify-self: start }
.tagside.is-long { background: var(--royal-tint); color: var(--royal) } .tagside.is-short { background: #f6e3dc; color: var(--bad) }
.btn-sm { padding: 6px 14px !important; font-size: 13px; font-family: var(--sans) }
.btn-ink, .btn-ghost { font-family: var(--sans) }
.foot--app { margin-top: 64px }
.foot--app .foot__base { padding-top: 28px }
.foot--app .foot__base::before { display: none }
.foot__row a { color: var(--d-ink-2) }
.wpick { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(14, 36, 25, .38); backdrop-filter: blur(3px); padding: 16px }
.wpick__card { position: relative; width: min(360px, 100%); border-radius: 22px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lift); padding: 24px }
.wpick__card h3 { margin: 6px 0 16px; font: 400 28px/1 var(--serif) }
.wpick__list { display: grid; gap: 8px }
.wpick__w { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--card-raised); cursor: pointer; font: 500 14px var(--sans); color: var(--text); text-align: left }
.wpick__w:hover { border-color: var(--line-strong) }
.wpick__w img { width: 26px; height: 26px; border-radius: 7px }
.wpick__x { position: absolute; right: 14px; top: 12px; border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer }
@media (max-width: 960px) {
  .is-app .pillnav { display: flex; position: fixed; left: 50%; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 40 }
  .is-app .pillnav a { padding: 7px 11px; font-size: 13px }
  .split2 { grid-template-columns: minmax(0, 1fr) }
  .ticket2 { position: static }
  .tbl__head--app { display: none }
  .row--app { grid-template-columns: minmax(0, 1fr) auto auto; }
  .row--app .comp, .row--app .cell--m { display: none }
  .ptbl__h { display: none }
  .ptbl__r { grid-template-columns: 1fr auto; padding: 12px 18px }
  .ptbl__r > span:nth-child(3), .ptbl__r > span:nth-child(4) { display: none }
  .is-app .foot { padding-bottom: 70px }
}
@media (max-width: 640px) {
  .app { padding: 12px 12px 0 }
  .is-app .pillnav svg { display: none }
}
.leg__px { font: 12px var(--mono); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.det__go { margin-top: 14px }
.band__fine a { color: var(--d-ink); text-decoration: underline; text-underline-offset: 3px }

/* ═══ BRAND ═══ fodal mark + X link */
img.logo__mark { width: 30px; height: 30px; object-fit: contain }
.top__r { display: flex; align-items: center; gap: 8px }
.xbtn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(29, 91, 58, .25); background: var(--card-raised); color: var(--royal); transition: background .16s }
.xbtn:hover { background: var(--royal-soft) }
.xbtn svg { width: 15px; height: 15px; fill: currentColor }
