:root {
    color-scheme: dark;
    --bg: #090710;
    --glass-window: rgba(17, 15, 30, 0.84);
    --glass-card: rgba(24, 21, 42, 0.8);
    --glass-well: rgba(9, 8, 17, 0.62);
    --glass-ink: #0b0914;
    --line: rgba(255, 255, 255, 0.2);
    --line-soft: rgba(255, 255, 255, 0.11);
    --specular-top: inset 0 1.5px 0 rgba(255, 255, 255, 0.32);
    --specular-soft: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    --blur-glass: blur(14px) saturate(125%);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --muted-2: #a5b0c4;
    --accent: #e11d48;
    --accent-bright: #fb7185;
    --accent-soft: #fecdd3;
    --ember: #f59e0b;
    --ember-bright: #fcd34d;
    --green: #34d399;
    --blue: #818cf8;
    --radius: 24px;
    --shadow: 0 28px 64px rgba(3, 2, 10, 0.58);
    --shadow-pod: 0 18px 42px rgba(4, 3, 12, 0.48);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    font-size: 16px;
    background: var(--bg);
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        'Segoe UI Variable Display',
        'Segoe UI',
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.site-drawer-open {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

a {
    color: inherit;
}

::selection {
    color: #fff;
    background: rgba(225, 29, 72, 0.48);
}

:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--glass-ink);
    background: rgba(255, 255, 255, 0.94);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform 0.18s ease;
}

.skip-link:focus {
    transform: none;
}

/* VisionOS Nebula CSS Backdrop (No competing background bitmap download) */
.nebula-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(225, 29, 72, 0.24), transparent 44%),
        radial-gradient(circle at 84% 22%, rgba(129, 140, 248, 0.2), transparent 42%),
        radial-gradient(circle at 72% 84%, rgba(52, 211, 153, 0.1), transparent 45%),
        linear-gradient(180deg, #0b0814 0%, #090710 55%, #07050c 100%);
}

.nebula-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 64px 64px;
}

.site-shell {
    position: relative;
    z-index: 1;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

/* Header & Floating Spatial Nav */
.site-header {
    position: sticky;
    top: 14px;
    z-index: 40;
    padding-top: 14px;
}

.nav-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--glass-window);
    -webkit-backdrop-filter: var(--blur-glass);
    backdrop-filter: var(--blur-glass);
    box-shadow: var(--shadow-pod), var(--specular-top);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 11px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0d0a16;
    display: block;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 0.94rem;
    letter-spacing: 0.04em;
    color: var(--text);
}

.brand-text span {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--muted-2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition:
        background 0.16s,
        color 0.16s;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: var(--specular-soft);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 180ms ease-out,
        background 180ms ease-out,
        border-color 180ms ease-out,
        box-shadow 180ms ease-out,
        color 180ms ease-out;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(0.985);
}

.btn-primary {
    border-color: rgba(251, 113, 133, 0.56);
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #fff;
    box-shadow:
        0 10px 26px rgba(225, 29, 72, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    border-color: rgba(254, 205, 211, 0.72);
    box-shadow:
        0 14px 32px rgba(225, 29, 72, 0.44),
        0 0 0 1px rgba(251, 113, 133, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    box-shadow: var(--specular-soft);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.36);
    box-shadow:
        0 12px 26px rgba(129, 140, 248, 0.18),
        var(--specular-top);
}

.btn-nav {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.84rem;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
}

.pub-svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile Navigation Drawer */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(5, 4, 10, 0.78);
}

