/* plum.fun, plum wallet's home: a grey world with one fruit. One monospace, and every character the same size: quieter
 * means greyer, never smaller; a picture drawn in characters (the logo, the icon, the coins' marks, the hero) keeps its
 * own size, and display type is FIGlet, built from the same 13px characters. Greys do the work and plum is the only
 * colour: the brand, the ripe fruit, the way forward ([ label -> ] in plum brackets) and money coming in. Red means
 * danger, amber means check this. A frame marks a group you act on, one deep, in the quietest line on the page
 * (css/frames.css). No blur, no shadows, no gradients, no glow. */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono.woff2?v=18be452724') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: block;
}
/* layout: one column of typed sections under a full-screen hero, each section a FIGlet title over a line of its own,
   then its pictures and words */
:root {
  color-scheme: dark;
  /* the greys, the same on the site, in the hero's engine (js/engine.js, INK) and in the wallet: the grounds, the
     lines frames are drawn in, then the inks, dimmest to brightest. No text is written in ink-4 or darker, but for a
     control that's switched off. */
  --ground: #141414; --raised: #1b1b1b; --line-1: #242424; --line-2: #303030; --line-3: #4a4a4a;
  --ink-4: #5e5e5e; --ink-3: #8a8a8a; --ink-2: #ababab; --ink-1: #d6d6d6; --ink-0: #f2f2f2;
  /* plum, the only colour; its light rim, its shaded side and its shadow are for the fruit, plum outlines and frames */
  --plum: #cf8bea; --plum-light: #ecd3f5; --plum-deep: #8a48a2; --plum-dark: #3b1a4a;
  /* the logo's stem and leaf, brown and green as on the wallet's toolbar icon, and on nothing else */
  --stem: #d9a979; --leaf: #8ee6b0;
  /* check this; this can hurt you; the frame of a danger at rest */
  --caution: #e8b54a; --danger: #ff6b5e; --danger-line: #5c2d29;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --gut: clamp(16px, 3.2vw, 44px);
  --max: 1180px;
  scrollbar-color: var(--ink-4) var(--ground);
}
* { box-sizing: border-box; }
*, *::before, *::after { font-variant-ligatures: none; font-feature-settings: 'liga' 0, 'calt' 0; }
[hidden] { display: none !important; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ground); color: var(--ink-0); font: 400 13px/20px var(--mono); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
h1, h2, h3 { font: 700 13px/20px var(--mono); }
ul { padding: 0; list-style: none; }
pre { margin: 0; font: inherit; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--plum); color: var(--ground); }
:focus-visible { outline: 1px solid var(--plum); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 99; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 0 1ch; background: var(--ground); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.mute { color: var(--ink-2); }
.soft { color: var(--ink-3); }
.go { color: var(--plum); }      /* good: money in, a new wallet, simulated */
.hot { color: var(--caution); }  /* check this: a new site */
.red { color: var(--danger); }
.plum { color: var(--plum); }
.nowrap { white-space: nowrap; }

/* loading: the page waits on the night until the hero's first frame is drawn (js/seed.js takes html.pl-wait off),
   then fades in, the bar and the copy a beat after the art. Without scripts, css/noscript.css shows it at once. */
body { transition: opacity 0.7s ease; }
#top .pl-bar, #top .seed-copy, #top .seed-soon { transition: opacity 0.9s ease 0.3s; }
html.pl-wait body, html.pl-wait #top .pl-bar, html.pl-wait #top .seed-copy, html.pl-wait #top .seed-soon { opacity: 0; }

/* ------------------------------------------------------------------ display type: FIGlet Small, set in the 13px
   characters (scripts/art.mjs writes it between <!-- fig:name --> markers; its height, in whole 20px rows so the text
   under it stays on the grid, is a class in css/art.css). One headline a screen; under 560px a narrow version, broken
   between words, takes over. The real words are beside it for screen readers. */
.fig { display: block; margin: 0; white-space: pre; font: 700 13px/1.15 var(--mono); color: var(--ink-0); user-select: none; }
.fig.narrow { display: none; }
@media (max-width: 559.98px) { .fig.wide { display: none; } .fig.narrow { display: block; } }

/* ------------------------------------------------------------------ typed art: the logo, the marks, the icons, the coins
   (their colours are classes in css/art.css, written by scripts/art.mjs). The logo's 37 columns fit every screen from
   320px: never shrunk. */
.pl-logo { display: block; margin: 0; white-space: pre; font: 700 13px/1.12 var(--mono); color: var(--ink-0); user-select: none; }
/* coming soon's words (art:soon): "coming soon." on one line, 48 columns; under 420px, where that wouldn't fit,
   "coming" over "soon." (26 columns) */
.pl-logo .lk { display: block; }
.pl-logo .lk.narrow { display: none; }
@media (max-width: 419.98px) { .pl-logo .lk.wide { display: none; } .pl-logo .lk.narrow { display: block; } }
.art { display: block; white-space: pre; font: 700 13px/1 var(--mono); user-select: none; }
.coin-mark { line-height: 1.2; }

/* ------------------------------------------------------------------ answers: [ label ] in grey brackets, the one way
   forward [ label -> ] in plum ones, its word bold */
.pl-go, .pl-btn { display: inline-flex; white-space: nowrap; padding: 0 0.6ch; background: var(--ground); transition: background 0.16s ease, color 0.16s ease; }
.pl-go { color: var(--ink-0); font-weight: 700; }
.pl-btn { color: var(--ink-1); }
.pl-go::before, .pl-btn::before { content: '[\00a0'; }
.pl-go::after, .pl-btn::after { content: '\00a0]'; }
.pl-go::before, .pl-go::after { color: var(--plum); font-weight: 400; }
.pl-btn::before, .pl-btn::after { color: var(--ink-4); transition: color 0.16s ease; }
.pl-go:hover { color: var(--plum-light); background: var(--raised); }
.pl-btn:hover { color: var(--ink-0); background: var(--raised); }
.pl-btn:hover::before, .pl-btn:hover::after { color: var(--plum); }
.pl-acts { display: flex; flex-wrap: wrap; gap: 8px 1ch; }
span.pl-btn, span.pl-go { cursor: default; }
/* a button inside a picture of the wallet: the [ label ] look, but not a control (no hover, no pointer). go: the one
   way forward; off: not armed yet; mini: a small tool at the end of a label row, [refresh] */
.tb { display: inline-flex; white-space: nowrap; padding: 0 0.6ch; color: var(--ink-1); cursor: default; }
.tb::before { content: '[\00a0'; color: var(--ink-4); }
.tb::after { content: '\00a0]'; color: var(--ink-4); }
.tb.go { color: var(--ink-0); font-weight: 700; }
.tb.go::before, .tb.go::after { color: var(--plum); font-weight: 400; }
.tb.off, .tb.off::before, .tb.off::after { color: var(--ink-4); }
.tb.mini { padding: 0; color: var(--ink-3); }
.tb.mini::before { content: '['; }
.tb.mini::after { content: ']'; }
/* links typed as [ label ]: on hover the brackets step out a cell each side, into the space kept for them, so
   nothing beside them moves */
.links { display: flex; flex-wrap: wrap; align-items: center; }
.links a { color: var(--ink-2); padding: 0 1ch; white-space: nowrap; }
.links a::before { content: '[\00a0'; color: var(--ink-4); }
.links a::after { content: '\00a0]'; color: var(--ink-4); }
.links a:hover, .links a:focus-visible { color: var(--ink-0); padding: 0; }
.links a:hover::before, .links a:focus-visible::before { content: '[\00a0\00a0'; color: var(--plum); }
.links a:hover::after, .links a:focus-visible::after { content: '\00a0\00a0]'; color: var(--plum); }
/* a status word in a box's top line: plain, no brackets. Good in plum, neutral in grey, check-this in amber */
.chip { color: var(--plum); }
.chip.hot { color: var(--caution); }
.chip.soon { color: var(--ink-3); }
/* a label row: the label, a line to the edge, and maybe a tool or a status word at its end. It heads a list or a
   picture where a box's title used to */
.lab { display: flex; align-items: center; gap: 1ch; color: var(--ink-2); }
.lab > span { flex: none; }
.lab > i { flex: 1 1 auto; min-width: 2ch; height: 20px; background: var(--ln) repeat-x 0 0 / 0.6em 20px; }

/* ------------------------------------------------------------------ boxes: square typed frames, the title in the top line.
   A box is a group you act on as one (a download, a request, a danger), never inside another, the vault excepted.
   The frame's sides are stretched, not tiled: tiles of a continuous line meet at a fraction of a device pixel and
   leave a faint seam at every join; stretched, each side is one line. (Dots and dashes are backgrounds, which tile.) */
.box {
  position: relative; min-width: 0; padding: 6px 1.2ch 4px;
  border-style: solid; border-color: transparent; border-image-repeat: stretch;
  border-width: 1.538em 0.6em; border-image-slice: 153.846 60 153.846 60; border-image-source: var(--sq-soft);
}
.box.red { border-image-source: var(--sq-red); }
.box > .box-head {
  position: absolute; top: -1.538em; left: 0; right: 0; height: 1.538em; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 2ch; pointer-events: none;
}
.box > .box-head > * { flex: none; min-width: 0; padding: 0 1ch; background: var(--ground); white-space: nowrap; }
.box > .box-head > :first-child { margin-left: 0.6em; }
.box > .box-head > :last-child:not(:first-child) { margin-right: 0.6em; }
.box-head > :first-child { color: var(--ink-2); }   /* the title, on the line, lowercase as written */
.box.red > .box-head h3 { color: var(--danger); }
/* a title too long to share its line with the status word on a small phone has a short form under 380px, the way the
   headlines have a narrow one (chrome · brave · edge · opera and soon need 41 columns; a 320px phone's box has 35) */
.box-head .narrow { display: none; }
@media (max-width: 379.98px) { .box-head .wide { display: none; } .box-head .narrow { display: inline; } }
/* a line of label ..... value: a receipt */
.kv { display: flex; align-items: baseline; gap: 1ch; }
.kv > :first-child { color: var(--ink-3); flex: none; }
.kv > .dots { flex: 1 1 auto; min-width: 2ch; height: 20px; background: var(--ln-dot) repeat-x 0 0 / 0.6em 20px; }
.kv > :last-child { flex: none; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ the hero: the seed, typed, full screen */
.pl-hero { position: relative; height: 100svh; min-height: 640px; max-height: 1200px; overflow: hidden; background: var(--ground); isolation: isolate; }
.pl-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.pl-fallback { position: absolute; inset: 0; display: none; white-space: pre; font: 700 13px/1.1 var(--mono); color: var(--ink-3); }
.pl-nogl .pl-fallback { display: grid; }
.pl-nogl .pl-cv { visibility: hidden; }
/* the bar: the wordmark, and the links as plain [ label ]s (on a phone only github; the sections are a scroll away) */
.pl-bar { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 0 2ch; padding: 16px var(--gut); pointer-events: none; }
.pl-bar > * { pointer-events: auto; }
.mark { font-weight: 700; color: var(--ink-0); white-space: nowrap; }
.mark i { font-style: normal; color: var(--plum); }
.pl-nav { margin-left: auto; margin-right: -1ch; }
@media (max-width: 519.98px) { .pl-nav .opt { display: none; } }

/* the seed's own layout: on a wide screen the copy stands on the soil (js/seed.js sets --seed-copy-b from where the
   soil line falls; this is its first guess); on a tall one it comes first, at the top, and the tree grows below it */
#top { --seed-copy-b: calc(31% + 20px); }
#top .seed-copy { position: absolute; z-index: 2; left: var(--gut); bottom: var(--seed-copy-b); display: grid; justify-items: start; margin-left: -1ch; padding: 6px 1ch 8px; background: var(--ground); max-width: calc(100% - 2 * var(--gut) + 2ch); }
#top .seed-copy h1 { margin-bottom: 20px; }
#top .seed-copy p { color: var(--ink-1); }
#top .seed-copy em { font-style: normal; color: var(--ink-0); }
#top .seed-copy p.soft { color: var(--ink-3); }
#top .seed-copy .pl-acts { margin-top: 20px; }
/* the coming-soon page: the logo is the headline and "coming soon." stands under it */
#top .seed-copy.soon h1 { margin: 6px 0 0; color: var(--plum); }
#top.pl-nogl .seed-copy { top: auto; bottom: 40px; }
/* a page whose art grows with the screen (data-art="scale", index.html) grows its logo with it (js/seed.js sets
   --art-k: 1 on a phone, 2 at 1920 x 950); one that asks (data-copy="top") stands its copy in the top left, the crown
   keeping clear of it (data-crown="clear") */
#top[data-art="scale"] .pl-logo { font-size: calc(13px * var(--art-k, 1)); }
#top[data-copy="top"] .seed-copy, #top[data-copy="top"].pl-nogl .seed-copy { top: calc(16px + 6.5px * var(--art-k, 1)); bottom: auto; }
/* coming soon's words, apart from its logo (.seed-soon): js/seed.js sets --soon-top, halfway between the logo and the
   soil line on a wide screen, straight under the logo on a tall one (180px, under it, without a script) */
#top .seed-soon { position: absolute; z-index: 2; left: var(--gut); top: var(--soon-top, 180px); margin-left: -1ch; padding: 6px 1ch 8px; background: var(--ground); }
#top .pl-fallback { place-items: center end; padding: 0 calc(var(--gut) + 4vw) 8vh 0; }
#top .seed-fb { display: block; }
@media (max-aspect-ratio: 23/20) {
  #top .seed-copy, #top.pl-nogl .seed-copy { top: 20px; bottom: auto; }
  #top .pl-bar ~ .seed-copy, #top.pl-nogl .pl-bar ~ .seed-copy { top: 60px; }
  .pl-hero.with-bar { min-height: 820px; }   /* the full page's longer copy, then room for the tree under it */
  #top .pl-fallback { place-items: end center; justify-content: unsafe center; padding: 0 0 5vh; }   /* wider than a phone: cut evenly both sides */
}
/* the typed bonsai, when there's no WebGL: the hero's greys, plum on the fruit. b the wood, i the leaves' rims, em
   their body, u a plum, s its rim, q the soil and the roots, .n a word's number, .w the word, hidden. At 13px, like
   every character: on a screen too narrow for it, its sides are cut off */
#top .pl-fallback b { font-weight: 700; color: var(--ink-3); }
#top .pl-fallback i { font-style: normal; color: var(--ink-2); }
#top .pl-fallback em { font-style: normal; color: var(--ink-4); }
#top .pl-fallback u { text-decoration: none; color: var(--plum); }
#top .pl-fallback s { text-decoration: none; color: var(--plum-light); }
#top .pl-fallback q { quotes: none; color: var(--ink-4); }
#top .pl-fallback q::before, #top .pl-fallback q::after { content: none; }
#top .pl-fallback .n { color: var(--ink-3); }
#top .pl-fallback .w { color: var(--ink-1); }

/* ------------------------------------------------------------------ sections: a FIGlet title over a line of its own */
.sec { padding-block: 120px 8px; }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { display: grid; justify-items: start; }
.sec-head .sub { margin-top: 20px; font-weight: 400; color: var(--ink-3); }   /* a row under the title, on the grid */
.lede { max-width: 74ch; display: grid; gap: 20px; }
.lede p { color: var(--ink-1); }
.sec-lede { max-width: 90ch; margin-bottom: 44px; color: var(--ink-1); }
.sec-lede em { font-style: normal; color: var(--ink-0); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 6ch; align-items: start; }
@media (max-width: 960px) { .cols { grid-template-columns: minmax(0, 1fr); } }

/* the wallet, drawn as plum draws its home (sample balances), with what each part does pointed at it */
.anat { display: grid; grid-template-columns: minmax(0, 1fr) min(100%, 50ch) minmax(0, 1fr); row-gap: 28px; align-items: start; margin: 0; }
.anat > .head, .anat > .card, .anat > .list, .anat > .popup-note { grid-column: 2; }
.anat > .note.l { grid-column: 1; }
.anat > .note.r { grid-column: 3; }
/* a note is one line tall in the grid, so the words under its title never push the wallet apart; its dashed lead runs
   from the title to the line of the wallet it's about */
.note { display: grid; height: 20px; }
.note.l { grid-template-columns: minmax(0, 30ch) minmax(3ch, 1fr); }
.note.r { grid-template-columns: minmax(3ch, 1fr) minmax(0, 30ch); }
.note b { display: block; color: var(--ink-0); }
.note p { color: var(--ink-2); }
.note .lead { display: flex; justify-content: flex-end; height: 20px; margin-left: 1.5ch; font-style: normal; color: var(--ink-4); background: var(--ln-dash-soft) repeat-x right 0 / 0.6em 20px; }
.note.r .lead { justify-content: flex-start; margin: 0 1.5ch 0 0; background-position: left 0; }
.note.l .lead::after { content: '>'; background: var(--ground); }
.note.r .lead::before { content: '<'; background: var(--ground); }
.note.at-r1 { margin-top: 28px; }                           /* the head's first line */
.note.at-r2 { margin-top: 48px; }                           /* its second line */
.note.at-last { align-self: end; }                          /* the card's last line */
.note.at-last2 { align-self: end; margin-bottom: 38px; }    /* the line above that */
.note.at-c1 { margin-top: 45px; }                           /* a list's first coin */
.note.at-c2 { margin-top: 108px; }                          /* its second */
.note.at-t1 { margin-top: 42px; }                           /* a list's first token */
/* the head: the account's one frame. The two-row plum, the wallet's name and [ = ]; under the name, copy address and
   the chains' chips */
.anat .head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'i n s' 'i a a'; gap: 0 1.4ch; align-items: start; padding-block: 8px 6px; }
.anat .head .mini { grid-area: i; line-height: 20px; }
.anat .head .who { grid-area: n; }
.anat .head .set { grid-area: s; }
.anat .head .adr { grid-area: a; display: flex; flex-wrap: wrap; gap: 0 1ch; }
.anat .head .chips { display: flex; gap: 1ch; color: var(--ink-2); }
.anat .head .chips span::before { content: '['; color: var(--ink-4); }
.anat .head .chips span::after { content: ']'; color: var(--ink-4); }
/* the home: no frame. The icon, the name, the balance in FIGlet with its $ at text size beside its top row, the day's
   change, then two rows of actions, the first three the main ones */
.anat .card { display: grid; justify-items: center; padding-top: 12px; }
.anat .card .icon { margin-bottom: 14px; }
.anat .card .bal { display: flex; align-items: flex-start; gap: 0.6ch; margin-top: 24px; }
.anat .card .cur { color: var(--ink-3); }
.anat .card .chg { margin-top: 4px; }
.anat .card .acts { width: 100%; display: flex; justify-content: space-between; margin-top: 24px; }
.anat .card .acts + .acts { margin-top: 18px; }
.anat .card .acts .tb { color: var(--ink-3); }
.anat .card .acts.main .tb { color: var(--ink-0); font-weight: 700; }
/* the lists: a label row, then rows with space between them and no rules: a coin's mark, its ticker over its name,
   its amount over its value */
.anat .list { display: grid; }
.anat .list .lab { margin-bottom: 4px; }
.anat .list .empty { padding-top: 8px; }   /* no tokens yet */
.anat .coin { display: grid; grid-template-columns: 6ch minmax(0, 1fr) auto; align-items: center; gap: 0 1ch; padding-block: 8px; }
.anat .tok { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1ch; padding-block: 8px; }
.anat .coin .r, .anat .tok .r { text-align: right; font-variant-numeric: tabular-nums; }
.popup-note { color: var(--ink-3); text-align: center; }
/* narrower: the wallet on its own, the notes after it, two to a row or one */
@media (max-width: 1080px) {
  .anat { grid-template-columns: repeat(auto-fit, minmax(min(100%, 30ch), 1fr)); column-gap: 5ch; }
  .anat > .head, .anat > .card, .anat > .list, .anat > .popup-note { grid-column: 1 / -1; justify-self: center; width: min(100%, 50ch); }
  .anat > .note.l, .anat > .note.r { grid-column: auto; order: 1; height: auto; margin: 8px 0 0; align-self: start; grid-template-columns: minmax(0, 1fr); }
  .note .lead { display: none; }
}

/* how it keeps your keys safe: the sealed keys, two approvals, and what plum does when someone tries */
.safe-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 6ch; align-items: start; }
@media (max-width: 960px) { .safe-top { grid-template-columns: minmax(0, 1fr); } }
.vault { justify-self: center; width: min(100%, 50ch); display: grid; gap: 22px; margin: 0; }
.vault .box { padding: 16px 1.6ch 12px; }
/* the vault, the one nest of frames: its boxes brighten inward, frames and titles both, from the password through
   scrypt to the sealed keys in plum */
