/* ============================================================
   Nodii Investor Deck — Slide styles
   1920×1080, calm and instrumental.
   ============================================================ */
@import url("./nodii-tokens.css");

/* The deck-stage component slots its children absolute. We never
   set position/inset/width/height on the <section> — we just style
   the inside.                                                          */

deck-stage {
  background: #000;
}

section.slide {
  font-family: var(--font-sans);
  color: var(--fg1);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Default slide frame — generous padding, projection-grade. */
.slide-frame {
  position: absolute;
  inset: 0;
  padding: 100px 120px 88px 120px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Top-left small lockup, Apple-style ID without dominating. */
.slide-chrome {
  position: absolute;
  top: 44px;
  left: 120px;
  right: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
  font-weight: 500;
}

.slide-chrome .mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--slate-500);
}
.slide-chrome .mark .glyph {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-cyan);
  letter-spacing: -0.04em;
}

/* Eyebrow / overline above titles */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 32px;
}
.eyebrow .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  margin-right: 12px;
  vertical-align: middle;
}

/* Title — Ancizar, refined */
.s-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 88px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg1);
  margin: 0;
  text-wrap: pretty;
}
.s-title.medium { font-size: 72px; }
.s-title.small  { font-size: 56px; }

.s-subtitle {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.35;
  color: var(--slate-500);
  margin-top: 32px;
  max-width: 1400px;
  text-wrap: pretty;
}

/* Body */
.s-lead {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.35;
  color: var(--fg1);
  letter-spacing: -0.01em;
  text-wrap: pretty;
  max-width: 1500px;
}
.s-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.45;
  color: var(--slate-700);
  text-wrap: pretty;
}

.muted { color: var(--slate-500); }
.fg1 { color: var(--fg1); }
.cyan { color: var(--brand-cyan); }
.blue { color: var(--blue-600); }

/* Footer page number / caption */
.slide-foot {
  position: absolute;
  left: 120px;
  right: 120px;
  bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}

/* Numerics */
.numeric {
  font-family: var(--font-numeric);
  font-feature-settings: "ss01", "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

/* ============================================================
   Cover slide
   ============================================================ */
.cover {
  background: var(--brand-white);
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 120px 88px 120px;
  box-sizing: border-box;
}
.cover-logo {
  display: block;
  align-self: flex-start;
  height: 72px;
  width: auto;
}

.cover-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 144px;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--fg1);
  margin: 0;
  text-wrap: balance;
}
.cover-headline.modular-cover {
  font-size: 122px;
  line-height: 0.98;
  max-width: 1500px;
}
.cover-sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.4;
  color: var(--slate-500);
  margin-top: 40px;
  max-width: 1100px;
}
.cover-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--slate-500);
  letter-spacing: 0.04em;
}
.cover-meta .right { text-align: right; }
.cover-meta .label-k {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-400);
  margin-bottom: 6px;
}

/* The cyan caret cursor that types \n */
.caret {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  background: var(--brand-cyan);
  vertical-align: -0.12em;
  margin-left: 0.04em;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ============================================================
   Section divider slide (dark)
   ============================================================ */
.section-divider {
  position: absolute; inset: 0;
  background: var(--brand-black);
  color: white;
  padding: 100px 120px 88px 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.section-divider .eyebrow { color: var(--brand-cyan); }
.section-divider .s-title { color: white; font-size: 120px; font-weight: 600; }
.section-divider .meta {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
}

/* ============================================================
   Module grid (5 live + 2 pipeline)
   ============================================================ */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  position: relative;
}
.module-card.pipeline {
  background: var(--slate-50);
  border-style: dashed;
  border-color: var(--slate-300);
}
.module-card .mod-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.module-card .mod-status .led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-600);
}
.module-card.pipeline .mod-status .led { background: var(--amber-500); }
.module-card .mod-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--fg1);
}
.module-card .mod-desc {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.45;
  color: var(--slate-500);
}