.nav-drawer {
    position: fixed;
    top: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 70;
    width: min(320px, calc(100vw - 24px));
    padding: 20px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: rgba(16, 14, 28, 0.94);
    -webkit-backdrop-filter: var(--blur-glass);
    backdrop-filter: var(--blur-glass);
    box-shadow: var(--shadow), var(--specular-top);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateX(115%);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-drawer.is-open {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-links {
    display: grid;
    gap: 6px;
}

.drawer-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
}

.drawer-link.active,
.drawer-link:hover {
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
}

/* Typography & Shared Glass Surfaces */
.eyebrow {
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(251, 113, 133, 0.35);
    background: rgba(225, 29, 72, 0.14);
    color: var(--accent-soft);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow.indigo {
    border-color: rgba(129, 140, 248, 0.38);
    background: rgba(129, 140, 248, 0.14);
    color: #e0e7ff;
}

.eyebrow.emerald {
    border-color: rgba(52, 211, 153, 0.38);
    background: rgba(52, 211, 153, 0.12);
    color: #d1fae5;
}

.eyebrow.amber {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.14);
    color: #fef3c7;
}

.page-section {
    padding: 48px 0;
}

.hero-section {
    padding: 44px 0 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 32px;
    padding: 36px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background: var(--glass-window);
    box-shadow: var(--shadow), var(--specular-top);
}

.page-hero {
    padding: 34px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: var(--glass-window);
    box-shadow: var(--shadow), var(--specular-top);
}

.hero-title {
    margin: 0 0 16px;
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff;
}

.page-title {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero-lead {
    margin: 0 0 24px;
    font-size: 1.04rem;
    line-height: 1.72;
    color: var(--muted);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.cards-grid-3 + .cta-row,
.cards-grid-2 + .cta-row {
    margin-top: 24px;
    margin-bottom: 0;
}

.cta-band .cta-row,
.error-card .cta-row {
    margin-bottom: 0;
}

.error-card .cta-row {
    justify-content: center;
}

.aside-box .hero-lead {
    margin-bottom: 16px;
    font-size: 0.92rem;
}

.aside-box .btn {
    width: 100%;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.spec-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.spec-dot.amber {
    background: var(--ember);
}

.spec-dot.indigo {
    background: var(--blue);
}

.hero-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0d0a16;
    aspect-ratio: 1200 / 630;
    box-shadow: var(--shadow-pod);
}

.hero-media picture,
.hero-media img,
.card-media picture,
.card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Headers */
.section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 2.9vw, 2.15rem);
    letter-spacing: -0.028em;
    line-height: 1.18;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

/* Grids & Cards */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

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

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.glass-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line-soft);
    background: var(--glass-card);
    box-shadow: var(--shadow-pod), var(--specular-soft);
    transition:
        transform 180ms ease-out,
        border-color 180ms ease-out,
        box-shadow 180ms ease-out;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
    box-shadow:
        var(--shadow),
        0 0 26px rgba(225, 29, 72, 0.14),
        var(--specular-top);
}

.card-media {
    margin: -24px -24px 18px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
    border-radius: var(--radius) var(--radius) 0 0;
    background: #0d0a16;
}

.glass-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    line-height: 1.28;
}

.glass-card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.94rem;
}

.check-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.check-list li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
    font-size: 0.89rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-soft);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.card-link:hover {
    color: #fff;
    text-decoration: underline;
}

.icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-soft);
    margin-bottom: 14px;
}

.icon-badge.indigo {
    color: #c7d2fe;
}

.icon-badge.emerald {
    color: #a7f3d0;
}

.icon-badge.amber {
    color: #fde68a;
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 0.84rem;
    color: var(--muted-2);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

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

/* Tables & Command Matrix */
.table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--line-soft);
    background: var(--glass-well);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.spec-table th,
.spec-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}

.spec-table th {
    color: var(--muted-2);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.03);
}

.spec-table tr:last-child td {
    border-bottom: 0;
}

code {
    padding: 2px 7px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: 0.85em;
}

/* FAQ Accordion */
.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border-radius: 18px;
    border: 1px solid var(--line-soft);
    background: var(--glass-card);
    padding: 4px 20px;
}

.faq-item summary {
    padding: 16px 0;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--accent-soft);
    flex: 0 0 auto;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 0 18px;
    color: var(--muted);
    font-size: 0.94rem;
    border-top: 1px solid var(--line-soft);
    padding-top: 14px;
}

.faq-answer p {
    margin: 0;
}

/* Prose / Blog Article Layout */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
}

.article-body {
    padding: 34px;
    border-radius: 28px;
    border: 1px solid var(--line-soft);
    background: var(--glass-window);
    box-shadow: var(--shadow-pod), var(--specular-soft);
}

.article-body h2 {
    margin: 28px 0 12px;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    line-height: 1.24;
}

.article-body h3 {
    margin: 20px 0 8px;
    font-size: 1.12rem;
    color: #fff;
}

.article-body p {
    margin: 0 0 16px;
    color: var(--muted);
}

.article-body ul,
.article-body ol {
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--muted);
}

.article-body li {
    margin-bottom: 8px;
}

.article-figure {
    margin: 24px 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    background: #0d0a16;
}

.article-figure picture,
.article-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.article-figure figcaption {
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--muted-2);
    border-top: 1px solid var(--line-soft);
    background: rgba(9, 8, 17, 0.72);
}

.callout-box {
    margin: 22px 0;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(251, 113, 133, 0.34);
    background: rgba(225, 29, 72, 0.1);
}

.callout-box strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
}

.callout-box p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.article-aside {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 90px;
}

.aside-box {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid var(--line-soft);
    background: var(--glass-card);
}

.aside-box h2,
.aside-box h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.aside-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.aside-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
}

