/* Ease's public pages: home, sign up, log in. Same harbour navy and wattle gold as the app. */
:root {
  --bg: #edf1f5; --surface: #ffffff; --sunk: #f3f6f9; --fg: #0c1a2b; --muted: #5a6a7e; --line: #dde3eb;
  --hero: #0b2340; --hero-2: #12305a; --hero-fg: #f4f7fb; --hero-muted: #a3b6cd; --hero-line: rgba(255, 255, 255, .14);
  --gold: #f2b630; --gold-ink: #2b2000; --gold-soft: #fbf0d2; --gold-line: #e7c56b;
  --good: #14805a; --bad: #c0262c;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(12, 26, 43, .06), 0 10px 30px rgba(12, 26, 43, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #07101b; --surface: #0f1b2a; --sunk: #0b1622; --fg: #e6edf5; --muted: #8e9fb4; --line: #1d2e44;
  --hero: #112848; --hero-2: #17365f; --gold: #f5c24c; --gold-ink: #1c1400; --gold-soft: #2c2410; --gold-line: #8a6c22;
  --good: #4cc38a; --bad: #ff6b70; --shadow: 0 1px 2px rgba(0, 0, 0, .3); color-scheme: dark; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 450 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.wordmark { font: 800 28px/1 var(--display); font-stretch: 118%; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; color: inherit; }
.wordmark i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }
.top nav { display: flex; gap: 8px; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px;
  border-radius: 14px; border: 1px solid transparent; font: 650 16px/1.1 var(--body); text-decoration: none; cursor: pointer; }
.btn.gold { background: var(--gold); color: var(--gold-ink); }
.btn.gold:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.plain { background: transparent; color: inherit; min-height: 40px; padding: 8px 12px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.hero { background: radial-gradient(120% 140% at 100% 0%, var(--hero-2) 0%, var(--hero) 58%); color: var(--hero-fg); }
.hero .top { color: var(--hero-fg); }
.hero-body { display: grid; gap: 40px; padding-block: 36px 64px; align-items: center; }
@media (min-width: 860px) { .hero-body { grid-template-columns: 1.1fr .9fr; padding-block: 56px 88px; } }
.hero h1 { font: 800 clamp(38px, 7vw, 64px)/1.02 var(--display); font-stretch: 112%; letter-spacing: -0.03em; margin: 0 0 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: 19px; color: var(--hero-muted); max-width: 34ch; margin: 0 0 28px; }
.hero .ctas, .cta-band .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { font-size: 14px; color: var(--hero-muted); margin: 16px 0 0; }

/* The phone in the hero: a sketch of one scan, drawn in HTML */
.phone { justify-self: center; width: min(320px, 100%); background: #f4f7fb; color: #0c1a2b; border-radius: 34px; padding: 18px 16px 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 8px #0a1c33; display: grid; gap: 10px; font-size: 14px; }
.phone .bar { height: 5px; width: 90px; background: #0a1c33; border-radius: 9px; justify-self: center; margin-bottom: 4px; }
.phone .pay { background: #0b2340; color: #f4f7fb; border-radius: 18px; padding: 14px 16px; display: grid; gap: 2px; }
.phone .pay small { color: #a3b6cd; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.phone .pay b { font: 750 30px/1.1 var(--display); font-stretch: 110%; }
.phone .row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 14px; padding: 11px 14px; box-shadow: 0 1px 2px rgba(12, 26, 43, .06); }
.phone .row span { color: #5a6a7e; font-size: 12px; display: block; }
.phone .row b { font-weight: 700; font-variant-numeric: tabular-nums; }
.phone .row b.in { color: #14805a; }

/* Sections */
section.band { padding-block: 64px; }
section.band.alt { background: var(--surface); }
.eyebrow { font: 650 13px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
h2 { font: 800 clamp(28px, 4.4vw, 40px)/1.1 var(--display); font-stretch: 108%; letter-spacing: -0.02em; margin: 0 0 28px; max-width: 22ch; text-wrap: balance; }
h3 { font: 750 19px/1.25 var(--display); font-stretch: 104%; margin: 0 0 6px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.two { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); box-shadow: none; }
.card p { margin: 0; color: var(--muted); }
.num { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 800 16px/34px var(--display); text-align: center; margin-bottom: 14px; }
.tick { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.tick svg { margin-top: 3px; color: var(--good); }
details { border-bottom: 1px solid var(--line); padding-block: 16px; }
details summary { cursor: pointer; font: 700 17px/1.3 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::after { content: "+"; font-weight: 500; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 70ch; }
.cta-band { background: var(--hero); color: var(--hero-fg); border-radius: 26px; padding: 36px 28px; display: grid; gap: 18px; justify-items: start; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 0; color: var(--hero-muted); }
footer { padding-block: 32px 48px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Forms (join, log in) */
.narrow { max-width: 480px; margin: 0 auto; padding: 8px 20px 64px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.panel h1 { font: 800 32px/1.1 var(--display); font-stretch: 110%; letter-spacing: -0.02em; margin: 0; }
.panel p { margin: 0; }
.panel .sub { margin: -8px 0 0; color: var(--muted); }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.field .hint { font-weight: 450; color: var(--muted); font-size: 14px; }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--sunk); color: var(--fg); font: 450 16px var(--body); }
.field input:focus, .field select:focus { border-color: var(--gold-line); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--sunk); font-size: 15px; font-weight: 550; }
.chips input:checked + span { background: var(--gold-soft); border-color: var(--gold-line); }
.chips input:focus-visible + span { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.agree { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--muted); align-items: start; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.err { color: var(--bad); font-weight: 600; margin: 0; }
.ok { display: grid; gap: 10px; text-align: center; justify-items: center; }
.ok .big { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; }
.muted { color: var(--muted); }
.panel-form { display: grid; gap: 16px; margin-top: 16px; }
.panel details { border: 0; padding: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: filter .15s, transform .15s; } .btn:active { transform: scale(.98); } }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; letter-spacing: 0.04em; overflow-wrap: anywhere; margin: 0; }
.link { color: inherit; font-weight: 650; text-decoration: underline; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice span { display: block; text-align: center; height: 100%; box-sizing: border-box; border-radius: 14px; }
.qr { width: 200px; height: 200px; justify-self: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