/* ============================================================
   Two-column comparison (Five systems vs One Nodii)
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 64px;
}
.compare-col {
  padding: 40px 0;
}
.compare-col h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 500;
  margin: 0 0 28px 0;
}
.system-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.system-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  color: var(--slate-700);
}
.system-pill .label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: auto;
}

.compare-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  color: var(--brand-cyan);
  letter-spacing: -0.05em;
}

.nodii-block {
  background: var(--brand-black);
  border-radius: 20px;
  padding: 48px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}
.nodii-block .icon {
  width: 64px; height: 64px;
  background: var(--brand-cyan);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}
.nodii-block .head {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nodii-block .desc {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.45;
  color: var(--slate-300);
  margin-top: 16px;
}

/* ============================================================
   Stat / number layouts
   ============================================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 80px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat .num {
  font-family: var(--font-numeric);
  font-weight: 600;
  font-size: 144px;
  line-height: 1;
  color: var(--fg1);
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stat .num .accent { color: var(--brand-cyan); }
.stat .label {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  color: var(--slate-700);
  margin-top: 8px;
  letter-spacing: 0;
  text-transform: none;
}
.stat .sub {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--slate-500);
  line-height: 1.45;
}
.section-divider .current-state-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  margin-top: 0;
}
.section-divider .current-state-stats .stat .label {
  color: var(--slate-300);
}
.section-divider .current-state-stats .stat .sub {
  color: var(--slate-500);
}

/* ============================================================
   Operational loop / proof-window layouts
   ============================================================ */
.loop-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 64px;
}
.loop-step {
  min-height: 156px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--slate-50);
  color: var(--fg1);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.loop-step span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand-cyan);
}
.loop-lead {
  margin-top: 60px;
  max-width: 1460px;
}

.broad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 72px;
}
.broad-card {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.broad-card.hl {
  border-color: var(--brand-cyan);
  background: linear-gradient(0deg, rgba(41,171,226,0.05), rgba(41,171,226,0.05)), white;
}
.broad-card .tag,
.future-note .tag,
.ask-card .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
}
.broad-card .h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 42px;
  letter-spacing: 0;
  color: var(--fg1);
  line-height: 1.08;
}
.broad-card .d {
  font-family: var(--font-sans);
  font-size: 21px;
  line-height: 1.45;
  color: var(--slate-500);
}

.proof-table {
  margin-top: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.proof-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.proof-row:first-child { border-top: 0; }
.proof-row > div {
  padding: 20px 26px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.35;
  color: var(--slate-500);
}
.proof-row > div:first-child {
  color: var(--fg1);
  border-right: 1px solid var(--border);
  font-weight: 500;
}
.proof-row.proof-head {
  background: var(--brand-black);
}
.proof-row.proof-head > div {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-300);
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.milestone-card {
  min-height: 168px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 30px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--fg1);
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-sizing: border-box;
}
.milestone-card span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brand-cyan);
}

.hard-copy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
  margin-top: 64px;
}
.hard-copy-list {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.hard-copy-list div {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--fg1);
}
.hard-copy-list div:first-child { border-top: 0; }
.future-note {
  margin-top: 48px;
  border-left: 3px solid var(--brand-cyan);
  background: var(--slate-50);
  border-radius: 8px;
  padding: 30px 34px;
}
.future-note .d {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.45;
  color: var(--slate-500);
}

.builder-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: start;
  margin-top: 72px;
}
.builder-copy {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--fg1);
}
.builder-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.builder-list div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.4;
  color: var(--slate-500);
}
.builder-list div:last-child { border-bottom: 1px solid var(--border); }
.builder-list span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  padding-top: 8px;
}

/* ============================================================
   Modularity / integrations / platform model
   ============================================================ */
.modular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 64px;
}
.modular-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 44px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.modular-panel.dark {
  background: var(--brand-black);
  border-color: var(--brand-black);
  color: white;
}
.panel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
}
.modular-panel p {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.18;
  color: var(--fg1);
  margin: 28px 0 44px;
}
.modular-panel.dark p { color: white; }
.module-row,
.shared-row,
.provider-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.module-row span,
.shared-row span,
.provider-row span,
.model-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--slate-50);
  color: var(--slate-700);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
}
.shared-row span {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: white;
}
.bottom-line {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  color: var(--fg1);
}

