/* Tolabook. Tokens and roles are in design/DESIGN.md. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 100%;
  font-display: swap;
}
:root {
  --pewter: #e3e7eb;
  --pewter-hi: #edf0f3;
  --ink: #1d2633;
  --ink-2: #465160;
  --ink-3: #5f6b7a;
  --rule: #bcc4cd;
  --marigold: #e0971c;
  --marigold-ink: #865505;
  --gain: #17694a;
  --loss: #a82c3b;
  --board: #141a23;
  --board-2: #1e2632;
  --board-rule: #343f4e;
  --board-ink: #edf0f3;
  --board-soft: #a3aebb;
  --font: "Archivo", "Arial Narrow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--pewter); color: var(--ink); font: 400 17px/1.5 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
strong, b { font-weight: 650; }
:focus-visible { outline: 2px solid var(--marigold-ink); outline-offset: 3px; border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: var(--pewter-hi); padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { top: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.soft { color: var(--ink-2); }
.small { font-size: 14px; }
.narrow { max-width: 62ch; }
.up { color: var(--gain); }
.down { color: var(--loss); }
.tri { width: .62em; height: .62em; display: inline-block; vertical-align: .02em; }

/* type */
h1 { font-size: clamp(44px, 5.7vw, 70px); font-stretch: 70%; font-weight: 720; line-height: .98; letter-spacing: -.008em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-stretch: 72%; font-weight: 700; line-height: 1.02; }
.h3 { font-size: clamp(23px, 2.5vw, 29px); font-stretch: 78%; font-weight: 700; line-height: 1.1; }
.lede { font-size: clamp(18px, 1.75vw, 21px); line-height: 1.42; color: var(--ink-2); max-width: 54ch; }

