/* Tokens de AppColors.light/dark; naranja oscuro para texto accesible en claro. */
:root {
  color-scheme: light dark;
  --base: #f1f5f9;
  --surface: #ffffff;
  --soft: #e2e8f0;
  --border: #cbd5e1;
  --text: #0f172a;
  --muted: #475569;
  --orange: #c2410c;
  --orange-bright: #ea580c;
  --lime: #3f6212;
  --button: #0f172a;
  --button-text: #f8fafc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --base: #080e1c;
    --surface: #0d1321;
    --soft: #151b29;
    --border: #263248;
    --text: #f8fafc;
    --muted: #94a3b8;
    --orange: #ff8533;
    --orange-bright: #ff6b00;
    --lime: #bef264;
    --button: #f8fafc;
    --button-text: #080e1c;
  }
}
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--base); color: var(--text); }
body { margin: 0; line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; border-radius: 3px; }
p, h1, h2, h3 { margin: 0; }
.shell { width: min(100% - 32px, 880px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px; background: var(--surface); z-index: 2; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 24px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.7px; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--orange-bright); color: #080e1c; font-size: 23px; font-weight: 900; line-height: 1; letter-spacing: -3px; padding-right: 3px; }
.brand-mark span { transform: translateY(-2px); }
.social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; color: var(--muted); text-decoration: none; }
.social-link span { color: var(--orange); font-size: 21px; }
.intro { padding-block: 42px 36px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.tiny-cross { color: var(--orange); font-size: 22px; line-height: 1; }
h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.1; letter-spacing: -2px; font-weight: 800; margin-top: 16px; text-wrap: balance; }
h1 span { color: var(--orange); }
.intro-copy { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 560px; }
.desktop-break { display: none; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-heading h2 { font-size: 14px; font-weight: 650; }
.section-heading > span { color: var(--muted); font-size: 11px; font-family: ui-monospace, monospace; }
.projects { display: grid; gap: 16px; }
.project { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; position: relative; }
.project::before { content: ""; position: absolute; top: -1px; left: 24px; width: 40px; height: 3px; border-radius: 2px; background: var(--orange-bright); }
.joker::before { background: var(--lime); }
.project-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.project-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--soft); flex-shrink: 0; }
.project-icon svg { width: 39px; height: 39px; }
.gym-icon { color: var(--orange); }
.joker-icon { color: var(--lime); }
.card-front { fill: var(--soft); }
.project-type { font-family: ui-monospace, monospace; font-size: 10px; font-weight: 600; letter-spacing: .6px; color: var(--muted); }
h3 { font-size: 25px; font-weight: 800; line-height: 1.2; letter-spacing: -.7px; }
.project-tagline { font-size: 15px; font-weight: 600; margin-top: 7px; }
.project-description { color: var(--muted); font-size: 14px; margin-top: 14px; }
.features { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 19px 0 24px; list-style: none; }
.features li { padding: 4px 9px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); font-size: 11px; }
.project-bottom { margin-top: auto; }
.coming-soon { color: var(--orange); font-size: 12px; font-weight: 650; padding-block: 11px; }
.coming-soon span { font-size: 17px; vertical-align: -1px; margin-right: 3px; }
.project-legal { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 12px; }
.project-legal a { display: inline-flex; align-items: center; min-height: 32px; }
.play-button { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; min-height: 48px; border-radius: 9px; background: var(--button); color: var(--button-text); text-decoration: none; font-size: 14px; font-weight: 700; }
.play-button:hover { background: var(--orange); color: var(--surface); }
.play-button span { font-size: 22px; line-height: 1; }
.site-footer { margin-top: 32px; padding-block: 24px 28px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.footer-contact p { font-size: 14px; font-weight: 650; color: var(--text); margin-bottom: 6px; }
.email { display: inline-block; padding-block: 6px; overflow-wrap: anywhere; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 22px; font-size: 11px; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-base nav a { display: inline-flex; align-items: center; min-height: 32px; }
.error-main { padding-block: 64px; max-width: 550px; }
.error-main h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 20px; }
.error-main .play-button { margin-top: 28px; max-width: 230px; }
@media (min-width: 700px) {
  .site-header { padding-block: 22px; }
  .intro { padding-block: 42px 36px; }
  .intro-copy { font-size: 16px; }
  .desktop-break { display: inline; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .project { padding: 26px; }
  .footer-contact { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
  .footer-contact p { margin: 0; }
  .footer-base { margin-top: 12px; align-items: center; }
}
@media (forced-colors: active) {
  .project, .play-button, .project-icon, .brand-mark { border: 1px solid ButtonText; }
}
