/*
  Outage Prep website mockup. Direction E: rugged premium.
  Hand-written, no build step. Fonts self-hosted in fonts/ (SIL Open Font License 1.1, see fonts/OFL.txt):
    - Barlow Condensed 600/800: headlines, labels, numbers.
    - Barlow 400/600: text.
  Palette: basalt #161917, granite #262A28, iron #3A3F3C, stone #A7ADA8 (text on dark),
           concrete #DCDDD7 (light field), chalk #F3F3EF, ink #161917, muted #4B504C,
           signal ochre #E2A626 (fills, rules and text on dark only; never text on light).
*/
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); }

:root {
  --basalt: #161917;
  --granite: #262A28;
  --iron: #3A3F3C;
  --stone: #A7ADA8;
  --concrete: #DCDDD7;
  --chalk: #F3F3EF;
  --ink: #161917;
  --muted: #4B504C;
  --ochre: #E2A626;
  --ochre-hi: #F0B83C;
  --soft-on-dark: #D3D6D1;
  --rule-light: #B9BBB4;
  --rule-chalk: #C9CBC4;

  --cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --t-mega: clamp(3.25rem, 1.2rem + 8.4vw, 8.75rem);
  --t-h1: clamp(2.6rem, 1.4rem + 4.6vw, 5.5rem);
  --t-h2: clamp(2.5rem, 1.4rem + 4.4vw, 5.25rem);
  --t-h3: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --t-body: 1.125rem;
  --t-label: 0.9375rem;

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 80rem;
  --prose: 46rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--chalk);
}
h1, h2, h3, h4, p, ul, ol, blockquote, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase;
  line-height: .95; letter-spacing: .005em; text-wrap: balance;
}
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
code { font-size: .9em; background: var(--concrete); padding: .05em .3em; overflow-wrap: anywhere; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .site-head :focus-visible, .site-foot :focus-visible,
.hero :focus-visible, .page-hero :focus-visible, .band-night :focus-visible,
.part-box :focus-visible, .slab :focus-visible { outline-color: var(--ochre); }
.mockup :focus-visible { outline-color: var(--ink); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ochre); color: var(--ink);
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: .75rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Shared type styles */
.label {
  font-family: var(--cond); font-weight: 600; font-size: var(--t-label);
  text-transform: uppercase; letter-spacing: .14em; line-height: 1.3;
}
.h2 { font-size: var(--t-h2); line-height: .92; letter-spacing: -.005em; }
.muted { color: var(--muted); }
.small { font-size: 1rem; }
.note { font-size: 1rem; color: var(--muted); margin-top: 1rem; }

/* Mockup banner */
.mockup {
  background: var(--ochre); color: var(--ink);
  text-align: center; padding: .55rem var(--gutter);
}

/* ---------- Header ---------- */
.site-head { background: var(--basalt); color: var(--chalk); border-bottom: 1px solid var(--iron); }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem; text-decoration: none;
  font-family: var(--cond); font-weight: 800; font-size: 1.65rem;
  text-transform: uppercase; letter-spacing: .04em; line-height: 1;
}
.brand svg { flex: none; }
.nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; align-items: center; }
.nav a { text-decoration: none; color: var(--stone); padding: .35rem 0; display: inline-block; }
.nav a:hover { color: var(--chalk); }
.nav a[aria-current="page"] { color: var(--chalk); box-shadow: inset 0 -3px 0 var(--ochre); }
.nav .nav-cta { color: var(--ink); background: var(--ochre); padding: .55rem 1rem; }
.nav .nav-cta:hover { color: var(--ink); background: var(--ochre-hi); }
.nav .nav-cta[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
.brand.brand-sm { font-size: 1.15rem; }

/* Mobile menu: the toggle only appears when nav.js has run (data-js on .nav).
   Without JS the links stay visible as a wrapping row. */
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .9rem;
  background: var(--ochre); color: var(--ink); text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--cond); font-weight: 800; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: .06em; line-height: 1;
  padding: 1.15rem 1.6rem 1.1rem;
}
.btn:hover { background: var(--ochre-hi); }
.btn svg { flex: none; }
.link-strong { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Home: hero ---------- */
.hero { background: var(--basalt); color: var(--chalk); padding: clamp(3.5rem, 9vw, 7.5rem) 0 0; }
.hero h1 { font-size: var(--t-mega); line-height: .88; letter-spacing: -.01em; max-width: 13.5ch; }
.hero h1 span { color: var(--ochre); }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: end;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 5.5rem);
  border-top: 6px solid var(--ochre);
}
.hero .lede { color: var(--soft-on-dark); max-width: 36rem; font-size: 1.1875rem; }
.actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
/* Launch-only bits are hidden in the mockup; class rules like .actions must not show them. */
[hidden] { display: none !important; }
/* app.html's "Open the app" button (launch build only) */
.hero-split .actions { margin-top: 1.75rem; }
.hero .link-strong { color: var(--chalk); text-decoration-color: var(--ochre); }
.hero .label { color: var(--stone); }

