/* The 408 design system: tokens from the live web app (dusk, Signature v2), type rules from brand guide v1.1. Fonts self-hosted (OFL). */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/fraunces-latin.woff2") format("woff2-variations"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-latin.woff2") format("woff2-variations"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-mono-latin.woff2") format("woff2-variations"); }

:root {
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --t-hero: 2.25rem; --t-h2: 1.375rem; --t-h3: 1.125rem; --t-body: 1.0625rem; --t-call: 0.9375rem; --t-foot: 0.8125rem; --t-eyebrow: 0.8125rem;
  --gutter: min(1.125rem, 24px); --gap: 0.75rem; --r-l: 22px; --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* night (default) */
  --bg: #0b1527; --bg-2: #0e1a30; --s1: #162238; --s2: #1c2941;
  --line: rgba(194, 208, 239, 0.14);
  --ink: #f6f3fc; --ink-2: #b8c3d9; --ink-3: #8e9db9;
  --brand: #d6bbff; --brand-soft: rgba(214, 187, 255, 0.16);
  --light: #ffd080; --light-soft: rgba(255, 208, 128, 0.16);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #edf1f8; --bg-2: #e4e9f2; --s1: #ffffff; --s2: #f3f5fa;
    --line: rgba(23, 33, 57, 0.12);
    --ink: #172139; --ink-2: #4c5b75; --ink-3: #5b6984;
    --brand: #65509b; --brand-soft: rgba(101, 80, 155, 0.12);
    --light: #875b16; --light-soft: rgba(135, 91, 22, 0.13);
    color-scheme: light;
  }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #d4dcec; --ink-3: #b8c3d9; --line: rgba(194, 208, 239, 0.32); }
}
@media (prefers-contrast: more) and (prefers-color-scheme: light) {
  :root { --ink-2: #34425a; --ink-3: #3f4c64; --line: rgba(23, 33, 57, 0.28); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font: 400 var(--t-body)/1.45 var(--sans); font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: 100%; max-width: 46rem; margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 0.2em; }

/* Fraunces is variable with a Black default: every use sets its weight */
.wordmark { font: 620 1.25rem/1 var(--display); letter-spacing: -0.01em; font-variant-numeric: lining-nums; color: var(--ink); text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; font-variant-numeric: lining-nums; }
h1 { font: 500 clamp(var(--t-hero), 6.2vw, 2.875rem)/1.04 var(--display); font-variation-settings: "opsz" 96, "SOFT" 40; letter-spacing: -0.017em; }
h2 { font: 500 var(--t-h2)/1.15 var(--display); font-variation-settings: "opsz" 48, "SOFT" 30; letter-spacing: -0.012em; }
h3 { font: 600 var(--t-h3)/1.25 var(--display); letter-spacing: -0.01em; }
.eyebrow { font: 600 var(--t-eyebrow)/1.2 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); }

header { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.bar { padding-block: 1.25rem 0; }
.hero { display: grid; gap: 1.5rem; padding-block: 2.5rem 3rem; align-items: center; }
.copy { display: grid; gap: 1rem; }
.lede { color: var(--ink); max-width: 34rem; }
.soon { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--t-call); color: var(--ink-2); }
.soon::before { content: ""; flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--light); box-shadow: 0 0 0 0.3rem var(--light-soft); }

/* Fred, the mascot, with his lavender glow */
.mascot { position: relative; width: 7.5rem; order: -1; }
.mascot::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, var(--brand-soft) 0%, transparent 65%); }
.mascot svg { position: relative; display: block; width: 100%; height: auto; }
@media (min-width: 40rem) {
  .hero { grid-template-columns: 1fr 11rem; gap: 2.5rem; padding-block: 4rem 4.5rem; }
  .mascot { width: 100%; order: 0; }
}

main { flex: 1; }
section { padding-block: 2.5rem 3rem; border-top: 1px solid var(--line); }
.cards { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--gap); }
.cards li { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.1rem 1.2rem 1.25rem; display: grid; gap: 0.4rem; align-content: start; }
.cards p { font-size: var(--t-call); color: var(--ink-2); }

footer { border-top: 1px solid var(--line); padding-block: 1.75rem 2.25rem; color: var(--ink-3); font-size: var(--t-foot); }
