:root {
  color-scheme: light;
  --canvas: #f7f8f5;
  --canvas-warm: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f3f4f1;
  --surface-raised: rgba(255, 255, 255, 0.9);
  --text: #050505;
  --muted: #686a68;
  --muted-strong: #3d403f;
  --line: rgba(5, 5, 5, 0.12);
  --line-strong: rgba(5, 5, 5, 0.2);
  --orange: #ff8a00;
  --orange-soft: #fff1dc;
  --red: #f51b1b;
  --red-soft: #ffe9e6;
  --yellow: #ffc83d;
  --green: #13a874;
  --shadow: 0 30px 80px rgba(20, 22, 20, 0.14);
  --shadow-soft: 0 16px 38px rgba(20, 22, 20, 0.08);
  --font-display: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "SF Pro Text", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.98), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(255, 138, 0, 0.13), transparent 27rem),
    radial-gradient(circle at 86% 84%, rgba(245, 27, 27, 0.1), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--canvas) 100%);
  isolation: isolate;
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: auto -9rem -14rem auto;
  width: 38rem;
  height: 28rem;
  border: 1px solid rgba(5, 5, 5, 0.06);
  border-radius: 5rem;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(232, 235, 231, 0.54)),
    var(--surface-soft);
  box-shadow: 0 38px 90px rgba(25, 28, 24, 0.12);
  transform: rotate(-9deg);
  z-index: 0;
}

body::after {
  position: fixed;
  top: 14%;
  left: -7rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(237, 239, 235, 0.35) 62%, transparent 70%);
  filter: blur(0.5px);
  z-index: 0;
}

#impress {
  position: relative;
  z-index: 1;
}

.fallback-message {
  display: none;
  max-width: 760px;
  margin: 3rem auto;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.impress-not-supported .fallback-message {
  display: block;
}

.presentation-ui {
  position: fixed;
  z-index: 20;
  top: 24px;
  left: 34px;
  right: 34px;
  display: grid;
  grid-template-columns: 180px minmax(360px, 660px) auto;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-family: var(--font-ui);
}

.brand-mark {
  display: flex;
  align-items: center;
  min-height: 50px;
}

.brand-mark img {
  display: block;
  width: 126px;
  height: auto;
}

.launch-pill {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 14px;
  padding: 0.36rem 0.46rem 0.36rem 0.42rem;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(16, 18, 16, 0.06);
  backdrop-filter: blur(14px);
}

.launch-pill span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 10px;
  padding: 0 0.8rem;
  background: #eef2f4;
  color: #46535d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.launch-pill strong {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 560;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.launch-pill b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-left: auto;
  border-radius: 10px;
  background: #050505;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.presentation-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 14px;
}

.nav-hint {
  color: #7a7d7a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.step {
  position: relative;
  width: 1120px;
  min-height: 700px;
  overflow: hidden;
  padding: 66px 70px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 245, 0.96)),
    var(--surface);
  box-shadow: var(--shadow);
  opacity: 0.22;
  transition:
    opacity 0.35s ease,
    filter 0.35s ease;
}

.step::before {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  content: "";
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 20px 36px rgba(245, 27, 27, 0.2);
  opacity: 0.12;
  transform: rotate(-9deg);
  z-index: 0;
}

.step > * {
  position: relative;
  z-index: 1;
}

.step.active,
.step.present {
  opacity: 1;
}

.step.past,
.step.future {
  filter: saturate(0.86);
}

.overview-step {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(5, 5, 5, 0.82);
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 560;
  letter-spacing: -0.045em;
  text-align: center;
}

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

h1,
h2 {
  max-width: 1000px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.15rem;
  font-size: 5.35rem;
}

h2 {
  margin-bottom: 2rem;
  font-size: 3.75rem;
}

h3 {
  margin-bottom: 0.78rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 660;
  letter-spacing: -0.022em;
}

p,
li,
td,
th {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.48;
}

ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

li::marker {
  color: var(--orange);
}

li + li {
  margin-top: 0.72rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  margin-bottom: 1.1rem;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted-strong);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(16, 18, 16, 0.05);
}

