:root {
  --ink: #0b1218;
  --navy: #071826;
  --navy-2: #0d2234;
  --charcoal: #1c252d;
  --steel: #526170;
  --steel-2: #7c8994;
  --line: #d9e0e5;
  --paper: #f6f8f8;
  --white: #ffffff;
  --blue: #0077d9;
  --blue-bright: #14a6ff;
  --signal: #f4b740;
  --green: #2d8f75;
  --shadow: 0 22px 80px rgba(7, 24, 38, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(7, 24, 38, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 24, 38, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family: "Lexend", "Aptos", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.74) 42%, rgba(244, 183, 64, 0.08)),
    linear-gradient(180deg, rgba(20, 166, 255, 0.08), transparent 32%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.progress-shell {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 5px;
  background: rgba(7, 24, 38, 0.08);
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--signal));
  transition: width 120ms linear;
}

.deck-nav {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 12;
  display: flex;
  width: 166px;
  padding: 10px;
  border: 1px solid rgba(7, 24, 38, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(7, 24, 38, 0.14);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
  flex-direction: column;
  gap: 2px;
}

.deck-nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--steel);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.deck-nav a span {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.deck-nav a[aria-current="true"] {
  color: var(--ink);
  background: rgba(0, 119, 217, 0.1);
}

.slide {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(72px, 7vw, 118px) clamp(20px, 5vw, 86px);
  border-bottom: 1px solid rgba(7, 24, 38, 0.1);
}

.slide-frame {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.dark-slide {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy), #101a22 58%, #152736);
  background-size: 64px 64px, 64px 64px, auto;
}

.cover-slide {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(145deg, #071420 0%, #10283c 52%, #151b1f 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.cover-grid,
.split-layout,
.hero-message-layout,
.investment-layout,
.final-layout,
.package-header,
.issue-layout,
.trust-layout,
.seo-layout,
.included-layout {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
}

.cover-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.split-layout,
.hero-message-layout,
.investment-layout,
.final-layout,
.package-header {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
}

.eyebrow,
.panel-label,
.mock-label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark-slide .eyebrow,
.cover-slide .eyebrow,
.dark-slide .panel-label,
.dark-slide .mock-label,
.cover-slide .panel-label {
  color: var(--blue-bright);
}

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

h1,
h2 {
  max-width: 980px;
  font-family: "Lexend", "Aptos Display", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 5.55vw, 5.75rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4.8vw, 4.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.05rem, 1.6vw, 1.36rem);
  line-height: 1.12;
}

p {
  max-width: 760px;
}

.lead {
  max-width: 810px;
  color: inherit;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.34;
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 58px);
}

.section-heading > p:last-child {
  color: var(--steel);
  font-size: 1.08rem;
}

.dark-slide .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading.compact {
  margin-bottom: 32px;
}

.cover-meta,
.proof-row,
.environment-grid,
.addon-cloud,
.touchpoint-map {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cover-meta span,
.proof-row span,
.environment-grid span,
.addon-cloud span,
.touchpoint-map span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
}

.technical-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.22);
}

.technical-panel::before,
.technical-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.technical-panel::before {
  inset: 42px;
  border: 1px solid rgba(20, 166, 255, 0.34);
  border-radius: var(--radius);
}

.technical-panel::after {
  width: 58%;
  height: 64%;
  right: 12%;
  bottom: 12%;
  border-right: 6px solid rgba(20, 166, 255, 0.58);
  border-bottom: 6px solid rgba(244, 183, 64, 0.58);
  border-radius: 0 0 28px 0;
}

.panel-grid {
  position: absolute;
  inset: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  opacity: 0.72;
}

.panel-grid span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.panel-content {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 2;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 24, 38, 0.82);
  backdrop-filter: blur(10px);
}

.panel-content p:not(.panel-label) {
  font-size: 1.3rem;
  line-height: 1.24;
}

