:root {
    --cream: #f7f1e6;
    --cream-strong: #efe5d0;
    --green: #7a9c84;
    --green-deep: #486856;
    --green-soft: #dfe9de;
    --ink: #2d3a30;
    --muted: #6d7b71;
    --shadow: 0 18px 45px rgba(72, 104, 86, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at top left, rgba(223, 233, 222, 0.8), transparent 30%),
        linear-gradient(180deg, #fbf6ee 0%, var(--cream) 100%);
    color: var(--ink);
}

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

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

code {
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    background: rgba(72, 104, 86, 0.08);
    font-family: "SFMono-Regular", Consolas, monospace;
}

.admin-shell,
.public-shell {
    min-height: 100vh;
}

.auth-shell {
    display: grid;
    place-items: center;
    padding: 2rem;
}

.auth-card,
.card {
    background: rgba(255, 251, 245, 0.92);
    border: 1px solid rgba(72, 104, 86, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.auth-card {
    width: min(100%, 480px);
    padding: 2rem;
}

.hint-card {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--green-soft);
    border-radius: var(--radius-md);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--green-deep);
    margin-bottom: 0.75rem;
}

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

.stack-md > * + * {
    margin-top: 1rem;
}

label {
    display: grid;
    gap: 0.45rem;
    font-size: 0.95rem;
}

input,
textarea,
select,
button {
    font: inherit;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(72, 104, 86, 0.18);
    border-radius: var(--radius-sm);
    background: #fffdfa;
    color: var(--ink);
}

textarea {
    resize: vertical;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

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

.button-secondary {
    background: rgba(122, 156, 132, 0.12);
    color: var(--green-deep);
    border-color: rgba(72, 104, 86, 0.15);
}

.button-ghost {
    background: transparent;
    color: var(--green-deep);
    border-color: rgba(72, 104, 86, 0.15);
}

.button-small {
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
}

.button-block {
    width: 100%;
}

.alert {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.alert-success {
    background: #e5f1e6;
    color: #2d5b39;
}

.alert-error {
    background: #fde8e4;
    color: #8f3b2f;
}

.admin-app {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 1.5rem;
    border-right: 1px solid rgba(72, 104, 86, 0.08);
    background: rgba(255, 251, 245, 0.72);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green-deep);
    color: #fff;
    font-weight: 700;
}

.brand-lockup small {
    display: block;
    color: var(--muted);
}

.admin-nav {
    display: grid;
    gap: 0.5rem;
}

.admin-nav a {
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    color: var(--ink);
}

.admin-nav a.is-active,
.admin-nav a:hover {
    background: var(--green-soft);
}

.sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 0.75rem;
}

.admin-main {
    padding: 2rem;
}

.admin-topbar,
.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.stats-grid,
.category-chip-grid,
.breakdown-grid {
    display: grid;
    gap: 1rem;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.stat-card,
.category-chip-card,
.breakdown-card,
.source-card {
    padding: 1.4rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(72, 104, 86, 0.08);
}

.stat-card strong {
    display: block;
    margin-top: 0.65rem;
    font-size: 2rem;
}

.card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.clean-list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 1rem 0.9rem;
    border-bottom: 1px solid rgba(72, 104, 86, 0.08);
    vertical-align: top;
}

.empty-state {
    text-align: center;
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.status-draft {
    background: #f2e8d2;
}

.status-published {
    background: #dceadf;
}

.actions-cell {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.editor-stack {
    display: grid;
    gap: 1.5rem;
}

.draft-generator-form {
    display: grid;
    gap: 1rem;
}

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

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

.full-span {
    grid-column: 1 / -1;
}

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

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(223, 233, 222, 0.45);
}

.checkbox-card input {
    width: auto;
}

.repeatable-list {
    display: grid;
    gap: 0.85rem;
}

.repeatable-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 0.85rem;
}

.repeatable-row-wide {
    grid-template-columns: 1fr 1fr 1.2fr 1.4fr 100px;
}

.repeatable-list-wide {
    gap: 1rem;
}

.editor-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.public-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.public-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.public-nav {
    padding-top: 0.75rem;
}

.lede {
    max-width: 60ch;
    font-size: 1.05rem;
    line-height: 1.7;
}

.product-layout {
    display: grid;
    gap: 1.5rem;
}

.public-card {
    background: rgba(255, 252, 248, 0.92);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 1.5rem;
}

.product-image-wrap {
    border-radius: calc(var(--radius-lg) - 8px);
    overflow: hidden;
    background: linear-gradient(180deg, #f3efe7 0%, #ebe1cb 100%);
    min-height: 360px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.score-panel {
    display: grid;
    gap: 1.25rem;
    align-content: start;
}

.score-badge {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
    color: #fff;
}

.score-badge strong {
    display: block;
    font-size: 4rem;
    line-height: 1;
    margin: 0.3rem 0;
}

.score-meta {
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.score-meta div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(72, 104, 86, 0.1);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.tag {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(122, 156, 132, 0.18);
    color: var(--green-deep);
    font-size: 0.92rem;
}

.body-copy {
    line-height: 1.8;
    font-size: 1.02rem;
}

.breakdown-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.breakdown-card strong {
    display: block;
    margin: 0.75rem 0;
    font-size: 1.8rem;
}

.progress-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(72, 104, 86, 0.1);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green) 0%, var(--green-deep) 100%);
}

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

.bullet-card-list {
    margin: 0;
    padding-left: 1.15rem;
    line-height: 1.8;
}

.bullet-card-list-muted {
    color: #735a52;
}

.source-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.source-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-deep);
}