.eyebrow::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.subtitle {
  max-width: 720px;
  margin-bottom: 2.3rem;
  color: var(--muted);
  font-size: 1.48rem;
}

.title-slide,
.close-slide {
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 138, 0, 0.13), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 248, 245, 0.96));
}

.title-slide::before,
.close-slide::before {
  right: -82px;
  bottom: -118px;
  width: 350px;
  height: 280px;
  border: 1px solid rgba(5, 5, 5, 0.07);
  border-radius: 54px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(225, 229, 224, 0.76)),
    #f0f2ee;
  box-shadow:
    0 36px 76px rgba(26, 28, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  opacity: 0.9;
  transform: rotate(-8deg);
}

.title-slide::after,
.close-slide::after {
  position: absolute;
  right: 86px;
  bottom: 94px;
  width: 170px;
  height: 118px;
  border-radius: 30px;
  content: "";
  background: linear-gradient(145deg, #ffbf32 0%, var(--orange) 42%, var(--red) 100%);
  box-shadow: 0 28px 48px rgba(245, 27, 27, 0.2);
  transform: rotate(-8deg);
  z-index: 0;
}

.title-grid,
.metrics-grid,
.measurement-grid,
.risk-grid,
.qa-list,
.role-map,
.timeline {
  display: grid;
  gap: 18px;
}

.title-grid {
  grid-template-columns: repeat(3, 1fr);
}

.title-grid > div,
.metrics-grid article,
.measurement-grid article,
.risk-grid article,
.qa-list article,
.role-map article,
.timeline article,
.demo-card,
.quote-card,
.stacked-points div,
.handoff-chain article,
.two-column > div {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.title-grid > div {
  position: relative;
  display: flex;
  min-height: 128px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 1.3rem;
}

.title-grid > div::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 11px;
  border-radius: 999px;
  content: "";
  background: var(--orange);
}

.title-grid > div:nth-child(2)::after {
  background: var(--red);
}

.title-grid > div:nth-child(3)::after {
  background: var(--yellow);
}

.metric,
.metrics-grid b {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 3.12rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.title-grid > div:nth-child(1) .metric,
.metrics-grid article:nth-child(1) b {
  color: var(--orange);
}

.title-grid > div:nth-child(2) .metric,
.metrics-grid article:nth-child(2) b {
  color: var(--red);
}

.title-grid > div:nth-child(3) .metric,
.metrics-grid article:nth-child(3) b {
  color: #161616;
}

.metrics-grid article:nth-child(4) b {
  color: var(--green);
}

.title-grid span:last-child,
.metrics-grid span {
  color: var(--muted);
  font-size: 1rem;
}

.split,
.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
}

.quote-card {
  display: flex;
  min-height: 360px;
  align-items: end;
  border: 0;
  padding: 2rem;
  background: linear-gradient(145deg, #ffbf32 0%, var(--orange) 43%, var(--red) 100%);
  box-shadow: 0 30px 58px rgba(245, 27, 27, 0.18);
}

.quote-card p {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.92rem;
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.stacked-points {
  display: grid;
  gap: 16px;
}

.stacked-points div {
  padding: 1.5rem;
}

.stacked-points strong {
  color: var(--text);
}

.goal-band,
.closing-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.goal-band span,
.closing-line {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-weight: 660;
}

.goal-band span {
  padding: 0.72rem 1rem;
}

.goal-band span:nth-child(2) {
  background: var(--orange-soft);
  border-color: rgba(255, 138, 0, 0.28);
}

.goal-band span:nth-child(4) {
  background: var(--red-soft);
  border-color: rgba(245, 27, 27, 0.24);
}

.metrics-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.metrics-grid article {
  min-height: 170px;
  padding: 1.4rem;
}

.footnote {
  margin-top: 1.5rem;
  color: rgba(104, 106, 104, 0.76);
  font-size: 0.95rem;
}

.flywheel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin: 2.5rem 0 2rem;
}

.flywheel::before {
  position: absolute;
  top: 50%;
  left: 4%;
  right: 4%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--orange), var(--red));
  transform: translateY(-50%);
}

