/* LearnPokémon static pages (/about/, /contact/) — matches the app chrome:
   scenic plate background, floating glass nav, cream glass document card.
   Display serif: Source Serif 4 (faces in /assets/lp-fonts-ss4.css). */
:root {
  --ink: #2b1548;
  --muted: #6b5684;
  --accent: #ff3d78;
  --blue: #2f6bff;
  --display: "Source Serif 4", Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff8f2;
  font-family: var(--sans);
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 248, 242, 0.08) 0%, rgba(255, 248, 242, 0.22) 100%),
    url("/bg/landscapes/river.webp") center / cover no-repeat,
    radial-gradient(880px 520px at -8% -12%, #ffe14a 0%, transparent 56%),
    radial-gradient(820px 500px at 110% -8%, #7ec4ff 0%, transparent 54%),
    #fff8f2;
}
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: #1a4fd6; }
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; margin: 0.15em 0 0.35em; }
h2 { font-size: 1.55rem; line-height: 1.2; margin: 1.5em 0 0.45em; }
p, li { font-size: 1.02rem; }
ul { padding-left: 1.3em; }
li + li { margin-top: 0.3em; }
code {
  font-size: 0.9em;
  background: rgba(120, 50, 160, 0.08);
  border-radius: 6px;
  padding: 0.08em 0.36em;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* Floating glass nav (same values as the app's lp-glass-nav.css) */
.top {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  width: min(1280px, calc(100% - 36px));
  margin: 14px auto 0;
  padding: 8px 18px;
  background: color-mix(in srgb, #fffbf5 75%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid color-mix(in srgb, #14110e 8%, transparent);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 251, 245, 0.72), 0 14px 36px rgba(48, 32, 14, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark { display: block; width: 28px; height: 28px; object-fit: contain; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}
.top nav a:hover,
.top nav a[aria-current="page"] {
  color: var(--ink);
  background: linear-gradient(#fffef8, #ffe9a8);
  box-shadow: 0 6px 16px rgba(255, 176, 32, 0.28);
}

/* Document card (same treatment as the app's .about-doc) */
main {
  width: min(820px, calc(100% - 28px));
  margin: 22px auto 28px;
  padding: 26px 34px 34px;
  color: var(--ink);
  background: rgba(255, 252, 247, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 176, 48, 0.45);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(16, 8, 24, 0.14);
}
.kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede { color: var(--muted); font-size: 1.12rem; line-height: 1.55; }
.disclaimer {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 176, 48, 0.55);
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.97rem;
}

.site-footer {
  width: min(820px, calc(100% - 28px));
  margin: 0 auto 36px;
  padding: 14px 22px;
  color: var(--ink);
  font-size: 0.92rem;
  background: rgba(255, 252, 248, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 196, 90, 0.4);
  border-radius: 20px;
}
.site-footer p { margin: 0 0 8px; font-size: 0.92rem; font-weight: 600; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer a { color: var(--ink); font-weight: 750; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .top { width: calc(100% - 20px); top: 8px; margin-top: 8px; padding: 6px 12px; }
  .top nav a { padding: 6px 9px; font-size: 0.95rem; }
  main { width: calc(100% - 20px); margin-top: 14px; padding: 18px 16px 26px; border-radius: 22px; }
  .site-footer { width: calc(100% - 20px); }
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .top { background: rgba(255, 251, 245, 0.8); border-color: rgba(20, 17, 14, 0.08); }
}
