/* =====================================================
   TECLIOS · Landing v2
   Editorial, denso, calmado. Voz: tutear, cifras precisas
   con CLP, frases cortas. Punto.
   Depende de colors_and_type.css (tokens de :root).
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Offset para que el nav sticky no tape la sección destino al hacer scroll por anchor. */
section[id] { scroll-margin-top: 80px; }

/* Accesibilidad · anula el smooth scroll si el sistema operativo lo pide. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Paper grain · fixed overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: .55;
  pointer-events: none;
  z-index: 200;
}

.wrap {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}

/* ====================== NAV ====================== */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bone) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.top .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.025em;
  color: var(--indigo-ink);
  line-height: 1;
  position: relative;
  padding-right: 12px;
}
.brand::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  position: absolute;
  bottom: 1px;
  right: 0;
}
.navlinks {
  display: flex; gap: 32px;
  font-size: 14px; font-weight: 500;
  position: relative;
}
.navlinks a { color: var(--fg-muted); transition: color var(--d-fast) var(--ease); }
.navlinks a:hover { color: var(--ink); }
.navlinks a.on { color: var(--ink); }
/* Sliding indicator · animado entre items por scroll-spy JS */
.navlinks .nav-indicator {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  pointer-events: none;
  opacity: 0;
  transform: translateX(0);
  transition: transform 360ms cubic-bezier(0.65, 0, 0.35, 1),
              width 360ms cubic-bezier(0.65, 0, 0.35, 1),
              opacity 200ms ease;
}
.nav-cta { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20,20,43,.18); }
.btn-ghost:hover { background: rgba(20,20,43,.04); border-color: rgba(20,20,43,.30); }
.btn-primary { background: var(--indigo-ink); color: var(--bone); }
.btn-primary:hover { background: var(--indigo); }
.btn-ember { background: var(--ember); color: var(--indigo-ink); }
.btn-ember:hover { background: var(--ember-2); }
.btn .arrow {
  display: inline-block;
  transition: transform var(--d-base) var(--ease);
}
.btn:hover .arrow { transform: translateX(2px); }

/* ====================== EYEBROW (mono micro-label) ====================== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow.muted { color: var(--fg-faint); }

/* ====================== HERO ====================== */
.hero {
  padding: 80px 0 64px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  /* 3-line forced wrap via <br> manuales en HTML. Font cap reducido del
     spec original 96px → 88px (fallback cap intermedio per user spec):
     a 96px la línea "Tu contabilidad," (16 chars) excede el ancho del
     column hero incluso con grid 1.8fr / wrap 1240px. A 88px + grid 1.8fr
     entra cómoda con ~28px de margen. max-width: none · wrap está
     forzado por <br>, balance queda como fallback inocuo. */
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: -.034em;
  line-height: 1.02;
  color: var(--indigo-ink);
  margin: 22px 0 0;
  max-width: none;
  text-wrap: balance;
}
.hero h1 .punct {
  display: inline-block;
  color: var(--crimson);
  transform: translateY(-.05em);
}
.hero .lead {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--fg-muted);
  margin: 28px 0 0;
  max-width: 480px;
  text-wrap: pretty;
}
.hero .lead b {
  color: var(--ink);
  font-weight: 600;
}
.hero .ctas {
  display: flex; gap: 12px;
  margin-top: 36px;
  align-items: center;
  flex-wrap: wrap;
}
.hero .ctas .fine {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-left: 6px;
}

