/* ──────────────────────────────────────────────
   What is an eSIM? — CSS
   Mobile-first responsive design
   ────────────────────────────────────────────── */

/* ── Variables ───────────────────────────────── */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #0ea5e9;
    --accent-dark: #0284c7;
    --accent-light: #e0f2fe;
    --green: #10b981;
    --green-light: #d1fae5;
    --green-dark: #059669;
    --red: #ef4444;
    --red-light: #fee2e2;
    --orange: #f59e0b;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --text-dark: #0f172a;
    --border: #e2e8f0;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.05), 0 4px 6px rgba(0,0,0,0.03);
    --max-width: 1140px;
    --narrow-width: 780px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: 0.2s ease;
}

/* ── Reset & Base ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.75rem;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
a { color: var(--accent-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.5rem; }
strong { font-weight: 600; }

/* ── Utility ─────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: var(--narrow-width); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Buttons ─────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}
.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.0625rem;
}

/* ── Header ──────────────────────────────────── */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
    text-decoration: none;
}
.site-logo:hover { color: var(--text-dark); }
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1.25rem;
}
.logo-text { font-size: 1rem; }
.logo-dot { color: var(--accent); }

/* Menu toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition);
}
.menu-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Navigation */
.site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.site-nav.is-open { display: block; }
.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-nav > ul > li > a,
.site-nav > ul > li > .dropdown-toggle {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--font);
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li > .dropdown-toggle:hover { color: var(--accent); }

/* Dropdown */
.dropdown { display: none; background: var(--bg); }
.has-dropdown.is-open .dropdown { display: block; }
.dropdown li a {
    display: block;
    padding: 0.625rem 1rem 0.625rem 2rem;
    color: var(--text);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border);
}
.dropdown li a:hover { color: var(--accent); background: var(--accent-light); }

/* Nav CTA */
.nav-cta {
    color: var(--accent) !important;
    font-weight: 600 !important;
}

/* ── Breadcrumbs ─────────────────────────────── */
.breadcrumbs {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
}
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--text-light);
}
.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.25rem;
    color: var(--text-light);
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 500; }

/* ── Hero ────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
    text-align: center;
}
.hero h1 {
    color: #fff;
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}
.hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
.hero-definition {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}
.hero-definition p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
}

/* ── Sections ────────────────────────────────── */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg); }
.section-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}
.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.0625rem;
}

/* ── Visual Compare (Home) ───────────────────── */
.visual-compare {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.compare-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 360px;
}
.compare-card--highlight {
    border-color: var(--green);
    background: linear-gradient(180deg, var(--green-light) 0%, var(--bg-white) 40%);
}
.compare-icon { margin-bottom: 1rem; }
.compare-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.compare-card > p { color: var(--text-light); font-size: 0.9375rem; margin-bottom: 1rem; }
.compare-points {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.compare-points li {
    padding: 0.375rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--text);
}
.compare-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-light);
}
.compare-card--highlight .compare-points li::before { color: var(--green); }
.compare-vs {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-light);
    padding: 0.5rem;
}

/* ── Steps Grid (Home) ───────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.step-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}
.step-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-light); font-size: 0.9375rem; margin: 0; }

/* ── Topic Grid (Home) ───────────────────────── */
.topic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.topic-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
    text-decoration: none;
}
.topic-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.topic-card--highlight {
    border-color: var(--accent);
    background: var(--accent-light);
}
.topic-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}
.topic-card h3 {
    font-size: 1.0625rem;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}
.topic-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* ── FAQ ─────────────────────────────────────── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-white);
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    gap: 1rem;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--bg); }
.faq-toggle {
    font-size: 1.25rem;
    color: var(--accent);
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item.is-open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    display: none;
    padding: 0 1.25rem 1rem;
    background: var(--bg-white);
}
.faq-item.is-open .faq-answer { display: block; }
.faq-answer p { color: var(--text); font-size: 0.9375rem; line-height: 1.7; margin: 0; }

/* ── CTA Section ─────────────────────────────── */
.cta-section { padding: 2rem 0 3rem; }
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
}
.cta-box h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.75rem; }
.cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; font-size: 1.0625rem; }

/* ── Article ─────────────────────────────────── */
.article { padding: 2rem 0 3rem; }
.article-header { margin-bottom: 1.5rem; }
.article-header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.article-subtitle { color: var(--text-light); font-size: 1.125rem; margin-bottom: 0.5rem; }
.article-updated { color: var(--text-light); font-size: 0.8125rem; font-style: italic; }
.article-intro {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 2rem;
}
.article-intro p { margin: 0; font-size: 1.0625rem; line-height: 1.8; color: var(--text-dark); }

/* Table of Contents */
.toc {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}
.toc-title { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 0.5rem; }
.toc ol {
    margin: 0;
    padding-left: 1.25rem;
}
.toc li { padding: 0.25rem 0; font-size: 0.9375rem; }
.toc a { color: var(--accent-dark); }
.toc a:hover { color: var(--accent); }

/* Article sections */
.article-section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 80px;
}
.article-section h2 {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-light);
    margin-bottom: 1rem;
}
.article-section p { font-size: 1rem; line-height: 1.8; }

