/* NoZap public site — style C "Ibrido": dark masthead and footer, light reading surface.
   Spec: engine/docs/news-site-style.md. Every colour is a token; nothing below the :root block hard-codes one. */
:root {
  --nz-deep: #1C1825;        /* masthead, footer, headline band */
  --nz-aubergine: #2D2536;
  --nz-ivory: #F5F1E9;       /* text on dark */
  --nz-dim: #9A93A6;         /* secondary text on dark (5.9:1) */
  --nz-coral: #FE6448;       /* fills, accents on dark, never body text on light (2.6:1) */

  --bg: #FBF9F4;             /* reading surface */
  --surface: #FFFFFF;
  --ink: #1C1825;            /* 15.5:1 on --bg */
  --muted: #6B6475;          /* 5.0:1 on --bg */
  --line: #E4DED2;
  --link: #B7351F;           /* 5.3:1 on --bg: the only coral allowed as text on light */

  --font-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  --font-read: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --radius: 10px;
  --gut: 24px;
  --measure: 720px;          /* reading column */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-head); line-height: 1.5; }
a { color: var(--link); text-underline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gut); }

/* masthead */
.top { background: var(--nz-deep); color: var(--nz-ivory); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.top img { height: 26px; display: block; }
.top nav { display: flex; gap: 20px; margin-left: 12px; font-size: 14.5px; }
.top nav a { color: inherit; text-decoration: none; opacity: .85; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--nz-coral); text-underline-offset: 5px; }

.btn { display: inline-block; background: var(--nz-coral); color: var(--nz-deep); font-weight: 700; padding: 10px 18px; border-radius: var(--radius); text-decoration: none; font-size: 14.5px; }
.top .btn { margin-left: auto; }

/* headline band */
.band { background: var(--nz-deep); color: var(--nz-ivory); padding: 42px 0 36px; }
.band .by { color: var(--nz-dim); font-size: 14px; }
.chip { display: inline-block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(254, 100, 72, .16); color: var(--nz-coral); }
.title { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-size: clamp(30px, 4.4vw, 46px); margin: 14px 0 12px; }

/* reading */
.read { max-width: var(--measure); padding: 40px 0 64px; }
.read h2 { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1.25; margin: 34px 0 8px; }
.read p { font-family: var(--font-read); font-size: 18px; line-height: 1.7; margin: 0 0 18px; }
.read p.lede { font-weight: 700; font-size: 19.5px; }

/* footer */
.foot { background: var(--nz-deep); color: var(--nz-ivory); padding: 34px 0; font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot a { color: inherit; opacity: .85; margin-right: 18px; }
.foot img { height: 22px; display: block; }

@media (max-width: 860px) { .top nav { display: none; } }
@media (prefers-reduced-motion: no-preference) { a { transition: opacity .15s; } }
