/* =========================================================
   InforTécnico Modelos - folha de estilo principal
   Todas as cores vêm das variáveis do tema ativo (data-theme no <html>).
   ========================================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ===== TEMA PADRÃO (Midnight / escuro) ===== */
:root,
html[data-theme="escuro"] {
    --bg: #0a0e17;
    --surface: #111827;
    --surface-2: #1a2233;
    --text: #e5e9f0;
    --heading: #ffffff;
    --muted: #94a3b8;
    --primary: #6366f1;
    --primary-2: #8b5cf6;
    --accent: #22d3ee;
    --on-primary: #ffffff;
    --border: #1f2937;
    --header-bg: rgba(10,14,23,.82);
    --code-bg: #0d1320;
    --code-bar: #0a0f1a;
    --soft: color-mix(in srgb, var(--primary) 14%, transparent);
    --soft-border: color-mix(in srgb, var(--primary) 32%, transparent);
    --soft-text: #a5b4fc;
    --shadow: 0 10px 40px rgba(0,0,0,.35);
    --radius: 16px;
    color-scheme: dark;
}

/* ===== DAYLIGHT (claro) ===== */
html[data-theme="claro"] {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --text: #1e293b;
    --heading: #0f172a;
    --muted: #64748b;
    --primary: #2563eb;
    --primary-2: #1d4ed8;
    --accent: #0891b2;
    --border: #e2e8f0;
    --header-bg: rgba(255,255,255,.85);
    --code-bg: #0f172a;
    --code-bar: #0b1222;
    --soft-text: #1d4ed8;
    --shadow: 0 10px 40px rgba(15,23,42,.10);
    color-scheme: light;
}

/* ===== FOREST (verde) ===== */
html[data-theme="verde"] {
    --bg: #0a1410;
    --surface: #0f1f18;
    --surface-2: #163025;
    --text: #e7f5ee;
    --heading: #f4fff9;
    --muted: #94b8a5;
    --primary: #16a34a;
    --primary-2: #15803d;
    --accent: #84cc16;
    --border: #1a3527;
    --header-bg: rgba(10,20,16,.82);
    --code-bg: #0b1812;
    --code-bar: #08120d;
    --soft-text: #86efac;
    --shadow: 0 10px 40px rgba(0,0,0,.4);
}

/* ===== SUNSET (laranja) ===== */
html[data-theme="laranja"] {
    --bg: #1a0e0a;
    --surface: #241410;
    --surface-2: #2f1a13;
    --text: #fdece4;
    --heading: #fff7f2;
    --muted: #c4a394;
    --primary: #ea580c;
    --primary-2: #db2777;
    --accent: #fbbf24;
    --border: #3a1f16;
    --header-bg: rgba(26,14,10,.82);
    --code-bg: #150a07;
    --code-bar: #100805;
    --soft-text: #fdba74;
    --shadow: 0 10px 40px rgba(0,0,0,.45);
}

/* ===== OCEAN (azul) ===== */
html[data-theme="azul"] {
    --bg: #0a1929;
    --surface: #0f2438;
    --surface-2: #153048;
    --text: #e0f2fe;
    --heading: #f0f9ff;
    --muted: #7da7c4;
    --primary: #0284c7;
    --primary-2: #0369a1;
    --accent: #38bdf8;
    --border: #1a3a54;
    --header-bg: rgba(10,25,41,.82);
    --code-bg: #071423;
    --code-bar: #05101c;
    --soft-text: #7dd3fc;
    --shadow: 0 10px 40px rgba(0,0,0,.45);
}

/* ===== Base ===== */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color .35s ease, color .35s ease;
}
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.container { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }
.center { text-align: center; margin-top: 2.5rem; }
::selection { background: var(--primary); color: var(--on-primary); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 300;
    padding: .6rem 1rem; border-radius: 8px;
    background: var(--primary); color: var(--on-primary); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s, background-color .35s;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .9rem 0; }
.logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.25rem; color: var(--heading); margin-right: auto; }
.logo-mark {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-weight: 900;
}
.logo-text span { color: var(--primary); }
.main-nav { order: 1; }
.header-actions { order: 2; display: flex; align-items: center; gap: .6rem; }
.main-nav ul { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { color: var(--muted); font-weight: 500; transition: color .2s; position: relative; }
.main-nav a:hover, .main-nav a.active { color: var(--heading); }
.main-nav a.active::after {
    content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Botão "Temas" */
.btn-nav {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem 1.1rem; border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--on-primary); border: 0; cursor: pointer;
    font-weight: 600; font-size: .95rem;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 35%, transparent);
    transition: transform .2s, box-shadow .2s;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 45%, transparent); }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 9px; border-radius: 10px;
    background: var(--surface-2); border: 1px solid var(--border); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Botões ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.7rem; border-radius: 999px;
    font-weight: 600; font-size: 1rem; line-height: 1.2;
    transition: transform .2s, box-shadow .2s, border-color .2s, color .2s, background-color .2s;
    border: 0; cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--on-primary);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 35%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px color-mix(in srgb, var(--primary) 50%, transparent); }
