:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #60707c;
  --line: #dbe5e7;
  --surface: #ffffff;
  --soft: #f4f8f7;
  --brand: #0f766e;
  --brand-dark: #0b4f4a;
  --accent: #f59e0b;
  --shadow: 0 18px 50px rgba(15, 42, 52, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 229, 231, 0.8);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 250px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 8vw, 96px) clamp(20px, 6vw, 88px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(245, 158, 11, 0.14)),
    linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.25);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brand-dark);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand-dark);
}

.phone-showcase {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
}

.modern-phone {
  position: relative;
  /* Igual a la proporción real de las capturas (720x1450) una vez recortadas las barras del
     sistema. Si no coincide, object-fit recorta parte de la interfaz. */
  aspect-ratio: 720 / 1450;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px;
  background:
    linear-gradient(145deg, #2a3038 0%, #0c0f14 52%, #050608 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.04),
    inset 0 0 0 8px rgba(0, 0, 0, 0.7),
    0 28px 48px rgba(23, 32, 42, 0.2);
}

.modern-phone::before {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 50%;
  width: 74px;
  height: 22px;
  border-radius: 999px;
  background: #050608;
  content: "";
  transform: translateX(-50%);
}

.modern-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #111827;
}

.modern-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-showcase .modern-phone-screen img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.phone-showcase .modern-phone-screen img.active {
  opacity: 1;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}

.intro-grid p,
.team-copy {
  color: var(--muted);
  font-size: 19px;
}

.intro-grid img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.steps,
.press {
  background: var(--soft);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.press-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.press-grid p,
.feature-grid p {
  color: var(--muted);
}

.how-it-works {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
}

.how-phone {
  width: min(100%, 300px);
  justify-self: center;
}

.how-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-list li {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 34px;
}

.how-list li:last-child {
  padding-bottom: 0;
}

.how-list li::after {
  position: absolute;
  top: 50px;
  bottom: 8px;
  left: 26px;
  width: 1px;
  background: var(--line);
  content: "";
}

.how-list li:last-child::after {
  display: none;
}

.how-list span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.how-list li:last-child span {
  background: var(--brand);
  color: #fff;
}

.how-list h3 {
  margin-bottom: 8px;
  text-transform: uppercase;
}

.how-list p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.utility-phone {
  width: min(100%, 174px);
  margin-inline: auto;
  border-radius: 32px;
}

.feature-grid ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.feature-grid li {
  position: relative;
  padding-left: 18px;
}

.feature-grid li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.product-video {
  background: #ffffff;
}

.product-video .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.product-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.product-video-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.product-video-copy p {
  color: var(--muted);
}

.product-video-copy .button {
  margin-top: 8px;
}

.team {
  background: linear-gradient(135deg, #123f3c, #0f766e);
  color: #fff;
}

.team .eyebrow,
.team-copy {
  color: rgba(255, 255, 255, 0.78);
}

.press-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.press-grid img {
  width: auto;
  max-width: 180px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.video-card > div:last-child {
  padding: 22px;
}

.video-card p {
  color: var(--muted);
}

.video-card a {
  color: var(--brand);
  font-weight: 850;
  text-decoration: none;
}

.video-card a:hover,
.video-card a:focus-visible {
  color: var(--brand-dark);
  text-decoration: underline;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 88px);
  background: #101820;
  color: rgba(255, 255, 255, 0.74);
}

.footer img {
  width: 220px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .product-video-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: left;
  }

  .phone-showcase {
    width: min(78vw, 310px);
  }

  .feature-grid,
  .press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .press-grid,
  .feature-grid,
  .feature-grid article {
    grid-template-columns: 1fr;
  }

  .how-it-works {
    grid-template-columns: 1fr;
  }

  .how-phone {
    width: min(74vw, 260px);
  }

  .how-list li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
  }

  .how-list li::after {
    left: 22px;
  }

  .how-list span {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .utility-phone {
    width: min(58vw, 166px);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: min(62vw, 240px);
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Bloques agregados para la portada orientada a descarga (2026-08-09).
   Reusan los tokens de arriba; no introducen dependencias ni fuentes nuevas.
   ──────────────────────────────────────────────────────────────────────────── */

/* Botón de descarga en la barra superior: presente en todo el scroll, no sólo en el hero. */
.site-nav .nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--brand-dark); color: #fff; }

/* Cobertura. Antes era una franja plana de cinco cifras sueltas y se veía pobre: un número
   grande sin contexto no dice nada y cinco juntos se anulan entre sí. Ahora hay jerarquía —una
   cifra protagonista y cuatro de apoyo— y cada una explica qué significa. */
.coverage {
  background:
    radial-gradient(1100px 380px at 12% -10%, rgba(15,118,110,.13), transparent 62%),
    var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(46px, 7vw, 76px) clamp(20px, 6vw, 88px);
}
.coverage-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.coverage-lead h2 { margin: 6px 0 12px; font-size: clamp(25px, 3.1vw, 34px); line-height: 1.18; }
.coverage-lead p { color: var(--muted); margin: 0; }

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 6px 20px rgba(15, 42, 52, .05);
}
/* La cifra protagonista ocupa toda la fila de arriba: sin una dominante, las cinco competían. */
.stat-card.is-hero {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-color: transparent;
  color: #fff;
}
.stat-card strong {
  display: block;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--brand);
}
.stat-card.is-hero strong { font-size: clamp(42px, 5.6vw, 64px); color: #fff; }
.stat-card .unit { font-size: .42em; font-weight: 600; margin-left: .28em; letter-spacing: 0; opacity: .9; }
.stat-card .stat-name { margin: 6px 0 0; font-size: 15px; font-weight: 600; }
.stat-card.is-hero .stat-name { font-size: 18px; }
.stat-card .stat-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.stat-card.is-hero .stat-note { color: rgba(255,255,255,.8); font-size: 14.5px; }

@media (max-width: 1000px) {
  .coverage-inner { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .coverage-grid { grid-template-columns: 1fr; }
}

/* Las tres fuentes de precio. Es la idea central del producto: cada tarjeta lleva
   la misma etiqueta que el usuario ve dentro de la app, para que el sitio y la app
   hablen igual. */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
  gap: 20px;
}
.source-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.source-card.is-community { border-color: var(--brand); box-shadow: 0 10px 34px rgba(15,118,110,.10); }
.source-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  background: #1565c0;
}
.source-tag.online { background: #00796b; }
.source-tag.community { background: #f03e33; }
.source-card h3 { margin: 4px 0 0; font-size: 20px; }
.source-card p { margin: 0; color: var(--muted); }
.source-card .source-detail { font-size: 14px; color: var(--ink); }

/* Lo que se puede hacer: lista de capacidades, sin capturas, para que se lea rápido. */
.abilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 22px;
}
.ability h3 { margin: 0 0 6px; font-size: 18px; }
.ability p { margin: 0; color: var(--muted); font-size: 15px; }
.ability .ability-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--soft); color: var(--brand);
  font-size: 21px; margin-bottom: 12px;
}

