/* ============================================================
   Jonatand · Landing "Hazte prescindible" (solo reglas de la home)
   Tokens, reset y componentes globales: style.css (ver DESIGN.md).
   Esta hoja se carga DESPUÉS de style.css y solo añade lo propio de la home.
   ============================================================ */

/* ---------- Base ---------- */

html { -webkit-text-size-adjust: 100% }

body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 32px;
  overflow-x: clip;
}

* { box-sizing: border-box }

p, h1, h2, h3 { margin: 0; color: inherit }
p { line-height: inherit }

a { color: inherit }
a:hover { opacity: .85 }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px }
.band-dark a:focus-visible,
.site-footer a:focus-visible { outline-color: var(--on-dark) }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important }
}

/* ---------- Utilidades ---------- */

.container { max-width: 760px; margin: 0 auto; padding: 0 24px }

.mt8  { margin-top: 8px }   .mt12 { margin-top: 12px }  .mt16 { margin-top: 16px }
.mt20 { margin-top: 20px }  .mt24 { margin-top: 24px }  .mt28 { margin-top: 28px }
.mt32 { margin-top: 32px }  .mt40 { margin-top: 40px }  .mt44 { margin-top: 44px }
.mt48 { margin-top: 48px }  .mt56 { margin-top: 56px }  .mt64 { margin-top: 64px }
.mt72 { margin-top: 72px }

/* texto corrido 22/34 */
.t { font-size: 22px; line-height: 34px }
.t-muted { color: var(--ink-muted) }
.t-muted-dark { color: var(--on-dark-muted) }

/* énfasis serif cursiva (uno por titular) */
.em { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.1em; letter-spacing: -0.01em }
.em--brand { color: var(--brand) }        /* sobre fondo oscuro */
.em--text  { color: var(--brand-text) }   /* sobre fondo claro */

/* resaltado naranja inclinado */
.hl { background: var(--brand-soft); color: var(--on-brand); padding: 0 .12em; display: inline-block; transform: rotate(-1deg) }
.hl--15 { transform: rotate(-1.5deg) }

/* resaltado plano dentro de un párrafo (hereda color de tinta) */
.hl-flat { background: var(--brand-soft); color: var(--on-brand); padding: 0 6px; font-weight: 800 }

/* etiquetas mono */
.kicker, .mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.band-dark .kicker { color: var(--brand) }
.kicker--ink { color: inherit }

/* notas a mano (Dancing Script, la misma «d» del logo), máx. una o dos por sección */
.note {
  font-family: var(--font-script);
  font-weight: 700;
  line-height: .93;
  transform: rotate(-2deg);
  transform-origin: left;
  display: inline-block;
}

/* chips y etiquetas con borde */
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 1px;
  border: 2px solid var(--ink);
  padding: 4px 12px;
}
.chip--filled { background: var(--ink); color: var(--surface-100) }
.chip--file { font-size: 16px; line-height: 20px; background: var(--surface-200); padding: 2px 8px }

/* etiqueta grande (GRATIS, TIEMPO...) */
.chip--label {
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 3px solid var(--ink);
  padding: 2px 12px;
}
.chip--ink   { background: var(--ink); color: var(--surface-100) }
.chip--brand { background: var(--brand-soft); color: var(--on-brand) }

/* rotaciones de etiquetas y notas */
.rot--2 { transform: rotate(-2deg) }
.rot15  { transform: rotate(1.5deg) }
.rot--1 { transform: rotate(-1deg) }

.weight-500 { font-weight: 500 }

/* botones: sombra dura, borde 3px, radio 4px */
.btn {
  display: inline-block;
  font-size: 20px;
  line-height: 26px;
  font-weight: 800;
  padding: 18px 32px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
}
.btn--brand { background: var(--brand); color: var(--on-brand); box-shadow: 6px 6px 0 var(--ink) }
.btn--ink   { background: var(--ink); color: var(--surface-100); box-shadow: 6px 6px 0 var(--surface-100); padding: 16px 28px }

/* bandas de color a todo ancho */
.band-dark  { background: var(--dark); color: var(--on-dark) }
.band-brand { background: var(--brand); color: var(--on-brand); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink) }

/* ---------- Cabecera ---------- */

.site-header { background: var(--surface-100) }
.header-row { display: flex; justify-content: flex-end; padding-top: 0; padding-bottom: 0 }
.logo-tab {
  width: 132px;
  height: 56px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-right: 24px;
}

/* ---------- 1 · Apertura ---------- */

