:root {
  --bg: #f8fafd;
  --paper: rgba(255, 255, 255, 0.92);
  --panel: #ffffff;
  --text: #202124;
  --muted: #5f6368;
  --accent: #1a73e8;
  --accent-soft: #e8f0fe;
  --accent-strong: #174ea6;
  --border: rgba(60, 64, 67, 0.14);
  --shadow: 0 18px 50px rgba(60, 64, 67, 0.12);
  --radius: 24px;
  --display-font: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
  --body-font: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(232, 240, 254, 0.95), transparent 28%),
    radial-gradient(circle at bottom right, rgba(251, 233, 231, 0.72), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

body::before {
  width: 26rem;
  height: 26rem;
  top: -8rem;
  right: -7rem;
  border-radius: 50%;
  background: rgba(26, 115, 232, 0.08);
}

body::after {
  width: 20rem;
  height: 20rem;
  bottom: -6rem;
  left: -5rem;
  border-radius: 42% 58% 54% 46%;
  background: rgba(52, 168, 83, 0.08);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
}

body[data-first] {
  overflow: hidden;
}

body[data-first] .page-shell {
  height: 100dvh;
  padding: 12px 0;
}

.deck-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.deck-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.84), transparent 42%),
    linear-gradient(320deg, rgba(232, 240, 254, 0.6), transparent 36%);
  pointer-events: none;
}

.home-layout {
  display: grid;
  gap: 24px;
  padding: 34px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.slide-frame,
.notes-panel,
.slide-list a {
  background: var(--panel);
  border: 1px solid rgba(60, 64, 67, 0.12);
  border-radius: var(--radius);
}

.hero-copy,
.hero-panel,
.slide-list a {
  padding: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display-title,
.slide-title {
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.display-title {
  margin: 18px 0 18px;
  font-size: clamp(3rem, 8vw, 6.2rem);
  max-width: 10ch;
}

.lead,
.slide-lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.nav-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.nav-button:hover {
  transform: translateY(-1px);
}

.button.primary,
.nav-button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.secondary,
.nav-button.secondary {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(60, 64, 67, 0.18);
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.meta-label {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
}

.meta-list,
.slide-points,
.notes-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list {
  display: grid;
  gap: 14px;
}

.meta-list li {
  display: grid;
  gap: 4px;
}

.meta-list strong {
  font-size: 1.02rem;
}

.slide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.slide-list a {
  display: grid;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.slide-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 115, 232, 0.3);
}

.slide-number {
  font-weight: 700;
  color: var(--accent-strong);
}

.slide-layout {
  display: grid;
  gap: 16px;
  grid-template-rows: auto 1fr auto;
  box-sizing: border-box;
  min-height: 0;
}

.slide-topbar,
.slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.slide-progress {
  flex: 1;
  max-width: 240px;
  height: 10px;
  border-radius: 999px;
  background: rgba(26, 115, 232, 0.12);
  overflow: hidden;
}

.slide-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1a73e8 0%, #34a853 100%);
}

.slide-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.72fr);
  gap: 16px;
  min-height: 0;
  align-items: stretch;
}

.slide-stage.single-panel {
  grid-template-columns: 1fr;
}

.slide-frame,
.notes-panel {
  position: relative;
  padding: clamp(18px, 2.3vw, 28px);
  overflow: hidden;
}

.slide-frame {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 0;
  height: 100%;
}

.slide-frame::after {
  display: none;
}

.slide-frame.opening-slide {
  grid-template-rows: 1fr;
  align-items: center;
}

.slide-frame.opening-slide .slide-content,
.slide-frame.title-only-slide .slide-content {
  justify-items: center;
  align-content: center;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
  padding-inline: 0.12em;
}

.slide-frame.opening-slide .slide-title,
.slide-frame.title-only-slide .slide-title,
.slide-frame.opening-slide .slide-lead {
  max-width: none;
}

.slide-frame.opening-slide .slide-title {
  font-size: clamp(4rem, 10vw, 7.5rem);
  letter-spacing: -0.035em;
  padding-inline: 0.08em;
}