.module-grid.module-grid-detailed {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.module-grid-detailed .module-card {
  min-height: 238px;
  padding: 24px;
  gap: 10px;
}
.module-grid-detailed .module-card .mod-name {
  font-size: 26px;
}
.module-card .mod-desc strong {
  color: var(--fg1);
  font-weight: 600;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 68px;
}
.integration-card {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.integration-card.hl {
  border-color: var(--brand-cyan);
  background: linear-gradient(0deg, rgba(41,171,226,0.05), rgba(41,171,226,0.05)), white;
}
.integration-card .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
}
.integration-card .h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.12;
  color: var(--fg1);
}
.integration-card .d {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.42;
  color: var(--slate-500);
}
.provider-row {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.platform-model {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.model-row,
.model-core {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  background: white;
}
.model-row.final {
  background: var(--brand-black);
  border-color: var(--brand-black);
}
.model-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.model-row.final .model-label {
  color: var(--brand-cyan);
}
.model-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.model-pills.muted-pills span {
  background: white;
  color: var(--slate-500);
}
.model-core {
  grid-template-columns: repeat(5, 1fr);
  background: var(--slate-50);
  border-color: var(--brand-cyan);
}
.model-core span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg1);
}
.model-arrow {
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--brand-cyan);
  line-height: 1;
}
.model-copy {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.18;
  color: white;
}

.expansion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.expansion-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  padding: 34px;
  min-height: 290px;
}
.expansion-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brand-cyan);
}
.expansion-card .head {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--fg1);
}
.expansion-card .body {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.42;
  color: var(--slate-500);
}
.expansion-note {
  margin-top: 44px;
  max-width: 1500px;
}

.agent-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 68px;
  margin-top: 56px;
}
.context-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.context-stack div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 28px;
  background: white;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--fg1);
}
.context-stack .accent {
  border-color: var(--brand-cyan);
  background: var(--brand-black);
  color: white;
}
.agent-copy p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.18;
  color: var(--fg1);
}
.example-list {
  margin-top: 34px;
  border-top: 1px solid var(--border);
}
.example-list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.4;
  color: var(--slate-500);
}

/* ============================================================
   Substrate diagram
   ============================================================ */
.diagram-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 56px;
}
.diagram-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.diagram-row.hl {
  border-color: var(--brand-cyan);
  background: linear-gradient(0deg, rgba(41,171,226,0.04), rgba(41,171,226,0.04)), white;
}
.diagram-row .layer-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-400);
  width: 140px;
  flex-shrink: 0;
}
.diagram-row .layer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--fg1);
  flex: 1;
}
.diagram-row .layer-desc {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--slate-500);
  flex: 1.4;
  line-height: 1.4;
}

/* ============================================================
   Three-ring expansion
   ============================================================ */
.rings {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.ring-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ring-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.ring-item:last-child { border-bottom: 1px solid var(--border); }
.ring-item .num {
  font-family: var(--font-numeric);
  font-size: 56px;
  font-weight: 500;
  color: var(--brand-cyan);
  line-height: 1;
  letter-spacing: -0.04em;
}
.ring-item .head {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--fg1);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.ring-item .body {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--slate-500);
  line-height: 1.45;
}

/* SVG ring diagram colors via CSS vars */
.ring-svg .r-outer { stroke: var(--slate-200); }
.ring-svg .r-mid   { stroke: var(--slate-300); }
.ring-svg .r-inner { stroke: var(--brand-cyan); }
.ring-svg .r-core  { fill: var(--brand-cyan); }
.ring-svg .r-text-core { fill: white; }
.ring-svg .r-text  { fill: var(--slate-500); }

/* ============================================================
   Quote slide
   ============================================================ */
.quote-block {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 84px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg1);
  text-wrap: balance;
  max-width: 1500px;
}
.quote-block .accent { color: var(--brand-cyan); }
.quote-attr {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 56px;
}

/* ============================================================
   Risk list
   ============================================================ */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 56px;
  margin-top: 56px;
}
.risk-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.risk-item .idx {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--slate-400);
  letter-spacing: 0.06em;
  padding-top: 6px;
}
.risk-item .head {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--fg1);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.risk-item .body {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--slate-500);
  line-height: 1.45;
}

/* ============================================================
   Why-now two columns
   ============================================================ */
.why-now {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  margin-top: 64px;
}
.why-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-card .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
}
.why-card .h {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg1);
  line-height: 1.1;
}
.why-card .d {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.45;
  color: var(--slate-500);
  margin-top: 8px;
}

