/* Never Knew List: shared styles. Plain CSS, no build step, no JS.
   Palette (brand kit v2): navy #1B2A4A, teal #156F75, copper #D65A18,
   paper #F6F0E6, ivory #FAF7F2, charcoal #1F2430.
   Contrast notes (WCAG): navy/charcoal on paper or ivory >= 12.5:1; teal on
   paper/ivory >= 5.2:1; ivory on navy 13.3:1; ivory on teal 5.5:1.
   Copper is 3.5-3.7:1 on paper/ivory/navy, so it is used for large display
   text (24px+, or 18.66px+ bold) and decoration only, never for body text. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
}

:root {
  --navy: #1b2a4a;
  --teal: #156f75;
  --copper: #d65a18;
  --paper: #f6f0e6;
  --ivory: #faf7f2;
  --charcoal: #1f2430;
  --white: #ffffff;
  --font-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --wrap: 72rem;
  --prose: 44rem;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.09em;
}
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 0.75rem; color: var(--ivory); outline-color: var(--copper); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.prose { max-width: var(--prose); }

/* ---------- Header ---------- */
.site-header {
  background: var(--ivory);
  border-top: 8px solid var(--copper); /* decoration */
  border-bottom: 3px solid var(--navy);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.9rem;
}
.brand { display: inline-block; line-height: 0; }
.brand img { display: block; width: clamp(10.5rem, 38vw, 14rem); height: auto; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-block;
  padding: 0.45rem 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 4px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--copper); color: var(--navy); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--copper); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6.5rem);
}
.hero h1 { color: var(--ivory); max-width: 14ch; margin-bottom: 0.4em; }
.hero h1 .accent { color: var(--copper); } /* large display text only */
.hero p { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 38rem; color: var(--paper); }
.hero .eyebrow { color: var(--paper); }
.hero a { color: var(--ivory); }
.hero-spark {
  position: absolute;
  right: clamp(-3rem, -2vw, 0rem);
  bottom: -2rem;
  width: clamp(10rem, 32vw, 24rem);
  opacity: 0.95;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin: 0 0 1rem;
  color: var(--teal);
}

.page-hero {
  background: var(--navy);
  color: var(--paper);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 8px solid var(--copper); /* decoration */
}
.page-hero h1 { color: var(--ivory); margin-bottom: 0.3em; font-size: clamp(2.2rem, 5.5vw, 3.75rem); }
.page-hero p { max-width: 40rem; font-size: 1.15rem; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; margin-top: 1.75rem; }
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.125rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  border: 3px solid var(--navy);
  background: var(--navy);
  color: var(--ivory);
  box-shadow: 5px 5px 0 var(--copper); /* decoration */
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--copper); color: var(--ivory); }
.btn.btn-light { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn.btn-light:hover { color: var(--navy); }
.btn.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--ivory); box-shadow: none; }
.btn.btn-ghost:hover { background: var(--ivory); color: var(--navy); transform: none; }
.hero .btn:focus-visible, .page-hero .btn:focus-visible { outline-color: var(--ivory); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section.alt { background: var(--paper); border-block: 3px solid var(--navy); }
.section h2 { max-width: 22ch; }
.section .lede { font-size: 1.2rem; max-width: 40rem; }

.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--ivory);
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; }

.aisles {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}
.aisle {
  margin: 0;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  min-height: 7rem;
}
.aisle h3 { margin-bottom: 0.2em; }
.aisle p { margin: 0; font-size: 0.97rem; }
.aisle.live { box-shadow: 6px 6px 0 var(--teal); }
.aisle .tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
}

/* ---------- Notices ---------- */
.notice {
  border: 3px solid var(--navy);
  border-left-width: 10px;
  border-radius: 12px;
  background: var(--paper);
  padding: 1rem 1.25rem;
  margin-block: 1.5rem;
  color: var(--charcoal);
}
.notice > :last-child { margin-bottom: 0; }
.notice h2, .notice h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.notice.disclosure { border-color: var(--teal); background: var(--white); }
.notice.draft { border-style: dashed; border-color: var(--navy); border-left-style: solid; border-left-color: var(--copper); }
.notice.addon { border-style: dashed; border-color: var(--navy); background: var(--paper); border-left-style: solid; border-left-color: var(--navy); }
.notice .label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}

/* ---------- Legal / prose pages ---------- */
.legal h2 { margin-top: 2.2rem; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.legal h3 { margin-top: 1.4rem; font-size: 1.2rem; }
.legal dl { margin: 0 0 1em; }
.legal dt { font-weight: 700; margin-top: 0.8rem; }
.legal dd { margin: 0.1rem 0 0; }

/* ---------- Find cards (roundup) ---------- */
.find-list { list-style: none; padding: 0 10px 10px 0; margin: 2rem 0 0; display: grid; gap: 2rem; }
.find-list > li { margin: 0; }
.find-card {
  background: var(--white);
  border: 3px dashed var(--navy); /* dashed = placeholder */
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  box-shadow: 8px 8px 0 var(--teal); /* decoration */
}
.find-card .badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.9rem;
}
.find-card h3 { margin-bottom: 0.9rem; }
.find-media {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 7rem;
  max-height: 9rem;
  background: var(--paper);
  border: 2px dashed var(--navy);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
  font-weight: 600;
}
.find-fields { margin: 0; display: grid; gap: 0.95rem; }
.find-fields > div { border-top: 2px solid var(--paper); padding-top: 0.8rem; }
.find-fields dt {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.find-fields dd { margin: 0; }
.find-fields dd p { margin-bottom: 0.5em; }
.find-fields dd p:last-child { margin-bottom: 0; }
.ph { color: var(--charcoal); font-style: italic; }
.small { font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--paper);
  border-top: 8px solid var(--copper); /* decoration */
  padding-block: 2.25rem 2rem;
  margin-top: auto;
}
.site-footer a { color: var(--ivory); }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--ivory); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.75rem 2rem;
}
.footer-brand { display: flex; gap: 0.8rem; align-items: center; }
.footer-brand img { width: 2.75rem; height: 2.75rem; flex: none; }
.footer-brand strong { font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; color: var(--ivory); display: block; line-height: 1.1; }
.footer-brand span { font-size: 0.95rem; }
.site-footer h2 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 0.6rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-note { border-top: 1px solid rgba(246, 240, 230, 0.35); margin-top: 1.75rem; padding-top: 1.25rem; font-size: 0.92rem; }
.footer-note p { margin-bottom: 0.4em; }

/* ---------- 404 ---------- */
.notfound { text-align: left; }
.notfound .big {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(5rem, 22vw, 12rem);
  line-height: 0.9;
  color: var(--copper); /* large display text only */
  margin: 0 0 0.2em;
}

@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .hero-spark { opacity: 0.35; }
}

/* Badge header fallback: badge-v2 has no horizontal lockup.
   The header brand link uses the badge mark plus a text wordmark. */
.brand.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.1;
  text-decoration: none;
  color: var(--navy);
}
.brand.brand-badge img {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
}
.brand.brand-badge .brand-wordmark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--navy);
}
