/* bigsignal.com.au: the "Dial" look on a night dial.
   Hairline rules, engraved small caps, a serif display face, mono figures,
   brass and lume. Squared edges; no pills, no soft shadows, no stock blue.
   The tokens are the dark set of the admin portal (faces-catalog
   src/admin/style.ts). Fonts are self-hosted under the SIL OFL 1.1; their
   licences sit next to them in /assets/fonts/. */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-400.woff2?v=1) format("woff2"); }
@font-face { font-family: "Instrument Sans Variable"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/instrument-sans-wght.woff2?v=1) format("woff2-variations"); }
@font-face { font-family: "JetBrains Mono Variable"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/assets/fonts/jetbrains-mono-wght.woff2?v=1) format("woff2-variations"); }

:root {
  --bg: #0C0D0B; --surface: #141512; --surface-2: #1D1E1A; --ink: #ECE7DA; --muted: #A29C8C;
  --line: #2B2C26; --line-strong: #45463D; --signal: #FF6C4F; --signal-soft: #2E1712;
  --brass: #E2B455; --brass-soft: #2A2213; --lume: #A8F282; --lume-soft: #17271A; --on-ink: #0C0D0B;
  --ray: rgb(236 231 218 / 2.6%);
  --font-sans: "Instrument Sans Variable", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font-sans); font-size: 17px; line-height: 1.6; font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  /* A sunray finish, as on a dial, fading out below the header */
  background-image: linear-gradient(to bottom, transparent 0, transparent 240px, var(--bg) 720px), repeating-conic-gradient(from 0deg at 50% -60px, var(--ray) 0deg 1.5deg, transparent 1.5deg 3deg);
  background-size: 100% 720px, 100% 720px; background-repeat: no-repeat;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--lume); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--on-ink); }
strong { font-weight: 600; color: var(--ink); }
code, kbd, .figures { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
code { font-size: .88em; color: var(--ink); }
kbd { font-size: .82em; padding: 1px 6px; border: 1px solid var(--line-strong); border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--ink); color: var(--on-ink); text-decoration: none; }
.skip:focus { top: 12px; }

/* Engraved labels: small caps, wide tracking */
.engraved { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.25; }
.muted { color: var(--muted); }
.brass { color: var(--brass); }
.lume { color: var(--lume); }

/* A minute track: a hairline tick every 6 px, a long one every 30 px */
.track {
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 30px), repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 6px);
  background-size: 100% 7px, 100% 4px; background-repeat: no-repeat;
}

/* ---------- Header ---------- */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 28px; height: 28px; flex: none; }
.brand .engraved { font-size: 12.5px; letter-spacing: .22em; }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }
@media (max-width: 640px) {
  .site-head .bar { flex-direction: column; align-items: stretch; gap: 0; padding-top: 6px; }
  .site-nav { border-top: 1px solid var(--line); margin: 0 calc(-1 * var(--gutter)); padding: 0 calc(var(--gutter) - 12px); }
  .site-nav ul { justify-content: space-between; gap: 0; }
  .site-nav a { padding: 0 12px; font-size: 11px; }
}

