/* ===========================================================
   The Secret Daily — Classic Maroon edition
   Warm white pages · deep maroon · wine jewels.
   CSS-only: no HTML changes required.
   =========================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  /* Maroon palette */
  --ivory:     #FDFBF9;
  --sand:      #F7ECEA;
  --paper:     #FFFFFF;
  --ink:       #2E1519;
  --ink-soft:  #74595E;
  --hairline:  rgba(46, 21, 25, 0.13);

  --gold:      #8C2B3D;
  --gold-deep: #7A1F2B;
  --gold-soft: #EAC3C9;
  --dawn:      #E4A9AC;
  --rose:      #E9B7BC;

  /* Wine — reserved for the jewels, footer, thank-you page */
  --night:     #2E1016;
  --night-2:   #3A141C;
  --deep:      #4A1A24;
  --lavender:  #DFB6BD;

  --maxw: 1140px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 24px 70px -38px rgba(46, 21, 25, 0.25);
  --shadow-deep: 0 36px 90px -40px rgba(46, 16, 22, 0.5);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  font-size: clamp(1.09rem, 1.02rem + 0.35vw, 1.19rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: inherit; }
strong { font-weight: 600; }
::selection { background: rgba(140, 43, 61, 0.18); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4.5vw, 2.75rem);
}

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--night);
  padding: 0.6rem 1rem; border-radius: 0 0 10px 0;
  font-weight: 600; z-index: 100; text-decoration: none;
}
.skip:focus { left: 0; }

.spark {
  width: 1em; height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: -0.12em;
  flex-shrink: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.55rem); }

.eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 1.3rem;
}
.eyebrow .spark { font-size: 0.8em; color: var(--gold); }

