:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #0f172a;
    --muted: #475569;
    --line: #dbe4ee;
    --primary: #0f766e;
    --primary-2: #1d4ed8;
    --accent: #be123c;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.1);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

a {
    color: var(--primary-2);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-icon-only img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    color: var(--muted);
    font-weight: 600;
}

.header-search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 2px;
}

.header-search-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-search-icon {
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.header-search-pop {
    display: none;
    position: absolute;
    right: 40px;
    top: 0;
    z-index: 60;
    background: #fff;
    border-radius: 10px;
}

.header-search-wrap.is-open .header-search-pop {
    display: inline-flex;
}

.header-search-input {
    height: 34px;
    width: min(240px, 34vw);
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 7px 10px;
    font-size: 13px;
    color: #0f172a;
    background: #fff;
}

.header-search-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.header-search-btn {
    height: 34px;
    border: 0;
    border-radius: 9px;
    padding: 0 10px;
    background: #0f766e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.section {
    padding: 28px 0;
}

.section-soft {
    background: #f0f4fa;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.section-title {
    margin: 0;
    font-size: clamp(22px, 2.8vw, 34px);
    line-height: 1.15;
}

.eyebrow {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #7dd3fc;
}

.lede {
    margin: 0;
    color: #e2e8f0;
    line-height: 1.7;
}

.home-hero {
    background:
        radial-gradient(circle at 10% 10%, rgba(190, 18, 60, 0.35), transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(29, 78, 216, 0.4), transparent 40%),
        linear-gradient(135deg, #0f172a 0%, #111827 40%, #0b1120 100%);
    color: #fff;
    padding: 56px 0 46px;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: stretch;
}

.home-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 16px;
    backdrop-filter: blur(6px);
}

.stat-card strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-card span {
    font-size: 12px;
    opacity: 0.95;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.feature-card {
    display: block;
    border: 1px solid #c6d4e7;
    background:
        radial-gradient(circle at 100% 0%, rgba(14, 116, 144, 0.1), transparent 45%),
        #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

.feature-card:hover {
    text-decoration: none;
    transform: translateY(-1px);
    transition: 0.2s ease;
}

.feature-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #e0f2fe;
    color: #0c4a6e;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 34px);
    color: #0f172a;
    line-height: 1.15;
}

.feature-card p {
    margin: 0 0 14px;
    color: #334155;
    line-height: 1.65;
}

.feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #334155;
}

.feature-meta span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 5px 9px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.rich-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 16px;
}

.card:hover {
    border-color: #b7c9dc;
    text-decoration: none;
}

