:root {
    --bg: #fffaf3;
    --surface: #ffffff;
    --surface-alt: #f4efe6;
    --ink: #242424;
    --muted: #646464;
    --line: #e8dfd2;
    --green: #38695a;
    --green-soft: #dfeee5;
    --coral: #df684d;
    --coral-dark: #bd4d37;
    --blue: #356a86;
    --yellow: #f6c766;
    --shadow: 0 18px 42px rgba(36, 36, 36, 0.1);
    --radius: 8px;
    --font-heading: "Outfit", sans-serif;
    --font-body: "Inter", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font-body);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

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

.header-content {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img {
    width: auto;
    height: 52px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #3b3b3b;
    font-weight: 700;
}

.site-nav a {
    padding: 10px 0;
}

.site-nav a:hover {
    color: var(--coral);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    padding: 9px 13px;
    font-weight: 800;
}

.hero {
    padding: 34px 0 18px;
}

.hero-grid {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    align-items: start;
    gap: 48px;
}

.hero-copy {
    padding-top: 8px;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 590px;
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-media {
    width: min(100%, 620px);
    min-height: 430px;
    justify-self: end;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    max-height: 470px;
    object-fit: cover;
    object-position: center 28%;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn,
.btn-affiliate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: var(--radius);
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 800;
    text-align: center;
}

.btn-primary,
.btn-affiliate {
    background: var(--coral);
    color: #fff;
}

.btn-primary:hover,
.btn-affiliate:hover {
    background: var(--coral-dark);
}

.btn-secondary {
    background: var(--green-soft);
    color: var(--green);
}

.widget,
.post-card,
.product-card,
.plan-grid article,
.review-box,
.affiliate-note,
.timeline div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.post-card,
.popular-card,
.product-card {
    cursor: pointer;
}

.post-card:hover h3 a,
.post-card:focus-visible h3 a,
.popular-card:hover h3 a,
.popular-card:focus-visible h3 a,
.product-card:hover h3 a,
.product-card:focus-visible h3 a {
    color: var(--coral);
}

.post-card:focus-visible,
.popular-card:focus-visible,
.product-card:focus-visible {
    outline: 3px solid rgba(232, 115, 90, 0.35);
    outline-offset: 3px;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.08;
    letter-spacing: 0;
}

.widget h2,
.post-content h3,
.product-card h3,
.plan-grid strong {
    margin: 0 0 10px;
}

.widget p,
.post-content p,
.product-card p,
.plan-grid span {
    margin: 0;
    color: var(--muted);
}

.main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    padding: 34px 0 78px;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading.compact {
    align-items: center;
}

.search-box {
    display: grid;
    gap: 6px;
    min-width: 280px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.search-box input,
.newsletter-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 11px 13px;
    color: var(--ink);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.filter-btn {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    padding: 9px 13px;
    cursor: pointer;
    font-weight: 800;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.post-grid.small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.post-image-link {
    display: block;
}

.post-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.post-content {
    padding: 18px;
}

.post-content h3 {
    font-size: 1.16rem;
}

.post-content h3 a:hover {
    color: var(--coral);
}

.category-tag {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: var(--radius);
    background: var(--green-soft);
    color: var(--green);
    padding: 5px 9px;
    font-size: 0.78rem;
    font-weight: 900;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.empty-state {
    margin: 18px 0 0;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 22px;
    color: var(--muted);
    text-align: center;
}

.sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

.widget {
    padding: 22px;
}

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

.newsletter-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.form-feedback {
    min-height: 22px;
    color: var(--green);
    font-weight: 800;
}

.popular-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.popular-list a {
    color: var(--green);
    font-weight: 800;
}

.popular-list a:hover {
    color: var(--coral);
}

.popular-card {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    margin-top: 8px;
}

.popular-card-image {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-alt);
}

.popular-card-image img {
    width: 100%;
    height: 100%;
    min-height: 118px;
    object-fit: cover;
}

.popular-card-content {
    display: grid;
    align-content: start;
}

.popular-card .category-tag {
    margin-bottom: 8px;
}

.popular-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.18;
}

.popular-card h3 a:hover {
    color: var(--coral);
}

.popular-card .post-meta {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 0.78rem;
}

.disclosure-widget {
    background: var(--surface-alt);
}

.products-band {
    padding: 66px 0;
    background: #edf5f0;
}

.text-link {
    color: var(--green);
    font-weight: 900;
}

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

.product-card {
    overflow: hidden;
}

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

.product-card div {
    padding: 20px;
}

.product-card span,
.review-rank {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-card .btn-affiliate {
    margin-top: 16px;
}

.editorial-plan {
    padding: 66px 0;
}

.about-blog {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 36px;
    padding: 58px 0 20px;
    align-items: start;
}

.about-blog h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.about-blog p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

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

.plan-grid article {
    padding: 22px;
}

.plan-grid strong,
.plan-grid span {
    display: block;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 770px) 320px;
    gap: 48px;
    padding: 44px 0 72px;
    align-items: start;
}

.article-content {
    min-width: 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted);
    font-weight: 700;
}

.breadcrumbs a {
    color: var(--green);
}

.article-header h1 {
    margin: 0 0 18px;
    font-size: clamp(2.35rem, 6vw, 4.6rem);
}

.article-header p {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 1.15rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
}

.article-featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    object-fit: cover;
    margin: 28px 0 20px;
}

.about-featured-img {
    object-position: center 24%;
}

.affiliate-note {
    padding: 18px;
    background: #fff4d6;
}

.post-body {
    margin-top: 34px;
}

.post-body p,
.post-body li {
    color: #3f3f3f;
    font-size: 1.08rem;
}

.post-body h2 {
    margin: 44px 0 16px;
    font-size: 2rem;
}

.post-body h3 {
    margin: 28px 0 12px;
    font-size: 1.35rem;
}

.post-body ul {
    padding-left: 22px;
}

.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 0.96rem;
}