/* Hero visual · notification stack */
.notif-stack {
  position: relative;
  perspective: 1400px;
}
.notif {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  margin-bottom: -32px;
  position: relative;
  transition: transform var(--d-base) var(--ease);
}
.notif:nth-child(1) {
  transform: rotate(-1.3deg);
  margin-left: 8px;
}
.notif:nth-child(2) {
  transform: rotate(.9deg);
  margin-right: 24px;
  z-index: 2;
}
.notif:nth-child(3) {
  transform: rotate(-.5deg);
  margin-left: 32px;
  z-index: 3;
  margin-bottom: 0;
}
.notif:hover {
  transform: rotate(0) translateY(-2px);
  z-index: 10;
}
.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.notif-from {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-ink);
}
.notif-from .mk {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--indigo-ink);
  color: var(--bone);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  position: relative;
  flex-shrink: 0;
}
.notif-from .mk::after {
  content: "";
  width: 4px; height: 4px;
  background: var(--crimson);
  border-radius: 50%;
  position: absolute;
  bottom: 4px; right: 4px;
}
.notif-ts {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.notif-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.notif-body b {
  font-weight: 600;
  color: var(--indigo-ink);
}
.notif-body .num {
  font-family: var(--serif);
  font-feature-settings: "tnum","lnum";
  font-weight: 600;
  letter-spacing: -.02em;
}
.notif-meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: flex;
  justify-content: space-between;
}
.notif-meta .tag-ok { color: var(--teal-deep); }
.notif-meta .tag-warn { color: var(--ember); }

/* ====================== TICKER ====================== */
.ticker {
  background: var(--indigo-ink);
  color: var(--bone);
  overflow: hidden;
  border-top: 1px solid rgba(245,239,225,.10);
  border-bottom: 1px solid rgba(245,239,225,.10);
}
.ticker-row {
  display: flex;
  gap: 56px;
  padding: 18px 0;
  animation: tick 60s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-row span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,239,225,.72);
  flex-shrink: 0;
}
.ticker-row span b {
  color: var(--ember-2);
  font-weight: 600;
  margin-right: 6px;
}
.ticker-row .sep {
  color: rgba(245,239,225,.25);
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ====================== SECTION SHELL ====================== */
section.page {
  padding: 104px 0;
  position: relative;
}
section.page + section.page { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -.025em;
  line-height: 1.02;
  color: var(--indigo-ink);
  margin: 14px 0 0;
  text-wrap: balance;
}
.section-head h2 .accent { color: var(--crimson); }
.section-head .lead-desc {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg-muted);
  text-wrap: pretty;
  max-width: 540px;
}
.section-head .lead-desc b { color: var(--ink); font-weight: 600; }

/* ====================== HOW IT WORKS · 4 steps ====================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step:last-child { border-right: 0; }
.step .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--crimson);
  font-weight: 500;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--indigo-ink);
  margin: 0;
  text-wrap: balance;
}
.step p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
  margin: 0;
  text-wrap: pretty;
}
.step .step-vis {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--indigo);
  line-height: 1.5;
}
.step .step-vis .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}
.step .step-vis .row:last-child { border-bottom: 0; }
.step .step-vis .row .tag {
  background: var(--bone-2);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--indigo-ink);
}
.step .step-vis .row .ok { color: var(--teal-deep); }
.step .step-vis .row .ember { color: var(--ember); }

/* ====================== WHAT IT DOES · features ====================== */
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.feat .feat-eye {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 500;
}
.feat h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: var(--indigo-ink);
  margin: 0;
  text-wrap: balance;
}
.feat p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
  text-wrap: pretty;
}
.feat-A { grid-column: span 7; }
.feat-B { grid-column: span 5; }
.feat-C { grid-column: span 4; }
.feat-D { grid-column: span 4; }
.feat-E { grid-column: span 4; }

.feat-A { background: var(--indigo-ink); color: var(--bone); border-color: var(--indigo-ink); }
.feat-A h3 { color: var(--bone); }
.feat-A p  { color: rgba(245,239,225,.70); }
.feat-A .feat-eye { color: var(--ember-2); }

/* small visual blocks inside features */
.feat-vis {
  margin-top: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bone);
  padding: 16px 18px;
}
.feat-A .feat-vis {
  background: rgba(245,239,225,.06);
  border-color: rgba(245,239,225,.14);
}

/* RCV daily timeline (in feat-A) */
.timeline {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  gap: 3px;
  align-items: end;
  height: 60px;
  margin: 8px 0 4px;
}
.timeline .bar {
  background: var(--teal);
  border-radius: 2px;
  opacity: .35;
  min-height: 12%;
}
.timeline .bar.lit { opacity: 1; background: var(--ember); }
.timeline-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,239,225,.50);
  margin-top: 10px;
}
.timeline-foot .now { color: var(--ember-2); }