.system-lines {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.system-lines span {
  display: block;
  padding: 9px 0 9px 16px;
  border-left: 3px solid var(--blue-bright);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.statement-band,
.statement-card,
.message-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(7, 24, 38, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.statement-band {
  margin-bottom: 24px;
  border-left: 7px solid var(--blue);
}

.statement-band p,
.message-card h3 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  line-height: 1.25;
  font-weight: 750;
}

.summary-grid,
.score-grid,
.persona-grid,
.case-grid,
.brand-board,
.scope-grid,
.three-column {
  display: grid;
  gap: 16px;
}

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

.metric-card,
.score-card,
.persona-grid article,
.case-grid article,
.brand-board article,
.scope-grid article,
.three-column article,
.trust-card,
.seo-layout article,
.include-card,
.gap-card,
.position-card,
.hero-mock,
.quote-flow,
.price-card,
.next-checklist {
  border: 1px solid rgba(7, 24, 38, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 44px rgba(7, 24, 38, 0.09);
}

.dark-slide .metric-card,
.dark-slide .score-card,
.dark-slide .persona-grid article,
.dark-slide .case-grid article,
.dark-slide .brand-board article,
.dark-slide .scope-grid article,
.dark-slide .three-column article,
.dark-slide .trust-card,
.dark-slide .seo-layout article,
.dark-slide .include-card,
.dark-slide .gap-card,
.dark-slide .position-card,
.dark-slide .hero-mock,
.dark-slide .quote-flow,
.dark-slide .price-card,
.dark-slide .next-checklist {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: none;
}

.metric-card,
.score-card,
.persona-grid article,
.case-grid article,
.brand-board article,
.scope-grid article,
.three-column article,
.trust-card,
.seo-layout article,
.include-card {
  padding: 24px;
}

.metric-number {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: "Lexend", "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 0.9;
}

.metric-card p,
.score-card p,
.persona-grid p,
.case-grid p,
.brand-board p,
.scope-grid p,
.three-column li,
.trust-card li,
.seo-layout p,
.include-card li,
.issue-list p,
.quote-flow li,
.next-checklist li {
  color: var(--steel);
  font-size: 0.96rem;
}

.dark-slide .metric-card p,
.dark-slide .score-card p,
.dark-slide .persona-grid p,
.dark-slide .case-grid p,
.dark-slide .brand-board p,
.dark-slide .scope-grid p,
.dark-slide .three-column li,
.dark-slide .trust-card li,
.dark-slide .seo-layout p,
.dark-slide .include-card li,
.dark-slide .issue-list p,
.dark-slide .quote-flow li,
.dark-slide .next-checklist li {
  color: rgba(255, 255, 255, 0.72);
}

.diagnosis-stack {
  display: grid;
  gap: 14px;
}

.diagnosis-stack article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.diagnosis-stack span,
.gap-label,
.position-card span,
.case-grid span,
.timeline span,
.price-card span,
.persona-code {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.dark-slide .diagnosis-stack span,
.dark-slide .gap-label,
.dark-slide .position-card span,
.dark-slide .case-grid span,
.dark-slide .timeline span,
.dark-slide .price-card span {
  color: var(--blue-bright);
}

.score-grid {
  grid-template-columns: repeat(6, 1fr);
}

.score-card {
  grid-column: span 3;
}

.score-card.highlight-card {
  grid-column: 2 / span 4;
  border-color: rgba(0, 119, 217, 0.36);
}

.score-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.rating {
  white-space: nowrap;
  color: var(--blue);
  font-weight: 850;
}

.rating-track {
  height: 9px;
  margin: 14px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 24, 38, 0.1);
}

.rating-track span {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--signal));
}

.gap-layout,
.before-after {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.gap-layout {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.before-after {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin-bottom: 20px;
}

.gap-card,
.position-card,
.hero-mock,
.quote-flow,
.price-card,
.next-checklist {
  padding: clamp(24px, 3.2vw, 40px);
}

.gap-card.active,
.position-card.after,
.trust-card.accent,
.include-card {
  border-color: rgba(0, 119, 217, 0.34);
}

.gap-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-size: 1.6rem;
  font-weight: 800;
  align-self: center;
}

.proof-row {
  margin-top: 22px;
}

.proof-row span,
.environment-grid span,
.addon-cloud span,
.touchpoint-map span {
  border-color: rgba(7, 24, 38, 0.13);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(7, 24, 38, 0.07);
}

.message-card {
  color: var(--ink);
}

.hero-mock {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 24, 38, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 24, 38, 0.045) 1px, transparent 1px),
    var(--white);
  background-size: 38px 38px;
}

.hero-mock::after {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 150px;
  height: 150px;
  border-right: 5px solid rgba(0, 119, 217, 0.52);
  border-bottom: 5px solid rgba(244, 183, 64, 0.62);
  content: "";
}

.hero-mock h3 {
  max-width: 620px;
  font-size: clamp(1.8rem, 3.1vw, 3.2rem);
  line-height: 1.02;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(7, 24, 38, 0.16);
  background: var(--white);
}

.dark-slide .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.trust-line {
  margin-bottom: 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 850;
}

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