.vault .v1 { border-image-source: var(--sq-soft); }
.vault .v2 { border-image-source: var(--sq-ink); }
.vault .v3 { border-image-source: var(--sq-plum); display: grid; justify-items: center; gap: 14px; padding-block: 26px 22px; }
.vault .v1 > .box-head h3 { color: var(--ink-2); }
.vault .v2 > .box-head h3 { color: var(--ink-1); }
.vault .v3 > .box-head h3 { color: var(--plum-light); }
.vault .v3 p { color: var(--ink-0); text-align: center; }
.vault figcaption { display: grid; gap: 12px; color: var(--ink-2); }
.vault figcaption b { color: var(--ink-0); font-weight: 400; }
/* two approvals, drawn as plum's window draws them: its top line over a faint rule (the network on the right, loud),
   the request in one frame titled in white, a danger in its own, what changes as a receipt (the money that moves on
   lines of its own, then leaders), the details, then the answers, reject on the left */
.cards { display: grid; gap: 48px; width: min(100%, 48ch); justify-self: center; }
.ap { display: grid; }
.ap-top { display: flex; align-items: baseline; gap: 1ch; padding-bottom: 12px; border-bottom: 1px solid var(--line-1); }
.ap-top .net { margin-left: auto; }
.ap > .box { display: grid; gap: 10px; margin-top: 22px; padding-block: 12px 10px; }
.ap .box-head h3 { color: var(--ink-0); }
.ap .two { display: flex; justify-content: space-between; gap: 1ch; }
.ap .box p { color: var(--ink-1); }
.ap > .lab { margin-top: 22px; }
.ap > .moves { display: grid; margin-block: 10px; }
.ap > .det { margin-top: 12px; color: var(--ink-3); }
.ap > .ack { margin-top: 18px; color: var(--ink-1); }
.ap > .ack::before { content: '[ ] '; color: var(--ink-3); }
.ap > .ans { display: flex; justify-content: space-between; margin-top: 26px; }
/* when someone tries: each attack (x) and plum's answer (->) */
.log { margin-top: 72px; }
.tries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 46ch), 1fr)); gap: 24px 5ch; margin-top: 20px; }
.tries li { display: grid; gap: 2px; align-content: start; }
.tries p { display: grid; grid-template-columns: 3ch minmax(0, 1fr); }
.tries .try { color: var(--ink-1); }
.tries .ans { color: var(--ink-2); }
.tries .try::before { content: 'x'; color: var(--ink-3); }
.tries .ans::before { content: '->'; color: var(--plum); }