.affiliate-disclosure {
    background: rgba(223, 233, 222, 0.48);
}

@media (max-width: 980px) {
    .admin-app,
    .hero-grid,
    .pros-cons-grid,
    .stats-grid,
    .breakdown-grid,
    .checkbox-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(72, 104, 86, 0.08);
    }

    .admin-topbar,
    .public-header,
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .admin-main,
    .public-page,
    .auth-card {
        padding: 1.25rem;
    }

    .repeatable-row,
    .repeatable-row-wide {
        grid-template-columns: 1fr;
    }

    .button,
    .editor-actions a,
    .editor-actions button {
        width: 100%;
    }

    .actions-cell {
        flex-direction: column;
    }
}

.landing-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.4rem 1.25rem 4.5rem;
}

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

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.landing-brand small {
    display: block;
    color: var(--muted);
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.landing-nav a:not(.button) {
    color: var(--ink);
    font-weight: 500;
}

.landing-main {
    display: grid;
    gap: 1.5rem;
}

.hero-panel {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.25rem;
    align-items: stretch;
}

.hero-copy,
.hero-visual-card,
.landing-card,
.methodology-panel,
.score-story-panel {
    background: rgba(255, 251, 245, 0.9);
    border: 1px solid rgba(72, 104, 86, 0.08);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 2.4rem;
}

.hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(3rem, 6vw, 5.1rem);
    line-height: 0.94;
    max-width: 10ch;
}

.hero-lede {
    max-width: 58ch;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #425146;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero-metrics article {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(223, 233, 222, 0.8), rgba(255, 251, 245, 0.96));
    border: 1px solid rgba(72, 104, 86, 0.06);
}

.hero-metrics strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.hero-metrics span {
    color: var(--muted);
}

.hero-visual-card {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    padding: 1.4rem;
    background:
        radial-gradient(circle at 82% 16%, rgba(249, 230, 216, 0.9), transparent 24%),
        radial-gradient(circle at 20% 22%, rgba(223, 233, 222, 0.85), transparent 26%),
        linear-gradient(180deg, rgba(255, 252, 247, 1), rgba(241, 232, 215, 0.96));
}

.hero-visual-glow {
    position: absolute;
    inset: auto auto 0 -10%;
    width: 60%;
    height: 45%;
    border-radius: 50%;
    background: rgba(122, 156, 132, 0.12);
    filter: blur(30px);
}

.hero-visual-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: 590px;
    object-fit: contain;
}

.hero-floating-score {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 2;
    display: grid;
    gap: 0.2rem;
    min-width: 180px;
    padding: 1rem 1.15rem;
    border-radius: 24px;
    background: rgba(255, 251, 245, 0.95);
    border: 1px solid rgba(72, 104, 86, 0.08);
    box-shadow: 0 18px 35px rgba(72, 104, 86, 0.14);
}

.hero-floating-score-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--muted);
}

.hero-floating-score strong {
    font-size: 3rem;
    line-height: 1;
    color: var(--green-deep);
}

