:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.13);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

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

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Barra de arriba */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.top .brand img { height: 30px; width: auto; }

.langs { display: flex; gap: 4px; font-size: 13px; letter-spacing: 0.04em; }

.langs a {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--faint);
  text-decoration: none;
}

.langs a:hover { color: var(--fg); }

.langs a.on { color: var(--fg); background: rgba(255, 255, 255, 0.12); }

/* Portada */

.hero { text-align: center; padding-top: 34px; }

.hero .wordmark { width: 190px; margin: 0 auto 30px; }

.hero h1 {
  margin: 0 auto;
  max-width: 13em;
  font-size: clamp(34px, 6.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.hero .lead {
  margin: 20px auto 0;
  max-width: 30em;
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.5;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.stores a { display: block; transition: opacity 0.15s; }

.stores a:hover { opacity: 0.82; }

.stores img { height: 52px; width: auto; }

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  margin-top: 84px;
  padding-bottom: 20px;
}

.phones img {
  flex: 0 0 auto;
  width: 270px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #111;
}

.phones img:nth-child(2) { margin-top: -30px; }

/* Funciones */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.features div { padding: 34px 0; border-bottom: 1px solid var(--line); }

.features h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.features p { margin: 0; color: var(--muted); }

.closing { text-align: center; padding: 84px 0 20px; }

.closing h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Textos: legales y preguntas frecuentes */

.doc { max-width: 720px; margin: 0 auto; padding-top: 36px; }

.doc h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.doc .updated { margin: 0 0 26px; color: var(--faint); font-size: 14px; }

.doc h2 { margin: 38px 0 6px; font-size: 19px; font-weight: 600; }

.doc p, .doc li { color: var(--muted); }

.doc p { margin: 10px 0; }

.doc ul { margin: 10px 0; padding-left: 22px; }

.doc a { color: var(--fg); text-underline-offset: 3px; }

.faq h2 {
  margin: 48px 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .answer { padding: 0 34px 18px 0; }

.faq .answer p:first-child { margin-top: 0; }

/* Página suelta: descarga y error 404 */

.single {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 40px;
}

.single .icon { width: 96px; border-radius: 22px; border: 1px solid var(--line); margin-bottom: 26px; }

.single h1 { margin: 0; font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.02em; line-height: 1.15; }

.single p { margin: 12px 0 0; color: var(--muted); }

.single .back { display: inline-block; margin-top: 26px; text-underline-offset: 3px; }

/* Pie */

.foot {
  margin-top: 90px;
  padding-top: 30px;
  padding-bottom: 46px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}

.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.foot nav a { color: var(--muted); text-decoration: none; }

.foot nav a:hover { color: var(--fg); }

.foot p { margin: 18px 0 0; }

.foot .small { margin-top: 8px; font-size: 12px; }

/* Teléfonos */

@media (max-width: 900px) {
  .phones { gap: 18px; }
  .phones img { width: 30%; border-radius: 26px; }
  .phones img:nth-child(2) { margin-top: -22px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding-top: 22px; }
  .hero .wordmark { width: 150px; margin-bottom: 24px; }
  .stores img { height: 46px; }
  .phones { gap: 14px; margin-top: 64px; margin-left: -20px; margin-right: -20px; }
  .phones img { width: 58vw; border-radius: 28px; }
  .phones img:nth-child(2) { margin-top: -24px; }
  .features { grid-template-columns: 1fr; margin-top: 50px; }
  .features div { padding: 26px 0; }
  .closing { padding-top: 64px; }
  .foot { margin-top: 64px; }
}
