/* Web pública de Owlo (W-079). Traslado de design/Web pública - Inicio.dc.html a clases: la CSP no admite estilos
   en línea. Tokens de apps/tv-client/src/app.css (--ox-*), adaptados de 10 pies a móvil y escritorio. */

@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700 800; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  --ox-charcoal-900: #171A1F;
  --ox-charcoal-850: #1B1F25;
  --ox-charcoal-800: #21252C;
  --ox-charcoal-700: #2B3038;
  --ox-deep: #0F1115;
  --ox-foot: #121418;
  --ox-silver-300: #C4CAD3;
  --ox-silver-500: #9AA3B0;
  --ox-chrome-300: #98DFF9;
  --ox-chrome-500: #1FA6E8;
  --ox-chrome-grad: linear-gradient(180deg, #7FD3F6 0%, #1FA6E8 52%, #0E86CC 100%);
  --ox-hero-bg: linear-gradient(100deg, #2B3038 0%, #343B46 45%, #56647A 100%);
  --ox-line: rgba(196, 202, 211, 0.12);
  --ox-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 11vw, 144px);
  --lead: clamp(17px, 1.4vw, 19px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ox-charcoal-900); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--ox-charcoal-900); color: #FFFFFF;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--ox-chrome-300); text-decoration: none; }