/* Cierre con la descarga. Va oscuro para cortar el ritmo del resto de la página. */
.download-cta {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
  padding: 62px 22px;
}
.download-cta h2 { color: #fff; margin: 0 0 12px; }
.download-cta p { color: #cfe6e3; max-width: 620px; margin: 0 auto 26px; }
.download-cta .button.primary { background: #fff; color: var(--brand-dark); }
.download-cta .button.primary:hover { background: #e6f4f1; color: var(--brand-dark); }
.download-note { font-size: 13px; color: #9fc9c4; margin-top: 18px; }



/* Enlaces legales del pie. Estaban sólo en el cuerpo de algunas páginas; en la portada faltaban
   y son requisito de tienda además de ser lo que la gente busca cuando los busca. */
.footer .footer-links { font-size: 13.5px; margin-top: 6px; }
.footer .footer-links a { color: inherit; opacity: .85; }
.footer .footer-links a:hover { opacity: 1; }

/* Iconos de "qué podés hacer": son los MISMOS vectores que usa la app, convertidos a SVG desde el
   pathData del drawable de Android (mismo trazo, no una re-interpretación). Se tiñen con
   currentColor, así que heredan el color del contenedor. */
.ability .ability-icon img { width: 24px; height: 24px; display: block; }
.ability .ability-icon.is-promo { font-weight: 800; font-size: 20px; }

/* Frame de celular actualizado: menos borde, esquinas más amplias y una isla en vez de la muesca
   ancha, que es lo que se ve hoy en un teléfono nuevo. */
.modern-phone {
  padding: 10px;
  border-radius: 42px;
  border-color: rgba(255,255,255,.14);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.05),
    inset 0 0 0 7px rgba(0,0,0,.75),
    0 34px 60px rgba(15, 42, 52, .26);
}
.modern-phone::before {
  top: 16px;
  width: 58px;
  height: 17px;
  background: #05070a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.modern-phone-screen { border-radius: 33px; background: #f7fafa; }
/* object-fit: contain para no recortar la interfaz: con cover se comía la barra inferior de la
   app, que es justo lo que muestra los tres botones principales. */
.modern-phone-screen img { object-fit: cover; object-position: top center; }

/* ---------------------------------------------------------------------------
   Pantallas anchas: el contenido deja de estirarse (2026-08-17)

   Los breakpoints de este archivo eran todos `max-width`, o sea que sólo había
   ajustes para pantallas chicas. Arriba de ~1500px el contenido se estiraba sin
   límite: el texto del hero quedaba pegado al borde izquierdo y el teléfono al
   derecho con un vacío enorme en el medio, y las 6 tarjetas de "Todo lo que
   resuelve la app" se estrujaban en una sola fila de columnas angostas.

   ⚠️ Se topea con PADDING, no con `max-width` + `margin: auto`. Varias de estas
   secciones tienen fondo propio (.coverage, .download-cta, .footer): limitarles
   el ancho les cortaría el fondo por la mitad. Creciendo el padding, el fondo
   sigue ocupando la pantalla entera y sólo se centra lo de adentro.
   --------------------------------------------------------------------------- */
@media (min-width: 1500px) {
  .site-header,
  .hero,
  .section,
  .coverage,
  .download-cta,
  .footer {
    padding-inline: calc((100% - 1360px) / 2);
  }
}

/* Más de seis columnas de texto no se leen: a partir de acá las habilidades
   pasan a tres por fila en vez de estrujarse en una sola. */
@media (min-width: 1200px) {
  .abilities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(24px, 4vw, 64px);
  }
}

/* Galeria de las capturas de la ficha de Play (seccion "Asi se ve", 2026-08-17).
   Cada imagen ya trae su titulo adentro, asi que no lleva epigrafe. */
.store-shots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  align-items: start;
}
.store-shots img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
}
/* ⚠️ Cinco columnas de 1080 px de alto no entran en una tablet ni en un telefono: abajo de 900
   se pasa a scroll horizontal, que deja ver la primera entera e invita a arrastrar. */
@media (max-width: 900px) {
  .store-shots {
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .store-shots img { scroll-snap-align: center; }
}
