@font-face { font-family: "Titan One"; src: url("/fonts/titan_one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito_cyrillic.woff2") format("woff2"); font-weight: 200 1000;
  font-display: swap; unicode-range: U+0400-04FF; }
/* Paleta del juego (tools/ui/build_theme.py): pegatina de juguete, con contorno morado oscuro. */
:root { --ink: #2A1454; --cloud: #F6F8FF; --grape: #7A22D6; --deep: #4A1C9A; --blue: #0B7BF0; --lemon: #FFD600; --muted: #5B4A7D;
  --sky1: #C3E2F4; --sky2: #A9D3EE; --grass: #9FD98B; --grass2: #97CE84; --asphalt: #5A5A6E; --curb: #CDD3E6; --link: #0866D0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* 10_02c: la hierba a cuadros del mapa de ciudades. */
body { margin: 0; font-family: "Fredoka", "Nunito", system-ui, sans-serif; color: var(--ink); background-color: var(--grass);
  background-image: conic-gradient(var(--grass2) 25%, transparent 0 50%, var(--grass2) 0 75%, transparent 0); background-size: 96px 96px;
  line-height: 1.55; font-size: 17px; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
/* 10_02c: el cielo de los fondos del juego, y debajo la carretera con los símbolos de los vehículos. */
.hero { color: var(--ink); text-align: center; padding: 20px 0 40px; background: linear-gradient(180deg, var(--sky1), var(--sky2)); }
.hero.page { padding: 18px 0 26px; }
.road { background: var(--asphalt); border-top: 8px solid var(--curb); border-bottom: 8px solid var(--curb); padding: 14px 0;
  background-image: repeating-linear-gradient(90deg, var(--cloud) 0 34px, transparent 34px 68px); background-size: 100% 6px;
  background-repeat: no-repeat; background-position: 0 50%; }
.road ul { list-style: none; margin: 0 auto; padding: 0 8px; display: flex; justify-content: center; gap: clamp(4px, 1.6vw, 18px); }
.road img { display: block; width: clamp(26px, 7.4vw, 52px); height: auto; filter: drop-shadow(0 3px 0 rgba(42, 20, 84, .55)); }
.langs { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 0 0 12px; }
.langs label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.langs svg { flex: none; }
.langs select { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background-color: var(--cloud);
  border: 3px solid var(--ink); border-radius: 999px; padding: 6px 14px; min-height: 44px; cursor: pointer; }
.langs select:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.logo { display: block; width: min(420px, 86vw); height: auto; margin: 8px auto 6px; }
.hero.page .logo { width: min(240px, 60vw); }
h1 { margin: 0; font-family: "Titan One", "Nunito", system-ui, sans-serif; font-weight: 400; font-size: clamp(25px, 5vw, 38px);
  letter-spacing: .5px; overflow-wrap: anywhere; }
.hero p { max-width: 640px; margin: 14px auto 22px; font-size: 19px; font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 18px; background: var(--lemon);
  color: var(--ink); border: 3px solid var(--ink); font-family: "Titan One", "Nunito", system-ui, sans-serif; font-size: 19px;
  box-shadow: 0 5px 0 var(--ink); max-width: 100%; }
.badge img { width: 36px; height: 36px; border-radius: 9px; }
@media (max-width: 420px) { .badge { font-size: 16px; padding: 10px 14px; } .hero p { font-size: 17px; } }
section { padding: 40px 0; }
section + section { padding-top: 8px; }
/* 10_02c: los títulos, como las píldoras del juego (PanelPill): se leen sobre la hierba. */
h2 { font-family: "Titan One", "Nunito", system-ui, sans-serif; font-weight: 400; font-size: clamp(22px, 4vw, 30px);
  display: table; text-align: center; margin: 0 auto 20px; color: var(--ink); background: var(--cloud); border: 3px solid var(--ink);
  border-radius: 999px; padding: 6px 24px; box-shadow: 0 5px 0 var(--ink); max-width: 100%; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.card { background: var(--cloud); border: 3px solid var(--ink); border-radius: 22px; padding: 20px; box-shadow: 0 6px 0 var(--ink); min-width: 0; }
.card h3 { margin: 0 0 6px; font-size: 20px; color: var(--grape); line-height: 1.25; }
.card .sym { display: block; width: 44px; height: 44px; margin: 0 0 10px; }
.card p { margin: 0; }
a.card { display: block; text-decoration: none; }
.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.shots figure { margin: 0; width: 240px; max-width: 100%; }
.shots img { display: block; width: 100%; height: auto; border-radius: 24px; border: 5px solid var(--ink); }
.shots figcaption { margin: 12px auto 0; text-align: center; color: var(--ink); font-size: 15px; font-weight: 600; background: var(--cloud);
  border: 3px solid var(--ink); border-radius: 14px; padding: 4px 10px; width: fit-content; max-width: 100%; }
.doc { max-width: 780px; margin: 0 auto; background: var(--cloud); border: 3px solid var(--ink); border-radius: 22px; padding: 22px; overflow-wrap: anywhere; }
.doc h2 { display: block; text-align: left; color: var(--grape); font-family: inherit; font-weight: 700; font-size: 20px; margin: 26px 0 8px;
  background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.doc p { margin: 0 0 10px; }
.doc ul { margin: 0 0 10px; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--link); font-weight: 600; }
.draft { max-width: 780px; margin: 0 auto 14px; background: var(--lemon); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 16px; font-weight: 600; }
/* 10_02c: el pie es otra carretera, con la línea amarilla. */
footer { background: var(--asphalt); color: var(--cloud); padding: 34px 0 36px; text-align: center; font-size: 15px;
  border-top: 8px solid var(--curb); background-image: repeating-linear-gradient(90deg, var(--lemon) 0 34px, transparent 34px 68px);
  background-size: 100% 6px; background-repeat: no-repeat; background-position: 0 10px; }
footer a:focus-visible { outline-color: var(--lemon); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 12px; }
footer a { color: var(--lemon); }
.follow { margin: 4px 0 18px; }
.follow strong { display: block; margin-bottom: 10px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--cloud); color: var(--ink); font-weight: 600; text-decoration: none; }
/* Formulario de contacto (10_02a) */
.contact label { display: block; font-weight: 600; margin: 0 0 14px; }
.contact input, .contact select, .contact textarea { display: block; width: 100%; margin-top: 6px; font: inherit; color: var(--ink);
  background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 10px 12px; min-height: 48px; }
.contact textarea { resize: vertical; }
.contact .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.contact .check input { width: 26px; height: 26px; min-height: 26px; margin: 2px 0 0; flex: none; accent-color: var(--grape); }
.contact .check a { color: var(--link); font-weight: 600; }
.contact .invalid { border-color: #C50E26; box-shadow: 0 0 0 2px #C50E26; }
.contact input:focus-visible, .contact select:focus-visible, .contact textarea:focus-visible, .contact button:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 2px; }
/* 10_02c: Enviar, como PrimaryButton del juego (azul con relieve); 24 px, texto grande: 4,11:1. */
.contact button { cursor: pointer; font-size: 24px; background: var(--blue); color: #fff; }
.contact button[disabled] { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form-msg.ok { border-left: 6px solid #1FC63A; padding-left: 10px; }
.form-msg.err { color: #C50E26; }
/* 10_03c: menú de secciones, como las píldoras del juego. En el teléfono se desliza en una fila; en el escritorio, en dos. */
.menu { display: flex; gap: 8px; overflow-x: auto; padding: 2px 4px 12px; margin: 0 -4px 6px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* Coordinador, 2026-11-22: sin barra de desplazamiento (se sigue deslizando) y con el borde derecho desvanecido, que dice que hay más. */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.menu::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .menu { flex-wrap: wrap; justify-content: center; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
.menu a { flex: none; display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; text-decoration: none;
  padding: 4px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--cloud);
  border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.menu a:hover { background: #fff; }
.menu a[aria-current] { background: var(--lemon); }
.hero.page p { margin: 10px auto 0; font-size: 18px; }
.lead { max-width: 780px; margin: 0 auto 18px; background: var(--cloud); border: 3px solid var(--ink); border-radius: 18px;
  padding: 12px 18px; text-align: center; box-shadow: 0 5px 0 var(--ink); }
.lead p { margin: 0 0 8px; }
.lead p:last-child { margin-bottom: 0; }
.card p { margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { display: block; width: 72px; height: 72px; object-fit: contain; margin: 0 0 10px; }
.card .thumb { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 14px;
  border: 3px solid var(--ink); margin: 0 0 12px; }
.card ul, .card ol { margin: 6px 0 0; padding-left: 22px; }
.card li { margin: 3px 0; }
.card .meta { color: #5B4A7D; font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.card .tag { display: inline-block; font-size: 14px; font-weight: 700; padding: 1px 12px; border-radius: 999px; background: var(--lemon);
  border: 2px solid var(--ink); margin: 0 0 8px; }
.card a { color: var(--link); font-weight: 600; }
.card .row { display: flex; gap: 14px; align-items: flex-start; }
.card .row .icon { width: 64px; height: 64px; flex: none; margin: 0; }
.card .row > div { min-width: 0; }
.card.wide { grid-column: 1 / -1; }
a.card { transition: transform .12s ease; }
a.card:hover, a.card:focus-visible { transform: translateY(-2px); }
a.card:hover h3 { text-decoration: underline; }
a.card .icon { width: 64px; height: 64px; }
/* 10_03c: con el icono al lado, tres columnas como mucho para que el texto no quede estrecho. */
.features:has(.card.side), .features.small { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card .icon.big { width: 104px; height: 104px; }
/* Revisión cruzada (2026-11-22): Titan One no tiene cirílico ni CJK. En esos idiomas los títulos caen a Nunito (ruso) o a la
   fuente del sistema, y con su peso normal quedaban finos: se engordan con las negritas de verdad de esas fuentes. Titan One
   solo tiene un peso, así que sin síntesis el latín de esos títulos (OmniTraffic, Google Play) no se deforma. */
h1, h2, .badge { font-synthesis: none; }
:lang(ru) h1, :lang(ru) h2, :lang(ru) .badge { font-weight: 900; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) .badge, :lang(ko) h1, :lang(ko) h2, :lang(ko) .badge,
:lang(zh) h1, :lang(zh) h2, :lang(zh) .badge { font-weight: 800; }
.card.side { display: flex; gap: 14px; align-items: flex-start; }
.card.side > .icon { flex: none; margin: 0; }
.card.side > .text { min-width: 0; flex: 1; }
.tiles .card.side { display: block; }
.tiles .card.side > .icon { margin: 0 auto 6px; }
.features.tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tiles .card { text-align: center; padding: 14px 10px; }
.tiles .card .icon { margin: 0 auto 6px; }
.tiles .card h3 { font-size: 18px; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.gallery img { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.promo-code { display: inline-block; font-family: "Titan One", "Nunito", system-ui, sans-serif; font-size: clamp(22px, 6vw, 30px);
  letter-spacing: 1px; padding: 6px 16px; border-radius: 14px; background: var(--lemon); border: 3px solid var(--ink); margin: 2px 0 10px;
  user-select: all; overflow-wrap: anywhere; }
footer .pages { max-width: 760px; margin: 0 auto 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card { transition: none; } }