/* ---------- Home: what changed ---------- */
.changed { background: var(--concrete); padding: clamp(4rem, 9vw, 7.5rem) 0; }
.changed .h2 { max-width: 12ch; }
.events {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 6px solid var(--ink);
}
.events li { padding: 1.4rem 1.5rem 1.6rem 0; border-right: 1px solid var(--rule-light); }
.events li + li { padding-left: 1.5rem; }
.events li:last-child { border-right: 0; }
.events .date {
  display: block; font-family: var(--cond); font-weight: 800;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1; text-transform: uppercase;
  margin-bottom: .7rem;
}
.changed-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem); margin-top: clamp(3rem, 6vw, 4.5rem); align-items: start;
}
.changed-body > p { max-width: 34rem; }
.slab { background: var(--basalt); color: var(--chalk); padding: clamp(1.75rem, 4vw, 3rem); }
.slab blockquote p {
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); line-height: 1.08; letter-spacing: .005em;
}
.slab figcaption { color: var(--stone); margin-top: 1.5rem; font-size: 1rem; line-height: 1.5; max-width: 40rem; }
.slab figcaption::before { content: ""; display: block; width: 3rem; height: 4px; background: var(--ochre); margin-bottom: 1rem; }
.slab figcaption a { color: var(--chalk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.after { margin-top: 2rem; display: grid; gap: 1.25rem; justify-items: start; }
.after p { max-width: 38rem; }

/* ---------- Home: three parts ---------- */
.parts { background: var(--chalk); padding: clamp(4rem, 9vw, 7.5rem) 0 0; }
.parts-index {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 3rem); border-top: 6px solid var(--ink);
}
.parts-index a {
  display: flex; gap: .9rem; align-items: baseline; text-decoration: none;
  padding: 1rem 1rem 1rem 0; border-right: 1px solid var(--rule-chalk);
}
.parts-index li + li a { padding-left: 1.25rem; }
.parts-index li:last-child a { border-right: 0; }
.parts-index a:hover .label:last-child { text-decoration: underline; text-underline-offset: 4px; }
.parts-index .label:first-child { color: var(--muted); }
.part { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.part + .part { border-top: 1px solid var(--rule-chalk); }
.part-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem clamp(2rem, 6vw, 6rem); align-items: center;
}
.part-no {
  font-family: var(--cond); font-weight: 800; font-size: clamp(4.5rem, 3rem + 6vw, 9rem);
  line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ink);
  display: block; margin-bottom: 1.5rem;
}
.part h3 { font-size: var(--t-h3); line-height: 1; letter-spacing: .01em; margin-bottom: 1rem; }
.part p { max-width: 32rem; }
.part .link-strong { display: inline-block; margin-top: 1.25rem; }

.plate { background: var(--concrete); padding: clamp(1.5rem, 3vw, 2.25rem); border-left: 10px solid var(--ink); }
.plate ol { display: grid; counter-reset: s; }
.plate li {
  counter-increment: s; display: flex; gap: 1rem; align-items: center;
  padding: .9rem 0; border-bottom: 1px solid var(--rule-light);
}
.plate li:last-child { border-bottom: 0; }
.plate li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--cond); font-weight: 800; font-size: 1.1rem; color: var(--muted); min-width: 1.8rem;
}
.plate .box-check { width: 22px; height: 22px; border: 3px solid var(--ink); flex: none; }