.hero-floating-score span {
    color: #425146;
}

.landing-section {
    display: grid;
    gap: 1rem;
}

.landing-section h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.05;
    max-width: 18ch;
}

.landing-grid {
    display: grid;
    gap: 1rem;
}

.landing-grid-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.landing-card {
    padding: 1.5rem;
}

.category-landing-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
}

.landing-card h3 {
    margin: 0.35rem 0 0.75rem;
    font-size: 1.45rem;
}

.landing-card p {
    margin: 0;
    line-height: 1.75;
    color: #445248;
}

.category-card-topline {
    color: var(--green-deep);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.category-card-footer,
.product-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.pill-soft {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(122, 156, 132, 0.15);
    color: var(--green-deep);
}

.product-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.mini-score {
    min-width: 88px;
    padding: 0.9rem 0.85rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(72, 104, 86, 0.12), rgba(122, 156, 132, 0.2));
    text-align: center;
}

.mini-score strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
}

.mini-score span {
    font-size: 0.8rem;
    color: var(--muted);
}

.landing-card-empty {
    grid-column: 1 / -1;
    text-align: center;
}

.score-story-panel,
.methodology-panel {
    padding: 1.6rem;
}

.score-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 0.9fr;
    gap: 1rem;
}

.score-story-card {
    padding: 1.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(223, 233, 222, 0.28));
    border: 1px solid rgba(72, 104, 86, 0.08);
}

.score-story-card-primary {
    background: linear-gradient(180deg, rgba(232, 240, 231, 0.95), rgba(255, 252, 248, 0.98));
}

.score-story-card h3,
.method-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.25rem;
}

.score-story-card p,
.method-card p {
    margin: 0;
    line-height: 1.75;
    color: #435245;
}

.score-pillars-card {
    display: grid;
    place-items: center;
}

.score-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.score-pillars span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(122, 156, 132, 0.15);
    color: var(--green-deep);
    min-width: 96px;
}

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

.method-card {
    padding: 1.4rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(223, 233, 222, 0.45));
    border: 1px solid rgba(72, 104, 86, 0.08);
}

.method-card span {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(72, 104, 86, 0.1);
    color: var(--green-deep);
}

.method-card h3 {
    margin: 0 0 0.65rem;
}

@media (max-width: 980px) {
    .hero-panel,
    .score-story-grid,
    .landing-grid-categories,
    .landing-grid-products,
    .method-grid,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

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

    .hero-visual-card {
        min-height: auto;
    }
}

.site-header,
.site-footer,
.home-main,
.ps-home-main {
    max-width: 1240px;
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.25rem;
}

.site-brand {
    display: grid;
    gap: 0.15rem;
}

.site-brand-mark {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1;
}

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

.site-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

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

.site-nav a.is-active {
    color: var(--green-deep);
    border-bottom: 2px solid var(--green-deep);
    padding-bottom: 0.2rem;
}

.home-page,
.ps-home-page {
    padding-bottom: 4rem;
}

.home-main,
.ps-home-main {
    display: grid;
    gap: 1.5rem;
    padding: 0 1.25rem;
}

.home-hero,
.ps-home-hero,
.home-feature-panel,
.home-values-panel,
.home-subscribe-panel,
.ps-home-method-panel {
    background: rgba(255, 251, 245, 0.92);
    border: 1px solid rgba(72, 104, 86, 0.08);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.home-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
}

.home-hero-copy {
    padding: 1rem 0.5rem 1rem 0.75rem;
}

.home-hero-copy h1,
.ps-home-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(3.6rem, 7vw, 6rem);
    line-height: 0.92;
    max-width: 8ch;
}

.home-hero-copy p,
.ps-home-lede {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #435245;
    max-width: 58ch;
}

.home-hero-visual,
.home-feature-badge {
    overflow: hidden;
    border-radius: 28px;
}

