/* =============================================================
   APPROMOVE — Pixel theme
   pixel.css — loaded LAST on every page (after styles.css and
   each page's inline <style>). Re-skins the site with the desktop app's
   look: app palette, VT323 pixel font for headings/labels/buttons, square
   corners, no glows/gradients/particles/custom cursor. Structure untouched.
   ============================================================= */

/* ---- APP PALETTE (same values as the Appromove desktop app) ---- */
:root {
    color-scheme: dark;
    --bg: #121212;
    --bg-soft: #151515;
    --bg-card: #1A1A1A;
    --accent: #2196F3;
    --accent-txt: #64B5F6;
    --accent-btn: #1976D2;
    --accent-soft: rgba(33,150,243,0.12);
    --cyan: #64B5F6;
    --green: #66BB6A;
    --orange: #FFA726;
    --pink: #64B5F6;
    --red: #EF5350;
    --white: #F2F2F2;
    --gray: #A6A6A6;
    --gray-dim: #868686;
    --border: #2A2A2A;
    --px: 'VT323', Consolas, 'Courier New', monospace;
    --ui: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body { font-family: var(--ui); background: var(--bg); }

/* ---- ADORNMENTS OFF ---- */
.particles, .cursor-ring, .cursor-dot { display: none !important; }
body::after { content: none !important; }
.hero::before, .hero::after { content: none !important; }
.hero-glitch::before, .hero-glitch::after { content: none !important; }

/* ---- PIXEL TYPE: headings, labels, buttons, prices ---- */
h1, h2, h3, h4,
.stitle, .nav-logo, .nav-links a, .mobile-menu a, .nav-cta, .lang-btn,
.tag, .webcam-live-tag,
.btn-primary, .btn-ghost, .btn-dark-blue,
.plan-name, .plan-price, .plan-price-old, .plan-badge, .plan-cta, .pill-btn,
.footer-links a, .footer-copy, .hero-scroll-hint {
    font-family: var(--px) !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    text-shadow: none !important;
}
h1, h2, h3, h4, .stitle { line-height: 0.95; text-wrap: balance; }
h3 { font-size: 1.6rem; }
.stitle { font-size: clamp(2.4rem, 5.4vw, 3.4rem) !important; }
.nav-logo { font-size: 1.6rem !important; }
.nav-logo img { border-radius: 4px; image-rendering: pixelated; }
.nav-links a, .mobile-menu a { font-size: 1.3rem !important; }
.footer-links a, .footer-copy { font-size: 1.2rem !important; }
.tag { font-size: 1.1rem !important; letter-spacing: 0.08em !important; padding: 3px 10px; border-radius: 3px; }
.lang-btn { font-size: 1.05rem !important; border-radius: 3px; }

/* ---- GRADIENT / GLOW TEXT -> flat app blue ---- */
.gradient-text {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: var(--accent-txt) !important;
    filter: none !important;
}
.word-blue { color: var(--accent-txt); font-weight: 600; }

/* ---- NAV: solid, no blur ---- */
nav#navbar, nav#navbar.scrolled {
    background: var(--bg);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
}
.mobile-menu { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.mobile-menu a:hover { background: var(--bg-card); }

/* ---- BUTTONS: flat, square-ish, pixel label ---- */
.btn-primary, .btn-ghost, .btn-dark-blue, .nav-cta, .plan-cta, .pill-btn {
    border-radius: 6px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transform: none !important;
}
.btn-primary, .btn-ghost, .btn-dark-blue { font-size: 1.45rem !important; padding: 12px 24px; }
.nav-cta { font-size: 1.2rem !important; }
.btn-primary { background: var(--accent-btn) !important; color: #fff !important; }
.btn-primary:hover { background: var(--accent) !important; }
.btn-primary::after { content: none !important; }
.btn-ghost, .btn-dark-blue {
    background: transparent !important; color: var(--white) !important;
    border: 2px solid var(--border) !important;
}
.btn-ghost:hover, .btn-dark-blue:hover { border-color: var(--accent-txt) !important; }
.nav-cta { background: var(--accent-btn); color: #fff; border: 0; }
.nav-cta:hover { background: var(--accent); }

/* ---- CARDS & PANELS: app panels, small radius, no glow ---- */
.feat-card, .game-card, .impact-card, .rm-item, .beta-box, .beta-form-card,
.req-card, .step-card, .faq-item, .disclaimer-box, .plan-card, .showcase-img {
    border-radius: 6px !important;
    box-shadow: none !important;
}
.feat-card, .game-card, .impact-card, .req-card, .step-card, .plan-card,
.beta-box, .beta-form-card {
    background: var(--bg-card) !important;
    border-color: var(--border) !important;
}
.plan-card.featured { border-color: var(--accent) !important; }
.showcase-img { image-rendering: auto; }

/* ---- HERO: message + demos carousel, no video ---- */
.hero { min-height: 0; padding: 120px 2rem 56px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem) !important; line-height: 0.9; margin-bottom: 1rem; }
.hero .sub { color: var(--gray); text-shadow: none; margin-bottom: 1.6rem; font-size: 1rem; max-width: 520px; }
.webcam-live-tag {
    font-size: 1.25rem !important; border-radius: 4px;
    background: #1d1810; border-color: #4a3a20; color: var(--orange);
    padding: 6px 14px;
}
.webcam-live-tag .w-dot { border-radius: 0; width: 9px; height: 9px; background: var(--orange); box-shadow: none; }
.hero-demos { width: 100%; max-width: 1100px; margin-top: 2.2rem; }
.hero-demos iframe {
    display: block; width: 100%; height: auto; aspect-ratio: 8 / 3.75; border: 0;
    background: var(--bg); color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
    .hero h1, .hero .sub, .hero-cta, .webcam-live-tag { animation: none !important; }
}

/* card titles: VT323 needs more size than Inter to read the same */
.feat-card h3, .game-card h3, .step-card h3, .req-card h3, .impact-card h3,
.rm-item h3 { font-size: 1.55rem !important; line-height: 1; }
.webcam-live-tag { line-height: 1.1; text-align: center; }

@media (max-width: 600px) {
    .nav-logo { font-size: 1.3rem !important; }
    .btn-primary, .btn-ghost, .btn-dark-blue { font-size: 1.2rem !important; padding: 10px 12px; min-width: 0; }
    .hero { padding: 96px 1rem 40px; }
    .webcam-live-tag { font-size: 1.1rem !important; }
}

@media (max-width: 420px) {
    .nav-logo { font-size: 1.15rem !important; gap: 6px; }
    .nav-right { gap: 0.5rem; }
}

/* download page: pixel labels need a bigger size than the Inter originals */
.plan-cta { font-size: 1.35rem !important; }
.plan-name { font-size: 1.35rem !important; letter-spacing: 0.08em !important; }
.plan-badge { font-size: 1.05rem !important; }
.plan-price small { font-family: var(--ui); font-size: 0.8rem; }
.pill-btn { font-size: 1.25rem !important; }
.plan-cta.free-btn, .plan-cta.primary { background: var(--accent-btn) !important; color: #fff !important; border: 0 !important; }
.plan-cta.free-btn:hover, .plan-cta.primary:hover { background: var(--accent) !important; }

/* ---- HERO fits one screen at 100% zoom (demos width is set by shared.js) ---- */
.hero { min-height: 100svh; padding: 78px 2rem 16px; justify-content: center; }
/* privacy promise right under the download count */
.hero-privacy { margin-top: 0.45rem; display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; color: var(--gray); text-align: center; }
.hero-privacy [data-lucide], .hero-privacy svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.webcam-live-tag { margin-bottom: 0.9rem; font-size: 1.1rem !important; padding: 4px 12px; }
.hero h1 { font-size: clamp(2.4rem, min(6vw, 8svh), 4.6rem) !important; margin-bottom: 0.6rem; }
.hero .sub { margin-bottom: 1rem; max-width: 640px; font-size: 0.98rem; line-height: 1.55; }
.hero-cta .btn-primary, .hero-cta .btn-ghost, .hero-cta .btn-dark-blue { font-size: 1.25rem !important; padding: 9px 18px; }
.hero-demos { margin-top: 1rem; margin-inline: auto; }
/* wide screens: headline on one line so the demo gets more height */
@media (min-width: 1000px) {
    .hero h1 br { display: none; }
    .hero h1 { font-size: clamp(2.4rem, min(4.6vw, 9svh), 4.4rem) !important; }
}
@media (max-height: 760px) and (min-width: 760px) {
    .hero { padding-top: 70px; }
    .hero .sub { max-width: 860px; }
    .hero-proof { margin-top: 0.6rem; font-size: 1.4rem; }
    .hero-proof .hp-num { font-size: 2.1rem; }
    .hero-privacy { margin-top: 0.25rem; }
    .hero-cta .btn-primary, .hero-cta .btn-ghost { padding-block: 7px; }
    .webcam-live-tag { margin-bottom: 0.5rem; }
    .hero .sub { margin-bottom: 0.7rem; }
}

/* ---- social proof under the hero buttons ---- */
.hero-proof { margin-top: 0.9rem; display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--px); font-size: 1.8rem; line-height: 1; color: var(--gray); }
.hero-proof .hp-num { color: var(--green); font-size: 2.8rem; }
.hero-proof[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =============================================================
   HOME — DOWNLOAD BOX: one primary button, trust seals, pricing strip
   ============================================================= */
.beta-section::before { content: none !important; }
.beta-box { max-width: 720px; }
.beta-box > p { margin-bottom: 1.4rem; }
.beta-box > p.dl-meta { margin: 0.6rem 0 0; font-size: 0.82rem; color: var(--gray-dim); }
.btn-primary.dl-main { display: inline-flex; align-items: center; gap: 8px; }

.trust-row {
    list-style: none; margin: 1.6rem auto 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.trust-row li {
    display: inline-flex; align-items: center; gap: 8px; text-align: left;
    padding: 6px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
    font-size: 0.82rem; line-height: 1.35; color: var(--gray);
}
.trust-row svg { width: 16px; height: 16px; flex: none; color: var(--green); }

.price-strip {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    max-width: 600px; margin: 1.6rem auto 0;
}
.ps-cell {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 12px 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
    text-decoration: none; color: var(--white);
}
.ps-cell:hover { border-color: var(--accent-txt); }
.ps-cell.ps-pro { border-color: var(--accent); }
.ps-name { font-family: var(--px); font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); line-height: 1; }
.ps-price { font-family: var(--px); font-size: 2.3rem; line-height: 1; color: var(--white); }
.ps-note { font-size: 0.75rem; line-height: 1.3; color: var(--gray); text-align: center; }
.beta-box > p.ps-foot {
    margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--gray);
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
}
.ps-once { display: inline-flex; align-items: center; gap: 6px; }
.ps-once svg { width: 15px; height: 15px; flex: none; color: var(--green); }
.ps-foot a { font-family: var(--px); font-size: 1.3rem; color: var(--accent-txt); text-decoration: none; }
.ps-foot a:hover { text-decoration: underline; }
@media (max-width: 520px) {
    .price-strip { grid-template-columns: 1fr; max-width: 320px; }
    .ps-cell { flex-direction: row; justify-content: space-between; flex-wrap: wrap; padding: 10px 14px; gap: 2px 10px; }
    .ps-note { flex-basis: 100%; text-align: left; }
}

/* =============================================================
   HOME — EMAIL CAPTURE (#newsletter, Formspree via shared.js bindForm)
   ============================================================= */
.home-news { padding: 56px 2rem; border-top: 1px solid var(--border); text-align: center; }
.home-news .inner { max-width: 560px; }
.home-news h3 { font-size: 1.9rem !important; margin-bottom: 0.5rem; }
.home-news p { color: var(--gray); font-size: 0.92rem; margin-bottom: 1.2rem; }
.news-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.news-form input[type="email"] {
    flex: 1; min-width: 0; padding: 10px 12px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px;
    color: var(--white); font: inherit; font-size: 0.95rem;
}
.news-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.news-form input::placeholder { color: var(--gray-dim); }
/* secondary weight: the download button stays the only primary action */
.news-form button {
    flex: none; padding: 6px 18px; cursor: pointer;
    background: transparent; color: var(--white); border: 2px solid var(--border); border-radius: 6px;
    font-family: var(--px); font-size: 1.35rem;
}
.news-form button:hover { border-color: var(--accent-txt); }
.home-news .news-ok { display: none; margin: 0; color: var(--green); font-family: var(--px); font-size: 1.4rem; }
.home-news .news-ok.show { display: block; }
@media (max-width: 500px) { .news-form { flex-direction: column; } .home-news { padding: 48px 1rem; } }
.beta-box { padding: 2.2rem 2rem 1.8rem; border: 1px solid var(--border); }
@media (max-width: 600px) { .beta-box { padding: 1.8rem 1rem 1.4rem; } }
@media (max-width: 420px) {
    .hero-proof { gap: 8px; font-size: 1.45rem; }
    .hero-proof .hp-num { font-size: 2.3rem; }
}

/* =============================================================
   RESPONSIVE — phones (360-430), tablets (768/1024), desktop (1366+)
   Overflow guards, nav that fits at 360px, readable type floors,
   >=40px tap targets. Does not touch .hero-demos sizing (shared.js fitHero).
   ============================================================= */

/* ---- overflow guards (all widths) ---- */
body { overflow-wrap: break-word; }
img, video { max-width: 100%; }
pre { max-width: 100%; overflow-x: auto; }
/* oversized glow decorations (800/700px wide) widened the page; the pixel theme has no glows */
.page-hero::before { content: none !important; }

/* VT323 labels that were still Inter-sized (microscopic in the pixel font) */
.plan-name > span { font-size: 0.85rem !important; padding: 1px 7px !important; }
.plan-price-old { font-size: 1.15rem !important; }
.rm-card h4, .req-card h4, .install-body h4, .beta-form-card h4 { font-size: 1.4rem !important; line-height: 1.05; }

/* ES-only layout bugs: styles.css shows ES copies with display:revert (inline for <span>/<small>),
   so ES elements lost the block/flex display their EN twins get */
body.lang-es .plan-price small[data-lang="es"],
body.lang-es .rm-phase-badge[data-lang="es"] { display: inline-flex !important; }
body.lang-es .rm-status[data-lang="es"] { display: inline-block !important; }

/* download page: the fixed side menu (~125px) only clears the 1100px pricing grid from ~1360px */
@media (max-width: 1359px) { .page-map { display: none !important; } }

/* ---- tablets: the 3 nav links + lang + CTA do not fit below ~880px -> hamburger ---- */
@media (max-width: 880px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; width: 40px; height: 40px; align-items: center; padding: 0; }
    nav#navbar { padding: 0 1.25rem; }
    .mobile-menu a { padding: 0.9rem 1.25rem; min-height: 48px; }
    .footer-links { gap: 0.2rem 1rem; }
    .footer-links a { display: inline-block; padding: 10px 6px; }
}
@media (max-width: 768px) {
    .pricing-grid { max-width: 520px !important; }
    .rm-hero-stats { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- phones ---- */
@media (max-width: 600px) {
    /* nav: logo + ES/EN + Download + hamburger, all >=40px tall */
    nav#navbar { padding: 0; }
    .nav-inner { padding: 0 16px; }
    .nav-logo { min-height: 40px; flex-shrink: 1; }
    .nav-logo img { width: 28px; height: 28px; }
    .nav-right { gap: 6px; }
    .lang-switch { gap: 3px; }
    .lang-btn { min-width: 34px; height: 40px; padding: 0 6px !important; font-size: 1.1rem !important; }
    .nav-cta {
        display: inline-flex; align-items: center; height: 40px; padding: 0 10px;
        font-size: 1.15rem !important; line-height: 40px; white-space: nowrap; flex-shrink: 0;
    }

    /* hero buttons: the 2-column grid cut "Descargar gratis"; stack them full width */
    .hero-cta { grid-template-columns: minmax(0, 1fr); max-width: 340px; margin-inline: auto; }
    .hero-cta > a { white-space: normal; justify-content: center; min-height: 44px; }

    /* body text >= 15px */
    .hero .sub, .sdesc, .page-hero p, .pricing-head p, .section-desc,
    .feat-card p, .game-card p, .req-card p, .step-card p, .impact-card p, .install-body p,
    .plan-desc, .faq-a p, .beta-form-card p, .rm-card p,
    .home-news p, .email-strip p,
    .privacy-body p, .privacy-body li, .showcase-text p,
    .beta-box > p:not(.dl-meta):not(.ps-foot) { font-size: 15px !important; line-height: 1.6; }
    .beta-box > p.dl-meta, .beta-box > p.ps-foot, .small-note, figcaption { font-size: 14px !important; }

    /* small UI labels >= 12-14px */
    .trust-row li { font-size: 13.5px; }
    .ps-note { font-size: 13px; }
    .gh-lbl, .rm-stat-lbl { font-size: 13px !important; }
    .game-gestures span, .limit-badge, .unlimit-badge span, .section-tag { font-size: 12.5px !important; }
    .rm-status, .rm-phase-badge { font-size: 12px !important; }
    .rm-nav-item { font-size: 14px !important; min-height: 40px; display: inline-flex; align-items: center; }
    .filter-btn { font-size: 14px !important; min-height: 40px; }
    .plan-badge { font-size: 1.2rem !important; }
}

/* narrowest phones: the logo keeps its icon, the wordmark gives way to the CTA */
@media (max-width: 384px) {
    .nav-logo { font-size: 0 !important; gap: 0; }
}

/* =============================================================
   MOBILE VISITORS: the app is Windows-only, so on touch devices the download
   buttons become "send me the link / copy link" (.send-link blocks)
   ============================================================= */
.send-link { display: none; }
@media (hover: none) and (pointer: coarse) {
    .send-link { display: grid; gap: 10px; justify-items: center; width: 100%; max-width: 380px; margin-inline: auto; }
    .hero-cta, .beta-box .dl-meta { display: none !important; }
    /* beats the language rule body.lang-es a.btn-primary[data-lang="es"] { display: inline-flex !important } */
    body .beta-box a.dl-main[data-lang], body.lang-es .beta-box a.dl-main[data-lang] { display: none !important; }
    .dl-mobile { max-width: 520px; margin-bottom: 1.6rem; padding: 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-card); }
}
.hm-note { color: var(--gray); font-size: 0.98rem; line-height: 1.5; text-align: center; }
.hm-note strong { color: var(--white); font-weight: 600; }
.hm-actions { display: grid; gap: 8px; width: 100%; }
.hm-actions button { width: 100%; min-height: 48px; cursor: pointer; }
.hm-actions [data-lucide], .hm-actions svg { width: 18px; height: 18px; }
.hm-done { min-height: 1.2em; font-size: 0.9rem; color: var(--green); text-align: center; word-break: break-all; }
.hm-done:empty { min-height: 0; }
.hm-pc { font-size: 0.85rem; color: var(--gray-dim); }
.hm-pc:hover { color: var(--accent-txt); }

/* =============================================================
   NAV — 5 links (Games, Effects, Roadmap, Contact, Download) + ES/EN + CTA
   must fit from 881px up (<=880px is the hamburger)
   ============================================================= */
@media (min-width: 881px) and (max-width: 1180px) {
    nav#navbar { padding: 0 1.25rem; }
    .nav-links { gap: 1.1rem; }
    .nav-right { gap: 0.6rem; }
    .nav-cta { padding: 6px 12px; }
}
/* in-page targets clear the fixed 60px nav */
#features, #creadores, #contacto { scroll-margin-top: 60px; }

/* =============================================================
   HOME — COMPARISON (#features): webcam + Appromove vs. Kinect, VR headset, trackers
   ============================================================= */
.cmp-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 12px; row-gap: 0; text-align: left;
}
.cmp-card {
    display: flex; flex-direction: column;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px;
    padding: 18px 16px 10px; margin-bottom: 12px; min-width: 0;
}
/* the same rows line up across cards (price, facts, pros, cons) */
@supports (grid-template-rows: subgrid) {
    .cmp-card { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
}
.cmp-card.cmp-us { border: 2px solid var(--accent); padding: 17px 15px 9px; }
.cmp-kicker {
    margin: 0 0 4px; font-family: var(--px); font-size: 1.1rem; line-height: 1;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-dim);
}
.cmp-us .cmp-kicker { color: var(--accent-txt); }
.cmp-card h3 { margin: 0 0 12px; font-size: 1.85rem !important; line-height: 1; color: var(--white); }
.cmp-price { margin: 0 0 6px; font-family: var(--px); font-size: 2.1rem; line-height: 1; color: var(--white); }
.cmp-price small { font-family: var(--ui); font-size: 0.8rem; color: var(--gray); }
.cmp-us .cmp-price { color: var(--green); }
.cmp-pnote { margin: 0 0 14px; font-size: 0.8rem; line-height: 1.45; color: var(--gray); }
.cmp-dl { margin: 0 0 12px; border-top: 1px solid var(--border); }
.cmp-dl > div { padding: 8px 0; border-bottom: 1px solid var(--border); }
.cmp-dl dt { margin-bottom: 3px; font-family: var(--px); font-size: 1.1rem; line-height: 1; letter-spacing: 0.04em; color: var(--gray-dim); }
.cmp-dl dd { margin: 0; font-size: 0.86rem; line-height: 1.45; color: var(--white); }
.cmp-pros, .cmp-cons { list-style: none; margin: 0 0 8px; padding: 0; font-size: 0.84rem; line-height: 1.45; color: var(--gray); }
.cmp-pros li, .cmp-cons li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.cmp-pros li::before, .cmp-cons li::before {
    position: absolute; left: 1px; top: 0; font-family: var(--px); font-size: 1.25rem; line-height: 1.05;
}
.cmp-pros li::before { content: '+'; color: var(--green); }
.cmp-cons li::before { content: '-'; color: var(--orange); }
.cmp-foot { max-width: 720px; margin: 14px auto 0; text-align: center; font-size: 0.8rem; line-height: 1.5; color: var(--gray-dim); }
.cmp-more { margin: 14px 0 0; text-align: center; }
.cmp-more a { font-family: var(--px); font-size: 1.35rem; color: var(--accent-txt); text-decoration: none; }
.cmp-more a:hover { text-decoration: underline; }
@media (max-width: 1060px) { .cmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .cmp-grid { grid-template-columns: minmax(0, 1fr); }
    .cmp-pnote, .cmp-dl dd, .cmp-pros, .cmp-cons { font-size: 14px; }
    .cmp-foot { font-size: 13px; }
}

/* =============================================================
   HOME — STREAMERS & CREATORS (#creadores): pixel animations like efectos.html
   (.run is toggled by shared.js only while on screen; reduced motion = still frame)
   ============================================================= */
.cr-section { border-top: 1px solid var(--border); }
.cr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.cr-fig { margin: 0; padding: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; }
.cr-anim svg { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.cr-anim text { font-family: var(--px); }
.cr-anim .ar { fill: var(--gray-dim); font-size: 16px; }
.cr-fig figcaption { margin-top: 10px; font-size: 0.86rem; line-height: 1.45; color: var(--gray); }
.cr-fig figcaption strong {
    display: block; margin-bottom: 4px; font-family: var(--px); font-weight: 400;
    font-size: 1.4rem; line-height: 1; color: var(--white);
}
.cr-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.cr-box { padding: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; }
.cr-box h3 { margin: 0 0 12px; font-size: 1.75rem !important; color: var(--white); }
.cr-box ul { margin: 0; padding-left: 1.1em; font-size: 0.92rem; line-height: 1.6; color: var(--gray); }
.cr-box ul li { margin-bottom: 6px; }
.cr-box li strong, .cr-obs strong { color: var(--white); font-weight: 600; }
.cr-obs { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.85rem; line-height: 1.5; color: var(--gray); }
.cr-ideas { margin: 0; padding: 0; list-style: none; counter-reset: idea; }
.cr-ideas li {
    position: relative; counter-increment: idea; margin-bottom: 6px; padding: 9px 10px 9px 44px;
    background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
    font-family: var(--px); font-size: 1.35rem; line-height: 1.05; color: var(--white);
}
.cr-ideas li::before { content: counter(idea, decimal-leading-zero); position: absolute; left: 12px; top: 9px; color: var(--orange); }
.cr-call {
    margin-top: 14px; padding: 20px; text-align: center;
    background: var(--bg-card); border: 1px solid var(--accent); border-radius: 6px;
}
.cr-call p { margin: 0 0 14px; color: var(--gray); }
.cr-call p strong { color: var(--white); font-weight: 600; }
.cr-call .btn-ghost { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cr-call .btn-ghost svg { width: 18px; height: 18px; }

/* frames: still frame = the "action" frame (cB); HP at half, counter 2/4 */
.cr-anim { --d: 1.6s; }
.cr-anim .cA { opacity: 0; }
.cr-anim .cr-hp { transform-box: fill-box; transform-origin: left center; transform: scaleX(0.5); }
.cr-anim .cr-cnt text { opacity: 0; }
.cr-anim .cr-cnt .n2 { opacity: 1; }
.cr-anim.run .cA { animation: crA var(--d) linear infinite; }
.cr-anim.run .cB { animation: crB var(--d) linear infinite; }
/* 4 punches per loop: each lands at the start of a B frame (12.5%, 37.5%, 62.5%, 87.5%) */
.cr-anim.run .cr-hp { animation: crHp calc(var(--d) * 4) linear infinite; }
.cr-anim.run .cr-cnt .n0 { animation: crN0 calc(var(--d) * 4) linear infinite; }
.cr-anim.run .cr-cnt .n1 { animation: crN1 calc(var(--d) * 4) linear infinite; }
.cr-anim.run .cr-cnt .n2 { animation: crN2 calc(var(--d) * 4) linear infinite; }
.cr-anim.run .cr-cnt .n3 { animation: crN3 calc(var(--d) * 4) linear infinite; }
.cr-anim.run .cr-cnt .n4 { animation: crN4 calc(var(--d) * 4) linear infinite; }
@keyframes crA { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes crB { 0%, 49.9% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes crHp {
    0%, 12.4% { transform: scaleX(1); }     12.5%, 37.4% { transform: scaleX(0.75); }
    37.5%, 62.4% { transform: scaleX(0.5); } 62.5%, 87.4% { transform: scaleX(0.25); }
    87.5%, 100% { transform: scaleX(0); }
}
@keyframes crN0 { 0%, 12.4% { opacity: 1; } 12.5%, 100% { opacity: 0; } }
@keyframes crN1 { 0%, 12.4% { opacity: 0; } 12.5%, 37.4% { opacity: 1; } 37.5%, 100% { opacity: 0; } }
@keyframes crN2 { 0%, 37.4% { opacity: 0; } 37.5%, 62.4% { opacity: 1; } 62.5%, 100% { opacity: 0; } }
@keyframes crN3 { 0%, 62.4% { opacity: 0; } 62.5%, 87.4% { opacity: 1; } 87.5%, 100% { opacity: 0; } }
@keyframes crN4 { 0%, 87.4% { opacity: 0; } 87.5%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .cr-anim *, .cr-anim.run * { animation: none !important; }
}
@media (max-width: 860px) {
    .cr-grid, .cr-cols { grid-template-columns: minmax(0, 1fr); }
    .cr-grid { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 600px) {
    .cr-box { padding: 16px; }
    .cr-fig figcaption, .cr-box ul, .cr-obs { font-size: 15px; }
}

/* =============================================================
   HOME — CONTACT (#contacto): selectable address + copy button, no form
   ============================================================= */
.ct-section { padding: 64px 2rem 72px; border-top: 1px solid var(--border); text-align: center; }
.ct-section .inner { max-width: 760px; }
.ct-section .tag { display: inline-block; margin-bottom: 0.8rem; }
.ct-lead { margin: 0.6rem 0 1.2rem; color: var(--gray); }
.ct-mail { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 8px; }
.ct-addr {
    max-width: 100%; padding: 6px 16px; overflow-wrap: anywhere;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px;
    font-family: var(--px); font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; color: var(--accent-txt);
    -webkit-user-select: all; user-select: all; cursor: text;
}
.ct-btn {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 16px;
    background: transparent; color: var(--white); border: 2px solid var(--border); border-radius: 6px;
    font-family: var(--px); font-size: 1.3rem; line-height: 1; text-decoration: none; cursor: pointer;
}
.ct-btn:hover { border-color: var(--accent-txt); }
.ct-btn svg { width: 17px; height: 17px; flex: none; }
.ct-status { min-height: 1.3em; margin: 8px 0 0; font-size: 0.9rem; color: var(--green); }
.ct-topics {
    list-style: none; margin: 14px 0 0; padding: 0; text-align: left;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.ct-topic {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; height: 100%;
    padding: 12px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px;
    text-decoration: none;
}
.ct-topic:hover { border-color: var(--accent-txt); }
.ct-topic svg { grid-row: span 2; width: 20px; height: 20px; margin-top: 1px; color: var(--accent-txt); }
.ct-tt { font-family: var(--px); font-size: 1.35rem; line-height: 1; color: var(--white); }
.ct-td { font-size: 0.84rem; line-height: 1.4; color: var(--gray); }
@media (max-width: 600px) {
    .ct-section { padding: 48px 1rem 56px; }
    .ct-topics { grid-template-columns: minmax(0, 1fr); }
    .ct-lead, .ct-td { font-size: 15px; }
}

/* nav has 6 links now: switch to the hamburger before they touch the logo / language buttons */
@media (max-width: 1100px) {
    .nav-links { display: none !important; }
    .nav-hamburger { display: flex !important; }
}

/* ---- HERO: current version badge (links to the release history) ---- */
.webcam-live-tag.ver-tag {
    text-decoration: none; background: #10202f; border-color: #23415f; color: var(--accent-txt);
}
.webcam-live-tag.ver-tag:hover { border-color: var(--accent-txt); }
.webcam-live-tag.ver-tag b { color: var(--white); font-weight: 400; }
.webcam-live-tag.ver-tag .w-dot { background: var(--green); animation: ver-blink 1.6s steps(2) infinite; }
@keyframes ver-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .webcam-live-tag.ver-tag .w-dot { animation: none; } }

/* ---- HERO: webcam-only + local processing, bigger (two items) ---- */
.hero-privacy { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-top: 0.6rem; font-size: 1.12rem; }
.hero-privacy .hp-item { display: inline-flex; align-items: center; gap: 9px; color: var(--gray); }
.hero-privacy .hp-item b { color: var(--white); font-weight: 600; }
.hero-privacy [data-lucide], .hero-privacy svg { width: 20px; height: 20px; color: var(--green); flex: none; }
@media (max-width: 600px) { .hero-privacy { font-size: 1rem; flex-direction: column; align-items: center; } }
