/* ── Reset & Base ──────────────────────────────────────────────────────────── */

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

:root {
    --bg: #0d1117;
    --bg-card: #161b22;
    --bg-code: #1c2128;
    --border: #30363d;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --text-dim: #6e7681;
    --accent: #f7931a;
    --accent-dim: #c47514;
    --link: #58a6ff;
    --green: #3fb950;
    --red: #f85149;
    --mono: 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: underline;
}

code, pre {
    font-family: var(--mono);
}

/* ── Layout ───────────────────────────────────────────────────────────────── */

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Cinematic Animations ─────────────────────────────────────────────────── */

@keyframes emblem-enter {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(40px);
        filter: brightness(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.08) translateY(-4px);
        filter: brightness(1.3);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: brightness(1);
    }
}

@keyframes emblem-glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(247, 147, 26, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 24px rgba(247, 147, 26, 0.5));
    }
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
    text-align: center;
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--border);
}

.emblem-wrapper {
    margin-bottom: 32px;
}

.emblem {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    animation: emblem-enter 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               emblem-glow 4s ease-in-out 1.5s infinite;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    animation: fade-up 0.8s ease 0.3s both;
}

.hero h1 span {
    color: var(--accent);
}

.hero .subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 20px;
    animation: fade-up 0.8s ease 0.5s both;
}

.hero .author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    animation: fade-up 0.8s ease 0.7s both;
}

.hero .author span {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero .badge {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 14px;
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    animation: fade-up 0.8s ease 0.9s both;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--sans);
    text-decoration: none;
    transition: opacity 0.15s;
}

.btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
}

/* ── Modal ────────────────────────────────────────────────────────────────── */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
}

.modal-pdf {
    flex: 1;
    border: none;
    width: 100%;
}

.modal-footer {
    padding: 12px 24px;
    border-top: 1px solid var(--border);
    text-align: right;
}

/* ── Problem ──────────────────────────────────────────────────────────────── */

.problem {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.problem h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.problem p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.problem .stats {
    display: flex;
    gap: 48px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.problem .stat {
    text-align: center;
}

.problem .stat .num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
    font-family: var(--mono);
}

.problem .stat .label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 2px;
}

/* ── Cards ────────────────────────────────────────────────────────────────── */

.cards {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.cards h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(247, 147, 26, 0.15);
}

.card:hover h3 {
    color: var(--accent);
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.card-detail {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

/* ── Installer Section ───────────────────────────────────────────────────── */

.installer {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.installer h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-align: center;
}

.installer-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    max-width: 620px;
    margin: 0 auto 28px;
}

.installer-preview {
    text-align: center;
    margin-bottom: 32px;
}

.installer-screenshot {
    display: block;
    max-width: 100%;
    width: 420px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border);
}

.installer-features {
    margin-top: 40px;
}

.installer-features h3 {
    font-size: 1.15rem;
    margin-bottom: 24px;
    text-align: center;
}

.installer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.installer-grid-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.2s;
}

.installer-grid-item:hover {
    border-color: var(--accent-dim);
}

.installer-grid-item strong {
    font-size: 0.92rem;
    color: var(--accent);
}

.installer-grid-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .installer-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Download Wizard ──────────────────────────────────────────────────────── */

.wizard-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.wizard {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 92%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px;
    box-shadow: 0 0 60px rgba(247, 147, 26, 0.08), 0 24px 48px rgba(0, 0, 0, 0.5);
}

.wizard-glow {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}

.wizard-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.15s;
}

.wizard-close:hover {
    color: var(--text);
}

.wizard-emblem {
    text-align: center;
    margin-bottom: 24px;
}

.wizard-emblem img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    filter: drop-shadow(0 0 12px rgba(247, 147, 26, 0.3));
}

/* Progress dots */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}

.wiz-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    background: var(--bg);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wiz-dot.active {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px rgba(247, 147, 26, 0.25);
}

.wiz-dot.done {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.wiz-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    flex-shrink: 0;
}

/* Steps */
.wiz-step {
    animation: fade-up 0.35s ease;
}

.wiz-step.hidden {
    display: none;
}

.wiz-step h3 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.wiz-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* OS / Mode option buttons */
.wiz-options {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.wiz-option {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    color: var(--text);
    font-family: var(--sans);
}

.wiz-option:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.15);
}

.wiz-option.selected {
    border-color: var(--accent);
    background: rgba(247, 147, 26, 0.08);
    box-shadow: 0 0 24px rgba(247, 147, 26, 0.2);
}

.wiz-option-icon {
    font-size: 1.8rem;
}

.wiz-option-label {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Wide cards for mode selection */
.wiz-options-wide {
    flex-direction: row;
}

.wiz-option-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    padding: 24px;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
}

.wiz-option-card .wiz-option-label {
    font-size: 1.1rem;
}

