* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f8fafc;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-name {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.15;
    text-decoration: none;
    display: inline-block;
}

a.logo-name:hover,
a.logo-name:focus {
    color: #0f172a;
}

.tagline {
    font-size: 15px;
    color: #64748b;
    margin-top: 2px;
}

nav a {
    margin-left: 24px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 16px;
}

nav a.active,
nav a:hover {
    color: #2563eb;
}

.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    pointer-events: none;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(30, 64, 175, 0.75), rgba(59, 130, 246, 0.75));
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Topic H1 keeps the old hero H2 look */
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 28px;
    opacity: 0.95;
    color: #fff;
}

.page-header {
    background: #1e293b;
    color: white;
    padding: 50px 0;
    text-align: center;
}

/* Topic H1 on inner pages keeps the previous page-header H2 look */
.page-header h1 {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.page-header p {
    color: #e2e8f0;
    font-size: 18px;
    opacity: 1;
}

.content {
    padding: 60px 0;
}

/* Former H3 section titles, now H2 */
.content h2,
.cta-box h2,
.product-box h2,
.order-form h2,
.contact-info h2,
.contact-form h2 {
    font-size: 28px;
    margin: 32px 0 16px;
    color: #0f172a;
}

/* Former H4 card titles, now H3 */
.card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

p {
    font-size: 17px;
    margin-bottom: 16px;
    color: #334155;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 24px 0 40px;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.card picture,
.card-img {
    display: block;
    width: 100%;
}

.card-img {
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.cover-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
    display: block;
}

.warning-list {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 20px 20px 20px 40px;
    margin: 20px 0;
    border-radius: 8px;
}

.warning-list li {
    margin-bottom: 8px;
    font-size: 16px;
}

.disclaimer {
    font-size: 14px;
    color: #475569; /* 6.92:1 on #f1f5f9, was 4.34:1 */
    background: #f1f5f9;
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
}

.disclaimer strong {
    color: #475569;
}

.cta-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin-top: 48px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover {
    background: #1d4ed8;
}

.order-container,
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-box,
.order-form,
.contact-info,
.contact-form {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: #2563eb;
    margin: 12px 0;
}

.product-box ul {
    margin: 16px 0 20px 20px;
}

.product-box li {
    margin-bottom: 8px;
}

form label {
    display: block;
    font-weight: 600;
    margin: 16px 0 6px;
    font-size: 15px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.small-note {
    font-size: 14px;
    color: #64748b;
    margin-top: 12px;
}

footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
    font-size: 14px;
}

footer p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 16px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .order-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    nav a {
        margin: 0 12px;
    }
}

/* Article pages and shared footer / related guides */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 16px;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.article-meta {
    font-size: 15px;
    color: #64748b;
    margin: 0 auto 24px;
    max-width: 760px;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 28px;
    margin: 32px 0 16px;
    color: #0f172a;
}

.article-body h3 {
    font-size: 20px;
    margin: 24px 0 10px;
    color: #0f172a;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 1.25rem;
}

.article-body li {
    margin-bottom: 8px;
    font-size: 17px;
    color: #334155;
}

.sources {
    margin-top: 40px;
    padding-top: 8px;
}

.sources h2 {
    font-size: 22px;
}

.sources ol {
    margin-left: 1.25rem;
}

.sources li {
    font-size: 15px;
    margin-bottom: 8px;
    color: #475569;
}

.sources a {
    color: #1d4ed8;
}

.related-guides {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 40px 0 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.related-guides h2 {
    font-size: 22px;
    margin: 0 0 12px;
    color: #0f172a;
}

.related-guides ul {
    margin: 0 0 0 1.2rem;
}

.related-guides li {
    margin-bottom: 8px;
    font-size: 17px;
}

.related-guides a {
    color: #1d4ed8;
}

.eeat-note {
    font-size: 14px;
    color: #475569;
    margin: 0 0 20px;
}

@media (max-width: 768px) {
    .footer-nav {
        gap: 8px 14px;
    }
}

/* ===== Sales-page, checkout, sticky buy bar (v=4) ===== */
.skip-link {
    position: absolute;
    left: 8px;
    top: -40px;
    background: #0f172a;
    color: #fff;
    padding: 8px 12px;
    z-index: 100;
    border-radius: 4px;
}
.skip-link:focus {
    top: 8px;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px 0;
}

a.nav-buy {
    margin-left: 16px;
    background: #2563eb;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
}
a.nav-buy:hover,
a.nav-buy.active {
    background: #1d4ed8;
    color: #fff;
}

/* Sales hero: cover + offer above the fold */
.sales-hero {
    background: #eff6ff;
    padding: 40px 0 48px;
}
.sales-hero-grid {
    display: grid;
    grid-template-columns: minmax(200px, 320px) 1fr;
    gap: 40px;
    align-items: center;
}
.sales-cover img,
.sales-cover {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 24px -8px rgb(15 23 42 / 0.35);
    margin: 0 auto;
}
.sales-copy h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 16px;
}
.sales-copy .subhead {
    font-size: 19px;
    color: #334155;
    margin-bottom: 16px;
    max-width: 36em;
}
.sales-copy .price {
    margin: 8px 0 4px;
}
.sales-copy .delivery-note {
    font-size: 15px;
    color: #475569;
    margin-bottom: 20px;
}
.btn-lg {
    padding: 16px 28px;
    font-size: 18px;
}
.btn-paypal {
    background: #0070ba;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    border: none;
    cursor: pointer;
}
.btn-paypal:hover {
    background: #005ea6;
}

.inside-list,
.who-list {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    margin: 16px 0 24px;
}
.inside-list ul,
.who-list ul {
    margin: 0 0 0 1.2rem;
}
.inside-list li,
.who-list li {
    margin-bottom: 8px;
    font-size: 17px;
    color: #334155;
}

.faq-list {
    max-width: 800px;
}
.faq-list details {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px 16px;
    margin-bottom: 10px;
}
.faq-list summary {
    font-weight: 600;
    font-size: 17px;
    color: #0f172a;
    cursor: pointer;
    padding: 12px 0;
}
.faq-list details p {
    margin-bottom: 12px;
}
.todo-flag {
    background: #fef3c7;
    border-left: 4px solid #d97706;
    padding: 12px 14px;
    border-radius: 6px;
    color: #78350f;
    font-size: 15px;
}
.todo-flag strong {
    color: #78350f;
}

.cta-inline {
    margin: 32px 0;
}
.cta-kicker {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 6px;
}

.checkout-header {
    background: #1e293b;
    color: #fff;
    padding: 28px 0;
    text-align: center;
}
.checkout-header h1 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 4px;
}
.checkout-header p {
    color: #e2e8f0;
    margin-bottom: 0;
}