.aside-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* CTA Banner */
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 12% 20%, rgba(225, 29, 72, 0.22), transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.18), transparent 55%), var(--glass-window);
    box-shadow: var(--shadow), var(--specular-top);
}

.cta-band h2 {
    margin: 0 0 6px;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.cta-band p {
    margin: 0;
    color: var(--muted);
    max-width: 620px;
}

/* Footer */
.site-footer {
    margin-top: 40px;
    padding: 40px 0 48px;
    border-top: 1px solid var(--line-soft);
    background: rgba(9, 7, 16, 0.65);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer-brand p {
    margin: 12px 0 0;
    color: var(--muted-2);
    font-size: 0.88rem;
    max-width: 320px;
}

.footer-col h2,
.footer-col h3 {
    margin: 0 0 12px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--muted-2);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
}

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

.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--muted-2);
}

/* 404 Center Card */
.error-card {
    max-width: 660px;
    margin: 64px auto;
    padding: 40px 34px;
    text-align: center;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: var(--glass-window);
    box-shadow: var(--shadow), var(--specular-top);
}

.error-code {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(251, 113, 133, 0.45);
    background: rgba(225, 29, 72, 0.16);
    color: var(--accent-soft);
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
    .hero-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

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

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

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

    .article-aside {
        position: static;
    }
}

@media (max-width: 900px) {
    .nav-links,
    .nav-cta-desktop {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 24px 0 22px;
    }

    .page-section {
        padding: 28px 0;
    }

    .hero-grid,
    .page-hero,
    .article-body,
    .cta-band {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .cards-grid-3,
    .cards-grid-2,
    .cards-grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 20px;
    }

    .card-media {
        margin: -20px -20px 16px;
    }
}

/* ==========================================================================
   MODÜL 1: BOT / SİSTEM DURUMU RADAR PULSE (Sadece GPU: transform + opacity)
   2.2s (~0.45 Hz) döngü süresi WCAG 2.2 SC 2.3.1 (< 3 flaş/sn) kuralına uyar.
   ========================================================================== */
.spec-dot {
    position: relative;
    flex: 0 0 7px;
    isolation: isolate;
}

.spec-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    pointer-events: none;
    will-change: transform, opacity;
    animation: dk-status-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes dk-status-ping {
    0% {
        transform: scale(1);
        opacity: 0.72;
    }
    70%,
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

/* ==========================================================================
   MODÜL 2: KAYDIRMA İLE BELİRME (0 KB JS · Progressive Enhancement)
   - Eski tarayıcılar @supports dışında kalır, kartlar her zaman visible kalır.
   - Bağımsız `translate` ve `scale` özellikleri kullanıldığından `:hover`
     üzerindeki `transform: translateY(-2px)` mikro etkileşimi ile çakışmaz.
   ========================================================================== */
@supports (animation-timeline: view()) {
    @keyframes dk-scroll-reveal {
        from {
            opacity: 0;
            translate: 0 18px;
            scale: 0.985;
        }
        to {
            opacity: 1;
            translate: 0 0;
            scale: 1;
        }
    }

    @media (prefers-reduced-motion: no-preference) {
        .glass-card,
        .faq-item {
            animation-name: dk-scroll-reveal;
            animation-timing-function: linear;
            animation-fill-mode: both;
            animation-timeline: view();
            animation-range: entry 0% entry 40%;
        }
    }
}

/* ==========================================================================
   MODÜL 4: YEREL SAYFA GEÇİŞLERİ (View Transitions API · Koyu Zemin Cross-Fade)
   ========================================================================== */
@view-transition {
    navigation: auto;
}

::view-transition {
    background-color: var(--bg);
}

.nav-dock {
    view-transition-name: dk-nav-dock;
}

@keyframes dk-vt-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes dk-vt-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

::view-transition-old(root) {
    animation: dk-vt-out 180ms ease-out both;
}

::view-transition-new(root) {
    animation: dk-vt-in 200ms ease-out both;
}

::view-transition-group(dk-nav-dock) {
    animation-duration: 180ms;
    animation-timing-function: ease-out;
}

/* ==========================================================================
   MODÜL 5: WCAG 2.2 ERİŞİLEBİLİRLİK VE AZALTILMIŞ HAREKET KORUMASI
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }

    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        animation-iteration-count: 1 !important;
    }

    .glass-card,
    .faq-item {
        animation: none !important;
        opacity: 1 !important;
        translate: none !important;
        scale: 1 !important;
    }

    .spec-dot::after {
        display: none !important;
        animation: none !important;
    }

    .btn:hover,
    .btn:active,
    .glass-card:hover {
        transform: none !important;
    }

    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) {
        animation: none !important;
    }
}
