/* Public landing page. Brand tokens mirror src/web/brand-theme.css. No app data lives under /share. */
@font-face { font-family: "Fraunces Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/share/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/share/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/share/fonts/poppins-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --cream: #f7f2eb;
  --deep: #022f40;
  --muted: #5d6470; /* 5.35 on cream */
  --bg: var(--cream);
  --fg: var(--deep); /* 12.7 on cream */
  --fg-2: color-mix(in oklab, var(--deep) 80%, var(--cream)); /* 7.5 on cream */
  --fg-muted: var(--muted);
  --btn-bg: var(--deep);
  --btn-fg: var(--cream); /* 12.7 */
  --focus: color-mix(in oklab, var(--deep) 85%, var(--cream));
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--deep);
    --fg: var(--cream); /* 12.7 on deep */
    --fg-2: color-mix(in oklab, var(--cream) 80%, var(--deep)); /* 7.2 */
    --fg-muted: color-mix(in oklab, var(--cream) 70%, var(--deep)); /* 5.7 */
    --btn-bg: var(--cream);
    --btn-fg: var(--deep);
    --focus: #fcd0a1;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px clamp(16px, 5vw, 48px);
  background: var(--bg); color: var(--fg); font-family: "Poppins", -apple-system, system-ui, sans-serif; font-size: 1rem; line-height: 1.5;
}
main { width: 100%; max-width: 40rem; display: grid; gap: 24px; justify-items: start; }
.logo { display: block; height: 44px; width: auto; }
/* The Dark lockup sits on cream; the Light (white) lockup sits on deep teal. */
.on-dark { display: none; }
@media (prefers-color-scheme: dark) { .on-light { display: none; } .on-dark { display: block; } }
h1 {
  margin: 8px 0 0; font-family: "Fraunces Variable", Fraunces, Georgia, serif; font-weight: 400; letter-spacing: -0.01em;
  line-height: 1.15; font-size: clamp(2rem, 6vw, 3.25rem); text-wrap: balance;
}
p { margin: 0; }
.lede { color: var(--fg-2); font-size: 1.125rem; max-width: 34rem; text-wrap: pretty; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 500; text-decoration: none;
}
.button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) { .button:hover { background: color-mix(in oklab, var(--btn-bg) 88%, var(--bg)); } }
@media (prefers-reduced-motion: no-preference) { .button { transition: background-color 150ms ease-out; } }
.note { color: var(--fg-muted); font-size: 0.875rem; }