/* top */
.top { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; margin-right: auto; }
.mark { display: block; color: var(--marigold-ink); }
.wordmark { height: 21px; width: auto; display: block; }
.top nav { display: flex; gap: clamp(14px, 2.4vw, 28px); font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); padding: 8px 0; background: linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.top nav a:hover { color: var(--ink); background-size: 100% 1px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--pewter-hi); font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:hover { background: #2b3748; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-light { background: var(--pewter-hi); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-out { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-out:hover { background: var(--pewter-hi); }
.btn-danger { background: var(--loss); }
.btn-danger:hover { background: #8e2231; }
.arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { background: none; border: 0; padding: 6px 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; cursor: pointer; transition: text-decoration-color .2s; font-size: inherit; }
.link:hover { text-decoration-color: var(--ink); }
.danger { color: var(--loss); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(24px, 5vh, 56px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero .lede { margin-top: clamp(16px, 2vw, 24px); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(20px, 2.6vw, 32px); }
.micro { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.micro li { position: relative; padding-left: 16px; }
.micro li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gain); }

/* the ingot */
.ingot { position: relative; overflow: hidden; aspect-ratio: 2.05 / 1; min-height: 176px; border-radius: 14px; }
.ingot[data-metal="gold"] {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .1) 0 1px, rgba(90, 60, 10, .04) 1px 2px, transparent 2px 3px),
    linear-gradient(166deg, #fff3c4 0%, #f2cf6b 24%, #cb9c36 52%, #efcb73 72%, #b9862a 100%);
  box-shadow: inset 0 2px 0 rgba(255, 250, 225, .95), inset 0 -3px 0 rgba(110, 74, 12, .38), inset 0 0 0 1px rgba(140, 98, 24, .55), 0 24px 34px -22px rgba(80, 54, 10, .6);
}
.ingot[data-metal="silver"] {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .11) 0 1px, rgba(40, 50, 62, .035) 1px 2px, transparent 2px 3px),
    linear-gradient(166deg, #fafbfc 0%, #dce1e6 25%, #b2bac3 50%, #e8ebee 71%, #a0a9b3 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .95), inset 0 -3px 0 rgba(55, 66, 79, .32), inset 0 0 0 1px rgba(70, 80, 92, .36), 0 24px 34px -22px rgba(29, 38, 51, .62);
}
.ingot-face { position: absolute; inset: clamp(10px, 1.5vw, 15px); border-radius: 8px; display: grid; grid-template-rows: auto 1fr auto; align-items: center; padding: clamp(10px, 1.6vw, 18px) clamp(14px, 2.2vw, 24px); background: linear-gradient(166deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .14) 76%, rgba(0, 0, 0, .03)); }
.ingot[data-metal="gold"] .ingot-face { box-shadow: inset 0 2px 4px rgba(90, 60, 10, .35), inset 0 -1px 0 rgba(255, 245, 210, .8), 0 0 0 1px rgba(255, 240, 200, .5); }
.ingot[data-metal="silver"] .ingot-face { box-shadow: inset 0 2px 3px rgba(30, 40, 52, .26), inset 0 -1px 0 rgba(255, 255, 255, .8); }
.stamp-row { display: flex; justify-content: space-between; gap: 12px; }
.stamp { font-size: clamp(11px, 1.15vw, 14px); font-stretch: 62%; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ingot-mid { text-align: center; }
.ingot-value { display: block; font-size: clamp(44px, 6vw, 72px); line-height: 1; font-stretch: 72%; font-weight: 750; letter-spacing: -.005em; }
.ingot-sub { display: block; margin-top: 6px; font-size: clamp(13px, 1.2vw, 15px); }
.ingot[data-metal="gold"] .stamp, .ingot[data-metal="gold"] .ingot-value { color: #6d4b0e; text-shadow: 0 1px 0 rgba(255, 245, 215, .8), 0 -1px 0 rgba(90, 60, 10, .3); }
.ingot[data-metal="gold"] .ingot-sub { color: #4f360a; }
.ingot[data-metal="silver"] .stamp, .ingot[data-metal="silver"] .ingot-value { color: #4b5561; text-shadow: 0 1px 0 rgba(255, 255, 255, .78), 0 -1px 0 rgba(35, 44, 55, .26); }
.ingot[data-metal="silver"] .ingot-sub { color: #36404b; }
.ingot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(104deg, transparent 36%, rgba(255, 255, 255, .62) 50%, transparent 64%); transform: translateX(-130%); animation: sheen 1.25s .35s cubic-bezier(.3, .1, .3, 1) 1 forwards; }
@keyframes sheen { to { transform: translateX(130%); } }

.sample-rows { margin-top: 12px; }
.sample-rows li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.s-name { font-weight: 600; }
.s-detail { grid-row: 2; font-size: 14px; color: var(--ink-2); }
.s-value { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 600; }
.sample figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-3); }

/* rate strip */
.strip { padding-top: 4px; padding-bottom: 8px; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); padding-top: 14px; }
.strip-grid > div:nth-child(2) { text-align: center; }
.strip-grid > div:nth-child(3) { text-align: right; }
.strip-grid b { display: block; font-size: clamp(28px, 3.4vw, 42px); font-stretch: 74%; font-weight: 700; line-height: 1.05; }
.strip-grid span { display: block; color: var(--ink-2); font-size: 15px; }
.strip-grid .chg { font-size: 14px; font-weight: 500; }
.strip-grid .chg.up { color: var(--gain); }
.strip-grid .chg.down { color: var(--loss); }
.strip-note { margin-top: 12px; font-size: 14px; color: var(--ink-2); }

/* sections */
.section { padding-top: clamp(52px, 8vw, 96px); }
.section > h2 + p, .section > h2 + .qa { margin-top: 14px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-side p { margin-top: 14px; color: var(--ink-2); max-width: 40ch; }
.art { display: block; width: min(86%, 360px); height: auto; margin: 30px 0 0 12px; transform: rotate(-8deg); }
p.art-credit { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: start; }

/* ledger tables */
.ledger { width: 100%; border-collapse: collapse; font-size: 16px; }
.ledger caption { text-align: left; padding-bottom: 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.ledger thead th { text-align: left; font-weight: 500; font-size: 14px; color: var(--ink-2); padding: 8px 12px 8px 0; border-bottom: 2px solid var(--ink); }
.ledger tbody th { text-align: left; font-weight: 600; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.ledger .num { text-align: right; padding-right: 0; }
.ledger .strong { color: var(--ink); font-weight: 600; }
.ledger td.up { color: var(--gain); }
.ledger td.down { color: var(--loss); }
.ledger small { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-2); }
.things tbody th { font-size: 17px; }
.tag { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--marigold-ink); }

/* the sealed box */
.sealed { margin-top: clamp(52px, 8vw, 96px); background: var(--board); color: var(--board-ink); padding: clamp(52px, 8vw, 92px) 0; }
.sealed .lede { color: var(--board-soft); margin-top: 16px; }
.sealed a { color: var(--board-ink); text-underline-offset: 3px; }
.demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin-top: clamp(28px, 4vw, 44px); border: 1px solid var(--board-rule); border-radius: 14px; overflow: hidden; }
.demo-side { padding: clamp(18px, 2.6vw, 28px); min-width: 0; }
.demo-side + .demo-side { border-left: 1px solid var(--board-rule); background: var(--board-2); }
.demo-k { display: block; font-size: 13px; font-stretch: 80%; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--board-soft); }
.demo-input { width: 100%; margin-top: 12px; background: var(--board-2); border: 1px solid var(--board-rule); border-radius: 10px; padding: 13px 14px; font-size: 19px; color: var(--board-ink); }
.demo-input:focus { outline: 2px solid var(--marigold); outline-offset: 1px; }
.demo-out { display: block; margin-top: 12px; font: 400 15px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--marigold); overflow-wrap: anywhere; min-height: 92px; }
.demo-note { margin-top: 10px; font-size: 14px; color: var(--board-soft); }
.sealed-status { margin-top: 22px; color: var(--board-soft); max-width: 72ch; }

