/*
 * Tell Andrew — portada (dirección B, 2026-09-25).
 * Oscura, de cristal, con capturas reales de la app. Desde el 2026-09-28 la usan
 * también las páginas legales (privacidad, borrado y las de apps/web-lanzamiento).
 */
/*
 * Las tipografías se sirven desde aquí y no desde Google Fonts: cargarlas de Google le
 * mandaba la IP de cada visita a un tercero (privacidad, «Con quién se comparten»).
 * Licencia SIL Open Font License, en assets/fonts/OFL-*.txt.
 */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(./assets/fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(./assets/fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/instrument-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/instrument-serif-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --fondo: #0b0f17;
  --tinta: #edeae3;
  --gris: #a3abb9;
  --tenue: #7d8596;
  --ambar: #f5b544;
  --linea: rgba(255, 255, 255, 0.09);
  --cristal: rgba(255, 255, 255, 0.035);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
em { font-style: italic; color: var(--ambar); }

.envoltura { width: min(1200px, 100% - 32px); margin: 0 auto; }
.etiqueta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ambar); font-weight: 600; }
.suave { color: var(--gris); }
.nota { font-size: 13px; color: var(--tenue); }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease;
}
.boton:hover { transform: translateY(-1px); }
.boton-ambar { background: var(--ambar); color: #1a1204; }
.boton-cristal { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--tinta); }
.boton svg { width: 18px; height: 18px; }
.boton small { font-weight: 400; opacity: 0.75; }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 23, 0.72);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--linea);
}
.cabecera { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.marca img { width: 30px; height: 30px; border-radius: 9px; }
.marca span.prueba { font-size: 11px; font-weight: 600; color: var(--ambar); border: 1px solid rgba(245, 181, 68, 0.5); border-radius: 999px; padding: 1px 8px; }
.menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.menu a { text-decoration: none; color: var(--gris); }
.menu a:hover { color: var(--tinta); }
.menu .boton { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 11px; color: #1a1204; }
.mobile-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.mobile-toggle span { display: block; height: 2px; background: var(--tinta); margin: 5px 0; border-radius: 2px; }

/* Móviles de captura */
.movil {
  border-radius: 38px; padding: 8px; background: #05070b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.85);
}
.movil img { border-radius: 31px; width: 100%; height: auto; }

/* Portada */
.portada { padding: 72px 0 0; text-align: center; overflow: hidden; }
.portada h1 { font-size: clamp(56px, 10vw, 120px); line-height: 0.95; margin: 20px 0 22px; }
.portada .entrada { font-size: 19px; max-width: 640px; margin: 0 auto 30px; }
.acciones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sellos { margin-top: 18px; }
.trio { display: flex; justify-content: center; align-items: flex-start; margin-top: 56px; }
.trio figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.trio figcaption { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.trio .lado { width: 280px; transform: translateY(70px) rotate(-6deg); margin-right: -40px; }
.trio .lado.dcha { transform: translateY(70px) rotate(6deg); margin: 0 0 0 -40px; }
.trio .centro { width: 330px; position: relative; z-index: 2; }

/* Bloques */
.bloque { padding: 120px 0 0; }
.par { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.par.invertido > :first-child { order: 2; }
.texto { display: flex; flex-direction: column; gap: 20px; }
.texto h2 { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; }
.texto .suave { font-size: 18px; }
.lista { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lista li { display: flex; gap: 12px; align-items: flex-start; }
.lista li::before { content: ''; flex: none; width: 16px; height: 9px; margin-top: 7px; border-left: 2.4px solid var(--ambar); border-bottom: 2.4px solid var(--ambar); transform: rotate(-45deg); }
.escena { display: flex; justify-content: center; }
.escena .movil { width: 330px; }
.panel { background: var(--cristal); border: 1px solid var(--linea); border-radius: 28px; padding: 44px; }

.pc { margin-top: 56px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9); }
.pc .barra { height: 34px; background: #151a24; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.pc .barra i { width: 10px; height: 10px; border-radius: 50%; background: #2c3342; }
.pc .barra span { margin-left: 12px; font-size: 12px; color: var(--tenue); }

/* A tu manera */
.centrado { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.centrado h2 { font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.centrado .suave { max-width: 700px; font-size: 18px; }
.fondos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 52px; }
.fondos figure { margin: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.fondos figcaption, .paisajes figcaption { font-family: var(--serif); font-style: italic; font-size: 21px; text-align: center; }
.fondos .movil { width: 100%; max-width: 300px; }
.paisajes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.paisajes figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.paisajes img { border-radius: 18px; border: 1px solid var(--linea); }
.paisajes figcaption { font-size: 18px; }

/* Instalar */
.instalar { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.pasos { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pasos li { counter-increment: paso; display: flex; gap: 14px; }
.pasos li::before { content: counter(paso); flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(245, 181, 68, 0.14); color: var(--ambar); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 14px; }
details { margin-top: 22px; border-top: 1px solid var(--linea); padding-top: 16px; }
summary { cursor: pointer; color: var(--gris); }
.huella { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.huella code { font-size: 12px; word-break: break-all; color: var(--gris); background: rgba(255, 255, 255, 0.04); padding: 8px 10px; border-radius: 8px; flex: 1; min-width: 0; }
.huella button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16); background: transparent; color: var(--tinta); font: inherit; font-size: 14px; cursor: pointer; }
.novedades { margin: 8px 0 0; padding-left: 20px; color: var(--gris); }

/* Quién y pie */
.quien { padding: 120px 0 0; }
.quien .panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; background: linear-gradient(180deg, rgba(245, 181, 68, 0.1), rgba(245, 181, 68, 0.02)); border-color: rgba(245, 181, 68, 0.25); }
.quien p.grande { font-family: var(--serif); font-size: 36px; line-height: 1.15; }
.pie { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 48px 0 40px; margin-top: 80px; border-top: 1px solid var(--linea); font-size: 14px; color: var(--gris); }
.pie nav { display: flex; gap: 24px; flex-wrap: wrap; }
.pie a { color: var(--gris); }

.toast-notification {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px);
  background: #1b2130; color: var(--tinta); border: 1px solid var(--linea); border-radius: 12px;
  padding: 12px 18px; font-size: 14px; transition: transform 0.25s ease; z-index: 20;
}
.toast-notification.show { transform: translate(-50%, 0); }

/* Páginas legales: texto largo en una columna de lectura */
.legal-content { padding: 56px 0 0; }
.container-legal { width: min(760px, 100% - 32px); margin: 0 auto; }
.legal-header { padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--linea); }
.legal-header h1 { font-size: clamp(44px, 7vw, 72px); line-height: 1; }
.legal-meta { margin-top: 14px; font-size: 13px; color: var(--tenue); }
.legal-box-highlight { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; padding: 24px 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(245, 181, 68, 0.1), rgba(245, 181, 68, 0.02)); border: 1px solid rgba(245, 181, 68, 0.25); }
.privacy-index { display: flex; flex-wrap: wrap; gap: 8px; }
.privacy-index a { font-size: 14px; text-decoration: none; color: var(--gris); border: 1px solid var(--linea); border-radius: 999px; padding: 6px 14px; }
.privacy-index a:hover { color: var(--tinta); }
.legal-content section { display: flex; flex-direction: column; gap: 14px; padding-top: 40px; scroll-margin-top: 84px; }
.legal-content h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; }
.legal-content h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; }
.legal-content p, .legal-content li { color: var(--gris); }
.legal-content strong { color: var(--tinta); font-weight: 600; }
.legal-content ul, .legal-content ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-content a { color: var(--ambar); }
.legal-content details ul { margin-top: 12px; }

/* Móvil */
@media (max-width: 1024px) {
  .mobile-toggle { display: block; }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: rgba(11, 15, 23, 0.97); border-bottom: 1px solid var(--linea);
  }
  .menu.is-open { display: flex; }
  .menu li a { display: block; padding: 12px 0; }
  .menu .boton { margin-top: 8px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .portada { padding-top: 44px; }
  .trio .lado { display: none; }
  .trio .centro { width: min(330px, 100%); }
  .bloque { padding-top: 88px; }
  .par, .instalar, .quien .panel { grid-template-columns: 1fr; gap: 40px; }
  .par.invertido > :first-child { order: 0; }
  .panel { padding: 28px 22px; }
  .fondos { grid-template-columns: 1fr; }
  .paisajes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quien p.grande { font-size: 28px; }
}