/* Sticky mobile buy bar */
.buy-bar {
    display: none;
}
@media (max-width: 768px) {
    .buy-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        background: #0f172a;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -4px 16px rgb(0 0 0 / 0.2);
        text-align: center;
    }
    .buy-bar .btn {
        width: 100%;
        max-width: 480px;
    }
    body {
        padding-bottom: 88px;
    }
    .sales-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .sales-copy .subhead {
        margin-left: auto;
        margin-right: auto;
    }
    .sales-cover img,
    .sales-cover {
        max-width: 220px;
    }
    .sales-copy h1 {
        font-size: 28px;
    }
    header nav {
        justify-content: center;
    }
    nav a {
        margin: 0 8px;
        font-size: 15px;
    }
    a.nav-buy {
        margin-left: 8px;
    }
}
@media print {
    .buy-bar {
        display: none !important;
    }
    body {
        padding-bottom: 0;
    }
}

.legal-body {
    max-width: 760px;
    margin: 0 auto;
}
.legal-body h2 {
    font-size: 24px;
    margin: 28px 0 12px;
    color: #0f172a;
}
.article-list {
    display: grid;
    gap: 16px;
}
.article-teaser {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.article-teaser h2 {
    font-size: 22px;
    margin: 0 0 8px;
}
.article-teaser h2 a {
    color: #1d4ed8;
    text-decoration: none;
}
.article-teaser h2 a:hover {
    text-decoration: underline;
}

.product-box h3 {
    font-size: 18px;
    margin: 8px 0 10px;
    color: #0f172a;
}

.experience-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
}
.experience-note h2 {
    font-size: 22px;
    margin: 0 0 10px;
    color: #0f172a;
}
.experience-note p {
    margin: 0;
    color: #334155;
}
.experience-line {
    color: #334155;
    font-size: 15px;
    margin: 0 0 14px;
}
.cta-box .experience-line {
    margin: 0 0 16px;
}