/* moving from another wallet: the phrase's tree, its chains named in white */
.tree, .code { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tree pre, .code pre { overflow-x: auto; scrollbar-width: thin; }
.tree pre { font-weight: 400; line-height: 20px; white-space: pre; }
.tree .t { color: var(--ink-3); }
.tree .sol, .tree .eth, .tree .btc { color: var(--ink-0); }

/* read every line */
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.code pre { white-space: pre; color: var(--ink-2); }
.code pre .c { color: var(--ink-3); }
.code pre .k { color: var(--plum); }
.code pre .s { color: var(--ink-0); }

/* get plum: a box for each browser with its steps, and the code, which you can build today */
.get { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 3ch; }
@media (max-width: 860px) { .get { grid-template-columns: minmax(0, 1fr); } }
.get .box { display: grid; align-content: start; gap: 16px; padding-block: 18px 14px; }
.steps { counter-reset: step; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3ch minmax(0, 1fr); color: var(--ink-1); }
.steps li::before { content: counter(step); color: var(--ink-3); }
.get .build { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px 6ch; }
.term { min-width: 0; white-space: pre; overflow-x: auto; scrollbar-width: thin; color: var(--ink-1); }
.term .p { color: var(--ink-3); }
.build-side { display: grid; gap: 16px; max-width: 52ch; }
.build-side p { color: var(--ink-2); }
.build-side b { color: var(--ink-1); font-weight: 400; }
@media (max-width: 860px) { .get .build { grid-template-columns: minmax(0, 1fr); } }
/* what plum sends, under the downloads: who reads each chain for it, and what never leaves */
.get .sends { grid-column: 1 / -1; }
.sends > p { max-width: 96ch; color: var(--ink-1); }
.sends > p.never { color: var(--ink-0); }
.where { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 46ch), 1fr)); gap: 10px 5ch; }
.where li { display: grid; grid-template-columns: 2ch minmax(0, 1fr); color: var(--ink-2); }
.where li::before { content: '-'; color: var(--ink-3); }
.where b { color: var(--ink-0); font-weight: 400; }

/* the foot: the logo, the tagline, the links */
.foot { padding-block: 120px 56px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 4ch; }
.foot .brand { display: block; }
.foot-side { display: grid; justify-items: end; gap: 14px; }
.foot .tagl { color: var(--ink-0); font-weight: 700; }
.foot .tagl span { color: var(--plum); }
.foot .links { justify-content: flex-end; margin-right: -1ch; }
.foot .fine { color: var(--ink-3); }
.foot .fine a { color: var(--ink-2); }
.foot .fine a:hover { color: var(--ink-0); }
@media (max-width: 760px) { .foot-side { justify-items: start; } .foot .links { justify-content: flex-start; margin: 0 0 0 -1ch; } }

/* the 404 */
.lost { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 20px; padding-block: 64px; }
.lost .pl-logo { margin-bottom: 16px; }

/* downloads that aren't out yet: switched off, not links */
.pl-btn.soon { color: var(--ink-4); }
.pl-btn.soon:hover { color: var(--ink-4); background: var(--ground); }
.pl-btn.soon:hover::before, .pl-btn.soon:hover::after { color: var(--ink-4); }
