/* Last Toast web pages. Tokens match app/lib/design/tokens.dart (docs/design.md). */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0D0B09;
  --surface: #17140F;
  --raised: #211C16;
  --line: #3A3229;
  --text: #EFE8DC;
  --muted: #B3A898;
  --faint: #8F8574;
  --gold: #D9B062;
  --on-gold: #1A140A;
  --blood: #8E1B1B;
  --on-blood: #F6EDE4;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Kept for older markup. */
  --bg: var(--ink);
  --fg: var(--text);
  --accent: var(--gold);
  --accent-fg: var(--on-gold);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--text);
  font: 18px/1.55 var(--sans);
}
main { max-width: 32rem; padding: 2rem 1rem; }
h1 {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1.1;
  margin: 0 0 .5rem;
}
.tagline {
  font-family: var(--serif);
  font-size: 1.35rem;
  text-transform: lowercase;
  color: var(--gold);
  margin: 0 0 2rem;
}
p { margin: 0 0 1rem; }
.button {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: 12px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
  text-decoration: none;
}
.stores { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.store {
  padding: .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
}
.fine { margin-top: 2rem; font-size: .875rem; color: var(--faint); }

/* Long pages (privacy, support, the case file): top-aligned, readable width. */
body.page { place-items: start center; }
body.page main { max-width: 40rem; }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 2rem 0 .5rem;
}
.note { border-left: 3px solid var(--gold); padding-left: .75rem; }
a { color: var(--gold); text-underline-offset: 3px; }
