:root {
  --cream: #fbf6ee;
  --paper: #fffdf9;
  --ink: #2b2a27;
  --muted: #6b665d;
  --green: #2f5d50;
  --green-soft: #dfe9e3;
  --coral: #e07a5f;
  --coral-soft: #f8e1d8;
  --sun: #f2c14e;
  --sun-soft: #fbefcc;
  --line: #e8dfd1;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--coral); }

.wrap { width: min(1100px, 92vw); margin: 0 auto; }
.narrow { width: min(700px, 92vw); margin: 0 auto; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--coral); }

/* Hero */
.hero { padding: 70px 0 90px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h1 em { font-style: italic; color: var(--green); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin: 0 0 32px; }
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--green); border: 2px solid var(--green); margin-left: 10px; }
.btn-ghost:hover { background: var(--green); color: #fff; }

.hero-art { position: relative; aspect-ratio: 1; }
.hero-art svg { width: 100%; height: 100%; }

/* Default setting toggle */
.setting { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin-top: 40px; max-width: 440px; box-shadow: 0 10px 30px -18px rgba(47,93,80,.35); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.setting-label { font-weight: 600; }
.setting-sub { font-size: 0.85rem; color: var(--muted); }
.toggle { width: 54px; height: 30px; border-radius: 999px; background: var(--green); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; width: 24px; height: 24px; top: 3px; right: 3px; background: #fff; border-radius: 50%; }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { border-radius: 24px; padding: 32px 28px; }
.pillar p { margin: 0; color: #4a4740; }
.pillar .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; font-size: 1.4rem; background: rgba(255,255,255,.7); }
.pillar.sun { background: var(--sun-soft); }
.pillar.green { background: var(--green-soft); }
.pillar.coral { background: var(--coral-soft); }

/* Guide cards */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(43,42,39,.4); color: var(--ink); }
.tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.tag.sun { background: var(--sun-soft); color: #8a6512; }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.coral { background: var(--coral-soft); color: #a8452b; }
.card p { color: var(--muted); font-size: 0.98rem; margin: 0 0 20px; flex: 1; }
.card .more { font-weight: 600; color: var(--green); font-size: 0.95rem; }

/* Quote band */
.band { background: var(--green); color: #f4efe6; padding: 90px 0; text-align: center; }
.band blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.3; margin: 0 auto; max-width: 820px; font-weight: 500; }
.band .sig { margin-top: 20px; font-size: 0.95rem; opacity: .75; }

/* About */
.about .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.promise { list-style: none; padding: 0; margin: 24px 0 0; }
.promise li { padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line); position: relative; }
.promise li::before { content: "✓"; position: absolute; left: 0; top: 14px; color: var(--coral); font-weight: 700; }

/* Article */
.article-head { padding: 50px 0 30px; }
.article-head .meta { color: var(--muted); font-size: 0.95rem; }
.article-body { padding-bottom: 80px; }
.article-body h2 { font-size: 1.7rem; margin-top: 1.8em; }
.article-body p, .article-body li { color: #3d3b36; }
.article-body ol, .article-body ul { padding-left: 1.3em; }
.article-body li { margin-bottom: 0.6em; }
.callout { background: var(--paper); border-left: 4px solid var(--coral); border-radius: 0 16px 16px 0; padding: 20px 24px; margin: 32px 0; }
.callout p { margin: 0; }
.back { display: inline-block; margin-bottom: 26px; text-decoration: none; font-weight: 600; font-size: 0.95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }

@media (max-width: 860px) {
  .hero { padding: 40px 0 60px; }
  .hero .wrap, .about .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin: 0 auto; order: -1; }
  .pillars, .guides { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .btn-ghost { margin: 12px 0 0; }
}