.btn-ghost { border: 1px solid var(--border); color: var(--heading); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: var(--heading); color: var(--bg); }
.btn-light:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ===== Hero ===== */
.hero { padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(50px);
}
.hero::before {
    top: -200px; right: -100px; width: 520px; height: 520px;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 30%, transparent), transparent 70%);
}
.hero::after {
    bottom: -220px; left: -160px; width: 460px; height: 460px;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.badge {
    display: inline-block; padding: .4rem .9rem; border-radius: 999px;
    background: var(--soft); border: 1px solid var(--soft-border);
    color: var(--soft-text); font-size: .85rem; font-weight: 500; margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -.025em; }
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 1.1rem; margin: 1.2rem 0 2rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.7rem; color: var(--heading); line-height: 1.2; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

/* Janela de código */
.code-window {
    background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; color: #e5e9f0;
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform .5s ease;
}
.code-window:hover { transform: none; }
.code-bar { display: flex; gap: .5rem; padding: .8rem 1rem; background: var(--code-bar); border-bottom: 1px solid rgba(255,255,255,.06); }
.code-bar span { width: 12px; height: 12px; border-radius: 50%; background: #334155; }
.code-bar span:nth-child(1) { background: #ef4444; }
.code-bar span:nth-child(2) { background: #eab308; }
.code-bar span:nth-child(3) { background: #22c55e; }
.code-window pre { padding: 1.5rem; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Courier New', monospace; font-size: .9rem; line-height: 1.8; overflow-x: auto; }
.c-key { color: #f472b6; }
.c-attr { color: #fbbf24; }
.c-str { color: #34d399; }

/* ===== Seções ===== */
.section { padding: 4.5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .6rem; letter-spacing: -.02em; }
.section-head p { color: var(--muted); }
.page-head { text-align: center; padding-bottom: 1rem; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.02em; }
.page-head p { color: var(--muted); margin-top: .6rem; }
.page-head + .section { padding-top: 1.5rem; }

/* ===== Cards ===== */
.grid-cards {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.8rem;
}
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s, background-color .35s;
    display: flex; flex-direction: column;
}
.card.clickable { cursor: pointer; }
.card:hover, .card:focus-visible { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--surface-2); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img { transform: scale(1.05); }
.card-tag {
    position: absolute; top: .8rem; left: .8rem; padding: .3rem .75rem; border-radius: 999px;
    background: rgba(10,14,23,.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    font-size: .75rem; font-weight: 600; color: #fff; letter-spacing: .02em;
}
.card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card-body p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
    font-size: .75rem; padding: .2rem .6rem; border-radius: 6px;
    background: var(--soft); color: var(--soft-text); border: 1px solid var(--soft-border);
}
.card-more { margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--primary); }
.card-more span { display: inline-block; transition: transform .2s; }
.card:hover .card-more span { transform: translateX(4px); }

/* ===== Filtros ===== */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
    padding: .5rem 1.15rem; border-radius: 999px; border: 1px solid var(--border);
    background: var(--surface); color: var(--muted); font-weight: 500; transition: .2s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--heading); }
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--on-primary); border-color: transparent;
}
.empty { text-align: center; color: var(--muted); grid-column: 1/-1; padding: 3rem; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .8rem; letter-spacing: -.02em; }
.cta-inner p { color: var(--muted); margin-bottom: 2rem; }

/* ===== Contato ===== */
.contato-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.contato-info h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.info-list li { padding: 1rem 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.info-list li strong { color: var(--heading); }
.info-list li a { color: var(--primary); word-break: break-word; }
.info-list li a:hover { text-decoration: underline; }
.contato-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.2rem; }
.form label { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
    display: block; width: 100%; margin-top: .4rem; padding: .8rem 1rem; border-radius: 10px;
    background: var(--surface-2); border: 1px solid var(--border);
    color: var(--text); font-family: inherit; font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.5rem; font-size: .95rem; }
.alert-success { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); color: #86efac; }
.alert-error { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: #fca5a5; }
html[data-theme="claro"] .alert-success { color: #166534; }
html[data-theme="claro"] .alert-error { color: #991b1b; }
.alert ul { padding-left: 1.2rem; list-style: disc; }

/* ===== Modal de modelo ===== */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-content {
    position: relative; width: min(720px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
    position: absolute; top: 1rem; right: 1rem; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(10,14,23,.75); color: #fff; font-size: 1.5rem; line-height: 1;
}
.modal-img { aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: var(--surface-2); }
.modal-body { padding: 1.8rem; position: relative; }
.modal-body .card-tag { position: static; display: inline-block; margin-bottom: .8rem; background: var(--soft); color: var(--soft-text); }
.modal-body h2 { margin-bottom: .6rem; }
.modal-body p { color: var(--muted); margin-bottom: 1.2rem; }
.modal-body .btn { margin-top: 1.4rem; }

/* ===== Painel de Temas ===== */
.theme-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 300;
    width: min(380px, 100vw);
    background: var(--surface); color: var(--text);
    border-right: 1px solid var(--border);
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1), background-color .35s;
    display: flex; flex-direction: column;
    box-shadow: 10px 0 40px rgba(0,0,0,.35);
}
.theme-sidebar.open { transform: translateX(0); }
.theme-sidebar-header {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
    padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--border);
}
.theme-sidebar-header h3 { font-size: 1.15rem; }
.theme-hint { color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.theme-close {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
    font-size: 1.4rem; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s;
}
.theme-close:hover { color: var(--heading); border-color: var(--muted); }
.theme-list {
    flex: 1; overflow-y: auto; padding: 1rem;
    display: flex; flex-direction: column; gap: .7rem;
}
.theme-item {
    display: flex; align-items: center; gap: .9rem; width: 100%;
    padding: .8rem; border-radius: 12px;
    background: var(--surface-2); border: 2px solid transparent;
    cursor: pointer; text-align: left; color: var(--text);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.theme-item:hover { border-color: var(--muted); transform: translateX(2px); }
.theme-item.selected { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
.theme-preview {
    display: flex; gap: 2px; width: 56px; height: 56px;
    border-radius: 10px; overflow: hidden; flex-shrink: 0;
    border: 1px solid rgba(127,127,127,.25);
}
.theme-preview span { flex: 1; }
.theme-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.theme-info strong { font-size: .98rem; color: var(--heading); }
.theme-info small { color: var(--muted); font-size: .82rem; }
.theme-check {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--primary); color: var(--on-primary);
    font-weight: 700; font-size: .85rem;
    opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s;
}
.theme-item.selected .theme-check { opacity: 1; transform: scale(1); }
.theme-sidebar-footer { padding: 1rem 1.4rem; border-top: 1px solid var(--border); }
.theme-overlay {
    position: fixed; inset: 0; z-index: 290;
    background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; transition: opacity .3s;
}
.theme-overlay.open { opacity: 1; }

/* ===== Footer ===== */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3.5rem 0 0; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.logo-footer { margin-bottom: .8rem; display: inline-flex; }
.footer-desc { color: var(--muted); font-size: .95rem; max-width: 300px; }
.footer-grid h4 { margin-bottom: 1rem; font-size: 1rem; }
.footer-grid ul li { margin-bottom: .5rem; }
.footer-grid ul a { color: var(--muted); transition: color .2s; word-break: break-word; }
.footer-grid ul a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.2rem 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* ===== Animação de entrada ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
    .hero { padding: 3rem 0 3rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .code-window { transform: none; }
    .contato-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .header-inner { gap: .75rem; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--surface); border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0,0,0,.2);
        max-height: 0; overflow: hidden; visibility: hidden;
        transition: max-height .35s ease, visibility .35s;
    }
    .main-nav.open { max-height: 320px; visibility: visible; }
    .main-nav ul { flex-direction: column; align-items: stretch; padding: .8rem 1rem 1rem; gap: .25rem; }
    .main-nav ul a { display: block; padding: .8rem 1rem; border-radius: 10px; }
    .main-nav ul a:hover, .main-nav ul a.active { background: var(--surface-2); }
    .main-nav a.active::after { display: none; }
    .section { padding: 3.25rem 0; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-stats { gap: 1.5rem 2rem; margin-top: 2.25rem; }
    .contato-form-wrap { padding: 1.4rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .logo { font-size: 1.1rem; }
    .btn-nav { padding: .55rem .8rem; }
    .btn-nav-label { display: none; }
    .hero h1 { font-size: 2rem; }
    .code-window pre { font-size: .78rem; padding: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