.lede {
  font-size: clamp(1.16rem, 1.05rem + 0.55vw, 1.34rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.04rem;
  min-height: 3.05rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn--gold {
  background: linear-gradient(135deg, #8C2B3D 0%, #7A1F2B 100%);
  color: #FFF7F5;
  box-shadow: 0 12px 28px -14px rgba(122, 31, 43, 0.45);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -16px rgba(122, 31, 43, 0.55); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { transform: translateY(-1px); background: var(--night-2); }

/* ---------- Header — light glass ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 249, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: 4.3rem;
}
.brandmark {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 0.55rem;
  white-space: nowrap;
}
.brandmark .spark { color: var(--gold); font-size: 0.95rem; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav .btn { min-height: 2.6rem; padding: 0.5rem 1.3rem; font-size: 0.96rem; color: #FFF7F5; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 3rem; height: 3rem;
  padding: 0.7rem;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Panels ---------- */
.panel { padding-block: clamp(4rem, 9vw, 7rem); }
.panel--light { background: var(--ivory); color: var(--ink); }
.panel--tint { background: var(--sand); color: var(--ink); }

/* .panel--dark now only truly dark on the thank-you page hero &
   footer; the two index sections that carry it are overridden below */
.panel--dark { background: var(--night); color: #F9EFED; }
.panel--dark h2 { color: #F9EFED; }
.panel--dark .lede { color: var(--lavender); }
.panel--dark .eyebrow { color: var(--gold); }

/* ===========================================================
   HERO — sunrise. Light sky, soft sun glow, ink type.
   (Scoped with :has so the thank-you page hero stays night.)
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% -35%, rgba(228, 169, 172, 0.35) 0%, rgba(240, 214, 217, 0.25) 42%, transparent 68%),
    linear-gradient(180deg, #FBF2F0 0%, var(--ivory) 78%);
  color: var(--ink);
  padding-block: clamp(3.8rem, 8vw, 6.2rem) clamp(5rem, 10vw, 7.5rem);
}
/* faint gold morning dust instead of stars */
.stars {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(140,43,61,0.4), transparent),
    radial-gradient(1px 1px at 68% 18%, rgba(140,43,61,0.32), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(140,43,61,0.3), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(140,43,61,0.3), transparent),
    radial-gradient(1px 1px at 12% 80%, rgba(140,43,61,0.26), transparent);
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.3; } to { opacity: 0.6; } }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 4.6rem);
  margin-bottom: 0.4em;
  color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .lede { max-width: 32ch; margin-bottom: 2.1rem; color: var(--ink-soft); }

.chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 31, 43, 0.3);
  background: rgba(255, 253, 248, 0.6);
  color: var(--gold-deep);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.8rem;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(140,43,61,0.7); }

/* Affirmation card — the night jewel on the morning page */
.affirmation-card {
  position: relative;
  border-radius: 26px;
  padding: 2.5rem 2.2rem 2rem;
  background:
    radial-gradient(85% 65% at 88% -5%, rgba(228, 169, 172, 0.28), transparent 58%),
    linear-gradient(160deg, var(--night) 0%, var(--night-2) 55%, var(--deep) 100%);
  border: 1px solid rgba(234, 195, 201, 0.25);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.card-top {
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
  margin-bottom: 1.6rem;
}
.card-top .spark { color: var(--gold); font-size: 1rem; }
.affirmation-text {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  line-height: 1.32;
  color: #F9EFED;
  min-height: 3.4em;
  margin: 0;
  transition: opacity 0.7s var(--ease);
}
.card-foot {
  position: relative;
  margin-top: 1.8rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(234, 195, 201, 0.2);
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--lavender); font-size: 0.94rem;
}
.card-foot .spark { color: var(--gold); }

/* ===========================================================
   SUBSCRIBE — soft sand section curving over the sunrise
   =========================================================== */
.panel--night2 {
  position: relative;
  z-index: 2;
  background: var(--sand);
  color: var(--ink);
  margin-top: -2.2rem;
  border-radius: 30px 30px 0 0;
  padding-top: clamp(3.6rem, 8vw, 6rem);
}
.panel--night2 h2 { color: var(--ink); }
.panel--night2 .lede { color: var(--ink-soft); }
.panel--night2 .eyebrow { color: var(--gold-deep); }
.panel--night2 .eyebrow .spark { color: var(--gold); }

/* Signup card — the second night jewel */
.signup {
  background:
    radial-gradient(90% 70% at 85% -10%, rgba(228, 169, 172, 0.2) 0%, transparent 55%),
    linear-gradient(155deg, var(--night-2) 0%, var(--deep) 100%);
  border-radius: 26px;
  padding: clamp(1.8rem, 4vw, 2.7rem);
  border: none;
  box-shadow: var(--shadow-deep);
}
.signup h3 { color: #F9EFED; font-size: clamp(1.4rem, 3vw, 1.6rem); }
.signup p.small { color: var(--lavender); font-size: 1rem; margin-top: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--gold-soft); letter-spacing: 0.02em; }
.field input {
  font-family: var(--font-body);
  font-size: 1.05rem;
  min-height: 3.1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(223, 182, 189, 0.25);
  background: rgba(30, 10, 14, 0.5);
  color: #F9EFED;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field input::placeholder { color: rgba(223, 182, 189, 0.55); }
.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(140, 43, 61, 0.22);
}
.consent {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-top: 1.25rem;
  font-size: 0.97rem; line-height: 1.55; color: var(--lavender);
}
.consent input { margin-top: 0.3rem; accent-color: var(--gold); width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.consent a { color: var(--gold-soft); }
.signup .btn { margin-top: 1.45rem; width: 100%; }
.signup .fineprint { margin-top: 1rem; font-size: 0.89rem; line-height: 1.55; color: rgba(223,182,189,0.8); }

/* ===========================================================
   PRINCIPLES — light editorial columns
   =========================================================== */
#principles {
  background: var(--ivory);
  color: var(--ink);
}
#principles h2 { color: var(--ink); }
#principles .lede { color: var(--ink-soft); }
#principles .eyebrow { color: var(--gold-deep); }
#principles .eyebrow .spark { color: var(--gold); }

.principles {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 3rem;
}
.principle {
  background: none;
  border: none;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  padding: 1.9rem 0 0;
}
.principle .idx {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.principle h3 { color: var(--ink); }
.principle p { color: var(--ink-soft); margin-bottom: 0; }
.principle .source {
  margin-top: 1.2rem; font-size: 0.94rem;
  color: var(--gold-deep); font-style: italic;
}

/* ===========================================================
   COMMUNITY — warm paper cards
   =========================================================== */
.group-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2.6rem;
}
.group-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: none;
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.group-card:hover { transform: translateY(-3px); box-shadow: 0 30px 80px -36px rgba(46, 21, 25, 0.35); }
.group-card .badge {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep); margin-bottom: 0.7rem;
}
.group-card h3 { margin-bottom: 0.4rem; }
.group-card .members { color: var(--ink-soft); font-size: 1rem; }
.group-card .go { margin-top: auto; padding-top: 1.2rem; color: var(--gold-deep); font-weight: 600; font-size: 0.98rem; }

