:root {
  --primary: #6F9B74;
  --primary-dark: #55785A;
  --soft-primary: #E3EEE3;
  --bg: #F8F8F3;
  --surface: #FFFFFF;
  --text: #28312B;
  --muted: #68736B;
  --success: #5F9867;
  --line: #DCE4DA;
  --shadow: 0 18px 50px rgba(40, 49, 43, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: white;
  padding: .75rem 1rem;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(248, 248, 243, 0.9);
  border-bottom: 1px solid rgba(220, 228, 218, .8);
}

.nav {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  font-size: 1.18rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(40,49,43,.10);
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .96rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.hero {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 76px 0 46px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft-primary);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: .86rem;
  margin-bottom: 18px;
}

h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.hero-tagline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 650;
  margin: 0 0 20px;
}
.hero-copy {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 650px;
  margin: 0 0 30px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 26px rgba(111, 155, 116, .22);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.microcopy { color: var(--muted); font-size: .88rem; margin-top: 14px; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 34px;
  overflow: hidden;
  background: var(--soft-primary);
  box-shadow: var(--shadow);
  border: 1px solid rgba(111, 155, 116, .13);
}
.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.art-note {
  position: absolute;
  left: 30px;
  bottom: 28px;
  width: min(300px, calc(100% - 60px));
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(40,49,43,.08);
}
.art-note strong { display:block; margin-bottom:4px; }
.art-note span { color:var(--muted); font-size:.92rem; }

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 80px 0;
}
.section.narrow { max-width: 820px; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section h2 { font-size: clamp(2rem, 4vw, 3.15rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.three-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 8px 26px rgba(40,49,43,.045);
}
.card .num {
  width: 38px; height: 38px; border-radius: 50%;
  display:grid; place-items:center;
  background:var(--soft-primary);
  color:var(--primary-dark);
  font-weight:800;
  margin-bottom:18px;
}
.card h3 { margin-bottom: 9px; font-size: 1.25rem; }
.card p { color: var(--muted); margin: 0; }

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.module {
  min-height: 205px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.module small { color:var(--muted); font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.module strong { font-size:1.28rem; margin-top: 18px; }
.module p { color: var(--muted); margin: 12px 0 0; font-size: .96rem; line-height: 1.55; }

.cta {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-xl);
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cta h2 { margin-bottom: 10px; }
.cta p { margin:0; color:rgba(255,255,255,.83); max-width:700px; }
.cta .btn-secondary { border-color:transparent; }

.disclaimer {
  background: #F1F2EC;
  border: 1px solid #E1E4DB;
  border-radius: 18px;
  padding: 20px 22px;
  color: var(--muted);
  font-size: .94rem;
}
.disclaimer strong { color: var(--text); }

.page-hero {
  width: min(calc(100% - 32px), 860px);
  margin: 0 auto;
  padding: 70px 0 18px;
}
.page-hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); letter-spacing: -.02em; }
.page-hero p { color:var(--muted); font-size:1.08rem; }
.prose {
  width: min(calc(100% - 32px), 860px);
  margin: 0 auto;
  padding: 24px 0 80px;
}
.prose h2 { font-size:1.45rem; margin-top: 38px; margin-bottom: 10px; }
.prose p, .prose li { color:#475149; }
.prose ul { padding-left: 1.25rem; }
.prose .updated { color:var(--muted); font-size:.9rem; }

.support-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  margin-top:28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  margin-top: 30px;
}
.footer-inner {
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
  color:var(--muted);
  font-size:.9rem;
}
.footer-links { display:flex; gap:16px; flex-wrap:wrap; }
.footer-links a { text-decoration:none; }
.footer-links a:hover { color:var(--text); }

@media (max-width: 860px) {
  .hero { grid-template-columns:1fr; padding-top:54px; }
  .three-pillars, .modules { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns:1fr; }
}

@media (max-width: 640px) {
  .nav { min-height:66px; }
  .nav-links a:not(.keep-mobile) { display:none; }
  .brand { font-size:1rem; }
  .hero { gap:34px; }
  .three-pillars, .modules, .support-grid { grid-template-columns:1fr; }
  .section { padding:58px 0; }
  .cta { padding:30px 24px; }
  .footer-inner { flex-direction:column; }
  .actions .btn { width:100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
