:root {
    --navy: #102a43;
    --navy-deep: #081c2c;
    --teal: #087f74;
    --teal-dark: #04665d;
    --mint: #dff4ef;
    --sand: #f3ead8;
    --paper: #fffdf8;
    --white: #ffffff;
    --ink: #17212b;
    --muted: #52606d;
    --line: #d9e2ec;
    --warn: #fff6dc;
    --warn-line: #e6b94f;
    --shadow: 0 18px 50px rgba(16, 42, 67, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(8, 127, 116, .10), transparent 29rem),
        linear-gradient(180deg, #f7faf9 0, #f4f1ea 42rem, #f7f5ef 100%);
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    line-height: 1.65;
}
a { color: var(--teal-dark); }
a:hover { text-decoration-thickness: 2px; }
.site-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header .site-shell { width: min(1000px, calc(100% - 32px)); }
.site-header {
    padding: 12px 0 8px;
}
.brand-panel {
    position: relative;
    overflow: hidden;
    background: var(--navy-deep);
    color: var(--white);
    border-radius: 24px;
    padding: 19px 28px 16px;
    box-shadow: var(--shadow);
}
.brand-panel::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -70px;
    top: -145px;
    border: 42px solid rgba(223, 244, 239, .10);
    border-radius: 50%;
}
.brand-row { position: relative; z-index: 1; text-align: center; }
.eyebrow {
    margin: 0 0 7px;
    color: #8fe0d6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.brand { margin: 0; color: var(--sand); font-family: "Sora", "Manrope", sans-serif; font-size: clamp(32px, 6vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.brand.long-brand { font-size: clamp(26px, 4.6vw, 43px); }
.brand.extra-long-brand { font-size: clamp(21px, 4vw, 37px); }
.brand span { color: #77d4c9; }
.tagline { max-width: 580px; margin: 7px auto 0; color: #d9e6ee; font-size: 13px; text-align: center; }
.header-note { max-width: 280px; margin: 0 0 4px; color: #b9c9d6; font-size: 12px; text-align: right; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 15px; position: relative; z-index: 1; }
.main-nav a {
    color: var(--white);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.main-nav a:first-child { background: var(--teal); border-color: var(--teal); }
.main-nav a:hover { background: rgba(255,255,255,.10); }
.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 10px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.trust-strip div { background: var(--paper); padding: 11px 14px; font-size: 12px; color: var(--muted); text-align: center; }
.trust-strip strong { color: var(--navy); }
main { display: block; }
.ranking-disclosure {
    width: min(1000px, calc(100% - 32px));
    margin: 0 auto 8px;
    padding: 7px 12px;
    border: 1px solid rgba(217, 226, 236, .9);
    border-radius: 10px;
    background: rgba(255, 253, 248, .78);
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.45;
    text-align: center;
}
.panel {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 18px;
    padding: 30px;
    background: rgba(255, 253, 248, .96);
    border: 1px solid rgba(217, 226, 236, .9);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.ranking-panel { width: min(1000px, calc(100% - 32px)); padding: 0 20px; overflow: hidden; }
#ranking { scroll-margin-top: 12px; }
.ranking-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 15px 10px 8px; }
.ranking-heading h2 { margin: 0; font-family: "Lora", serif; font-size: 25px; color: var(--navy); }
.ranking-heading p { margin: 0; max-width: 520px; color: var(--muted); font-size: 12px; text-align: right; }
#ls-mount { min-height: 80px; font-size: 16px; }
.ranking-help { display: none; width: min(1120px, calc(100% - 32px)); margin: -9px auto 18px; }
.ranking-help-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px; background: #eaf6f4; border: 1px solid #b8ddd7; border-radius: 14px; font-size: 12px; }
.button-row { display: flex; gap: 8px; }
button, .button {
    border: 0;
    border-radius: 999px;
    padding: 10px 15px;
    background: var(--teal);
    color: white;
    font: 800 12px "Manrope", sans-serif;
    cursor: pointer;
    text-decoration: none;
}
button.secondary { background: var(--white); color: var(--teal-dark); border: 1px solid #a8d5cf; }
.section-kicker { margin: 0 0 7px; color: var(--teal-dark); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); }
.section-title { margin: 0; font-family: "Lora", serif; font-size: clamp(27px, 4vw, 39px); line-height: 1.2; letter-spacing: -.025em; }
.section-lead { max-width: 800px; margin: 10px 0 24px; color: var(--muted); font-size: 15px; }
.decision-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: decision; }
.decision-card { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 17px; }
.decision-card::before { counter-increment: decision; content: "0" counter(decision); display: block; margin-bottom: 18px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.decision-card h3 { margin: 0 0 7px; font-size: 15px; }
.decision-card p { margin: 0; color: var(--muted); font-size: 13px; }
.compare-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th, .compare-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { color: var(--navy); background: #edf7f5; }
.compare-table td:first-child { font-weight: 800; color: var(--navy); }
.editorial-note { padding: 22px; background: var(--navy); color: #e6eef4; border-radius: 18px; }
.editorial-note h3 { margin-top: 0; color: var(--white); font-family: "Lora", serif; font-size: 22px; }
.editorial-note p { font-size: 13px; }
.editorial-note a { color: #9ce1d8; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.article-card { display: flex; min-height: 220px; flex-direction: column; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16,42,67,.10); }
.article-card .label { color: var(--teal-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-card h3 { margin: 13px 0 8px; font-family: "Lora", serif; font-size: 20px; line-height: 1.25; }
.article-card p { margin: 0; color: var(--muted); font-size: 13px; }
.article-card .read { margin-top: auto; padding-top: 20px; color: var(--teal-dark); font-size: 12px; font-weight: 800; }
.warning-box { margin-top: 20px; padding: 18px 20px; background: var(--warn); border-left: 4px solid var(--warn-line); border-radius: 5px 15px 15px 5px; font-size: 13px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.method-item { padding: 18px; border-top: 3px solid var(--teal); background: var(--white); border-radius: 4px 4px 15px 15px; }
.method-item strong { display: block; color: var(--navy); }
.method-item span { color: var(--muted); font-size: 13px; }
.faq-list details { border-top: 1px solid var(--line); padding: 15px 3px; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { color: var(--navy); font-weight: 800; cursor: pointer; }
.faq-list p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.article-hero { padding-top: 16px; }
.article-hero .brand-panel { padding-bottom: 26px; }
.breadcrumbs { margin: 0 0 15px; color: #b9c9d6; font-size: 12px; }
.breadcrumbs a { color: #8fe0d6; }
.article-title { max-width: 800px; margin: 0; color: white; font: 700 clamp(31px, 5vw, 50px)/1.13 "Lora", serif; letter-spacing: -.03em; }
.article-intro { max-width: 760px; margin: 13px 0 0; color: #d9e6ee; font-size: 15px; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 30px; }
.toc { position: sticky; top: 15px; align-self: start; padding: 18px; background: #edf7f5; border-radius: 15px; }
.toc strong { display: block; margin-bottom: 8px; color: var(--navy); }
.toc a { display: block; margin: 7px 0; font-size: 12px; }
.prose { max-width: 760px; }
.prose h2 { margin: 34px 0 10px; font: 700 28px/1.25 "Lora", serif; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 25px 0 8px; font-size: 17px; }
.prose p, .prose li { color: #344554; font-size: 15px; }
.prose li { margin: 8px 0; }
.source-box { margin-top: 28px; padding: 17px 19px; background: #f3f6f8; border-radius: 14px; font-size: 12px; }
.source-box strong { color: var(--navy); }
.legal-list { padding-left: 20px; }
.site-footer { margin-top: 25px; padding: 38px 0 32px; background: var(--navy-deep); color: #c8d5df; }
.footer-grid { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(520px, 1.35fr); gap: 72px; align-items: start; }
.footer-brand-block { padding-right: 12px; }
.footer-brand-lockup { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 48px; height: 48px; flex: 0 0 48px; padding: 5px; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: rgba(255,255,255,.07); }
.footer-brand { color: var(--white); font: 700 25px "Lora", serif; }
.footer-description { max-width: 360px; margin: 15px 0 0; color: #b8c8d4; font-size: 12px; line-height: 1.75; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; padding: 3px 0 4px 34px; border-left: 1px solid rgba(255,255,255,.13); }
.footer-nav h3 { margin: 0 0 12px; color: var(--white); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.footer-nav a { display: block; width: fit-content; margin: 8px 0; color: #c8d5df; font-size: 12px; text-underline-offset: 3px; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.13); color: #93a6b5; font-size: 11px; }
.footer-bottom a { color: #c8d5df; }
.partner-sites {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
    padding-top: 23px;
    border-top: 1px solid rgba(255,255,255,.13);
    text-align: center;
}
.partner-site strong { display: block; margin-bottom: 3px; color: var(--white); font-size: 13px; }
.partner-site a { color: #dce8ef; font-size: 12px; word-break: break-word; }
.to-top { position: fixed; right: 16px; bottom: 12px; width: auto; height: 46px; padding: 0 18px; border: 1px solid #d9e2ec; border-radius: 999px; background: var(--white); color: var(--navy-deep); font-size: 13px; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s; box-shadow: 0 8px 24px rgba(8,28,44,.18); z-index: 20; }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 900px) {
    .decision-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid, .method-grid { grid-template-columns: repeat(2, 1fr); }
    .compare-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-nav { padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.13); border-left: 0; }
    .partner-sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .site-shell, .panel, .ranking-help, .ranking-disclosure { width: calc(100% - 8px); }
    .site-header .site-shell { width: calc(100% - 8px); }
    .site-header { padding: 4px 0 8px; }
    .brand-panel { border-radius: 9px; padding: 14px 12px 11px; }
    .brand-row { display: block; }
    .header-note { display: none; }
    .tagline { font-size: 12px; }
    .main-nav { gap: 5px; margin-top: 11px; }
    .main-nav a { padding: 7px 10px; font-size: 11px; }
    .trust-strip { grid-template-columns: 1fr; }
    .trust-strip div { padding: 7px 9px; }
    .ranking-disclosure { margin-bottom: 5px; padding: 6px 9px; border-radius: 8px; font-size: 10.5px; line-height: 1.35; }
    .panel { margin-bottom: 8px; padding: 20px 14px; border-radius: 9px; box-shadow: none; }
    .ranking-panel { padding: 4px 2px 0; }
    #ls-mount, #ls-mount * { font-size: 18px !important; }
    .ranking-heading { padding: 10px 9px 5px; }
    .ranking-heading h2 { font-size: 19px; }
    .ranking-heading p { display: none; }
    .ranking-help { display: block; }
    .ranking-help-inner { align-items: stretch; flex-direction: column; }
    .button-row button { flex: 1; }
    .decision-grid, .article-grid, .method-grid { grid-template-columns: 1fr; }
    .decision-card { padding: 15px; }
    .article-card { min-height: 180px; }
    .compare-table th, .compare-table td { padding: 10px 7px; font-size: 11px; }
    .article-layout { grid-template-columns: 1fr; gap: 20px; }
    .toc { position: static; }
    .site-footer { padding: 28px 0 25px; }
    .footer-grid { gap: 22px; }
    .footer-logo { width: 43px; height: 43px; flex-basis: 43px; }
    .footer-brand { font-size: 22px; }
    .footer-description { margin-top: 12px; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
    .partner-sites { grid-template-columns: 1fr; gap: 14px; }
    .to-top { right: 10px; bottom: 10px; height: 42px; padding: 0 15px; }
}
