/* Mirrors src/constants/theme.ts (lightColors / darkColors). */
:root {
  --accent: #14161c;
  --on-accent: #ffffff;
  --glow: #2b7bd9;
  --ink: #14161c;
  --muted: #5c6270;
  --faint: #8a90a0;
  --canvas: #eef0f3;
  --secondary-fill: #e4e7ec;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #f2f3f5;
    --on-accent: #000000;
    --glow: #4c9aef;
    --ink: #f2f3f5;
    --muted: #9aa0ac;
    --faint: #767c88;
    --canvas: #000000;
    --secondary-fill: #2c2c2e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--muted);
  font: 16px/1.7 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

/* Same soft blue haze the app draws behind screen headers (ScreenGlow). */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 460px;
  pointer-events: none;
  background: radial-gradient(circle at 45% 10%, color-mix(in srgb, var(--glow) 28%, transparent) 0%, transparent 75%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}

main {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}

/* Top bar */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.brand svg { width: 26px; height: 26px; }
.links { display: flex; gap: 8px; }
.links a {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--secondary-fill);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.links a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }

/* Page title */
h1 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(2.1rem, 7vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lede { margin: 0 0 32px; color: var(--faint); font-size: 0.95rem; font-weight: 500; }

.card h2 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}
p, li { margin: 0 0 10px; }
ul { margin: 0 0 10px; padding-left: 1.2em; }
li::marker { color: var(--faint); }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { opacity: 0.7; }

/* Landing page */
.hero { text-align: center; padding-top: 24px; }
.hero .mark { width: 88px; height: 88px; color: var(--ink); margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.6rem, 10vw, 3.6rem); }
.hero p { max-width: 460px; margin: 0 auto 32px; font-size: 1.05rem; }
.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}

footer {
  margin-top: 40px;
  color: var(--faint);
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 480px) {
  .bar { margin-bottom: 36px; }
  .brand span { display: none; }
}
