:root {
    color-scheme: light;
    --bg: #f5f4ef;
    --paper: #fffdf8;
    --ink: #15130f;
    --muted: #516257;
    --line: #ded8cb;
    --green: #1b7a4d;
    --green-dark: #105431;
    --blue: #284b8f;
    --gold: #a36f16;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
}

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

a:hover {
    text-decoration: underline;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.92);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
}

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 750;
}

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--green), var(--blue));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: var(--muted);
}

.nav-links a {
    color: var(--muted);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 700;
    border: 1px solid var(--green);
    min-height: 44px;
}

.button.primary {
    color: #fff;
    background: var(--green);
}

.button.primary:hover {
    background: var(--green-dark);
    text-decoration: none;
}

.button.secondary {
    color: var(--green-dark);
    background: transparent;
}

main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 24px 72px;
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 800;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 42px;
    align-items: center;
    padding: 36px 0 52px;
}

h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: 0;
    margin: 12px 0 18px;
    font-weight: 350;
}

.lede {
    font-size: 20px;
    line-height: 1.58;
    color: var(--muted);
    max-width: 760px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 22px 45px rgba(21, 19, 15, 0.08);
}

.note {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.transcript {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.bubble {
    border-radius: 8px;
    padding: 14px 16px;
    background: #eef3ed;
    color: #25342b;
    line-height: 1.5;
}

.bubble strong {
    display: block;
    margin-bottom: 4px;
    color: var(--green-dark);
}

.section {
    padding: 42px 0;
    border-top: 1px solid var(--line);
}

h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    font-weight: 420;
    margin: 0 0 14px;
}

h3 {
    font-size: 20px;
    margin: 0 0 8px;
}

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

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}

.card p,
.section p,
li {
    color: var(--muted);
    line-height: 1.58;
}

.compare {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.compare th,
.compare td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.compare th {
    color: var(--ink);
    background: #ece7dc;
}

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

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 999px;
    padding: 9px 12px;
    color: var(--green-dark);
    font-weight: 700;
    font-size: 14px;
}

.faq {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

details {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px 18px;
}

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

details p {
    margin-bottom: 0;
}

.footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 24px 42px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
}

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

.article {
    max-width: 820px;
}

.article .hero {
    display: block;
    padding-bottom: 34px;
}

.article-meta {
    color: var(--muted);
    font-size: 14px;
    margin-top: 12px;
}

.prose {
    color: var(--ink);
}

.prose p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.76;
}

.prose h2 {
    font-size: 32px;
    font-weight: 430;
    margin: 44px 0 14px;
}

.prose h3 {
    font-size: 22px;
    margin-top: 28px;
}

.prose ul,
.prose ol {
    padding-left: 24px;
    color: var(--muted);
    line-height: 1.7;
}

.callout {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--green);
    border-radius: 8px;
    padding: 20px;
    margin: 28px 0;
}

.blog-main {
    max-width: 1120px;
}

.blog-hero {
    display: block;
    max-width: 820px;
    padding: 46px 0 38px;
}

.language-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.post-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.post-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    color: var(--ink);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.16s ease, transform 0.16s ease;
}

.post-card:hover {
    border-color: rgba(27, 122, 77, 0.45);
    text-decoration: none;
    transform: translateY(-2px);
}

.post-kicker {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-card h2,
.post-card h3 {
    font-size: 22px;
    line-height: 1.18;
    font-weight: 520;
    margin: 0;
}

.post-card p {
    color: var(--muted);
    line-height: 1.56;
    margin: 0;
}

.post-meta {
    color: var(--muted);
    font-size: 13px;
    margin-top: auto;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.section-heading p {
    max-width: 560px;
}

@media (max-width: 820px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .post-list {
        grid-template-columns: 1fr;
    }

    .compare {
        display: block;
        overflow-x: auto;
    }
}