.plain li { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.plain { margin-top: 14px; border-top: 2px solid var(--ink); }
.no li { padding-left: 22px; position: relative; }
.no li::before, .no li::after { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 1.6px; background: var(--loss); transform: rotate(45deg); }
.no li::after { transform: rotate(-45deg); }
.after { margin-top: 14px; color: var(--ink-2); }

.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); border-top: 2px solid var(--ink); }
.qa > div { padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
.qa dt { font-weight: 650; font-size: 19px; }
.qa dd { margin-top: 4px; color: var(--ink-2); }

.callout p { margin-top: 10px; max-width: 62ch; color: var(--ink-2); }
.callout .link { display: inline-block; margin-top: 10px; }

/* footer */
.foot { margin-top: clamp(64px, 9vw, 112px); background: var(--board); color: var(--board-ink); overflow: hidden; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; padding-top: clamp(44px, 6vw, 72px); }
.foot-line { font-size: clamp(38px, 5.6vw, 68px); font-stretch: 70%; font-weight: 700; line-height: 1; }
.foot-call .btn { margin-top: 20px; }
.foot-links { font-size: 16px; }
.foot-links li { padding: 5px 0; }
.foot-links a { color: var(--board-soft); text-decoration: none; }
.foot-links a:hover { color: var(--board-ink); }
.foot-small { grid-column: 1 / -1; max-width: 80ch; font-size: 13.5px; color: var(--board-soft); }
.foot-mark { margin-top: clamp(24px, 4vw, 40px); padding: 0 clamp(8px, 2vw, 20px); height: clamp(58px, 15.5vw, 212px); }
.foot-word { display: block; width: 100%; height: auto; color: #2c3644; }

.foot-plain { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--rule); padding-top: 18px; padding-bottom: 28px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-plain a { color: inherit; }

/* inner pages */
.page-head { padding-top: clamp(24px, 4vw, 44px); padding-bottom: 28px; }
.page-head .lede { margin-top: 10px; }
.panels { align-items: start; }
.panel-chg { margin-top: 12px; font-size: 15px; }
.panel-chg .chg { font-weight: 600; }
.panel-chg .chg.up { color: var(--gain); }
.panel-chg .chg.down { color: var(--loss); }
.panel-rest { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 10px; }
.panel-rest div { display: flex; gap: 8px; align-items: baseline; }
.panel-rest dt { color: var(--ink-2); font-size: 15px; }
.panel-rest dd { font-size: 21px; font-stretch: 78%; font-weight: 650; }
.spark { display: block; width: 100%; height: 70px; margin-top: 14px; color: var(--ink-2); }
.prov { margin-top: 22px; padding: 14px 16px; background: var(--pewter-hi); border-left: 4px solid var(--marigold); font-size: 15px; color: var(--ink-2); }
.prov p + p { margin-top: 5px; }
.prov strong { color: var(--ink); }
.controls { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; font-size: 15px; }
.controls > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.controls span { width: 74px; color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow .2s, color .2s; }
.pill:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill.on { background: var(--ink); color: var(--pewter-hi); box-shadow: none; }
.section .two { margin-top: 26px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin-top: 18px; }
.facts div { display: contents; }
.facts dt { color: var(--ink-3); }
.prose { max-width: 760px; padding-top: clamp(24px, 4vw, 44px); }
.prose .lede { margin-top: 12px; }
.prose h2 { font-size: clamp(25px, 2.8vw, 32px); font-stretch: 78%; margin-top: 38px; }
.prose p { margin-top: 10px; }
.prose .plain { margin-top: 12px; }
.prose .ledger { margin-top: 14px; }
.nf { min-height: 44vh; }

/* locker */
.locker { padding-top: 10px; min-height: 62vh; }
.lk-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; padding: clamp(10px, 2vw, 18px) 0 18px; }
.lk-top h1 { font-size: clamp(36px, 4.6vw, 54px); }
.chip { font-size: 14px; color: var(--ink-2); }
.lk-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 52px); align-items: center; }
.lk-side .facts { margin: 0 0 18px; font-size: 18px; }
.lk-side .facts dd { font-weight: 650; text-align: right; }
.lk-side .btn { width: 100%; }
.lk-side p { margin-top: 10px; }
.grp { margin-top: 34px; }
.grp-h { font-size: 13px; font-stretch: 100%; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--rule); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 13px 8px; margin: 0 -8px; width: calc(100% + 16px); border: 0; background: none; text-align: left; cursor: pointer; border-radius: 8px; transition: background .15s; }
.row:hover { background: var(--pewter-hi); }
.r-name { display: block; font-weight: 600; }
.r-detail { display: block; font-size: 14.5px; color: var(--ink-2); }
.r-val { text-align: right; flex: none; }
.r-value { display: block; font-weight: 650; }
.r-gain { display: block; font-size: 13.5px; }
.empty { margin-top: 36px; padding: clamp(28px, 5vw, 52px) 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.empty h2 { font-size: clamp(28px, 3.4vw, 40px); }
.empty p { margin: 10px 0 18px; color: var(--ink-2); max-width: 46ch; }
.keep { margin-top: 44px; padding: clamp(18px, 2.6vw, 26px); background: var(--pewter-hi); border-radius: 14px; }
.keep p { margin-top: 8px; color: var(--ink-2); max-width: 64ch; }
.keep .btn { margin-top: 12px; }
.files, .acct { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.lk-note { margin-top: 16px; }

/* dialog */
.dlg { border: 0; border-radius: 16px; padding: clamp(18px, 3vw, 26px); width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--pewter-hi); color: var(--ink); box-shadow: 0 30px 70px -20px rgba(20, 26, 35, .55); }
.dlg::backdrop { background: rgba(20, 26, 35, .55); }
.dlg p { margin-top: 10px; color: var(--ink-2); }
.form { margin-top: 12px; }
.form > p:first-child { margin-top: 0; }
.field { display: block; margin-top: 13px; }
.field-k { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.field-h { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.inp { width: 100%; min-height: 48px; padding: 0 12px; font-size: 16px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; }
.inp:focus { outline: 2px solid var(--marigold-ink); outline-offset: 0; border-color: transparent; }
.weight-row { display: grid; grid-template-columns: 1fr 112px; gap: 8px; }
.unit-box .inp { width: 100%; }
.segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; background: var(--pewter); border-radius: 12px; }
.seg { min-height: 44px; border: 0; border-radius: 9px; background: none; cursor: pointer; color: var(--ink-2); font-weight: 500; }
.seg[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 26, 35, .16); }
.more { margin-top: 14px; }
.more summary { cursor: pointer; color: var(--ink-2); padding: 6px 0; }
.form-err { color: var(--loss) !important; font-size: 15px; min-height: 0; }
.form-act { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.grow { flex: 1; }
.code { margin: 16px 0 !important; padding: 16px; text-align: center; font: 600 clamp(17px, 4.4vw, 21px)/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; color: var(--ink) !important; background: #fff; border: 1px dashed var(--ink-3); border-radius: 10px; }
.tick { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; }
.chk { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--pewter-hi); font-size: 15px; padding: 11px 16px; border-radius: 10px; max-width: calc(100vw - 32px); transition: opacity .2s, transform .2s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.hide-sm { }

@media (max-width: 860px) {
  .hero, .split, .lk-head { grid-template-columns: 1fr; }
  .top nav { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .two, .qa { grid-template-columns: 1fr; }
  .two { gap: 36px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid > div, .strip-grid > div:nth-child(2), .strip-grid > div:nth-child(3) { display: grid; grid-template-columns: 1fr auto; text-align: left; padding: 8px 0; border-bottom: 1px solid var(--rule); }
  .strip-grid b { grid-column: 2; grid-row: 1 / span 2; text-align: right; align-self: center; font-size: 30px; }
  .demo { grid-template-columns: 1fr; }
  .demo-side + .demo-side { border-left: 0; border-top: 1px solid var(--board-rule); }
  .hide-sm { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .ingot { aspect-ratio: auto; min-height: 188px; }
  .ingot-face { position: absolute; }
  .hero .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ingot::after { display: none; }
}
