:root {
    --bg: #f4f1e9;
    --surface: #ffffff;
    --surface-soft: #eef1ed;
    --text: #1f2924;
    --muted: #5d6761;
    --brand: #26372f;
    --brand-soft: #dfe7e1;
    --accent: #9a5c11;
    --accent-soft: #fff3df;
    --danger: #9b3b2d;
    --border: #d9ddd8;
    --radius: 18px;
    --radius-small: 12px;
    --shadow: 0 14px 40px rgba(32, 43, 37, .08);
    --content: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.68;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: white; padding: 10px 14px; z-index: 999; }

.site-header {
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 1 360px; min-width: 220px; }
.brand img { width: min(360px, 100%); height: auto; }
.main-nav ul { list-style: none; display: flex; gap: 18px; align-items: center; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 650; }
.main-nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; border: 1px solid var(--border); background: white; border-radius: 10px; padding: 8px 12px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 999px; background: var(--brand); color: white; text-decoration: none; font-weight: 750; border: 0; cursor: pointer; }
.button:hover { background: var(--accent); color: #fff; }
.button-small { padding: 9px 14px; }
.button-secondary { background: white; color: var(--brand); border: 1px solid var(--border); }
.button-secondary:hover { color: white; border-color: var(--accent); }

.hero { padding: 82px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); max-width: 15ch; margin-bottom: 22px; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); margin-bottom: 18px; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; }
.lead { font-size: 1.17rem; color: var(--muted); max-width: 64ch; }
.hero-card, .card, .finder-panel, .article-box, .trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card { padding: 32px; }
.hero-card ul { margin: 0; padding-left: 20px; }
.hero-visual { margin-top: 24px; background: var(--surface-soft); border-radius: 14px; padding: 20px; }

