/* Lamplight, the app's default look (apps/mobile/lib/app/theme.dart). */
:root {
  --bg: #f5f2ec;
  --surface: #fdfcfa;
  --line: #e3dcd0;
  --text: #231e18;
  --muted: #5e5548;
  --accent: #f2b65a;
  --accent-text: #8a5300;
  --care: #2d5e99;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16130f;
    --surface: #221e19;
    --line: #3a342d;
    --text: #f3ede4;
    --muted: #bfb5a6;
    --accent-text: #f2b65a;
    --care: #8fb8e8;
  }
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/AtkinsonHyperlegible-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/AtkinsonHyperlegible-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Atkinson Hyperlegible", system-ui, sans-serif;
}
/* The lamp glow at the top of a page. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 360px;
  background: radial-gradient(ellipse 60% 100% at 50% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  pointer-events: none;
  z-index: -1;
}
main, header, footer { max-width: 680px; margin: 0 auto; padding: 0 20px; }
header { padding-top: 28px; display: flex; align-items: center; gap: 10px; }
header a { color: var(--text); text-decoration: none; font: 700 20px "Bricolage Grotesque", sans-serif; }
.mark { width: 32px; height: 32px; border-radius: 9px; }
h1, h2 { font-family: "Bricolage Grotesque", sans-serif; line-height: 1.2; }
h1 { font-size: clamp(32px, 7vw, 48px); margin: 56px 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin: 40px 0 8px; }
p, li { color: var(--text); }
.lead { font-size: 20px; color: var(--muted); }
.muted { color: var(--muted); }
a { color: var(--accent-text); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.points { list-style: none; padding: 0; display: grid; gap: 12px; margin: 32px 0; }
.points li {
  margin: 0;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.points strong { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 18px; }
.note {
  border-left: 3px solid var(--care);
  padding: 4px 0 4px 14px;
  color: var(--muted);
}
footer { margin-top: 64px; padding-bottom: 40px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 15px; color: var(--muted); }
footer a { margin-right: 16px; }