a:hover { color: #FFFFFF; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--ox-chrome-500); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: #FFFFFF; color: #0F1216; }
.skip:focus { left: 16px; }

.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.22em; color: var(--ox-chrome-300); text-transform: uppercase; }
.eyebrow.muted { color: var(--ox-silver-500); }
.eyebrow-ring { display: flex; align-items: center; gap: 10px; }
.eyebrow-ring img { width: 18px; height: 18px; }
.lead { margin: 22px 0 0; max-width: 30em; font-size: var(--lead); line-height: 1.6; color: var(--ox-silver-300); }
.chrome-text { background: var(--ox-chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small { font-size: 13px; color: var(--ox-silver-500); }

/* ── Botones (como en la TV: píldora blanca principal, redondo secundario) ── */
.btn-primary {
  display: inline-flex; align-items: center; height: 56px; padding: 0 30px; border: 0; border-radius: 999px;
  background: #FFFFFF; color: #0F1216; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer;
  transition: box-shadow 300ms var(--ox-ease);
}
.btn-primary:hover, .btn-primary:focus-visible { color: #0F1216; box-shadow: 0 0 0 3px var(--ox-charcoal-900), 0 0 0 6px var(--ox-chrome-500); outline: none; }
.btn-round { display: inline-flex; align-items: center; gap: 12px; color: #FFFFFF; font-size: 15px; }
.btn-round:hover { color: #FFFFFF; }
.btn-round-icon {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(196, 202, 211, 0.16);
  display: flex; align-items: center; justify-content: center; transition: background 300ms var(--ox-ease);
}
.btn-round:hover .btn-round-icon { background: rgba(196, 202, 211, 0.28); }
.play-tri { width: 0; height: 0; border-left: 12px solid #FFFFFF; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; }
.btn-soft {
  display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px;
  background: rgba(15, 18, 22, 0.4); color: #FFFFFF; font-size: 15px;
}
.btn-soft:hover { background: rgba(15, 18, 22, 0.6); color: #FFFFFF; }
.actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ── Cabecera ── */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.site-header-row { display: flex; align-items: center; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.brand img { display: block; width: 162px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; font-size: 15px; }
.site-nav a { color: var(--ox-silver-300); }
.site-nav a:hover { color: #FFFFFF; }
.site-nav .nav-account { color: var(--ox-chrome-300); }
@media (max-width: 720px) {
  .site-header-row { flex-wrap: wrap; gap: 14px; }
  .brand img { width: 128px; }
  .site-nav { margin-left: 0; gap: 8px 18px; font-size: 14px; }
  .site-nav a:not(.nav-account):not(:nth-child(3)) { display: none; }
}

/* ── Materiales ── */
.leather { position: relative; overflow: hidden; background: var(--ox-hero-bg); }
.leather::before {
  content: ""; position: absolute; inset: 0; background: url("/brand/leather-dark.webp"); background-size: 320px;
  opacity: 0.35; mix-blend-mode: multiply; pointer-events: none;
}
.leather > * { position: relative; }
.fade-bottom::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 26, 31, 0) 60%, var(--ox-charcoal-900) 100%);
}
.chrome-rule { height: 1px; background: linear-gradient(90deg, rgba(31, 166, 232, 0) 0%, var(--ox-chrome-500) 50%, rgba(31, 166, 232, 0) 100%); }
.deep { background: var(--ox-deep); }
.section { padding-top: var(--section); padding-bottom: var(--section); }

/* ── Capturas: marco vacío con el anillo mientras no existan (plan §6, cuenta demo con Blender) ── */
.frame { position: relative; overflow: hidden; background: var(--ox-charcoal-800); }
.shot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, #343B46 0%, var(--ox-charcoal-800) 60%, #1A1D23 100%);
}
.shot-empty img { width: 12%; min-width: 28px; max-width: 64px; opacity: 0.35; }
.r-16x9 { aspect-ratio: 16 / 9; }
.r-16x10 { aspect-ratio: 16 / 10; }
.r-21x9 { aspect-ratio: 21 / 9; }
.r-phone { aspect-ratio: 9 / 19; }

/* ── 01 Héroe ── */
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(48px, 6vw, 80px);
  align-items: center; padding-top: clamp(140px, 14vw, 180px); padding-bottom: clamp(72px, 9vw, 128px);
}
.hero h1 { margin: 20px 0 0; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.02em; }
.hero .lead { margin-top: 28px; max-width: 34em; }
.hero .small { margin: 20px 0 0; }
.platform-chip {
  display: none; align-items: center; gap: 10px; margin-bottom: 28px; padding: 10px 18px; border-radius: 999px;
  background: rgba(15, 18, 22, 0.55); color: #FFFFFF; font-size: 14px;
}
.platform-chip span { color: var(--ox-chrome-300); }
.is-vidaa .platform-chip { display: inline-flex; }
.cta-mobile { display: none; }
.is-mobile .cta-mobile { display: inline-flex; }
.is-mobile .cta-desktop { display: none; }
.hero-devices { position: relative; padding-bottom: 40px; }
.tv {
  position: relative; border-radius: 10px; padding: 8px; background: #0E1013;
  box-shadow: 0 0 0 1px rgba(152, 223, 249, 0.22), 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 140px rgba(31, 166, 232, 0.28);
}
.tv .frame { border-radius: 3px; }
.tv-stand { width: 22%; height: 6px; margin: 0 auto; border-radius: 0 0 4px 4px; background: var(--ox-charcoal-700); }
.hero-phone {
  position: absolute; right: -4%; bottom: 0; width: 26%; min-width: 110px; border-radius: 22px; padding: 6px; background: #0E1013;
  box-shadow: 0 0 0 1px rgba(196, 202, 211, 0.18), 0 24px 48px rgba(0, 0, 0, 0.6);
}
.hero-phone .frame { border-radius: 17px; }
@media (max-width: 520px) { .hero-phone { right: 0; } }

/* ── 02 Plataformas ── */
.platforms { border-bottom: 1px solid rgba(196, 202, 211, 0.1); }
.platforms-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-top: 28px; padding-bottom: 28px;
  font-size: 15px; color: var(--ox-silver-500); text-align: center;
}
.platforms-row strong { font-weight: 500; color: var(--ox-silver-300); }
.platforms-row .break { flex-basis: 100%; height: 0; }
.platforms-row .soon { font-size: 13px; }

/* ── 03 Tres pasos ── */
.steps-title { margin: 16px 0 0; max-width: 16em; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.01em; }
.steps { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.steps li { padding-top: 24px; border-top: 1px solid rgba(31, 166, 232, 0.5); }
.step-n { font-size: 14px; color: var(--ox-chrome-300); font-variant-numeric: tabular-nums; }
.step-t { margin-top: 14px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; line-height: 1.3; }
.steps-media { margin-top: clamp(32px, 4vw, 56px); border-radius: 18px; }

/* ── 04 Una cuenta ── */
.center { text-align: center; }
.big-title { margin: 16px auto 0; max-width: 14em; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.015em; }
.center .lead { margin-left: auto; margin-right: auto; max-width: 36em; }
.screens { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.2fr) minmax(0, 1.3fr); gap: clamp(16px, 3vw, 40px); align-items: end; }
.screen-cap { margin-top: 14px; font-size: 13px; color: var(--ox-silver-500); text-align: center; }
.scr-tv { border-radius: 8px; padding: 6px; background: #0A0B0D; box-shadow: 0 0 0 1px rgba(196, 202, 211, 0.14); }
.scr-tv .frame { border-radius: 3px; }
.scr-laptop { border-radius: 10px 10px 0 0; padding: 6px 6px 0; background: #0A0B0D; box-shadow: 0 0 0 1px rgba(196, 202, 211, 0.14); }
.scr-laptop .frame { border-radius: 3px 3px 0 0; }
.laptop-base { height: 8px; margin: 0 -6%; border-radius: 0 0 8px 8px; background: var(--ox-charcoal-700); }
.scr-phone { border-radius: 16px; padding: 4px; background: #0A0B0D; box-shadow: 0 0 0 1px rgba(196, 202, 211, 0.18); }
.scr-phone .frame { border-radius: 12px; }
@media (max-width: 640px) { .screens { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); } .screens > :nth-child(2) { display: none; } }
.versus {
  margin-top: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1px; background: var(--ox-line); border-radius: 18px; overflow: hidden;
}
.versus > div { padding: clamp(28px, 4vw, 48px); background: var(--ox-deep); }
.versus > .ours { background: var(--ox-charcoal-850); box-shadow: inset 0 2px 0 var(--ox-chrome-500); }
.versus-t { margin-top: 18px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.25; }
.versus p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--ox-silver-300); }
.versus .theirs .versus-t { color: var(--ox-silver-300); }
.versus .theirs p { color: var(--ox-silver-500); }

/* ── 05 Diseño, fluidez y orden ── */
.features { display: flex; flex-direction: column; gap: var(--section); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split h2 { margin: 16px 0 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }
.media-card { border-radius: 18px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5); }
.corner-ring { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; opacity: 0.9; pointer-events: none; }
@media (min-width: 821px) { .split.flip > :first-child { order: 2; } }
.tidy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; border-radius: 18px; overflow: hidden; background: var(--ox-line); }
.tidy > div { padding: 24px; background: var(--ox-charcoal-850); }
.tidy > .after { background: var(--ox-charcoal-800); }
.tidy .eyebrow { font-size: 11px; }
.tidy ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; line-height: 1.35; }
.tidy .before ul { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--ox-silver-500); word-break: break-all; }
.tidy .after ul { font-size: 14px; }
.tidy .grp { color: var(--ox-silver-500); font-size: 12px; }
.tidy .grp + li, .tidy li + .grp { margin-top: 6px; }
.tidy .row { display: flex; justify-content: space-between; gap: 8px; }
.tidy .row small { color: var(--ox-silver-500); font-size: 12px; }

