/*
 * WhatsApp Listener · home pública
 *
 * Mismo sistema visual que el producto (web/src/styles.css): papel, tinta y
 * tres acentos (pine bien, amber atención, clay mal). La paleta no se toca.
 * Tres familias con roles fijos: Newsreader para títulos y citas, IBM Plex
 * Mono solo para datos y etiquetas cortas (nunca una oración) y la sans del
 * sistema para el cuerpo. Ningún texto por debajo de 11px.
 *
 * Las réplicas de la interfaz (.mock) están hechas en HTML y CSS con los
 * mismos nombres de clase del producto (.post, .said, .face, .pulse, .st...).
 */

:root {
  --paper: #f6f7f4;
  --surface: #ffffff;
  --sunk: #edefea;
  --ink: #15201c;
  --ink-2: #39443e;
  --slate: #5f6a65;
  --hair: #dce0d8;
  --hair-2: #c6ccc1;
  --pine: #2f5d50;
  --pine-soft: #e6eeea;
  --amber: #8a5709;
  --amber-soft: #f7eedc;
  --clay: #8f3427;
  --clay-soft: #f7e7e3;

  /* Texto sobre tinta: el papel con distinta opacidad (10:1 y 8:1 sobre --ink). */
  --on-ink: #f6f7f4;
  --on-ink-2: #c9ccc9;
  --on-ink-line: #39423f;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

  --wrap: 1120px;
  --gut: clamp(20px, 5vw, 40px);
  --sec: clamp(64px, 9vw, 120px);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
}
p,
ul,
ol,
figure {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}
.on-ink :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--pine-soft);
}
[id] {
  scroll-margin-top: 24px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* --- tipografía --- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 1.35rem + 3.2vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
}
h1 em,
h2 em {
  font-style: italic;
}
h2 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-lead {
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 38em;
  margin-top: 16px;
}

/* --- botones y links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 7px;
  border: 1px solid var(--pine);
  background: var(--pine);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.btn.ghost {
  min-height: 40px;
  padding: 0 16px;
  background: transparent;
  color: var(--ink-2);
  border-color: var(--hair-2);
  font-size: 14px;
  font-weight: 500;
}
.btn.ghost:hover {
  background: var(--sunk);
  color: var(--ink);
  border-color: var(--hair-2);
}
.textlink {
  color: var(--pine);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.textlink:hover {
  text-decoration-thickness: 2px;
}

/* --- barra superior --- */
.site-head {
  padding: 18px 0;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: -0.012em;
  text-decoration: none;
  color: var(--ink);
}
.head-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.head-links > a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
}
.head-links > a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- héroe --- */
.hero {
  padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 8vw, 104px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.hero-copy {
  padding-top: clamp(0px, 2vw, 28px);
}
.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 33em;
  margin-bottom: 30px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}
.fineprint {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 33em;
}
.fineprint a {
  color: var(--ink-2);
  text-underline-offset: 3px;
}

/* --- réplicas de la interfaz --- */
.mock {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(21, 32, 28, 0.05),
    0 22px 50px -18px rgba(21, 32, 28, 0.2);
}
.mock-top {
  background: var(--surface);
  border-bottom: 1px solid var(--hair);
  padding: 16px 20px 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px 14px;
}
.mock-top > div {
  flex: 1 1 0;
  min-width: 0;
}
.mock-top .sample {
  align-self: flex-start;
  margin-top: 2px;
}
.mock-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
.mock-sub {
  font-size: 13px;
  line-height: 1.4;
  color: var(--slate);
  margin-top: 3px;
  max-width: 52ch;
}
.mock-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-count {
  font-size: 12.5px;
  color: var(--slate);
  white-space: nowrap;
}
.sample {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--amber-soft);
  color: var(--amber);
  white-space: nowrap;
}
.mock-cap {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--slate);
  max-width: 62ch;
}

/* El muro del héroe: se corta abajo, porque sigue. */
.mock.wall .mock-body {
  max-height: 660px;
  overflow: hidden;
}
.mock.wall::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: linear-gradient(to bottom, rgba(246, 247, 244, 0), var(--paper) 88%);
  pointer-events: none;
}