.part-box { background: var(--granite); color: var(--chalk); border-top: 0 !important; }
.part-box .part-no { -webkit-text-stroke-color: var(--ochre); }
@media (min-width: 901px) { .part-box .part-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.part-box p { color: var(--soft-on-dark); }
.part-box .link-strong { color: var(--chalk); text-decoration-color: var(--ochre); }
.box-stage { position: relative; }
.box-stage svg { width: 100%; height: auto; max-width: 640px; margin: 0 auto; }
.specs {
  margin-top: 2.25rem; border-top: 4px solid var(--ochre);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.specs div { padding: .95rem 1rem .95rem 0; border-bottom: 1px solid var(--iron); }
.specs div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--iron); }
.specs dt { color: var(--stone); }
.specs dd {
  font-family: var(--cond); font-weight: 600; font-size: 1.35rem; text-transform: uppercase;
  line-height: 1.15; letter-spacing: .02em; margin-top: .25rem;
}

/* Phone frame: the drawn app screen (home) and real screenshots (other pages) */
.phone-fig { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin: 0; }
.phone {
  width: 100%; max-width: 340px; background: #0B0D0C; padding: 12px; margin: 0 auto;
  border-radius: 46px; box-shadow: 0 0 0 2px var(--iron), 0 30px 60px -30px rgba(0,0,0,.55);
}
.phone img {
  width: 100%; border-radius: 34px; aspect-ratio: 780 / 1560;
  object-fit: cover; object-position: top; background: var(--basalt);
}
.screen { background: var(--basalt); color: var(--chalk); border-radius: 36px; overflow: hidden; padding: 18px 20px 22px; }
.screen .status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .85rem; }
.screen .island { width: 92px; height: 26px; background: #000; border-radius: 20px; }
.screen .app-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--iron);
}
.screen .app-bar .label { color: var(--stone); font-size: .8rem; }
.screen .readout { padding: 18px 0 14px; }
.screen .big {
  font-family: var(--cond); font-weight: 800; font-size: 6.25rem; line-height: .8;
  display: flex; align-items: flex-end; gap: .6rem;
}
.screen .big small { font-size: 1.6rem; line-height: 1; text-transform: uppercase; padding-bottom: .35rem; letter-spacing: .02em; }
.screen .meter { position: relative; height: 12px; background: var(--iron); margin-top: 16px; }
.screen .meter i { position: absolute; inset: 0 50% 0 0; background: var(--ochre); }
.screen .meter-scale { display: flex; justify-content: space-between; margin-top: 6px; color: var(--stone); font-size: .75rem; }
.screen .rows li {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  padding: 10px 0; border-top: 1px solid var(--iron); font-size: .95rem;
}
.screen .val { font-family: var(--cond); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.screen .val small { font-weight: 600; font-size: .75rem; letter-spacing: .1em; color: var(--stone); margin-left: 3px; }
.screen .rows .short { background: var(--ochre); color: var(--ink); margin: 0 -20px; padding: 10px 20px; border-top: 0; }
.screen .short .val small { color: var(--ink); }
.screen .short .sub { display: block; font-size: .68rem; }
.screen .next { margin-top: 14px; border: 2px solid var(--ochre); padding: 12px 14px; }
.screen .next .label { color: var(--ochre); font-size: .75rem; }
.screen .next p { margin-top: 4px; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.phone-caption, .shot-cap { color: var(--muted); text-align: center; margin-top: 1rem; font-size: 1rem; }
.on-dark .shot-cap, .hero .shot-cap, .page-hero .shot-cap { color: var(--stone); }

/* ---------- Inner pages: dark page header ---------- */
.page-hero { background: var(--basalt); color: var(--chalk); padding: clamp(3rem, 7vw, 6rem) 0 0; }
.page-hero h1 { font-size: var(--t-h1); line-height: .92; letter-spacing: -.005em; max-width: 18ch; }
.page-hero .eyebrow { color: var(--stone); margin-bottom: 1.25rem; }
.page-hero .lede {
  color: var(--soft-on-dark); font-size: 1.1875rem; max-width: 40rem;
  margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  border-top: 6px solid var(--ochre);
}
.page-hero .lede-rule { border-top: 6px solid var(--ochre); margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-hero .lede-rule .lede { border-top: 0; margin-top: 0; padding: 0; }
.eyebrow { display: block; }

/* Hero split (box and app pages) */
.hero-split { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero-split .split { align-items: center; }
.hero-split h1 { font-size: var(--t-h1); line-height: .92; max-width: 14ch; }
.hero-split .eyebrow { color: var(--stone); margin-bottom: 1.25rem; }
.hero-split .lede { color: var(--soft-on-dark); font-size: 1.1875rem; max-width: 36rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 6px solid var(--ochre); }
.hero-split p, .hero-split li { color: var(--soft-on-dark); }
.hero-split .facts { margin-top: 1.25rem; display: grid; gap: .4rem; }
.hero-split .facts li { display: flex; gap: .75rem; align-items: baseline; }
.hero-split .facts li::before { content: ""; width: .6rem; height: .6rem; background: var(--ochre); flex: none; transform: translateY(-.1rem); }
.hero-split a { color: var(--chalk); text-decoration-color: var(--ochre); }
.price {
  font-family: var(--cond); font-weight: 800; font-size: clamp(3.5rem, 2.5rem + 3vw, 5rem);
  line-height: 1; color: var(--chalk) !important; margin-top: 1.75rem;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem;
}
.price small { font-family: var(--cond); font-weight: 600; font-size: var(--t-label); text-transform: uppercase; letter-spacing: .14em; color: var(--stone); }
.hero-split .price + p { margin-top: .5rem; }
.device { position: relative; }
.device svg { width: 100%; height: auto; max-width: 640px; margin: 0 auto; }
.device .cap { display: block; text-align: center; color: var(--stone); margin-top: .5rem; }
.panel { background: var(--granite); border-left: 6px solid var(--ochre); padding: 1.25rem 1.4rem; margin-top: 2rem; }
.panel p { color: var(--soft-on-dark); }

/* ---------- Sections ---------- */
section.band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.band-chalk { background: var(--chalk); }
.band-linen { background: var(--concrete); }
.band-night { background: var(--basalt); color: var(--chalk); }
.band-night .muted, .band-night .lede { color: var(--soft-on-dark); }
.band-night a { color: var(--chalk); text-decoration-color: var(--ochre); }
.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .eyebrow { color: var(--muted); margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); line-height: .95; }
.section-head p:not(.eyebrow) { margin-top: 1.25rem; max-width: 40rem; }
.section-head .lede { font-size: 1.1875rem; }
.band-night .section-head .eyebrow { color: var(--stone); }
.split { display: grid; gap: 2.5rem clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split > div > p + p { margin-top: 1rem; }
.split h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); line-height: .95; margin-bottom: 1.25rem; }
.split h3 { font-size: 1.75rem; margin-bottom: 1rem; }

/* Cards: hard-edged blocks, a rule on top */
.cards { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 6px solid var(--ink); }
.card { padding: 1.5rem 1.75rem 1.75rem 0; border-bottom: 1px solid var(--rule-light); }
.cards .card:nth-child(even) { padding-left: 1.75rem; padding-right: 0; border-left: 1px solid var(--rule-light); }
.card h3 { font-size: 1.75rem; line-height: 1; margin-bottom: .75rem; }
.card ul { list-style: square; padding-left: 1.2em; display: grid; gap: .35rem; }
.card.free-wins { box-shadow: inset 0 6px 0 var(--ink); }
.solo-card { background: var(--concrete); border-left: 10px solid var(--ink); padding: 1.25rem 1.5rem; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 6px solid var(--ink); }
.pillar { padding: 1.5rem 1.5rem 1.75rem 0; border-right: 1px solid var(--rule-chalk); }
.pillar + .pillar { padding-left: 1.5rem; }
.pillar:last-child { border-right: 0; }
.pillar h3 { font-size: 1.75rem; line-height: 1; margin-bottom: .75rem; }

/* Tags */
.tag {
  display: inline-block; vertical-align: .2em;
  font-family: var(--cond); font-weight: 600; font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em;
  line-height: 1.2; padding: .2rem .5rem; color: var(--ink); background: var(--concrete);
}
.tag-plan { background: var(--ochre); color: var(--ink); }
.tag-review { background: var(--chalk); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.tag-ours { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--muted); }
h1 .tag, h2 .tag, h3 .tag { font-size: .8125rem; vertical-align: .35em; letter-spacing: .12em; }

/* ---------- Article prose ---------- */
.article { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 6.5rem); }
.prose { max-width: var(--prose); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); margin-top: clamp(2.75rem, 6vw, 4rem); padding-top: 1.25rem; border-top: 6px solid var(--ink); }
.prose h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.25rem; }
.prose h4 { font-size: 1.35rem; }
.prose ul { list-style: square; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.5em; }
.prose li + li { margin-top: .5rem; }
.prose li::marker { color: var(--muted); font-weight: 600; }
.prose a { text-decoration-thickness: 1.5px; }
.byline {
  font-family: var(--cond); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); border-bottom: 1px solid var(--rule-chalk); padding: 0 0 1rem; line-height: 1.45;
}
.prose > .byline { margin-bottom: 2rem; }
.byline a { color: var(--ink); }
sup.cite { font-size: .72em; line-height: 0; }
sup.cite a {
  font-family: var(--cond); font-weight: 800; color: var(--ink); text-decoration: underline;
  text-decoration-thickness: 1px; padding: 0 2px;
}
.sources { list-style: decimal !important; font-size: 1rem; color: var(--muted); padding-left: 1.6em !important; }
.sources li { word-break: break-word; }
.sources li::marker { font-family: var(--cond); font-weight: 800; color: var(--ink); }
.sources a { color: var(--ink); }