.home-hero-visual {
    min-height: 520px;
    background:
        radial-gradient(circle at 80% 15%, rgba(248, 230, 216, 0.9), transparent 22%),
        linear-gradient(180deg, #fffefb 0%, #eee2cb 100%);
    display: grid;
    place-items: center;
    padding: 1.2rem;
}

.home-hero-visual img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.home-trust-row {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.home-feature-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.home-feature-copy {
    padding: 0.5rem;
}

.home-feature-copy h2,
.home-editorial-copy h2,
.home-values-panel h2,
.home-subscribe-panel h2,
.ps-home-section h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.02;
}

.home-feature-copy p,
.home-editorial-copy p,
.home-subscribe-panel p,
.ps-home-copy p,
.ps-home-section p {
    color: #435245;
    line-height: 1.8;
}

.home-feature-list,
.ps-home-checks {
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.home-feature-list li,
.ps-home-checks li {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.home-feature-list li::before,
.ps-home-checks li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-deep);
    flex: 0 0 auto;
}

.home-feature-badge,
.ps-home-scorecard {
    background: linear-gradient(135deg, #5f876d 0%, #87aa90 100%);
    color: #fff;
    padding: 1.6rem;
}

.home-feature-badge {
    display: grid;
    align-content: center;
    justify-items: start;
}

.home-feature-badge span,
.ps-home-score-badge span {
    font-size: 0.95rem;
    opacity: 0.9;
}

.home-feature-badge strong,
.ps-home-score-badge strong {
    font-size: 5rem;
    line-height: 1;
    margin: 0.35rem 0;
}

.home-feature-badge small,
.ps-home-score-badge small {
    font-size: 1rem;
    opacity: 0.92;
}

.home-pillars,
.home-values-grid,
.ps-home-category-strip,
.ps-home-product-grid,
.ps-home-method-grid,
.ps-home-directory-grid {
    display: grid;
    gap: 1rem;
}

.home-pillars,
.home-values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-pillar-card,
.home-editorial-card,
.ps-home-product-card,
.ps-home-category-card {
    background: rgba(255, 251, 245, 0.92);
    border: 1px solid rgba(72, 104, 86, 0.08);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.home-pillar-card {
    padding: 1rem;
}

.home-pillar-card img {
    width: 100%;
    aspect-ratio: 1.35 / 1;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 1rem;
    background: #fff;
}

.home-pillar-card h3 {
    margin: 0.35rem 0 0.75rem;
    font-size: 1.5rem;
    line-height: 1.2;
}

.home-editorial-stack,
.ps-home-section {
    display: grid;
    gap: 1rem;
}

.home-editorial-card {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    gap: 1.25rem;
    padding: 1.25rem;
    align-items: center;
}

.home-editorial-card.is-reversed {
    grid-template-columns: 0.82fr 1fr;
}

.home-editorial-card.is-reversed .home-editorial-copy {
    order: 2;
}

.home-editorial-card img {
    width: 100%;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
    border-radius: 26px;
    background: #fff;
}

.home-editorial-copy {
    padding: 0.5rem;
}

.home-values-panel,
.ps-home-method-panel {
    padding: 1.5rem;
}

.home-subscribe-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
    padding: 1.5rem;
    align-items: center;
}

.home-subscribe-form {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.home-subscribe-form input {
    flex: 1 1 auto;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem 0;
}

.site-footer-brand strong {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    text-transform: lowercase;
    color: var(--green-deep);
}

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

.site-footer-columns h4 {
    margin: 0 0 0.8rem;
}

.site-footer-columns a {
    display: block;
    margin-bottom: 0.6rem;
    color: #435245;
}

.ps-home-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
    padding: 1.5rem;
}

.ps-home-copy {
    padding: 0.4rem;
}

.ps-home-score-badge {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.24);
    margin-bottom: 1rem;
}

.ps-home-score-meta {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.ps-home-score-meta div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.ps-home-category-strip,
.ps-home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ps-home-category-card,
.ps-home-product-card {
    padding: 1.35rem;
}

.ps-home-category-card h3,
.ps-home-product-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.35rem;
}

.ps-home-product-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.ps-home-mini-rating {
    min-width: 98px;
    padding: 0.7rem;
    border-radius: 20px;
    text-align: center;
    background: rgba(122, 156, 132, 0.14);
}

.ps-home-mini-rating strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
}

.ps-home-mini-rating small {
    color: var(--muted);
}