.hero .container { padding: 88px 24px 104px }
.hero-name { font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -0.5px }
.hero-tagline { font-size: 20px; line-height: 28px; color: var(--ink-muted) }
.hero-title { margin-top: 72px; font-size: clamp(52px, 8vw, 100px); line-height: .94; font-weight: 800; letter-spacing: -.055em }
.hero-big { font-size: clamp(28px, 8vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em }
.hero-silla { font-size: clamp(38px, 12vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -.05em }
.hero-note { font-size: clamp(36px, 11vw, 56px); color: var(--brand-text) }
.hero-quepasa { font-size: clamp(32px, 10vw, 48px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em }

/* ---------- 2 · Negocio 1 · el malo (crema) ---------- */

.negocio-malo { background: var(--surface-100); border-top: 3px solid var(--ink) }
.negocio-malo .container { padding: 72px 24px }
.negocio-malo-title { font-size: clamp(26px, 7vw, 34px); line-height: 1.18; font-weight: 800; letter-spacing: -.03em }

/* ---------- 3 · Negocio 2 · el bueno (banda oscura) ---------- */

.negocio-bueno { padding: 88px 24px }
.negocio-bueno-title { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em }

/* ---------- 4 · Dos negocios ---------- */

.dosnegocios { background: var(--surface-100) }
.dosnegocios .container { padding: 96px 24px }
.dosnegocios-title { font-size: clamp(40px, 6vw, 72px); line-height: .98; font-weight: 800; letter-spacing: -.05em }

/* ---------- 5 · Historia ---------- */

.historia { background: var(--surface-300); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink) }
.historia .container { padding: 96px 24px }
.historia-title { font-size: clamp(38px, 5vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.045em }
.historia-claim { font-size: clamp(28px, 8vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em }
.historia-note { font-size: clamp(32px, 9vw, 44px); color: var(--brand-text) }

.result-card { background: var(--surface-100); border: 3px solid var(--ink); padding: 28px 32px 12px }
.result-row { border-bottom: 3px solid var(--ink); padding: 20px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px }
.result-row:last-child { border-bottom: 0 }
.result-num { flex: 0 0 auto; font-size: clamp(64px, 11vw, 112px); line-height: .9; font-weight: 800; letter-spacing: -.06em }
.result-desc { font-family: var(--font-mono); font-weight: 500; font-size: 14px; line-height: 20px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink) }

/* ---------- 6 · El error que se repite ---------- */

.error-head { padding: 96px 24px 64px }
.error-title { font-size: clamp(48px, 8vw, 104px); line-height: .92; font-weight: 800; letter-spacing: -.055em }

.camino-row { border-top: 3px solid var(--on-dark); padding: 20px 24px }
.camino-inner { display: flex; align-items: baseline; gap: 20px }
.camino-num { font-family: var(--font-mono); font-weight: 500; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--on-dark-muted) }
.camino-step { font-size: clamp(34px, 5.4vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.045em }
.camino-row--brand { background: var(--brand); color: var(--on-brand) }
.camino-row--brand .camino-num { color: inherit }
.camino-end { border-top: 3px solid var(--on-dark) }

.error-close { padding: 56px 24px 96px }
.error-camino { font-size: clamp(24px, 7vw, 32px); line-height: 1.25; font-weight: 800; letter-spacing: -.025em }

/* ---------- 7 · Lo que cuesta no hacerlo ---------- */

.factura { background: var(--surface-100) }
.factura .container { padding: 96px 24px }
.factura-title { font-size: clamp(40px, 6vw, 72px); line-height: .98; font-weight: 800; letter-spacing: -.05em }
.factura-block { border-top: 3px solid var(--ink); padding-top: 24px }
.factura-line { font-size: clamp(23px, 6.5vw, 28px); line-height: 1.28; font-weight: 800; letter-spacing: -.03em }
.factura-close { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em }

/* ---------- 8 · Dos cosas ---------- */

.doscosas { padding: 96px 24px }
.doscosas-title { font-size: clamp(56px, 10vw, 120px); line-height: .9; font-weight: 800; letter-spacing: -.06em }
.num-row { display: flex; align-items: baseline; gap: 16px }
.num-row--2 { border-top: 3px solid var(--ink); padding-top: 40px }
.num-em { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(44px, 14vw, 64px); line-height: .88 }
.doscosas-sub { font-size: clamp(27px, 7.5vw, 34px); line-height: 1.18; font-weight: 800; letter-spacing: -.03em }
.doscosas-micro { line-height: 20px }
.chips { display: flex; flex-wrap: wrap; gap: 10px }
.doscosas-note { font-size: clamp(30px, 9vw, 40px) }
.doscosas-monto { font-size: clamp(22px, 6vw, 26px); line-height: 1.38; font-weight: 800; letter-spacing: -.02em }

/* ---------- 9 · Quién no debería seguir leyendo ---------- */

.aviso { padding: 96px 24px }
.aviso-title { font-size: clamp(40px, 6vw, 72px); line-height: .98; font-weight: 800; letter-spacing: -.05em }
.aviso-row { display: flex; gap: 24px; align-items: flex-start; border-top: 2px solid var(--line-dark); padding-top: 24px; margin-top: 24px }
.aviso-row--si { border-top-color: var(--brand) }
.aviso-label { flex: 0 0 56px; font-family: var(--font-mono); font-weight: 500; font-size: 16px; line-height: 34px; letter-spacing: 1px; text-transform: uppercase; color: var(--on-dark-muted) }
.aviso-label--si { color: var(--brand) }
.aviso-si { font-size: clamp(23px, 6.5vw, 28px); line-height: 1.35; font-weight: 800; letter-spacing: -.02em }
.aviso-note { font-size: clamp(34px, 10vw, 48px); color: var(--brand) }

/* ---------- 10 · Cierre ---------- */

.cierre { background: var(--surface-100) }
.cierre .container { padding: 104px 24px 112px }
.cierre-title { font-size: clamp(44px, 7vw, 84px); line-height: .94; font-weight: 800; letter-spacing: -.055em }
.cierre-sub { font-size: clamp(30px, 4vw, 46px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em }

/* ---------- Pie ---------- */

.site-footer { background: var(--dark); color: var(--on-dark) }
.footer-row { padding: 36px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px }
.footer-brand { display: block; height: 32px; width: auto }
.footer-meta { font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 20px; letter-spacing: 1px; color: var(--on-dark-muted) }

.logo-tab img { display: block }