/* Emergency / disclaimer line */
.call911 { background: var(--concrete); border-left: 10px solid var(--ink); padding: 1rem 1.25rem; font-size: 1.05rem; }
.call911 b { font-weight: 600; }

/* Starter list: numbered plate */
.prose ol.starter { list-style: none; padding: 0 clamp(1.25rem, 3vw, 2rem); counter-reset: s; background: var(--concrete); border-left: 10px solid var(--ink); }
.starter li { counter-increment: s; padding: 1.1rem 0 1.1rem 3.25rem; position: relative; border-bottom: 1px solid var(--rule-light); }
.prose .starter li + li { margin-top: 0; }
.starter li:last-child { border-bottom: 0; }
.starter li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1rem;
  font-family: var(--cond); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--muted);
}
.starter .min { float: right; margin-left: .75rem; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--muted); }

/* Count-my-days block */
.daycheck {
  background: var(--basalt); color: var(--chalk); padding: clamp(1.5rem, 4vw, 2.25rem);
  border-top: 6px solid var(--ochre); display: grid; gap: .75rem; justify-items: start;
}
.daycheck strong { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; }
.daycheck span { color: var(--soft-on-dark); }
.daycheck .btn { margin-top: .5rem; }
.daycheck :focus-visible { outline-color: var(--ochre); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 6px solid var(--ink); }
.prose .stats { margin-top: 1.5rem; }
.stat { padding: 1.25rem 1.25rem 1.5rem 0; border-right: 1px solid var(--rule-chalk); }
.stat + .stat { padding-left: 1.25rem; }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--cond); font-weight: 800; font-size: clamp(2.75rem, 2rem + 2.5vw, 4rem); line-height: .9; }
.stat .l { font-size: 1rem; color: var(--muted); margin-top: .6rem; }