.card .meta {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.card h3 {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.25;
}

.article-tease p {
    margin: 10px 0 0;
    color: #334155;
    line-height: 1.6;
    font-size: 14px;
}

.mini-meta {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mini-meta span {
    font-size: 11px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 8px;
    color: #334155;
}

.badge {
    font-size: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ecfeff;
    border: 1px solid #bae6fd;
    color: #155e75;
}

.btn {
    display: inline-block;
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 14px;
}

.btn.secondary {
    background: #fff;
    color: #0f766e;
}

.btn:hover {
    text-decoration: none;
    filter: brightness(0.97);
}

.pagination {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.search-panel {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    flex: 1 1 320px;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
}

.search-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.simple-list {
    display: grid;
    gap: 10px;
}

.list-item {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
}

.list-item .num {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfeff;
    color: #155e75;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tag {
    display: inline-block;
    font-size: 12px;
    background: #e8f0fb;
    color: #1e40af;
    border: 1px solid #c7d2fe;
    padding: 6px 10px;
    border-radius: 999px;
}

.article-hero {
    background:
        radial-gradient(circle at 18% 20%, rgba(29, 78, 216, 0.3), transparent 40%),
        radial-gradient(circle at 88% 14%, rgba(190, 24, 93, 0.26), transparent 35%),
        linear-gradient(135deg, #0b1323, #101828);
    color: #fff;
    padding: 44px 0 40px;
}

.article-hero h1 {
    margin: 0;
    font-size: clamp(30px, 4.4vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.hero-summary {
    margin: 14px 0 0;
    max-width: 920px;
    line-height: 1.7;
    color: #dbeafe;
}

.hero-support {
    margin: 10px 0 0;
    max-width: 920px;
    color: #bfdbfe;
    line-height: 1.7;
    font-size: 15px;
}

.article-meta-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-meta-row span {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    font-size: 12px;
    border-radius: 999px;
    padding: 6px 10px;
}

.article-shell {
    padding: 20px 0 34px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 16px;
    align-items: start;
}

.article-main {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 22px;
}

.article-side {
    position: sticky;
    top: 80px;
    display: grid;
    gap: 10px;
}

.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow-sm);
}

.side-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.side-card p,
.side-card li {
    color: #334155;
    font-size: 13px;
    line-height: 1.6;
}

.side-card ul {
    margin: 0;
    padding-left: 18px;
}

.editorial-note {
    margin: 6px 0 14px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 12px;
    padding: 12px;
    color: #134e4a;
    font-size: 14px;
    line-height: 1.6;
}

.article-content {
    color: #1e293b;
    line-height: 1.8;
    font-size: 17px;
}

.prose-modern p,
.prose-modern ul,
.prose-modern ol,
.prose-modern blockquote,
.prose-modern table {
    margin: 0 0 14px;
}

.prose-modern h2 {
    margin: 28px 0 12px;
    font-size: clamp(22px, 2.8vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.prose-modern h3 {
    margin: 20px 0 10px;
    font-size: 22px;
    line-height: 1.25;
}

.prose-modern ul,
.prose-modern ol {
    padding-left: 20px;
}

.prose-modern li {
    margin-bottom: 8px;
}

.prose-modern table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.prose-modern table td,
.prose-modern table th {
    border: 1px solid #e2e8f0;
    padding: 8px;
    text-align: left;
}

.prose-modern blockquote {
    border-left: 4px solid #93c5fd;
    background: #f8fafc;
    padding: 8px 12px;
}

.inline-internal-link {
    color: #0c4a6e;
    text-decoration: none;
    border-bottom: 2px solid #7dd3fc;
    font-weight: 600;
    padding-bottom: 1px;
}

.inline-internal-link:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

.inline-external-link {
    color: #0f766e;
    text-decoration: none;
    border-bottom: 1px dashed #14b8a6;
    font-weight: 600;
}

.inline-external-link:hover {
    color: #0f766e;
    border-bottom-color: #0f766e;
}

.alt-section {
    margin-top: 22px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
}

.alt-section h2 {
    margin: 0 0 12px;
}

.qa-thread {
    margin-top: 24px;
}

.qa-thread h2 {
    margin: 0 0 10px;
}

.qa-question {
    margin: 0 0 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
}

.qa-card {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
}

.qa-card + .qa-card {
    margin-top: 10px;
}

.qa-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.qa-card-head strong {
    font-size: 14px;
}

.qa-card-head span {
    font-size: 12px;
    color: #64748b;
}

.related-cluster {
    margin-top: 26px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 18px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 32%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.14), transparent 34%),
        linear-gradient(145deg, #f8fbff, #eef6ff 55%, #f8fafc);
    border: 1px solid #d8e7fb;
}

.related-cluster h2 {
    margin: 0 0 14px;
    display: grid;
    gap: 4px;
    font-size: clamp(22px, 2.6vw, 30px);
    color: #0f172a;
    position: relative;
    z-index: 1;
}

.related-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #0369a1;
}

.related-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0ea5e9, #f97316);
}

.related-title-main {
    display: inline-block;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    color: #0f172a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.related-grid {
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.related-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
    position: relative;
    overflow: hidden;
    transform: translateY(14px);
    opacity: 0;
    animation: relatedCardIn 0.65s ease forwards;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background-color 0.28s ease;
}

.related-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #0ea5e9, #f97316);
    opacity: 0.9;
}

.related-item:hover {
    text-decoration: none;
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.12);
    background: rgba(255, 255, 255, 0.97);
    transform: translateY(-4px) scale(1.01);
}

.related-item .num {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, #0f172a, #1d4ed8 60%, #38bdf8);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.28);
    transform: rotate(-4deg);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.related-item:hover .num {
    transform: rotate(0deg) scale(1.08);
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.32);
}

.related-item h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #0f172a;
    transition: color 0.24s ease, transform 0.24s ease;
}

.related-item:hover h3 {
    color: #0c4a6e;
    transform: translateX(2px);
}

.related-item p {
    margin: 7px 0 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.55;
}

.related-item .mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

