/*
 * The public landing page.
 *
 * Self-contained on purpose: one stylesheet, one request, no framework and no font CDN. The
 * tokens are the back office's own, so the two halves of the system are recognisably one service,
 * but nothing here is imported from the client bundle — this page has to render on its own.
 *
 * Ordered for a phone. The desktop layout is the enhancement, not the base, because most people
 * who reach this page are on a cheap Android handset on a slow connection.
 */

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/public-sans-400-latin.e4c9b081863a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/public-sans-400-latin-ext.d0a5d26ee7e7.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/public-sans-700-latin.e4c9b081863a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/public-sans-700-latin-ext.d0a5d26ee7e7.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/roboto-mono-500-latin.9865f1cbca09.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/roboto-mono-500-latin-ext.23184c787dc0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: oklch(20% 0.02 250);
  --dark: oklch(24% 0.02 250);
  --dark-line: oklch(32% 0.02 250);
  --page: oklch(96% 0.004 250);
  --line: oklch(89% 0.005 250);
  --muted: oklch(50% 0.02 250);
  --accent: oklch(68% 0.15 65);
  --accent-ink: oklch(20% 0.05 60);
  --accent-dim: oklch(74% 0.13 68);
  --amber-bg: oklch(95% 0.05 70);
  --amber-ink: oklch(35% 0.09 60);
  --focus: oklch(55% 0.19 250);

  --pair: 6px;
  --field: 16px;
  --action: 24px;
  --section: 32px;
  --band: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  /* 16px floor: this page is read on a phone held at arm's length in daylight. */
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

.mono {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 500;
}

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

/* --- top bar ------------------------------------------------------------------------------- */

.topbar {
  background: var(--dark);
  color: #fff;
  border-bottom: 1px solid var(--dark-line);
}
.topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--field);
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.wordmark .m {
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--accent-dim);
  font-size: 15px;
}
.wordmark .n {
  font-size: 13px;
  line-height: 1.4;
  color: oklch(85% 0.01 250);
}
.wordmark .r {
  font-size: 12px;
  color: oklch(70% 0.01 250);
}
.signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* 48px: a tap target, not a mouse target. */
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid oklch(55% 0.02 250);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.signin:hover {
  background: oklch(30% 0.02 250);
}

/* --- hero ---------------------------------------------------------------------------------- */

.hero {
  padding: var(--band) 0 var(--section);
}
h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.lead {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 54ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  /* Named areas because the phone reorders them: the tracking card moves up between the Report
     button and the assurances, and source order cannot express both layouts. */
  grid-template-areas:
    'act   track'
    'assure track';
  grid-template-rows: auto 1fr;
  column-gap: var(--section);
  row-gap: var(--action);
  align-items: start;
  padding-bottom: var(--band);
}
.act { grid-area: act; }
.assure-wrap { grid-area: assure; }
.track { grid-area: track; }

.report {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 0 26px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}
.report:hover {
  background: oklch(63% 0.15 65);
}

.assure {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.assure li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.5;
}
.assure svg {
  margin-top: 3px;
  color: var(--accent);
}

/* --- the tracking card --------------------------------------------------------------------- */

.track {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.track h2 {
  margin: 0 0 var(--pair);
  font-size: 19px;
}
.track p {
  margin: 0 0 var(--field);
  color: var(--muted);
}
.track label {
  display: block;
  margin-bottom: var(--pair);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.track input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  font-size: 17px;
  border: 1px solid oklch(80% 0.01 250);
  border-radius: 8px;
  background: #fff;
}
.check {
  margin-top: var(--field);
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.check:hover {
  background: var(--page);
}
.track .help {
  margin: var(--field) 0 0;
}

/* --- bands --------------------------------------------------------------------------------- */

.band {
  padding: var(--band) 0;
  border-top: 1px solid var(--line);
}
.band.grey {
  background: var(--page);
  border-top: 1px solid var(--line);
}
.band h2 {
  margin: 0 0 var(--pair);
  font-size: 25px;
}
.band .sub {
  margin: 0 0 var(--section);
  color: var(--muted);
  max-width: 62ch;
}

.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--field);
}
.channel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.channel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--pair);
  font-size: 17px;
}
.channel h3 svg {
  color: var(--accent);
  flex: none;
}
.channel p {
  margin: 0;
  color: var(--muted);
}
.channel .num {
  display: inline-block;
  margin-top: var(--field);
  min-height: 48px;
  line-height: 48px;
  padding: 0 16px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}
.channel a.more {
  /* A link is a tap target too. 48px of height, reached with padding rather than with type, so
     the words stay the size of the sentence above them. */
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 4px;
  color: var(--accent-ink);
}

/* --- the five steps ------------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--field);
  counter-reset: step;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.step .n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.step h3 {
  margin: 12px 0 var(--pair);
  font-size: 16.5px;
}
.step p {
  margin: 0;
  color: var(--muted);
}
.step .standard {
  display: inline-block;
  margin-top: auto;
  padding-top: 0;
  padding: 4px 10px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.step p {
  margin-bottom: 12px;
}

/* --- the two-up ---------------------------------------------------------------------------- */

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--field);
}
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.card.amber {
  background: var(--amber-bg);
  border-color: oklch(88% 0.05 70);
  color: var(--amber-ink);
}
.card h2 {
  margin: 0 0 var(--field);
  font-size: 19px;
}
.card p {
  margin: 0 0 12px;
}
.card p:last-child {
  margin-bottom: 0;
}
.card.amber a {
  color: var(--amber-ink);
}