/* IVA countdown */
.iva-pill {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 12px 4px 6px;
}
.iva-pill .num-big {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -.02em;
  color: var(--indigo-ink);
  font-feature-settings: "tnum","lnum";
}
.iva-pill .days {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
}
.iva-pill .days b {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ember);
  margin-right: 4px;
  font-weight: 600;
}

/* F29 receipt */
.receipt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--fg-muted);
  line-height: 1.7;
}
.receipt .line {
  display: flex; justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding: 4px 0;
}
.receipt .line:last-child { border-bottom: 0; padding-top: 8px; font-weight: 600; color: var(--indigo-ink); }
.receipt .line .v { color: var(--indigo-ink); }
.receipt .line .ok { color: var(--teal-deep); }

/* Doc request · chat thumbnails */
.docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.docs .doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: var(--bone-2);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--indigo-ink);
}
.docs .doc .status {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
}
.docs .doc .status.req { background: var(--ember); color: var(--indigo-ink); }
.docs .doc .status.ok { background: var(--teal); color: var(--indigo-ink); }

/* BHE list (feat-C) */
.bhe-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo-ink);
}
.bhe-list .b {
  display: flex; justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
}
.bhe-list .b:last-child { border-bottom: 0; }
.bhe-list .b .v { color: var(--fg-muted); }

/* ====================== DASHBOARD MOCK ====================== */
.dash-wrap {
  margin-top: 24px;
  background: var(--indigo-ink);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.dash-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(240,122,31,.18), transparent 60%),
    radial-gradient(40% 50% at 10% 90%, rgba(95,199,194,.10), transparent 65%);
  pointer-events: none;
}
.dash {
  background: var(--bone);
  border-radius: 14px;
  padding: 28px 32px;
  position: relative;
  z-index: 2;
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.dash-head .who {
  display: flex; align-items: center; gap: 14px;
}
.dash-head .who .mk2 {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--indigo-ink);
  color: var(--bone);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  position: relative;
}
.dash-head .who .mk2::after {
  content: "";
  width: 5px; height: 5px;
  background: var(--crimson);
  border-radius: 50%;
  position: absolute;
  bottom: 7px; right: 7px;
}
.dash-head .who h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin: 0;
  color: var(--indigo-ink);
  letter-spacing: -.02em;
}
.dash-head .who .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-top: 2px;
}
.dash-head .month {
  display: flex;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dash-head .month span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg-faint);
}
.dash-head .month span.on {
  background: var(--indigo-ink);
  color: var(--bone);
  border-color: var(--indigo-ink);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  background: var(--panel);
}
.kpi .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 8px;
}
.kpi .val {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -.02em;
  color: var(--indigo-ink);
  font-feature-settings: "tnum","lnum";
  line-height: 1;
}
.kpi .delta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--teal-deep);
  margin-top: 6px;
}
.kpi .delta.down { color: var(--crimson); }
.kpi .delta.warn { color: var(--ember); }

.dash-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.panel-block {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  background: var(--panel);
}
.panel-block h5 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 14px;
  color: var(--indigo-ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.panel-block h5 .small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 500;
}
.ranked {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ranked .r {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  font-size: 13px;
  align-items: center;
}
.ranked .r .rk {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-faint);
}
.ranked .r .nm {
  font-weight: 500;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ranked .r .nm .bar {
  height: 4px;
  background: var(--bone-2);
  border-radius: 2px;
  overflow: hidden;
}
.ranked .r .nm .bar i {
  display: block; height: 100%;
  background: var(--indigo);
  border-radius: 2px;
}
.ranked .r .nm .bar i.cli2 { background: var(--teal-deep); }
.ranked .r .nm .bar i.cli3 { background: var(--ember); }
.ranked .r .nm .bar i.cli4 { background: var(--crimson); }
.ranked .r .nm .bar i.cli5 { background: var(--gold); }
.ranked .r .vv {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--indigo-ink);
  font-feature-settings: "tnum","lnum";
}

