:root {
    --bg: #f7f4ee;
    --paper: #ffffff;
    --ink: #17211f;
    --muted: #64706b;
    --line: #ded8cc;
    --green: #225a4b;
    --coral: #d7614b;
    --gold: #c69b3f;
    --blue: #2f5f8a;
    --shadow: 0 20px 60px rgba(23, 33, 31, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    z-index: 100;
    padding: 10px 14px;
    background: var(--ink);
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 244, 238, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(23, 33, 31, 0.08);
}

.topbar {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 7px 16px;
    background: var(--green);
    color: #fff;
    font-size: 13px;
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
}

.brand-mark {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
}

.brand-mark strong {
    color: var(--coral);
}

.menu {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 15px;
}

.menu a:hover,
.menu a:focus {
    color: var(--ink);
}

.nav-cta,
.button,
.subscribe-form button,
.product-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 6px;
    border: 1px solid var(--ink);
    padding: 10px 18px;
    font-weight: 700;
}

.nav-cta,
.button.primary,
.subscribe-form button {
    background: var(--ink);
    color: #fff;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    display: grid;
    align-items: end;
    padding: 120px 24px 54px;
    background: #d7d3c6;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23, 33, 31, 0.84), rgba(23, 33, 31, 0.26) 52%, rgba(23, 33, 31, 0.05)),
        url("https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=2200&q=85") center / cover;
}

.hero-content {
    position: relative;
    width: min(660px, 100%);
    max-width: 1180px;
    margin: 0 auto;
    color: #fff;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f0b46a;
}

.hero h1 {
    margin: 0;
    font-size: clamp(56px, 9vw, 118px);
    line-height: 0.92;
    letter-spacing: 0;
}

.hero p {
    max-width: 560px;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1180px;
    margin: -34px auto 0;
    position: relative;
    z-index: 2;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.trust-strip div {
    padding: 24px;
    border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip strong {
    display: block;
    font-size: 28px;
}

.trust-strip span,
.section-heading p,
.product-card p,
.site-footer p,
.policy-list span {
    color: var(--muted);
}

.section,
.split-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 88px 24px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 36px;
    margin-bottom: 30px;
}

.section-heading h2,
.split-section h2 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: 0;
}

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

.category-tile {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 28px;
    border-radius: 8px;
    color: #fff;
    overflow: hidden;
}

.category-tile span {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.category-tile strong {
    max-width: 270px;
    font-size: 28px;
    line-height: 1.1;
}

.tile-green {
    background:
        linear-gradient(rgba(34, 90, 75, 0.18), rgba(34, 90, 75, 0.82)),
        url("https://images.unsplash.com/photo-1603974372039-adc49044b6bd?auto=format&fit=crop&w=900&q=80") center / cover;
}

.tile-coral {
    background:
        linear-gradient(rgba(215, 97, 75, 0.08), rgba(215, 97, 75, 0.78)),
        url("https://images.unsplash.com/photo-1535632066927-ab7c9ab60908?auto=format&fit=crop&w=900&q=80") center / cover;
}

.tile-ink {
    background:
        linear-gradient(rgba(23, 33, 31, 0.18), rgba(23, 33, 31, 0.84)),
        url("https://images.unsplash.com/photo-1513201099705-a9746e1e201f?auto=format&fit=crop&w=900&q=80") center / cover;
}

.product-section {
    padding-top: 28px;
}

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

.product-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.product-card div {
    padding: 18px 18px 6px;
}

.product-card h3 {
    margin: 0;
    font-size: 18px;
}

.product-card p {
    margin: 4px 0 0;
    font-weight: 800;
}

.product-card a {
    margin: 12px 18px 18px;
    width: calc(100% - 36px);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 36px;
    align-items: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.split-section p {
    max-width: 600px;
    color: var(--muted);
}

.policy-list {
    display: grid;
    gap: 12px;
}

.policy-list div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.faq {
    padding-top: 72px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

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

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.site-footer {
    background: var(--ink);
    color: #fff;
    padding: 64px 24px 28px;
}

.footer-grid,
.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
}

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

.footer-brand strong {
    color: #f0b46a;
}

.site-footer h2 {
    margin: 0 0 12px;
    font-size: 16px;
}

.footer-menu {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
}

.subscribe-form {
    display: flex;
    gap: 8px;
}

.subscribe-form input {
    min-width: 0;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

.content-area {
    min-height: 56vh;
}

.page-content,
.post-card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 32px;
}

@media (max-width: 900px) {
    .topbar {
        display: none;
    }

    .nav-shell {
        grid-template-columns: auto auto;
    }

    .menu-toggle {
        display: inline-grid;
        gap: 4px;
        justify-self: end;
        width: 44px;
        height: 44px;
        place-content: center;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--paper);
    }

    .menu-toggle span:not(.screen-reader-text) {
        width: 20px;
        height: 2px;
        background: var(--ink);
    }

    .primary-nav,
    .nav-cta {
        display: none;
    }

    .primary-nav.is-open {
        display: block;
        grid-column: 1 / -1;
    }

    .primary-nav.is-open .menu {
        display: grid;
        gap: 12px;
        justify-content: stretch;
        padding: 16px 0 4px;
    }

    .hero {
        min-height: 620px;
    }

    .trust-strip,
    .category-grid,
    .product-grid,
    .split-section,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-heading {
        display: block;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 560px;
        padding-top: 96px;
    }

    .hero p {
        font-size: 16px;
    }

    .trust-strip,
    .category-grid,
    .product-grid,
    .split-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin: 0;
        border-radius: 0;
    }

    .trust-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .section,
    .split-section {
        padding: 64px 18px;
    }

    .category-tile {
        min-height: 250px;
    }

    .policy-list div,
    .footer-bottom,
    .subscribe-form {
        display: grid;
    }
}
