/* Burnerz. One object carries the look: a prepaid phone. Its LCD shows what matters (the key, the credit),
   its rubber keys are the buttons. Ground is the pale green-grey of an unlit display. */

@font-face { font-family: 'Doto'; src: url('/fonts/doto.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Chivo'; src: url('/fonts/chivo.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Chivo Mono'; src: url('/fonts/chivo-mono.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ground: #e3e8d8;
  --ground-hi: #eef1e6;
  --ground-lo: #d5dbc6;
  --line: #c2cab1;
  --ink: #161a13;
  --mute: #566050;
  --lcd: #b9c79c;
  --lcd-lo: #a7b689;
  --pixel: #1e2918;
  --ghost: rgba(30, 41, 24, .1);
  --shell: #25282c;
  --shell-hi: #3a3e44;
  --shell-lo: #17191c;
  --rubber: #f2f2ea;
  --rubber-lo: #b3b6a6;
  --signal: #ff6b1a;
  --signal-hi: #ff8a45;
  --signal-lo: #b9450a;
  --good: #1c6b37;
  --bad: #b5301a;

  --display: 'Doto', 'Chivo Mono', ui-monospace, monospace;
  --text: 'Chivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Chivo Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --fs-0: .8125rem;
  --fs-1: .9375rem;
  --fs-2: 1.0625rem;
  --fs-3: 1.375rem;
  --fs-4: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  --fs-5: clamp(2.9rem, 1.4rem + 6.2vw, 5.75rem);

  --page: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--fs-2)/1.55 var(--text); font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--pixel); color: var(--lcd); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .94em; }
.mute { color: var(--mute); }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- rubber keys: every button on the site */
.key {
  --face: var(--rubber); --edge: var(--rubber-lo); --on: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.35em; border: 0; border-radius: 13px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--face) 86%, #fff) 0%, var(--face) 46%, color-mix(in srgb, var(--face) 90%, #000) 100%);
  color: var(--on); font: 700 var(--fs-2)/1 var(--text); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 var(--edge), 0 6px 10px rgba(22, 26, 19, .16), inset 0 1px 0 rgba(255, 255, 255, .55);
  transform: translateY(0); transition: transform .06s ease-out, box-shadow .06s ease-out;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.key:hover { filter: brightness(1.03); }
.key:active, .key[aria-pressed='true'] { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge), 0 2px 4px rgba(22, 26, 19, .18), inset 0 1px 0 rgba(255, 255, 255, .4); }
.key:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.key.go { --face: var(--signal); --edge: var(--signal-lo); --on: #1c0c02; }
.key.dark { --face: #2d3136; --edge: #0d0e10; --on: #f1f3ea; box-shadow: 0 4px 0 var(--edge), 0 6px 10px rgba(22, 26, 19, .2), inset 0 1px 0 rgba(255, 255, 255, .14); }
.key.big { min-height: 58px; padding: 0 1.6em; font-size: 1.1875rem; border-radius: 16px; }
.key.small { min-height: 38px; padding: 0 .95em; font-size: var(--fs-1); border-radius: 10px; box-shadow: 0 3px 0 var(--edge), 0 4px 7px rgba(22, 26, 19, .14), inset 0 1px 0 rgba(255, 255, 255, .55); }
.key.small:active { transform: translateY(2px); }
.key svg { width: 1.1em; height: 1.1em; flex: none; }
.plain { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.plain:hover { text-decoration-thickness: .14em; }

/* ---------- LCD: where values are shown */
.lcd {
  position: relative; background: linear-gradient(180deg, var(--lcd-lo) 0%, var(--lcd) 22%, var(--lcd) 100%);
  color: var(--pixel); border-radius: 8px; font-family: var(--display); font-weight: 900; letter-spacing: .03em;
  /* Doto's dots are fine even at 900: a hair of stroke makes them read as lit pixels, the offset shadow is the LCD's own */
  -webkit-text-stroke: .034em var(--pixel); text-shadow: .07em .07em 0 rgba(30, 41, 24, .16);
  box-shadow: inset 0 3px 7px rgba(22, 30, 16, .34), inset 0 0 0 1px rgba(22, 30, 16, .22);
}
.lcd-frame { background: var(--shell-lo); padding: 9px; border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 1px 0 rgba(255, 255, 255, .5); }
.lcd .dim { opacity: .55; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 900 1.6rem/1 var(--text); letter-spacing: -.045em; }
.brand svg { width: 30px; height: 38px; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 30px); margin-left: auto; font-weight: 600; font-size: var(--fs-2); }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current='page'] { border-bottom-color: var(--ink); }
.top-x { display: inline-flex; padding: 8px; margin: -8px; }
.top-x svg { width: 19px; height: 19px; }
/* the credit window in the header: a small LCD you can press */
.credit { display: inline-flex; align-items: center; border: 0; padding: 5px; border-radius: 12px; background: var(--shell-lo); box-shadow: 0 3px 0 #000, 0 5px 9px rgba(22, 26, 19, .2); transition: transform .06s; }
.credit:active { transform: translateY(2px); box-shadow: 0 1px 0 #000; }
.credit .lcd { padding: 6px 12px 5px; font-size: 1.25rem; line-height: 1; min-width: 86px; text-align: right; border-radius: 7px; }
.menu-btn { display: none; }

/* ---------- the phone */
.phone { --w: 330px; position: relative; width: var(--w); flex: none; transform: rotate(-6deg); filter: drop-shadow(26px 38px 26px rgba(40, 52, 30, .32)) drop-shadow(4px 6px 3px rgba(20, 26, 15, .3)); }
.phone-antenna { position: absolute; left: 44px; top: -30px; width: 30px; height: 46px; border-radius: 12px 12px 4px 4px; background: linear-gradient(90deg, var(--shell-lo), var(--shell-hi) 45%, var(--shell) 70%, var(--shell-lo)); }
.phone-body {
  position: relative; padding: 26px 22px 30px; border-radius: 46px 46px 58px 58px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .13), transparent 60%),
    linear-gradient(90deg, #16181b 0%, var(--shell) 7%, var(--shell-hi) 22%, var(--shell) 55%, var(--shell) 90%, #131517 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .22), inset 0 -8px 14px rgba(0, 0, 0, .5), inset 2px 0 2px rgba(255, 255, 255, .06);
}
.phone-ear { display: flex; justify-content: center; gap: 7px; margin-bottom: 14px; }
.phone-ear i { width: 30px; height: 5px; border-radius: 3px; background: #0b0c0d; box-shadow: 0 1px 0 rgba(255, 255, 255, .13); }
.phone-ear i:nth-child(1), .phone-ear i:nth-child(3) { width: 14px; }
.phone-name { display: block; text-align: center; font: 800 .8125rem/1 var(--text); letter-spacing: .32em; text-transform: uppercase; color: #9aa091; margin: 0 0 12px .32em; }
.phone-glass { padding: 12px 12px 13px; border-radius: 22px 22px 28px 28px; background: linear-gradient(180deg, #0c0d0f, #18191c); box-shadow: inset 0 2px 6px #000, 0 1px 0 rgba(255, 255, 255, .12); }
.phone-glass .lcd { height: 196px; padding: 12px 14px 12px; border-radius: 9px 9px 14px 14px; display: flex; flex-direction: column; overflow: hidden; }
.lcd-status { display: flex; align-items: flex-end; justify-content: space-between; height: 16px; margin-bottom: 10px; font-size: .8125rem; line-height: 1; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 4px; background: var(--pixel); }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 7px; } .bars i:nth-child(3) { height: 10px; } .bars i:nth-child(4) { height: 14px; }
.batt { position: relative; width: 26px; height: 12px; border: 2px solid var(--pixel); padding: 1px; display: flex; gap: 1px; }
.batt::after { content: ''; position: absolute; right: -5px; top: 2px; width: 3px; height: 4px; background: var(--pixel); }
.batt i { flex: 1; background: var(--pixel); }
.lcd-lines { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; font-size: 1.5rem; line-height: 1.02; text-transform: uppercase; }
.lcd-lines .big { font-size: 2.6rem; line-height: 1; letter-spacing: .01em; }
.lcd-lines .small { font-size: 1.0625rem; }
.lcd-soft { display: flex; justify-content: space-between; font-size: .9375rem; line-height: 1; text-transform: uppercase; padding-top: 8px; border-top: 2px solid var(--pixel); }
.caret::after { content: ''; display: inline-block; width: .55em; height: .9em; margin-left: .12em; background: var(--pixel); vertical-align: -.08em; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.phone-nav { display: grid; grid-template-columns: 1fr 86px 1fr; align-items: center; gap: 12px; margin: 20px 4px 16px; }
.pkey { border: 0; height: 44px; border-radius: 22px 12px 12px 22px; display: grid; place-items: center; color: #10130d; background: linear-gradient(180deg, var(--signal-hi), var(--signal) 55%, #e2560c); box-shadow: 0 4px 0 var(--signal-lo), 0 6px 8px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .06s, box-shadow .06s; }
.pkey:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--signal-lo), 0 2px 3px rgba(0, 0, 0, .45); }
.pkey svg { width: 24px; height: 24px; }
.pkey.end { border-radius: 12px 22px 22px 12px; background: linear-gradient(180deg, #474c53, #2f3338 55%, #25282c); color: #ef6a55; box-shadow: 0 4px 0 #0a0b0c, 0 6px 8px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .16); }
.dpad { height: 54px; border-radius: 27px; background: radial-gradient(circle at 50% 50%, #5b6068 0 16px, #1d2023 17px 19px, #3d4147 20px); box-shadow: 0 4px 0 #0a0b0c, 0 6px 8px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .2); }
.phone-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px 12px; }
.phone-pad span { height: 44px; border-radius: 13px; display: flex; align-items: baseline; justify-content: center; gap: 6px; padding-top: 10px; background: linear-gradient(180deg, #fbfbf6, #e9e9df 55%, #d9dace); color: #1b1e18; font: 800 1.3125rem/1 var(--text); box-shadow: 0 4px 0 #8e9184, 0 6px 8px rgba(0, 0, 0, .45), inset 0 1px 0 #fff; }
.phone-pad small { font: 700 .5625rem/1 var(--text); letter-spacing: .09em; color: #6a6f62; }
.phone-mic { width: 9px; height: 9px; border-radius: 50%; background: #0b0c0d; margin: 20px auto 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .14); }

/* ---------- home */
.hero { padding: clamp(28px, 6vw, 76px) 0 clamp(56px, 8vw, 110px); overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 6vw, 90px); }
.hero h1 { font: 900 var(--fs-5)/.94 var(--text); letter-spacing: -.045em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--signal-lo); }
.hero .lead { margin-top: 26px; max-width: 31em; font-size: clamp(1.125rem, 1rem + .6vw, 1.4375rem); line-height: 1.42; color: #2a3124; text-wrap: pretty; }
.hero .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 36px; }
.hero .phone { margin: 34px clamp(0px, 3vw, 46px) 34px 0; }

.band { padding: clamp(52px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.band h2 { font: 900 var(--fs-4)/1.02 var(--text); letter-spacing: -.035em; text-wrap: balance; }
.band .intro { margin-top: 14px; max-width: 38em; color: #2a3124; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 84px); align-items: start; }

/* price list */
.prices { width: 100%; border-collapse: collapse; font-size: var(--fs-2); }
.prices th { text-align: left; font: 600 var(--fs-0)/1.2 var(--text); color: var(--mute); padding: 0 0 10px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.prices td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.prices .n { text-align: right; font-family: var(--mono); font-size: .9375rem; white-space: nowrap; padding-left: 18px; }
.prices th.n { font-family: var(--text); font-size: var(--fs-0); }
.prices td:first-child { font-weight: 700; padding-right: 12px; }
.prices caption { caption-side: bottom; text-align: left; padding-top: 12px; font-size: var(--fs-0); color: var(--mute); }
.prices .id { display: block; font: 400 var(--fs-0)/1.3 var(--mono); color: var(--mute); overflow-wrap: anywhere; }
.prices .tag { font: 600 var(--fs-0)/1 var(--text); color: var(--signal-lo); margin-left: 8px; }
.prices tbody tr:hover td { background: color-mix(in srgb, var(--ground-hi) 70%, transparent); }
.more { display: inline-block; margin-top: 22px; font-weight: 700; }

/* code */
.code { background: var(--shell-lo); color: #e7ecd9; border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 26px rgba(22, 26, 19, .18); }
.code-tabs { display: flex; align-items: center; gap: 4px; padding: 8px 8px 0 10px; }
.code-tabs button { background: none; border: 0; padding: 9px 13px; border-radius: 9px 9px 0 0; font: 600 var(--fs-1)/1 var(--text); color: #9aa58a; }
.code-tabs button[aria-selected='true'] { background: #24282b; color: #f1f3ea; }
.code-tabs .copy { margin-left: auto; margin-bottom: 6px; }
.code pre { margin: 0; padding: 20px 22px 22px; background: #24282b; overflow-x: auto; font: 400 .875rem/1.65 var(--mono); tab-size: 2; }
.code pre .c { color: #8f9a80; } .code pre .s { color: #c9e29a; } .code pre .k { color: #ffa46b; }
.copy { background: #33383d; color: #e7ecd9; border: 0; border-radius: 8px; padding: 7px 11px; font: 600 var(--fs-0)/1 var(--text); }
.copy:hover { background: #40464c; }
.copy.done { background: var(--lcd); color: var(--pixel); }

/* the dark band: the phone's shell as ground */
.band.dark { background: var(--shell-lo); color: #eef1e6; border-top: 0; }
.band.dark .intro { color: #b4bda3; }
.band.dark .code { box-shadow: none; background: #0e0f11; }
.band.dark + .band { border-top: 0; }

/* what is kept */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 5vw, 64px); }
.ledger { margin-top: clamp(26px, 4vw, 44px); }
.ledger h3 { font: 800 var(--fs-3)/1.1 var(--text); letter-spacing: -.02em; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.ledger .lcd-frame { margin-top: 18px; }
.mem { margin: 0; padding: 8px 18px; counter-reset: mem; font: 500 var(--fs-1)/1.4 var(--mono); letter-spacing: 0; -webkit-text-stroke: 0; text-shadow: none; }
.ledger .mem li { display: grid; grid-template-columns: 2.2em 1fr; align-items: baseline; padding: 12px 0; border-bottom: 2px dotted rgba(30, 41, 24, .34); counter-increment: mem; }
.ledger .mem li:last-child { border-bottom: 0; }
.mem li::before { content: counter(mem, decimal-leading-zero); font: 900 1.25rem/1 var(--display); -webkit-text-stroke: .034em var(--pixel); }
.ledger li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.ledger .no li { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--bad); }
.fine { margin-top: 26px; max-width: 46em; color: #2a3124; }

/* questions */
.qa { border-top: 2px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 0; font: 700 1.1875rem/1.3 var(--text); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font: 400 1.6rem/1 var(--mono); color: var(--mute); flex: none; }
.qa details[open] summary::after { content: '\2212'; }
.qa p { padding: 0 0 20px; max-width: 44em; color: #2a3124; }

.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: var(--fs-1); color: var(--mute); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: baseline; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.foot a { color: var(--ink); font-weight: 600; }
.foot p { max-width: 40em; }

/* ---------- the account sheet */
dialog.sheet {
  width: min(100% - 24px, 500px); max-height: min(100dvh - 24px, 860px); padding: 0; border: 0; border-radius: 26px;
  background: var(--ground-hi); color: var(--ink); overflow: auto;
  box-shadow: 0 0 0 1px rgba(22, 26, 19, .08), 0 34px 80px rgba(22, 30, 16, .42);
}
dialog.sheet::backdrop { background: rgba(26, 32, 22, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
dialog.sheet[open] { animation: rise .22s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes rise { from { transform: translateY(14px) scale(.985); opacity: 0; } }
.sheet-in { padding: 26px 26px 28px; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sheet-head h2 { font: 900 1.75rem/1.05 var(--text); letter-spacing: -.035em; }
.x { background: none; border: 0; width: 40px; height: 40px; margin: -8px -10px 0 0; border-radius: 10px; font: 400 1.7rem/1 var(--mono); color: var(--mute); }
.x:hover { background: var(--ground-lo); color: var(--ink); }
.sheet p { font-size: var(--fs-1); line-height: 1.5; }
.sheet .lcd-frame { margin: 4px 0 16px; }
.keyline { padding: 15px 16px 13px; font: 500 1rem/1.4 var(--mono); letter-spacing: 0; word-break: break-all; user-select: all; -webkit-text-stroke: 0; text-shadow: none; }
.balance-lcd { padding: 16px 18px 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.balance-lcd b { font-size: 3rem; line-height: .9; font-weight: 900; }
.balance-lcd span { font-size: 1rem; line-height: 1.1; text-transform: uppercase; text-align: right; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.spread { justify-content: space-between; }
.row.center { justify-content: center; }
.full { width: 100%; }
.gap-top { margin-top: 22px; }
.warn { margin: 20px 0 22px; padding-left: 14px; border-left: 4px solid var(--signal); }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr) 1.25fr; gap: 9px; margin: 6px 0 18px; }
.amounts .key { padding: 0; min-height: 46px; }
.amounts .key[aria-pressed='true'] { --face: var(--shell); --edge: #000; --on: var(--lcd); }
.amounts label { position: relative; display: block; }
.amounts label span { position: absolute; left: 12px; top: 50%; translate: 0 -50%; font-weight: 700; pointer-events: none; }
.amounts input { width: 100%; height: 49px; padding: 0 8px 0 26px; border: 2px solid var(--ink); border-radius: 13px; background: #fff; font: 700 var(--fs-2)/1 var(--text); }
.pay { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; align-items: start; }
.qr { width: 148px; height: 148px; background: #fff; padding: 8px; border-radius: 12px; box-shadow: 0 0 0 2px var(--ink); }
.qr svg, .qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.field { margin-bottom: 12px; }
.field > span { display: block; font: 600 var(--fs-0)/1.2 var(--text); color: var(--mute); margin-bottom: 5px; }
.field .val { display: flex; align-items: flex-start; gap: 8px; }
.field .val b { flex: 1; min-width: 0; font: 500 .8125rem/1.4 var(--mono); overflow-wrap: anywhere; }
.field .val b.amt { font: 700 1.375rem/1.1 var(--mono); letter-spacing: -.01em; }
.mini { background: var(--ink); color: var(--ground-hi); border: 0; border-radius: 8px; padding: 7px 10px; font: 600 var(--fs-0)/1 var(--text); flex: none; }
.mini:hover { background: #2c3327; }
.mini.done { background: var(--good); }
.status { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--ground-lo); font-weight: 600; font-size: var(--fs-1); }
.status.seen { background: #f5dcc4; }
.status.ok { background: var(--lcd); color: var(--pixel); }
.wait { width: 30px; height: 12px; flex: none; background: linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px, var(--ink) 12px 18px, transparent 18px 24px, var(--ink) 24px 30px); animation: wait 1.2s steps(4) infinite; }
@keyframes wait { 0% { clip-path: inset(0 100% 0 0); } 25% { clip-path: inset(0 60% 0 0); } 50% { clip-path: inset(0 20% 0 0); } 75%, 100% { clip-path: inset(0 0 0 0); } }
.notes { margin-top: 16px; font-size: var(--fs-0); color: var(--mute); line-height: 1.5; }
.notes a { color: var(--ink); font-weight: 600; }
.payments { margin-top: 20px; border-top: 2px solid var(--ink); }
.payments li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-1); }
.payments li span:last-child { font-family: var(--mono); font-size: var(--fs-0); color: var(--mute); text-align: right; }
.sheet-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--fs-1); }
.sheet-foot .danger { color: var(--bad); }
.paste { display: flex; gap: 10px; margin-top: 12px; }
.paste input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 13px; background: #fff; font: 500 var(--fs-1)/1 var(--mono); }
.err { color: var(--bad); font-weight: 600; margin-top: 10px; font-size: var(--fs-1); }
.credited { text-align: center; padding: 6px 0 4px; }
.credited .lcd { padding: 26px 16px 20px; }
.credited .lcd small { display: block; font-size: 1.0625rem; text-transform: uppercase; margin-bottom: 6px; }
.credited .lcd b { display: block; font-size: 4rem; line-height: .9; font-weight: 900; }
.credited p { margin: 16px 0 20px; font-size: var(--fs-2); }

.toast { position: fixed; left: 50%; bottom: 26px; translate: -50% 0; z-index: 90; background: var(--ink); color: var(--ground-hi); padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: var(--fs-1); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); animation: rise .2s ease-out; max-width: calc(100% - 32px); }

/* ---------- text pages */
.page { padding: clamp(30px, 6vw, 70px) 0 clamp(60px, 8vw, 110px); }
.page h1 { font: 900 clamp(2.4rem, 1.4rem + 4vw, 4rem)/.98 var(--text); letter-spacing: -.04em; text-wrap: balance; }
.page .lead { margin-top: 18px; max-width: 36em; font-size: 1.25rem; line-height: 1.45; color: #2a3124; }
.prose { max-width: 44em; }
.prose h2 { font: 900 1.75rem/1.1 var(--text); letter-spacing: -.03em; margin: 52px 0 14px; }
.prose h3 { font: 800 1.1875rem/1.2 var(--text); margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul { list-style: square; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose code { font: 500 .9em var(--mono); background: var(--ground-lo); padding: .12em .38em; border-radius: 5px; }
.prose .code { margin: 16px 0 22px; }
.prose .code code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: var(--fs-1); }
.prose th { text-align: left; font-weight: 700; border-bottom: 2px solid var(--ink); padding: 8px 12px 8px 0; }
.prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }

/* ---------- small screens */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .phone { --w: min(330px, 78vw); margin: 44px auto 10px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; inset: 74px 0 auto 0; z-index: 29; flex-direction: column; gap: 0; padding: 6px var(--gutter) 18px; background: var(--ground); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(22, 26, 19, .14); font-size: 1.25rem; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; margin-right: -8px; background: none; border: 0; border-radius: 10px; }
  .menu-btn svg { width: 24px; height: 24px; }
  .top .wrap { gap: 12px; }
  .top-x { display: none; }
  .brand { font-size: 1.4rem; }
  .ledger { grid-template-columns: 1fr; gap: 34px; }
  .prices .ctx { display: none; }
  .pay { grid-template-columns: 1fr; }
  .qr { margin-inline: auto; }
  .amounts { grid-template-columns: repeat(4, 1fr); }
  .amounts label { grid-column: 1 / -1; }
  .sheet-in { padding: 22px 18px 24px; }
  .hero .acts .key.big { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