.ai-insight {
  margin-top: 22px;
  background: var(--bone-2);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ai-insight .ai-mk {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--indigo-ink);
  color: var(--bone);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
}
.ai-insight .ai-mk::after {
  content: "";
  width: 4px; height: 4px;
  background: var(--crimson);
  border-radius: 50%;
  position: absolute;
  bottom: 4px; right: 4px;
}
.ai-insight .ai-text {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.ai-insight .ai-text b { font-weight: 600; color: var(--indigo-ink); }
.ai-insight .ai-text .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 6px;
  display: block;
}

/* ====================== PHILOSOPHY (split panel) ====================== */
.philo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.philo .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.philo .card.dark {
  background: var(--indigo-ink);
  color: var(--bone);
  border-color: var(--indigo-ink);
}
.philo .card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -.025em;
  line-height: 1.04;
  margin: 0;
  color: var(--indigo-ink);
  text-wrap: balance;
}
.philo .card.dark h3 { color: var(--bone); }
.philo .card h3 .em { color: var(--crimson); }
.philo .card.dark h3 .em { color: var(--ember-2); }
.philo .card p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
  text-wrap: pretty;
}
.philo .card.dark p { color: rgba(245,239,225,.75); }
.philo .card .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 500;
}
.philo .card.dark .tag { color: var(--ember-2); }

.pillars {
  margin-top: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.philo .card.dark .pillars { border-top-color: rgba(245,239,225,.18); }
.pillars .p .pk {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 4px;
}
.philo .card.dark .pillars .p .pk { color: rgba(245,239,225,.45); }
.pillars .p .pv {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo-ink);
  line-height: 1.3;
}
.philo .card.dark .pillars .p .pv { color: var(--bone); }

/* ====================== SCOPE · what's in / what's out ====================== */
.scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--panel);
}
.scope > div {
  padding: 36px 36px 40px;
}
.scope > div + div {
  border-left: 1px solid var(--line);
}
.scope h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--indigo-ink);
  margin: 14px 0 18px;
}
.scope h4 .em-good { color: var(--teal-deep); }
.scope h4 .em-bad  { color: var(--crimson); }
.scope ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.scope li {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.scope li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 10px; height: 1px;
  background: var(--teal-deep);
}
.scope .out li::before {
  background: var(--crimson);
}
.scope li b { font-weight: 600; color: var(--indigo-ink); }

/* ====================== FAQ ====================== */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq details[open] { padding-bottom: 32px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.015em;
  color: var(--indigo-ink);
  line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform var(--d-base) var(--ease), background var(--d-base) var(--ease);
  font-family: var(--mono);
  font-size: 14px;
  color: var(--fg-muted);
}
.faq details[open] summary .plus {
  transform: rotate(45deg);
  background: var(--indigo-ink);
  color: var(--bone);
  border-color: var(--indigo-ink);
}
.faq .ans {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 720px;
  text-wrap: pretty;
}
.faq .ans b { color: var(--ink); font-weight: 600; }

/* ====================== FOUNDER / TEAM ====================== */
.origin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.origin h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -.025em;
  line-height: 1;
  margin: 14px 0 0;
  color: var(--indigo-ink);
}
.origin .body p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.origin .body p b { color: var(--ink); font-weight: 600; }
.origin .quote {
  margin-top: 36px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--indigo-ink);
  letter-spacing: -.015em;
  text-wrap: balance;
}
.origin .who {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ====================== FINAL CTA ====================== */
.final {
  background: var(--indigo-ink);
  color: var(--bone);
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 80% 10%, rgba(240,122,31,.22), transparent 60%),
    radial-gradient(45% 55% at 10% 90%, rgba(212,38,58,.15), transparent 70%);
  pointer-events: none;
}
.final .inner { position: relative; z-index: 2; }
.final h2 {
  font-family: var(--serif);
  font-weight: 600;
  /* Narrative bracket cadence: Final CTA H2 dimensiona EXACTO al hero H1
     (Plan 3d.E.2 micro-fix corrected). Valores 1:1 con .hero h1 actual
     post Phase 2 micro-fix E (commit abebe68): clamp(52, 7vw, 88) +
     letter-spacing -.034em + line-height 1.02. Mobile match en
     @media 767. */
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: -.034em;
  line-height: 1.02;
  margin: 0;
  color: var(--bone);
  max-width: 16ch;
  text-wrap: balance;
}
.final h2 .em {
  color: var(--ember);
  display: inline-block;
}
.final h2 .em .dot { color: var(--crimson); }
.final .sub {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  color: rgba(245,239,225,.72);
  margin: 28px 0 0;
  max-width: 540px;
}
.final .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
  align-items: center;
}
.final .meta-grid {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(245,239,225,.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.final .meta-grid .m .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,239,225,.45);
  margin-bottom: 8px;
}
.final .meta-grid .m .v {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: var(--bone);
}