.slide-frame.title-only-slide {
  grid-template-rows: 1fr;
  align-items: center;
}

.slide-frame.comparison-slide {
  grid-template-rows: 1fr;
}

.slide-frame.module-map-slide {
  grid-template-rows: 1fr;
}

.slide-frame.split-groups-slide {
  grid-template-rows: 1fr;
}

.slide-frame.cost-cloud-slide {
  grid-template-rows: 1fr;
}

.slide-frame.block-list-slide {
  grid-template-rows: 1fr;
}

.slide-frame.split-groups-slide .slide-content {
  height: 100%;
}

.slide-frame.cost-cloud-slide .slide-content {
  height: 100%;
}

.slide-frame.block-list-slide .slide-content {
  height: 100%;
  gap: 18px;
}

.block-list-heading {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.block-list-kicker {
  color: #45b2e7;
  font-size: 0.95rem;
  font-weight: 500;
}

.block-list-heading .slide-title {
  margin: 0;
  max-width: none;
  font-size: clamp(2.5rem, 4.4vw, 3.5rem);
}

.block-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 282px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 0;
}

.block-list-copy {
  display: grid;
  gap: 40px;
}

.block-copy-item {
  display: grid;
  gap: 10px;
  text-align: center;
}

.block-copy-item h2 {
  margin: 0;
  font-size: clamp(1.04rem, 1.5vw, 1.45rem);
  line-height: 1.12;
  font-weight: 700;
}

.block-copy-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