/* --- footer -------------------------------------------------------------------------------- */

footer {
  background: var(--dark);
  color: oklch(78% 0.01 250);
  padding: var(--band) 0;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--section);
}
footer h2 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
footer li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
}
footer a {
  color: oklch(85% 0.01 250);
}
footer li a {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
}
.standards-note {
  margin: var(--section) 0 0;
  padding-top: var(--field);
  border-top: 1px solid var(--dark-line);
  color: oklch(68% 0.01 250);
}

/* --- the phone ----------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .two-up,
  .foot {
    grid-template-columns: 1fr;
  }

  /* Everything below is one requirement: Report and Check both reachable without scrolling on a
     360x640 handset. That is 640 pixels for a top bar, a heading, a lead, a 56px button, and a
     card holding a label, a field and a button. Every part gives up a few pixels of PADDING.
     Nothing gives up content, nothing is hidden behind a menu, and nothing gives up type: the
     16px floor for anything read as a sentence holds at every width, because this page is read
     on a cheap handset at arm's length in daylight. When it last did not fit, the pixels came
     out of the copy -- the tracking card's second sentence said what the help line under its
     button already says -- and not out of the type. */

  /* Report, then Check, then the reasons to trust it. Source order cannot express this and the
     desktop order at once, which is why both are named grid areas. */
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      'act'
      'track'
      'assure';
    row-gap: 12px;
    padding-bottom: var(--section);
  }
  /* The third wordmark line is the constitutional footnote, not the name of the service. It
     costs 18px of a 640px screen and the two lines above it already say who this is. */
  .wordmark .r {
    display: none;
  }
  .topbar .inner {
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .hero {
    padding: var(--action) 0 8px;
  }
  h1 {
    font-size: 27px;
    margin-bottom: 8px;
  }
  .lead {
    font-size: 17px;
    line-height: 1.5;
  }
  .report {
    min-height: 56px;
    font-size: 18px;
  }
  .track {
    padding: 14px;
  }
  .track h2 {
    font-size: 17px;
  }
  .track p {
    margin-bottom: 12px;
  }
  .track label {
    margin-bottom: 4px;
  }
  .track input,
  .check {
    min-height: 50px;
  }
  .check {
    margin-top: 12px;
  }
  /* The four assurances are the reason somebody keeps reading, but they are not the reason they
     came. They sit below the two things they came here to do. */
  .assure {
    margin-top: var(--field);
  }
  .band {
    padding: var(--section) 0;
  }
}

@media print {
  .topbar .signin,
  .track .check {
    display: none;
  }
}

/* --- the other public pages ----------------------------------------------------------------
 *
 * /report, /track and /signin. They share the shell, the tokens and the spacing scale with the
 * front door above; what is below is what only they need.
 */

.wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* A link, so a tap target, even though what it is mostly doing is saying whose page this is. */
  min-height: 48px;
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.band.narrow .inner {
  max-width: 720px;
}
.band.narrow h1 {
  font-size: 30px;
  margin: 0 0 12px;
}
.band.narrow .lead {
  margin-bottom: var(--section);
}

.away {
  margin: var(--section) 0 0;
  padding-top: var(--field);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* --- alerts and pills ----------------------------------------------------------------------- */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: var(--field);
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted);
  border-radius: 8px;
  background: var(--page);
}
.alert svg {
  flex: none;
  margin-top: 4px;
  color: var(--muted);
}
.alert-bad {
  border-left-color: oklch(55% 0.19 25);
  background: oklch(96% 0.03 25);
}
.alert-bad svg {
  color: oklch(50% 0.19 25);
}
.alert-good {
  border-left-color: oklch(58% 0.15 150);
  background: oklch(96% 0.04 150);
}
.alert-good svg {
  color: oklch(48% 0.15 150);
}

.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--page);
  font-size: 15px;
  font-weight: 700;
}
.pill-amber {
  background: var(--amber-bg);
  border-color: oklch(88% 0.05 70);
  color: var(--amber-ink);
}
.pill-green {
  background: oklch(95% 0.05 150);
  border-color: oklch(86% 0.06 150);
  color: oklch(35% 0.1 150);
}

/* --- /track ---------------------------------------------------------------------------------- */

.track.block {
  margin: 0 0 var(--section);
}
.result {
  margin-bottom: var(--section);
}
.card.outcome .number {
  font-size: 21px;
}
.card.outcome .stage {
  margin: 12px 0;
}
.said {
  margin: 0 0 12px;
  color: var(--muted);
}
.dates {
  width: 100%;
  border-collapse: collapse;
  margin: var(--field) 0 0;
}
.dates th,
.dates td {
  text-align: left;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
}
.dates th {
  color: var(--muted);
  width: 45%;
}

