:root {
    --bg: #f5f7f4;
    --surface: #ffffff;
    --surface-alt: #eef2ec;
    --text: #18201b;
    --muted: #5a675f;
    --border: #d5ddd4;
    --accent: #224c38;
    --accent-soft: #dce9df;
    --max-width: 1120px;
    --narrow-width: 760px;
    --shadow: 0 18px 50px rgba(24, 32, 27, 0.07);
    --radius: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(220, 233, 223, 0.8), transparent 32%),
        linear-gradient(180deg, #fafcf9 0%, var(--bg) 100%);
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

img {
    max-width: 100%;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--text);
    color: #fff;
}

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

.container.narrow {
    width: min(calc(100% - 2rem), var(--narrow-width));
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(250, 252, 249, 0.9);
    border-bottom: 1px solid rgba(213, 221, 212, 0.8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    background: var(--text);
    color: #f7faf7;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text span {
    color: var(--muted);
    font-size: 0.9rem;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.96rem;
}

.site-nav a[aria-current="page"] {
    color: var(--text);
    font-weight: 600;
}

.hero,
.page-hero {
    padding: 5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2 {
    margin: 0;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    max-width: 12ch;
}

.page-hero h1,
.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.eyebrow,
.panel-label,
.card-kicker {
    margin: 0 0 1rem;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lead,
.page-intro {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 44rem;
}

.hero-actions,
.cta-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.2rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: #f8faf7;
    text-decoration: none;
    font-weight: 600;
}

.button:hover,
.button:focus-visible {
    background: #193a2c;
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--accent-soft);
}

.hero-panel,
.info-card,
.product-card,
.cta-panel {
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.company-facts {
    margin: 0;
}

.company-facts div + div {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.company-facts dt {
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.company-facts dd {
    margin: 0;
    font-weight: 600;
}

.page-section {
    padding: 2.5rem 0;
}

.section-surface {
    background: rgba(238, 242, 236, 0.72);
    border-top: 1px solid rgba(213, 221, 212, 0.85);
    border-bottom: 1px solid rgba(213, 221, 212, 0.85);
}

.section-heading {
    margin-bottom: 1.75rem;
}

.two-column-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.info-card h3,
.product-card h3 {
    margin-top: 0;
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose h2 {
    margin-top: 2.5rem;
    line-height: 1.15;
}

.prose p,
.prose li {
    color: #2c3731;
}

.prose ul {
    padding-left: 1.2rem;
}

.section-cta {
    padding-bottom: 5rem;
}

.cta-panel {
    justify-content: space-between;
}

.site-footer {
    margin-top: 3rem;
    padding: 2rem 0 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.56);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-title {
    margin: 0 0 0.7rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 0.35rem;
}

.footer-meta {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(213, 221, 212, 0.85);
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 900px) {
    .hero-grid,
    .two-column-copy,
    .card-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-inner,
    .cta-panel {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero,
    .page-hero {
        padding-top: 3.5rem;
    }

    .site-nav {
        gap: 0.75rem 1rem;
    }

    .site-nav a {
        font-size: 0.92rem;
    }

    .hero-copy h1 {
        max-width: none;
    }
}
