/*
 * Briefed "worldwide" look for the account pages (register / log in / reset).
 * Loaded after the page's inline <style>; changes look only, never behaviour.
 */
:root {
  --bg: #FFFFFF;
  --bg-2: #F7F7F7;
  --text: #0A0A0A;
  --text-muted: #444444;
  --card: #FFFFFF;
  --line: #E4E4E4;
  --indigo: #0A0A0A;
  --indigo-hover: #333333;
  --green: #1E6B3A;
  --red: #B3261E;
  --radius: 20px;
}
html, body { background: #FFFFFF; }
body, button, input, select, textarea { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
h1, h2, h3, .mini-brand, .account-bar-brand {
  font-family: 'Nunito Sans', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}
/* Brand: black square, red B, "riefed" */
.account-bar-brand, .mini-brand { direction: ltr; gap: 5px; }
.mini-brand-mark {
  background: #0A0A0A; color: #EE2B33;
  font-family: 'Nunito Sans', 'Inter', sans-serif; font-style: normal; font-weight: 900;
  border-radius: 7px;
}
.mini-brand-mark::after { content: none; }
.account-bar-brand > span:last-child, .mini-brand > span:last-child { font-size: 0; }
.account-bar-brand > span:last-child::after, .mini-brand > span:last-child::after { content: 'riefed'; font-size: 24px; }
/* Pills */
.btn, .btn-secondary, .tab, .chip, .steps-toggle, .site-locale-wrap { border-radius: 999px; }
/* "You have used your free letters" notice (shown with ?reason=limit) */
.limit-note {
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #FFF4E0;
  color: #8A5A00;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.limit-note[hidden] { display: none; }

/* Form first, explanation second; plain white surfaces. */
main.layout { display: flex; flex-direction: column; }
main.layout > .card { order: -1; }
.account-bar, .hero, .card { background: #FFFFFF; }
.steps, .chip, .steps-toggle { background: #F7F7F7; border-color: #E4E4E4; }
.hero h1 { font-family: 'Nunito Sans', 'Inter', system-ui, sans-serif !important; font-weight: 800; font-size: clamp(24px, 3vw, 32px); }
.top-link { color: #0A0A0A; }
