/* Página pública y acceso de Oxirian (unidad 035). Mismo lenguaje visual que dashboard.css. */
:root {
  --bg: #0e1218;
  --canvas: #19212c;
  --card: #1e2632;
  --border: #2b3748;
  --text: #f6f8fb;
  --muted: #a8b3c2;
  --accent: #22c8ff;
  --blue: #156bff;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Inter, Arial, sans-serif; color: var(--text); background: var(--canvas); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.entrada { min-height: 100vh; display: flex; flex-direction: column; }

.entrada-cabecera { display: flex; align-items: center; justify-content: space-between; padding: 24px; }
.entrada-logo {
  height: 48px; padding: 0 20px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(30, 38, 50, .78);
}
.entrada-logo img { width: 32px; height: auto; }
.entrada-logo span { font-size: 16px; letter-spacing: .02em; }

.boton {
  display: inline-block; padding: 10px 24px; border: 0; border-radius: 8px;
  background: var(--blue); color: #fff; cursor: pointer; font-size: 16px; line-height: 24px;
}
.boton:hover { background: #2a7bff; }
.boton-secundario { background: transparent; border: 1px solid var(--border); }
.boton-secundario:hover { background: #24384d; border-color: var(--blue); }

.landing { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 48px 24px 64px; }
.landing-portada { padding: 48px 0 56px; }
.landing-portada h1 { margin: 0 0 20px; max-width: 880px; font-size: 44px; line-height: 54px; font-weight: 400; }
.landing-entradilla { margin: 0 0 32px; max-width: 720px; font-size: 18px; line-height: 28px; color: var(--muted); }

.landing-bloque { padding: 32px; margin-bottom: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.landing-bloque h2 { margin: 0 0 14px; font-size: 20px; line-height: 28px; font-weight: 500; }
.landing-bloque p { margin: 0 0 20px; font-size: 15px; line-height: 24px; color: var(--muted); max-width: 820px; }

.landing-camino { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.landing-camino li {
  padding: 8px 14px; border-radius: 999px; background: #123e52; color: var(--accent); font-size: 13px;
}
.landing-camino li + li::before { content: "→ "; color: var(--muted); }

.landing-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.landing-lista { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 22px; color: var(--muted); }
.landing-previsto { list-style: none; padding: 0; }
.etiqueta-prevista {
  display: inline-block; margin-right: 6px; padding: 1px 8px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 11px; line-height: 18px; text-transform: uppercase; letter-spacing: .06em; color: #f4c46a;
}

.acceso { flex: 1; display: grid; place-items: center; padding: 24px; }
.acceso-tarjeta {
  width: 100%; max-width: 380px; padding: 32px; display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--border); border-radius: 16px; background: var(--card);
}
.acceso-tarjeta h1 { margin: 0; font-size: 28px; line-height: 36px; font-weight: 400; }
.acceso-ayuda { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.acceso-tarjeta label { margin-top: 6px; font-size: 13px; color: var(--muted); }
.acceso-tarjeta input {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: #111923; color: var(--text);
}
.acceso-tarjeta .boton { margin-top: 14px; }
.acceso-error {
  margin: 0; padding: 10px 12px; border: 1px solid #8a3b3b; border-radius: 8px; background: #3a1f24; color: #ffd6d6; font-size: 13px;
}

.entrada-pie {
  height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; background: var(--bg); border-top: 1px solid var(--border); color: var(--muted); font-size: 12px;
}
.version-web { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 169: the demo video slot and the four blocks; the documentation page. */
.landing-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.landing-video {
  width: 100%; aspect-ratio: 16 / 9; margin-bottom: 32px; display: grid; place-items: center;
  border: 1px dashed var(--border); border-radius: 16px; background: var(--bg); color: var(--muted);
  font-size: 18px; text-align: center; padding: 16px;
}
.landing-bloques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.landing-capacidad { margin-bottom: 0; }
.landing-capacidad p:last-child { margin-bottom: 0; }
.landing-mas { margin: 32px 0 0; }
.docs-bloque h3 { margin: 20px 0 8px; font-size: 15px; line-height: 22px; font-weight: 500; }
.docs-bloque h3:first-of-type { margin-top: 0; }
.docs-proximo p { margin-bottom: 0; }

@media (max-width: 720px) {
  .landing-bloques { grid-template-columns: 1fr; }
  .landing-bloque { padding: 24px; }
}

@media (max-width: 800px) {
  .landing-portada h1 { font-size: 32px; line-height: 40px; }
  .landing-columnas { grid-template-columns: 1fr; }
}

/* 170 · the public landing with the real product. Everything is scoped under .portada
   (the rules the mockup left unscoped keep their weight through :where(.portada)):
   landing.css is shared with access, documentation, terms and privacy, which stay as they are. */
@font-face { font-family: "Oxirian Inter"; font-weight: 400; font-display: swap; src: url("landing/fonts/Inter-Regular.975566606992.woff2") format("woff2"); }
@font-face { font-family: "Oxirian Inter"; font-weight: 500; font-display: swap; src: url("landing/fonts/Inter-Medium.677ba0882981.woff2") format("woff2"); }
@font-face { font-family: "Oxirian Inter Display"; font-weight: 600; font-display: swap; src: url("landing/fonts/InterDisplay-SemiBold.a8773984ef37.woff2") format("woff2"); }

.portada {
  --bg: #0e1218;
  --accent: #22c8ff;
  --linea: rgba(255, 255, 255, .09);
  --suave: #a8b3c2;
  background:
    radial-gradient(70% 520px at 50% -80px, rgba(34, 200, 255, .16), transparent 70%),
    var(--bg);
  font-family: "Oxirian Inter", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.portada .entrada-cabecera { max-width: 1200px; width: 100%; margin: 0 auto; padding: 20px 24px; }
.portada .entrada-logo { background: rgba(14, 18, 24, .6); border-color: var(--linea); }
.portada .landing { max-width: 1200px; padding: 0 24px 40px; }

/* Hero */
.portada .landing-portada { padding: 72px 0 48px; text-align: center; }
:where(.portada) .portada-eyebrow {
  margin: 0 0 22px; font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.portada #landing-lema {
  margin: 0 auto 24px; max-width: 980px; font-family: "Oxirian Inter Display", "Oxirian Inter", Inter, Arial, sans-serif;
  font-weight: 600; letter-spacing: -.035em; text-wrap: balance;
}
.portada .lema-fuerte { display: block; font-size: clamp(44px, 7.2vw, 88px); line-height: 1.02; }
.portada .lema-resto {
  display: block; margin-top: 18px; font-size: clamp(20px, 2.3vw, 28px); line-height: 1.3;
  font-weight: 600; letter-spacing: -.015em; color: #d7dee8;
}
.portada .landing-entradilla { margin: 0 auto 36px; max-width: 640px; font-size: 18px; line-height: 28px; color: var(--suave); }
.portada .landing-acciones { justify-content: center; gap: 14px; }
.portada .boton { padding: 13px 28px; border-radius: 10px; font-weight: 500; }
.portada .boton-principal { background: var(--accent); color: #06121a; }
.portada .boton-principal:hover { background: #5ad6ff; }
.portada .boton-secundario { border-color: rgba(255, 255, 255, .18); }
.portada .boton-secundario:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .32); }

/* The real product, large: the demo video, with the canvas capture as its poster (175). */
.portada .landing-video {
  position: relative; display: block; aspect-ratio: auto; margin: 8px auto 0; padding: 0;
  border: 1px solid var(--linea); border-radius: 16px; overflow: hidden; background: #111821;
  box-shadow: 0 0 0 1px rgba(34, 200, 255, .08), 0 50px 140px -40px rgba(34, 200, 255, .35), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.portada .landing-video video {
  display: block; width: 100%; height: auto; aspect-ratio: 2400 / 1417; background: #111821;
}

/* The four blocks: one per row, text and capture alternating. */
.portada .landing-seccion-bloques { padding-top: 120px; }
.portada .landing-bloques { display: flex; flex-direction: column; gap: 128px; }
.portada .landing-capacidad {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none;
}
.portada .landing-capacidad:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.portada .landing-capacidad:nth-child(even) .bloque-texto { order: 2; }
.portada .bloque-num {
  display: block; margin-bottom: 18px; font-size: 13px; line-height: 20px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.portada .landing-capacidad h2 {
  margin: 0 0 20px; font-family: "Oxirian Inter Display", "Oxirian Inter", Inter, Arial, sans-serif; font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.05; font-weight: 600; letter-spacing: -.03em; color: #fff;
}
.portada .landing-capacidad p { margin: 0 0 16px; max-width: 460px; font-size: 18px; line-height: 29px; color: var(--suave); }
.portada .landing-capacidad p:last-child { margin-bottom: 0; }
.portada .etiqueta-prevista { vertical-align: 2px; }

.portada .bloque-captura { position: relative; margin: 0; }
.portada .bloque-captura img {
  display: block; width: 100%; height: auto; border: 1px solid var(--linea); border-radius: 14px; background: #19212c;
  box-shadow: 0 40px 100px -40px rgba(34, 200, 255, .28), 0 24px 50px -24px rgba(0, 0, 0, .7);
}
.portada .entrada-pie { background: transparent; border-top-color: var(--linea); }

/* Header: Documentation next to Access. */
:where(.portada) .portada-nav { display: flex; align-items: center; gap: 22px; }
:where(.portada) .portada-enlace { font-size: 15px; color: #d7dee8; }
:where(.portada) .portada-enlace:hover { color: var(--accent); }

/* One project, three phases. */
:where(.portada) .portada-fases { padding: 120px 0 0; text-align: center; }
:where(.portada) .portada-fases h2, :where(.portada) .portada-cierre h2 {
  margin: 0 0 48px; font-family: "Oxirian Inter Display", "Oxirian Inter", Inter, Arial, sans-serif; font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08; font-weight: 600; letter-spacing: -.03em;
}
:where(.portada) .fases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; counter-reset: fase; }
:where(.portada) .fases li { position: relative; padding: 28px; border: 1px solid var(--linea); border-radius: 16px; background: rgba(30, 38, 50, .55); }
:where(.portada) .fases li + li::before {
  content: ""; position: absolute; left: -21px; top: 44px; width: 20px; height: 2px; background: var(--accent); opacity: .6;
}
:where(.portada) .fase-num {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%;
  background: rgba(34, 200, 255, .14); color: var(--accent); font-weight: 600; font-size: 15px;
}
:where(.portada) .fases h3 { margin: 0 0 8px; font-size: 20px; line-height: 28px; font-weight: 600; color: #fff; }
:where(.portada) .fases p { margin: 0; font-size: 16px; line-height: 25px; color: var(--suave); }

/* Illustrations: the app's own cards and chips, few elements, large type. */
:where(.portada) .ilustra {
  margin: 0; padding: 44px; border: 1px solid var(--linea); border-radius: 20px;
  background: radial-gradient(80% 90% at 50% 0%, rgba(34, 200, 255, .10), transparent 70%), #121922;
  box-shadow: 0 40px 100px -50px rgba(34, 200, 255, .30);
}
:where(.portada) .ilu-tarjeta {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; border: 1px solid #2b3748; border-radius: 12px; background: #1e2632;
}
:where(.portada) .ilu-tarjeta b { font-size: 18px; line-height: 24px; font-weight: 500; color: #fff; }
:where(.portada) .ilu-origen, :where(.portada) .ilu-chip {
  align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #123e52; color: var(--accent);
  font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
:where(.portada) .ilustra-formatos { display: grid; grid-template-columns: auto 64px 1fr; align-items: center; gap: 12px; }
:where(.portada) .ilu-entrada { display: flex; flex-direction: column; align-items: center; gap: 18px; }
:where(.portada) .ilu-doc {
  position: relative; width: 120px; height: 150px; padding: 16px 14px; border-radius: 10px 26px 10px 10px;
  background: #e9eef5; color: #0e1218; display: flex; flex-direction: column; gap: 10px;
}
:where(.portada) .ilu-doc-tipo { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: #e5484d; color: #fff; font-size: 13px; font-weight: 600; }
:where(.portada) .ilu-doc-lineas { flex: 1; background: repeating-linear-gradient(#b8c3d1 0 3px, transparent 3px 12px); opacity: .9; }
:where(.portada) .ilu-doc-nombre { font-size: 13px; font-weight: 500; }
:where(.portada) .ilu-previstos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 150px; opacity: .55; }
:where(.portada) .ilu-formato { padding: 3px 9px; border: 1px dashed #4a5a70; border-radius: 6px; font-size: 13px; color: var(--suave); }
:where(.portada) .ilu-previstos .etiqueta-prevista { margin: 0; }
:where(.portada) .ilu-flecha { height: 2px; background: var(--accent); position: relative; }
:where(.portada) .ilu-flecha::after {
  content: ""; position: absolute; right: -2px; top: -6px;
  border-left: 12px solid var(--accent); border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
:where(.portada) .ilu-tarjetas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

:where(.portada) .ilustra-decision { display: flex; flex-direction: column; align-items: center; gap: 0; }
:where(.portada) .ilu-pastilla {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500;
}
:where(.portada) .ilu-rovin { background: #123e52; color: var(--accent); }
:where(.portada) .ilu-aprobado { background: rgba(70, 214, 160, .14); color: #6fe3b6; border: 1px solid rgba(70, 214, 160, .35); }
:where(.portada) .ilu-aprobado i { font-style: normal; font-weight: 700; }
:where(.portada) .ilustra-decision > * + * { margin-top: 36px; position: relative; }
:where(.portada) .ilustra-decision > * + *::before {
  content: ""; position: absolute; left: 50%; top: -30px; width: 2px; height: 24px; background: #3a4a60;
}
:where(.portada) .ilu-tarjeta-grande { width: 100%; max-width: 460px; padding: 24px; gap: 10px; }
:where(.portada) .ilu-tarjeta-grande b { font-size: 20px; }
:where(.portada) .ilu-tarjeta-grande p { margin: 0; font-size: 17px; line-height: 26px; color: #c9d2de; }
:where(.portada) .ilu-botones { display: flex; gap: 10px; margin-top: 10px; }
:where(.portada) .ilu-boton {
  flex: 1; padding: 12px 0; border-radius: 10px; text-align: center; background: #26324a; color: #e6ecf3; font-size: 16px; font-weight: 500;
}
:where(.portada) .ilu-aprobar { background: #156bff; color: #fff; box-shadow: 0 0 0 4px rgba(21, 107, 255, .25); }

:where(.portada) .ilustra-charla { display: flex; flex-direction: column; gap: 18px; padding: 48px 44px; }
:where(.portada) .ilu-burbuja { max-width: 86%; padding: 16px 20px; font-size: 18px; line-height: 28px; border-radius: 18px; }
:where(.portada) .ilu-pregunta { align-self: flex-end; background: #156bff; color: #fff; border-bottom-right-radius: 6px; }
:where(.portada) .ilu-respuesta { align-self: flex-start; background: #1e2632; border: 1px solid #2b3748; color: #e6ecf3; border-bottom-left-radius: 6px; }
:where(.portada) .ilu-quien { display: block; margin-bottom: 4px; font-size: 14px; color: var(--accent); }
:where(.portada) .ilu-respuesta .ilu-chip { display: inline-block; margin-top: 8px; font-size: 15px; }

:where(.portada) .bloque-cifra { display: flex; flex-direction: column; gap: 4px; margin-top: 28px !important; padding-top: 24px; border-top: 1px solid var(--linea); }
:where(.portada) .bloque-cifra b {
  font-family: "Oxirian Inter Display", "Oxirian Inter", Inter, Arial, sans-serif; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: #fff;
}
:where(.portada) .bloque-cifra span { font-size: 15px; line-height: 22px; color: var(--suave); }

/* Closing. */
:where(.portada) .portada-cierre {
  margin: 120px 0 40px; padding: 72px 24px; text-align: center; border: 1px solid var(--linea); border-radius: 24px;
  background: radial-gradient(60% 120% at 50% 0%, rgba(34, 200, 255, .16), transparent 70%), #121922;
}
:where(.portada) .portada-cierre h2 { margin-bottom: 32px; }

@media (max-width: 860px) {
  .portada .landing-portada { padding: 40px 0 32px; }
  .portada .landing-seccion-bloques { padding-top: 72px; }
  .portada .landing-bloques { gap: 72px; }
  .portada .landing-capacidad,
  .portada .landing-capacidad:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .portada .landing-capacidad:nth-child(even) .bloque-texto { order: 0; }
  .portada .landing-capacidad p { max-width: none; font-size: 17px; line-height: 27px; }
  :where(.portada) .portada-fases { padding-top: 72px; }
  :where(.portada) .fases { grid-template-columns: 1fr; gap: 14px; }
  :where(.portada) .fases li + li::before { left: 45px; top: -15px; width: 2px; height: 14px; }
  :where(.portada) .ilustra { padding: 24px; }
  :where(.portada) .ilustra-formatos { grid-template-columns: 1fr; justify-items: center; }
  :where(.portada) .ilu-entrada { flex-direction: row; }
  :where(.portada) .ilu-flecha { width: 2px; height: 40px; }
  :where(.portada) .ilu-flecha::after { right: -6px; top: auto; bottom: -2px; border-top: 12px solid var(--accent); border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 0; }
  :where(.portada) .ilu-tarjetas { width: 100%; }
  :where(.portada) .ilustra-charla { padding: 28px 20px; }
  :where(.portada) .ilu-burbuja { max-width: 94%; font-size: 17px; line-height: 26px; }
  :where(.portada) .portada-cierre { margin-top: 80px; padding: 48px 20px; }
  :where(.portada) .portada-nav { gap: 14px; }
}
@media (max-width: 480px) {
  .portada .entrada-cabecera { padding: 16px; }
  .portada .entrada-logo { padding: 0 14px; }
  .portada .entrada-logo span { display: none; }
  .portada .landing-acciones .boton { width: 100%; text-align: center; }
  .portada .entrada-pie { height: auto; padding: 12px 16px; flex-wrap: wrap; gap: 4px; }
}