.issue-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  align-items: start;
}

.issue-list {
  display: grid;
  gap: 12px;
}

.issue-list article {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.issue-list article:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.quote-flow ol,
.next-checklist ul,
.trust-card ul,
.three-column ul,
.include-card ul,
.compact-list {
  padding-left: 1.1rem;
  margin: 0;
}

.quote-flow li + li,
.next-checklist li + li,
.trust-card li + li,
.three-column li + li,
.include-card li + li,
.compact-list li + li {
  margin-top: 8px;
}

.trust-layout {
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}

.environment-grid {
  margin-top: 18px;
}

.case-grid {
  grid-template-columns: repeat(5, 1fr);
}

.brand-board,
.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.touchpoint-map,
.addon-cloud {
  gap: 12px;
  margin-bottom: 28px;
}

.touchpoint-map span,
.addon-cloud span {
  min-height: 42px;
  border-radius: 6px;
}

.seo-layout {
  grid-template-columns: repeat(2, 1fr);
}

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

.price-card {
  background: rgba(255, 255, 255, 0.11);
}

.price-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Lexend", "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.92;
}

.included-layout {
  grid-template-columns: repeat(2, 1fr);
}

.include-card.muted {
  border-color: rgba(82, 97, 112, 0.24);
  background: rgba(255, 255, 255, 0.62);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline article {
  min-height: 290px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.timeline article:last-child {
  border-right: 0;
}

.investment-slide {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(140deg, #11181d, var(--navy-2) 54%, #26323d);
  background-size: 64px 64px, 64px 64px, auto;
}

.investment-number {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  font-family: "Lexend", "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(3rem, 8vw, 7.4rem);
  font-weight: 850;
  line-height: 0.9;
}

.final-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.site-footer {
  padding: 22px clamp(20px, 5vw, 86px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.site-footer p {
  width: min(100%, var(--max));
  margin: 0 auto;
  font-size: 0.92rem;
}

@media (max-width: 1580px) {
  .deck-nav {
    display: none;
  }
}

@media (max-width: 1180px) {
  .summary-grid,
  .case-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .score-card,
  .score-card.highlight-card {
    grid-column: auto;
  }

  .timeline article:nth-child(2) {
    border-right: 0;
  }

  .timeline article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 880px) {
  .slide {
    min-height: auto;
    padding: 72px 20px;
  }

  .cover-grid,
  .split-layout,
  .hero-message-layout,
  .investment-layout,
  .final-layout,
  .package-header,
  .issue-layout,
  .trust-layout,
  .seo-layout,
  .included-layout,
  .before-after,
  .gap-layout {
    grid-template-columns: 1fr;
  }

  .gap-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .summary-grid,
  .score-grid,
  .persona-grid,
  .case-grid,
  .brand-board,
  .scope-grid,
  .three-column,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline article,
  .timeline article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .timeline article:last-child {
    border-bottom: 0;
  }

  .technical-panel {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9.6vw, 3rem);
  }

  .cover-meta span,
  .proof-row span,
  .environment-grid span,
  .addon-cloud span,
  .touchpoint-map span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .technical-panel {
    min-height: 360px;
  }

  .panel-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  body::before,
  .progress-shell,
  .deck-nav,
  .skip-link,
  script {
    display: none !important;
  }

  .slide,
  .dark-slide,
  .cover-slide,
  .investment-slide {
    min-height: auto;
    display: block;
    padding: 36pt 0;
    color: #000;
    background: #fff;
    border-bottom: 1px solid #aaa;
    break-after: page;
  }

  .slide-frame {
    width: 100%;
  }

  h1 {
    font-size: 38pt;
  }

  h2 {
    font-size: 28pt;
  }

  h3,
  p,
  li,
  .metric-card p,
  .score-card p,
  .persona-grid p,
  .case-grid p,
  .brand-board p,
  .scope-grid p,
  .three-column li,
  .trust-card li,
  .seo-layout p,
  .include-card li,
  .issue-list p,
  .quote-flow li,
  .next-checklist li {
    color: #000 !important;
  }

  .technical-panel,
  .metric-card,
  .score-card,
  .persona-grid article,
  .case-grid article,
  .brand-board article,
  .scope-grid article,
  .three-column article,
  .trust-card,
  .seo-layout article,
  .include-card,
  .gap-card,
  .position-card,
  .hero-mock,
  .quote-flow,
  .price-card,
  .next-checklist,
  .statement-band,
  .statement-card,
  .message-card {
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  a {
    text-decoration: none;
  }
}