.ps-home-method-grid,
.ps-home-directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1040px) {
    .home-hero,
    .home-feature-panel,
    .home-editorial-card,
    .home-editorial-card.is-reversed,
    .home-subscribe-panel,
    .ps-home-hero,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .home-pillars,
    .home-values-grid,
    .ps-home-category-strip,
    .ps-home-product-grid,
    .ps-home-method-grid,
    .ps-home-directory-grid,
    .site-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header,
    .home-main,
    .ps-home-main,
    .site-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-header,
    .site-nav,
    .home-subscribe-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-hero-copy h1,
    .ps-home-copy h1 {
        font-size: 2.9rem;
    }

    .home-pillars,
    .home-values-grid,
    .ps-home-category-strip,
    .ps-home-product-grid,
    .ps-home-method-grid,
    .ps-home-directory-grid,
    .site-footer-columns {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }
}

.ps-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 4rem;
}

.ps-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(72, 104, 86, 0.08);
}

.ps-brand-lockup {
    display: grid;
    gap: 0.2rem;
}

.ps-logo {
    font-size: 2.15rem;
    font-weight: 700;
    color: var(--green-deep);
}

.ps-brand-sub {
    color: var(--muted);
    font-size: 0.92rem;
}

.ps-main-nav,
.ps-topbar-tools,
.ps-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.ps-main-nav a {
    color: var(--ink);
    padding-bottom: 0.35rem;
}

.ps-main-nav a.is-active {
    border-bottom: 3px solid var(--green-deep);
}

.ps-search-shell {
    min-width: 280px;
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(72, 104, 86, 0.1);
    color: #819082;
    background: rgba(255, 251, 245, 0.9);
}

.ps-breadcrumbs {
    padding: 1rem 0 1.75rem;
    color: var(--muted);
    font-size: 0.92rem;
}

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

.ps-page {
    display: grid;
    gap: 1.25rem;
}

.ps-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 1.25rem;
    align-items: start;
}

