/* Proof — Star Chart, on the web. One dark world (DESIGN.md), so no light theme.
   Gold is the only saturated colour; monospace throughout; glow, not shadow. */
:root {
  --field: #0a0d1a;
  --ink: #131a2e;
  --line: #232c4a;
  --star: #f4f1e6;
  --dim: #9aa1c2;
  --gold: #d9c07a;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--field); color: var(--star); }
body {
  font-family: var(--mono); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; padding-inline: 20px;
  overflow-x: hidden; position: relative;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.wrap, .narrow, header, footer, main { position: relative; z-index: 1; }
.wrap { max-width: 62rem; margin: 0 auto; }
.narrow { max-width: 42rem; margin: 0 auto; }

.eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 22px; max-width: 62rem; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--star); text-decoration: none; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.site-head nav { display: flex; gap: 18px; font-size: 13px; }
.site-head nav a { color: var(--dim); text-decoration: none; }
.site-head nav a:hover { color: var(--star); }

h1, h2, h3 { line-height: 1.25; margin: 0; }
h1 { font-size: clamp(28px, 6.5vw, 44px); font-weight: 700; }
h2 { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 14px; color: var(--dim); }
strong { color: var(--star); font-weight: 700; }

.btn {
  display: inline-block; background: var(--gold); color: var(--field); text-decoration: none;
  font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 26px; border-radius: var(--r); box-shadow: 0 0 22px rgba(217,192,122,.28);
}
.btn:hover { box-shadow: 0 0 32px rgba(217,192,122,.5); }

.hero { display: grid; grid-template-columns: 1fr; gap: 40px; padding-block: 36px 70px; align-items: center; }
.hero .lede { font-size: 18px; margin: 18px 0 28px; max-width: 34rem; }
.hero .note { font-size: 12px; margin: 14px 0 0; }
.hero .shot { justify-self: center; width: min(260px, 70%); }
.shot img { border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 0 60px rgba(217,192,122,.12); width: 100%; height: auto; }

section { padding-block: 44px; border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: s; }
.steps li, .panel { background: var(--ink); border: 1px solid var(--gold); border-radius: var(--r); padding: 18px 16px; }
.steps li { counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font-size: 11px; letter-spacing: 3px; color: var(--gold); margin-bottom: 6px; }
.steps p, .panel p:last-child { margin: 0; }
.cols { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.gallery img { border-radius: 18px; border: 1px solid var(--line); width: 100%; height: auto; }

/* Mock iOS notification banners */
.banners { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; gap: 10px; max-width: 26rem; }
.banner { display: flex; gap: 12px; align-items: flex-start; background: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; box-shadow: 0 0 26px rgba(217,192,122,.08); }
.banner img { width: 40px; height: 40px; border-radius: 9px; flex: none; }
.banner > div { min-width: 0; flex: 1; }
.banner p { margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.b-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); }
.b-title { font-size: 14px; font-weight: 700; color: var(--star); }
.b-body { font-size: 13px; color: var(--dim); }
.note-small, .fine { font-size: 12px; }
.fine { margin-top: 24px; }

footer { max-width: 62rem; margin: 0 auto; padding-block: 36px 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer a { color: var(--dim); }
footer p { margin: 0; }

/* Legal / support pages */
.doc { padding-block: 24px 40px; }
.doc h1 { font-size: 30px; margin-bottom: 8px; }
.doc h2 { font-size: 18px; margin: 34px 0 10px; color: var(--star); }
.doc .updated { font-size: 12px; letter-spacing: 1px; color: var(--dim); }
.doc p, .doc li { color: var(--dim); }
.doc ul { padding-left: 20px; }
.doc .email { color: var(--star); user-select: all; }
.doc .panel { margin: 14px 0; }
.doc .panel h2 { margin-top: 0; }

@media (min-width: 760px) {
  .hero { grid-template-columns: 1.15fr .85fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
