/* ============================================================
   CENTRAL DE COMANDO — IA PARA MARKETPLACE · Henrique Niada
   Slides hero full-screen · command-center premium dark
   ============================================================ */

:root {
  --bg:        #050608;
  --bg2:       #090b10;
  --panel:     #0d1117;
  --panel2:    #111827;
  --panel3:    #161d2a;

  --line:        rgba(148,163,184,0.15);
  --line-strong: rgba(148,163,184,0.30);

  --text:  #f6f8fc;
  --muted: #98a2b3;
  --soft:  #cbd5e1;
  --dim:   #5b6472;

  --orange:  #ff5a1f;
  --orange2: #ff8a3d;
  --orange-soft: rgba(255,90,31,0.10);
  --orange-line: rgba(255,90,31,0.30);

  --cyan:  #22d3ee;
  --cyan-soft: rgba(34,211,238,0.09);
  --cyan-line: rgba(34,211,238,0.26);

  --green:  #34d399;
  --green-soft: rgba(52,211,153,0.10);
  --green-line: rgba(52,211,153,0.28);

  --purple: #a855f7;
  --yellow: #facc15;
  --red:    #f87171;

  --display: 'Sora', system-ui, sans-serif;
  --body:    'Manrope', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: var(--body);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,90,31,0.16), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(34,211,238,0.12), transparent 30%),
    linear-gradient(180deg, #050608 0%, #090b10 50%, #050608 100%);
}
/* grid + scanline overlays */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.030) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.10));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.10));
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(transparent 50%, rgba(255,255,255,0.014) 50%);
  background-size: 100% 4px; opacity: 0.4;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(5,6,8,0.72);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 14px; padding: 11px 22px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(150deg, #21130c, #0d1117);
  border: 1px solid var(--orange-line); position: relative;
}
.brand-mark::after { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 16px var(--orange); }
.brand-meta { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-meta b { font-family: var(--display); font-weight: 800; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.brand-meta span { font-family: var(--mono); font-size: 9.5px; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px; white-space: nowrap; }

.top-right { margin-left: auto; display: flex; align-items: center; gap: 13px; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong); color: var(--muted);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; transition: all .2s ease;
}
.menu-btn:hover { color: #fff; border-color: var(--orange-line); }
.clock { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.05em; white-space: nowrap; }
.clock b { color: var(--text); font-weight: 600; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  background: var(--green-soft); border: 1px solid var(--green-line);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); white-space: nowrap;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(52,211,153,0.5)} 70%{box-shadow:0 0 0 8px rgba(52,211,153,0)} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0)} }

.progress-track { position: fixed; top: calc(54px + env(safe-area-inset-top, 0px)); left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.05); z-index: 60; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange), var(--orange2)); box-shadow: 0 0 12px var(--orange-line); transition: width .45s cubic-bezier(.4,0,.2,1); }

/* ============================================================
   STAGE + SLIDES
   ============================================================ */