.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tab {
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid var(--hair-2);
  font-size: 12px;
  color: var(--ink-2);
  background: transparent;
}
.tab.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.st.ok {
  background: var(--pine-soft);
  color: var(--pine);
}
.st.warn {
  background: var(--amber-soft);
  color: var(--amber);
}
.st.off {
  background: var(--sunk);
  color: var(--slate);
}
.st.bad {
  background: var(--clay-soft);
  color: var(--clay);
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.post {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 16px 18px 13px;
}
.post.hot {
  box-shadow: inset 2px 0 0 var(--clay);
}
.post-topic {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--hair);
}
.post-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.post-cat {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  white-space: nowrap;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.said {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.said-who {
  font-size: 12px;
  color: var(--slate);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 5px;
}
.said-text {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.thread-more {
  margin-left: 36px;
  font-size: 12px;
  color: var(--slate);
}
.face {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  user-select: none;
}
.face.a {
  background: var(--pine-soft);
  color: var(--pine);
}
.face.b {
  background: var(--amber-soft);
  color: var(--amber);
}
.face.c {
  background: var(--clay-soft);
  color: var(--clay);
}
.face.f {
  background: var(--sunk);
  color: var(--ink-2);
}
.sep {
  color: var(--hair-2);
}
.tone-word {
  font-family: var(--mono);
  font-size: 11px;
  margin-left: 6px;
}
.tone-word.bad {
  color: var(--clay);
}
.tone-word.warn {
  color: var(--amber);
}
.tone-word.off {
  color: var(--slate);
}
.post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--hair);
}
.pulse {
  font-size: 12px;
  color: var(--slate);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 5px;
}
.pulse b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--ink-2);
}
.pulse .grp {
  color: var(--ink-2);
}
.pulse .also {
  color: var(--pine);
}
.pulse .back {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
}
.post-open {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--pine);
  white-space: nowrap;
}

/* La secuencia del héroe: las citas entran una a una, como si la gente hablara. */
@media (prefers-reduced-motion: no-preference) {
  .hero .said {
    animation: said-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
    animation-delay: calc(0.5s + var(--i, 0) * 0.85s);
  }
  .hero .thread-more,
  .hero .post-foot {
    animation: said-in 0.7s ease backwards;
    animation-delay: calc(0.5s + var(--i, 0) * 0.85s);
  }
}
@keyframes said-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- el problema --- */
.problem {
  padding: var(--sec) 0;
  border-top: 1px solid var(--hair);
}
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}
.lines {
  list-style: none;
  padding: 0;
  counter-reset: l;
}
.lines li {
  counter-increment: l;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 22px 0;
  border-top: 1px solid var(--hair);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.008em;
  color: var(--ink);
  text-wrap: pretty;
}
.lines li:last-child {
  border-bottom: 1px solid var(--hair);
}
.lines li::before {
  content: '0' counter(l);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
  padding-top: 0.55em;
}

/* --- cómo funciona --- */
.how {
  padding: var(--sec) 0;
  background: var(--surface);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.how-head {
  max-width: 46rem;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.chain {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 30px;
}
.step {
  position: relative;
  padding-top: 52px;
}
.node {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  background: var(--pine);
  color: #fff;
  z-index: 1;
}
.step.human .node {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
}
.step::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 30px;
  right: -30px;
  height: 2px;
  background: var(--pine);
}
.step:nth-child(3)::before {
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 11px);
}
.step:last-child::before {
  display: none;
}
.step-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 16px 0 6px;
}
.step.human .step-tag {
  color: var(--ink);
}
.step h3 {
  margin-bottom: 8px;
}
.step p:not(.step-tag) {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.art {
  background: var(--sunk);
  border-radius: 9px;
  padding: 12px;
  height: 152px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.art-chat {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 7px;
  padding: 8px 10px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.art-chat i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--hair-2);
}
.art-chat.no {
  border-style: dashed;
  background: transparent;
  opacity: 0.8;
}
.art-chat.no i {
  background: var(--hair);
}
.art-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--pine);
}
.art-chat.no .art-tag {
  color: var(--slate);
  text-decoration: line-through;
}
.art-card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 7px;
  padding: 10px 12px;
}
.art-card b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}
.art-card q {
  display: block;
  quotes: none;
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink);
  border-left: 2px solid var(--hair-2);
  padding-left: 9px;
  margin-bottom: 6px;
}
.art-card span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
}
.art-merge {
  display: grid;
  grid-template-columns: auto 18px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}
.art-merge ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.art-merge li {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--hair);
  color: var(--ink-2);
  white-space: nowrap;
}
.art-merge .arrow {
  color: var(--slate);
  text-align: center;
  font-size: 14px;
}
.art-merge .one {
  background: var(--pine-soft);
  color: var(--pine);
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 12.5px;
  line-height: 1.35;
}
.art-merge .one b {
  display: block;
  font-weight: 600;
}
.art-merge .one span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
}
.art-ticket {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--amber);
  border-radius: 7px;
  padding: 10px 12px;
}
.art-ticket b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 7px;
}
.art-ticket .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.art-ticket .moves {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--hair);
  font-size: 11.5px;
  color: var(--slate);
  display: flex;
  gap: 10px;
}
.art-ticket .moves u {
  text-underline-offset: 2px;
}

