/* Landing shell (editorial) + app stage (13px density inside .stage only) */

:root {
  --bg: #08090b;
  --bg-1: #0c0e11;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e7e9ec;
  --text-muted: #9aa1a9;
  --text-subtle: #686f78;
  --accent: #6a6ac2;
  --accent-text: #a3a3f0;
  --accent-glow: rgba(106, 106, 194, 0.35);
  --font: "Inter", -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --display: "Space Grotesk", var(--font);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.011em;
  font-feature-settings: "cv05" 1, "ss01" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  /* Limpio: casi sin glow de marca (referencia x.ai) */
  background:
    radial-gradient(800px 400px at 50% -12%, rgba(255, 255, 255, 0.03), transparent 70%),
    var(--bg);
}

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(8, 9, 11, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 54px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}
.brand img { width: 22px; height: 22px; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
  font-family: inherit;
  background: transparent;
  color: inherit;
}
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-line {
  border-color: var(--border-strong);
  color: var(--text-muted);
}
.btn-line:hover { background: var(--bg-1); color: var(--text); }
/* Landing prod: Entrar en ámbar (mismo token que landing/) */
.btn-login {
  background: linear-gradient(180deg, #ffca55, #f0b429);
  color: #2a1e05;
  font-weight: 650;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 24px -10px rgba(240, 180, 41, 0.65);
}
.btn-login:hover {
  background: linear-gradient(180deg, #ffd66e, #f6bf3d);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 30px -8px rgba(240, 180, 41, 0.8);
}
/* DS app: sólido accent + text-on-accent (sin gradiente ni glow) */
.btn-primary {
  background: var(--accent);
  color: oklch(18% 0.03 285);
  font-weight: 500;
  box-shadow: none;
}
.btn-primary:hover { opacity: 0.9; }
.btn-lg {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 8px;
}
.btn-sm {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 8px;
  background: var(--accent);
  color: oklch(18% 0.03 285);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-sm:hover { opacity: 0.9; }

/* ── hero (copy + producto visible desde el primer viewport) ── */
.hero {
  text-align: center;
  padding: 56px 0 40px;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-product {
  width: min(100%, 560px);
  margin-top: 40px;
  text-align: left;
}
.stage-hero {
  min-height: 220px;
  max-height: 280px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: clamp(32px, 4.6vw, 52px);
  max-width: 14em;
  margin: 0 auto;
  color: #fff;
}
.hero-rotate {
  display: block;
  margin-top: 0.12em;
}
.hero-rotate-word {
  display: inline;
  color: #fff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 1px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero-rotate-word.is-out {
  opacity: 0;
  transform: translateY(6px);
}
.hero-sub {
  color: var(--text-muted);
  font-size: clamp(15px, 1.35vw, 17px);
  margin: 18px auto 0;
  max-width: 40ch;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-subtle);
}

/* ── feature layers: bloque a bloque (sin scroll-theater sticky) ── */
.ciclo { padding-bottom: 40px; }

.feature {
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 72px 0;
}
.feature-short {
  min-height: 0;
  padding: 56px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  gap: 56px;
  align-items: center;
  width: 100%;
}

.feature-rail {
  max-width: 400px;
  padding-top: 0;
  padding-bottom: 0;
}

.feature-rail .eyebrow {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.feature-rail .eyebrow::before {
  display: none;
}
.feature-rail h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: clamp(32px, 3.8vw, 48px);
  margin-top: 10px;
  color: #fff;
}
.feature-rail p {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 14px;
  max-width: 36ch;
  line-height: 1.5;
}

.feature-visual {
  position: relative;
  min-height: 560px;
  /* Contorno de app; fade = captura que se disuelve */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0b0d11;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 40px 100px -48px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  isolation: isolate;
}
.feature-visual.compact {
  min-height: 0;
  height: auto;
}
.feature-visual.compact .stage,
.stage-compact {
  height: 300px;
}
.feature-visual.compact .stage-plan,
.stage-plan.stage-compact {
  height: 440px;
}

/*
  Difuminado tipo Linear / captura: se disuelve al fondo de la página.
  Overlay (más fiable que mask solo en .stage, que el marco opaco tapaba).
*/
.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  border-radius: inherit;
  background-image:
    linear-gradient(to bottom, var(--bg) 0%, transparent 14%),
    linear-gradient(to top, var(--bg) 0%, transparent 32%),
    linear-gradient(to right, var(--bg) 0%, transparent 8%),
    linear-gradient(to left, var(--bg) 0%, transparent 8%);
  background-repeat: no-repeat;
  background-size:
    100% 48px,
    100% 140px,
    40px 100%,
    40px 100%;
  background-position:
    top left,
    bottom left,
    top left,
    top right;
}

/* Mask: el bloque entero (borde incluido) se funde abajo (look captura) */
.feature-visual {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 62%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 62%,
    transparent 100%
  );
}
.feature-visual .stage {
  -webkit-mask-image: none;
  mask-image: none;
}

.after {
  padding: 80px 0 90px;
  text-align: center;
}
.after p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 48ch;
  margin: 0 auto 22px;
}
footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  font-size: 12.5px;
  color: var(--text-subtle);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ══════════ STAGE ══════════ */