.stage { position: fixed; inset: 0; overflow: hidden; z-index: 1; }
.slide {
  position: absolute; inset: 0;
  padding: calc(92px + env(safe-area-inset-top, 0px)) 26px calc(104px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overflow-x: hidden;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.4,0,.2,1), visibility .45s;
  -webkit-overflow-scrolling: touch;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.reveal { opacity: 1; }  /* visible by default — never gate content on animation */

.slide-inner { position: relative; z-index: 1; width: 100%; max-width: 1060px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.slide-inner.narrow { max-width: 820px; }

/* per-slide ambient glow */
.slide::before {
  content: ''; position: absolute; top: -6%; left: 50%; width: 1200px; height: 640px; transform: translateX(-50%);
  pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(255,90,31,0.10), transparent 62%);
}
.slide.tone-cyan::before { background: radial-gradient(ellipse at center, rgba(34,211,238,0.11), transparent 62%); }
.slide.tone-green::before { background: radial-gradient(ellipse at center, rgba(52,211,153,0.11), transparent 62%); }

/* ============================================================
   HERO PRIMITIVES
   ============================================================ */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange2);
  padding: 8px 14px; border: 1px solid var(--orange-line); border-radius: 999px; background: var(--orange-soft);
}
.kicker.cyan { color: #67e8f9; border-color: var(--cyan-line); background: var(--cyan-soft); }
.kicker.green { color: #6ee7b7; border-color: var(--green-line); background: var(--green-soft); }
.kicker .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 1.8s infinite; }
.kicker .sq { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }

.eyebrow { font-family: var(--mono); color: var(--orange2); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; margin-bottom: 12px; }

.headline {
  font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 56px);
  line-height: 1.0; letter-spacing: -0.04em; text-wrap: balance;
}
.headline .grad { background: linear-gradient(92deg, #fff 0%, #ffdfd1 44%, var(--orange) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.headline .hl { color: var(--orange2); }
.lead-line { font-size: clamp(16px, 2.1vw, 20px); color: var(--soft); line-height: 1.55; text-wrap: pretty; max-width: 64ch; }
.lead-line strong { color: #fff; font-weight: 600; }

.center { text-align: center; }
.center .kicker, .center .eyebrow { margin-left: auto; margin-right: auto; }
.center .headline { margin: 18px auto 0; max-width: 20ch; }
.center .lead-line { margin: 20px auto 0; }

/* section head used on content slides */
.sec-head { margin-bottom: 26px; }
.sec-head .headline { font-size: clamp(26px, 3.8vw, 44px); }
.sec-head .lead-line { margin-top: 16px; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.03em;
  border: 1px solid var(--orange-line); border-radius: 26px; padding: 30px 32px;
  background: linear-gradient(135deg, rgba(255,90,31,0.10), rgba(34,211,238,0.05));
  text-wrap: balance;
}
.quote em { font-style: normal; color: var(--orange2); }

/* ============================================================
   FLOWLINE (cadeia)
   ============================================================ */
.flowline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.flowitem { border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; background: rgba(255,255,255,0.035); position: relative; }
.flowitem b { display: block; font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 8px; }
.flowitem span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.flowitem .fi-num { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: 0.1em; display: block; margin-bottom: 9px; }
.flowitem:nth-child(1) { border-color: var(--orange-line); }
.flowitem:nth-child(2) { border-color: var(--cyan-line); }
.flowitem:nth-child(3) { border-color: rgba(52,211,153,0.26); }
.flowitem:nth-child(4) { border-color: rgba(250,204,21,0.26); }
.flowitem:nth-child(5) { border-color: rgba(168,85,247,0.28); }
.flowitem:nth-child(6) { border-color: var(--orange-line); }

/* ============================================================
   STATIONS (jornada)
   ============================================================ */
.stations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.station { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); }
.station::after { content: ''; position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -55px; bottom: -55px; background: rgba(255,90,31,0.09); }
.station .num { font-family: var(--mono); color: var(--orange2); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.station h3 { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.05; margin: 12px 0 9px; letter-spacing: -0.03em; }
.station p { color: var(--soft); margin: 0; font-size: 14px; line-height: 1.5; }
.station .out { margin-top: 14px; color: #fff; font-size: 13px; font-weight: 600; position: relative; padding-left: 16px; }
.station .out::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }

/* ============================================================
   TIMELINE (cronograma)
   ============================================================ */
.timeline { display: grid; gap: 10px; }
.time-row { display: grid; grid-template-columns: 132px 1fr 1.25fr 0.95fr; gap: 10px; align-items: stretch; }
.time-row > div { border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 14px; padding: 13px 15px; }
.time-row .time { font-family: var(--mono); color: var(--cyan); font-weight: 600; font-size: 13px; }
.time-row .block-title { font-family: var(--display); font-weight: 700; color: #fff; font-size: 15px; }
.time-row .desc, .time-row .deliver { color: var(--soft); font-size: 13.5px; line-height: 1.45; }
.time-row .deliver { color: var(--muted); }
.time-row.lunch > div { background: var(--orange-soft); border-color: var(--orange-line); }

/* ============================================================
   MATRIX / TOOL CARDS
   ============================================================ */
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-card { border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 20px; padding: 22px; }
.tool-card .chip {
  display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--cyan-soft); border: 1px solid var(--cyan-line);
  color: #a5f3fc; font-family: var(--mono); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
}
.tool-card h3 { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 16px 0 8px; letter-spacing: -0.03em; }
.tool-card p { color: var(--soft); margin: 0; font-size: 14px; line-height: 1.5; }
.tool-card b { color: #fff; font-weight: 600; }
.tool-card.orange .chip { background: var(--orange-soft); border-color: var(--orange-line); color: #fed7aa; }
.tool-card.green .chip { background: var(--green-soft); border-color: var(--green-line); color: #bbf7d0; }
.tool-card.purple .chip { background: rgba(168,85,247,0.08); border-color: rgba(168,85,247,0.24); color: #e9d5ff; }

/* ============================================================
   MODULE (oficina)
   ============================================================ */
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.module { border: 1px solid var(--line); border-radius: 24px; padding: 24px; background: linear-gradient(180deg, rgba(17,24,39,0.78), rgba(10,14,22,0.78)); }
.module.large { grid-column: span 2; }
.module-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.module .tag { font-family: var(--mono); color: var(--orange2); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.module h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.04; margin: 8px 0 10px; letter-spacing: -0.04em; }
.module p { color: var(--soft); margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; }
.duration { font-family: var(--mono); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 11px; color: #dbeafe; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: rgba(255,255,255,0.04); }

/* ============================================================
   TABLE
   ============================================================ */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.03); }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-family: var(--mono); color: #c4b5fd; background: rgba(168,85,247,0.08); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.tbl td { color: var(--soft); font-size: 14px; line-height: 1.5; }
.tbl tr:last-child td { border-bottom: none; }
.tbl td strong { color: #fff; font-weight: 600; }
.tbl a { color: var(--cyan); border-bottom: 1px solid var(--cyan-line); }

/* ============================================================
   ADS CONSOLE
   ============================================================ */
.ads-console { border: 1px solid var(--cyan-line); border-radius: 24px; background: linear-gradient(180deg, rgba(2,6,23,0.85), rgba(8,13,24,0.88)); padding: 22px; }
.ads-row { display: grid; grid-template-columns: 92px 1fr 1.15fr; gap: 12px; margin: 9px 0; }
.ads-row div { padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.035); border-radius: 14px; }
.ads-row .min { font-family: var(--mono); font-weight: 600; color: var(--cyan); font-size: 13px; }
.ads-row .read { font-family: var(--display); font-weight: 700; color: #fff; font-size: 15px; }
.ads-row .ask { color: var(--soft); font-size: 14px; line-height: 1.45; }

/* ============================================================
   PROTOCOL (7 dias)
   ============================================================ */
.protocol { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day { border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 18px; padding: 16px; }
.day b { display: block; font-family: var(--mono); color: var(--orange2); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.day h3 { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.1; margin: 10px 0 8px; letter-spacing: -0.02em; }
.day p { color: var(--soft); margin: 0; font-size: 12.5px; line-height: 1.45; }

/* ============================================================
   HERO CONSOLE PANEL + SIGNATURE
   ============================================================ */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.signature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; max-width: 480px; }
.sig { border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 16px; padding: 13px 15px; }
.sig b { display: block; color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; }
.sig span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

.console { position: relative; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, rgba(17,24,39,0.9), rgba(8,12,18,0.92)); box-shadow: 0 30px 90px rgba(0,0,0,0.46); padding: 18px; overflow: hidden; }
.console::before { content: ''; position: absolute; inset: -2px; pointer-events: none; background: radial-gradient(circle at 30% 0%, rgba(255,90,31,0.16), transparent 40%), radial-gradient(circle at 100% 30%, rgba(34,211,238,0.14), transparent 32%); }
.console-inner { position: relative; }
.console-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; }
.dots span:nth-child(1){background:#f87171} .dots span:nth-child(2){background:#f59e0b} .dots span:nth-child(3){background:#34d399}
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.metric { border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 16px; padding: 15px; }
.metric .label { font-family: var(--mono); color: var(--muted); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.metric .value { font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.05; margin: 9px 0 4px; letter-spacing: -0.03em; }
.metric .note { font-size: 12.5px; color: var(--soft); line-height: 1.4; }
.metric.orange .value { color: var(--orange2); } .metric.cyan .value { color: var(--cyan); } .metric.green .value { color: var(--green); } .metric.purple .value { color: #c084fc; }
.decision-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 11px; }
.decision { border: 1px solid var(--line); background: rgba(255,255,255,0.05); border-radius: 12px; padding: 9px 6px; text-align: center; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.decision.pause { color: #fecaca; } .decision.fix { color: #fde68a; } .decision.watch { color: #a5f3fc; } .decision.scale { color: #bbf7d0; }
.terminal { margin-top: 12px; border: 1px solid var(--cyan-line); border-radius: 14px; background: rgba(2,6,23,0.6); padding: 13px 15px; font-family: var(--mono); font-size: 12px; color: var(--soft); line-height: 1.6; }
.terminal span { color: var(--cyan); }

/* image slots */
image-slot { display: block; border: 1px solid var(--line-strong); }

/* ============================================================
   BUTTONS
   ============================================================ */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 13px; padding: 14px 22px; font-family: var(--display); font-weight: 700; font-size: 16px; border: 1px solid var(--line-strong); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; }
.btn.primary { background: linear-gradient(135deg, var(--orange), #ff7a32); color: #fff; border-color: transparent; box-shadow: 0 18px 44px rgba(255,90,31,0.26); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 24px 56px rgba(255,90,31,0.36); }
.btn.ghost { background: rgba(255,255,255,0.05); color: #e5e7eb; }
.btn.ghost:hover { border-color: var(--orange-line); color: #fff; }
.fine { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.05em; margin-top: 16px; }

/* ============================================================
   INDEX OVERLAY
   ============================================================ */
.index-overlay { position: fixed; inset: 0; z-index: 90; display: none; justify-content: center; padding: 70px 20px 24px; overflow-y: auto; background: rgba(3,4,6,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.index-overlay.open { display: flex; }
.index-panel { width: 100%; max-width: 720px; margin: auto; background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line-strong); border-radius: 22px; padding: 26px; }
.index-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.index-top h3 { font-family: var(--display); font-weight: 700; font-size: 18px; }
.index-close { width: 36px; height: 36px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); color: var(--muted); }
.index-close:hover { color: #fff; border-color: var(--orange-line); }
.index-group-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange2); margin: 20px 0 8px; }
.index-item { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; cursor: pointer; padding: 11px 13px; border-radius: 11px; background: transparent; border: 1px solid transparent; color: var(--text); font-family: inherit; transition: all .16s ease; margin-bottom: 3px; }
.index-item:hover { background: rgba(255,255,255,0.04); border-color: var(--line); }
.index-item.current { background: var(--orange-soft); border-color: var(--orange-line); }
.index-item .ix-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--muted); }
.index-item.current .ix-num { background: var(--orange); border-color: var(--orange); color: #1a0d05; }
.index-item .ix-title { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; }
.index-item .ix-dur { font-family: var(--mono); font-size: 11px; color: var(--dim); white-space: nowrap; }

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.navbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 14px; padding: 13px 22px; padding-bottom: calc(13px + env(safe-area-inset-bottom, 0px));
  background: rgba(5,6,8,0.8); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-top: 1px solid var(--line); }
.nav-btn { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-family: var(--body); font-weight: 600; font-size: 15px; border-radius: 12px; padding: 12px 19px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); color: var(--text); transition: all .2s ease; white-space: nowrap; }
.nav-btn:hover { border-color: var(--orange-line); background: rgba(255,255,255,0.07); }
.nav-btn:disabled { opacity: 0.32; cursor: not-allowed; }
.nav-btn.ghost { background: transparent; }
.nav-prev { min-width: 118px; }
.nav-next { margin-left: auto; background: linear-gradient(135deg, var(--orange), #ff7a32); color: #fff; border-color: transparent; font-family: var(--display); font-weight: 700; box-shadow: 0 8px 24px rgba(255,90,31,0.24); }
.nav-next:hover { transform: translateY(-1px); background: linear-gradient(135deg, var(--orange), #ff7a32); }
.nav-meta { text-align: center; line-height: 1.25; flex: 1; min-width: 0; }
.nav-meta .count { font-family: var(--mono); font-size: 12px; color: var(--text); font-weight: 600; letter-spacing: 0.05em; }
.nav-meta .count i { color: var(--dim); font-style: normal; }
.nav-meta .label { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .flowline { grid-template-columns: repeat(3, 1fr); }
  .stations, .matrix { grid-template-columns: 1fr 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .module.large { grid-column: span 1; }
  .protocol { grid-template-columns: repeat(4, 1fr); }
  .time-row { grid-template-columns: 110px 1fr; }
  .time-row .deliver { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .slide { padding: calc(76px + env(safe-area-inset-top, 0px)) 14px calc(92px + env(safe-area-inset-bottom, 0px)); align-items: flex-start; }
  .slide-inner { margin: 0 auto; }
  .clock { display: none; }
  .menu-btn span { display: none; }
  .menu-btn { padding: 9px 11px; }
  .brand-meta span { display: none; }
  .brand-meta b { font-size: 11.5px; }
  .topbar-inner { padding: 10px 14px; gap: 10px; }
  .top-right { gap: 9px; }

  /* one-column, full-width cards for readability */
  .hero-grid { gap: 22px; }
  .stations, .matrix { grid-template-columns: 1fr; }
  .flowline, .protocol, .signature { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .decision-strip { grid-template-columns: repeat(4, 1fr); }
  .console { padding: 14px; }
  .module { padding: 20px; }

  .headline { letter-spacing: -0.035em; }
  .quote { padding: 20px; font-size: clamp(20px, 6vw, 26px); }

  /* TIMELINE -> card per block */
  .time-row { display: block; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.04); padding: 14px; }
  .time-row > div { border: none; background: none; border-radius: 0; padding: 0; }
  .time-row .time { font-size: 12px; }
  .time-row .block-title { margin: 5px 0 6px; font-size: 16px; }
  .time-row .desc { margin-bottom: 7px; }
  .time-row.lunch { background: var(--orange-soft); border-color: var(--orange-line); }

  /* ADS rows -> card per row */
  .ads-console { padding: 16px; }
  .ads-row { display: block; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.035); padding: 14px; }
  .ads-row div { border: none; background: none; border-radius: 0; padding: 0; }
  .ads-row .min { font-size: 12px; }
  .ads-row .read { margin: 5px 0 6px; }

  /* TABLES -> stacked cards (data-label injected by JS) */
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl { border: none; background: none; border-radius: 0; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.04); padding: 14px; margin-bottom: 10px; }
  .tbl tr:last-child { margin-bottom: 0; }
  .tbl td { border: none; padding: 7px 0; font-size: 14px; }
  .tbl td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
  .tbl td:first-child { font-family: var(--display); font-weight: 700; color: #fff; font-size: 16px; padding: 0 0 9px; }
  .tbl td:first-child::before { display: none; }
  .tbl td:first-child strong { color: #fff; }

  /* nav -> comfortable thumb targets */
  .navbar { padding: 12px 14px; gap: 10px; }
  .nav-btn { padding: 0 16px; min-height: 46px; font-size: 14.5px; }
  .nav-prev { min-width: 0; }
  .nav-prev .nav-label { display: none; }
  .nav-meta .label { display: none; }

  #mentor-cta { height: 220px !important; }
}
@media (max-width: 460px) {
  .flowline, .protocol, .signature, .metric-grid { grid-template-columns: 1fr; }
  .headline { font-size: clamp(26px, 8vw, 34px); }
  .sec-head .headline { font-size: clamp(23px, 7vw, 30px); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .slide { transition: opacity .2s ease, visibility .2s !important; }
}