/* ── 06 Más funciones ── */
.more-title { margin: 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.tiles { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 28px; }
.tile .frame { border-radius: 14px; }
.tile h3 { margin: 18px 0 0; font-size: 18px; }
.tile p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--ox-silver-300); }

/* ── 07 Precio ── */
.price-card { border-radius: 24px; background: var(--ox-charcoal-800); box-shadow: 0 0 0 1px var(--ox-line); padding: clamp(28px, 4vw, 48px); }
.price-card h3 { margin: 16px 0 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.price-card p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--ox-silver-300); }
.price-card .btn-primary { margin-top: 28px; }
.plans { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1px; background: rgba(196, 202, 211, 0.14); border-radius: 16px; overflow: hidden; }
.plans > div { padding: 24px; background: var(--ox-charcoal-800); }
.plans > .featured { background: var(--ox-charcoal-700); box-shadow: inset 0 2px 0 var(--ox-chrome-500); }
.amount { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.amount b { font-size: clamp(40px, 4vw, 52px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amount span { font-size: 15px; color: var(--ox-silver-300); }

/* ── 08 Aviso ── */
.notice { border-top: 1px solid rgba(196, 202, 211, 0.1); border-bottom: 1px solid rgba(196, 202, 211, 0.1); }
.notice-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 40px; padding-bottom: 40px; }
.notice-row p { margin: 0; flex: 1 1 480px; font-size: 17px; line-height: 1.6; color: var(--ox-silver-300); }

/* ── 09 FAQ ── */
.faq { max-width: 960px; }
.faq h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }
.faq-list { margin-top: 40px; border-top: 1px solid rgba(196, 202, 211, 0.14); }
.faq details { border-bottom: 1px solid rgba(196, 202, 211, 0.14); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--ox-chrome-500); transition: transform 400ms var(--ox-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 44em; font-size: 16px; line-height: 1.65; color: var(--ox-silver-300); }

/* ── 10 Cierre ── */
.closing { text-align: center; padding-top: clamp(96px, 12vw, 160px); padding-bottom: clamp(96px, 12vw, 160px); }
.closing-ring { width: 56px; height: 56px; filter: drop-shadow(0 0 24px rgba(31, 166, 232, 0.55)); }
.closing h2 { margin: 28px auto 0; max-width: 14em; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.015em; }
.closing .actions { justify-content: center; }

/* ── Pie ── */
.site-footer { background: var(--ox-foot); padding-top: 56px; padding-bottom: 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 32px; }
.footer-logo { width: 136px; height: auto; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col .eyebrow { font-size: 11px; }
.footer-col a { color: var(--ox-silver-300); }
.footer-col a:hover { color: #FFFFFF; }
.footer-base {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(196, 202, 211, 0.1); display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 16px; font-size: 13px; line-height: 1.6; color: var(--ox-silver-500);
}
.footer-base a { color: var(--ox-silver-500); }

/* ── Páginas de texto (legal, soporte) ── */
.doc .site-header { position: static; }
.doc-body { max-width: 760px; padding-top: 48px; padding-bottom: var(--section); }
.doc-body h1 { margin: 16px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.015em; }
.doc-body .updated { margin: 16px 0 0; font-size: 14px; color: var(--ox-silver-500); }
.doc-body h2 { margin: 48px 0 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
.doc-body p, .doc-body li { font-size: 16px; line-height: 1.7; color: var(--ox-silver-300); }
.doc-body p { margin: 14px 0 0; }
.doc-body ul { margin: 14px 0 0; padding-left: 22px; }
.doc-body li + li { margin-top: 6px; }
.doc-body strong { color: #FFFFFF; font-weight: 600; }
.doc-body table { margin-top: 18px; width: 100%; border-collapse: collapse; font-size: 15px; }
.doc-body th, .doc-body td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(196, 202, 211, 0.14); color: var(--ox-silver-300); line-height: 1.5; }
.doc-body th { color: #FFFFFF; font-weight: 600; }
.table-scroll { overflow-x: auto; }
.callout { margin-top: 28px; padding: 20px 24px; border-radius: 14px; background: var(--ox-charcoal-800); box-shadow: inset 2px 0 0 var(--ox-chrome-500); }
.callout p:first-child { margin-top: 0; }

/* ── Lista de espera (W-079) ── */
.waitlist { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input[type="email"], .waitlist select {
  flex: 1 1 200px; min-width: 0; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(196, 202, 211, 0.22);
  background: var(--ox-charcoal-800); color: #FFFFFF; font: inherit; font-size: 16px;
}
.waitlist input:focus-visible, .waitlist select:focus-visible { outline: 2px solid var(--ox-chrome-500); outline-offset: 2px; }
.waitlist button { border: 0; cursor: pointer; font: inherit; }
.waitlist button:disabled { opacity: 0.5; cursor: default; }
.waitlist .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ox-silver-300); }
.waitlist .consent input { margin-top: 3px; }
.form-status { margin: 0; font-size: 15px; line-height: 1.5; }
.form-status.ok { color: #7FE0A8; }
.form-status.err { color: #F59A9A; }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status-badge.on { background: rgba(31, 166, 232, 0.16); color: var(--ox-chrome-300); }
.status-badge.soon { background: rgba(196, 202, 211, 0.1); color: var(--ox-silver-300); }

/* ── Entrada suave (site.js añade .reveal-on; sin JS o con movimiento reducido, todo visible) ── */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ox-ease), transform 700ms var(--ox-ease); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Preguntas frecuentes como página propia */
.doc-body.faq h2 { margin: 48px 0 0; font-size: 26px; }
.doc-body.faq .faq-list { margin-top: 12px; }