.block-copy-item.blue h2 { color: #2f7fdc; }
.block-copy-item.amber h2 { color: #f5a623; }
.block-copy-item.violet h2 { color: #7b68d1; }
.block-copy-item.coral h2 { color: #ff4a5f; }
.block-copy-item.green h2 { color: #10bf88; }
.block-copy-item.cyan h2 { color: #44afe0; }

.block-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  filter: drop-shadow(0 8px 10px rgba(60, 64, 67, 0.18));
}

.block-step {
  position: relative;
  min-height: 138px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  color: #ffffff;
  text-align: center;
}

.block-step::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 16px solid currentColor;
  transform: translateX(-50%);
  color: inherit;
  filter: brightness(0.96);
}

.block-step.one,
.block-step.two,
.block-step.three,
.block-step.four {
  margin-bottom: 1px;
}

.block-step.one { background: #2f7fdc; }
.block-step.two { background: #ff4a5f; }
.block-step.three { background: #f7aa1b; }
.block-step.four { background: #10bf88; }
.block-step.five { background: #7b68d1; }
.block-step.six { background: #44afe0; }

.block-step.one::before,
.block-step.three::before,
.block-step.five::before {
  content: "";
  position: absolute;
  right: -17px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 18px solid currentColor;
  transform: translateY(-50%);
  color: inherit;
}

.block-step.two::before,
.block-step.four::before,
.block-step.six::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-right: 18px solid currentColor;
  transform: translateY(-50%);
  color: inherit;
}

.step-label {
  font-size: 0.9rem;
  line-height: 1;
  opacity: 0.95;
}

.block-step strong {
  font-size: clamp(3rem, 4.8vw, 4.1rem);
  line-height: 0.84;
  font-weight: 300;
  letter-spacing: -0.06em;
}

.groups-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  min-height: 100%;
}

.group-panel {
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: 100%;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 28px;
  border: 1px solid rgba(26, 115, 232, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: left;
  gap: 18px;
}

.group-panel-title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.group-points {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.group-points li {
  font-size: 0.98rem;
  line-height: 1.3;
}

.cost-cloud {
  position: relative;
  min-height: 100%;
}

.cost-bubble {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(26, 115, 232, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 14px 30px rgba(60, 64, 67, 0.08);
  color: var(--text);
  text-align: center;
}

.cost-bubble.main {
  left: 50%;
  top: 50%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
  padding: 24px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.06;
  font-weight: 700;
}

.cost-bubble.small {
  width: 102px;
  height: 102px;
  font-size: 0.82rem;
  line-height: 1.14;
  font-weight: 600;
  padding: 10px;
}

.cost-bubble.small.one {
  left: 5%;
  top: 12%;
}

.cost-bubble.small.two {
  left: 16%;
  top: 66%;
}

.cost-bubble.small.three {
  left: 33%;
  top: 3%;
}

.cost-bubble.small.four {
  right: 19%;
  top: 12%;
}

.cost-bubble.small.five {
  right: 6%;
  top: 47%;
}

.cost-bubble.small.six {
  right: 19%;
  bottom: 8%;
}

@media (max-width: 900px) {
}

.slide-frame.module-map-slide .slide-content {
  display: grid;
  place-items: center;
  height: 100%;
}

.module-map {
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: minmax(460px, 1fr) 42px minmax(220px, 280px);
  column-gap: 18px;
  row-gap: 0;
  align-items: center;
  min-height: auto;
  justify-content: center;
}

.module-lane {
  display: grid;
  gap: 4px;
  align-content: center;
}

.module-row {
  display: grid;
  grid-template-columns: 62px 156px auto;
  gap: 12px;
  align-items: center;
  width: fit-content;
}

.module-glyph {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.module-row.row-1,
.module-row.row-3,
.module-row.row-5 {
  margin-left: 28px;
}

.module-row.row-2,
.module-row.row-4 {
  margin-left: 72px;
}

.module-icon {
  position: relative;
  width: 42px;
  height: 52px;
  border: 3px solid #111111;
  border-radius: 8px;
  background: #ffffff;
}

.module-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 18px;
  height: 3px;
  background: #111111;
  border-radius: 999px;
  box-shadow: 0 8px 0 #111111, 0 16px 0 #111111, 0 24px 0 #111111;
}

.module-icon::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 8px;
  border: 3px solid #111111;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 6px 0;
  background: #ffffff;
}

.module-script {
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.module-arrow {
  position: relative;
  height: 3px;
  background: var(--accent);
}

.module-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.module-label {
  font-size: clamp(1rem, 1.5vw, 1.32rem);
  font-weight: 600;
  white-space: nowrap;
}

.module-brace {
  display: block;
  justify-self: start;
  align-self: center;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(8rem, 10vw, 9.2rem);
  font-weight: 400;
  line-height: 0.82;
  padding-block: 0.06em;
  transform: scale(0.62, 1.38);
  transform-origin: center;
  margin-left: -10px;
}

.module-insight {
  justify-self: start;
  align-self: center;
  max-width: 8ch;
  font-size: clamp(1.9rem, 2.9vw, 2.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-align: left;
  margin-left: 0;
}

.slide-frame.comparison-slide .slide-content {
  height: 100%;
  grid-template-rows: 1fr;
  gap: 0;
}

.slide-frame.comparison-slide .slide-title {
  max-width: none;
  text-align: center;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.tool-card-grid {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}

.tool-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.5fr);
  gap: 14px;
  align-items: center;
  min-height: 0;
  padding: 12px 14px;
  border-radius: 22px;
  border: 1px solid rgba(26, 115, 232, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.tool-logo-rail {
  display: grid;
  gap: 10px;
  align-content: center;
  justify-items: center;
  min-height: 0;
}

.tool-logo-rail.multi {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  justify-items: stretch;
}

.tool-logo-rail.multi.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-logo-rail.multi.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-logo-rail.multi.enterprise-grid {
  grid-template-columns: repeat(3, 72px);
  gap: 4px;
  justify-content: start;
  width: max-content;
  max-width: 100%;
}

.tool-mark {
  display: grid;
  place-items: center;
  min-height: 60px;
  padding: 10px 12px;

  .groups-layout {
    gap: 16px;
  }

  .group-panel-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
  }
  border-radius: 18px;
  border: 1px solid rgba(60, 64, 67, 0.14);
  background: #ffffff;
  text-align: center;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 8px 20px rgba(60, 64, 67, 0.08);
}

.tool-mark.logo-mark {
  padding: 12px 14px;
}

.tool-mark::before {
  content: attr(data-mark);
  display: block;
  margin-bottom: 0;
  font-size: 1.5rem;
  font-weight: 800;
}

.tool-mark.logo-mark::before {
  content: none;
}

.tool-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
}

.tool-logo-rail.enterprise-grid .tool-mark {
  min-height: 36px;
  padding: 6px;
  border-radius: 12px;
}

.tool-logo-rail.enterprise-grid .tool-logo {
  height: 20px;
}

.tool-logo-rail.enterprise-grid .tool-mark.katalon {
  min-height: 48px;
}

.tool-logo-rail.enterprise-grid .tool-mark.katalon .tool-logo {
  height: 40px;
}

.tool-card.enterprise-card {
  padding-top: 8px;
  padding-bottom: 8px;
}

.tool-card.enterprise-card .tool-copy h2 {
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.tool-card.enterprise-card .tool-copy {
  gap: 2px;
}

.tool-card.enterprise-card .tool-copy p {
  font-size: 0.82rem;
  line-height: 1.22;
}

.tool-mark.selenium {
  color: #2e7d32;
  min-width: 150px;
}

.tool-mark.selenium::before {
  color: #43a047;
}

.tool-mark.puppeteer {
  color: #1b5e20;
}

.tool-mark.playwright {
  color: #ad1457;
}

.tool-mark.cypress {
  color: #263238;
}

.tool-mark.functionize {
  color: #6a1b9a;
}

.tool-mark.ranorex {
  color: #1565c0;
}

.tool-copy {
  display: grid;
  gap: 6px;
  align-content: center;
}

.tool-copy h2 {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.tool-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.slide-frame.title-only-slide .slide-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 12ch;
  padding-inline: 0.1em;
  margin-inline: auto;
  text-align: center;
}

.title-line {
  display: block;
}

.quoted-title-line {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  align-items: baseline;
  column-gap: 0;
}

.quoted-title-line .quote-mark {
  display: inline-block;
}

.quoted-title-line .quoted-words {
  display: inline-block;
  white-space: nowrap;
}

.slide-frame.opening-slide .slide-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.42;
}

.slide-title {
  margin: 6px 0 0;
  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
  max-width: 10ch;
}

.nowrap {
  white-space: nowrap;
  display: inline-block;
}

.slide-lead {
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.38;
}

.slide-points {
  display: grid;
  gap: 10px;
  max-width: 60ch;
}

.slide-points li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.42;
}

.slide-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.12);
}

.spotlight {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  width: min(420px, 100%);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(26, 115, 232, 0.14);
}

.spotlight-value {
  font-family: var(--display-font);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 0.9;
  color: var(--accent-strong);
}

.spotlight-caption {
  color: var(--muted);
  line-height: 1.35;
  font-size: 0.92rem;
}

.notes-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.notes-panel h2 {
  margin: 0;
  font-size: 1.05rem;
}

.notes-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.95rem;
}

.notes-tip {
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.9rem;
  line-height: 1.4;
}

.slide-footer::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: url("vercel-logo.svg") no-repeat center / contain;
  opacity: 0.9;
  pointer-events: none;
}

.slide-footer .button-row {
  margin-top: 0;
}

.slide-footer.centered {
  justify-content: center;
}

.footer-note {
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .slide-stage {
    grid-template-columns: minmax(0, 1.32fr) minmax(190px, 0.68fr);
    gap: 12px;
  }

  .slide-title {
    font-size: clamp(1.95rem, 3.5vw, 3rem);
  }

  .slide-frame,
  .notes-panel {
    padding: 16px 18px;
  }

  .notes-list {
    font-size: 0.9rem;
    gap: 8px;
  }

  .tool-card {
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.5fr);
    gap: 12px;
    padding: 14px 16px;
  }

  .module-map {
    grid-template-columns: minmax(0, 1.05fr) 60px minmax(170px, 0.55fr);
    gap: 18px;
  }

  .module-row.row-2,
  .module-row.row-4 {
    margin-left: 70px;
  }

  .group-panel-title {
    font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  }

  .group-points li {
    font-size: 0.88rem;
  }

  .cost-bubble.main {
    width: 250px;
    height: 250px;
    font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  }

  .cost-bubble.small {
    width: 96px;
    height: 96px;
    font-size: 0.82rem;
  }

  .block-list-layout {
    grid-template-columns: minmax(0, 1fr) 238px minmax(0, 1fr);
    gap: 16px;
  }

  .block-list-copy {
    gap: 28px;
  }

  .block-copy-item h2 {
    font-size: 1.15rem;
  }

  .block-copy-item p {
    font-size: 0.84rem;
  }

  .block-step {
    min-height: 116px;
  }
}

@media (max-width: 720px) {
  .slide-stage {
    grid-template-columns: minmax(0, 1.2fr) minmax(165px, 0.62fr);
    gap: 10px;
  }

  .slide-frame,
  .notes-panel {
    padding: 12px 14px;
  }

  .slide-title {
    font-size: clamp(1.8rem, 4.4vw, 2.7rem);
  }

  .slide-lead,
  .slide-points li {
    font-size: 0.92rem;
  }

  .spotlight-caption {
    font-size: 0.84rem;
  }

  .notes-panel h2 {
    font-size: 0.95rem;
  }

  .notes-list,
  .notes-tip,
  .footer-note {
    font-size: 0.82rem;
  }

  .slide-frame.comparison-slide .slide-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .tool-card-grid {
    gap: 10px;
  }

  .tool-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tool-logo-rail.multi {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-mark {
    min-height: 62px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .tool-copy h2 {
    font-size: 1rem;
  }

  .tool-copy p {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .groups-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .group-panel {
    min-height: 0;
    padding: 18px 16px;
  }

  .group-panel-title {
    max-width: none;
    font-size: clamp(1.7rem, 4.8vw, 2.4rem);
  }

  .group-points {
    gap: 8px;
  }

  .group-points li {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .cost-cloud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: center;
  }

  .cost-bubble {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    min-height: 88px;
    border-radius: 24px;
  }

  .cost-bubble.main {
    grid-column: 1 / -1;
    min-height: 120px;
    font-size: 1.25rem;
  }

  .cost-bubble.small {
    min-height: 84px;
    font-size: 0.82rem;
  }

  .block-list-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .block-steps {
    width: min(282px, 100%);
    margin: 0 auto;
    order: -1;
  }

  .block-list-copy {
    gap: 18px;
  }

  .module-map {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .module-brace {
    display: none;
  }

  .module-lane {
    gap: 10px;
  }

  .module-row,
  .module-row.row-1,
  .module-row.row-2,
  .module-row.row-3,
  .module-row.row-4,
  .module-row.row-5 {
    margin-left: 0;
    grid-template-columns: 56px 100px auto;
    gap: 10px;
  }

  .module-glyph {
    gap: 6px;
  }

  .module-icon {
    width: 44px;
    height: 56px;
  }

  .module-icon::before {
    left: 9px;
    top: 12px;
    width: 18px;
    box-shadow: 0 9px 0 #111111, 0 18px 0 #111111, 0 27px 0 #111111;
  }

  .module-label {
    font-size: 0.98rem;
  }

  .module-script {
    font-size: 0.8rem;
  }

  .module-insight {
    max-width: none;
    font-size: 1.3rem;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .slide-stage {
    grid-template-columns: 1fr;
  }

  body[data-first] {
    overflow: auto;
  }

  body[data-first] .page-shell {
    height: auto;
    min-height: 100dvh;
  }

  .slide-frame {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .home-layout,
  .hero-copy,
  .hero-panel,
  .slide-list a,
  .slide-frame,
  .notes-panel {
    padding: 20px;
  }

  .display-title,
  .slide-title {
    max-width: none;
  }

  .slide-topbar,
  .slide-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button-row {
    width: 100%;
  }

  .button,
  .nav-button {
    width: 100%;
  }
}