:root {
  --green: #7dc242;
  --green-dark: #5a9a2b;
  --green-soft: #eef6e4;
  --ink: #1c2418;
  --body: #3a4233;
  --muted: #6b7363;
  --bg: #ffffff;
  --surface: #f6f8f3;
  --line: #e2e8d8;
  --radius: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green: #8fd152;
    --green-dark: #7dc242;
    --green-soft: #1f2a16;
    --ink: #f1f5ec;
    --body: #cdd5c2;
    --muted: #98a18c;
    --bg: #14180f;
    --surface: #1b2014;
    --line: #2c3420;
  }
}
:root[data-theme="dark"] {
    --green: #8fd152;
    --green-dark: #7dc242;
    --green-soft: #1f2a16;
    --ink: #f1f5ec;
    --body: #cdd5c2;
    --muted: #98a18c;
    --bg: #14180f;
    --surface: #1b2014;
    --line: #2c3420;
  }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--body); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
a { color: var(--green-dark); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: var(--green-dark); margin: 0 0 .8em; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn-primary { background: var(--green); color: #11240a; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; display: block; }
.brand-txt b { color: var(--ink); font-size: 1.05rem; display: block; line-height: 1.1; }
.brand-txt span { color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--green-dark); }
.nav .btn { padding: 10px 18px; }
@media (max-width: 900px) { .nav a.navlink { display: none; } }
.hero { background: linear-gradient(180deg, var(--surface), var(--bg)); padding: 64px 0 48px; }
.hero h1 { max-width: 20ch; }
.lede { font-size: 1.22rem; color: var(--body); max-width: 62ch; margin-bottom: 1.6em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; }
.badges li { font-weight: 600; color: var(--body); font-size: .95rem; }
.badges li::before { content: "\2713"; color: var(--green-dark); font-weight: 800; margin-inline-end: 8px; }
section { padding: 56px 0; }
.section-surface { background: var(--surface); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; height: 100%; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .ic { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #11240a; font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
.callout { background: var(--green-soft); border-radius: var(--radius); padding: 26px 28px; }
.callout h2 { margin-top: 0; }
.callout p { margin-bottom: 0; color: var(--body); }
.partners { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.partners li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; color: var(--body); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; font-size: 1.08rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: inline-end; color: var(--green-dark); font-weight: 800; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 12px 0 0; color: var(--body); }
.cta-band { background: var(--green); color: #11240a; border-radius: 20px; padding: 44px 36px; text-align: center; }
.cta-band h2 { color: #11240a; }
.cta-band p { color: #1f3a10; font-size: 1.1rem; }
.cta-band .btn-primary { background: #11240a; color: #fff; }
.cta-band .btn-primary:hover { background: #0a1705; }
.footer { background: #11160d; color: #c4cdb6; padding: 48px 0 28px; }
.footer a { color: #c4cdb6; text-decoration: none; }
.footer a:hover { color: var(--green); }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid #283019; margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .85rem; color: #8a9479; }
.claim { color: var(--green); font-weight: 800; letter-spacing: .04em; }

.theme-toggle { background: transparent; border: 1px solid var(--line); color: var(--ink); width: 40px; height: 40px; border-radius: 999px; font-size: 1.15rem; cursor: pointer; line-height: 1; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.theme-toggle:hover { border-color: var(--green); color: var(--green-dark); }

.partners li img { display: block; height: 26px; width: auto; filter: brightness(0); opacity: .55; transition: filter .15s, opacity .15s; }
.partners li:hover img { filter: none; opacity: 1; }
:root[data-theme="dark"] .partners li img { filter: brightness(0) invert(1); opacity: .72; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .partners li img { filter: brightness(0) invert(1); opacity: .72; }
}

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy h1 { max-width: 18ch; }
.hero-media { min-width: 0; }
.hero-media img { width: 100%; max-height: 470px; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 44px rgba(0,0,0,.18); display: block; }
@media (max-width: 880px) { .hero-media { order: -1; } .hero-media img { max-height: 300px; } }

.partners li img.cert { height: 34px; }

/* dark logo hover fix */
:root[data-theme="dark"] .partners li:hover img { filter: none; opacity: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .partners li:hover img { filter: none; opacity: 1; }
}
