:root,
[data-theme="light"] {
    color-scheme: light;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-elevated: #f1f5f9;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-body: #334155;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --success: #16a34a;
    --border: #e2e8f0;
    --header-bg: rgba(255, 255, 255, 0.92);
    --hero-glow: rgba(37, 99, 235, 0.08);
    --cta-gradient-end: #f5f3ff;
    --table-stripe: #fafbfc;
    --code-bg: #1e293b;
    --code-text: #e2e8f0;
    --theme-color: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
    --header-h: 72px;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0b1120;
    --bg-card: #111827;
    --bg-elevated: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-body: #cbd5e1;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: rgba(59, 130, 246, 0.12);
    --accent-glow: rgba(59, 130, 246, 0.25);
    --success: #22c55e;
    --border: #1e293b;
    --header-bg: rgba(11, 17, 32, 0.92);
    --hero-glow: rgba(59, 130, 246, 0.12);
    --cta-gradient-end: rgba(139, 92, 246, 0.1);
    --table-stripe: rgba(30, 41, 59, 0.3);
    --code-bg: #0f172a;
    --code-text: #e2e8f0;
    --theme-color: #0f172a;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    z-index: 9999;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
}
.logo:hover { color: var(--text); }
.logo-icon { font-size: 1.5rem; }
.logo .accent { color: var(--accent); }
.logo .tld { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.main-nav a,
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border: none;
    font-family: var(--font);
    white-space: nowrap;
}

.main-nav a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown.open > .nav-dropdown-toggle {
    color: var(--text);
    background: var(--bg-elevated);
}

.nav-dropdown { position: relative; }

.nav-dropdown-icon {
    transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    z-index: 200;
}

.nav-dropdown.open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li { list-style: none; }

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-body);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

/* Hero */
.hero {
    padding: 80px 0 60px;
    background: radial-gradient(ellipse at 50% 0%, var(--hero-glow) 0%, transparent 60%);
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 32px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.25s;
    box-shadow: var(--shadow);
}
.card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); }

.card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Content page */
.page-hero {
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 0%, var(--hero-glow) 0%, transparent 55%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    max-width: 800px;
}

.page-hero .lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 720px;
    line-height: 1.65;
}

.page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.page-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 140px;
}

.page-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
}

.page-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.section-pricing {
    padding-top: 48px;
    padding-bottom: 64px;
}

.content-section {
    padding: 48px 0 64px;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 48px 0 20px;
    padding-top: 8px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    margin-bottom: 16px;
    color: var(--text-body);
    line-height: 1.75;
}

.prose a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.table-wrap {
    overflow-x: auto;
    margin: 24px 0 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.table-wrap .compare-table {
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-top: 8px;
}

.content-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.content-section p {
    margin-bottom: 16px;
    color: var(--text-body);
}

.content-section ul, .content-section ol {
    margin: 0 0 20px 24px;
    color: var(--text-body);
}
.content-section li { margin-bottom: 8px; }

.content-section a { text-decoration: underline; text-underline-offset: 3px; }

/* Comparison table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.compare-table th, .compare-table td {
    padding: 14px 18px;
    border: 1px solid var(--border);
    text-align: left;
}

.compare-table th {
    background: var(--bg-elevated);
    font-weight: 600;
}

.compare-table tr:nth-child(even) td {
    background: var(--table-stripe);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    background: var(--bg-card);
    border: none;
    color: var(--text);
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font);
}
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent);
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    display: none;
    padding: 0 24px 18px;
    color: var(--text-muted);
}
.faq-item.active .faq-answer { display: block; }

/* Breadcrumbs */
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.2s;
}
.tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* CTA block */
.cta-block {
    background: linear-gradient(135deg, var(--accent-light), var(--cta-gradient-end));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    margin: 48px 0;
}

.cta-block h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.cta-block p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Related links */
.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin: 32px 0;
}

.related-link {
    display: block;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: var(--shadow);
}
.related-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* Pricing cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--accent-light) 100%);
}

.pricing-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pricing-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    min-height: 2.5em;
}

.pricing-card .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin: 12px 0 20px;
    line-height: 1.1;
}

.pricing-card .price span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.pricing-card ul {
    list-style: none;
    margin: 0 0 24px;
    text-align: left;
    flex-grow: 1;
}

.pricing-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.4;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    margin-right: 8px;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* Info cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0 32px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s, transform 0.2s;
}

.info-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.info-card-icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.sidebar-highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--cta-gradient-end));
    border-color: rgba(37, 99, 235, 0.2);
}

.sidebar-highlight h4 {
    margin-bottom: 10px;
}

.sidebar-highlight p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0;
}

