@font-face { font-family: "Bricolage"; src: url("/fonts/BricolageGrotesque-ExtraBold800.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/fonts/BricolageGrotesque-SemiBold600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Regular400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-SemiBold600.ttf") format("truetype"); font-weight: 600; font-display: swap; }

/* Tokens mirror flutter-app/lib/theme/app_theme.dart. Green is an accent, never a background. */
:root {
  --paper: #ffffff;
  --ink: #030003;
  --mist: #6f6d70;
  --tile: #f1eff0;
  --line: #e7e4e8;
  --leaf: #23c251;
  --leaf-tint: #e9f9ee;
  --lilac: #9d87fe;
  --lilac-tint: #f1eeff;
  --cream: #fff4e6;
  --display: "Bricolage", "Avenir Next", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121113;
    --ink: #f6f4f7;
    --mist: #a8a5aa;
    --tile: #1f1d21;
    --line: #2c2a2e;
    --leaf-tint: #15301e;
    --lilac-tint: #25203d;
    --cream: #2a241c;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.25rem/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.top nav { display: flex; gap: 22px; font-size: 0.95rem; color: var(--mist); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; margin: 0; }
h1 { font-size: clamp(2.6rem, 7.4vw, 5.4rem); line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.04; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--mist); max-width: 34ch; }

/* Buttons — flat ink, like the app's AppButton */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  font: 600 1rem/1 var(--body); text-decoration: none;
  padding: 16px 24px; border-radius: 999px;
}
.btn:hover { opacity: 0.88; }
.note { font-size: 0.92rem; color: var(--mist); }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 96px; padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 0.92rem; color: var(--mist); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .top nav a.hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
