/* ============================================================
   BRYNDIS — styles.css
   Editorial minimalist. Forest + cream. Fraunces + Nunito.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --forest:        #1F4332;
  --forest-dark:   #14302A;
  --forest-light:  #2D5A47;
  --moss:          #5A7A6A;
  --cream:         #F5EFE4;
  --cream-warm:    #FBF8F1;
  --cream-dark:    #ECE3D0;
  --ink:           #1A2E27;
  --ink-muted:     #5A6B65;
  --ink-soft:      #8A9990;
  --gold:          #B8935A;
  --gold-soft:     #D4B584;
  --rule:          #D9CFBC;

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale (8pt-ish) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-11: 12rem;

  /* Layout */
  --max-w: 1240px;
  --prose-w: 680px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  420ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

/* Subtle paper texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 0 0.15 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, header, footer, section { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
.font-serif { font-family: var(--serif); font-optical-sizing: auto; }
.font-sans  { font-family: var(--sans); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 380;
  color: var(--forest);
  letter-spacing: -0.018em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 360;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  font-variation-settings: "opsz" 96, "SOFT" 40;
}
h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-weight: 400;
}
h4 {
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.005em;
}

p { font-size: 1rem; line-height: 1.7; color: var(--ink); }
.lede {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.numeral {
  font-family: var(--serif);
  font-weight: 320;
  font-variation-settings: "opsz" 144;
  color: var(--gold);
  font-size: 1.4em;
  font-feature-settings: "lnum", "tnum";
  line-height: 1;
}

/* ---------- Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap-narrow {
  width: 100%;
  max-width: var(--prose-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: clamp(4rem, 9vw, 7rem) 0; }
section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.divider {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0 auto;
  max-width: var(--max-w);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 228, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 1.5rem;
  color: var(--forest);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-mark {
  width: 22px; height: 22px;
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 200ms var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--forest); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--forest);
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 360ms var(--ease);
    z-index: 49;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.25rem; font-family: var(--serif); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  transition: transform 240ms var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -10px rgba(20, 48, 42, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}
.btn-ghost:hover {
  background: var(--forest);
  color: var(--cream);
}
.btn .arrow { transition: transform 280ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--forest);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  transition: transform 240ms var(--ease), background var(--dur) var(--ease);
}
.appstore-badge:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
}
.appstore-badge svg { width: 28px; height: 28px; }
.appstore-badge .small { font-size: 0.7rem; letter-spacing: 0.04em; line-height: 1; opacity: 0.8; }
.appstore-badge .big   { font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.appstore-badge .stack { display: flex; flex-direction: column; gap: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(4rem, 10vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 320;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.hero .lede { margin-top: 1.75rem; max-width: 540px; }
.hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.hero-meta {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-meta svg { width: 14px; height: 14px; color: var(--gold); }

/* Phone visual */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  background: var(--forest-dark);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 50px 100px -30px rgba(20, 48, 42, 0.35),
    0 30px 60px -20px rgba(20, 48, 42, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-3deg);
  transition: transform 800ms var(--ease);
}
.phone-frame:hover { transform: rotate(-1.5deg) translateY(-6px); }
.phone-screen {
  width: 100%; height: 100%;
  background: var(--forest);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  color: var(--cream);
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 26px;
  background: var(--forest-dark);
  border-radius: 999px;
}
.phone-time {
  position: absolute;
  top: 18px;
  left: 28px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.phone-status {
  position: absolute;
  top: 18px;
  right: 28px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.phone-status svg { width: 14px; height: 11px; }
.phone-sos {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(184, 147, 90, 0.4), transparent 60%),
    var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 0 0 6px rgba(184, 147, 90, 0.15),
    0 0 0 14px rgba(184, 147, 90, 0.08),
    0 20px 40px -10px rgba(184, 147, 90, 0.35);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(184, 147, 90, 0.15), 0 0 0 14px rgba(184, 147, 90, 0.08), 0 20px 40px -10px rgba(184, 147, 90, 0.35); }
  50%      { box-shadow: 0 0 0 12px rgba(184, 147, 90, 0.18), 0 0 0 24px rgba(184, 147, 90, 0.05), 0 20px 40px -10px rgba(184, 147, 90, 0.35); }
}
.phone-sos-label {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 2rem;
  color: var(--forest-dark);
  letter-spacing: 0.04em;
}
.phone-caption {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.78;
  font-weight: 300;
}
.phone-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 0.4rem;
  opacity: 1;
}