/* ============================================================
   Wedge — ISP characteristics list
   ============================================================ */
.wedge-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  margin-top: 48px;
}
.wedge-item {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.wedge-item .h {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--fg1);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.wedge-item .d {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--slate-500);
  line-height: 1.45;
}

/* ============================================================
   Closing CTA
   ============================================================ */
.closing {
  position: absolute; inset: 0;
  background: var(--brand-black);
  color: white;
  padding: 100px 120px 88px 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.closing .eyebrow { color: var(--brand-cyan); }
.closing .h {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: white;
  text-wrap: balance;
}
.closing .h .accent { color: var(--brand-cyan); }
.closing .contact {
  display: flex;
  gap: 80px;
  align-items: flex-end;
  justify-content: space-between;
}
.closing.dual {
  gap: 48px;
}
.ask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ask-card {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  padding: 34px 38px;
}
.ask-card .copy {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0;
  color: white;
}
.closing .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.closing .field .k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.closing .field .v {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: white;
  letter-spacing: -0.015em;
}

/* ============================================================
   Newline-clear transition (the typed \n motif)

   Sequence per slide change (total ~1100ms):
     0     — overlay covers the screen with a dark panel
              (already in place from the prior step, OR drops in
               instantly on first nav)
     0–120 — caret blinks on an empty line
     120   — '\' character types in (cyan)
     260   — 'n' character types in (white)
     420   — caret pulses once
     560   — host swaps the underlying slide (invisible, masked
              by the dark overlay)
     680   — dark panel + typed mark wipe upward together,
              revealing the new slide cleanly
     1100  — overlay rests off-screen, ready to drop again

   The wipe-out IS the "newline cleared the page" gesture: the
   typed line lifts off and the next slide is underneath.
   ============================================================ */

.nl-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: var(--brand-black);
  transform: translateY(-101%);
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Phase 1 — drop the panel in fast (200ms ease-out). */
.nl-overlay.drop  { animation: nl-drop  220ms cubic-bezier(.4,0,.2,1) forwards; }
/* Phase 2 — clear the panel out by sliding upward (440ms ease-in). */
.nl-overlay.clear { animation: nl-clear 480ms cubic-bezier(.7,0,.3,1) forwards; }

@keyframes nl-drop  {
  0%   { transform: translateY(-101%); }
  100% { transform: translateY(0); }
}
@keyframes nl-clear {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-101%); }
}

/* The typed \n line, baseline-aligned with a blinking caret. */
.nl-line {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 180px;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  user-select: none;
}
/* Pre-type: characters are absent from layout entirely so the
   cursor sits at position 0. Adding .lit reinserts them, which
   pushes the cursor to its new column — the typing read. */
.nl-line .bs,
.nl-line .nn {
  display: none;
}
.nl-line .bs { color: var(--brand-cyan); }
.nl-line .nn { color: #fff; }
.nl-line .bs.lit,
.nl-line .nn.lit { display: inline-block; }

.nl-line .cur {
  display: inline-block;
  width: 0.08em;
  height: 0.92em;
  background: var(--brand-cyan);
  margin-left: 0.06em;
  align-self: center;
  vertical-align: baseline;
  transform: translateY(0.04em);
}
.nl-line .cur.blink { animation: nl-blink 540ms steps(1) infinite; }
@keyframes nl-blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ============================================================
   Cover headline typed-effect
   The cover headline starts with "build the platform" then a
   blinking cyan caret types \n and the next idea appears.
   ============================================================ */
.type-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.type-line.line-2 {
  color: var(--slate-500);
}

.cover .stage-line {
  position: relative;
}
.cover .count-up {
  display: inline-block;
  min-width: 1.5ch;
  text-align: center;
  color: var(--brand-cyan);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.cover .stage-line .cur-cyan {
  display: inline-block;
  width: 0.42em;
  height: 0.92em;
  background: var(--brand-cyan);
  vertical-align: -0.08em;
  margin-left: 0.06em;
  animation: blink 1.05s steps(1) infinite;
}

/* Print export: kill the overlay, keep slides clean */
@media print {
  .nl-overlay { display: none !important; }
}
