/* Website layout. Colours, type and shared pieces (buttons, life pills) come from tokens.css. */

.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.shell { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--sunk); padding: 1px 5px; border-radius: 4px; }

/* preview bar and nav */
/* fixed colours: built from --ink and --bg it turned into a bright strip in night mode */
.preview-bar { background: #141C2B; color: #F2F4F8; font-size: 13px; text-align: center; padding: 7px 16px; }
.nav { background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 750; font-size: 24px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.logo-paper { fill: var(--accent); }
.logo-line { fill: var(--bg); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { flex: none; }
@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links a:not([href="/pricing"]) { display: none; }
}

/* home: the nav sits on the hero colour */
[data-page="index"] .nav { background: var(--hero); border-bottom-color: transparent; }
[data-page="index"] .nav .logo { color: var(--hero-ink); }
[data-page="index"] .nav .logo-paper { fill: var(--hero-ink); }
[data-page="index"] .nav .logo-line { fill: var(--hero); }
[data-page="index"] .nav-links a { color: var(--hero-muted); }
[data-page="index"] .nav-links a:hover { color: var(--hero-ink); }
[data-page="index"] .nav-cta { background: var(--hero-ink); border-color: var(--hero-ink); color: var(--hero); }
[data-page="index"] .nav :focus-visible, .hero :focus-visible { outline-color: var(--hero-pop); }

/* hero */
.hero { background: var(--hero); color: var(--hero-ink); padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-stamp { color: var(--hero-muted); }
.hero h1 { font-size: clamp(48px, 8.2vw, 104px); font-weight: 800; line-height: 0.9; letter-spacing: -0.045em; }
.hero h1 .pop { color: var(--hero-pop); display: block; }
.hero-sub { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.45; color: var(--hero-muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pop-btn { background: var(--hero-pop); border-color: var(--hero-pop); color: #1B1300; font-size: 17px; padding: 14px 26px; }
.pop-btn:hover { border-color: #FFFFFF; }
.hero-note { font-size: 14px; color: var(--hero-muted); }

.pair-card { position: relative; background: var(--surface); color: var(--ink); border-radius: 6px 6px 18px 18px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; box-shadow: var(--shadow); transform: rotate(1.6deg); max-width: 360px; justify-self: end; width: 100%; }
/* the torn-off edge of a slip */
.pair-card::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px; background: radial-gradient(circle at 9px 7px, var(--hero) 6px, transparent 6.6px) 0 0 / 18px 14px repeat-x; }
.pair-head { display: flex; justify-content: space-between; width: 100%; }
.pair-card h2 { font-size: 24px; font-weight: 700; }
.pair-card p { font-size: 14px; color: var(--muted); }
.pair-card .qr { width: 196px; border: 1px solid var(--line); min-height: 196px; display: grid; place-items: center; }
.qr-wait { font-size: 13px; color: #566275; padding: 16px; }
.pair-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--timer); background: var(--timer-soft); padding: 5px 12px; border-radius: 999px; }
.pair-card .pair-status { color: var(--timer); }
.pair-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--timer-bar); }
.pair-status[data-state="waiting"] i { animation: pulse 1.4s ease-in-out infinite; }
.pair-status[data-state="joined"] { color: var(--keep); background: var(--keep-soft); }
.pair-card .pair-status[data-state="joined"] { color: var(--keep); }
.pair-status[data-state="joined"] i { background: var(--keep-bar); }
@keyframes pulse { 50% { opacity: 0.25; } }
.pair-card .btn { width: 100%; }
/* the card is white, so the amber ring used on the blue band would vanish here */
.pair-card :focus-visible { outline-color: var(--accent); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pair-card { justify-self: start; transform: none; }
}

/* sections */
.section { padding-block: clamp(48px, 7vw, 96px); display: flex; flex-direction: column; gap: 20px; }
.section.tight { padding-block: 8px clamp(32px, 5vw, 56px); }
.section.narrow, .page-head { max-width: 800px; }
.section > .stamp { color: var(--accent); }
.section-lede { font-size: 18px; color: var(--muted); max-width: 40em; }
.section-foot { font-size: 14px; color: var(--muted); max-width: 46em; }
.page-head { padding-block: clamp(40px, 6vw, 72px) 8px; display: flex; flex-direction: column; gap: 16px; }
.page-head .stamp { color: var(--accent); }
.page-head h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.draft { background: var(--timer-soft); color: var(--timer); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 500; }
.band { background: var(--sunk); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.two-col > div { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.two-col .stamp { color: var(--accent); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* old way vs new way */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin-top: 8px; }
@media (max-width: 720px) { .versus { grid-template-columns: 1fr; } }
.vs { border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); }
.vs-title { font-family: var(--display); font-weight: 700; font-size: 20px; }
.vs ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 8px; }
.vs li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.vs li::before { content: counter(s); font-family: var(--mono); font-size: 12px; font-weight: 500; width: 22px; height: 22px; border-radius: 50%; background: var(--sunk); color: var(--muted); display: inline-grid; place-items: center; flex: none; }
.vs-foot { font-size: 14px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.vs-new { border-color: var(--accent); box-shadow: var(--shadow); }
.vs-new li { color: var(--ink); font-weight: 500; }
.vs-new li::before { background: var(--accent); color: var(--accent-ink); }
.vs-new .vs-foot { color: var(--keep); font-weight: 600; }

/* steps */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps p { color: var(--muted); font-size: 15px; }
.step-n { font-family: var(--mono); font-weight: 500; font-size: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.steps.stacked { grid-template-columns: 1fr; }
.steps.stacked li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
.steps.stacked .step-n { grid-row: span 2; }
.steps.stacked p { grid-column: 2; }

.chips.big label { font-size: 15px; padding: 9px 16px; }
.life-say { color: var(--muted); min-height: 3em; }
.life-sample { display: flex; flex-direction: column; gap: 12px; }
.life-sample .slip { box-shadow: var(--shadow); transform: rotate(-1.2deg); }
@media (max-width: 800px) { .life-sample .slip { transform: none; } }

.w87 { width: 87%; }
@media (prefers-reduced-motion: reduce) { .slip.arrive, .pair-status i, .cta .pop-btn { animation: none !important; transition: none !important; } }
@media (prefers-reduced-motion: no-preference) {
  /* the first thing you see moving on the page should be the product working */
  .cta .pop-btn:hover { transform: translateY(-1px); }
  .cta .pop-btn { transition: transform 0.15s ease, border-color 0.15s ease; }
}

/* two-device demo */
.stage { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; justify-content: center; margin-top: 8px; }
.device { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.device.phone { width: 300px; max-width: 100%; }
.device.desk { flex: 1 1 500px; }
.phone-frame { border: 9px solid var(--ink); border-radius: 38px; background: var(--bg); height: 560px; display: flex; flex-direction: column; overflow: hidden; }
.desk-frame { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); height: 560px; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); }
html.night .phone-frame { border-color: #3A465A; }
/* on a phone the two frames stack; shorter frames keep the second one within reach */
@media (max-width: 560px) { .phone-frame, .desk-frame { height: 420px; } }
.theme-btn { align-self: flex-start; margin-top: 12px; background: none; border: 1px solid var(--line-strong); color: var(--muted); font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 8px 11px; border-radius: 8px; cursor: pointer; }
.theme-btn:hover { color: var(--ink); border-color: var(--muted); }
.theme-btn[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.chrome { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--sunk); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.urlbar { flex: 1; min-width: 0; background: var(--surface); border-radius: 6px; padding: 4px 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mock-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }
.mock-head b { font-family: var(--display); font-size: 20px; font-weight: 750; letter-spacing: -0.03em; }
.mock-on { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.mock-on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--keep-bar); }
.mock-list { list-style: none; margin: 0; padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; min-height: 0; }
/* each example is one real button filling its card */
.mock-list .slip { padding: 0; }
.mock-hit { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 9px; width: 100%; padding: 12px 14px; border-radius: 12px; cursor: pointer; }
.mock-hit > .slip-body, .mock-hit > .slip-hint, .mock-hit > .lifebar { display: block; }
.mock-hit:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.mock-list .slip:hover { border-color: var(--muted); }
.mock-list .slip.copied { border-color: var(--keep-bar); background: var(--keep-soft); }
.mock-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 28px 12px; }
.mock-composer { background: var(--surface); padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.phone-frame .mock-composer { border-top: 1px solid var(--line); }
.desk-frame .mock-composer { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mock-row { display: flex; gap: 8px; }
.mock-row .field { padding: 8px 10px; font-size: 14px; background: var(--bg); }
.mock-row .btn { min-height: 38px; }

/* privacy band */
.sees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
@media (max-width: 720px) { .sees { grid-template-columns: 1fr; } }
.see { background: var(--surface); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.see ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }

/* tables */
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.compare { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--sunk); }
/* the first cell names its row: a row header where the table has them, a plain cell where it does not */
.compare tbody th, .compare td:first-child { font-weight: 600; }
.compare .us { background: var(--accent-soft); }
.compare th.us { color: var(--accent); }
.compare .yes { color: var(--keep); font-weight: 600; }
.compare .no { color: var(--muted); }
.compare.fit { min-width: 0; }
@media (max-width: 640px) {
  .compare.fit { font-size: 14px; }
  .compare.fit th, .compare.fit td { padding: 10px; }
  /* the wide comparison becomes one card per question */
  .compare.cards { min-width: 0; display: block; }
  .compare.cards thead { display: none; }
  .compare.cards tbody { display: block; }
  .compare.cards tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: 12px 14px; gap: 6px 12px; }
  .compare.cards tr:last-child { border-bottom: 0; }
  .compare.cards tbody th, .compare.cards td { display: block; padding: 0; border: 0; background: none; font-size: 14px; }
  .compare.cards tbody th { grid-column: 1 / -1; font-size: 16px; }
  .compare.cards td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
  .compare.cards td.us::before { color: var(--accent); }
}
.stage-note { display: none; width: 100%; text-align: center; color: var(--accent); font-weight: 600; font-size: 15px; }
@media (max-width: 880px) { .stage-note { display: block; } }
.hero-note a { color: var(--hero-ink); }
.tag { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: var(--sunk); color: var(--muted); white-space: nowrap; vertical-align: 1px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; margin-top: 8px; max-width: 860px; }
[data-page="pricing"] .plans { margin-inline: auto; width: 100%; max-width: 800px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.plus { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan.plus > .stamp { color: var(--accent); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-family: var(--display); font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); }
.plan-for { color: var(--muted); font-size: 15px; min-height: 1.5em; }
.plan-small { font-size: 13px; color: var(--muted); }
/* a status, not a control: Plus has no button until there is something to buy */
.plan-soon { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 11px 18px; text-align: center; font-size: 15px; font-weight: 600; color: var(--ink); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ticks li { padding-left: 26px; position: relative; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 11px; height: 6px; border-left: 2px solid var(--keep-bar); border-bottom: 2px solid var(--keep-bar); transform: rotate(-45deg); }
.billing { border: 0; padding: 0; margin: 0; min-width: 0; }
.billing legend { padding: 0; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.billing-track { display: flex; padding: 3px; background: var(--sunk); border-radius: 10px; }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label { flex: 1; text-align: center; font-size: 13px; font-weight: 500; padding: 7px 6px; border-radius: 8px; color: var(--muted); cursor: pointer; white-space: nowrap; display: flex; flex-direction: column; gap: 1px; }
.billing label b { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.billing input:checked + label { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 28, 43, 0.12); }
.billing input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 1px; }

/* faq */
.faq { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
/* drawn inside the row, because the box clips anything outside it */
.faq summary:focus-visible { outline-offset: -2px; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; color: var(--muted); max-width: 44em; }

/* waitlist */
.waitlist { background: var(--hero); color: var(--hero-ink); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.waitlist p { color: var(--hero-muted); }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.waitlist-form .field { flex: 1 1 220px; border-color: transparent; }
.waitlist-form .btn { background: var(--hero-pop); border-color: var(--hero-pop); color: #1B1300; }
.waitlist-msg { font-weight: 600; }
.waitlist .waitlist-msg { color: var(--hero-ink); }
.wl-count { font-family: var(--mono); font-size: 12px; color: var(--hero-muted); }
.waitlist :focus-visible { outline-color: var(--hero-pop); }

/* pre-footer call, on every page */
.cta { position: relative; background: var(--hero); color: var(--hero-ink); margin-top: 56px; padding-block: clamp(36px, 5vw, 60px); }
/* the same torn end of a slip the app uses */
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px; background: radial-gradient(circle at 9px 7px, var(--bg) 6px, transparent 6.6px) 0 0 / 18px 14px repeat-x; }
.cta-in { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.cta-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cta-stamp { color: var(--hero-muted); }
.cta h2 { color: var(--hero-ink); font-size: clamp(28px, 4.4vw, 46px); }
.cta-sub { color: var(--hero-muted); font-size: 15px; max-width: 34em; }
.cta-go { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta .pop-btn:hover { border-color: var(--hero-ink); }
.cta-link { color: var(--hero-muted); font-size: 14px; }
.cta-link:hover { color: var(--hero-ink); }
.cta :focus-visible { outline-color: var(--hero-pop); }
@media (max-width: 720px) { .cta-in { flex-direction: column; align-items: flex-start; } }

/* the journey of one item, on the security page */
.journey { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: 10px; }
.jnode { flex: 1 1 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jnode b { font-size: 16px; }
.jnode span { font-size: 13px; color: var(--muted); }
.jnode.relay { border-style: dashed; background: var(--sunk); }
.jhop { flex: 0 0 auto; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.jhop svg { width: 34px; height: 12px; color: var(--accent); }
@media (max-width: 640px) { .journey { flex-direction: column; } .jhop svg { transform: rotate(90deg); } }

/* long-form pages */
.prose { gap: 14px; }
.prose h2 { font-size: 26px; margin-top: 22px; }
.prose p, .prose li { color: var(--muted); max-width: 44em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* footer */
/* the footer always follows the blue closing band, so it needs no gap or rule of its own */
.footer { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 720px) { .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 24em; }
.footer nav { display: flex; flex-direction: column; gap: 2px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding-block: 6px; }
.footer nav a:hover { color: var(--ink); }

/* the 404 page offers three ways on */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* fingers need more room than a mouse pointer */
@media (pointer: coarse) {
  .btn.small { min-height: 44px; padding-inline: 14px; }
  .nav-links a { padding-block: 12px; }
  .theme-btn { padding-block: 14px; }
}