.ps-gallery,
.ps-hero-copy,
.ps-scorecard,
.ps-panel,
.ps-score-strip-card {
    background: rgba(255, 251, 245, 0.92);
    border: 1px solid rgba(72, 104, 86, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.ps-gallery {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 1rem;
    padding: 1rem;
}

.ps-thumbs {
    display: grid;
    gap: 0.8rem;
    align-content: start;
}

.ps-thumb {
    height: 82px;
    border-radius: 18px;
    border: 1px solid rgba(72, 104, 86, 0.15);
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.ps-thumb.is-active {
    border-color: var(--green-deep);
    box-shadow: inset 0 0 0 2px rgba(72, 104, 86, 0.22);
}

.ps-thumb img,
.ps-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ps-thumb-more {
    font-weight: 700;
    color: var(--green-deep);
}

.ps-main-image {
    min-height: 420px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fcfaf5 0%, #f0e7d4 100%);
    padding: 1rem;
}

.ps-hero-copy {
    padding: 1.5rem;
}

.ps-hero-copy h1 {
    margin: 0.75rem 0 1rem;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.02;
}

.ps-hero-description {
    margin: 0 0 1.4rem;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #435245;
}

.ps-feature-icons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.ps-feature-chip {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(223, 233, 222, 0.32);
    border: 1px solid rgba(72, 104, 86, 0.08);
}

.ps-feature-chip-label {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
}

.ps-scorecard {
    padding: 1.25rem;
    text-align: center;
}

.ps-scorecard-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ps-ring-wrap {
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
}

.ps-score-ring {
    --size: 230px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background:
        conic-gradient(var(--green-deep) calc(var(--score) * 1%), rgba(72, 104, 86, 0.13) 0);
    display: grid;
    place-items: center;
}

.ps-score-ring-inner {
    width: calc(var(--size) - 42px);
    height: calc(var(--size) - 42px);
    border-radius: 50%;
    background: rgba(255, 251, 245, 0.96);
    display: grid;
    place-items: center;
    text-align: center;
}

.ps-score-ring-inner strong {
    font-size: 4rem;
    line-height: 1;
    color: var(--green-deep);
}

.ps-score-ring-inner span {
    color: var(--green-deep);
    font-weight: 700;
}

.ps-rating-word {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 1rem;
}

.ps-scorecard-meta {
    display: grid;
    gap: 0.45rem;
    color: #435245;
    margin-bottom: 1rem;
}

.ps-score-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.ps-score-strip-card {
    padding: 1.15rem;
}

.ps-score-strip-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.9rem;
}

.ps-score-strip-top strong {
    font-size: 1.55rem;
    white-space: nowrap;
}

.ps-score-strip-top small {
    font-size: 0.9rem;
    color: var(--muted);
}

.ps-progress-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(72, 104, 86, 0.1);
    overflow: hidden;
    margin-bottom: 1rem;
}

.ps-progress-fill {
    height: 100%;
    border-radius: 999px;
}

.tone-green { --tone: #3e8357; }
.tone-lilac { --tone: #8a67a8; }
.tone-blue { --tone: #3e82a8; }
.tone-orange { --tone: #db7d2e; }
.tone-gold { --tone: #d6a33b; }

.ps-progress-fill.tone-green { background: linear-gradient(90deg, #6ba377 0%, #3e8357 100%); }
.ps-progress-fill.tone-lilac { background: linear-gradient(90deg, #b091cc 0%, #8a67a8 100%); }
.ps-progress-fill.tone-blue { background: linear-gradient(90deg, #72a6c8 0%, #3e82a8 100%); }
.ps-progress-fill.tone-orange { background: linear-gradient(90deg, #f0aa68 0%, #db7d2e 100%); }
.ps-progress-fill.tone-gold { background: linear-gradient(90deg, #efcc72 0%, #d6a33b 100%); }

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

.ps-panel {
    padding: 1.4rem;
}

.ps-panel h2 {
    margin: 0 0 1rem;
    font-size: 2rem;
    line-height: 1.05;
}

.ps-panel-subhead {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.ps-check-list,
.ps-x-list,
.ps-source-stack {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
    display: grid;
    gap: 0.7rem;
}

.ps-check-list li,
.ps-x-list li,
.ps-source-stack li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    line-height: 1.55;
}

.ps-check-list li::before,
.ps-x-list li::before {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    content: "+";
}

.ps-check-list li::before {
    background: rgba(62, 131, 87, 0.15);
    color: #2f744d;
}

.ps-x-list li::before {
    background: rgba(196, 95, 84, 0.14);
    color: #b84b3e;
    content: "-";
}

.ps-source-stack li {
    justify-content: space-between;
    border-bottom: 1px solid rgba(72, 104, 86, 0.08);
    padding-bottom: 0.6rem;
}

.ps-source-stack small {
    color: var(--muted);
}

.ps-data-note {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(223, 233, 222, 0.32);
}

.ps-data-note strong {
    display: block;
    font-size: 1.4rem;
}

.ps-data-note span {
    color: var(--muted);
}

.ps-recommend-card {
    margin-top: 1.1rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 245, 240, 0.95), rgba(255, 251, 245, 1));
    border: 1px solid rgba(72, 104, 86, 0.08);
}

.ps-bottom-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 1rem;
}

.ps-compare-panel .muted {
    margin-top: -0.35rem;
    margin-bottom: 1rem;
}

.ps-compare-table-wrap {
    overflow-x: auto;
}

.ps-compare-table {
    width: 100%;
    border-collapse: collapse;
}

.ps-compare-table th,
.ps-compare-table td {
    text-align: left;
    padding: 0.9rem 0.75rem;
    border-bottom: 1px solid rgba(72, 104, 86, 0.08);
    vertical-align: top;
}

.ps-side-stack {
    display: grid;
    gap: 1rem;
}

.ps-price-value {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ps-price-chart {
    height: 120px;
    display: flex;
    align-items: end;
    gap: 0.45rem;
}

.ps-price-chart span {
    flex: 1;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(72, 104, 86, 0.35), rgba(72, 104, 86, 0.75));
    min-height: 18px;
}

.ps-footer-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1180px) {
    .ps-hero {
        grid-template-columns: 1fr;
    }

    .ps-score-strip,
    .ps-three-up,
    .ps-bottom-grid,
    .ps-footer-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .ps-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .ps-thumbs,
    .ps-feature-icons,
    .ps-data-note {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .ps-shell {
        padding: 1rem 0.85rem 3rem;
    }

    .ps-search-shell {
        min-width: 0;
        width: 100%;
    }

    .ps-thumbs,
    .ps-feature-icons,
    .ps-data-note {
        grid-template-columns: 1fr;
    }

    .ps-hero-copy h1 {
        font-size: 2.55rem;
    }
}