/* Checklist page */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; }
.toc a {
  display: inline-block; text-decoration: none; padding: .55rem .9rem; background: var(--ink); color: var(--chalk);
  font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: var(--t-label);
}
.toc a:hover { background: var(--iron); }
.check-group { margin-top: clamp(2.5rem, 6vw, 3.5rem) !important; }
.check-group h2 { margin-top: 0; margin-bottom: 0; }
.prose ul.checklist { list-style: none; padding: 0; margin-top: 0; }
.checklist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule-chalk); }
.prose .checklist li + li { margin-top: 0; }
.box-tick { width: 24px; height: 24px; border: 3px solid var(--ink); margin-top: 3px; }
.checklist .what { font-weight: 600; font-size: 1.15rem; }
.checklist .why { margin-top: .3rem; }
.checklist .src { font-size: .95rem; color: var(--muted); margin-top: .5rem; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 6px solid var(--ink); }
.compare { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 1rem; }
.compare caption { text-align: left; padding: 1rem 0; font-size: .95rem; color: var(--muted); caption-side: bottom; }
.compare th, .compare td { padding: .85rem .9rem; border-bottom: 1px solid var(--rule-light); text-align: left; vertical-align: top; }
.compare thead th {
  font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 1.2rem; line-height: 1.1;
}
.compare tbody th { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: var(--t-label); width: 16%; }
.compare .us { background: var(--basalt); color: var(--chalk); }
.compare thead .us { box-shadow: inset 0 4px 0 var(--ochre); }
.compare a { color: inherit; }
.spec { width: 100%; border-collapse: collapse; font-size: 1rem; border-top: 4px solid var(--ink); }
.spec th, .spec td { text-align: left; padding: .8rem .5rem .8rem 0; border-bottom: 1px solid var(--rule-chalk); vertical-align: top; }
.spec th { width: 34%; font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: var(--t-label); color: var(--muted); }