.breadcrumbs {
    padding: 14px 0 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.breadcrumbs + .page-hero {
    border-top: none;
}

/* Footer */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.footer-title {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-col p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a { text-decoration: none; }

/* Two column layout */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.sidebar-box h4 {
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.sidebar-box ul { list-style: none; }
.sidebar-box li { margin-bottom: 8px; }
.sidebar-box a {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
}
.sidebar-box a:hover { color: var(--accent); }

/* Blog */
.page-hero.blog-hero { padding-bottom: 24px; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.25s;
}

.blog-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-card-title a {
    color: var(--text);
    text-decoration: none;
}

.blog-card-title a:hover { color: var(--accent); }

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.blog-card-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
}

.blog-tag:hover {
    background: var(--accent);
    color: #fff;
}

.blog-tag-list li span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.blog-filter {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.blog-empty {
    padding: 48px;
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.blog-empty code {
    background: var(--bg-elevated);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Article */
.blog-article-header {
    padding: 40px 0 32px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.blog-article-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.blog-article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.blog-article-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.6;
}

.article-content {
    max-width: 100%;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-top: 8px;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.article-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 24px 0 10px;
}

.article-content p {
    margin-bottom: 16px;
    color: var(--text-body);
    line-height: 1.75;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px 24px;
    color: var(--text-body);
}

.article-content li { margin-bottom: 8px; }

.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--accent-light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content blockquote p { margin: 0; }

.article-content pre {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 20px 0;
    font-size: 0.88rem;
    line-height: 1.6;
}

.article-content code {
    background: var(--bg-elevated);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
    font-family: 'Consolas', 'Monaco', monospace;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}

.article-content th,
.article-content td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.article-content th {
    background: var(--bg-elevated);
    font-weight: 600;
}

.article-content img {
    border-radius: var(--radius);
    margin: 20px 0;
}

.blog-article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* Tariffs — dockerhosting style */
.section-tariffs {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.page-pricing .section-tariffs {
    padding-top: 0;
    border-top: none;
}

.location-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.location-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
    text-align: center;
}

.location-tab:hover {
    border-color: rgba(37, 99, 235, 0.4);
    background: var(--accent-light);
}

.location-tab.active {
    border-color: var(--accent);
    background: var(--accent-light);
    box-shadow: 0 0 0 1px var(--accent);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

.location-flag--nav {
    width: 28px;
    height: 21px;
    flex-shrink: 0;
}

.location-sidebar-list a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-sidebar-list span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.location-sidebar-list a:hover span {
    color: var(--accent);
}

.location-tab-flag,
.location-link-flag {
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-flag {
    display: block;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.06);
    object-fit: cover;
}

.location-flag--tab {
    width: 44px;
    height: 33px;
}

.location-flag--link {
    width: 52px;
    height: 39px;
}

.location-tab-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}

.location-tab-region {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.location-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.location-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.location-panel-info {
    text-align: center;
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.location-panel-info a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.tariff-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0 0 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.tariff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tariff-card--featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.tariff-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.tariff-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    padding: 28px 24px 0;
    margin: 0;
    color: var(--text);
}

.tariff-price {
    text-align: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}

.tariff-price-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.tariff-price-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-left: 4px;
}

.tariff-price-period {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.tariff-specs {
    list-style: none;
    padding: 24px 28px 0;
    margin: 0;
    flex-grow: 1;
}

.tariff-specs li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.45;
}

.tariff-specs li:last-child {
    border-bottom: none;
}

.tariff-specs strong {
    color: var(--text);
    font-weight: 600;
}

.tariff-desc {
    padding: 16px 28px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.tariff-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 28px 20px;
}

.tariff-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
}

.tariff-card--featured .tariff-tag {
    background: var(--accent-light);
    border-color: rgba(37, 99, 235, 0.2);
    color: var(--accent);
}

.tariff-btn {
    margin: 0 28px;
    width: calc(100% - 56px);
    justify-content: center;
    text-align: center;
}

.tariffs-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.location-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.location-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.location-link-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.location-link-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.location-link-meta {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
}

[data-theme="dark"] .location-flag {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
    .tariff-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { display: block; }

    .main-nav > ul { flex-direction: column; align-items: stretch; }

    .nav-dropdown { width: 100%; }

    .dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 0 0 0 12px;
        margin-top: 4px;
    }

    .nav-dropdown.open .dropdown-menu {
        display: flex;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-dropdown.open:hover .dropdown-menu {
        display: flex;
    }

    .hero { padding: 48px 0 40px; }
    .hero-stats { gap: 24px; }
    .cta-block { padding: 32px 20px; }

    .location-picker {
        grid-template-columns: repeat(2, 1fr);
    }

    .tariff-grid {
        grid-template-columns: 1fr;
    }

    .location-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
