/* Colours are design tokens (docs/design-system/tokens.json); a test checks every one. No web
   fonts are loaded, so no visitor's address goes to a font service: Figtree is used only if the
   phone already has it. */
:root {
  --harbor: #2D46A8;
  --harbor-deep: #1F327D;
  --harbor-light: #8C9DE0;
  --harbor-tint: #C9D3F5;
  --mist: #E8EDFB;
  --morning: #F4F6FA;
  --surface: #FFFFFF;
  --ink: #141B2D;
  --ink-soft: #3B4357;
  --ink-quiet: #525C6E;
  --line: #DCE2EC;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.4;
}
main { max-width: 560px; margin: 0 auto; padding: 32px 24px 40px; display: flex; flex-direction: column; gap: 24px; }
.lang { text-align: right; font-weight: 700; }

/* The home page: the welcome screen's look (prototype/Main.dc.html). */
.brand { background: var(--harbor-deep); color: var(--surface); min-height: 100vh; }
.brand a { color: var(--surface); }
.brand h1 { margin: 0; font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.brand .tagline { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 700; }
.brand .intro { margin: 0; font-size: 18px; color: var(--mist); }
.brand ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--mist); }
.brand li::before { content: "✓"; font-weight: 800; color: var(--surface); margin-right: 12px; }
.brand .footnote { margin: 0; font-size: 15px; color: var(--harbor-tint); }
.tile { width: 76px; height: 76px; border-radius: 22px; background: var(--surface); display: flex; align-items: center; justify-content: center; }

/* The invite page: the state screens' look (prototype/StateSignInTrouble.dc.html). */
.plain { background: var(--morning); color: var(--ink); }
.plain a { color: var(--harbor); }
.plain h1 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 800; text-align: center; }
.lead { margin: 0; color: var(--ink-soft); text-align: center; }
.code-box { background: var(--surface); border: 2px solid var(--harbor); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.code-box span { font-size: 14px; color: var(--ink-quiet); }
#code { font-size: 34px; font-weight: 800; letter-spacing: 0.2em; padding-left: 0.2em; }
ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
ol li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; }
ol li::before { content: counter(step); flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px; background: var(--mist); color: var(--harbor-deep); font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
ol strong { display: block; font-size: 16px; font-weight: 800; }
ol span { font-size: 15px; color: var(--ink-soft); }
button { height: 56px; border: 0; border-radius: 16px; background: var(--harbor); color: var(--surface); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
[hidden] { display: none !important; }