/* Screenshot grid */
.shots { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.shots .phone { max-width: 250px; }

/* Signup form */
.signup { display: grid; gap: .6rem; max-width: 32rem; margin-top: 1.75rem; }
.signup label { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: var(--t-label); }
.signup .row { display: flex; flex-wrap: wrap; gap: .6rem; }
.signup input[type=email] {
  flex: 1 1 13rem; min-width: 0; font: inherit; font-size: 1.05rem; padding: .85rem 1rem;
  border: 2px solid var(--ink); border-radius: 0; background: var(--chalk); color: var(--ink);
}
.signup .btn { font-size: 1.15rem; padding: .9rem 1.2rem; }
.signup .status { font-size: .95rem; min-height: 1.4em; color: var(--muted); }
.hero .signup label, .hero-split .signup label { color: var(--chalk); }
.hero-split .signup input[type=email] { border-color: var(--stone); background: var(--granite); color: var(--chalk); }
.hero-split .signup input[type=email]::placeholder { color: var(--stone); }
.hero-split .signup .status { color: var(--stone); }

/* ---------- Footer ---------- */
.site-foot { background: var(--basalt); color: var(--chalk); padding: 3rem 0 2.5rem; border-top: 6px solid var(--ochre); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4rem); }
.site-foot p, .site-foot li { color: var(--stone); }
.site-foot .tagline { margin-top: 1rem; max-width: 22rem; }
.site-foot h2 { font-family: var(--cond); font-weight: 600; font-size: var(--t-label); letter-spacing: .14em; color: var(--chalk); margin-bottom: .75rem; }
.site-foot ul { display: grid; gap: .4rem; }
.site-foot a { color: var(--chalk); text-decoration-color: var(--ochre); }
.site-foot li b { color: var(--chalk); }
.foot-911 { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--iron); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
.foot-911 .label { color: var(--chalk) !important; }
.foot-fine { font-size: .9rem; max-width: 46rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-foot, .changed-body, .part-grid, .split, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events li, .events li + li { padding: 1.25rem 1rem 1.25rem 0; border-right: 0; border-bottom: 1px solid var(--rule-light); }
  .events li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--rule-light); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid var(--rule-chalk); }
  .site-head .wrap { gap: .9rem 1.5rem; }
  .nav { width: 100%; }
  .nav ul { gap: .25rem 1.25rem; }
  .nav .cta-item { margin-left: auto; }
}
@media (max-width: 640px) {
  .brand { font-size: 1.4rem; }
  .nav ul { gap: .1rem 1rem; }
  .nav li:not(.cta-item) { font-size: .875rem; letter-spacing: .1em; }
  .nav .cta-item { flex-basis: 100%; margin-left: 0; margin-top: .4rem; }
  .nav .nav-cta { display: block; text-align: center; }
  .parts-index { grid-template-columns: minmax(0, 1fr); }
  .parts-index a, .parts-index li + li a { padding: .85rem 0; border-right: 0; border-bottom: 1px solid var(--rule-chalk); }
  .events { grid-template-columns: minmax(0, 1fr); }
  .events li:nth-child(even) { padding-left: 0; border-left: 0; }
  .specs, .cards, .stats { grid-template-columns: minmax(0, 1fr); }
  .specs div:nth-child(even) { padding-left: 0; border-left: 0; }
  .cards .card:nth-child(even) { padding-left: 0; border-left: 0; }
  .card { padding-right: 0; }
  .stat, .stat + .stat { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--rule-chalk); }
  .btn { font-size: 1.3rem; }
  .starter .min { float: none; display: block; margin: 0 0 .2rem; }
}
@media (max-width: 900px) {
  .site-head { position: relative; }
  .nav[data-js] { width: auto; }
  .nav[data-js] .nav-toggle {
    display: inline-flex; align-items: center; gap: .6rem; cursor: pointer;
    background: transparent; color: var(--chalk); border: 2px solid var(--iron);
    padding: .6rem .9rem; min-height: 44px;
  }
  .nav[data-js] .nav-toggle:hover { border-color: var(--stone); }
  .nav[data-js] .nav-toggle[aria-expanded="true"] { border-color: var(--ochre); }
  .nav[data-js] ul { display: none; }
  .nav[data-js].is-open ul {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    background: var(--basalt); border-bottom: 6px solid var(--ochre);
    padding: .5rem var(--gutter) 1.5rem;
  }
  .nav[data-js] ul li:not(.cta-item) { font-size: 1.125rem; letter-spacing: .12em; border-bottom: 1px solid var(--iron); }
  .nav[data-js] ul li a:not(.nav-cta) { display: block; padding: .9rem 0; }
  .nav[data-js] ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--ochre); padding-left: 1rem; }
  .nav[data-js] .cta-item { flex-basis: auto; margin: 1.25rem 0 0; }
  .nav[data-js] .nav-cta { display: block; text-align: center; padding: .9rem 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .led { animation: glow 3.2s ease-in-out infinite; }
  @keyframes glow { 50% { opacity: .55; } }
}

