/* Landing de Papiro. Identidad «Imprenta»: los tokens son los de web/src/estilos.css (F3-01),
   escritos a mano acá para que la landing sea autónoma. Sin build, sin JavaScript. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(fuentes/ibm-plex-sans-latin-ext-wght-normal-5.3.0.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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(fuentes/ibm-plex-sans-latin-wght-normal-5.3.0.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fuentes/ibm-plex-mono-latin-ext-400-normal-5.3.0.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fuentes/ibm-plex-mono-latin-400-normal-5.3.0.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fuentes/ibm-plex-mono-latin-ext-500-normal-5.3.0.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fuentes/ibm-plex-mono-latin-500-normal-5.3.0.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fuentes/ibm-plex-mono-latin-ext-600-normal-5.3.0.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fuentes/ibm-plex-mono-latin-600-normal-5.3.0.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;
}

:root {
  color-scheme: light dark;
  --fondo: #eef0f2;
  --nav: #f6f7f9;
  --superficie: #ffffff;
  --texto: #1b1f24;
  --tenue: #5b6470;
  --borde: #d3d8de;
  --linea: #e6e9ed;
  --petroleo: #0e6b76;
  --petroleo-texto: #0b5b65;
  --petroleo-suave: #dbe8ea;
  --petroleo-sobre: #ffffff;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
/* La landing sigue al sistema; no tiene interruptor. */
@media (prefers-color-scheme: dark) {
  :root {
    --fondo: #15181c;
    --nav: #1a1e23;
    --superficie: #1e2328;
    --texto: #e3e6ea;
    --tenue: #9aa4b0;
    --borde: #2e343b;
    --linea: #272c33;
    --petroleo: #4fc3cf;
    --petroleo-texto: #6fd3dd;
    --petroleo-suave: #10353a;
    --petroleo-sobre: #0f1215;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petroleo-texto); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--petroleo); outline-offset: 2px; }
::selection { background: var(--petroleo-suave); color: var(--texto); }

.contenedor { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .contenedor { padding: 0 32px; } }

.saltar {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--superficie); color: var(--texto); border: 1px solid var(--borde);
  border-radius: 4px; padding: 8px 12px;
}
.saltar:focus { top: 8px; }

/* Cabecera clara: la barra oscura es del producto, no del sitio que lo cuenta. */
.cabecera { background: var(--nav); border-bottom: 1px solid var(--borde); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.marca svg { width: 26px; height: 26px; }
.marca .b { fill: var(--petroleo); }
.marca .p { fill: var(--petroleo-sobre); }
.acciones { display: flex; align-items: center; gap: 8px; }
.acciones .ingresar { padding: 8px 12px; color: var(--texto); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 4px; }
.acciones .ingresar:hover { background: var(--petroleo-suave); }

.boton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 0 16px; border-radius: 4px; font: 600 15px/1 var(--sans); text-decoration: none;
  border: 1px solid var(--borde); background: var(--superficie); color: var(--texto);
}
.boton:hover { border-color: var(--petroleo); }
.boton.principal { background: var(--petroleo); border-color: var(--petroleo); color: var(--petroleo-sobre); }
.boton.principal:hover { filter: brightness(1.08); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: 32px; letter-spacing: -0.02em; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
p { margin: 0; }
@media (min-width: 720px) { h1 { font-size: 44px; } h2 { font-size: 32px; } }
.lectura { max-width: 68ch; }
.tenue { color: var(--tenue); }

section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 80px 0; } }
section + section { border-top: 1px solid var(--linea); }
.intro { display: grid; gap: 12px; margin-bottom: 32px; }
.intro p { color: var(--tenue); }

/* Apertura */
.apertura { padding: 48px 0 56px; }
@media (min-width: 720px) { .apertura { padding: 72px 0 80px; } }
.apertura .texto { display: grid; gap: 20px; margin-bottom: 40px; }
.apertura .botones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* Capturas: única sombra del sitio */
.captura { margin: 0; }
.captura img { width: 100%; border: 1px solid var(--borde); border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.08); background: var(--superficie); }

/* Lo que hace */
.hace { display: grid; gap: 28px 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .hace { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hace { grid-template-columns: repeat(3, 1fr); } }
.hace li { list-style: none; display: grid; gap: 6px; border-top: 2px solid var(--petroleo); padding-top: 14px; align-content: start; }
.hace p { color: var(--tenue); }
.hace, .planes ul { margin: 0; padding: 0; }

/* Temas */
.temas { display: grid; gap: 24px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .temas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .temas { grid-template-columns: repeat(3, 1fr); } }
.temas figure { margin: 0; display: grid; gap: 10px; }
.temas img { aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.temas figcaption { display: grid; gap: 2px; }
.temas figcaption strong { font-weight: 600; }
.temas figcaption span { color: var(--tenue); font-size: 15px; }

/* Planes */
.planes { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .planes { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--superficie); border: 1px solid var(--borde); border-radius: 4px; }
.plan.recomendado { border: 2px solid var(--petroleo); padding: 23px; }
.plan h3 { font-size: 18px; font-weight: 600; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.plan .etiqueta { font: 500 13px/1 var(--sans); color: var(--petroleo-texto); }
.plan ul { list-style: none; display: grid; gap: 10px; }
.plan li { padding-bottom: 10px; border-bottom: 1px solid var(--linea); }
.plan li:last-child { border-bottom: 0; }
.plan .cifra { font-family: var(--mono); font-weight: 500; }
.plan .boton { margin-top: auto; }
.nota { margin-top: 20px; color: var(--tenue); font-size: 15px; }

/* Pie */
.pie { border-top: 1px solid var(--borde); background: var(--nav); padding: 32px 0; }
.pie .contenedor { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: baseline; }
.pie p { color: var(--tenue); font-size: 15px; }
.pie a { color: var(--petroleo-texto); }

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

/* Las tres tarjetas alinean sus listas aunque la descripción ocupe dos líneas. */
@media (min-width: 860px) { .plan > p { min-height: 3.1em; } }
