@font-face {
  font-family: "Inter";
  src: url("/activos/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/activos/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/activos/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/activos/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/activos/playfair-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/activos/playfair-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/activos/playfair-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/activos/playfair-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/activos/playfair-600i.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/activos/jbmono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/activos/jbmono-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --fondo: #0a0a0c;
  /* El panel de una tarjeta: un paso más claro que el fondo, no un color
     aparte, para que las tarjetas se sientan del mismo material. */
  --vitela: #18191c;
  --vitela-alta: #202226;
  --regla: #28292d;
  --tinta: #f5f5f4;
  --rubro: #f04f56;
  --azur: #7c9eff;

  --tenue: #a3a3aa;
  /*
    Para texto que debe pesar menos sin volverse ilegible. Pasa AA en los dos
    fondos oscuros: por encima de 4.5:1 sobre --fondo y sobre --vitela.
  */
  --apagado: #8b8b93;
  /* Un punto más claro que --vitela: la lengüeta del botón del asistente y
     los estados de hover tienen que despegarse del panel. */
  --lengueta: #202226;
  /*
    Dos familias, como antes de Inter: --titular para lo que es contenido
    (títulos, el nombre de una materia) y --cuerpo para lo que es interfaz
    (nav, botones, fechas, chips). Playfair Display es una display serif —
    preciosa grande, casi ilegible en un botón de 13px — así que la regla es
    mecánica: si el elemento es un título o un nombre propio, --titular; si
    es algo que se toca o un dato tabular, --cuerpo. Ver NOTAS-DISENO.md.
  */
  --titular: "Playfair Display", Georgia, serif;
  --cuerpo: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  /* El monospace del sistema cambia de un navegador a otro y se nota, sobre
     todo al lado de Inter y Playfair Display, que sí están cuidadas. Para
     código y el editor de la descripción. */
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* El degradado de la marca: rubro a ámbar, la fruta. Se usa en el
     wordmark del sidebar y nada más: uno solo, no dos. */
  --gradiente-marca: linear-gradient(135deg, #fb7185, #f59e0b);

  /* Escala tipográfica en cuarta justa (1.333), de Bringhurst. */
  --t--1: 0.82rem;
  --t-0: 1rem;
  --t-1: 1.333rem;
  --t-2: 1.777rem;
  --t-3: 2.369rem;
  --t-4: 3.157rem;
  --t-5: 5.61rem;

  --paso: 1.5rem;
}

/* Shared typography and surfaces come from shared/theme.css. */
:root { --coral: #ff8994; --coral-fuerte: #f04f6a; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font-family: var(--cuerpo); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--coral); outline-offset: 6px; border-radius: 3px; }
::selection { color: var(--fondo); background: var(--coral); }
.page { max-width: 1328px; margin-inline: auto; padding: 0 24px; }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 2; padding: 12px; background: var(--tinta); color: var(--fondo); }
.skip-link:focus { top: 12px; }
.header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--regla); }
.brand { display: flex; align-items: center; gap: 9px; }
.brand img { width: 32px; height: auto; }
.brand span, .footer-brand { font: 600 27px var(--titular); letter-spacing: -1px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
nav > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tenue); }
nav a:hover, .footer a:hover { color: var(--coral); }
.hero { display: grid; gap: 38px; padding: 48px 0; }
.intro { margin: 0 0 21px; color: var(--coral); font-size: 14px; line-height: 1.5; }
h1 { font: 400 clamp(48px, 12vw, 72px)/1.08 var(--titular); letter-spacing: -2px; margin: 0; }
.description { color: var(--tenue); font-size: 16px; line-height: 1.8; max-width: 350px; margin: 24px 0 28px; }
.button { display: inline-flex; gap: 25px; justify-content: space-between; align-items: center; min-height: 48px; padding: 13px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #211216; background: var(--coral); }
.button:hover { background: #ffa6ae; }
.hero-brand { margin: 0; min-height: 340px; border: 1px solid var(--regla); border-radius: 20px; background: var(--vitela); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 20px 36px; }
.hero-logo { width: min(66%, 265px); height: auto; object-fit: contain; }
figcaption { display: flex; flex-direction: column; text-align: center; margin-top: 7px; }
.wordmark { font: 700 58px/1.1 var(--titular); color: var(--coral); letter-spacing: -2px; }
.brand-caption { font-size: 12px; color: var(--tinta); margin-top: 12px; letter-spacing: 1.5px; }
.essence { border-top: 1px solid var(--regla); padding: 44px 0 48px; display: grid; gap: 24px; }
.essence .intro { margin-bottom: 16px; }
h2 { font: 400 34px/1.2 var(--titular); letter-spacing: -.8px; margin: 0; }
.essence-copy { max-width: 455px; }
.essence-copy p { margin: 0 0 16px; color: var(--tenue); font-size: 15px; line-height: 1.85; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0 32px; border-top: 1px solid var(--regla); }
.footer-brand { color: var(--coral); }
.footer p { color: var(--tenue); font-size: 12px; }
.footer p { margin-left: auto; }
@media (min-width: 640px) {
 .page { padding-inline: 40px; }
 nav > a:first-child { display: block; color: var(--tenue); }
 .hero { grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-block: 64px; }
 h1 { font-size: clamp(46px, 6vw, 78px); }
 .hero-brand { min-height: 410px; }
 .hero-logo { width: 85%; }
 .essence { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 48px; }

 .footer p { margin: 0; }
}
@media (min-width: 1024px) {
 .page { padding-inline: 64px; }
 .header { min-height: 104px; }
 nav { font-size: 14px; gap: 38px; }
 .hero { grid-template-columns: 1.05fr 1fr; gap: 64px; padding-block: 68px; }
 h1 { font-size: 78px; letter-spacing: -3px; }
 .intro { font-size: 15px; }
 .description { font-size: 17px; margin-block: 27px 32px; }
 .hero-brand { min-height: 474px; }
 .hero-logo { width: 262px; }
 .wordmark { font-size: 70px; }
 .brand-caption { font-size: 13px; }
 .essence { grid-template-columns: 1.05fr 1fr; gap: 64px; padding-block: 52px; }
 h2 { font-size: 40px; }
 .essence-copy p { font-size: 16px; }
 .footer { padding-block: 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (min-width: 1024px) { h1 { font-size: 70px; } }
