/* Sign-in and the plain legal pages: white, navy, one calm column. */
body.plain {
  --bg: var(--white); --fg: var(--navy-900); --muted: var(--navy-500); --hair: var(--navy-100); --focus: var(--navy-700);
  --mark: var(--navy-900); --mark-dot: var(--navy-900); --hl: #cfeeae;
}
.auth { width: 100%; max-width: 480px; margin: 0 auto; padding: clamp(48px, 16vh, 168px) var(--gutter) 64px; }
.step h1 { font-size: clamp(32px, 4vw, 40px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; }
.step .lead { margin-top: 12px; font-size: 18px; color: var(--muted); }
.step .lead b { color: var(--fg); font-weight: 550; white-space: nowrap; }
.phone {
  margin-top: 32px; display: flex; align-items: center; min-height: 60px; border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(32, 39, 52, .16); background: var(--white); transition: box-shadow .15s;
}
.phone:focus-within { box-shadow: inset 0 0 0 2px var(--navy-900); }
.phone:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 2px #b3261e; }
.cc { display: inline-flex; align-items: center; gap: 10px; padding: 0 14px 0 18px; font-size: 18px; color: var(--fg); border-right: 1px solid var(--navy-100); align-self: stretch; }
.cc img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(32, 39, 52, .12); }
.phone input {
  flex: 1; min-width: 0; height: 58px; border: 0; background: transparent; padding: 0 16px; border-radius: 14px;
  font: inherit; font-size: 19px; letter-spacing: 0.01em; color: var(--fg); font-variant-numeric: tabular-nums;
}
.phone input:focus { outline: none; }
.phone input::placeholder, .code::placeholder { color: #a9b0bf; }
.msg { min-height: 0; margin-top: 8px; font-size: 15px; color: #b3261e; }
.msg:empty { margin: 0; }
.consent { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.consent a { color: var(--fg); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent a:hover { text-decoration-thickness: 2px; }
.primary {
  margin-top: 28px; width: 100%; min-height: 58px; border: 0; border-radius: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  background: var(--navy-900); color: var(--white); font-weight: 550; font-size: 18px; letter-spacing: -0.015em;
  transition: background-color .2s var(--ease-out);
}
.primary:hover { background: var(--navy-700); }
.primary:disabled { opacity: .6; cursor: progress; }
.primary svg { width: 17px; height: 17px; transition: transform .2s var(--ease-out); }
.primary:hover svg { transform: translateX(2px); }
.code {
  margin-top: 32px; width: 100%; height: 72px; border: 0; border-radius: 14px; padding: 0 0 0 .55em;
  box-shadow: inset 0 0 0 1px rgba(32, 39, 52, .16); background: var(--white); color: var(--fg);
  font-family: var(--mono); font-size: 32px; letter-spacing: .55em; text-align: center; font-variant-numeric: tabular-nums;
}
.code:focus { outline: none; box-shadow: inset 0 0 0 2px var(--navy-900); }
.after { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.text-btn { min-height: var(--tap); padding: 0 2px; border: 0; background: none; cursor: pointer; font-size: 15px; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-btn:disabled { color: var(--muted); text-decoration: none; cursor: default; font-variant-numeric: tabular-nums; }
.step:focus { outline: none; }

/* Legal pages */
.legal { width: 100%; max-width: 680px; margin: 0 auto; padding: clamp(40px, 10vh, 96px) var(--gutter) 72px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; }
.legal .updated { margin-top: 10px; color: var(--muted); font-size: 15px; }
.legal h2 { margin-top: 36px; font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.legal p, .legal li { margin-top: 10px; font-size: 17px; line-height: 1.6; color: #2b3344; }
.legal ul { margin-top: 6px; padding-left: 1.2em; list-style: disc; }
.legal a { text-underline-offset: 3px; }

/* Picker lists (/directions/, /daylight/) */
.picks { margin-top: 28px; gap: 18px; }
.picks li p { margin-top: 0; font-size: 15px; color: var(--muted); }
.legal .updated a { color: var(--fg); text-underline-offset: 3px; }