.wiz-option-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    padding: 2px 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.wiz-option-tag.recommended {
    color: var(--accent);
    border-color: var(--accent-dim);
    background: rgba(247, 147, 26, 0.08);
}

.wiz-option-detail {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.wiz-option-desc {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.4;
    margin-top: 4px;
}

/* Install commands */
.wiz-install-block h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.wiz-install-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    align-items: baseline;
    flex-wrap: wrap;
}

.wiz-install-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    min-width: 100px;
    flex-shrink: 0;
}

.wiz-install-cmd {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.wiz-install-cmd code {
    display: inline-block;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--accent);
}

.wiz-install-cmd a {
    color: var(--link);
}

/* Navigation */
.wiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    gap: 12px;
}

/* Download grid */
.wiz-dl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.wiz-dl-item {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    text-decoration: none;
    transition: all 0.2s;
    color: var(--text);
}

.wiz-dl-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(247, 147, 26, 0.12);
    text-decoration: none;
}

.wiz-dl-item.main {
    grid-column: 1 / -1;
    border-color: var(--accent-dim);
    background: rgba(247, 147, 26, 0.04);
}

.wiz-dl-name {
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 600;
}

.wiz-dl-size {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.wiz-dl-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Run command */
.wiz-run-cmd {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 8px;
}

.wiz-run-cmd h4 {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.wiz-run-cmd code {
    display: inline-block;
    background: var(--bg-code);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--accent);
}

.wiz-run-note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 6px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .wizard {
        padding: 28px 20px;
        width: 96%;
    }
    .wiz-options-wide {
        flex-direction: column;
    }
    .wiz-option-card {
        max-width: none;
    }
    .wiz-dl-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Download (static) ───────────────────────────────────────────────────── */

.download {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.download h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.download .hosted {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.wizard-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.06), rgba(247, 147, 26, 0.02));
    border: 1px solid var(--accent-dim);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 28px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.wizard-banner:hover {
    border-color: var(--accent);
    box-shadow: 0 0 24px rgba(247, 147, 26, 0.15);
    transform: translateY(-2px);
}

.wizard-banner-emblem {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(247, 147, 26, 0.3));
}

.wizard-banner-text h3 {
    font-size: 1.05rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.wizard-banner-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.wizard-banner-arrow {
    font-size: 1.6rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.2s;
}

.wizard-banner:hover .wizard-banner-arrow {
    transform: translateX(4px);
}

.file-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.file-table th,
.file-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.file-table th {
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-table td:first-child {
    font-family: var(--mono);
    font-size: 0.85rem;
}

.file-table td:last-child {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
}

/* ── Quick start ──────────────────────────────────────────────────────────── */

.quickstart {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.quickstart h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.quickstart .steps {
    counter-reset: step;
}

.quickstart .step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.quickstart .step::before {
    counter-increment: step;
    content: counter(step);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 2px;
}

.quickstart .step-content h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.quickstart .step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

pre.code-block {
    background: var(--bg-code);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px 20px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 12px 0;
}

code.inline {
    background: var(--bg-code);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* ── Chainparams ──────────────────────────────────────────────────────────── */

.chainparams {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.chainparams h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.chainparams > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* ── Verify ───────────────────────────────────────────────────────────────── */

.verify {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.verify h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.verify > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* ── AI section ───────────────────────────────────────────────────────────── */

.ai-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.ai-section h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.ai-section > p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 0 20px;
}

.ai-section .ai-prompt {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    max-width: 600px;
    margin: 0;
    text-align: left;
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── Checksums ────────────────────────────────────────────────────────────── */

.checksums {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.checksums h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.checksums h3 {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 16px 0 8px;
}

.hash-line {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    word-break: break-all;
    line-height: 1.6;
    margin-bottom: 4px;
}

.hash-line .filename {
    color: var(--text);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

footer {
    padding: 32px 0;
    text-align: left;
    color: var(--text-dim);
    font-size: 0.85rem;
}

footer a {
    color: var(--text-muted);
}

/* ── Download Confirmation Overlay ────────────────────────────────────────── */

.dl-confirm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.dl-confirm-content {
    text-align: center;
    max-width: 560px;
    width: 100%;
    padding: 60px 48px;
    animation: fade-up 0.5s ease;
    position: relative;
}

.dl-confirm-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.15s;
}

.dl-confirm-close:hover {
    color: var(--text);
}

.dl-confirm-emblem img {
    width: 280px;
    height: 280px;
    border-radius: 40px;
    animation: emblem-enter 1s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               emblem-glow 3s ease-in-out 1s infinite;
    filter: drop-shadow(0 0 60px rgba(247, 147, 26, 0.5));
}

.dl-confirm-content h2 {
    font-size: 2.2rem;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.dl-confirm-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.dl-confirm-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 24px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.dl-confirm-note {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .problem .stats {
        gap: 20px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .file-table td:last-child {
        display: none;
    }
}
