:root {
  --bg: #f3f5f2;
  --paper: #ffffff;
  --text: #152016;
  --muted: #5a6a60;
  --border: rgba(20, 30, 22, 0.12);

  --accent: #2f6b4f;
  --accent2: #4f8a6c;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 40px rgba(12, 20, 14, 0.14);

  --max: 1100px;
  --pad: 22px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(79, 138, 108, 0.10), transparent 60%),
    radial-gradient(900px 520px at 85% 0%, rgba(47, 107, 79, 0.10), transparent 60%),
    var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
}

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

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 22px rgba(47, 107, 79, 0.18);
}

.brand-name { font-weight: 800; letter-spacing: -0.2px; }
.brand-sub { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }

/* Desktop nav */
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav a:hover {
  text-decoration: none;
  border-color: rgba(47, 107, 79, 0.22);
  background: rgba(47, 107, 79, 0.06);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 28px 0 40px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10, 16, 12, 0.20) 0%, rgba(10, 16, 12, 0.72) 88%),
    url("./assets/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 18px;
}

.hero-card {
  width: min(900px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 107, 79, 0.18);
  background: rgba(47, 107, 79, 0.08);
  color: var(--accent);
  font-weight: 650;
  font-size: 0.9rem;
  margin: 0 0 10px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.9px;
}

.hero-lede {
  margin: 10px 0 14px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  color: var(--text);
  font-weight: 650;
}
.btn:hover {
  text-decoration: none;
  border-color: rgba(47, 107, 79, 0.28);
  box-shadow: 0 12px 24px rgba(47, 107, 79, 0.10);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-color: rgba(47, 107, 79, 0.22);
}

.hero-meta {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.meta-item { padding: 10px 0; }
.meta-label { font-size: 0.84rem; color: var(--muted); margin-bottom: 2px; }

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 44px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  z-index: 1;
}

/* ---------------- Sections ---------------- */
.section {
  padding: 56px 0;
}

.section + .section {
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.55);
}

.section-head h2 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.4px;
}
.section-sub {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------------- FAQs (independent columns) ---------------- */
.faq-grid {
  margin-top: 18px;
  columns: 2;
  column-gap: 12px;
}
.faq-grid .faq {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 12px;
}

.faq {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 14px 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  float: right;
  color: var(--muted);
}
details[open] summary::after { content: "—"; }

.faq-body {
  margin-top: 10px;
  color: var(--muted);
}

/* ---------------- Links ---------------- */
.links-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.link-card {
  display: block;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 10px 22px rgba(10, 16, 12, 0.08);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 107, 79, 0.22);
  box-shadow: 0 16px 30px rgba(10, 16, 12, 0.12);
  text-decoration: none;
}

.link-title { font-weight: 800; color: var(--text); }
.link-sub { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }

/* ---------------- Footer ---------------- */
.footer {
  margin-top: 10px;
  padding: 28px 0 36px;
  background: rgba(255,255,255,0.70);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-brand { font-weight: 900; }
.footer-links a { margin-left: 10px; padding: 8px 10px; border-radius: 999px; color: var(--text); }
.footer-links a:hover { background: rgba(47, 107, 79, 0.06); text-decoration: none; }

/* ---------------- Mobile overlay menu ---------------- */

/* Hidden on desktop */
.menu-toggle { display: none; }

/* Hamburger button */
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(47, 107, 79, 0.22);
  background: rgba(47, 107, 79, 0.06);
  place-items: center;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top:  4px; }

/* Overlay */
.menu-overlay[hidden] { display: none !important; }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 12, 0.45);
}

/* slide-in panel */
.menu-sheet {
  position: absolute;
  top: 12px;
  right: 12px;
  width: min(320px, calc(100% - 24px));
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 18px 40px rgba(12, 20, 14, 0.20);
  overflow: hidden;

  transform: translateY(-6px);
}


.menu-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.menu-sheet-title { font-weight: 800; }

.menu-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  cursor: pointer;
}

.menu-links {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 6px;
}
.menu-links a {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
}
.menu-links a:hover {
  background: rgba(47, 107, 79, 0.08);
}

/* Responsive */
@media (max-width: 900px) {
  .faq-grid { columns: 1; }
  .links-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 28px; }
}

/* Mobile breakpoint: hide desktop nav, show hamburger */
@media (max-width: 768px) {
  .nav { display: none !important; }
  .menu-toggle { display: grid !important; }
}

/* Desktop */
@media (min-width: 769px) {
  .menu-toggle { display: none !important; }
}

@media (max-width: 480px) {
  .menu-sheet {
    left: 12px;
    right: 12px;
    width: auto;
  }
}