/* --- /report ---------------------------------------------------------------------------------- */

.step-block {
  padding: 0 0 var(--section);
  margin-bottom: var(--section);
  border-bottom: 1px solid var(--line);
}
.step-block:last-of-type {
  border-bottom: 0;
}
.step-block h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--field);
  font-size: 22px;
}
.step-block h2 .n {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 15px;
}

.field {
  margin-bottom: var(--action);
}
/* The label above a box. Not a .choice — that IS the box, it is a grid, and letting this rule
   reach it stacked the checkbox above its own words and made the whole explanation bold. */
.field > label:not(.choice),
.field legend,
fieldset.field legend {
  display: block;
  padding: 0;
  margin: 0 0 var(--pair);
  font-weight: 700;
}
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0 0 var(--action);
}
.hint {
  margin: 0 0 var(--field);
  color: var(--muted);
}
.optional {
  font-weight: 400;
  color: var(--muted);
}

/* Every text box on these pages, including one with no type attribute at all — a bare <input> is
   a text box, and naming only the typed selectors is how the username field came out under the
   48px floor while everything beside it met it. */
.field input:not([type='radio']):not([type='checkbox']),
.subject-row input,
.subject-row select,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid oklch(80% 0.01 250);
  border-radius: 8px;
}
textarea {
  line-height: 1.6;
  resize: vertical;
}

/* One tappable row per answer, with the whole row as the target rather than the 20px circle. */
.choices {
  display: grid;
  gap: var(--pair);
}
.choices.inline {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.choice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.choice:hover {
  background: var(--page);
}
.choice input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.choice strong {
  display: block;
}
.choice em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: var(--muted);
}
.choice.standalone {
  background: var(--page);
}

.disclosure {
  margin-bottom: var(--action);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--page);
}
.disclosure > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
}
.disclosure[open] > summary {
  border-bottom: 1px solid var(--line);
}
.disclosure-body {
  padding: var(--field) 16px var(--pair);
  background: #fff;
  border-radius: 0 0 10px 10px;
}

.subject-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--pair);
  margin-bottom: var(--pair);
}
.two-col,
.where-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--field);
}

.actions {
  margin-top: var(--section);
}
.report.submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.actions .help {
  margin-top: 12px;
  color: var(--muted);
}

/* --- the receipt ------------------------------------------------------------------------------ */

.number-out {
  margin: 0 0 var(--field);
  padding: 18px 20px;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-align: center;
  background: var(--page);
  border: 2px dashed oklch(78% 0.01 250);
  border-radius: 10px;
}
.next-steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
}
.next-steps .standard {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--page);
  font-size: 13px;
  font-weight: 700;
}
.next-steps .said {
  display: block;
  margin: 4px 0 0;
}

/* --- /signin ----------------------------------------------------------------------------------- */

.signin.ghost {
  border-color: oklch(55% 0.02 250);
}

.signin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 300px);
}
.signin-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--band);
  padding: var(--band) 6vw;
  background: var(--dark);
  color: oklch(82% 0.01 250);
}
.signin-left h1 {
  margin: 0 0 12px;
  font-size: 27px;
  color: #fff;
}
.signin-left p {
  margin: 0 0 10px;
  max-width: 42ch;
}
.side-mark {
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--accent-dim);
}
.side-sub {
  font-size: 14px;
  color: oklch(68% 0.01 250);
}
.not-staff {
  color: oklch(68% 0.01 250);
}
.signin-left a {
  color: #fff;
}

.signin-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--band) 6vw;
}
.signin-form {
  width: 100%;
  max-width: 380px;
}
.signin-form h2 {
  margin: 0 0 var(--pair);
  font-size: 24px;
}
.signin-form .sub {
  margin: 0 0 var(--action);
  color: var(--muted);
}
.btn-signin {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.btn-signin:hover {
  background: oklch(63% 0.15 65);
}
.signin-form .help {
  margin: var(--action) 0 0;
  color: var(--muted);
}
.logline {
  margin: var(--field) 0 0;
  padding-top: var(--field);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
input.code {
  font-size: 24px;
  letter-spacing: 0.35em;
  text-align: center;
  min-height: 56px;
}

/* A button that is a link: "Back", "Send it again". It submits the form, because with scripting
   off that is the only way to tell the server anything — and it must read as the sentence it
   sits in rather than as a second call to action. */
.linkish {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--accent-ink);
  text-decoration: underline;
  cursor: pointer;
}
.signin-form > .linkish {
  display: inline-block;
  min-height: 48px;
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 860px) {
  .signin-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  /* Form first on a phone. Somebody who opened this page came to sign in, and the panel that says
     who the page is for is worth reading once, not scrolling past every morning. */
  .signin-left {
    order: 2;
    padding: var(--section) 20px;
    gap: var(--section);
  }
  .signin-right {
    order: 1;
    padding: var(--section) 20px;
  }
  .signin-form {
    max-width: none;
  }
  .two-col,
  .where-grid,
  .subject-row {
    grid-template-columns: 1fr;
  }
  .band.narrow h1 {
    font-size: 25px;
  }
}