/* La cadena se arma al llegar a ella. Sin JS o con movimiento reducido, se ve entera. */
@media (prefers-reduced-motion: no-preference) {
  .chain.is-armed .step {
    opacity: 0.18;
    transform: translateY(10px);
    transition:
      opacity 0.6s ease,
      transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--n, 0) * 0.45s);
  }
  .chain.is-armed.is-in .step {
    opacity: 1;
    transform: none;
  }
}

/* --- qué ve el equipo --- */
.team {
  padding: var(--sec) 0;
}
.team-head {
  max-width: 44rem;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--hair);
}
.feature:last-child {
  border-bottom: 1px solid var(--hair);
}
.feature.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.feature.flip .feature-text {
  order: 2;
}
/* El tablero necesita ancho: el texto va arriba en dos columnas y el tablero abajo, entero. */
.feature.wide {
  display: block;
}
.feature.wide .feature-text {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: start;
  margin-bottom: 32px;
}
.feature.wide .feature-text > div > p {
  margin-bottom: 0;
}
.feature.wide .mock-cap {
  max-width: none;
}
.feature-text h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  margin-bottom: 14px;
}
.feature-text > p {
  color: var(--ink-2);
  margin-bottom: 18px;
}
.ticks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ticks li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pine);
}

.list-box {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 7px;
  overflow: hidden;
}
.section-h {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.section-h b {
  font-size: 13.5px;
  font-weight: 600;
}
.section-h .sub {
  font-size: 12.5px;
  color: var(--slate);
  margin-top: 1px;
}
.convo-h {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 16px 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
}
.convo-h .nth {
  color: var(--ink-2);
}
.convo + .convo {
  border-top: 1px solid var(--hair);
  margin-top: 8px;
}
.mention {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 16px;
  align-items: start;
}
.who-ref {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  background: var(--sunk);
  border-radius: 4px;
  padding: 2px 6px;
  text-align: center;
  white-space: nowrap;
}
.mention .quote {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.mention .facts {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--slate);
  margin-top: 3px;
}
.group-acts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 11px 16px;
  border-top: 1px solid var(--hair);
  background: var(--paper);
  font-size: 12.5px;
  color: var(--slate);
}
.sev-pick {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid var(--clay);
  color: var(--clay);
  background: var(--clay-soft);
}
.group-acts .grow {
  flex: 1;
}
.pseudo-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 5px;
  background: var(--pine);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.col {
  background: var(--sunk);
  border-radius: 9px;
  padding: 10px;
}
.col-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3px 9px;
}
.col-h b {
  font-size: 12.5px;
  font-weight: 600;
}
.col-h span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
}
.card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--hair-2);
  border-radius: 7px;
  padding: 11px;
  margin-bottom: 9px;
}
.card:last-child {
  margin-bottom: 0;
}
.card.high {
  border-left-color: var(--clay);
}
.card.normal {
  border-left-color: var(--amber);
}
.card .title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--sunk);
  color: var(--slate);
}
.chip.urg {
  background: var(--clay-soft);
  color: var(--clay);
}
.closed-by {
  margin-top: 8px;
  font-size: 12px;
  color: var(--slate);
  font-style: italic;
}
.card .move {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--hair);
  font-size: 11.5px;
  color: var(--slate);
}
.card .move u {
  text-underline-offset: 2px;
}
.assignee {
  font-size: 11.5px;
  color: var(--ink-2);
  border: 1px solid var(--hair-2);
  border-radius: 4px;
  padding: 1px 6px;
  background: var(--surface);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.stats.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tabs .mock-count {
  margin-left: auto;
  align-self: center;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 7px;
  padding: 12px 14px;
}
.stat-l {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  line-height: 1.35;
}
.stat-v {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 4px 0 2px;
}
.stat-f {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.35;
}
.rank {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--hair);
}
.rank:last-child {
  border-bottom: 0;
}
.rank-n {
  width: 132px;
  flex-shrink: 0;
  font-size: 13px;
}
.rank-bar {
  flex: 1;
  height: 7px;
  background: var(--sunk);
  border-radius: 4px;
  overflow: hidden;
}
.rank-bar i {
  display: block;
  height: 100%;
  background: var(--pine);
}
.rank-c {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  width: 24px;
  text-align: right;
}

/* --- solo lectura y privacidad --- */
.on-ink {
  background: var(--ink);
  color: var(--on-ink);
  padding: var(--sec) 0;
}
.on-ink h2,
.on-ink h3 {
  color: var(--on-ink);
}
.on-ink .eyebrow {
  color: var(--on-ink-2);
}
.priv-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.priv-head {
  position: sticky;
  top: 32px;
}
.priv-head p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--on-ink-2);
  font-size: 1.0625rem;
  max-width: 28em;
}
.guarantees {
  list-style: none;
  padding: 0;
}
.guarantees li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 22px 0;
  border-top: 1px solid var(--on-ink-line);
}
.guarantees li:last-child {
  border-bottom: 1px solid var(--on-ink-line);
}
.g-n {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--on-ink-2);
  padding-top: 0.5em;
}
.guarantees h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.guarantees p {
  color: var(--on-ink-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 44em;
}
.sends {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 18px 20px;
  border: 1px solid var(--on-ink-line);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-ink-2);
  max-width: 62rem;
}
.sends b {
  color: var(--on-ink);
  font-weight: 600;
}