.stage {
  --bg-app: #08090b;
  --bg-content: #0b0d11;
  --bg-surface: oklch(100% 0 0 / 0.022);
  --bg-subtle: oklch(26% 0.007 240);
  --border: oklch(100% 0 0 / 0.08);
  --border-strong: oklch(100% 0 0 / 0.14);
  --border-subtle: oklch(100% 0 0 / 0.05);
  --text-primary: oklch(96% 0.004 240);
  --text-secondary: oklch(85% 0.006 240);
  --text-muted: oklch(58% 0.009 240);
  --text-subtle: oklch(45% 0.009 240);
  --accent: #6a6ac2;
  --accent-text: #a3a3f0;
  --success: oklch(70% 0.175 155);
  --success-text: oklch(78% 0.14 155);
  --success-subtle: oklch(18% 0.04 155);
  --warning: oklch(76% 0.155 82);
  --warning-text: oklch(82% 0.13 82);
  --warning-subtle: oklch(18% 0.04 82);
  --danger-text: oklch(70% 0.16 27);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 13px;

  position: relative;
  font-size: 13px;
  font-family: var(--font);
  letter-spacing: -0.011em;
  color: var(--text-primary);
  background: var(--bg-content);
  height: 560px;
  overflow: hidden;
}

.stage .scene {
  position: absolute;
  inset: 0;
  padding: 28px 20px 48px;
  overflow: hidden;
}

.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 600;
  flex: none;
  background: rgba(106, 106, 194, 0.22);
  color: var(--accent-text);
}
.avatar.lg { width: 36px; height: 36px; font-size: 13px; }
.avatar.xs { width: 20px; height: 20px; font-size: 9px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1.6px 6.5px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge-success {
  background: var(--success-subtle);
  border: 1px solid color-mix(in oklch, var(--success) 25%, transparent);
  color: var(--success-text);
}
.badge-accent {
  background: rgba(106, 106, 194, 0.1);
  border: 1px solid rgba(106, 106, 194, 0.25);
  color: var(--accent-text);
}
.badge-warn {
  background: var(--warning-subtle);
  border: 1px solid color-mix(in oklch, var(--warning) 25%, transparent);
  color: var(--warning-text);
}
.badge-neutral {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.badge .bdot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.page-head.quiet { opacity: 0.85; }
.page-head.tight {
  margin-bottom: 10px;
  gap: 10px;
}
.page-head.tight .meet-next.inline {
  margin-left: auto;
  margin-bottom: 0;
  padding: 4px 8px;
  max-width: 46%;
}
.page-head.tight .meet-next.inline .title {
  font-size: 12px;
}
.page-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.page-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  flex-wrap: wrap;
}
.page-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 16px;
}

.scene-inicio {
  display: flex;
  flex-direction: column;
  max-width: 520px;
}