.related-item .mini-meta span {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.related-grid .related-item:nth-child(1) { animation-delay: 0.04s; }
.related-grid .related-item:nth-child(2) { animation-delay: 0.1s; }
.related-grid .related-item:nth-child(3) { animation-delay: 0.16s; }
.related-grid .related-item:nth-child(4) { animation-delay: 0.22s; }
.related-grid .related-item:nth-child(5) { animation-delay: 0.28s; }
.related-grid .related-item:nth-child(6) { animation-delay: 0.34s; }

@keyframes relatedCardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .related-item {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .related-item:hover {
        transform: none;
    }

    .related-item .num,
    .related-item h3 {
        transition: none;
    }
}

.tag-section {
    margin-top: 22px;
}

.tag-section h2 {
    margin: 0 0 12px;
}

.image-gallery-section {
    margin-top: 24px;
}

.image-gallery-section h2 {
    margin: 0 0 12px;
}

.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.image-gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    cursor: zoom-in;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dbe4ee;
    background: #eef2ff;
    appearance: none;
}

.image-gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #e2e8f0;
    display: block;
}

@media (min-width: 900px) {
    .image-gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 24px;
    background: #fff;
}

.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(2, 6, 23, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.image-viewer-inner {
    width: min(980px, 98vw);
    max-height: 96vh;
    overflow: auto;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 14px;
    padding: 12px;
    position: relative;
}

.viewer-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: #1e293b;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.viewer-toolbar {
    margin: 10px 0 12px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.viewer-toolbar button {
    border: 1px solid #334155;
    background: #111827;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
}

#viewer-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    transform-origin: center center;
    transition: transform .15s ease;
}

.footer-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
}

.footer-links {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.policy-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
}

.policy-modal[aria-hidden="false"] {
    display: block;
}

.policy-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.policy-dialog {
    position: relative;
    width: min(620px, calc(100% - 24px));
    margin: 7vh auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 18px 18px 14px;
}

.policy-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
}

.policy-dialog h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.policy-body {
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
}

.policy-body p {
    margin: 0 0 10px;
}

.modal-open {
    overflow: hidden;
}

.gate-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.gate-box {
    max-width: 420px;
    width: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.security-modal {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: grid;
    place-items: center;
    padding: 18px;
}

.security-modal[aria-hidden="false"] {
    display: grid;
}

.security-modal[aria-hidden="true"] {
    display: none;
}

.security-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 10, 26, 0.68);
    backdrop-filter: blur(8px);
}

.security-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(450px, 100%);
    border-radius: 18px;
    background: linear-gradient(180deg, #041f44 0%, #031834 100%);
    border: 1px solid rgba(93, 161, 255, 0.22);
    box-shadow: 0 30px 70px rgba(2, 8, 23, 0.65);
    padding: 28px 24px 24px;
    text-align: center;
}

.security-modal-dialog h2 {
    margin: 0 0 10px;
    color: #dbeafe;
    font-size: clamp(30px, 3vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.security-modal-dialog p {
    margin: 0 auto 20px;
    max-width: 360px;
    color: #93c5fd;
    font-size: 18px;
    line-height: 1.45;
}

.security-icon-badge {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    font-size: 28px;
    background: radial-gradient(circle at 30% 30%, #60a5fa, #1d4ed8);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.22);
}

.security-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(320px, 100%);
    min-height: 50px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(90deg, #0ea5e9 0%, #8b5cf6 50%, #22d3ee 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.32);
}

.security-cta:hover {
    text-decoration: none;
    filter: brightness(1.04);
}

.ad-slot {
    width: 100%;
    margin: 16px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ad-after-p3 {
    max-width: 300px;
}

.ad-under-title,
.ad-mid,
.ad-under-article {
    max-width: 728px;
}

.ad-sticky {
    position: fixed;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 9999;
    margin: 0;
    max-width: 728px;
    width: calc(100% - 16px);
}

@media (max-width: 768px) {
    .ad-under-title,
    .ad-mid,
    .ad-under-article,
    .ad-sticky {
        max-width: 320px;
    }
}

@media (max-width: 1020px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-side {
        position: static;
    }
}

@media (max-width: 840px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .main-nav {
        gap: 10px;
        font-size: 13px;
    }

    .header-search {
        order: 2;
        width: 100%;
    }

    .header-search-input {
        width: 100%;
    }

    .header-search-pop {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 74px;
        width: auto;
        padding: 6px;
        border: 1px solid #dbe4ee;
        box-shadow: var(--shadow-sm);
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .article-main {
        padding: 16px;
        border-radius: 16px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        padding: 12px 0;
    }
}