/* --- antes de empezar --- */
.before {
  padding: var(--sec) 0;
}
.warn-box {
  background: var(--amber-soft);
  border: 1px solid #e6d3a8;
  border-left: 4px solid var(--amber);
  border-radius: 0 10px 10px 0;
  padding: clamp(24px, 4vw, 48px);
  color: #5c3b06;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.warn-box .eyebrow {
  color: var(--amber);
}
.warn-box h2 {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem);
  margin-bottom: 14px;
}
.warn-box .warn-lead {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--ink);
}
.warn-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.warn-list li {
  padding: 15px 0;
  border-top: 1px solid #e6d3a8;
  font-size: 16px;
  line-height: 1.55;
}
.warn-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.warn-list li:last-child {
  padding-bottom: 0;
}
.warn-list b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}

/* --- para quién es --- */
.who {
  padding: 0 0 var(--sec);
}
.who-head {
  max-width: 44rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.uses {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 72px);
}
.uses li {
  padding: 26px 0 30px;
  border-top: 1px solid var(--hair-2);
}
.uses h3 {
  margin-bottom: 8px;
}
.uses p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}
.uses .eg {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--slate);
}
.uses .eg q {
  quotes: none;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  font-style: italic;
}
.note-ex {
  margin-top: 8px;
  font-size: 14px;
  color: var(--slate);
}

/* --- preguntas --- */
.faq {
  padding: var(--sec) 0;
  background: var(--surface);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}
.faq-list details {
  border-top: 1px solid var(--hair);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--hair);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--pine);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list summary:hover {
  color: var(--pine);
}
.faq-body {
  padding: 0 0 24px;
  max-width: 42em;
}
.faq-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.faq-body p + p {
  margin-top: 10px;
}

/* --- cierre --- */
.cta-section {
  padding: var(--sec) 0 clamp(40px, 6vw, 72px);
}
.cta-band {
  background: var(--pine);
  color: #fff;
  border-radius: 16px;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem);
  max-width: 17em;
}
.cta-band p {
  margin-top: 12px;
  color: var(--pine-soft);
  font-size: 1.0625rem;
  max-width: 34em;
}
.cta-band .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.cta-band .btn:hover {
  background: #fff;
  border-color: #fff;
}
.cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-side a.alt {
  color: var(--pine-soft);
  font-size: 14px;
  text-underline-offset: 4px;
}

/* --- pie --- */
.site-foot {
  padding: 8px 0 48px;
  font-size: 14px;
  color: var(--slate);
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  padding-top: 24px;
}
.foot-row a {
  color: var(--ink-2);
  text-underline-offset: 3px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.legal {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.55;
  max-width: 62em;
}

/* --- responsive --- */
@media (max-width: 1020px) {
  .chain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 30px;
  }
  .step:nth-child(2)::before {
    display: none;
  }
  .priv-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .priv-head {
    position: static;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .problem-grid,
  .feature,
  .feature.flip,
  .feature.wide .feature-text,
  .warn-box {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature.flip .feature-text {
    order: 0;
  }
  .hero-copy {
    padding-top: 0;
  }
  .mock.wall .mock-body {
    max-height: 520px;
  }
  .uses {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .chain {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .step {
    padding: 0 0 36px 52px;
  }
  .step::before,
  .step:nth-child(2)::before {
    display: block;
    top: 30px;
    bottom: 0;
    left: 14px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .step:nth-child(3)::before {
    background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 11px);
  }
  .step:last-child {
    padding-bottom: 0;
  }
  .step-tag {
    margin-top: 2px;
  }
  .board {
    grid-template-columns: minmax(0, 1fr);
  }
  .mention {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .who-ref {
    justify-self: start;
  }
  .rank-n {
    width: 104px;
    font-size: 12.5px;
  }
  .mock-top {
    padding: 14px 16px 13px;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  .mock-top .sample {
    order: -1;
    margin-top: 0;
  }
  .tabs .mock-count {
    margin-left: 0;
    flex-basis: 100%;
  }
  .mock-top > div {
    flex: 1 1 100%;
  }
  .mock-body {
    padding: 14px 12px 16px;
  }
  .post {
    padding: 14px 14px 12px;
  }
  .faq-list summary {
    font-size: 1.15rem;
  }
  .guarantees li {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .head-links {
    gap: 14px;
  }
  .btn {
    width: 100%;
  }
  .head-links .btn {
    width: auto;
  }
  .cta-side {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .head-links > a:not(.btn) {
    display: none;
  }
}