/* plan: rewrite in-place */
.obj-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}
.title-stack {
  display: grid;
  min-width: 0;
}
.title-stack > .title {
  grid-area: 1 / 1;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  flex: none;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  transition: opacity 0.45s ease, color 0.35s ease;
}
.title-old { color: var(--text-muted); }
.title-new {
  opacity: 0;
  color: var(--text-primary);
  pointer-events: none;
}
.obj-text.striking .title-old {
  color: var(--text-subtle);
  text-decoration: line-through;
  text-decoration-color: color-mix(in oklch, var(--text-subtle) 55%, transparent);
  opacity: 0.4;
}
.obj-text.swapped .title-old {
  opacity: 0;
  pointer-events: none;
}
.obj-text.swapped .title-new {
  opacity: 1;
  pointer-events: auto;
}
.ometa.accent,
.obj-text .ometa.accent {
  color: var(--accent-text);
}
.org-goal {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--text);
}
.kr-list { display: flex; flex-direction: column; gap: 10px; }
.kr-row {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in oklch, var(--bg-1) 80%, transparent);
  transition: border-color 0.25s, opacity 0.25s;
}
.kr-row.dim { opacity: 0.55; }
.kr-row.pulse {
  border-color: color-mix(in oklch, var(--accent) 45%, transparent);
}
.kr-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.kr-lab {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-text);
}
.kr-title {
  flex: 1;
  font-size: 12.5px;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kr-pct {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.kr-bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.kr-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.55s ease;
}
.row.flash-check {
  background: color-mix(in oklch, var(--accent) 8%, transparent);
}
.meet-done-bucket {
  margin-top: 4px;
}
.obj-text .ometa {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
  transition: opacity 0.35s ease;
}
.obj-text.swapped .ometa {
  opacity: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
}

.coach {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(106, 106, 194, 0.45);
  background: rgba(106, 106, 194, 0.12);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  margin: 0 0 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.coach.on {
  opacity: 1;
  transform: none;
}
.coach-ico {
  display: grid;
  place-items: center;
  width: 22.75px;
  height: 22.75px;
  border-radius: 50%;
  background: rgba(106, 106, 194, 0.14);
  color: var(--accent-text);
  flex: none;
}
.coach-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.coach-lab {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.coach-txt {
  line-height: 1.35;
  font-weight: 500;
  transition: opacity 0.3s ease;
}
.coach-txt.swap { opacity: 0; }

.ring { flex: none; margin-top: 1px; }
.ring .track { stroke: var(--bg-subtle); fill: none; }
.ring .prog {
  stroke: var(--accent);
  fill: none;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.7s, stroke 0.5s, opacity 0.4s;
}
.ring .prog.done { stroke: var(--success); }
.ring .rnum {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 9.4px;
  fill: var(--accent-text);
  transition: fill 0.4s, opacity 0.4s;
}
.ring .rnum.done { fill: var(--success-text); }
.ring.dim .prog,
.ring.dim .rnum { opacity: 0; }

.band {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9.75px 8px;
  margin: 4px 0 6px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.band.plain {
  background: transparent;
  margin-top: 14px;
  margin-bottom: 2px;
}
.band .caret {
  margin-left: auto;
  color: var(--text-subtle);
  transform: rotate(-90deg);
  transition: transform 0.25s ease;
  flex: none;
}
.band > .count { margin-left: auto; }
.band > .count + .caret { margin-left: 8px; }
.band .meta-badge {
  display: none;
  margin-left: auto;
  pointer-events: none;
}
.band.has-meta .meta-badge { display: inline-flex; }
.band.has-meta .caret { margin-left: 8px; }
.acc.open > .acc-h .caret { transform: rotate(0deg); }
.acc-sub {
  margin-top: 2px !important;
  margin-bottom: 2px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  opacity: 0.85;
  font-size: 11px;
}

/* Always-open accordion bodies for meet scene */
.acc > .acc-b {
  max-height: none;
  opacity: 1;
  overflow: visible;
  margin-bottom: 4px;
}
.stage-dense .page-head { margin-bottom: 12px; }
.stage-dense .band { padding: 7px 8px; margin: 2px 0 4px; }
.stage-dense .growth-kids .row.done:nth-child(n+2) { display: none; }

/* Meet: Acciones debe quedar en zona nítida (sobre el fade) */
.stage-meet { height: 560px; }
.feature-visual:has(.stage-meet) {
  min-height: 560px;
}
.stage-manager { height: 560px; }
.feature-visual:has(.stage-manager) {
  min-height: 560px;
}

.growth {
  display: flex;
  align-items: center;
  gap: 6.5px;
  padding: 6.5px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 400;
  color: var(--success-text);
}
.growth .dcaret {
  flex: none;
  color: var(--success-text);
  opacity: 0.85;
}
.growth-lab { flex: 1; }
.growth .count { margin-left: auto; }
.growth-kids { padding-left: 4px; margin-bottom: 4px; }
.growth-kids .row { padding-left: 22px; }

.meet-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bot-pulse {
  display: grid;
  place-items: center;
  color: var(--accent-text);
  animation: botBlink 1.1s ease-in-out infinite;
}
.bot-pulse.off {
  display: none;
  animation: none;
}
@keyframes botBlink {
  0%, 100% { opacity: 1; color: var(--accent-text); }
  50% { opacity: 0.35; color: var(--accent); }
}
.agenda-bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 8px 8px;
  list-style: none;
}
.agenda-bullets li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.agenda-bullets li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex: none;
}
.agenda-bullets b {
  font-weight: 600;
  color: var(--text-primary);
}
.resumen-body {
  padding: 2px 8px 8px;
}
.resumen-txt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  font-weight: 400;
}
.rec-retain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.rec-del {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}
.band-meta {
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-subtle);
  font-size: 12px;
}
.sep {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.sep .hint {
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-subtle);
  font-size: 12px;
}
.sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
  margin-left: 4px;
}

