/* ---
title: Site styles
version: 0.1
updated: 2026-10-06
status: draft
purpose: Shared look for every page of the Doomproof AI site; colors and fonts are placeholders until the look step (S-04)
--- */

/* Layout concept: a civil-defense preparedness pamphlet. One readable column, a hero that
   leaves a hazard-striped crate for the AI Prepper, a supply-kit checklist, and two offer
   "kits". Navy ink on cool paper; preparedness yellow is the one loud color. Single light
   look by choice (the brand look is set in the look step). */
:root {
  color-scheme: light;
  --paper: #f3f5f8;      /* cool off-white page */
  --panel: #ffffff;      /* offer and tier panels */
  --ink: #13233f;        /* civil-defense navy: text, rules, buttons */
  --ink-soft: #46546b;   /* secondary text */
  --line: #c9d1dc;       /* hairlines and borders */
  --signal: #ffc629;     /* preparedness yellow: the one loud color */
  --signal-wash: #fff4cf;/* pale yellow for the promotion strip */

  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Public Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;   /* 14px small print */
  --step-0: 1.0625rem;   /* 17px body */
  --step-1: 1.3125rem;   /* 21px h3 */
  --step-2: clamp(2rem, 5.5vw, 3rem);       /* h2 */
  --step-3: clamp(2.9rem, 11vw, 5.75rem);   /* hero h1 */
  --measure: 38rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-3); font-weight: 900; }
h2 { font-size: var(--step-2); }
h3 {
  font-size: var(--step-1);
  line-height: 1.25;
  font-weight: 700;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }

/* ---------- page frame ---------- */

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.draft-bar {
  background: var(--ink);
  color: var(--paper);
  font-size: var(--step--1);
  padding-block: 0.5rem;
}

.site-header { padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.5rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
  text-decoration: none;
  margin-right: auto;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.95rem;
  order: 3;
  width: 100%;
}
.site-nav a { text-decoration: none; padding-block: 0.2rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; }

@media (min-width: 52rem) {
  .site-nav { order: 0; width: auto; }
}

/* ---------- buttons ---------- */

.button {
  display: inline-block;
  background: var(--signal);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.3rem;
  line-height: 1.2;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); text-decoration: none; }
.button-small { padding: 0.5rem 0.9rem; font-size: 0.95rem; box-shadow: 3px 3px 0 var(--ink); }

.reassure { font-size: var(--step--1); color: var(--ink-soft); max-width: 30rem; }

/* ---------- sections ---------- */

.band { padding-block: clamp(3rem, 8vw, 5.5rem); }
.band + .band { border-top: 1px solid var(--line); }

.stack { display: grid; gap: 1.1rem; align-content: start; }
.stack-lg { display: grid; gap: 2rem; align-content: start; }
.prose { max-width: var(--measure); }
.lead { font-size: 1.1875rem; line-height: 1.55; max-width: var(--measure); }
.muted { color: var(--ink-soft); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero .wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero-text { display: grid; gap: 1.4rem; min-width: 0; }
.hero-text .actions { display: grid; gap: 0.8rem; justify-items: start; }

@media (min-width: 56rem) {
  .hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; }
}

/* the reserved crate for the AI Prepper */
.crate {
  position: relative;
  aspect-ratio: 4 / 4.4;
  max-width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, var(--signal) 0 18px, var(--ink) 18px 36px);
}
.crate-inner {
  height: 100%;
  border-radius: 3px;
  background: var(--paper);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.5rem;
}
.crate-title { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1; }
.crate-note { font-size: var(--step--1); color: var(--ink-soft); max-width: 18rem; margin-inline: auto; }

@media (max-width: 55.99rem) {
  .crate { aspect-ratio: 4 / 3; }
}

/* ---------- founding promotion strip ---------- */

.promo {
  background: var(--signal-wash);
  border-block: 2px dashed var(--ink);
  padding-block: 1rem;
}
.promo p { max-width: 52rem; }

/* ---------- the kit checklist ---------- */