.note {
  background: var(--sand);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 2rem;
}
.note strong { color: var(--ink); }

/* ===========================================================
   KIT — sand tint, paper preview
   =========================================================== */
.kit-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.4rem, 5.5vw, 4.5rem);
  align-items: center;
  margin-top: 1rem;
}
.kit-list { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.kit-list li {
  display: flex; gap: 0.95rem; align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hairline);
}
.kit-list li:last-child { border-bottom: none; }
.kit-list .spark { color: var(--gold); margin-top: 0.38em; }
.kit-list strong { display: block; font-size: 1.07rem; }
.kit-list span { color: var(--ink-soft); font-size: 1rem; }

.kit-preview {
  background: var(--paper);
  border: none;
  border-radius: 18px;
  padding: clamp(1.8rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-deep);
  position: relative;
}
.kit-preview .preview-tab {
  position: absolute; top: -0.95rem; right: 1.5rem;
  background: linear-gradient(135deg, #8C2B3D, #7A1F2B);
  color: #FFF7F5;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.38rem 1rem; border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(122, 31, 43, 0.45);
}
.kit-preview .eyebrow { margin-bottom: 0.8rem; font-size: 0.74rem; }
.kit-preview h3 { font-size: clamp(1.5rem, 3vw, 1.8rem); margin-bottom: 1.1rem; }
.preview-lines { list-style: none; margin: 0; padding: 0; }
.preview-lines li {
  display: flex; gap: 1.05rem; align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hairline);
}
.preview-lines .pn {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 1rem;
}
.preview-lines em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.08rem, 2.2vw, 1.2rem);
  color: var(--ink);
}
.kit-preview .more {
  display: block;
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ===========================================================
   HOW IT WORKS — open editorial steps on light
   =========================================================== */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  margin-top: 3rem;
}
.step {
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: none;
  box-shadow: var(--shadow-soft);
}
.panel--light .step {
  background: none;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid var(--hairline);
  padding: 1.9rem 0 0;
}
.step .n {
  width: 2.7rem; height: 2.7rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--night); color: #EAC3C9;
  font-family: var(--font-display); font-size: 1.25rem;
  outline: 1px solid var(--gold);
  outline-offset: 3px;
  margin: 3px 0 1.3rem 3px;
}
.step h3 { font-size: 1.28rem; }
.step p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 0; }

/* ===========================================================
   FINAL CTA — golden hour band with the dark jewel
   =========================================================== */