/* ====================== ACCESS FORM (final CTA) ====================== */
.access-form {
  margin-top: 40px;
  max-width: 520px;
}
.access-form .access-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.access-form input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(245,239,225,.22);
  background: rgba(245,239,225,.06);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color var(--d-base) var(--ease), background var(--d-base) var(--ease);
}
.access-form input[type="email"]::placeholder {
  color: rgba(245,239,225,.45);
}
.access-form input[type="email"]:focus {
  border-color: var(--ember);
  background: rgba(245,239,225,.10);
}
.access-form .hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.access-form .fine {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,239,225,.50);
}
.access-form .error {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ember-2);
}
.access-success {
  margin-top: 40px;
  max-width: 520px;
  padding: 24px 28px;
  border: 1px solid rgba(245,239,225,.18);
  border-radius: var(--r-lg);
  background: rgba(245,239,225,.06);
}
.access-success .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember-2);
  margin-bottom: 10px;
}
.access-success .msg {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--bone);
}
.access-success .msg .who {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ember-2);
}

/* ====================== FOOTER ====================== */
footer.foot {
  background: var(--indigo-ink);
  color: rgba(245,239,225,.50);
  padding: 32px 0;
  border-top: 1px solid rgba(245,239,225,.10);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
footer.foot .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
footer.foot a { color: rgba(245,239,225,.65); }
footer.foot a:hover { color: var(--bone); }
footer.foot .links { display: flex; gap: 32px; }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 980px) {
  .wrap { width: min(100% - 40px, 1240px); }
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:nth-child(odd) { border-right: 1px solid var(--line); }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .features { grid-template-columns: 1fr; }
  .feat-A,.feat-B,.feat-C,.feat-D,.feat-E { grid-column: 1 / -1; }
  .dash-body { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .philo { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
  .scope > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .origin { grid-template-columns: 1fr; gap: 32px; }
  .final .meta-grid { grid-template-columns: 1fr 1fr; }
  section.page { padding: 72px 0; }
  .navlinks { display: none; }
  .notif-stack { padding: 16px 0 0; }
  .notif { margin-bottom: 16px; transform: none !important; margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 767px) {
  /* Mobile H1 · <br> manuales ACTIVOS (3 líneas exactas, mismo layout
     conceptual que desktop). MIN 36 protege iPhone SE 375 (a 10.5vw=39
     → MIN 36 evita wrap interno a 4 líneas que ocurría con MIN 44+).
     iPhone 14 Pro Max 430 → 10.5vw≈45 (sweet spot validado por user).
     Tablets portrait → MAX 56. */
  .hero h1 {
    font-size: clamp(36px, 10.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -.030em;
  }
  /* Final CTA H2 · matching hero H1 mobile clamp EXACTO para narrative
     bracket cadence (3d.E.2 micro-fix corrected · values 1:1 con .hero h1
     mobile post Phase 2 micro-fix L commit 3f08f7e). */
  .final h2 {
    font-size: clamp(36px, 10.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -.030em;
  }
}
@media (max-width: 560px) {
  nav.top .row .nav-cta .btn-ghost { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .final .meta-grid { grid-template-columns: 1fr; }
  .dash { padding: 18px; }
  .dash-wrap { padding: 16px; }
}
