:root {
  --ink: #1C2B2D;
  --ink-soft: #3E4A4C;
  --sand: #F5F1E8;
  --paper: #FBF9F4;
  --line: #DDD5C5;
  --muted: #6B6A63;
  --accent: #C4572A;
  --accent-text: #A3431D;
  --accent-light: #E8A27C;
  --on-dark-soft: #BFC9C6;
  --green: #2F7D4E;
  --amber: #9A6212;
  --red: #B23A2A;
}

body { font-family: 'DM Sans', Arial, sans-serif; }

section {
  background: var(--sand);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  padding: 128px 128px 160px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

section.dark { background: var(--ink); color: var(--sand); }
section.spread { justify-content: space-between; padding: 128px; }

.head { display: flex; flex-direction: column; gap: 16px; }

.eyebrow {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-text);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.dark .eyebrow { color: var(--accent-light); }

h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 120px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
}
h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}
.dark h1, .dark h2 { color: var(--sand); }

h3 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.sub { font-size: 44px; line-height: 1.25; color: var(--accent-light); }
.lead { font-size: 44px; line-height: 1.3; color: var(--on-dark-soft); }
.meta { font-size: 32px; color: var(--on-dark-soft); }

.row { display: flex; gap: 32px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; }

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
}
.card.top { border-top: 10px solid var(--accent); }
.txt { font-size: 28px; line-height: 1.35; color: var(--ink-soft); }
.list { font-size: 30px; line-height: 1.45; color: var(--ink-soft); }

.step .n {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: var(--accent-text);
}

.prompt {
  font-size: 28px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border-left: 8px solid var(--accent);
  padding: 28px 40px;
}
.prompt-label { font-size: 24px; font-weight: 700; color: var(--accent-text); letter-spacing: 2px; text-transform: uppercase; }
.prompt-box { display: flex; flex-direction: column; gap: 12px; }

.callout {
  font-size: 32px;
  line-height: 1.35;
  color: var(--ink);
  border-left: 6px solid var(--accent);
  padding: 8px 0 8px 32px;
}

.stat { flex: 1; display: flex; flex-direction: column; gap: 16px; border-top: 4px solid var(--accent); padding-top: 32px; }
.stat .num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: var(--accent-text);
}
.stat .txt { font-size: 32px; }

.light { flex: 1; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.light .band { display: flex; flex-direction: column; gap: 8px; padding: 28px 40px; }
.light .band h3 { font-size: 44px; color: var(--paper); }
.light .band .bandtxt { font-size: 26px; color: var(--paper); }
.light .inner { display: flex; flex-direction: column; gap: 16px; padding: 32px 40px; }
.light .inner .list { font-size: 28px; line-height: 1.35; }
.band.g { background: var(--green); }
.band.a { background: var(--amber); }
.band.r { background: var(--red); }

.stairs { display: flex; gap: 16px; align-items: flex-end; }
.stair {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  border-top: 8px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
}
.stair .n {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 44px;
  line-height: 1;
  color: var(--accent-text);
}
.stair h3 { font-size: 28px; }
.stair.last { background: var(--ink); }
.stair.last h3 { color: var(--sand); }
.stair.last .n { color: var(--accent-light); }

.footer {
  position: absolute;
  left: 128px;
  bottom: 64px;
  width: 1664px;
  font-size: 24px;
  color: var(--muted);
}

.stage { animation: rise 500ms ease-out both; animation-delay: calc(var(--i) * 120ms); }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Paso a paso de ChatGPT: cada clic enciende un paso */
.fx.fragment { opacity: 0; transform: translateY(10px); transition: opacity 350ms ease-out, transform 350ms ease-out; }
.fx.fragment.visible { opacity: 1; transform: translateY(0); }
.fx.solo.fragment.visible { opacity: 0; }
.fx.solo.fragment.current-fragment { opacity: 1; }
.fx.paso.fragment.visible { opacity: 0.45; }
.fx.paso.fragment.current-fragment { opacity: 1; }
.fx.d1 { transition-delay: 300ms; }
.fx.d2 { transition-delay: 600ms; }
.fx.d3 { transition-delay: 900ms; }
.fx.d4 { transition-delay: 1200ms; }
