:root {
    --bg: #f6faf7;
    --surface: #ffffff;
    --surface-2: #eef7f0;
    --text: #1f2a22;
    --muted: #5e6c61;
    --brand: #2f7d4a;
    --brand-dark: #245f38;
    --line: #d9e7db;
    --accent: #f4b400;
    --max: 1120px;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(26, 42, 31, .08);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

a {
    color: var(--brand);
    text-decoration: none
}

a:hover {
    color: var(--brand-dark)
}

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

.topbar {
    background: #e8f4eb;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 0;
}

header.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(246, 250, 247, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 800;
    font-size: 20px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2f7d4a, #4fa66b);
    color: #fff;
    box-shadow: var(--shadow)
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

nav a {
    font-weight: 700;
    color: var(--text)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent
}

.btn-primary {
    background: var(--brand);
    color: #fff
}

.btn-primary:hover {
    background: var(--brand-dark);
    color: #fff
}

.btn-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--line)
}

.hero {
    padding: 64px 0 42px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: center
}

.eyebrow {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e8f6eb;
    border: 1px solid #cfe3d4;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 14px;
}

h1 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.06;
    letter-spacing: -.04em;
    margin: 16px 0 14px;
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.12;
    letter-spacing: -.03em;
    margin: 0 0 12px;
}

h3 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 10px
}

.lead {
    font-size: 18px;
    color: var(--muted)
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px
}

.stat,
.card,
.panel,
.faq-item,
.hero-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat {
    padding: 18px
}

.stat strong {
    display: block;
    font-size: 24px
}

.hero-card {
    padding: 24px;
    background: linear-gradient(180deg, #fff, #eef7ef)
}

.checklist {
    margin: 16px 0 0;
    padding-left: 20px
}

.section {
    padding: 38px 0
}

.section-head {
    max-width: 780px;
    margin-bottom: 22px
}

.section-head p {
    color: var(--muted);
    margin: 0
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    padding: 22px
}

.card p,
.panel p {
    color: var(--muted)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.panel {
    padding: 24px
}

.notice {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff8df;
    border: 1px solid #f0df9d;
    color: #675410
}

.compact-head {
    margin-bottom: 14px
}

.compact-head p {
    margin: 0
}

.trust-split {
    align-items: stretch
}

.trust-panel {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.trust-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted)
}

.trust-list li + li {
    margin-top: 10px
}

.trust-notice a {
    font-weight: 700
}

.resource-list {
    display: grid;
    gap: 14px
}

.resource-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fcfefc
}

details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow)
}

details+details {
    margin-top: 12px
}

summary {
    cursor: pointer;
    font-weight: 700
}

.cta {
    background: linear-gradient(135deg, #2f7d4a, #245f38);
    color: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow)
}

.cta p {
    color: rgba(255, 255, 255, .88)
}

footer {
    padding: 28px 0 44px;
    color: var(--muted);
    font-size: 14px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr;
    gap: 22px;
    padding-top: 24px;
    border-top: 1px solid var(--line)
}

.footer-grid h4 {
    color: var(--text);
    margin: 0 0 10px
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px
}

.page-hero {
    padding: 44px 0 18px
}

.page-hero p {
    max-width: 800px;
    color: var(--muted)
}

.content section {
    padding: 18px 0
}

.content article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
    margin-bottom: 16px
}

.content ul {
    padding-left: 20px
}

pre.code-sample {
    overflow: auto;
    background: #172019;
    color: #edf5ee;
    padding: 16px;
    border-radius: 14px
}

@media (max-width: 920px) {

    .hero-grid,
    .split,
    .cards,
    .footer-grid,
    .stats {
        grid-template-columns: 1fr
    }

    .nav {
        flex-direction: column;
        align-items: flex-start
    }
}