.kit {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem 2.5rem;
}
@media (min-width: 46rem) { .kit { grid-template-columns: 1fr 1fr; } }
.kit li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}
.tick {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--signal);
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.12rem;
  width: 0.4rem;
  height: 0.8rem;
  border: solid var(--ink);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* ---------- offers (the two kits) ---------- */

.offers { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .offers { grid-template-columns: 1fr 1fr; } }

.offer {
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
}
.offer-head {
  padding: 1.4rem 1.4rem 0;
  display: grid;
  gap: 0.7rem;
}
.offer-body { padding: 1rem 1.4rem 0; }
.offer-price {
  margin: 1.4rem 1.4rem 0;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.15rem;
}
.offer-foot { padding: 1rem 1.4rem 1.4rem; }

.price-label { font-size: var(--step--1); color: var(--ink-soft); }
.price {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-was { font-size: var(--step--1); color: var(--ink-soft); }
.price-was s { text-decoration-thickness: 1px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.ticks li { padding-left: 1.4rem; position: relative; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--signal);
  border: 2px solid var(--ink);
  border-radius: 2px;
}
.crosses li::before { background: var(--paper); }

/* ---------- steps (a real sequence) ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; } }
.steps li { counter-increment: step; display: grid; gap: 0.4rem; align-content: start; }
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--panel);
  margin-bottom: 0.3rem;
}
.steps h3 { font-size: 1.125rem; }
.steps p { font-size: 0.97rem; color: var(--ink-soft); }

/* ---------- who's doing the work ---------- */

.person { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 46rem) { .person { grid-template-columns: 14rem minmax(0, 1fr); } }

.photo-slot {
  aspect-ratio: 4 / 5;
  max-width: 14rem;
  border: 2px dashed var(--ink-soft);
  border-radius: var(--radius);
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: var(--step--1);
  padding: 1rem;
  background: var(--panel);
}

/* ---------- FAQ ---------- */

.faq { display: grid; max-width: 46rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding-block: 1rem;
  padding-right: 2rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.75rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 1.1rem; display: grid; gap: 0.7rem; max-width: var(--measure); }

/* ---------- closing call to action ---------- */

.closer { background: var(--ink); color: var(--paper); }
.closer h2 { color: var(--paper); }
.closer p { color: var(--paper); }
.closer .stack { justify-items: start; }
.closer .button { box-shadow: 4px 4px 0 var(--signal); border-color: var(--signal); }
.closer .button:hover { box-shadow: 2px 2px 0 var(--signal); }

/* ---------- offer pages: tiers ---------- */

.page-head { padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3rem); }
.page-head h1 { font-size: clamp(2.6rem, 9vw, 4.75rem); max-width: 18ch; }

.tiers { display: grid; gap: 1.25rem; }
@media (min-width: 58rem) {
  .tiers-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiers-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; }
}
.tier {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  min-width: 0;
}
.tier-front { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--signal); }
.tier-flag {
  position: absolute;
  top: -0.8rem;
  left: 1.2rem;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.5;
  padding: 0.05rem 0.6rem;
  border-radius: 3px;
}
.tier p, .tier li { font-size: 0.97rem; }

.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .two-col { grid-template-columns: 1fr 1fr; } }

.note-box {
  background: var(--panel);
  border-left: 4px solid var(--signal);
  padding: 1.1rem 1.25rem;
  max-width: var(--measure);
}

/* ---------- about page ---------- */

.built-groups { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .built-groups { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }
.built-group { display: grid; gap: 0.8rem; align-content: start; }
.built-group .for { font-size: var(--step--1); color: var(--ink-soft); }
.built-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.built-list strong { display: block; }

/* ---------- start page ---------- */

.form-slot {
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}
.form-slot ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.3rem; }
.email-line { font-weight: 700; user-select: all; }

/* ---------- footer ---------- */

.site-footer { padding-block: 2.5rem 3rem; font-size: var(--step--1); color: var(--ink-soft); }
.site-footer .wrap { display: grid; gap: 0.8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer-links a { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
