/* ============================================
   Fera Fruit — shared styles
   Aesthetic: warm editorial / organic botanical
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

:root {
  --bg: #faf6ef;
  --bg-warm: #f3ebdd;
  --bg-deep: #2f3327;
  --ink: #26271f;
  --ink-soft: #54564a;
  --olive: #5c6b3f;
  --olive-deep: #3f4a2b;
  --rust: #b25b34;
  --gold: #c89a3c;
  --line: #ddd4c2;
  --cream-card: #fffdf8;
  --max: 1120px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(40,40,20,.06), 0 8px 30px rgba(60,60,30,.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: .5em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: .35em; }

p { margin-bottom: 1.1rem; color: var(--ink-soft); }
p.lead { font-size: 1.3rem; color: var(--ink); line-height: 1.5; }

a { color: var(--olive-deep); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--rust); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,239,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; max-width: var(--max); margin: 0 auto;
}
.brand {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.4rem;
  letter-spacing: -.02em; text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 9px;
}
.brand .dot { width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold), var(--rust)); display: inline-block; }
.nav-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  font-family: 'Fraunces', serif; font-size: .98rem; font-weight: 500;
  text-decoration: none; color: var(--ink-soft); transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--olive-deep); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 8px 28px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -160px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(200,154,60,.22), rgba(178,91,52,.05) 60%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  font-family: 'Fraunces', serif; text-transform: uppercase;
  letter-spacing: .18em; font-size: .8rem; font-weight: 600;
  color: var(--rust); margin-bottom: 18px;
}
.hero p.lead { max-width: 620px; margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 1rem; padding: 13px 26px; border-radius: 40px;
  text-decoration: none; transition: transform .15s, background .2s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--olive-deep); color: #f7f4ea; }
.btn-primary:hover { background: var(--olive); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--olive-deep); border: 1px solid var(--olive); }
.btn-ghost:hover { background: var(--olive-deep); color: #f7f4ea; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.bg-deep { background: var(--bg-deep); color: #e9e6d8; }
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: #f3efe2; }
.bg-deep p { color: #c5c6b4; }
.bg-warm { background: var(--bg-warm); }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--cream-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card h3 { color: var(--olive-deep); }
.card .num {
  font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 600;
  color: var(--gold); line-height: 1; display: block; margin-bottom: 8px;
}

/* ---------- Prose article ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.3rem; color: var(--ink-soft); }
.prose li { margin-bottom: .5rem; }
.prose .lead { margin-bottom: 1.6rem; }

/* ---------- Callout / note ---------- */
.note {
  border-left: 3px solid var(--gold); background: rgba(200,154,60,.08);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.6rem 0; font-size: .96rem;
}
.note strong { color: var(--olive-deep); font-family: 'Fraunces', serif; }
.note.debate { border-left-color: var(--rust); background: rgba(178,91,52,.07); }

/* ---------- Table ---------- */
.table-scroll { overflow-x: auto; margin: 1.6rem 0; }
table.compare {
  width: 100%; border-collapse: collapse; font-size: .98rem;
  background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius);
}
table.compare th, table.compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th {
  font-family: 'Fraunces', serif; background: var(--olive-deep); color: #f3efe2; font-weight: 500;
}
table.compare tbody tr:nth-child(even) { background: rgba(221,212,194,.18); }
table.compare td:first-child { font-weight: 500; color: var(--ink); }
.fera-col { background: rgba(92,107,63,.1) !important; font-weight: 500; }

/* ---------- FAQ ---------- */
details.faq {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
details.faq summary {
  font-family: 'Fraunces', serif; font-size: 1.18rem; font-weight: 500;
  cursor: pointer; color: var(--ink); list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--rust); font-size: 1.5rem; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin-top: 12px; margin-bottom: 0; }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; text-align: center; }
@media (max-width:760px){ .stats{ grid-template-columns: repeat(2,1fr);} }
.stat .big { font-family:'Fraunces',serif; font-size: 2.6rem; font-weight:600; color: var(--gold); display:block; }
.stat .lbl { font-size: .9rem; color: var(--ink-soft); }
.bg-deep .stat .lbl { color: #b6b8a4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #c5c6b4; padding: 54px 0 28px; font-size: .94rem; }
.site-footer h4 { color: #e9e6d8; font-size: 1.05rem; margin-bottom: 12px; font-family: 'Fraunces', serif; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px){ .footer-grid{ grid-template-columns: 1fr; gap: 28px; } }
.site-footer a { color: #c5c6b4; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.disclaimer-bar {
  border-top: 1px solid #454a3a; margin-top: 36px; padding-top: 22px;
  font-size: .82rem; color: #9a9c88; line-height: 1.55;
}
.disclaimer-bar strong { color: #c5c6b4; }

/* ---------- Misc ---------- */
.kicker { font-family:'Fraunces',serif; color: var(--rust); font-weight:600; letter-spacing:.04em; }
.divider { height:1px; background: var(--line); border:0; margin: 0; }
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp .7s ease forwards; }
@keyframes fadeUp { to { opacity:1; transform:none; } }
.d1{animation-delay:.05s}.d2{animation-delay:.15s}.d3{animation-delay:.25s}.d4{animation-delay:.35s}
.tag { display:inline-block; font-family:'Fraunces',serif; font-size:.78rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.1em; color: var(--olive-deep);
  background: rgba(92,107,63,.12); padding: 4px 12px; border-radius: 30px; margin-bottom: 14px; }
