/* Sign-up and log-in pages: the red / cream / navy palette with film grain,
   matching the home page. Loaded after style.css, so it only swaps tokens. */
:root {
  --red: #b21423;
  --cream: #efe1cc;
  --navy: #1b2742;
  --bg: var(--cream);
  --surface: #f8eedf;
  --surface-2: #e6d4ba;
  --text: var(--navy);
  --muted: #55607a;
  --line: #dcc8ab;
  --brand: var(--navy);
  --brand-ink: var(--cream);
  --bad: var(--red);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: none;
  --shadow-lg: none;
  --font: "Lexend", ui-rounded, system-ui, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body { background: var(--cream); color: var(--navy); font-family: var(--font); }
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; background-image: var(--grain); opacity: .22; mix-blend-mode: multiply; }
.btn-primary { box-shadow: none; border-radius: 14px; font-weight: 600; }
.btn-primary:hover { background: #26355a; }
.input { background: #fbf4ea; border: 2px solid var(--line); border-radius: 14px; }
.input:focus, .input:focus-visible { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 39, 66, .18); }
a { color: var(--red); text-underline-offset: 4px; }
.muted { color: var(--muted); }
.wordmark { display: inline-flex; align-items: center; gap: .1em; font-weight: 700; letter-spacing: -0.04em; text-decoration: none; font-size: 1.3rem; color: inherit; }
.wordmark .o { display: inline-block; width: .82em; height: .82em; border-radius: 50%; border: .2em solid currentColor; margin: 0 .02em; }
.overlay .modal { background: var(--cream); border-radius: 22px; }
