/* Lightfern answer-pages — brand-matched GEO surface.
   Palette + type mirror the voiceprint design doc so these read
   as official Lightfern microsite pages. */

:root {
  --paper: #FAF7F0;
  --ink: #1A1D1A;
  --fern: #1F6F4E;
  --fern-bright: #3DBA7A;
  --splatter-blue: #3B6FD4;
  --splatter-red: #E5533C;
  --card: #FFFFFF;
  --muted: #6B716B;
  --line: #E7E2D6;
  --radius: 20px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --maxw: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Top bar ───────────────────────────────────────────── */
.topbar {
  padding: 22px 0 10px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--fern);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { color: var(--ink); }
.nav-back {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.nav-back:hover { color: var(--ink); }

/* ── Hero / H1 ─────────────────────────────────────────── */
.hero { padding: 26px 0 8px; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fern);
  font-weight: 600;
  margin: 0 0 12px;
}
h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(30px, 5.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.answer {
  font-size: 21px;
  line-height: 1.55;
  margin: 0 0 8px;
}
.answer strong { color: var(--fern); }

/* ── Body ──────────────────────────────────────────────── */
main { padding-bottom: 40px; }
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 6px;
}
p { margin: 0 0 16px; }
a { color: var(--fern); }

ul.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
ul.ticks li {
  position: relative;
  padding: 6px 0 6px 30px;
  border-bottom: 1px solid var(--line);
}
ul.ticks li:last-child { border-bottom: none; }
ul.ticks li::before {
  content: "🌿";
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 15px;
}

.lede { color: var(--muted); }

/* ── Try-it card (the live proof) ──────────────────────── */
.tryit {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 28px;
  margin: 34px 0;
  text-align: center;
}
.tryit h2 { margin-top: 0; }
.tryit p { color: var(--muted); margin-bottom: 22px; }
.btn {
  display: inline-block;
  background: var(--fern);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #195a3f; transform: translateY(-1px); }
.embed-frame {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}
.embed-frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}
.embed-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 0;
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq { margin: 36px 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--fern);
  font-size: 22px;
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ── Related / cross-links ─────────────────────────────── */
.related {
  margin: 40px 0 10px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.related h2 { margin-top: 0; }
.related a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.related a:hover { color: var(--fern); }
.related a span { color: var(--muted); font-size: 14px; display: block; }

/* ── Footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 26px 0 50px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--muted); }

/* ── Splatter accent (hero texture, one moment) ────────── */
.splatter {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

/* ── Hub index specific ────────────────────────────────── */
.cluster-grid { display: grid; gap: 16px; margin: 28px 0; }
.cluster-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cluster-card:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,0.09); }
.cluster-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  margin: 0 0 8px;
}
.cluster-card p { color: var(--muted); margin: 0; font-size: 16px; }

@media (max-width: 480px) {
  body { font-size: 17px; }
  .embed-frame iframe { height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .cluster-card:hover { transform: none; }
}
