:root {
  color-scheme: light;
  --ink: #16202a;
  --muted: #5a6572;
  --paper: #f4f7f9;
  --line: #d7e0e8;
  --navy: #143963;
  --red: #d61f2a;
  --green: #16855b;
  --gold: #d9a441;
  --blue: #2b72bd;
  --charcoal: #101820;
  --header-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(16, 24, 32, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand-mark,
.section-nav a {
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.section-nav {
  display: flex;
  gap: 18px;
}

.section-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.section-nav a:hover,
.section-nav a.active {
  color: #fff;
}

.fullscreen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.fullscreen-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.fullscreen-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.fullscreen-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  overflow-x: hidden;
}

.panel {
  height: 100svh;
  min-height: 620px;
  position: relative;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + clamp(14px, 2vh, 28px)) clamp(22px, 5vw, 78px) clamp(20px, 3vh, 38px);
  overflow: hidden;
  scroll-snap-align: start;
}

.slide-inner {
  width: min(1180px, 100%);
  max-height: calc(100svh - var(--header-h) - 52px);
  margin: 0 auto;
  display: grid;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.two-column {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.center-slide {
  max-width: 980px;
  text-align: center;
  justify-items: center;
}

.slide-bg,
.slide-shade {
  position: absolute;
  inset: 0;
}

.cover-bg {
  background:
    linear-gradient(90deg, rgba(6, 12, 18, 0.9), rgba(6, 12, 18, 0.35), rgba(6, 12, 18, 0.82)),
    url("assets/image9.png") center / cover;
  transform: scale(1.02);
}

.impact-bg {
  background:
    linear-gradient(90deg, rgba(6, 12, 18, 0.94), rgba(6, 12, 18, 0.72)),
    url("assets/image2.png") center / cover;
}

.slide-shade {
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0.05), rgba(10, 14, 20, 0.86)),
    radial-gradient(circle at 18% 18%, rgba(43, 114, 189, 0.45), transparent 32%);
}

.cover-slide,
.dark,
.impact-panel {
  color: #fff;
  background: var(--charcoal);
}

.pale {
  background: #edf2f6;
}

.closing-slide {
  background: #fff;
}

.cover-inner {
  min-height: 72svh;
  align-content: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-family: Montserrat, sans-serif;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cover-slide .eyebrow,
.dark .eyebrow,
.impact-panel .eyebrow {
  color: #ffb8bd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Montserrat, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(58px, 9vw, 128px);
  line-height: 0.91;
}

h2 {
  max-width: 980px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(19px, 1.8vw, 24px);
}

p,
li {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.42;
}

.cover-slide p,
.dark p,
.impact-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 700;
}

.dark-lead {
  color: var(--muted);
}

.team {
  font-weight: 800;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.partner-logos img {
  height: 58px;
  width: auto;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  padding: 8px 11px;
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.clean-list li {
  padding-left: 20px;
  position: relative;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.asset-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(14px, 2vw, 24px);
  box-shadow: 0 18px 55px rgba(18, 31, 44, 0.08);
}

.asset-card img {
  width: 100%;
  max-height: 46svh;
  object-fit: contain;
}

.distribution-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(16px, 2.2vw, 28px);
  box-shadow: 0 18px 55px rgba(18, 31, 44, 0.08);
}

.distribution-head,
.total-output {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-weight: 900;
}

.distribution-head strong,
.total-output strong {
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
}

.total-output {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.total-output.gain strong {
  color: var(--green);
}

.motor-grid,
.force-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.motor-grid {
  margin: 18px 0 10px;
  align-items: end;
}

.motor-grid span {
  min-height: 72px;
  display: grid;
  place-items: end center;
  border-radius: 6px;
  padding: 10px 5px;
  background: #e6edf3;
  color: var(--navy);
  font-weight: 900;
}

.motor-grid.weighted span {
  min-height: 50px;
  background: linear-gradient(180deg, #f8c7ca, var(--red));
  color: #fff;
}

.motor-grid.weighted span:nth-child(2) {
  min-height: 86px;
}

.motor-grid.weighted span:nth-child(3) {
  min-height: 104px;
}

.force-grid {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.output-bars {
  min-height: 92px;
  align-items: start;
}

.output-bars span {
  min-height: calc(var(--h) * 0.86);
  display: grid;
  place-items: start center;
  border-radius: 6px;
  padding: 9px 4px;
  background: linear-gradient(180deg, #c7d9eb, var(--navy));
  color: #fff;
}

.output-bars.ai-output span {
  background: linear-gradient(180deg, #bdebd8, var(--green));
}

.three-up,
.learning-loop,
.phase-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.three-up article,
.learning-loop article,
.phase-row article,
.metric-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(16px, 2vw, 24px);
}

.three-up span,
.learning-loop span,
.phase-row span,
.metric-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.three-up p,
.learning-loop p,
.phase-row p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 19px);
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.step-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
}

.step-list strong {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: Montserrat, sans-serif;
}

.data-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.data-panel div {
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: clamp(18px, 2.2vw, 28px);
}

.data-panel strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
}

.data-panel span {
  color: #c8dff5;
  font-weight: 800;
}

.rail-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rail-flow span,
.rail-flow strong {
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
}

.rail-flow strong {
  grid-column: 1 / -1;
  background: var(--red);
  color: #fff;
  font-size: clamp(22px, 2.4vw, 34px);
}

.formula-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: clamp(20px, 3vw, 38px);
}

.formula-card span {
  display: block;
  color: #ffb8bd;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.formula-card strong {
  display: block;
  margin: 16px 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.04;
}

.learning-loop article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.learning-loop span {
  font-size: clamp(34px, 4vw, 58px);
  text-transform: none;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.model-grid span {
  min-height: 86px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 800;
}

.model-grid .hot {
  background: var(--red);
  color: #fff;
}

.wide-asset img {
  max-height: 38svh;
}

.chart-card img,
.table-card img {
  max-height: 48svh;
}

.parallel-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.parallel-visual span,
.parallel-visual strong {
  border-radius: 8px;
  padding: 30px 18px;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
}

.parallel-visual span:nth-child(1) {
  background: var(--blue);
}

.parallel-visual span:nth-child(2) {
  background: var(--gold);
  color: #111820;
}

.parallel-visual span:nth-child(3) {
  background: var(--red);
}

.parallel-visual strong {
  grid-column: 1 / -1;
  background: var(--green);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-grid article {
  background: rgba(255, 255, 255, 0.94);
}

.metric-grid strong {
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: clamp(27px, 3vw, 46px);
  line-height: 1;
}

.impact-inner {
  color: #fff;
}

.impact-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.impact-breakdown article {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(14px, 1.8vw, 22px);
}

.impact-breakdown span {
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.impact-breakdown .advantage span {
  color: var(--green);
}

.impact-breakdown strong {
  display: block;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: clamp(22px, 2.35vw, 36px);
  line-height: 1;
}

.impact-breakdown p {
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.25;
}

.impact-breakdown p:last-child {
  margin-bottom: 0;
}

.progress-dots {
  position: fixed;
  right: 16px;
  top: 50%;
  z-index: 21;
  display: grid;
  gap: 7px;
  transform: translateY(-50%);
}

.progress-dots a {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(22, 32, 42, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.progress-dots a.active {
  background: var(--red);
  border-color: var(--red);
}

@media (max-width: 980px) {
  :root {
    --header-h: 58px;
  }

  .section-nav {
    display: none;
  }

  .panel {
    min-height: 560px;
    padding-inline: 18px;
  }

  .slide-inner {
    gap: 18px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(44px, 14vw, 82px);
  }

  h2 {
    font-size: clamp(28px, 7.7vw, 48px);
  }

  p,
  li,
  .lead {
    font-size: clamp(14px, 4vw, 18px);
  }

  .asset-card img {
    max-height: 28svh;
  }

  .three-up,
  .learning-loop,
  .phase-row,
  .metric-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .three-up article,
  .learning-loop article,
  .phase-row article,
  .metric-grid article {
    padding: 12px 14px;
  }

  .learning-loop article {
    min-height: 0;
  }

  .data-panel,
  .rail-flow,
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .data-panel div,
  .rail-flow span,
  .rail-flow strong {
    padding: 14px;
  }

  .distribution-card {
    padding: 14px;
  }

  .motor-grid,
  .force-grid {
    gap: 5px;
    font-size: 11px;
  }

  .motor-grid span {
    min-height: 54px;
    padding: 8px 3px;
    font-size: 12px;
  }

  .motor-grid.weighted span,
  .motor-grid.weighted span:nth-child(2),
  .motor-grid.weighted span:nth-child(3) {
    min-height: 44px;
  }

  .output-bars {
    min-height: 76px;
  }

  .output-bars span {
    min-height: calc(var(--h) * 0.72);
    padding: 7px 3px;
  }

  .distribution-head strong,
  .total-output strong {
    font-size: 24px;
  }

  .progress-dots {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .panel {
    min-height: 620px;
    padding-top: calc(var(--header-h) + 16px);
  }

  .cover-inner {
    min-height: 0;
  }

  .partner-logos {
    gap: 10px;
  }

  .partner-logos img {
    height: 46px;
  }

  .clean-list {
    gap: 8px;
  }

  .data-panel,
  .rail-flow,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .data-panel strong,
  .model-grid span {
    font-size: 24px;
  }

  .metric-grid strong {
    font-size: 25px;
  }

  .impact-panel h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .impact-panel .slide-inner {
    gap: 10px;
  }

  .impact-panel .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .impact-panel .metric-grid article {
    padding: 10px 12px;
  }

  .impact-panel .metric-grid strong {
    font-size: 23px;
  }

  .impact-panel .metric-grid span,
  .impact-breakdown span {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .impact-breakdown {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .impact-breakdown article {
    padding: 9px 8px;
  }

  .impact-breakdown strong {
    font-size: 16px;
  }

  .impact-breakdown p {
    display: none;
  }
}
