/* Whereabuds site. System fonts only, no external requests.
   Palette: docs/DESIGN.md (graphite instrument, heat scale used only as light). */

:root {
  color-scheme: dark;
  --ink: #07070B;
  --graphite: #171520;
  --panel: #1A1824;
  --rule: #2C2938;
  --text: #F4F2F8;
  --muted: rgba(244, 242, 248, 0.72);
  --accent: #B7A6FF;
  --heat-0: #A23ACB;
  --heat-1: #C9418F;
  --heat-2: #E8695C;
  --heat-3: #FBA43A;
  --heat-4: #F4F25A;
  --radius: 18px;
  --measure: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(76, 47, 196, 0.35), transparent 70%),
    linear-gradient(var(--graphite), var(--ink) 60rem);
  background-color: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--heat-3); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--panel); padding: 0.5rem 1rem; border-radius: 8px; }

header.site, footer.site, main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
header.site .brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 700; }
header.site .brand img { width: 36px; height: 36px; border-radius: 9px; }
header.site nav { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.95rem; }

h1, h2, h3 {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.1rem); font-weight: 900; margin: 0.4em 0 0.3em; }
h2 { font-size: 1.45rem; margin: 2.2em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 0.3em; }

.readout {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 242, 248, 0.55);
}

.hero { text-align: center; padding: 2rem 0 1rem; }
.hero img.icon { width: 148px; height: 148px; border-radius: 33px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(76, 47, 196, 0.35); }
.hero p.lede { font-size: 1.25rem; color: var(--muted); margin: 0 auto; max-width: 30rem; }

.zones { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 1.5rem 0 0.5rem; }
.zones span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }

.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(#FFC266, var(--heat-3));
  color: #0F0E17;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(251, 164, 58, 0.35);
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 2rem 0; }
.card {
  background: linear-gradient(#201E2B, #14121C);
  border: 1px solid var(--rule);
  border-top-color: #3A3650;
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }

.panel {
  background: linear-gradient(#201E2B, #14121C);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

main.doc p, main.doc li { color: var(--muted); }
main.doc strong { color: var(--text); }
main.doc ul { padding-left: 1.2rem; }

footer.site {
  margin-top: 4rem;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: rgba(244, 242, 248, 0.55);
}
footer.site nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