.post-body th,
.post-body td {
    border: 1px solid var(--line);
    padding: 13px;
    text-align: left;
    vertical-align: top;
}

.post-body th {
    background: var(--green-soft);
    color: var(--green);
    font-family: var(--font-heading);
}

.post-body table a {
    color: var(--coral);
    font-weight: 800;
}

.post-body details {
    margin: 12px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 16px 18px;
}

.post-body summary {
    cursor: pointer;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
}

.post-body details p {
    margin: 14px 0 0;
}

.review-box {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 18px;
    margin: 16px 0;
    padding: 16px;
}

.review-box img {
    width: 100%;
    height: 150px;
    min-height: 150px;
    border-radius: var(--radius);
    object-fit: contain;
    background: #fff;
}

.review-box h3 {
    margin: 2px 0 8px;
    font-size: 1.22rem;
}

.review-box p,
.review-box li {
    font-size: 1rem;
}

.review-box p {
    margin: 0 0 8px;
}

.review-box ul {
    margin: 10px 0;
    padding-left: 18px;
}

.review-box li {
    margin-bottom: 4px;
}

.review-box .btn-affiliate,
.review-box a[style*="background"] {
    min-height: 40px;
    margin-top: 2px;
}

.pros-cons {
    margin: 14px 0;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 8px;
}

.timeline div {
    padding: 16px;
}

.timeline strong,
.timeline span {
    display: block;
}

.timeline span {
    margin-top: 6px;
    color: var(--muted);
}

.related-posts {
    padding-bottom: 70px;
}

.site-footer {
    background: #26332f;
    color: #fff;
    padding: 46px 0 24px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
}

.footer-grid p {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid nav {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    justify-content: flex-end;
    gap: 16px;
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    width: min(1160px, calc(100% - 32px));
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 980px) {
    .hero-grid,
    .main-layout,
    .about-blog,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-media,
    .hero-media img {
        min-height: 360px;
    }

    .product-grid,
    .plan-grid,
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-grid,
    .post-grid.small {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .header-content {
        min-height: 68px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--line);
        background: var(--surface);
        padding: 8px 16px 16px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    .hero {
        padding-top: 34px;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

    .search-box {
        min-width: 0;
    }

    .product-grid,
    .plan-grid,
    .post-grid,
    .post-grid.small,
    .timeline,
    .review-box {
        grid-template-columns: 1fr;
    }

    .review-box img {
        max-height: 240px;
    }

    .footer-grid {
        display: grid;
    }

    .footer-grid nav {
        justify-content: flex-start;
    }
}