.cta-final {
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
  border-radius: 30px 30px 0 0;
  margin-top: -2rem;
  background:
    radial-gradient(110% 90% at 50% 115%, rgba(228, 169, 172, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, #F6E4E1 100%);
  color: var(--ink);
}
.cta-final .stars { display: none; }
.cta-final h2 { color: var(--ink); }
.cta-final .lede { color: var(--ink-soft); }
.cta-final .eyebrow { color: var(--gold-deep); justify-content: center; }
.cta-final .eyebrow .spark { color: var(--gold); }
.cta-final .wrap { position: relative; }
.cta-final .signup { max-width: 580px; margin: 2.6rem auto 0; text-align: left; }

/* ===========================================================
   FOOTER — deep plum ground
   =========================================================== */
.site-footer {
  background: var(--night);
  color: var(--lavender);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 1rem;
}
.site-footer .brandmark { color: #F9EFED; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.4rem;
}
.footer-brand .brandmark { font-size: 1.5rem; margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.97rem; max-width: 34ch; margin: 0; opacity: 0.85; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.1rem; font-weight: 600;
}
.footer-col a, .footer-col span {
  display: block; color: var(--lavender);
  text-decoration: none;
  font-size: 0.97rem;
  padding: 0.28rem 0;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: #F9EFED; }
.footer-bottom {
  margin-top: 2.9rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(223,182,189,0.14);
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; justify-content: space-between;
  font-size: 0.89rem; color: rgba(223,182,189,0.7);
}

/* ===========================================================
   LEGAL / CONTENT PAGES — soft dawn banners
   =========================================================== */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.3em; }
.doc .updated { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 2.6rem; }
.doc h2 { font-size: clamp(1.45rem, 3vw, 1.7rem); margin-top: 2.8rem; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 1.25rem; }
.doc li { margin-bottom: 0.55rem; }
.doc a { color: var(--gold-deep); font-weight: 600; }
.doc .note { margin: 1.6rem 0; }

.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(110% 100% at 50% -40%, rgba(228, 169, 172, 0.32) 0%, transparent 62%),
    linear-gradient(180deg, #F9EFED 0%, var(--ivory) 100%);
  color: var(--ink);
  padding-block: clamp(3.2rem, 7vw, 5rem) clamp(4.4rem, 9vw, 6.4rem);
  text-align: center;
}
.page-hero h1 { color: var(--ink); font-size: clamp(2.3rem, 6vw, 3.4rem); }
.page-hero p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; font-size: 1.1rem; }

.page-hero + .panel--light,
.hero + .panel--light {
  position: relative; z-index: 2;
  margin-top: -2.2rem;
  border-radius: 30px 30px 0 0;
  padding-top: clamp(3.4rem, 7vw, 5.4rem);
}

/* ===========================================================
   THANK-YOU PAGE — stays night (its inline colours depend on it)
   The index hero is detected by its .hero-grid child.
   =========================================================== */
.hero:not(:has(.hero-grid)) {
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(228, 169, 172, 0.22) 0%, transparent 55%),
    linear-gradient(168deg, var(--night) 0%, var(--night-2) 58%, var(--deep) 100%);
  color: #F9EFED;
}
.hero:not(:has(.hero-grid)) h1 { color: #F9EFED; }
.hero:not(:has(.hero-grid)) .stars {
  opacity: 1;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(249,239,237,0.9), transparent),
    radial-gradient(1px 1px at 68% 18%, rgba(249,239,237,0.7), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(234,195,201,0.7), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(249,239,237,0.65), transparent),
    radial-gradient(1.5px 1.5px at 12% 80%, rgba(249,239,237,0.55), transparent);
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lede { max-width: none; }
  .principles, .kit-grid, .group-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kit-grid { align-items: start; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--hairline);
    padding: 0.4rem 1.2rem 1.2rem;
    display: none;
    box-shadow: 0 24px 50px -30px rgba(46,21,25,0.3);
  }
  .menu-open .nav { display: flex; }
  .nav a {
    padding: 0.95rem 0.4rem;
    font-size: 1.12rem;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink);
  }
  .nav a:last-child { border-bottom: none; }
  .nav .btn { margin-top: 0.8rem; width: 100%; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; }
  .affirmation-card { padding: 2rem 1.6rem 1.7rem; }
}

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
