/* modoDATOS — Landing Opción A · Editorial.
   Tokens y proporciones siguen design_handoff_landing_a/source/brand/tokens.jsx
   y la spec en README.md. 1280px max width, 80px paddings horizontales. */

:root {
  /* Brand */
  --teal: #2FD4B3;
  --teal-deep: #1FA890;
  --teal-soft: #B8F0E3;
  --teal-wash: #EAFAF5;
  /* Neutrals */
  --ink: #0E1B1A;
  --ink80: #3A4746;
  --ink60: #6B7775;
  --ink40: #9BA5A3;
  --ink20: #D4DAD8;
  --ink10: #E8ECEB;
  --ink05: #F0F3F2;
  --cream: #F5F8F7;
  --paper: #FBFCFB;
  /* Fonts */
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "DM Mono", "JetBrains Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
}

/* ── NAV ─────────────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}
.foot-brand .brand-mark { width: 40px; height: 40px; }
.brand-word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.brand-word strong { color: var(--teal); font-weight: 800; }
.brand-word-light, .brand-word-light strong { color: #fff; }
.foot-brand .brand-word strong { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink80);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

/* ── EYEBROW (compartido) ───────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: currentColor;
  display: inline-block;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.92); }

/* ── HERO ────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 80px 0 140px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  left: 50%;
  top: 60px;
  transform: translateX(-50%);
  width: 760px;
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.hero > *:not(.hero-bg) { position: relative; z-index: 1; }

.hero .eyebrow { margin-bottom: 28px; }

.hero-mark {
  width: 170px; height: auto;
  margin-bottom: 36px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 1000px;
}
.hero h1 .accent { color: var(--teal); }

.hero .lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink60);
  margin-top: 32px;
  max-width: 640px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 44px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #1a2826; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink20);
  padding: 18px 28px;
}
.btn-secondary:hover { background: var(--ink05); }

.trust {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink40);
  text-align: center;
}
.trust-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--teal);
  display: inline-block;
  flex-shrink: 0;
}

/* ── STATS BAND ──────────────────────────────────────── */

.stats-band {
  background: var(--ink);
  color: #fff;
}
.stats-inner { padding: 104px 80px; }

.stats-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 16px;
}
.stats-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
}
.stat {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--teal);
  display: block;
}
.stat span {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 24px;
}

/* ── 2-line "label + word" variant (index.html stats) ───────────────
   Forces both the title and description to occupy ~2 lines so the
   four blocks read as a balanced rhythm rather than a number row.    */
.stat--block strong {
  font-size: 48px;
  line-height: 1.05;
}
.stat--block span {
  font-size: 14px;
  line-height: 1.45;
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .stats-inner { padding: 80px 24px; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat { min-height: 0; }
  .stat strong { font-size: 56px; }
  .stat--block strong { font-size: 40px; }
}

/* ── HOW IT WORKS ────────────────────────────────────── */

.how, .benefits, .operators, .faq { padding: 140px 0; }
.benefits { padding-top: 40px; }
.operators { padding: 40px 0 140px; text-align: center; }
.faq { padding: 40px 0 140px; }

@media (max-width: 900px) {
  .how, .benefits, .operators, .faq { padding: 80px 0; }
  .operators { padding: 24px 0 80px; }
  .faq { padding: 24px 0 80px; }
}

.section-head { margin-bottom: 80px; }
.section-head-center { text-align: center; }
.section-head-center .eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: inline-block;
}
.section-head h2 .muted { color: var(--ink60); }

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.section-head-row > div { max-width: 720px; }
.section-head-row .eyebrow { margin-bottom: 14px; }
.benefits-aside {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink60);
  max-width: 320px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
}
.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
}
.step-num-1 { background: var(--teal); color: var(--ink); }
.step-num-2 { background: var(--teal-soft); color: var(--teal-deep); }
.step-num-3 { background: var(--teal-wash); color: var(--teal-deep); }
.step-line {
  flex: 1;
  height: 1px;
  background: var(--ink10);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.step p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink60);
}

/* ── BENEFITS ────────────────────────────────────────── */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink10);
}
.benefit {
  display: flex;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid var(--ink10);
}
.benefit:nth-child(odd) {
  border-right: 1px solid var(--ink10);
  padding-right: 48px;
}
.benefit:nth-child(even) {
  padding-left: 48px;
}
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--teal-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-text { flex: 1; min-width: 0; }
.benefit-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink40);
  display: block;
  margin-bottom: 6px;
}
.benefit h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.benefit p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink60);
  max-width: 460px;
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(odd), .benefit:nth-child(even) {
    border-right: none;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ── OPERATORS ───────────────────────────────────────── */

.operators .eyebrow { display: inline-flex; }
.operators h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 760px;
  margin: 16px auto 0;
}
.operators-sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink60);
  max-width: 560px;
  margin: 16px auto 48px;
}
.operator-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.chip {
  background: var(--cream);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--ink10);
}

/* ── FAQ ─────────────────────────────────────────────── */

.faq {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; gap: 32px; }
}
.faq-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 14px;
}

.faq-row {
  border-top: 1px solid var(--ink10);
  padding: 24px 0;
  cursor: pointer;
}
.faq-row:last-child { border-bottom: 1px solid var(--ink10); }
.faq-row summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  list-style: none;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 16px;
  border: 1.5px solid var(--ink20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-row[open] .faq-toggle {
  transform: rotate(45deg);
}
.faq-row p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink60);
  max-width: 720px;
  margin-top: 14px;
}

/* ── FOOTER ──────────────────────────────────────────── */

.foot {
  background: var(--ink);
  color: #fff;
  margin-top: 80px;
}
.foot-inner {
  padding: 64px 80px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .foot-inner { padding: 48px 24px 32px; }
}
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.foot-brand { max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.foot-brand .brand-word { color: #fff; }
.foot-brand p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 160px));
  gap: 32px;
}
.foot-cols h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.foot-cols a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.foot-cols a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

/* Header Descargar CTA — distinct from regular nav links so the
   primary install action stays visible without clicking through to
   the hero. Uses accent color + filled background for affordance. */
.nav-links .nav-cta {
  background: var(--accent, #4cd9c4);
  color: #0a1628;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 4px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 217, 196, 0.3);
}

/* Hero install hint — sub-line under the CTA buttons explaining the
   side-load step. Quiet so it doesnt compete with the primary CTA. cmd/ internal/

/* Header Descargar CTA — distinct from regular nav links so the
   primary install action stays visible without clicking through to
   the hero. Uses accent color + filled background for affordance. */
.nav-links .nav-cta {
  background: var(--accent, #4cd9c4);
  color: #0a1628;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 4px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 217, 196, 0.3);
}

/* Hero install hint — sub-line under the CTA buttons explaining the
   side-load step. Quiet so it doesn't compete with the primary CTA. */
.install-hint {
  font-size: 12px;
  color: var(--muted, #8aa0bf);
  margin-top: 12px;
  letter-spacing: 0.02em;
}