.row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6.5px;
  border-radius: var(--radius-md);
  font-size: 13px;
  transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.45s ease, padding 0.45s ease, margin 0.45s ease;
}
.row.obj { padding: 8px 6.5px; align-items: flex-start; }
.row .title {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row.obj .title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.row .title.w400 { font-weight: 400; }
.row .tail {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6.5px;
  flex: none;
}
.row .weight {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.row .hint-n {
  font-size: 12px;
  color: var(--text-muted);
}
.row.done .title {
  text-decoration: line-through;
  color: var(--text-subtle);
}
.row.fx {
  opacity: 0;
  transform: translateY(-6px);
}
.row.fx.go {
  opacity: 1;
  transform: none;
}
.row.fade-out {
  opacity: 0;
  transform: translateY(4px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  overflow: hidden;
}
.row.step {
  padding-left: 42px;
}
.row .caret {
  color: var(--text-subtle);
  flex: none;
  margin-top: 6px;
}
.row .caret.closed { transform: rotate(-90deg); }
.row .caret.open { transform: rotate(0deg); }

.meet-next {
  margin-bottom: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.ico { flex: none; color: var(--text-subtle); }
.ico.warn { color: var(--warning-text); }
.ico.ok { color: var(--success-text); }
.ico.accent { color: var(--accent-text); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1.6px 4.9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-subtle);
  white-space: nowrap;
}
.chip.warn {
  border-color: color-mix(in oklch, var(--warning) 40%, transparent);
  background: color-mix(in oklch, var(--warning) 10%, transparent);
  color: var(--warning-text);
}
.chip-help {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1.6px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(106, 106, 194, 0.4);
  background: rgba(106, 106, 194, 0.1);
  font-size: 12px;
  color: var(--accent-text);
  font-weight: 500;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.4s, transform 0.4s, box-shadow 0.3s;
}
.chip-help.on {
  opacity: 1;
  transform: none;
}
.chip-help.pulse {
  box-shadow: 0 0 0 3px rgba(106, 106, 194, 0.25);
}

.owner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

.empty {
  font-size: 12px;
  color: var(--text-subtle);
  padding: 8px 6.5px 12px;
}

.steps { min-height: 0; margin-bottom: 4px; }
.steps.fixed {
  display: flex;
  flex-direction: column;
  min-height: 68px; /* 2 slots: layout no salta */
}
.step-slot {
  position: relative;
  height: 34px;
  overflow: hidden;
}
.step-slot .row.step {
  position: absolute;
  inset: 0;
  padding-left: 42px;
  padding-top: 4px;
  padding-bottom: 4px;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.step-slot .row.step.swap-out {
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
}
.step-slot .row.step.swap-in {
  opacity: 0;
  transform: translateY(-4px);
}
.step-slot .row.step.swap-in.go {
  opacity: 1;
  transform: none;
}
.stage-compact .scene {
  padding: 18px 18px 36px;
}
.stage-compact .sep { margin: 0 0 10px; }
.stage-compact .coach {
  margin-bottom: 10px;
  padding: 8px 12px;
}
.stage-plan .scene { padding-top: 16px; }

/* Inicio */
.inicio-hello { margin-bottom: 20px; }
.inicio-hello.tight { margin-bottom: 12px; }
.inicio-hello .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.inicio-hello h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-top: 4px;
  line-height: 1.15;
}

.antes { margin-bottom: 16px; }
.antes-lab {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6.5px 6.5px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.antes-lab svg { color: var(--text-subtle); }

.day {
  display: grid;
  grid-template-columns: 68px 12px 1fr;
  gap: 0 10px;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.day.enter {
  opacity: 0;
  transform: translateY(-12px);
}
.day.enter.go {
  opacity: 1;
  transform: none;
}
.day.leave {
  opacity: 0;
  transform: translateY(16px);
}
.day.past .day-lab {
  color: var(--text-subtle);
}
.day.past .day-dot.fill {
  background: var(--success);
  border-color: var(--success);
}
.day-advance-flash .day-lab.today {
  animation: todayFlash 0.9s ease;
}
@keyframes todayFlash {
  0%, 100% { color: var(--accent-text); }
  40% { color: #fff; }
}
.day-lab {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  padding-top: 10px;
  line-height: 1.3;
}
.day-lab.today { color: var(--accent-text); }
.day-lab .hoy {
  display: block;
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
  margin-top: 2px;
}
.day-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.day-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-subtle);
}
.day-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 14px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-app);
}
.day-dot.fill {
  background: var(--accent);
  border-color: var(--accent);
}
.day-body { padding: 4px 0 8px; min-width: 0; }
.day-summary {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 6.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.day-summary .caret {
  margin-left: auto;
  color: var(--text-subtle);
  transform: rotate(-90deg);
}

.cycle-obj {
  font-size: 13px;
  padding: 4px 8px 12px;
  color: var(--text-secondary);
}
.cycle-obj span:first-child { color: var(--text-muted); }

.pdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
  border: 1px solid rgba(0, 0, 0, 0.35);
  transition: background 0.8s ease, box-shadow 0.5s ease;
}
.pdot.glow {
  box-shadow: 0 0 7px 1.5px rgba(52, 211, 153, 0.7);
}
.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

#managerScene {
  transition: none;
}
.mgr-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cycle-block {
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.cycle-block.enter {
  opacity: 0;
  transform: translateY(-10px);
}
.cycle-block.enter.go {
  opacity: 1;
  transform: none;
}
.cycle-block .band {
  margin-top: 0;
}
.cycle-block .band .caret {
  margin-left: 0;
  transform: rotate(0deg);
}
.cycle-block.closed .band .caret {
  transform: rotate(-90deg);
}
.cycle-block .band .chip.avg {
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
}
.cycle-block.closed .band {
  opacity: 0.72;
}
.cycle-body {
  overflow: hidden;
  max-height: 280px;
  opacity: 1;
  transition: max-height 0.55s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-bottom: 4px;
}
.cycle-block.closed .cycle-body {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
}
.cycle-block.closed .chip.avg {
  border-color: color-mix(in oklch, var(--success) 40%, transparent);
  background: color-mix(in oklch, var(--success) 10%, transparent);
  color: var(--success-text);
}

/* Guide modal */
.goverlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.goverlay.on { opacity: 1; pointer-events: auto; }
.gmodal {
  width: min(100%, 380px);
  background: #0c0e11;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: 0 24px 80px -20px rgba(0, 0, 0, 0.9);
  padding: 20px 20px 18px;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.goverlay.on .gmodal { transform: none; }
.gmodal h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.015em;
}
.gmodal .gsub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 16px;
}
.gsteps { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.gstep {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: 13px;
}
.gstep .due {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-subtle);
  flex: none;
}
.grationale {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.45;
}
.gactions { display: flex; justify-content: flex-end; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  .row, .day, .coach, .obj-text .title, .obj-text .ometa, .goverlay, .gmodal,
  .ring .prog, .chip-help, #managerScene, .feature-rail {
    transition: none !important;
  }
  .bot-pulse { animation: none; opacity: 1; }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 40px 0 28px;
    justify-content: flex-start;
  }
  .hero-product {
    margin-top: 28px;
    width: 100%;
  }
  .stage-hero {
    min-height: 200px;
    max-height: 240px;
  }
  .feature {
    min-height: auto;
    padding: 28px 0 48px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-rail {
    position: static;
    padding-top: 0;
    max-width: none;
    order: 1;
  }
  .feature-visual {
    position: relative;
    min-height: 0;
    order: 2;
  }
  .feature-visual .stage {
    height: min(52svh, 480px);
    -webkit-mask-image: none;
    mask-image: none;
  }
  /* 1:1: más alto + compacto para que Acciones se lea antes del fade */
  .feature-visual:has(.stage-meet) {
    min-height: 0;
  }
  .feature-visual .stage-meet {
    height: min(68svh, 560px);
  }
  .stage-meet .page-head { margin-bottom: 8px; }
  .stage-meet .page-meta { display: none; }
  .stage-meet .agenda-extra { display: none; }
  .stage-meet .agenda-bullets { padding-bottom: 4px; gap: 4px; }
  .stage-meet .resumen-txt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .stage-meet .rec-retain { display: none; }
  .stage-meet .meet-anteriores { display: none; }
  .stage-meet .acc-sub { margin-top: 0 !important; }
  .feature-visual:has(.stage-meet)::after {
    background-size:
      100% 28px,
      100% 72px,
      28px 100%,
      28px 100%;
  }
  .feature-visual:has(.stage-meet) {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 78%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 78%,
      transparent 100%
    );
  }
  /* Planes: abierto compacto + 2 cerrados legibles (sin cortar filas) */
  .feature-visual:has(.stage-manager) {
    min-height: 0;
  }
  .feature-visual .stage-manager {
    height: min(72svh, 580px);
  }
  .stage-manager .page-title { margin-bottom: 8px; }
  .stage-manager .cycle-body {
    max-height: none;
    overflow: visible;
  }
  .stage-manager .mgr-mi { display: none; } /* en mobile basta Equipo */
  .stage-manager .cycle-obj {
    font-size: 12px;
    padding: 2px 8px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stage-manager .cycle-block .band {
    padding: 7px 8px;
    margin: 2px 0 3px;
  }
  .stage-manager .cycle-block .row {
    padding: 4px 6px;
  }
  .stage-manager .cycle-block .hint-n { display: none; }
  .stage-manager .mgr-stack { gap: 4px; }
  .feature-visual:has(.stage-manager)::after {
    background-size:
      100% 20px,
      100% 48px,
      24px 100%,
      24px 100%;
  }
  .feature-visual:has(.stage-manager) {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 86%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 86%,
      transparent 100%
    );
  }
  .feature-visual::after {
    background-size:
      100% 36px,
      100% 100px,
      28px 100%,
      28px 100%;
  }
  .hero {
    min-height: auto;
    padding: 48px 0 36px;
  }
  .hero h1 { max-width: 14em; }
  .chip-help span.label { display: none; }
  .day { grid-template-columns: 52px 10px 1fr; }
  .inicio-hello h2 { font-size: 22px; }
  .stage .scene { padding: 20px 12px 40px; }
}