.article-list {
    padding-left: 0;
    list-style: none;
}
.article-list li {
    padding: 0.625rem 0 0.625rem 1.75rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.7;
    border-bottom: 1px solid var(--border);
}
.article-list li:last-child { border-bottom: none; }
.article-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* Steps List */
.steps-list { margin: 1rem 0; }
.step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.step-marker {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-top: 2px;
}
.step-content h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.step-content p { margin: 0; color: var(--text); font-size: 0.9375rem; line-height: 1.7; }

/* Comparison Table */
.table-responsive { overflow-x: auto; margin: 1rem 0; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}
.comparison-table th {
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
}
.comparison-table th:first-child { border-radius: var(--radius) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.comparison-table td:first-child { font-weight: 600; color: var(--text-dark); }
.comparison-table tr:nth-child(even) td { background: var(--bg); }
.comparison-table tr:last-child td { border-bottom: none; }

/* Pros & Cons */
.pros-cons-list { margin: 1rem 0; }
.pc-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: var(--radius);
    align-items: flex-start;
}
.pc-pro { background: var(--green-light); }
.pc-con { background: var(--red-light); }
.pc-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
    margin-top: 2px;
}
.pc-pro .pc-icon { background: var(--green); color: #fff; }
.pc-con .pc-icon { background: var(--red); color: #fff; }
.pc-content h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.pc-content p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--text); }

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
}
.use-case-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.use-case-card h3 { font-size: 1rem; margin-bottom: 0.375rem; }
.use-case-card p { margin: 0; font-size: 0.9375rem; color: var(--text); }

/* Key Takeaway */
.key-takeaway {
    background: var(--accent-light);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
}
.key-takeaway h3 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
}
.key-takeaway p { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--text-dark); font-weight: 500; }

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}
.article-cta h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }

/* Related Pages */
.related-pages { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-pages h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.related-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition);
}
.related-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}
.related-icon { font-size: 1.5rem; flex-shrink: 0; }
.related-title { font-weight: 600; color: var(--text-dark); font-size: 0.9375rem; }

/* ── Phones Page ─────────────────────────────── */
.check-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}
.check-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.check-card h3 { font-size: 1rem; color: var(--accent-dark); margin-bottom: 0.5rem; }
.check-card p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }

.device-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin: 1rem 0;
}
.device-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
}
.device-item:nth-child(even) { background: var(--bg); }
.device-check {
    color: var(--green);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.device-name { color: var(--text); }

/* ── Footer ──────────────────────────────────── */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col h4 {
    color: #fff;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.footer-col p { font-size: 0.875rem; line-height: 1.6; margin: 0; }
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li { margin-bottom: 0.375rem; }
.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.8125rem; }

/* ── Responsive: Tablet ──────────────────────── */
@media (min-width: 640px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .topic-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
    .check-cards { grid-template-columns: repeat(3, 1fr); }
    .device-list { grid-template-columns: repeat(2, 1fr); }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .visual-compare {
        flex-direction: row;
        align-items: stretch;
    }
    .compare-vs {
        display: flex;
        align-items: center;
    }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive: Desktop ─────────────────────── */
@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    .section { padding: 4rem 0; }
    .hero { padding: 4rem 0 3.5rem; }
    .hero h1 { font-size: 3rem; }
    .hero-subtitle { font-size: 1.25rem; }
    .hero-definition { padding: 2rem; }
    .hero-definition p { font-size: 1.125rem; }
    .article-header h1 { font-size: 2.5rem; }

    /* Desktop nav */
    .menu-toggle { display: none; }
    .site-nav {
        display: block;
        position: static;
        background: none;
        border: none;
        box-shadow: none;
    }
    .site-nav > ul {
        display: flex;
        align-items: center;
        gap: 0;
    }
    .site-nav > ul > li > a,
    .site-nav > ul > li > .dropdown-toggle {
        padding: 0.5rem 0.75rem;
        border: none;
        font-size: 0.875rem;
    }
    .has-dropdown { position: relative; }
    .dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        padding: 0.5rem 0;
        z-index: 50;
    }
    .has-dropdown:hover .dropdown { display: block; }
    .has-dropdown.is-open .dropdown { display: block; }
    .dropdown li a {
        padding: 0.5rem 1rem;
        border: none;
    }
    .nav-cta {
        margin-left: 0.5rem;
        padding: 0.375rem 1rem !important;
        background: var(--accent);
        color: #fff !important;
        border-radius: var(--radius);
    }
    .nav-cta:hover { background: var(--accent-dark); }

    .topic-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .cta-box { padding: 3rem 2.5rem; }

    /* Table responsive */
    .comparison-table td[data-label]::before { display: none; }
}

/* ── Mobile table fallback ───────────────────── */
@media (max-width: 639px) {
    .comparison-table thead { display: none; }
    .comparison-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
    }
    .comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0.625rem 1rem;
        text-align: right;
    }
    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-dark);
        text-align: left;
        flex-shrink: 0;
        margin-right: 1rem;
    }
    .comparison-table td:first-child {
        background: var(--primary);
        color: #fff;
        font-weight: 600;
        display: block;
        text-align: left;
    }
    .comparison-table td:first-child::before { display: none; }
}

/* ── Print ───────────────────────────────────── */
@media print {
    .site-header, .site-footer, .cta-section, .cta-box, .article-cta, .nav-cta { display: none; }
    .hero { background: #fff; color: #000; }
    .hero h1 { color: #000; }
    body { font-size: 12pt; }
}