/* ---------- Dial: a face in a ruled case with a minute track ---------- */
.dial { position: relative; margin: 0; aspect-ratio: 1; border: 1px solid var(--line-strong); border-radius: 50%; }
.dial::before, .dial::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
/* Minute ticks: short */
.dial::before {
  background: repeating-conic-gradient(from -.35deg, var(--line-strong) 0 .7deg, transparent .7deg 6deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - var(--tick, 7px)), #000 calc(100% - var(--tick, 7px) + 1px));
  mask: radial-gradient(circle closest-side, transparent calc(100% - var(--tick, 7px)), #000 calc(100% - var(--tick, 7px) + 1px));
}
/* Hour ticks: long, brass */
.dial::after {
  background: repeating-conic-gradient(from -.7deg, var(--brass) 0 1.4deg, transparent 1.4deg 30deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - var(--tick-major, 14px)), #000 calc(100% - var(--tick-major, 14px) + 1px));
  mask: radial-gradient(circle closest-side, transparent calc(100% - var(--tick-major, 14px)), #000 calc(100% - var(--tick-major, 14px) + 1px));
}
.dial img { position: absolute; inset: var(--inset, 20px); width: calc(100% - 2 * var(--inset, 20px)); height: calc(100% - 2 * var(--inset, 20px)); border-radius: 50%; object-fit: cover; background: var(--surface); }
.dial.small { --tick: 4px; --tick-major: 8px; --inset: 11px; }
.dial.large { --tick: 10px; --tick-major: 20px; --inset: 30px; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(36px, 7vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-head .kicker { color: var(--brass); }
.page-head h1 { margin: 14px 0 0; font: 400 clamp(46px, 8vw, 84px)/.95 var(--font-serif); letter-spacing: -.02em; }
.page-head .lede { margin-top: 18px; max-width: 34em; color: var(--muted); font-size: clamp(17px, 2vw, 19px); }
.stamp { display: inline-flex; align-items: stretch; margin-top: 22px; border: 1px solid var(--line-strong); font-size: 11px; line-height: 1; }
.stamp span { padding: 7px 9px; }
.stamp span + span { border-left: 1px solid var(--line-strong); }
.stamp .on { background: var(--ink); color: var(--on-ink); }

/* ---------- Home: hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 96px); }
.hero h1 { margin: 18px 0 0; font: 400 clamp(52px, 8.2vw, 104px)/.92 var(--font-serif); letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero .lede { margin-top: 24px; max-width: 30em; color: var(--muted); font-size: clamp(17px, 1.8vw, 19.5px); }
.window { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); font-size: 11px; line-height: 1; }
.window span { padding: 7px 9px; }
.window span + span { border-left: 1px solid var(--line-strong); }
.window .on { background: var(--lume); color: var(--on-ink); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 34px; }
.hero-dial { justify-self: center; width: min(100%, 460px); }
.hero-dial figcaption { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .hero-dial { order: -1; width: min(66vw, 320px); }
  .hero-dial figcaption { margin-top: 12px; }
  .dial.large { --tick: 7px; --tick-major: 14px; --inset: 20px; }
}

/* The Play plaque: a ruled, engraved plate until the listing exists */
.plaque { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 56px; padding: 9px 18px 10px; border: 1px solid var(--brass); color: var(--ink); }
.plaque .engraved { color: var(--brass); font-size: 10.5px; }
.plaque .name { font: 400 24px/1 var(--font-serif); letter-spacing: -.005em; }

/* Buttons: squared, ruled, engraved. A press sinks them a pixel. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 20px;
  border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; color: var(--ink);
  font: 600 12px/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .075s, background-color .12s, border-color .12s;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: default; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn.primary:hover { background: var(--brass); border-color: var(--brass); color: var(--on-ink); }
.btn.danger { border-color: var(--signal); color: var(--signal); }
.btn.danger:hover { background: var(--signal); color: var(--on-ink); }
.btn .arrow { font-family: var(--font-mono); letter-spacing: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 7vw, 80px) 0; border-top: 1px solid var(--line); }
.section-title { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-title .row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.section-title h2 { margin: 0; font: 400 clamp(34px, 4.6vw, 52px)/1 var(--font-serif); letter-spacing: -.015em; }
.section-title .count { color: var(--muted); font-size: 12.5px; }
.section-title .label { color: var(--brass); }
.section .intro { max-width: 40em; color: var(--muted); }

/* The collection: a tray of cases */
.tray { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none; }
.tray figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tray .dial { width: 100%; }
.tray figcaption { color: var(--muted); text-align: center; }
@media (max-width: 860px) { .tray { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }

/* Steps: numbered on hairlines */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.steps li { padding: 22px 24px 4px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps .n { display: block; color: var(--brass); font-size: 13px; }
.steps h3 { margin: 10px 0 8px; font: 400 28px/1.05 var(--font-serif); letter-spacing: -.005em; }
.steps p { color: var(--muted); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 18px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
}

/* App screens: phones in a flat ruled outline, watches in a dial case.
   Real screens from the app, cropped to the first screen. */
.screens { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none; }
.phones figure, .watches figure { margin: 0; }
.phone { position: relative; padding: 6px; border: 1px solid var(--line-strong); border-radius: 30px; background: var(--surface); }
/* A side key, drawn as a hairline */
.phone::after { content: ""; position: absolute; right: -3px; top: 22%; width: 2px; height: 11%; background: var(--line-strong); }
.phone img { width: 100%; aspect-ratio: 480 / 1066; border-radius: 24px; background: var(--bg); }
.phones figcaption, .watches figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; color: var(--muted); }
.phones figcaption .n, .watches figcaption .n { color: var(--brass); font-size: 12.5px; }
.watches { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.watches figure { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; }
.watches figcaption { flex-wrap: wrap; margin-top: 0; row-gap: 4px; }
.watches figcaption .note { flex-basis: 100%; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.watches figcaption .engraved { color: var(--ink); }
.dial.watch { width: 100%; --tick: 4px; --tick-major: 8px; --inset: 10px; }
.dial.watch img { background: #000; }
@media (max-width: 960px) {
  .screens { grid-template-columns: 1fr; }
  .watches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
  .watches figure { grid-template-columns: 1fr; gap: 12px; justify-items: start; }
  .watches .dial.watch { max-width: 180px; }
}
@media (max-width: 640px) {
  /* A strip that scrolls sideways, the next screen peeking in */
  .phones { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; scroll-padding: 0 var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
  .phones li { flex: 0 0 62vw; max-width: 260px; scroll-snap-align: start; }
  .watches { gap: 14px; }
  .watches figcaption { flex-direction: column; gap: 2px; }
  .watches figcaption .note { font-size: 13.5px; }
}

/* Plans: ruled cards with a coloured top rule */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 2px solid var(--line-strong); background: var(--surface); }
.card.is-lume { border-top-color: var(--lume); } .card.is-brass { border-top-color: var(--brass); }
.card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.card header .engraved { color: var(--muted); }
.card.is-lume header .engraved:first-child { color: var(--lume); } .card.is-brass header .engraved:first-child { color: var(--brass); }
.card .body { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 20px; }
.card h3 { margin: 0; font: 400 30px/1.05 var(--font-serif); letter-spacing: -.005em; }
.card p { color: var(--muted); }
.card ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plans-note { margin-top: 18px; max-width: 52em; color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
/* Home: the three ways in, beside the two screens that show them */
.plans-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.plans-split .plans { grid-template-columns: 1fr; }
.phones.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .plans-split { grid-template-columns: 1fr; } .phones.pair { max-width: 480px; } }
@media (max-width: 640px) { .phones.pair { max-width: none; } }

/* A spec sheet: label, then value, on hairlines */
.spec { margin: 0; border-top: 1px solid var(--line-strong); }
.spec > div { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
@media (max-width: 560px) { .spec > div { grid-template-columns: 1fr; gap: 4px; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split .spec > div { grid-template-columns: 120px 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.callout { border: 1px solid var(--line); border-left: 2px solid var(--brass); background: var(--surface); padding: 18px 20px; }
.callout.is-lume { border-left-color: var(--lume); }
.callout.is-signal { border-left-color: var(--signal); }
.callout p + p { margin-top: 10px; }
.callout .engraved { display: block; margin-bottom: 8px; color: var(--brass); }
.callout.is-lume .engraved { color: var(--lume); }
.callout.is-signal .engraved { color: var(--signal); }

/* ---------- Documents: privacy, terms, support ---------- */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.toc { position: sticky; top: 24px; align-self: start; }
.toc .engraved { display: block; margin-bottom: 10px; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc a { display: flex; gap: 10px; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); min-width: 2ch; font: 500 12px/1.6 var(--font-mono); color: #7A7568; }
.toc a:hover { color: var(--ink); }
.toc a:hover::before { color: var(--brass); }
@media (max-width: 860px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 20px; }
  .toc li { break-inside: avoid; }
}
@media (max-width: 480px) { .toc ol { columns: 1; } }

.prose { max-width: 42em; }
.prose > section + section { margin-top: clamp(40px, 5vw, 56px); }
.prose h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); font: 400 clamp(30px, 3.6vw, 38px)/1.05 var(--font-serif); letter-spacing: -.01em; }
.prose h2 .n { font: 500 13px/1 var(--font-mono); color: var(--brass); letter-spacing: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.prose p, .prose ul, .prose ol, .prose dl, .prose .callout, .prose table { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--brass); }
.prose ol > li::marker { font-family: var(--font-mono); font-size: .85em; }
.prose .spec dd { color: var(--ink); }
.prose .spec { margin-bottom: 18px; }
.prose .spec > div { padding: 12px 0; }
.path { font-family: var(--font-mono); font-size: .86em; color: var(--ink); white-space: nowrap; }
.path .sep { color: var(--brass); padding: 0 .25em; }
@media (max-width: 560px) { .path { white-space: normal; } }

/* Data table on the privacy page */
.ledger { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ledger caption { text-align: left; padding-bottom: 10px; color: var(--muted); }
.ledger th, .ledger td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ledger thead th { color: var(--muted); border-bottom-color: var(--line-strong); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ledger tbody th { font-weight: 600; width: 34%; }
.ledger td { color: var(--muted); }
@media (max-width: 600px) {
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ledger th, .ledger td { display: block; width: auto; padding: 0; border: 0; }
  .ledger tbody th { width: auto; margin-bottom: 4px; }
}

/* Compatible watches: maker, model, Wear OS. On a phone each row stacks,
   the maker as an engraved label above the model. */
.watch-list .maker { width: 18%; color: var(--muted); }
.watch-list caption .figures { color: var(--ink); }
@media (max-width: 600px) {
  .watch-list .maker { width: auto; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
}
.prose .sources { font-size: 14.5px; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 22px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-top: 2px solid var(--signal); background: var(--surface); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { color: var(--ink); }
.field .hint { color: var(--muted); font-size: 14.5px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 17px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input.code { font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--lume); outline-offset: 0; border-color: var(--lume); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--signal); }
.field .error { color: var(--signal); font-size: 14.5px; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--brass); }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 6px; border-top: 1px solid var(--line); }
.form .actions .btn { margin-top: 16px; }
.form .actions .muted { margin-top: 16px; font-size: 14.5px; }
.status { padding: 16px 18px; border: 1px solid var(--line); border-left: 2px solid var(--lume); background: var(--surface); }
.status.bad { border-left-color: var(--signal); }
.status .engraved { display: block; margin-bottom: 8px; color: var(--lume); }
.status.bad .engraved { color: var(--signal); }
.status p + p { margin-top: 8px; }
.counter { align-self: flex-end; color: var(--muted); font-size: 12px; }

/* ---------- 404 ---------- */
.lost { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(48px, 10vw, 120px) 0; }
.lost h1 { margin: 14px 0 0; font: 400 clamp(46px, 8vw, 84px)/.95 var(--font-serif); letter-spacing: -.02em; }
.lost .lede { margin-top: 18px; max-width: 30em; font-size: clamp(17px, 2vw, 19px); }
.lost .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lost .dial { width: 100%; display: grid; place-items: center; }
.lost .dial .figures { font-size: 44px; color: var(--brass); letter-spacing: .04em; }
@media (max-width: 760px) { .lost { grid-template-columns: 1fr; } .lost .dial { order: -1; width: 200px; } }

/* ---------- Footer ---------- */
.site-foot { margin-top: auto; padding: 0 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); }
.site-foot .track { margin-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: start; }
.foot-grid p { margin-top: 6px; color: var(--muted); font-size: 15px; max-width: 26em; }
.foot-nav ul { display: grid; grid-template-columns: repeat(3, auto); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-nav a:hover { color: var(--ink); }
.legal { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.legal .dot { color: var(--line-strong); }
.tm { margin-top: 10px; color: var(--muted); font-size: 12.5px; opacity: .8; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  body { background: #fff; color: #000; }
  .site-head nav, .toc, .site-foot .track { display: none; }
}

/* No trailing gap inside boxes; no double rule under a heading */
.prose .status > :last-child, .prose .callout > :last-child, .status > :last-child { margin-bottom: 0; }
.prose h2 + .spec { border-top: 0; }

/* ---------- Promo page (/promo/): one code on a ticket, places left ---------- */
.promo { display: flex; flex-direction: column; gap: 16px; max-width: 560px; margin-bottom: clamp(32px, 6vw, 56px); }
.ticket .code { margin: 0; font-size: clamp(34px, 8vw, 52px); line-height: 1.05; color: var(--ink); letter-spacing: .04em; word-break: break-all; user-select: all; }
.ticket-actions { display: flex; align-items: center; gap: 16px; }
.meter { height: 6px; border: 1px solid var(--line-strong); background: var(--bg); }
.meter span { display: block; height: 100%; width: 0; background: var(--brass); transition: width .4s ease; }
.ticket .left { margin: 0; color: var(--ink); font-size: 15px; }
.ticket .until { margin: 0; }
.gone h3 { color: var(--ink); }
.fine ul { margin: 0; padding-left: 1.1em; }
.fine li { margin-bottom: 10px; color: var(--muted); }
