/* thedeeppresent.com · tokens y reglas de ~/Sati/_shared/design/DESIGN.md (páginas públicas). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

:root {
  --profundo: #0A305C;
  --oceano: #081D40;
  --abismo: #04192F;
  --luz: #F5F6F9;
  --blanco: #FFFFFF;
  --pizarra: #495160;
  --amarillo: #EFCC57;
  --violeta: #7F00FF;
  --luz-70: rgba(245, 246, 249, .70);
  --linea-oscura: rgba(245, 246, 249, .14);
  --linea-clara: rgba(4, 25, 47, .12);

  --f-titulo: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
  --f-texto: Poppins, "Helvetica Neue", Arial, sans-serif;
  --f-rotulo: Montserrat, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 10vw, 144px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--profundo);
  color: var(--luz);
  font: 400 clamp(1rem, 1.1vw, 1.125rem)/1.65 var(--f-texto);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* Tipografía */
h1, h2 { font-family: var(--f-titulo); font-weight: 700; letter-spacing: -.04em; line-height: .95; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7vw, 6rem); max-width: 15ch; }
h2 { font-size: clamp(2.125rem, 5.4vw, 4.75rem); max-width: 16ch; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
.on-blue h1 em, .on-blue h2 em { color: var(--amarillo); }
.on-light h2 em { color: inherit; }
p { margin: 0; text-wrap: pretty; }

.subtitle {
  font: 400 clamp(1.125rem, 1.9vw, 1.4375rem)/1.5 var(--f-titulo);
  max-width: 38ch;
  margin-top: clamp(20px, 2.4vw, 32px);
}

.rotulo {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .75rem/1 var(--f-rotulo); letter-spacing: .3em; text-transform: uppercase;
  margin: 0 0 clamp(24px, 3vw, 36px);
}
.rotulo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amarillo); flex: none; }

/* Bandas */
.band { padding-block: var(--section); }
.on-blue { background: var(--profundo); color: var(--luz); }
.on-light { background: var(--luz); color: var(--abismo); }
.hero { padding-block: clamp(56px, 11vh, 136px) var(--section); }

/* Formulario de una línea */
.optin { margin-top: clamp(32px, 4vw, 48px); max-width: 640px; }
.optin-row { display: flex; gap: 12px; }
.optin label.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.optin input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--luz); color: var(--abismo);
  font: 400 1rem/1 var(--f-texto);
}
.optin input[type="email"]::placeholder { color: var(--pizarra); opacity: 1; }
.on-light .optin input[type="email"] { background: var(--blanco); border-color: var(--pizarra); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 36px; flex: none;
  border: 1px solid var(--amarillo); border-radius: 999px;
  background: var(--amarillo); color: var(--abismo);
  font: 600 .8125rem/1 var(--f-rotulo); letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: box-shadow .2s var(--ease-out);
}
.btn .arrow { display: inline-block; transition: transform .25s var(--ease-out); }
.btn:hover { box-shadow: inset 0 0 0 100vmax rgba(255, 255, 255, .22); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { box-shadow: inset 0 0 0 100vmax rgba(4, 25, 47, .08); }
.optin input:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--amarillo); outline-offset: 3px; }
.on-light .optin input:focus-visible, .on-light .btn:focus-visible, .on-light a:focus-visible { outline-color: var(--abismo); }
.honeypot { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.fine { margin-top: 16px; font-size: .875rem; line-height: 1.6; color: var(--luz-70); max-width: 52ch; }
.on-light .fine { color: var(--pizarra); }
.fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.byline {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 20px;
  border-top: 1px solid var(--linea-oscura);
  font-size: .875rem; line-height: 1.5; color: var(--luz-70);
  max-width: 640px;
}
.byline strong { font-weight: 400; color: var(--luz); }

/* Qué recibes */
.parts { list-style: none; counter-reset: part; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(28px, 3vw, 40px); }
.parts li { counter-increment: part; border-top: 1px solid var(--linea-clara); padding-top: 20px; max-width: 34ch; }
.parts li::before {
  content: counter(part); display: block; margin-bottom: 12px;
  font: italic 400 1.5rem/1 var(--f-titulo); letter-spacing: -.02em; color: var(--pizarra);
}

/* Páginas de un solo mensaje */
.single { min-height: 100svh; display: flex; align-items: center; }
.single .body { margin-top: clamp(20px, 2.4vw, 32px); max-width: 46ch; color: var(--luz-70); }
.single .back { display: inline-block; margin-top: 36px; color: var(--luz); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }

footer { background: var(--abismo); color: var(--luz-70); font-size: .875rem; padding-block: 28px; }
footer a { color: var(--luz); text-underline-offset: 3px; }

/* Movimiento: el hero entra una vez; el contenido nunca depende de la animación para verse. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .65s var(--ease-out) backwards; }
  .rise:nth-child(2) { animation-delay: .08s; }
  .rise:nth-child(3) { animation-delay: .16s; }
  .rise:nth-child(4) { animation-delay: .24s; }
  .rise:nth-child(5) { animation-delay: .32s; }
}
@keyframes rise { from { opacity: .35; transform: translateY(14px); } }

@media (max-width: 599px) {
  .optin-row { flex-direction: column; }
  .btn { width: 100%; }
}