/* ---------- Philosophy / three principles ---------- */
.philosophy {
  background: var(--cream-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 4rem;
}
@media (max-width: 820px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.principle {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  padding-top: 2rem;
}
.principle::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.principle .numeral {
  font-size: 3.5rem;
  line-height: 0.9;
  margin-bottom: 0.5rem;
}
.principle h3 { color: var(--forest); }
.principle p { color: var(--ink-muted); max-width: 36ch; }

/* ---------- Section heading block ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
}
.section-head .lede { margin-top: 0; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  padding: clamp(2rem, 4vw, 3rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--cream);
  transition: background 320ms var(--ease);
}
.feature:hover { background: var(--cream-warm); }
.feature-icon {
  width: 44px; height: 44px;
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { color: var(--forest); }
.feature p { color: var(--ink-muted); }
.feature .meta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
}

/* ---------- Charity / HoH ---------- */
.partnership {
  background: var(--forest);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.partnership::before {
  content: "";
  position: absolute;
  top: 0; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(184, 147, 90, 0.18), transparent 60%);
  pointer-events: none;
}
.partnership .eyebrow { color: var(--gold-soft); }
.partnership .eyebrow::before { background: var(--gold); }
.partnership h2 { color: var(--cream); }
.partnership .lede { color: var(--cream); opacity: 0.85; }
.partnership-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 820px) {
  .partnership-grid { grid-template-columns: 1fr; }
}
.partnership-card {
  background: rgba(245, 239, 228, 0.06);
  border: 1px solid rgba(245, 239, 228, 0.16);
  border-radius: 12px;
  padding: 2.25rem;
  backdrop-filter: blur(8px);
}
.partnership-card h4 {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}
.partnership-card p {
  color: var(--cream);
  opacity: 0.9;
  font-size: 0.95rem;
}
.partnership-stat {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 320;
  color: var(--gold-soft);
  line-height: 1;
  font-variation-settings: "opsz" 144;
  margin-bottom: 0.5rem;
  display: block;
}

/* ---------- Privacy promise ---------- */
.promise {
  background: var(--cream-warm);
  border-top: 1px solid var(--rule);
}
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 820px) {
  .promise-grid { grid-template-columns: 1fr; }
}
.promise-list { display: flex; flex-direction: column; gap: 1.25rem; }
.promise-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 1rem;
  align-items: start;
}
.promise-item svg {
  width: 22px; height: 22px;
  color: var(--gold);
  margin-top: 2px;
}
.promise-item strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--forest);
  display: block;
  margin-bottom: 0.2rem;
}
.promise-item span { color: var(--ink-muted); font-size: 0.95rem; }

/* ---------- Final CTA ---------- */
.cta {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(184, 147, 90, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(45, 90, 71, 0.4), transparent 50%);
  pointer-events: none;
}
.cta h2 { color: var(--cream); margin-bottom: 1.5rem; }
.cta .lede { color: var(--cream); opacity: 0.85; max-width: 540px; margin: 0 auto 2.5rem; }
.cta .hero-ctas { justify-content: center; }
.cta .btn-ghost { color: var(--cream); border-color: var(--cream); }
.cta .btn-ghost:hover { background: var(--cream); color: var(--forest); }

/* ---------- Footer ---------- */
footer {
  background: var(--forest-dark);
  color: var(--cream);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 239, 228, 0.12);
}
@media (max-width: 820px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .foot-brand { grid-column: 1 / -1; }
}
.foot-brand .brand { color: var(--cream); margin-bottom: 1rem; }
.foot-brand p { color: var(--cream); opacity: 0.7; font-size: 0.9rem; max-width: 30ch; }
.foot-col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.foot-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.foot-col a {
  color: var(--cream);
  opacity: 0.8;
  transition: opacity 200ms var(--ease);
}
.foot-col a:hover { opacity: 1; }
.foot-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--cream);
  opacity: 0.55;
  font-size: 0.78rem;
}
.foot-bottom .legal-line { max-width: 60ch; }

/* ---------- Legal/Support pages (prose) ---------- */
.page-header {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
.page-header .eyebrow { margin-bottom: 1.5rem; }
.page-header h1 { max-width: 18ch; }
.page-header .lede { margin-top: 1.5rem; max-width: 60ch; }
.page-header .meta {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.prose {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.prose .wrap-narrow > * + * { margin-top: 1.1rem; }
.prose h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-top: 3.5rem;
  margin-bottom: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 2.5rem; }
.prose h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
  color: var(--forest);
}
.prose p { color: var(--ink); }
.prose ul, .prose ol {
  margin-left: 1.5rem;
  padding-left: 0;
}
.prose ul li {
  list-style: none;
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 1px;
  background: var(--gold);
}
.prose ol { list-style: decimal; }
.prose ol li { margin-bottom: 0.5rem; padding-left: 0.5rem; }
.prose a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms var(--ease);
}
.prose a:hover { text-decoration-color: var(--forest); }
.prose strong { font-weight: 600; color: var(--forest); }

.callout {
  background: var(--cream-warm);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}
.callout p { font-size: 0.95rem; color: var(--ink-muted); }
.callout strong { color: var(--forest); }

.toc {
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0 3rem;
}
.toc h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 700;
  margin-bottom: 1rem;
}
.toc ol {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}
@media (max-width: 600px) { .toc ol { grid-template-columns: 1fr; } }
.toc ol li { counter-increment: toc; }
.toc ol li a {
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  padding-left: 0;
}
.toc ol li::before {
  content: counter(toc, decimal-leading-zero) "  ";
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 400;
  margin-right: 0.5rem;
}
.toc ol { counter-reset: toc; }

/* ---------- Support / FAQ ---------- */
.faq {
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}
.faq-item summary {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--forest);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  transition: color 200ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-weight: 320;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  transition: transform 280ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--forest-light); }
.faq-item .answer {
  padding-top: 1rem;
  color: var(--ink-muted);
  max-width: 65ch;
}
.faq-item .answer p + p { margin-top: 0.75rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 280ms var(--ease), border-color 280ms var(--ease);
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.contact-card h4 {
  font-family: var(--serif);
  color: var(--forest);
  font-size: 1.15rem;
  font-weight: 400;
}
.contact-card .label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 700;
}
.contact-card a {
  color: var(--forest);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.contact-card a:hover { color: var(--gold); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Print */
@media print {
  .nav, .cta, footer { display: none; }
  body { background: white; color: black; }
  body::before { display: none; }
}