.flywheel div {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 680;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.flywheel span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: #050505;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.flywheel div:nth-child(2) span,
.flywheel div:nth-child(4) span {
  background: var(--orange);
}

.flywheel div:nth-child(3) span,
.flywheel div:nth-child(5) span {
  background: var(--red);
}

.centerline {
  max-width: 850px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: 1.38rem;
  text-align: center;
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
}

.timeline article {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 1.35rem;
}

.timeline article::before,
.role-map article::before,
.measurement-grid article::before,
.risk-grid article::before,
.qa-list article::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  content: "";
  background: var(--card-accent, var(--orange));
}

.timeline article:nth-child(2),
.role-map article:nth-child(2),
.measurement-grid article:nth-child(2),
.risk-grid article:nth-child(2),
.qa-list article:nth-child(2) {
  --card-accent: var(--red);
}

.timeline article:nth-child(3),
.role-map article:nth-child(3),
.measurement-grid article:nth-child(3),
.risk-grid article:nth-child(3),
.qa-list article:nth-child(3) {
  --card-accent: var(--yellow);
}

.timeline article:nth-child(4),
.role-map article:nth-child(4),
.risk-grid article:nth-child(4) {
  --card-accent: #050505;
}

.timeline span,
.handoff-chain span {
  display: block;
  margin-bottom: 1rem;
  color: var(--muted-strong);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-map {
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 2rem;
}

.role-map article {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.35rem;
}

.role-map article:nth-child(5) {
  --card-accent: var(--green);
}

.role-map b {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.role-map span {
  color: var(--card-accent, var(--orange));
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.two-column > div {
  min-height: 380px;
  padding: 1.65rem;
}

.check-list li::marker {
  color: var(--green);
}

.handoff-chain {
  display: grid;
  gap: 14px;
}

.handoff-chain article {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  padding: 1rem 1.25rem;
}

.handoff-chain span {
  margin: 0;
}

.handoff-chain b {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 560;
  letter-spacing: -0.035em;
}

.demo-card {
  max-width: 760px;
  padding: 2rem;
  border-color: rgba(5, 5, 5, 0.88);
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 138, 0, 0.34), transparent 9rem),
    linear-gradient(145deg, #232323, #050505);
  box-shadow: 0 28px 60px rgba(5, 5, 5, 0.24);
}

.demo-card h3,
.demo-card li {
  color: #ffffff;
}

.demo-card li::marker {
  color: var(--orange);
}

.measurement-grid {
  grid-template-columns: repeat(3, 1fr);
}

.measurement-grid article,
.risk-grid article,
.qa-list article {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 1.45rem;
}

.risk-grid,
.qa-list {
  grid-template-columns: repeat(2, 1fr);
}

.qa-list {
  grid-template-columns: repeat(3, 1fr);
}

table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

th,
td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--surface-soft);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

td:first-child {
  color: var(--text);
  font-weight: 760;
}

tr:last-child td {
  border-bottom: 0;
}

tr:nth-child(even) td {
  background: rgba(243, 244, 241, 0.5);
}

.closing-line {
  display: inline-flex;
  border: 0;
  padding: 0.92rem 1.2rem;
  background: #050505;
  color: #ffffff;
  font-size: 1.08rem;
  box-shadow: 0 16px 34px rgba(5, 5, 5, 0.16);
}

.close-slide p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted-strong);
  font-size: 1.48rem;
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  body::before,
  body::after {
    display: none;
  }

  .presentation-ui {
    display: none;
  }

  #impress {
    transform: none !important;
  }

  .step {
    position: relative !important;
    width: auto;
    min-height: auto;
    margin: 1rem;
    padding: 2rem;
    opacity: 1;
    transform: none !important;
  }

  .step::before,
  .step::after {
    display: none;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .title-grid,
  .metrics-grid.four,
  .split,
  .two-column,
  .timeline,
  .role-map,
  .measurement-grid,
  .risk-grid,
  .qa-list,
  .flywheel {
    grid-template-columns: 1fr;
  }

  .flywheel::before {
    display: none;
  }

  .flywheel div {
    min-height: 120px;
  }

  .handoff-chain article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