.section { padding: 58px 0; }
.section-tight { padding: 28px 0; }
.section-header { max-width: 760px; margin-bottom: 30px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { padding: 26px; }
.card p { color: var(--muted); }
.card a { font-weight: 750; }
.card-kicker { color: var(--accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.card-status { display: inline-flex; margin-top: 12px; padding: 5px 9px; border-radius: 999px; background: var(--brand-soft); font-size: .78rem; font-weight: 750; }

.trust-strip { background: var(--brand); color: white; padding: 24px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item strong { display: block; margin-bottom: 4px; }
.trust-item span { color: #dce4df; font-size: .94rem; }

.page-header { padding: 50px 0 28px; }
.page-header h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.breadcrumbs { margin-bottom: 18px; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #9aa29d; }
.breadcrumbs a { color: var(--muted); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.article { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); min-width: 0; }
.article > :first-child { margin-top: 0; }
.article h2 { margin-top: 46px; scroll-margin-top: 100px; }
.article h3 { margin-top: 30px; }
.article p, .article li { max-width: 76ch; }
.article ul, .article ol { padding-left: 22px; }
.article-box { padding: 22px; position: sticky; top: 100px; }
.article-box h2 { font-size: 1.15rem; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li + li { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 28px; color: var(--muted); font-size: .88rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.article-figure { margin: 32px 0; padding: 22px; border-radius: var(--radius-small); background: var(--surface-soft); border: 1px solid var(--border); }
.article-figure figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; }

.notice { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 16px 18px; border-radius: 10px; margin: 24px 0; }
.notice-danger { border-left-color: var(--danger); background: #fff0ed; }
.notice-neutral { border-left-color: var(--brand); background: var(--surface-soft); }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 30px; margin: 10px 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 900; font-size: .8rem; }
.table-wrap { overflow-x: auto; margin: 26px 0; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { border: 1px solid var(--border); padding: 12px; text-align: left; vertical-align: top; }
th { background: #eef1ed; }

.quick-answer { padding: 20px 22px; border-radius: var(--radius-small); background: var(--brand); color: white; margin: 26px 0; }
.quick-answer strong { color: #ffdcae; }
.decision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.decision-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-small); background: #fafbf9; }
.decision-card h3 { margin-bottom: 8px; }

.source-box { margin-top: 48px; padding-top: 34px; border-top: 2px solid var(--border); }
.source-box h2 { font-size: 1.45rem; }
.source-box > p { color: var(--muted); }
.source-list { padding-left: 22px; }
.source-list li { margin: 18px 0; padding-left: 6px; }
.source-list a { font-weight: 750; }
.source-list span, .source-list small { display: block; color: var(--muted); }
.source-list small { margin-top: 3px; }

.faq { margin-top: 42px; }
.faq details { border-top: 1px solid var(--border); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { color: var(--muted); }

.finder { padding: 36px 0 70px; }
.finder-panel { padding: clamp(24px, 5vw, 48px); }
.finder-step { display: none; }
.finder-step.is-active { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.choice { padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: #fff; cursor: pointer; text-align: left; }
.choice:hover, .choice.is-selected { border-color: var(--accent); background: #fff8ed; }
.result { display: none; margin-top: 24px; padding: 24px; border-radius: 14px; background: #eef6f1; }
.result.is-visible { display: block; }

.privacy-check { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.privacy-check div { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface-soft); }
.privacy-check strong { display: block; }
.placeholder { border: 2px dashed var(--accent); background: #fffaf1; padding: 16px; border-radius: 10px; }

.site-footer { margin-top: 70px; padding: 48px 0 20px; background: var(--brand); color: #e9efe9; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin: 7px 0; }
.footer-note { color: #cbd6cf; font-size: .9rem; max-width: 42ch; }
.affiliate-disclosure { color: #fff; font-weight: 700; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }

@media (max-width: 860px) {
    .hero-grid, .article-layout { grid-template-columns: 1fr; }
    .grid { grid-template-columns: 1fr 1fr; }
    .trust-grid, .privacy-check { grid-template-columns: 1fr; }
    .article-box { position: static; }
    .nav-toggle { display: inline-flex; }
    .main-nav ul { display: none; position: absolute; left: 16px; right: 16px; top: 68px; background: white; border: 1px solid var(--border); border-radius: 14px; padding: 18px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
    .main-nav ul.is-open { display: flex; }
    .brand { flex-basis: 285px; min-width: 190px; }
}
@media (max-width: 580px) {
    .grid, .grid-two, .decision-grid, .choice-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 50px; }
    h1 { font-size: 2.45rem; }
    .article { padding: 24px 20px; }
    .header-inner { min-height: 68px; }
    .brand { flex-basis: 230px; min-width: 170px; }
}

/* Product data comparison */
.product-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; margin-bottom: 28px; }
.product-method { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface-soft); }
.product-method h2 { font-size: 1.25rem; margin-bottom: 10px; }
.product-method p:last-child { margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.product-grid.product-grid-single { grid-template-columns: 1fr; }
.product-card { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-visual { position: relative; padding: 18px; background: var(--surface-soft); border-bottom: 1px solid var(--border); }
.product-visual img { width: 100%; max-height: 280px; object-fit: contain; }
.product-visual span { position: absolute; left: 26px; bottom: 24px; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--muted); font-size: .74rem; font-weight: 700; }
.product-content { padding: 26px; }
.product-content h2 { font-size: 1.55rem; margin-bottom: 12px; }
.product-content h3 { font-size: 1rem; margin: 22px 0 10px; }
.product-maker { margin: 14px 0 6px; color: var(--muted); font-size: .88rem; font-weight: 700; }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.product-badges span { padding: 6px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .76rem; font-weight: 800; }
.product-badges span:last-child { background: var(--accent-soft); color: #7b4d14; }
.product-specs { margin: 22px 0 0; border-top: 1px solid var(--border); }
.product-specs div { display: grid; grid-template-columns: minmax(110px, .75fr) 1.6fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.product-specs dt { font-weight: 800; }
.product-specs dd { margin: 0; color: var(--muted); }
.product-facts { margin: 0; padding-left: 20px; }
.product-facts li { margin: 7px 0; }
.product-note { margin-top: 20px; padding: 16px; border-radius: 11px; background: #f7f8f6; border-left: 4px solid var(--brand); color: var(--muted); }
.product-note strong { color: var(--text); }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.product-source { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.product-disclosure { margin: 0 0 30px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-small); background: white; }
.product-disclosure strong { display: block; margin-bottom: 5px; }
.comparison-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.comparison-summary div { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface-soft); }
.comparison-summary strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.data-chip { display: inline-flex; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .72rem; font-weight: 800; vertical-align: middle; }

@media (max-width: 860px) {
    .product-intro, .product-grid { grid-template-columns: 1fr; }
    .comparison-summary { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .product-specs div { grid-template-columns: 1fr; gap: 3px; }
    .product-content { padding: 22px 18px; }
    .product-visual span { position: static; display: inline-flex; margin-top: 10px; }
}


/* SEO/Legal release 4 */
.legal-copy address { font-style: normal; line-height: 1.75; padding: 18px 20px; border-radius: 12px; background: var(--surface-soft); border: 1px solid var(--border); }
.legal-copy h2 { scroll-margin-top: 110px; }
.legal-copy code { overflow-wrap: anywhere; }
.affiliate-callout { padding: 22px; border-radius: 14px; background: var(--accent-soft); border: 1px solid #e4c58f; font-size: 1.08rem; }
.status-card, .contact-box { margin-top: 28px; padding: 20px; border-radius: 14px; background: var(--brand-soft); border: 1px solid var(--border); }
.status-card strong, .status-card span { display: block; }
.status-card span { margin-top: 6px; color: var(--muted); }
.contact-card { max-width: 760px; }
.contact-email { font-size: clamp(1.2rem, 4vw, 1.8rem); font-weight: 850; overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: #cbd6cf; font-size: .86rem; }

/* Release 5: multilingual navigation and editorial lists */
.language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-decoration: none;
}
.numbered-list { counter-reset: article-step; list-style: none; padding: 0; }
.numbered-list > li { counter-increment: article-step; position: relative; padding: 0 0 24px 58px; margin: 0 0 24px; border-bottom: 1px solid var(--border); }
.numbered-list > li::before { content: counter(article-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: white; font-weight: 850; }
.numbered-list h2 { margin-top: 0; font-size: 1.35rem; }
@media (max-width: 860px) { .language-link { width: fit-content; } }

/* Release 5.1: finder product recommendation */
.finder-product { margin: 24px 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-small); background: #fff; }
.finder-product h3 { margin: 7px 0 10px; font-size: 1.3rem; }
.finder-product .button { margin-top: 6px; }
.finder-product-note { color: var(--muted); font-size: .9rem; }
.finder-product small { display: block; margin-top: 10px; color: var(--muted); }

/* Release 5.3: homepage redesign */
.site-header {
    border-bottom-color: #e2e8e5;
    box-shadow: 0 4px 22px rgba(7, 35, 56, .045);
}
.header-inner { min-height: 74px; gap: 18px; }
.brand { flex-basis: 258px; min-width: 205px; }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.brand img { width: 100%; max-width: 258px; }
.brand-tagline { margin: -1px 0 0 48px; color: #456056; font-size: .67rem; font-weight: 750; letter-spacing: .015em; }
.main-nav ul { gap: 15px; }
.main-nav a { font-size: .9rem; color: #173148; }
.main-nav a:hover { color: #0d6449; }
.language-link { min-width: 38px; padding: 6px 8px; }

.home-page {
    background: #fff;
    color: #122c43;
    overflow: hidden;
}
.home-page .container { width: min(1240px, calc(100% - 40px)); }
.home-page .eyebrow { color: #0b6a4d; }
.home-page h1,
.home-page h2,
.home-page h3 { color: #102b43; }
.home-page .button {
    border-radius: 7px;
    background: #0e5d42;
    box-shadow: 0 7px 16px rgba(14, 93, 66, .12);
}
.home-page .button:hover { background: #0a4632; }
.home-page .button-secondary {
    background: #fff;
    color: #173148;
    border-color: #afbdc5;
    box-shadow: none;
}
.home-page .button-secondary:hover { background: #f3f7f5; color: #0b5d43; border-color: #0b5d43; }

.home-hero {
    padding: 66px 0 58px;
    background:
        radial-gradient(circle at 85% 8%, rgba(209, 235, 244, .72), transparent 30%),
        linear-gradient(120deg, #fff 0%, #fbfdfc 48%, #eef7f8 100%);
    border-bottom: 1px solid #e2e9e6;
}
.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}
.home-hero-copy h1 {
    max-width: 12.5ch;
    margin: 10px 0 22px;
    font-size: clamp(2.75rem, 4.8vw, 4.65rem);
    letter-spacing: -.045em;
}
.home-hero-copy .lead { max-width: 58ch; color: #506574; font-size: 1.13rem; line-height: 1.72; }
.home-check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.home-check-list li { position: relative; padding-left: 31px; font-weight: 650; color: #284657; }
.home-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .12em;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0e6447;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
}
.home-hero-visual {
    position: relative;
    padding: 24px 24px 18px;
    border: 1px solid rgba(164, 185, 190, .55);
    border-radius: 20px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 28px 70px rgba(15, 50, 69, .12);
}
.home-visual-heading { text-align: center; margin-bottom: 6px; }
.home-visual-heading h2 { margin: 4px auto 0; max-width: 26ch; font-size: clamp(1.45rem, 2.3vw, 2rem); }
.home-visual-kicker { color: #0b694d; font-size: .78rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.home-hero-visual picture { display: block; margin: 8px -5px 0; }
.home-hero-visual img { width: 100%; }
.home-decision-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: -5px; }
.home-decision-row div { padding: 12px 10px; text-align: center; border: 1px solid #d9e2df; border-radius: 10px; background: #fff; box-shadow: 0 7px 22px rgba(14, 48, 63, .06); }
.home-decision-row strong,
.home-decision-row span { display: block; }
.home-decision-row strong { color: #123249; font-size: .82rem; text-transform: uppercase; letter-spacing: .035em; }
.home-decision-row span { margin-top: 3px; color: #5a6c77; font-size: .77rem; }

.home-benefits { position: relative; z-index: 2; padding: 0 0 18px; background: #fff; }
.home-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -1px;
    padding: 24px 26px;
    border: 1px solid #e0e6e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(19, 50, 66, .06);
}
.home-benefit-item { display: grid; grid-template-columns: 48px 1fr; gap: 13px; align-items: center; min-height: 104px; padding: 3px 22px; border-right: 1px solid #e5eae8; }
.home-benefit-item:first-child { padding-left: 0; }
.home-benefit-item:last-child { padding-right: 0; border-right: 0; }
.home-benefit-item strong,
.home-benefit-item span { display: block; }
.home-benefit-item strong { margin: 0 0 5px; color: #173148; font-size: .96rem; line-height: 1.35; }
.home-benefit-item div > span { color: #60717b; font-size: .82rem; line-height: 1.5; }
.home-benefit-item > div { align-self: center; }
.home-icon,
.home-usecase-icon,
.home-source-icon { display: grid; place-items: center; color: #0e6548; }
.home-icon { width: 43px; height: 43px; border-radius: 50%; background: #f1f7f4; border: 1px solid #d7e5df; }
.home-icon svg,
.home-usecase-icon svg,
.home-source-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.home-section { padding: 58px 0; }
.home-section:nth-of-type(even) { background: #f8faf9; }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 25px; }
.home-section-heading h2 { margin: 4px 0 0; font-size: clamp(1.75rem, 2.7vw, 2.55rem); }
.home-section-heading p { max-width: 72ch; margin: 11px 0 0; color: #60717b; }
.home-all-link,
.home-text-link { color: #173b55; font-weight: 800; text-decoration: none; white-space: nowrap; }
.home-all-link::after,
.home-text-link::after { content: " →"; }
.home-all-link:hover,
.home-text-link:hover { color: #0b674a; }

.home-guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-guide-card { overflow: hidden; border: 1px solid #dfe5e3; border-radius: 10px; background: #fff; box-shadow: 0 8px 28px rgba(20, 48, 63, .045); transition: transform .2s ease, box-shadow .2s ease; }
.home-guide-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20, 48, 63, .09); }
.home-guide-image { display: block; height: 185px; padding: 12px; background: #eef3f1; border-bottom: 1px solid #e1e7e4; }
.home-guide-image img { width: 100%; height: 100%; object-fit: contain; }
.home-guide-content { padding: 20px; }
.home-card-label { display: inline-block; margin-bottom: 9px; color: #0a6749; font-size: .72rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.home-guide-content h3 { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.35; }
.home-guide-content h3 a { color: inherit; text-decoration: none; }
.home-guide-content p { min-height: 4.6em; margin: 0 0 16px; color: #60717b; font-size: .91rem; line-height: 1.58; }
.home-text-link { font-size: .87rem; }

.home-products-section { background: #f7faf8 !important; }
.home-product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.home-product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #dce4e1; border-radius: 10px; background: #fff; box-shadow: 0 8px 26px rgba(17, 49, 64, .045); }
.home-product-image { height: 185px; padding: 17px 14px 10px; background: linear-gradient(180deg, #f5f8f6, #fff); border-radius: 10px 10px 0 0; }
.home-product-image img { width: 100%; height: 100%; object-fit: contain; }
.home-product-body { display: flex; flex: 1; flex-direction: column; padding: 17px; }
.home-product-body h3 { min-height: 3.9em; margin: 0 0 10px; font-size: .98rem; line-height: 1.3; }
.home-product-body ul { margin: 0 0 17px; padding-left: 17px; color: #5d6f79; font-size: .78rem; line-height: 1.52; }
.home-product-body li + li { margin-top: 4px; }
.home-amazon-button { width: 100%; margin-top: auto; padding: 10px 11px !important; font-size: .82rem; text-align: center; }
.home-product-body small { display: block; margin-top: 8px; color: #73818a; font-size: .68rem; line-height: 1.4; }
.home-product-footnote { margin: 17px 0 0; color: #6b7a83; font-size: .78rem; }

.home-usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.home-usecase-card { display: flex; flex-direction: column; align-items: center; min-height: 195px; padding: 26px 20px; text-align: center; text-decoration: none; border: 1px solid #dfe6e3; border-radius: 11px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.home-usecase-card:hover { color: #102b43; border-color: #82ab9b; transform: translateY(-2px); }
.home-usecase-icon { width: 67px; height: 67px; margin-bottom: 15px; border: 1px solid #d5e3de; border-radius: 50%; background: #f5faf7; }
.home-usecase-icon svg { width: 34px; height: 34px; color: #0c536c; }
.home-usecase-card strong { color: #153149; font-size: 1.02rem; }
.home-usecase-card > span:last-child { margin-top: 7px; color: #60717b; font-size: .84rem; line-height: 1.5; }

.home-source-band { padding: 34px 0; background: #eef5f2; border-top: 1px solid #dbe6e1; border-bottom: 1px solid #dbe6e1; }
.home-source-inner { display: grid; grid-template-columns: 62px 1fr auto; gap: 20px; align-items: center; }
.home-source-icon { width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 1px solid #cfe0d8; }
.home-source-icon svg { width: 33px; height: 33px; }
.home-source-inner strong { color: #15334b; font-size: 1.04rem; }
.home-source-inner p { margin: 5px 0 0; color: #5d707a; font-size: .91rem; }

@media (max-width: 1120px) {
    .home-hero-grid { grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); gap: 35px; }
    .home-product-grid { grid-template-columns: repeat(3, 1fr); }
    .home-benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .home-benefit-item { border-right: 0; border-bottom: 1px solid #e5eae8; padding: 18px; }
    .home-benefit-item:nth-child(odd) { border-right: 1px solid #e5eae8; }
    .home-benefit-item:nth-last-child(-n+2) { border-bottom: 0; }
    .home-benefit-item:first-child { padding-left: 18px; }
    .home-benefit-item:last-child { padding-right: 18px; }
    .main-nav ul { gap: 11px; }
    .main-nav a { font-size: .82rem; }
    .brand { flex-basis: 225px; min-width: 190px; }
    .brand img { max-width: 225px; }
    .brand-tagline { margin-left: 42px; font-size: .62rem; }
}

@media (max-width: 900px) {
    .home-hero { padding-top: 48px; }
    .home-hero-grid { grid-template-columns: 1fr; }
    .home-hero-copy h1 { max-width: 14ch; }
    .home-guide-grid, .home-usecase-grid { grid-template-columns: repeat(2, 1fr); }
    .home-source-inner { grid-template-columns: 58px 1fr; }
    .home-source-inner .button { grid-column: 2; justify-self: start; }
    .brand-tagline { display: none; }
}

@media (max-width: 680px) {
    .home-page .container { width: min(100% - 28px, 1240px); }
    .home-hero { padding: 38px 0 38px; }
    .home-hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
    .home-hero-copy .lead { font-size: 1rem; }
    .home-hero-visual { padding: 18px 14px 14px; border-radius: 14px; }
    .home-decision-row { grid-template-columns: 1fr; margin-top: 5px; }
    .home-decision-row div { display: grid; grid-template-columns: .7fr 1.3fr; text-align: left; align-items: center; }
    .home-decision-row span { margin: 0; }
    .home-benefit-grid { grid-template-columns: 1fr; padding: 7px 18px; }
    .home-benefit-item,
    .home-benefit-item:nth-child(odd) { border-right: 0; border-bottom: 1px solid #e5eae8; padding: 17px 0; }
    .home-benefit-item:last-child { border-bottom: 0; padding-right: 0; }
    .home-benefit-item:first-child { padding-left: 0; }
    .home-section { padding: 43px 0; }
    .home-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .home-guide-grid, .home-product-grid, .home-usecase-grid { grid-template-columns: 1fr; }
    .home-guide-image { height: 210px; }
    .home-guide-content p { min-height: 0; }
    .home-product-card { display: grid; grid-template-columns: 140px 1fr; }
    .home-product-image { height: 100%; min-height: 235px; border-radius: 10px 0 0 10px; }
    .home-product-body h3 { min-height: 0; }
    .home-source-inner { grid-template-columns: 1fr; text-align: left; }
    .home-source-inner .button { grid-column: auto; }
    .home-source-icon { width: 52px; height: 52px; }
}

@media (max-width: 440px) {
    .home-product-card { grid-template-columns: 1fr; }
    .home-product-image { height: 180px; min-height: 0; border-radius: 10px 10px 0 0; }
    .home-hero-copy .hero-actions { flex-direction: column; }
    .home-hero-copy .button { width: 100%; }
}

/* Release 5.3: expanded footer */
.site-footer { margin-top: 0; padding-top: 52px; background: linear-gradient(135deg, #0a2e45 0%, #0b2034 100%); }
.site-footer .container { width: min(1240px, calc(100% - 40px)); }
.footer-grid { grid-template-columns: 1.55fr repeat(4, 1fr); gap: 35px; }
.footer-grid > div > strong { display: block; margin-bottom: 13px; color: #fff; font-size: .88rem; letter-spacing: .02em; }
.footer-grid p { color: #c7d6dd; font-size: .88rem; line-height: 1.6; }
.footer-grid ul { margin: 0; }
.footer-grid li { margin: 6px 0; }
.footer-grid a { color: #d9e5ea; font-size: .82rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand-block > strong { font-size: 1.06rem !important; }
.footer-bottom { color: #b9cad2; font-size: .77rem; }
.footer-bottom a { color: #fff; font-weight: 800; text-decoration: none; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand-block { grid-column: 1 / -1; } }
@media (max-width: 680px) { .site-footer .container { width: min(100% - 28px, 1240px); } .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }

/* v5.4 multi-brand comparison */
.finder-product-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.finder-product-option{padding:1rem;border:1px solid var(--border,#d9e0dc);border-radius:14px;background:#fff}.finder-product-option h3{margin:.25rem 0 .5rem}.finder-product-maker{display:inline-block;font-size:.82rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:var(--accent,#315a45)}.brand-compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.brand-compare-grid .card{height:100%}.comparison-table-note{font-size:.92rem;color:var(--muted,#5b665f);margin-top:.8rem}@media(max-width:760px){.finder-product-options,.brand-compare-grid{grid-template-columns:1fr}}


/* Release 5.5: unified homepage/subpage design */
.subpage {
    --page-blue: #102b43;
    --page-green: #0e6548;
    --page-green-dark: #0a4e38;
    --page-muted: #5d707c;
    --page-line: #dfe7e4;
    --page-soft: #f4f8f6;
    background: #fff;
    color: #173148;
}
.subpage .container { width: min(1240px, calc(100% - 40px)); }
.subpage .button { border-radius: 7px; background: var(--page-green); box-shadow: 0 7px 16px rgba(14,93,66,.10); }
.subpage .button:hover { background: var(--page-green-dark); }
.subpage .button-secondary { background: #fff; color: var(--page-blue); border-color: #b9c5ca; box-shadow: none; }
.subpage .button-secondary:hover { background: #f3f7f5; color: var(--page-green); border-color: var(--page-green); }

.subpage .page-header {
    padding: 38px 0 46px;
    background:
        radial-gradient(circle at 86% 10%, rgba(211,236,243,.72), transparent 31%),
        linear-gradient(120deg, #fff 0%, #fbfdfc 50%, #eef7f8 100%);
    border-bottom: 1px solid #e2e9e6;
}
.subpage .breadcrumbs { margin-bottom: 25px; font-size: .82rem; }
.subpage .breadcrumbs ol { color: #70818a; }
.subpage .breadcrumbs a { color: #526a77; text-decoration: none; font-weight: 650; }
.subpage .breadcrumbs a:hover { color: var(--page-green); }
.subpage .eyebrow { color: var(--page-green); }
.subpage .page-header h1 {
    max-width: 21ch;
    margin: 8px 0 17px;
    color: var(--page-blue);
    font-size: clamp(2.45rem, 4.4vw, 4.15rem);
    letter-spacing: -.045em;
}
.subpage .page-header .lead { max-width: 72ch; margin: 0; color: #526a78; font-size: 1.12rem; line-height: 1.72; }
.subpage .article-meta { margin: 19px 0 0; }
.subpage .article-meta-compact { gap: 0; color: #607581; font-size: .79rem; font-weight: 700; }
.subpage .article-meta-compact span::before { width: 17px; height: 17px; margin-right: 2px; border: 1px solid #bcd3ca; background: #eef7f3; content: "◷"; color: var(--page-green); font-size: .62rem; line-height: 15px; text-align: center; }

.subpage > main > .section { padding: 48px 0 72px; background: #fff; }
.subpage > main > .section:nth-of-type(even):not(.section-tight) { background: #fbfcfc; }
.subpage .article-layout { grid-template-columns: minmax(0, 870px) minmax(250px, 300px); gap: 32px; justify-content: center; }
.subpage .article {
    padding: clamp(27px, 4vw, 50px);
    color: #273f4d;
    border: 1px solid var(--page-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(18,49,67,.055);
}
.subpage .article p, .subpage .article li { max-width: 76ch; }
.subpage .article p { color: #405965; }
.subpage .article h2 { margin-top: 48px; color: var(--page-blue); font-size: clamp(1.55rem, 2.35vw, 2.05rem); letter-spacing: -.025em; }
.subpage .article h3 { color: #183a50; font-size: 1.15rem; }
.subpage .article a { color: #0b654a; font-weight: 750; }
.subpage .article a:hover { color: #083f30; }

.subpage .quick-answer {
    margin: 0 0 31px;
    padding: 20px 22px;
    color: #173b4c;
    border: 1px solid #cde0d8;
    border-left: 5px solid var(--page-green);
    border-radius: 9px;
    background: #f0f7f4;
    box-shadow: none;
}
.subpage .quick-answer strong { color: #0b5d43; }
.subpage .notice { padding: 18px 20px; border-left-color: var(--page-green); border-radius: 8px; background: #f3f8f6; color: #35515f; }
.subpage .notice-neutral { border-left-color: #31556b; background: #f3f7f9; }
.subpage .notice-danger { border-left-color: #9b3b2d; background: #fff4f2; }

.subpage .article-figure {
    display: grid;
    justify-items: center;
    margin: 32px 0 39px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #dde6e2;
    border-radius: 11px;
    background: linear-gradient(180deg, #f5f9f7 0%, #fff 100%);
}
.subpage .article-figure img { width: min(100%, 720px); margin-inline: auto; object-fit: contain; }
.subpage .article-figure figcaption { width: min(100%, 720px); margin: 12px auto 0; color: #657983; text-align: center; font-size: .84rem; }

.subpage .table-wrap { margin: 27px 0; overflow: hidden; overflow-x: auto; border: 1px solid #dce5e2; border-radius: 10px; box-shadow: 0 7px 22px rgba(18,49,67,.035); }
.subpage table { min-width: 640px; border: 0; }
.subpage th, .subpage td { padding: 14px 15px; border: 0; border-bottom: 1px solid #e4eae7; }
.subpage th { color: #fff; background: #12384f; font-size: .82rem; letter-spacing: .012em; }
.subpage td { color: #405865; background: #fff; }
.subpage tbody tr:last-child td { border-bottom: 0; }
.subpage tbody tr:nth-child(even) td { background: #fafcfc; }

.subpage .decision-grid { gap: 14px; }
.subpage .decision-card { padding: 21px; border-color: #dce6e2; border-radius: 10px; background: #f8fbfa; }
.subpage .decision-card h3 { margin-bottom: 8px; color: #16384d; }
.subpage .checklist li { margin: 12px 0; padding-left: 31px; }
.subpage .checklist li::before { background: #e8f4ef; color: var(--page-green); }

.subpage .article-box {
    padding: 22px;
    border: 1px solid #dce5e2;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(18,49,67,.045);
}
.subpage .article-box h2 { margin: 0 0 14px; color: var(--page-blue); font-size: 1rem; }
.subpage .related-list li + li { margin-top: 0; padding-top: 0; border-top: 0; }
.subpage .related-list a { display: block; padding: 11px 0; color: #24485b; border-top: 1px solid #e6ece9; text-decoration: none; font-size: .88rem; font-weight: 750; line-height: 1.42; }
.subpage .related-list li:first-child a { border-top: 0; }
.subpage .related-list a::after { content: " →"; color: var(--page-green); }
.subpage .related-list a:hover { color: var(--page-green); }

.subpage .source-box { margin-top: 50px; padding: 25px 26px 20px; border: 1px solid #dce6e2; border-radius: 10px; background: #f7faf9; }
.subpage .source-box h2 { margin: 0 0 9px; color: var(--page-blue); font-size: 1.25rem; }
.subpage .source-box > p { margin: 0 0 14px; color: #637983; font-size: .86rem; }
.subpage .source-list { margin: 0; padding-left: 21px; }
.subpage .source-list li { margin: 13px 0; padding-left: 4px; }
.subpage .source-list a { color: #0c6248; font-size: .9rem; }
.subpage .source-list span, .subpage .source-list small { color: #6b7c84; font-size: .78rem; }

.subpage .faq { margin-top: 47px; }
.subpage .faq h2 { margin-bottom: 17px; }
.subpage .faq details { padding: 0; border: 1px solid #dfe7e4; border-radius: 9px; background: #fff; }
.subpage .faq details + details { margin-top: 9px; }
.subpage .faq details:last-child { border-bottom: 1px solid #dfe7e4; }
.subpage .faq summary { padding: 16px 18px; color: #17384d; list-style-position: inside; }
.subpage .faq details p { margin: 0; padding: 0 18px 18px; }

/* Overview and buying-guide cards inherit the homepage language. */
.subpage .grid { gap: 19px; }
.subpage .card, .subpage .product-card, .subpage .finder-panel, .subpage .trust-card {
    border-color: #dfe6e3;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(20,48,63,.045);
}
.subpage .card { padding: 24px; }
.subpage .card h2, .subpage .card h3 { color: var(--page-blue); }
.subpage .card p { color: #60717b; }
.subpage .card-kicker { color: var(--page-green); }
.subpage .card a { color: #173b55; text-decoration: none; }
.subpage .card a:hover { color: var(--page-green); }

.subpage .product-card { overflow: hidden; }
.subpage .product-visual { background: linear-gradient(180deg, #f4f8f6, #fff); border-bottom-color: #e1e8e5; }
.subpage .product-visual img { margin-inline: auto; }
.subpage .product-content h2 { color: var(--page-blue); }
.subpage .product-badges span { background: #eaf4f0; color: #0b5d43; }
.subpage .product-badges span:last-child { background: #f1f5f7; color: #31556b; }
.subpage .product-actions .button { border-radius: 7px; }
.subpage .product-source { color: #71828a; }
.subpage .comparison-summary div { border-color: #dfe7e4; border-radius: 9px; background: #f5f9f7; }
.subpage .brand-compare-grid .card { border-radius: 10px; }

/* Finder visual alignment with the homepage. */
.subpage .finder { padding: 45px 0 72px; background: #f8fbfa; }
.subpage .finder-panel { max-width: 960px; margin-inline: auto; }
.subpage .choice { border-color: #dce5e2; border-radius: 9px; }
.subpage .choice:hover, .subpage .choice.is-selected { border-color: #62a18a; background: #f0f7f4; }
.subpage .result { border: 1px solid #d1e2da; border-radius: 10px; background: #f0f7f4; }

/* Benefit strip: center each icon vertically relative to its text block. */
.home-benefit-item { align-items: center; }
.home-icon { align-self: center; justify-self: center; }
.home-icon svg { display: block; transform: translateZ(0); }

/* Legal pages stay deliberately quiet while sharing typography and spacing. */
.subpage .legal-copy address { background: #f5f9f7; border-color: #dfe7e4; }
.subpage .affiliate-callout { border-color: #d7e5df; background: #f2f8f5; }
.subpage .status-card, .subpage .contact-box { background: #f3f8f6; border-color: #dce6e2; }

@media (max-width: 920px) {
    .subpage .article-layout { grid-template-columns: 1fr; }
    .subpage .article-box { position: static; }
}
@media (max-width: 680px) {
    .subpage .container { width: min(100% - 28px, 1240px); }
    .subpage .page-header { padding: 30px 0 35px; }
    .subpage .page-header h1 { font-size: clamp(2.2rem, 11vw, 3.15rem); }
    .subpage .page-header .lead { font-size: 1rem; }
    .subpage > main > .section { padding: 34px 0 51px; }
    .subpage .article { padding: 24px 19px; }
    .subpage .article h2 { margin-top: 40px; }
    .subpage .article-figure { margin-inline: -5px; padding: 15px 10px; }
    .subpage .source-box { padding: 21px 18px 16px; }
}

/* Release 5.5: quiet visual anchor in subpage headers */
@media (min-width: 921px) {
    .subpage .page-header .container { position: relative; padding-right: 325px; min-height: 178px; }
    .subpage .page-header .container::after {
        content: "";
        position: absolute;
        right: 18px;
        top: 50%;
        width: 238px;
        height: 146px;
        transform: translateY(-50%);
        border: 1px solid rgba(197,215,211,.78);
        border-radius: 18px;
        background: rgba(255,255,255,.72) url('/assets/images/brand/page-mark.webp') center / 118px 118px no-repeat;
        box-shadow: 0 15px 36px rgba(17,49,68,.07);
    }
}


/* Release 6.0: keyboard focus and reduced-motion support */
:focus-visible {
    outline: 3px solid #0b654a;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

.affiliate-search-cta {
    margin: 1.25rem 0 0;
    padding: 1rem 1.1rem;
    border: 1px solid #dce6e2;
    border-radius: 12px;
    background: #f6faf8;
}
.affiliate-search-cta p { margin: 0 0 .85rem; color: #405965; }
.affiliate-search-cta small { display: block; margin-top: .65rem; color: #61747d; }

/* Spacing utilities used instead of inline styles so CSP can remain strict. */
.space-top-md { margin-top: 1.25rem; }
.space-top-lg { margin-top: 1.5rem; }

/* Release 6.0.1: keep CTA labels readable inside article link styling. */
.subpage .article a.button,
.subpage .article a.button:visited {
    color: #fff;
}
.subpage .article a.button:hover,
.subpage .article a.button:focus-visible {
    color: #fff;
}
.subpage .article a.button-secondary,
.subpage .article a.button-secondary:visited {
    color: var(--page-blue);
}
.subpage .article a.button-secondary:hover,
.subpage .article a.button-secondary:focus-visible {
    color: var(--page-green);
}

/* Switch to the compact navigation before the desktop links can become cramped. */
@media (max-width: 1040px) {
    .nav-toggle { display: inline-flex; }
    .main-nav ul {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 68px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow);
    }
    .main-nav ul.is-open { display: flex; }
}
