/* The sign-up, account and download pages (signup.html, account.html,
   download.html). Loaded after site.css. One question per screen, a receipt
   that follows the order on wide screens, light and dark from the computer. */

body.flow {
  --err: #A3271A; --err-soft: #FBE4DF; --ok-soft: #E3F1E8;
  --field: #FFFFFF; --field-line: rgba(23,23,26,.16);
  --choice: #FFFFFF; --choice-on: #FFEDE4; --choice-on-ink: #8A3410;
  --sig: "Segoe Script", "Brush Script MT", cursive; /* Windows own script face: nothing loaded from another site */
  --win: #F3F3F3; --win-ink: #1B1B1B; --win-line: #E1E1E1; --win-blue: #005FB8; --win-blue-ink: #FFFFFF; --win-btn: #FBFBFB; --win-btn-line: #D1D1D1; --edge: #F7F7F7;
  background: var(--bg);
}
@media (prefers-color-scheme: dark) {
  body.flow {
    --bg: #141416; --paper-2: #1C1C1F; --paper-3: #26262A; --surface: #1E1E21; --surface-2: #26262A;
    --ink: #F3F3F5; --text: #F3F3F5; --text-2: #C4C4CA; --muted: #9C9CA4; --dim: #5A5A62;
    --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
    --accent: #E07C52; --accent-ink: #1A0E08; --accent-soft: #3A2419;
    --err: #FF9C8A; --err-soft: #3A1F1B; --ok: #6BC28F; --ok-soft: #1D3326;
    --field: #26262A; --field-line: rgba(255,255,255,.16);
    --choice: #232327; --choice-on: #3A2419; --choice-on-ink: #FFB792;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -14px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 40px 80px -30px rgba(0,0,0,.7);
    --win: #202020; --win-ink: #F2F2F2; --win-line: #353535; --win-blue: #4CC2FF; --win-blue-ink: #000000; --win-btn: #373737; --win-btn-line: #4A4A4A; --edge: #2B2B2B;
    color-scheme: dark;
  }
  body.flow .bar { background: rgba(20,20,22,.82); }
  body.flow .mark .w { filter: invert(1) hue-rotate(180deg); }
  body.flow .btn:hover { background: #EC8A60; }
  body.flow .btn.soft { background: rgba(255,255,255,.09); color: var(--text); }
  body.flow .btn.soft:hover { background: rgba(255,255,255,.14); }
  body.flow footer { background: #0E0E10; }
}

/* ---------- the progress line under the bar ---------- */
.progress { position: sticky; top: 64px; z-index: 19; height: 3px; background: var(--line); }
.progress i { display: block; height: 100%; width: var(--p, 0%); background: var(--accent); border-radius: 0 2px 2px 0; transition: width .6s var(--ease); }
.progress[hidden] { display: none; }

/* ---------- the stage: the question, and the receipt beside it ---------- */
.stage { padding: 48px 0 96px; min-height: calc(100vh - 64px - 120px); }
.stage .wrap { display: grid; grid-template-columns: minmax(0, 600px) minmax(300px, 360px); gap: 64px; justify-content: space-between; align-items: start; }
.stage.wide .wrap { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1040px) { .stage .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.q { position: relative; outline: none; }
.q-top { display: flex; align-items: center; gap: 14px; min-height: 36px; margin-bottom: 18px; }
.back { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 8px; margin-left: -8px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font: 600 15px/1 var(--ui); cursor: pointer; }
.back:hover { background: var(--line); color: var(--text); }
.back svg { width: 18px; height: 18px; }
.back[hidden] { display: none; }
.count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* Finish later at the far end of the top line; the rep who is helping, quietly above the question. */
.q-top .later { margin-left: auto; border: 0; background: none; height: 36px; padding: 0 4px; font: 600 15px/1 var(--ui); color: var(--text-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.q-top .later:hover { color: var(--text); text-decoration-color: currentColor; }
.q-top .later:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.q-top .later.busy { opacity: .6; pointer-events: none; }
.helper { margin: -4px 0 12px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.later-ask { margin: 0 0 24px; }
.q h1 { font: 800 clamp(30px, 4.2vw, 46px)/1.05 var(--display); letter-spacing: -.035em; text-wrap: balance; max-width: 18ch; }
.q .lead { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 52ch; }
.q .lead b { color: var(--text); }
.q-body { margin-top: 32px; }
.acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.acts .quiet { border: 0; background: none; padding: 8px 4px; font: 600 15px/1.2 var(--ui); color: var(--text-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.acts .quiet:hover { color: var(--text); text-decoration-color: currentColor; }

/* moving between screens: where you went is where it came from */
.q.in-fwd { animation: inFwd .45s var(--ease) both; }
.q.in-back { animation: inBack .45s var(--ease) both; }
@keyframes inFwd { from { opacity: 0; transform: translateX(28px); } }
@keyframes inBack { from { opacity: 0; transform: translateX(-28px); } }
@media (prefers-reduced-motion: reduce) { .q.in-fwd, .q.in-back { animation: none; } .progress i { transition: none; } }
/* Each question's parts rise in one after another, behind the slide (round two: motion between the steps). The done mark keeps its own pop. */
.q.in-fwd > :not(.done-mark):not(.signed-moment), .q.in-back > :not(.done-mark):not(.signed-moment) { animation: qRise .5s var(--ease) both; }
.q.in-fwd > :nth-child(2), .q.in-back > :nth-child(2) { animation-delay: .05s; }
.q.in-fwd > :nth-child(3), .q.in-back > :nth-child(3) { animation-delay: .1s; }
.q.in-fwd > :nth-child(4), .q.in-back > :nth-child(4) { animation-delay: .15s; }
.q.in-fwd > :nth-child(n+5), .q.in-back > :nth-child(n+5) { animation-delay: .2s; }
@keyframes qRise { from { opacity: 0; transform: translateY(10px); } }
/* The opening: Keyturn's mark turns in like a key while the sign-up loads. */
.opening { width: 76px; height: 76px; margin-bottom: 22px; }
.opening img { width: 100%; height: 100%; transform-origin: 50% 55%; animation: keyturn 1s cubic-bezier(.34, 1.4, .5, 1) both; }
.opening-words { animation: qRise .5s .45s var(--ease) both; }
@keyframes keyturn { from { opacity: 0; transform: rotate(-75deg) scale(.55); } 70% { opacity: 1; } }
/* The papers signed: a tangerine check draws itself over the screen before paying. */
.signed-moment { position: fixed; inset: 67px 0 0 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 16px; background: var(--bg); animation: qFade .25s var(--ease) both; }
.signed-moment p { margin: 0; font: 800 26px/1.15 var(--display); letter-spacing: -.02em; color: var(--text); animation: qRise .45s .6s var(--ease) both; }
.signed-mark { width: 92px; height: 92px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 18px 40px -16px var(--accent); animation: pop .5s var(--ease) both; }
.signed-mark svg { width: 46px; height: 46px; clip-path: inset(0 100% 0 0); animation: drawIn .55s .3s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes drawIn { to { clip-path: inset(0 0 0 0); } }
@keyframes qFade { from { opacity: 0; } }
/* Opening day: sparks fly from the done mark, and the shop's name sits over the day it opened. */
.done-mark.burst { position: relative; overflow: visible; }
.done-mark.burst i { position: absolute; left: 50%; top: 50%; width: 7px; height: 14px; margin: -7px 0 0 -3.5px; border-radius: 3px; background: var(--accent); opacity: 0; transform: rotate(var(--a)) translateY(0); animation: spark .9s .25s var(--ease) forwards; }
.done-mark.burst i:nth-child(3n) { background: var(--ink); }
.done-mark.burst i:nth-child(3n+1) { background: #FFB48F; }
@keyframes spark { 0% { opacity: 0; transform: rotate(var(--a)) translateY(-20px); } 20% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-78px); } }
.opened { margin: 4px 0 0; font: 700 15px/1.3 var(--ui); color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .q.in-fwd > *, .q.in-back > *, .opening img, .opening-words, .signed-moment, .signed-moment p, .signed-mark { animation: none; }
  .signed-mark svg { animation: none; clip-path: none; }
  .done-mark.burst i { display: none; }
}

/* ---------- buttons: busy, and blocked (says in red what is missing) ---------- */
.btn:focus-visible, .back:focus-visible, .acts .quiet:focus-visible, .choice:focus-visible, .tick input:focus-visible + span, .link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn.busy { pointer-events: none; color: transparent; position: relative; }
.btn.busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent-ink); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.soft.busy::after { border-color: var(--text); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(1turn); } }
.btn.blocked { background: var(--err-soft); color: var(--err); }
.btn.blocked:hover { background: var(--err-soft); transform: none; }
.btn.go { min-width: 140px; }

/* ---------- fields ---------- */
.fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 14px; }
.f { grid-column: span 6; display: flex; flex-direction: column; gap: 7px; }
.f.h { grid-column: span 3; } .f.t { grid-column: span 2; } .f.w4 { grid-column: span 4; }
@media (max-width: 560px) { .f.h, .f.t, .f.w4 { grid-column: span 6; } .f.t.pair, .f.h.pair { grid-column: span 3; } }
.f label, .f .label { font-size: 15px; font-weight: 600; color: var(--text); }
.f input, .f select { height: 50px; width: 100%; padding: 0 14px; border-radius: 12px; border: 1px solid transparent; background: var(--field); box-shadow: 0 1px 2px rgba(23,23,26,.06), 0 6px 16px -10px rgba(23,23,26,.22); font: 500 16px/1.2 var(--ui); color: var(--text); transition: box-shadow .15s; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.f input:focus, .f select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.f input[aria-invalid="true"], .f select[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); }
.f .err { font-size: 14px; font-weight: 600; color: var(--err); }
/* The password's strength as it is typed: a bar that fills and the words for it, red where it can't be used, amber fair, green good. */
.pw-meter { height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; display: none; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--err); transition: width .35s var(--ease), background .35s var(--ease); }
.pw-words { font-size: 14px; font-weight: 600; color: var(--err); }
.pw-on .pw-meter { display: block; }
[data-pw="2"] .pw-meter i { background: var(--warn); } [data-pw="2"] .pw-words { color: var(--warn); }
[data-pw="3"] .pw-meter i, [data-pw="4"] .pw-meter i { background: var(--ok); } [data-pw="3"] .pw-words, [data-pw="4"] .pw-words { color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .pw-meter i { transition: none; } }
.f .err:empty { display: none; }
.f input::placeholder { color: var(--dim); }
.stepper { display: flex; align-items: center; height: 50px; border-radius: 12px; background: var(--field); box-shadow: 0 1px 2px rgba(23,23,26,.06), 0 6px 16px -10px rgba(23,23,26,.22); }
.stepper button { width: 46px; height: 100%; border: 0; background: none; color: var(--text); font: 600 22px/1 var(--ui); cursor: pointer; border-radius: 12px; }
.stepper button:hover { background: var(--line); }
.stepper button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.stepper output { flex: 1; text-align: center; font: 700 17px/1 var(--ui); font-variant-numeric: tabular-nums; }
.note-err { margin-top: 18px; color: var(--err); font-weight: 600; font-size: 15.5px; line-height: 1.45; max-width: 60ch; }
.note-err:empty, .note-err[hidden] { display: none; }

/* ---------- filled choice cards (no outlines) ---------- */
.choices { display: grid; gap: 10px; }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .choices.three { grid-template-columns: 1fr; } }
.choice { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 0; border-radius: 14px; background: var(--choice); box-shadow: var(--shadow); text-align: left; cursor: pointer; color: var(--text); font: inherit; transition: background .2s var(--ease), transform .2s var(--ease); }
.choice:hover { transform: translateY(-1px); }
.choice b { font: 700 18px/1.2 var(--display); letter-spacing: -.01em; }
.choice .p { font: 700 15px/1.3 var(--ui); font-variant-numeric: tabular-nums; }
.choice .s { font-size: 14px; line-height: 1.4; color: var(--text-2); }
.choice[aria-checked="true"], .choice[aria-pressed="true"] { background: var(--choice-on); box-shadow: none; }
.choice[aria-checked="true"] .s, .choice[aria-pressed="true"] .s { color: var(--choice-on-ink); }
.seg { display: inline-flex; gap: 26px; }
.seg button { position: relative; padding: 8px 0; border: 0; background: none; cursor: pointer; font: 600 16px/1.2 var(--ui); color: var(--muted); }
.seg button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.seg button[aria-pressed="true"] { color: var(--text); }
.seg button[aria-pressed="true"]::after { transform: scaleX(1); }
.seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.row-line { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.today { margin-top: 22px; font-size: 16px; line-height: 1.5; color: var(--text); max-width: 56ch; }

/* ---------- the receipt (the order, following every answer) ---------- */
.receipt { position: sticky; top: 100px; padding: 26px 26px 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); }
.receipt[hidden] { display: none; }
.receipt .who { font-size: 14px; color: var(--muted); min-height: 20px; }
.receipt h2 { margin-top: 4px; font: 800 30px/1.05 var(--display); letter-spacing: -.03em; }
.receipt .per { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.receipt dl { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.receipt dl div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 15px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.receipt dl dd { margin: 0; color: var(--text); font-weight: 600; }
.receipt dl .grand { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 16px; color: var(--text); font-weight: 700; }
.receipt .then { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.receipt .fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.receipt.pulse { animation: pulse .5s var(--ease); }
@keyframes pulse { 40% { transform: scale(1.012); } }
@media (max-width: 1040px) { .receipt { position: static; } }
@media (prefers-reduced-motion: reduce) { .receipt.pulse { animation: none; } }

/* ---------- the code boxes (one code box everywhere: 56 by 64, filled when typed) ---------- */
.code { display: flex; gap: 10px; }
.code input { width: 56px; height: 64px; padding: 0; border: 0; border-radius: 12px; text-align: center; font: 800 26px/1 var(--ui); color: var(--text); background: var(--field); box-shadow: 0 1px 2px rgba(23,23,26,.06), 0 6px 16px -10px rgba(23,23,26,.22); caret-color: var(--accent); }
.code input:not(:placeholder-shown) { background: var(--choice-on); box-shadow: none; }
.code input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.code.bad input { box-shadow: inset 0 0 0 2px var(--err); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (max-width: 420px) { .code { gap: 6px; } .code input { width: calc((100vw - 32px - 30px) / 6); height: 58px; } }
/* The Application PIN: four larger boxes that turn the accent together when it is right. */
.code.pin { gap: 14px; margin-top: 6px; }
.code.pin input { width: 68px; height: 78px; font-size: 30px; border-radius: 16px; }
.code.good input { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px var(--accent); animation: pinIn .45s var(--ease) both; }
.code.good input:nth-child(2) { animation-delay: .04s; } .code.good input:nth-child(3) { animation-delay: .08s; } .code.good input:nth-child(4) { animation-delay: .12s; }
@keyframes pinIn { 40% { transform: translateY(-6px) scale(1.04); } }
@media (max-width: 420px) { .code.pin input { width: 60px; height: 70px; } }
@media (prefers-reduced-motion: reduce) { .code.bad input, .code.good input { animation: none; } }

/* ---------- the papers: each document in full, its own box ---------- */
.docs { display: flex; flex-direction: column; gap: 14px; }
.doc { border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.doc-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.doc-head h2 { font: 700 18px/1.25 var(--display); flex: 1; }
.doc-head .v { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.doc-text { max-height: 340px; overflow: auto; padding: 4px 22px 18px; margin: 0 6px; background: var(--surface-2); border-radius: 12px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.doc-text:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.doc-text h1 { display: none; }
.doc-text h2, .doc-text h3 { margin: 18px 0 6px; font: 700 15.5px/1.3 var(--display); color: var(--text); }
.doc-text p, .doc-text ul { margin: 0 0 10px; }
.doc-text ul { padding-left: 20px; }
.doc-text strong { color: var(--text); }
.doc-text a { text-decoration: underline; }
.tick { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px 18px; cursor: pointer; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick span.box { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--paper-3); display: grid; place-items: center; transition: background .15s; }
.tick span.box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); color: var(--accent-ink); }
.tick input:checked + span.box { background: var(--accent); box-shadow: none; }
.tick input:checked + span.box svg { opacity: 1; transform: none; }
.tick input:focus-visible + span.box { outline: 2px solid var(--accent); outline-offset: 3px; }
.tick.missing span.box { box-shadow: inset 0 0 0 2px var(--err); }
.beside { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; padding: 18px 20px; border-radius: 16px; background: var(--paper-2); font-size: 15.5px; line-height: 1.5; color: var(--text); }
.beside p { position: relative; padding-left: 18px; }
.beside p::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- signing ---------- */
.sigline { margin-top: 26px; padding: 22px 24px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.sigline .ink { min-height: 64px; font: 400 36px/1.5 var(--sig); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1.5px solid var(--line-2); padding-bottom: 4px; }
.sigline .ink:empty::before { content: "Your signature"; font: 500 16px/64px var(--ui); color: var(--dim); }
.sigline .under { margin-top: 8px; font-size: 14px; color: var(--muted); }
.consent { margin-top: 18px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); max-width: 60ch; }

/* ---------- paying ---------- */
.pay-frame { min-height: 460px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); padding: 8px; }
.pay-frame:empty::before { content: ""; display: block; height: 440px; border-radius: 12px; background: var(--surface-2); animation: wait 1.4s ease-in-out infinite; }
.or { margin-top: 18px; font-size: 15px; color: var(--text-2); }

/* ---------- the finish ---------- */
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 22px; animation: pop .6s var(--ease) both; }
.done-mark svg { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .done-mark { animation: none; } }

/* ---------- the phone and tablet notice ---------- */
.away { margin-bottom: 26px; padding: 20px 22px; border-radius: 16px; background: var(--paper-2); }
.away p { font-size: 16px; line-height: 1.5; color: var(--text); }
.away .acts { margin-top: 16px; }
.away .f { margin-top: 14px; }
.sent { margin-top: 12px; font-weight: 600; color: var(--ok); }
.sent:empty { display: none; }

/* ---------- download help: the browser's own warnings ---------- */
.dlh { display: flex; flex-direction: column; gap: 28px; }
.dlh-lead { font-size: 17px; line-height: 1.55; color: var(--text); max-width: 64ch; }
.dlh-file { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.dlh-file .name { font-weight: 700; word-break: break-all; }
.dlh-file .size { color: var(--muted); font-size: 14.5px; }
.dlh-file .btn { margin-left: auto; }
@media (max-width: 560px) { .dlh-file .btn { margin-left: 0; width: 100%; } }
.dlh-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; counter-reset: s; }
.dlh-steps > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; counter-increment: s; }
.dlh-steps > li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 800 16px/1 var(--ui); grid-row: span 2; }
.dlh-steps h3 { font: 700 19px/1.3 var(--display); align-self: center; }
.dlh-steps .shot { grid-column: 2; }
.dlh-browsers { display: flex; gap: 26px; }
.dlh-help { padding: 20px 22px; border-radius: 16px; background: var(--paper-2); font-size: 16px; line-height: 1.5; }
.dlh-help a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Faithful pictures of the real dialogs, drawn in HTML with their own words (Windows 11 and the browsers use Segoe UI). */
.shot { margin: 10px 0 0; font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; color: var(--win-ink); max-width: 520px; }
.shot figcaption { margin-top: 8px; padding-left: 2px; font: 500 13.5px/1.4 var(--ui); color: var(--muted); }
.w-flyout { background: var(--edge); border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.24), 0 0 0 1px var(--win-line); padding: 12px; font-size: 14px; width: 360px; max-width: 100%; }
.w-flyout .ttl { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 14px; padding: 2px 4px 10px; }
.w-flyout .ttl i { display: inline-flex; gap: 14px; font-style: normal; color: #6b6b6b; font-size: 13px; letter-spacing: 2px; }
.w-item { display: grid; grid-template-columns: 30px 1fr; gap: 4px 10px; padding: 10px; border-radius: 6px; background: rgba(0,0,0,.04); }
.w-item .ic { width: 24px; height: 24px; border-radius: 4px; background: #E8A600; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; }
.w-item .msg { font-size: 13px; line-height: 1.35; }
.w-item .fn { font-size: 12.5px; color: #6b6b6b; word-break: break-all; }
.w-item .row { grid-column: 2; display: flex; gap: 8px; margin-top: 6px; }
.w-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 4px; font-size: 13.5px; background: var(--win-btn); box-shadow: 0 0 0 1px var(--win-btn-line) inset; color: var(--win-ink); white-space: nowrap; }
.w-btn.primary { background: var(--win-blue); color: var(--win-blue-ink); box-shadow: none; }
.w-btn.hl { box-shadow: 0 0 0 2px var(--accent), 0 0 0 1px #D1D1D1 inset; }
.w-menu { margin: 6px 0 0 auto; width: 210px; background: var(--edge); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.22), 0 0 0 1px var(--win-line); padding: 4px; font-size: 13.5px; }
.w-menu span { display: block; padding: 7px 10px; border-radius: 4px; }
.w-menu span.hl { background: rgba(0,0,0,.06); box-shadow: inset 3px 0 0 var(--accent); font-weight: 600; }
.w-dialog { background: var(--win); border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.24), 0 0 0 1px var(--win-line); width: 440px; max-width: 100%; overflow: hidden; font-size: 14px; }
.w-dialog .body { padding: 20px 24px 22px; }
.w-dialog h4 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.w-dialog p { font-size: 14px; line-height: 1.45; margin-bottom: 10px; }
.w-dialog .more { color: var(--win-blue); text-decoration: underline; }
.w-dialog .kv { font-size: 14px; line-height: 1.6; }
.w-dialog .foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px; background: rgba(0,0,0,.035); border-top: 1px solid var(--win-line); }
.w-dialog.ss { background: #0A5BB7; color: #fff; }
.w-dialog.ss h4 { font-size: 24px; font-weight: 400; }
.w-dialog.ss .more { color: #fff; }
.w-dialog.ss .foot { background: rgba(0,0,0,.08); border-top: 0; }
.w-dialog.ss .w-btn { background: transparent; color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.9) inset; border-radius: 0; }
.w-dialog.ss .w-btn.hl { box-shadow: 0 0 0 2px #fff inset, 0 0 0 3px var(--accent); }
.c-bar { background: var(--edge); border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.24), 0 0 0 1px var(--win-line); padding: 12px 14px; width: 380px; max-width: 100%; font-size: 13.5px; }

/* ---------- account ---------- */
.biz { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.biz-card { padding: 22px 24px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.biz-card h2 { font: 700 21px/1.2 var(--display); letter-spacing: -.01em; }
.biz-card .st { margin-top: 6px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); }
.biz-card .st i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.biz-card .st i.warn { background: var(--warn); }
.biz-card .st i.off { background: var(--dim); }
.biz-card .acts { margin-top: 18px; }
.biz-card .msg { margin-top: 12px; font-size: 14.5px; color: var(--text-2); }
.biz-card .msg:empty { display: none; }
.home-side { display: flex; flex-direction: column; gap: 12px; }
.side-card { padding: 22px 24px; border-radius: 16px; background: var(--paper-2); }
.side-card h3 { font: 700 17px/1.3 var(--display); }
.side-card p { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.side-card .btn { margin-top: 14px; }
.link { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.hidden { display: none !important; }
.dlh-h { font: 700 22px/1.25 var(--display); letter-spacing: -.01em; }
.dlh-lead { margin-top: 10px; }
.dlh-more { margin-top: 8px; }
.dlh-sub { grid-column: 2; margin-top: 4px; color: var(--text-2); }

/* The automatic renewal terms beside Sign: set apart, larger than the words around them (Va. Code 59.1-207.46). */
.renew { margin-top: 22px; padding: 22px 22px 6px; border-radius: 16px; background: var(--accent-soft); }
.renew h2 { font: 800 21px/1.25 var(--display); letter-spacing: -.01em; color: var(--text); }
.renew p { margin-top: 10px; font-size: 16.5px; line-height: 1.5; color: var(--text); max-width: 60ch; }
.renew .tick { padding: 16px 0 18px; font-size: 16.5px; }

/* A business Keyturn locked: the reason first, in red, then its records. */
.biz-card .lock { margin-top: 10px; font-size: 15.5px; font-weight: 600; color: var(--err); }

/* Address suggestions under the street box (js/address-suggest.js): a filled card lifted by its shadow, never outlined. */
.adr-host { position: relative; }
.adr-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 340px; overflow: auto; background: var(--field); border-radius: 14px; box-shadow: var(--shadow-lg, 0 2px 4px rgba(23,23,26,.08), 0 30px 60px -24px rgba(23,23,26,.35)); padding: 6px; }
.adr-list[hidden] { display: none; }
.adr-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.adr-row svg { color: var(--accent); flex: none; }
.adr-row:hover { background: var(--paper-2, rgba(23,23,26,.05)); }
.adr-row.on { background: var(--accent-soft); }
.adr-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.adr-words { display: flex; flex-direction: column; min-width: 0; }
.adr-words b { font: 600 15px/1.3 var(--ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adr-words small { font: 500 13.5px/1.3 var(--ui); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adr-trouble { margin: 6px 12px; font-size: 14px; color: var(--muted); }
.adr-credit { margin: 4px 12px; font-size: 12.5px; color: var(--muted); text-align: right; }

/* Download: the second platform's heading sits apart from the first, and the code to scan sits beside its words. */
.dl-os { margin-top: 56px; }
.dl-qr { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.dl-qr img { flex: none; width: 132px; height: 132px; border-radius: 8px; background: #fff; }
.dl-qr p { margin: 0; color: var(--text-2); max-width: 40ch; }
.dl-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 28px; }

/* Test at payment, until sales start (signup.js payTest): quiet, below the real ways to pay, and named Test. */
.test-pay { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.test-pay h2 { font: 700 17px/1.3 var(--display); color: var(--text); }
.test-pay p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--text-2); max-width: 56ch; }