/* Page-specific helpers */
.compare-narrow { min-width: 560px; }
.prose .shot-fig { margin: 2.5rem 0; }
.shot-fig .phone { max-width: 260px; }
.shot-fig .shot-cap { max-width: 26rem; margin: 1rem auto 0; }
.solo-card h4 { margin-bottom: .4rem; }
.prose .daycheck { margin: 2.5rem 0; }
.panel code { background: var(--iron); color: var(--chalk); }
.split-top { align-items: start; }
.cards-gap { margin-top: 2.5rem; }
.hero-split .device .cap { color: var(--stone); }
.band .split .eyebrow { color: var(--muted); margin-bottom: 1rem; }
.prose > .note { margin-top: 1.5rem; }
.prose ul.toc { list-style: none; padding: 0; }
.prose .toc li + li { margin-top: 0; }
.hero h1, .changed .h2, .parts .h2 { text-wrap: wrap; }

/* Coming-soon page (coming-soon.html): one screen, no nav, no banner */
body.soon { background: var(--basalt); }
.soon-main { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(2rem, 6vw, 4rem) 0; }
.soon-main .wrap { width: 100%; }
.soon-main .brand { color: var(--chalk); margin-bottom: clamp(2.5rem, 7vw, 5rem); }
.soon-foot { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }

/* Email list: the sign-up forms' extras, and the list's own pages (check-your-email.html, privacy.html,
   and the pages /api/ answers with, which link this file because the CSP allows no inline styles) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.signup .consent { font-size: .95rem; color: var(--muted); }
.signup .consent a { text-decoration-color: var(--ochre); }
.hero .signup .consent, .hero-split .signup .consent { color: var(--stone); }
.signup fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; }
.signup legend { padding: 0; margin-bottom: .35rem; }
.signup .choice { display: flex; gap: .6rem; align-items: center; font-family: var(--text); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1.05rem; }
.signup .choice input { accent-color: var(--ochre); width: 1.15rem; height: 1.15rem; margin: 0; flex: none; }
.soon .signup input[type=email] { border-color: var(--stone); background: var(--granite); color: var(--chalk); }
.soon .signup input[type=email]::placeholder { color: var(--stone); }
.soon .signup legend, .soon .signup .choice { color: var(--chalk); }
.list-page .brand { color: var(--chalk); }
.list-page h1 { font-size: var(--t-h1); line-height: .92; max-width: 16ch; margin-bottom: 1.75rem; }
.list-page .copy { max-width: 40rem; display: grid; gap: 1rem; color: var(--soft-on-dark); padding-top: 1.5rem; border-top: 6px solid var(--ochre); }
.list-page .copy h2 { font-size: 1.75rem; color: var(--chalk); margin-top: 1rem; }
.list-page .copy ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; }
.list-page .copy strong { color: var(--chalk); overflow-wrap: anywhere; }
.list-page a { color: var(--chalk); text-decoration-color: var(--ochre); }
.list-page .muted { color: var(--stone); font-size: 1rem; }
.list-page form { display: grid; gap: 1rem; justify-items: start; }
.list-page fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.list-page .check { display: flex; gap: .65rem; align-items: flex-start; color: var(--chalk); }
.list-page .check input { accent-color: var(--ochre); width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; flex: none; }
.list-page .row { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.btn-plain { background: none; border: 0; padding: .6rem 0; color: var(--stone); font: inherit; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.btn-plain:hover { color: var(--chalk); }
