:root {
  color-scheme: dark;
  --ink: #06131c;
  --navy: #0f2230;
  --navy-2: #143447;
  --teal: #1c8fa3;
  --orange: #ff6a2e;
  --white: #f7f9fc;
  --muted: rgba(247, 249, 252, 0.86);
  --muted-soft: rgba(247, 249, 252, 0.72);
  --soft: #f7f9fc;
  --soft-2: #edf4f6;
  --soft-text: #263f4e;
  --soft-text-muted: #4b6170;
  --line: rgba(247, 249, 252, 0.16);
  --dark-line: rgba(7, 19, 28, 0.13);
  --radius: 8px;
  --max: 1240px;
  --shadow: 0 28px 90px rgba(4, 17, 26, 0.3);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(255, 106, 46, 0.75);
  outline-offset: 3px;
}

.js-enabled [data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease),
    filter 760ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js-enabled [data-animate="scale"] {
  filter: saturate(0.92);
  transform: translateY(24px) scale(0.975);
}

.js-enabled [data-animate].is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 16px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 19, 28, 0.84);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  padding: 10px;
  backdrop-filter: blur(20px);
  transform: translateZ(0);
  transition:
    border-color 240ms var(--ease),
    box-shadow 240ms var(--ease),
    background 240ms var(--ease),
    transform 240ms var(--ease);
}

.site-header.is-scrolled {
  border-color: rgba(247, 249, 252, 0.22);
  background: rgba(6, 19, 28, 0.92);
  box-shadow:
    0 22px 76px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 46, 0.44);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.brand-copy strong,
.brand-copy small {
  display: block;
  line-height: 1.08;
}

.brand-copy strong {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 900;
}

.brand-copy small {
  color: var(--muted-soft);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.site-nav .nav-link,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
  padding: 10px 10px;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.site-nav a:hover,
.site-nav .nav-link:hover,
.menu-toggle:hover {
  background: rgba(247, 249, 252, 0.1);
  color: var(--white);
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  border: 1px solid rgba(255, 106, 46, 0.38);
  background: rgba(255, 106, 46, 0.1);
  color: var(--white);
}

.nav-group {
  position: relative;
}

.nav-menu-button::after {
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-group.is-open .nav-menu-button::after,
.nav-group:focus-within .nav-menu-button::after,
.nav-group:hover .nav-menu-button::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  width: 370px;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background: rgba(6, 19, 28, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
  backdrop-filter: blur(18px);
}

.nav-dropdown a {
  position: relative;
  display: grid;
  justify-content: start;
  min-height: auto;
  padding: 13px;
  text-align: left;
}

.nav-dropdown a:hover {
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 106, 46, 0.16), transparent 34%),
    rgba(247, 249, 252, 0.08);
}

.nav-dropdown span {
  color: var(--white);
  font-weight: 900;
}

.nav-dropdown small {
  color: var(--muted-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.menu-toggle {
  display: none;
}

.hero-section,
.profile-section,
.solutions-section,
.about-section,
.experience-section,
.outcome-section,
.diagnostic-section,
.resource-section,
.faq-section,
.final-cta,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hero-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.82fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100svh - 88px);
  padding: 82px 0 76px;
}

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

.hero-section::before {
  top: -120px;
  left: 50%;
  bottom: 0;
  z-index: -2;
  width: 100vw;
  background:
    radial-gradient(ellipse at 72% 10%, rgba(28, 143, 163, 0.22), transparent 42%),
    linear-gradient(180deg, var(--navy), #07131c 100%);
  transform: translateX(-50%);
}

.hero-section::after {
  top: -120px;
  left: 50%;
  bottom: 0;
  z-index: -1;
  width: 100vw;
  background-image:
    linear-gradient(rgba(247, 249, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 249, 252, 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  transform: translateX(-50%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: rgba(247, 249, 252, 0.9);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: rgba(6, 19, 28, 0.74);
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  content: "";
}

h1,
h2,
h3,
p,
summary,
strong,
span,
small {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  max-width: 840px;
  color: var(--white);
  font-size: 4.2rem;
  font-weight: 900;
}

h2 {
  color: inherit;
  font-size: 3rem;
  font-weight: 880;
}

h3 {
  color: inherit;
  font-size: 1.28rem;
  font-weight: 850;
  line-height: 1.16;
}

p {
  margin: 0;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 180px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  padding: 13px 20px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #ff6a2e, #ff8a5a);
  color: #190802;
  box-shadow: 0 18px 50px rgba(255, 106, 46, 0.3);
}

.button-primary:hover {
  box-shadow: 0 24px 62px rgba(255, 106, 46, 0.38);
}

.button-secondary {
  border-color: rgba(247, 249, 252, 0.22);
  background: rgba(247, 249, 252, 0.1);
  color: var(--white);
}

.button-secondary.light {
  border-color: rgba(7, 19, 28, 0.18);
  background: rgba(7, 19, 28, 0.045);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(28, 143, 163, 0.48);
  background: rgba(28, 143, 163, 0.17);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-signals span {
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.08);
  color: rgba(247, 249, 252, 0.84);
  font-size: 0.9rem;
  font-weight: 750;
  padding: 8px 10px;
}

.product-stage {
  position: relative;
  min-width: 0;
}

.stage-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(247, 249, 252, 0.13), rgba(247, 249, 252, 0.035)),
    linear-gradient(180deg, rgba(20, 52, 71, 0.94), rgba(7, 19, 28, 0.98));
  box-shadow: var(--shadow);
}

.product-stage.is-visible .stage-shell {
  animation: stageFloat 8s ease-in-out infinite;
}

.stage-shell::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(247, 249, 252, 0.1), transparent 46%);
  content: "";
  opacity: 0;
  transform: translateX(-60%);
}

.product-stage.is-visible .stage-shell::before {
  animation: shellSweep 5.8s ease-in-out 900ms infinite;
}

.stage-topbar {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid rgba(247, 249, 252, 0.12);
  padding: 14px 16px;
}

.stage-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.34);
}

.stage-topbar span:first-child {
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 106, 46, 0.42);
}

.stage-content {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 520px;
}

.stage-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  border-right: 1px solid rgba(247, 249, 252, 0.12);
  padding: 22px 16px;
}

.stage-sidebar img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.09);
  padding: 4px;
}

.stage-sidebar strong {
  color: var(--white);
  font-size: 0.82rem;
}

.stage-sidebar span {
  height: 10px;
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.14);
}

.stage-sidebar span:nth-of-type(2) {
  width: 70%;
}

.stage-main {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.stage-kpis,
.stage-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stage-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stage-kpi,
.stage-flow span {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(247, 249, 252, 0.15);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.09);
  color: rgba(247, 249, 252, 0.92);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 12px 10px;
}

.stage-kpi {
  display: grid;
  gap: 4px;
  isolation: isolate;
  text-decoration: none;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease,
    color 200ms ease;
}

.stage-kpi::before,
.stage-kpi::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.stage-kpi::before {
  z-index: -1;
  background:
    radial-gradient(circle at var(--kpi-x, 50%) var(--kpi-y, 50%), rgba(255, 106, 46, 0.26), transparent 32%),
    linear-gradient(135deg, rgba(28, 143, 163, 0.16), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}

.stage-kpi::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: translateX(-110%);
  transition: transform 440ms ease;
}

.stage-kpi span,
.stage-kpi small {
  position: relative;
  z-index: 1;
  display: block;
}

.stage-kpi small {
  color: rgba(247, 249, 252, 0.58);
  font-size: 0.68rem;
  line-height: 1.15;
}

.stage-kpi:hover,
.stage-kpi:focus-visible,
.stage-kpi.is-active {
  border-color: rgba(255, 106, 46, 0.5);
  background: rgba(255, 106, 46, 0.16);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(255, 106, 46, 0.12);
  color: #fff1eb;
  transform: translateY(-2px);
}

.stage-kpi:hover::before,
.stage-kpi:focus-visible::before,
.stage-kpi.is-active::before {
  opacity: 1;
}

.stage-kpi:hover::after,
.stage-kpi:focus-visible::after,
.stage-kpi.is-active::after {
  transform: translateX(110%);
}

.stage-kpi:focus-visible {
  outline: 2px solid rgba(255, 106, 46, 0.72);
  outline-offset: 3px;
}

.stage-flow span::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  content: "";
  transform: translateX(-110%);
}

.product-stage.is-visible .stage-flow span::after {
  animation: chipSweep 4.2s ease-in-out infinite;
}

.stage-board {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 260px;
  border: 1px solid rgba(247, 249, 252, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(247, 249, 252, 0.06) 1px, transparent 1px),
    rgba(247, 249, 252, 0.05);
  background-size: 100% 32px;
  padding: 18px;
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.stage-board::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--board-x, 72%) var(--board-y, 24%), rgba(255, 106, 46, 0.16), transparent 34%);
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.stage-status {
  position: relative;
  z-index: 1;
  align-self: start;
  margin-bottom: auto;
  border-left: 3px solid var(--orange);
  color: var(--white);
  padding-left: 12px;
  transition: transform 240ms ease;
}

.stage-status strong,
.stage-status span {
  display: block;
}

.stage-status span {
  color: var(--muted-soft);
  font-size: 0.85rem;
}

.stage-insight {
  position: relative;
  z-index: 1;
  align-self: start;
  width: min(100%, 330px);
  margin: 16px 0 14px;
  border: 1px solid rgba(247, 249, 252, 0.13);
  border-radius: var(--radius);
  background: rgba(6, 19, 28, 0.52);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  padding: 12px;
  backdrop-filter: blur(14px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.stage-insight span,
.stage-insight strong {
  display: block;
}

.stage-insight span {
  color: rgba(247, 249, 252, 0.56);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stage-insight strong {
  margin-top: 4px;
  color: rgba(247, 249, 252, 0.92);
  font-size: 0.9rem;
  line-height: 1.24;
}

.product-stage.is-switching .stage-status,
.product-stage.is-switching .stage-insight {
  opacity: 0.35;
  transform: translateY(5px);
}

.product-stage[data-stage-active="automation"] .stage-board {
  --board-x: 30%;
  --board-y: 72%;
  border-color: rgba(28, 143, 163, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(28, 143, 163, 0.05),
    0 22px 48px rgba(28, 143, 163, 0.12);
}

.product-stage[data-stage-active="pilotage"] .stage-board {
  --board-x: 78%;
  --board-y: 34%;
  border-color: rgba(255, 106, 46, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 106, 46, 0.06),
    0 22px 48px rgba(255, 106, 46, 0.1);
}

.stage-line,
.stage-line.short {
  position: relative;
  z-index: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.14);
  margin-bottom: 12px;
}

.stage-line.short {
  width: 62%;
}

.stage-bars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 148px;
}

.stage-bars i {
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--orange), var(--teal));
  box-shadow: 0 18px 28px rgba(28, 143, 163, 0.22);
  transform-origin: bottom;
}

.product-stage.is-visible .stage-bars i {
  animation: barPulse 4.6s ease-in-out infinite;
}

.stage-bars i:nth-child(1) {
  height: 40%;
  animation-delay: 120ms;
}

.stage-bars i:nth-child(2) {
  height: 62%;
  animation-delay: 220ms;
}

.stage-bars i:nth-child(3) {
  height: 48%;
  animation-delay: 320ms;
}

.stage-bars i:nth-child(4) {
  height: 82%;
  animation-delay: 420ms;
}

.stage-bars i:nth-child(5) {
  height: 96%;
  animation-delay: 520ms;
}

.floating-proof {
  position: absolute;
  max-width: 245px;
  border: 1px solid rgba(247, 249, 252, 0.18);
  border-radius: var(--radius);
  background: rgba(6, 19, 28, 0.9);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
  padding: 16px;
  backdrop-filter: blur(14px);
}

.product-stage.is-visible .floating-proof {
  animation: proofFloat 7s ease-in-out infinite;
}

.floating-proof strong,
.floating-proof span {
  display: block;
}

.floating-proof strong {
  color: var(--white);
}

.floating-proof span {
  color: var(--muted);
  font-size: 0.94rem;
}

.proof-a {
  top: 42px;
  left: -24px;
}

.proof-b {
  right: -18px;
  bottom: 34px;
  animation-delay: 700ms;
}

.light-section,
.solutions-section,
.diagnostic-section,
.resource-section {
  color: var(--ink);
}

.profile-section,
.solutions-section,
.about-section,
.experience-section,
.outcome-section,
.diagnostic-section,
.resource-section,
.faq-section,
.final-cta {
  padding: 84px 0;
}

.section-heading {
  max-width: 850px;
}

.section-heading p,
.split-heading > p,
.profile-card p,
.solution-card p,
.outcome-grid p,
.diagnostic-list p,
.resource-copy p,
.faq-list p {
  color: var(--soft-text-muted);
}

.section-heading > p,
.split-heading > p,
.resource-copy > p {
  font-size: 1.06rem;
}

.profile-grid,
.solution-grid,
.outcome-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

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

.profile-card,
.solution-card,
.outcome-grid > div,
.faq-list details {
  display: block;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(7, 19, 28, 0.06);
  padding: 22px;
}

.profile-card,
.solution-card,
.outcome-grid > div {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.profile-card:hover,
.solution-card:hover,
.outcome-grid > div:hover {
  border-color: rgba(28, 143, 163, 0.24);
  box-shadow: 0 24px 55px rgba(7, 19, 28, 0.1);
  transform: translateY(-3px);
}

.profile-card {
  min-height: 260px;
}

.profile-card span,
.solution-card span {
  display: inline-flex;
  margin-bottom: 44px;
  border-radius: 999px;
  background: rgba(255, 106, 46, 0.13);
  color: #8f2f0e;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
}

.profile-card h3,
.solution-card h3 {
  color: var(--ink);
}

.profile-card p,
.solution-card p {
  margin-top: 14px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.72fr;
  gap: 34px;
  align-items: end;
  max-width: none;
}

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

.solution-card {
  min-height: 270px;
}

.solution-card.premium {
  background:
    linear-gradient(145deg, rgba(255, 106, 46, 0.12), rgba(28, 143, 163, 0.12)),
    #ffffff;
}

.solution-card span {
  background: rgba(28, 143, 163, 0.13);
  color: #0b5d6c;
}

.dark-panel {
  display: grid;
  grid-template-columns: 0.78fr minmax(0, 1fr);
  gap: 38px;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.12), rgba(28, 143, 163, 0.1)),
    var(--navy);
  box-shadow: var(--shadow);
  color: var(--white);
  padding: 56px;
}

.about-section {
  align-items: center;
}

.about-copy p,
.experience-copy p,
.experience-steps p,
.ebook-preview p {
  color: var(--muted);
}

.about-copy > p,
.experience-copy > p {
  margin: 22px 0 28px;
  font-size: 1.05rem;
}

.about-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-tile {
  min-height: 180px;
  border: 1px solid rgba(247, 249, 252, 0.15);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.07);
  padding: 20px;
}

.about-tile.large {
  grid-row: span 2;
  min-height: 374px;
  background:
    linear-gradient(180deg, rgba(255, 106, 46, 0.18), rgba(28, 143, 163, 0.08)),
    rgba(247, 249, 252, 0.07);
}

.about-tile span {
  display: inline-flex;
  margin-bottom: 68px;
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.1);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
}

.about-tile strong {
  display: block;
  color: var(--white);
  font-size: 1.24rem;
  line-height: 1.18;
}

.experience-copy {
  align-self: start;
}

.experience-steps {
  display: grid;
  gap: 14px;
}

.experience-steps > div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(247, 249, 252, 0.15);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.075);
  padding: 18px;
}

.experience-steps span {
  display: grid;
  width: 42px;
  height: 42px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 106, 46, 0.2);
  color: #fff0e8;
  font-weight: 900;
}

.experience-steps h3,
.experience-steps p {
  grid-column: 2;
  margin: 0;
}

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

.outcome-grid strong {
  color: #c44a1e;
  font-size: 1.6rem;
}

.diagnostic-panel {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(28, 143, 163, 0.12), rgba(255, 106, 46, 0.1)),
    #ffffff;
  box-shadow: 0 24px 60px rgba(7, 19, 28, 0.08);
  padding: 24px;
}

.diagnostic-score {
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  padding: 22px;
}

.diagnostic-score span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.diagnostic-score strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--orange);
  font-size: 2.5rem;
  line-height: 1;
}

.diagnostic-score p {
  color: var(--muted);
}

.diagnostic-list {
  display: grid;
  gap: 14px;
}

.diagnostic-list > div {
  border-left: 2px solid rgba(28, 143, 163, 0.45);
  padding-left: 14px;
}

.diagnostic-list strong {
  display: block;
  color: var(--ink);
}

.resource-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.ebook-preview {
  min-height: 360px;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255, 106, 46, 0.22), transparent 42%),
    linear-gradient(20deg, rgba(28, 143, 163, 0.2), transparent 48%),
    var(--navy);
  box-shadow: var(--shadow);
  color: var(--white);
  padding: 28px;
}

.ebook-preview img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 52px;
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.1);
  padding: 4px;
}

.ebook-preview span {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.12);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.faq-list details {
  background: #ffffff;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin-top: 12px;
}

.final-cta {
  margin-bottom: 82px;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.18), rgba(28, 143, 163, 0.14)),
    var(--navy);
  box-shadow: var(--shadow);
  color: var(--white);
  text-align: center;
  padding: 60px 34px;
}

.final-cta h2 {
  max-width: 840px;
  margin: 0 auto 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(7, 19, 28, 0.13);
  color: var(--ink);
  padding: 34px 0 46px;
}

.footer-brand .brand-mark {
  background: var(--navy);
}

.footer-brand .brand-copy strong {
  color: var(--ink);
}

.footer-brand .brand-copy small {
  color: var(--soft-text-muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--soft-text);
  font-weight: 850;
}

@keyframes stageFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes proofFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes shellSweep {
  0%,
  34% {
    opacity: 0;
    transform: translateX(-70%);
  }
  48% {
    opacity: 1;
  }
  74%,
  100% {
    opacity: 0;
    transform: translateX(70%);
  }
}

@keyframes chipSweep {
  0%,
  35% {
    transform: translateX(-110%);
  }
  70%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.9);
  }
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 2px;
  }

  .site-nav a,
  .site-nav .nav-link {
    padding-inline: 9px;
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-section,
  .split-heading,
  .dark-panel,
  .diagnostic-panel,
  .resource-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .profile-grid,
  .solution-grid,
  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnostic-panel {
    align-items: stretch;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - 112px);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(6, 19, 28, 0.98);
    padding: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-link {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-group {
    width: 100%;
  }

  .nav-menu-button {
    justify-content: space-between;
  }

  .nav-dropdown {
    position: static;
    display: none;
    width: 100%;
    margin: 6px 0 4px;
    border-color: rgba(247, 249, 252, 0.12);
    background: rgba(247, 249, 252, 0.06);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown,
  .nav-group.is-open .nav-dropdown {
    display: grid;
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero-section,
  .profile-section,
  .solutions-section,
  .about-section,
  .experience-section,
  .outcome-section,
  .diagnostic-section,
  .resource-section,
  .faq-section,
  .final-cta,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    top: 10px;
  }

  .brand-copy small,
  .hero-signals {
    display: none;
  }

  .hero-section {
    gap: 28px;
    padding: 46px 0 50px;
  }

  h1 {
    font-size: 2.52rem;
  }

  h2 {
    font-size: 2.02rem;
  }

  .hero-text,
  .section-heading > p,
  .split-heading > p,
  .resource-copy > p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .stage-content {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 372px;
  }

  .stage-sidebar {
    padding: 16px 12px;
  }

  .stage-main {
    gap: 12px;
    padding: 16px;
  }

  .stage-kpis,
  .stage-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-flow span:nth-child(n + 3) {
    display: none;
  }

  .stage-board {
    min-height: 180px;
  }

  .floating-proof {
    position: static;
    max-width: none;
    margin-top: 10px;
  }

  .profile-section,
  .solutions-section,
  .about-section,
  .experience-section,
  .outcome-section,
  .diagnostic-section,
  .resource-section,
  .faq-section {
    padding: 54px 0;
  }

  .profile-grid,
  .solution-grid,
  .outcome-grid,
  .about-mosaic {
    grid-template-columns: 1fr;
  }

  .profile-card,
  .solution-card {
    min-height: auto;
  }

  .about-tile.large {
    grid-row: auto;
    min-height: 220px;
  }

  .about-tile span {
    margin-bottom: 44px;
  }

  .dark-panel,
  .diagnostic-panel,
  .final-cta {
    padding: 28px;
  }

  .diagnostic-score strong {
    font-size: 2.1rem;
  }

  .experience-steps > div {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand-copy strong {
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.76rem;
  }

  .stage-content {
    grid-template-columns: 1fr;
  }

  .stage-sidebar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-enabled [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* Premium internal pages */
.premium-page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(28, 143, 163, 0.26), transparent 34vw),
    radial-gradient(circle at 84% 18%, rgba(255, 106, 46, 0.2), transparent 30vw),
    linear-gradient(180deg, #06131c 0%, var(--navy) 44%, #f4f8fa 44%, #f7f9fc 100%);
  color: var(--white);
}

.premium-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 249, 252, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 249, 252, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  animation: gridDrift 28s linear infinite;
  mask-image: linear-gradient(to bottom, black 0%, transparent 62%);
}

.premium-page::after {
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 38vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(247, 249, 252, 0.88));
  content: "";
}

body.is-page-loading {
  overflow: hidden;
}

.mbl-page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 106, 46, 0.22), transparent 20rem),
    radial-gradient(circle at 44% 50%, rgba(28, 143, 163, 0.28), transparent 22rem),
    linear-gradient(135deg, #06131c, #0f2230 54%, #07131c);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity 520ms var(--ease),
    transform 720ms var(--ease),
    visibility 520ms var(--ease);
  visibility: hidden;
}

body.is-page-loading .mbl-page-loader {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  visibility: visible;
}

.mbl-page-loader::before {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(247, 249, 252, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 249, 252, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  opacity: 0.72;
  animation: loaderGrid 1.8s linear infinite;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 62%);
}

.mbl-page-loader::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(247, 249, 252, 0.13), transparent 58%);
  content: "";
  transform: translateX(-72%);
  animation: loaderSweep 1.65s var(--ease) infinite;
}

.loader-orbit {
  position: relative;
  display: grid;
  width: min(42vw, 420px);
  aspect-ratio: 1;
  place-items: center;
}

.loader-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 249, 252, 0.1);
  border-top-color: rgba(255, 106, 46, 0.9);
  border-right-color: rgba(28, 143, 163, 0.72);
  border-radius: 999px;
  filter: drop-shadow(0 0 18px rgba(255, 106, 46, 0.2));
  animation: loaderSpin 1.35s linear infinite;
}

.loader-orbit span:nth-child(2) {
  inset: 12%;
  border-top-color: rgba(28, 143, 163, 0.84);
  border-right-color: rgba(255, 106, 46, 0.58);
  animation-direction: reverse;
  animation-duration: 1.85s;
}

.loader-orbit span:nth-child(3) {
  inset: 24%;
  border-top-color: rgba(247, 249, 252, 0.82);
  border-right-color: rgba(255, 106, 46, 0.7);
  animation-duration: 2.2s;
}

.loader-brand {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.loader-brand img {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 106, 46, 0.44);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.08);
  object-fit: contain;
  padding: 4px;
  box-shadow: 0 0 42px rgba(255, 106, 46, 0.26);
}

.loader-brand strong {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 950;
  letter-spacing: 0;
}

.loader-brand small {
  color: rgba(247, 249, 252, 0.72);
  font-size: 0.86rem;
  font-weight: 820;
}

.loader-line {
  position: absolute;
  bottom: max(34px, 7vh);
  left: 50%;
  width: min(280px, 58vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.13);
  transform: translateX(-50%);
}

.loader-line span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  box-shadow: 0 0 22px rgba(255, 106, 46, 0.44);
  animation: loaderLine 1.2s var(--ease) infinite;
}

.premium-page .site-header {
  border-color: rgba(247, 249, 252, 0.18);
  background:
    linear-gradient(135deg, rgba(247, 249, 252, 0.11), rgba(247, 249, 252, 0.035)),
    rgba(6, 19, 28, 0.82);
  box-shadow:
    0 22px 72px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.premium-page .site-header::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(28, 143, 163, 0.26), rgba(255, 106, 46, 0.2), transparent);
  content: "";
  opacity: 0.32;
  filter: blur(10px);
  transform: translateZ(0);
}

.premium-page .site-nav a,
.premium-page .site-nav .nav-link,
.premium-page .menu-toggle {
  position: relative;
  overflow: hidden;
}

.premium-page .site-nav a::after,
.premium-page .nav-menu-button::before {
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--teal), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease);
}

.premium-page .site-nav a:hover::after,
.premium-page .nav-menu-button:hover::before,
.premium-page .site-nav a[aria-current="page"]::after,
.premium-page .nav-group.is-current > .nav-menu-button::before {
  opacity: 1;
  transform: scaleX(1);
}

.premium-page .site-nav a[aria-current="page"],
.premium-page .site-nav .nav-link[aria-expanded="true"],
.premium-page .nav-group.is-current > .nav-link {
  background: rgba(247, 249, 252, 0.12);
  color: var(--white);
}

.premium-page .nav-dropdown {
  border-color: rgba(247, 249, 252, 0.2);
  background:
    linear-gradient(145deg, rgba(20, 52, 71, 0.94), rgba(6, 19, 28, 0.98)),
    rgba(6, 19, 28, 0.98);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 106, 46, 0.04);
}

.premium-main {
  overflow: hidden;
}

.premium-hero,
.section-band,
.proof-strip,
.premium-cta,
.premium-footer,
.article-page {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.premium-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 96px);
  padding: 82px 0 92px;
}

.premium-hero::before {
  position: absolute;
  top: 8%;
  left: 50%;
  z-index: -1;
  width: 68vw;
  height: 38vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 143, 163, 0.26), transparent 64%);
  content: "";
  filter: blur(22px);
  opacity: 0.75;
  transform: translateX(-20%);
  animation: ambientDrift 14s ease-in-out infinite;
}

.premium-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: rgba(247, 249, 252, 0.9);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.premium-kicker::before {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  content: "";
}

.premium-hero h1 {
  max-width: 900px;
  font-size: clamp(2.55rem, 6.2vw, 5.4rem);
  letter-spacing: 0;
  line-height: 0.96;
}

.premium-hero h1 span {
  display: inline;
  background: linear-gradient(110deg, var(--white), #bfe9ef 52%, #ffe0d1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.premium-lead {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(247, 249, 252, 0.76);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.premium-page .button {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease),
    background 240ms var(--ease),
    border-color 240ms var(--ease);
}

.premium-page .button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.22), transparent 38%);
  content: "";
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 240ms var(--ease),
    transform 520ms var(--ease);
}

.premium-page .button::after {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--button-x, 50%) var(--button-y, 50%), rgba(255, 255, 255, 0.34), transparent 32%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}

.premium-page .button:hover {
  transform: translateY(-3px);
}

.premium-page .button:hover::before {
  opacity: 1;
  transform: translateX(110%);
}

.premium-page .button:hover::after {
  opacity: 1;
}

.premium-page .button-secondary {
  background: rgba(247, 249, 252, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.premium-page .button-secondary:hover {
  border-color: rgba(247, 249, 252, 0.34);
  background: rgba(247, 249, 252, 0.14);
  box-shadow: 0 16px 46px rgba(28, 143, 163, 0.22);
}

.premium-visual {
  position: relative;
  min-width: 0;
}

.visual-frame {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(247, 249, 252, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(247, 249, 252, 0.14), rgba(247, 249, 252, 0.03)),
    rgba(6, 19, 28, 0.68);
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
}

.visual-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 19, 28, 0.02), rgba(6, 19, 28, 0.62)),
    radial-gradient(circle at 70% 20%, rgba(255, 106, 46, 0.2), transparent 28%);
  content: "";
}

.visual-frame::after {
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(247, 249, 252, 0.14);
  border-radius: var(--radius);
  content: "";
  pointer-events: none;
}

.visual-frame img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.02);
  transition: transform 900ms var(--ease);
}

.visual-frame:hover img {
  transform: scale(1.07);
}

.visual-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  width: min(330px, calc(100% - 56px));
  border: 1px solid rgba(247, 249, 252, 0.18);
  border-radius: var(--radius);
  background: rgba(6, 19, 28, 0.76);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  padding: 20px;
  backdrop-filter: blur(18px);
}

.visual-card span,
.compact-label {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 106, 46, 0.16);
  color: #ffd8ca;
  font-size: 0.76rem;
  font-weight: 950;
  padding: 6px 9px;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  color: var(--white);
  font-size: 1.34rem;
  line-height: 1.08;
}

.visual-card p {
  margin-top: 10px;
  color: rgba(247, 249, 252, 0.72);
}

.floating-metrics {
  position: absolute;
  top: 34px;
  left: -26px;
  z-index: 4;
  display: grid;
  gap: 8px;
  width: 190px;
}

.floating-metrics span {
  border: 1px solid rgba(247, 249, 252, 0.18);
  border-radius: var(--radius);
  background: rgba(6, 19, 28, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  color: rgba(247, 249, 252, 0.86);
  font-weight: 850;
  padding: 10px 12px;
  backdrop-filter: blur(14px);
}

.floating-metrics strong {
  display: block;
  color: var(--orange);
  font-size: 1.35rem;
}

.section-band {
  position: relative;
  padding: 86px 0;
  color: var(--ink);
}

.section-band.dark {
  color: var(--white);
}

.section-band.dark::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  background:
    radial-gradient(circle at 12% 18%, rgba(28, 143, 163, 0.18), transparent 36%),
    linear-gradient(180deg, #07131c, var(--navy));
  content: "";
  transform: translateX(-50%);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.52fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 820px;
  color: inherit;
}

.section-head p,
.section-copy {
  color: var(--soft-text-muted);
  font-size: 1.05rem;
}

.dark .section-head p,
.dark .section-copy {
  color: rgba(247, 249, 252, 0.74);
}

.premium-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.premium-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(7, 19, 28, 0.11);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(28, 143, 163, 0.12), transparent 28%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(7, 19, 28, 0.07);
  color: var(--ink);
  padding: 24px;
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease),
    border-color 260ms var(--ease),
    background 260ms var(--ease);
  transform-style: preserve-3d;
}

.premium-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.72) 44%, transparent 62%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  transition:
    opacity 260ms var(--ease),
    transform 680ms var(--ease);
}

.premium-card:hover {
  border-color: rgba(28, 143, 163, 0.3);
  box-shadow:
    0 28px 70px rgba(7, 19, 28, 0.12),
    0 0 0 1px rgba(28, 143, 163, 0.08);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
}

.premium-card:hover::before {
  opacity: 0.44;
  transform: translateX(120%);
}

.premium-card.dark-card {
  border-color: rgba(247, 249, 252, 0.16);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 106, 46, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(247, 249, 252, 0.1), rgba(247, 249, 252, 0.04)),
    rgba(20, 52, 71, 0.72);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.23);
  color: var(--white);
}

.premium-card.dark-card p,
.premium-card.dark-card li {
  color: rgba(247, 249, 252, 0.74);
}

.premium-card h3 {
  color: inherit;
}

.premium-card p {
  margin-top: 12px;
  color: var(--soft-text-muted);
}

.premium-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.premium-card li {
  position: relative;
  color: var(--soft-text-muted);
  padding-left: 18px;
}

.premium-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  content: "";
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(28, 143, 163, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.14), rgba(28, 143, 163, 0.14)),
    #f3f8fa;
  color: #0b5d6c;
  font-weight: 950;
}

.dark-card .service-icon {
  border-color: rgba(247, 249, 252, 0.16);
  background: rgba(247, 249, 252, 0.1);
  color: #bfe9ef;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #0b5d6c;
  font-weight: 950;
}

.card-link::after {
  content: ">";
  transition: transform 180ms var(--ease);
}

.premium-card:hover .card-link::after {
  transform: translateX(4px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: -36px;
  border: 1px solid rgba(247, 249, 252, 0.14);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.12);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.24);
}

.proof-strip div {
  min-height: 124px;
  background: rgba(6, 19, 28, 0.82);
  padding: 22px;
}

.proof-strip strong {
  display: block;
  color: var(--orange);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  color: rgba(247, 249, 252, 0.74);
  font-weight: 780;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.62fr);
  gap: 18px;
  align-items: stretch;
}

.story-copy {
  border: 1px solid rgba(7, 19, 28, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(7, 19, 28, 0.07);
  color: var(--ink);
  padding: 34px;
}

.story-copy p {
  margin-top: 18px;
  color: var(--soft-text-muted);
}

.story-image {
  overflow: hidden;
  min-height: 390px;
  border: 1px solid rgba(7, 19, 28, 0.1);
  border-radius: var(--radius);
  background: var(--navy);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.story-image:hover img {
  transform: scale(1.06);
}

.timeline-premium {
  display: grid;
  gap: 12px;
  counter-reset: steps;
}

.timeline-premium li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(7, 19, 28, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 19, 28, 0.06);
  color: var(--ink);
  padding: 18px;
  list-style: none;
  counter-increment: steps;
}

.timeline-premium li::before {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 106, 46, 0.18), rgba(28, 143, 163, 0.16));
  color: #0b5d6c;
  content: counter(steps, decimal-leading-zero);
  font-weight: 950;
}

.timeline-premium strong {
  display: block;
}

.timeline-premium span {
  display: block;
  margin-top: 4px;
  color: var(--soft-text-muted);
}

.staircase-automation {
  --person-left: 16%;
  --person-bottom: 18%;
  --stair-progress-width: 0%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.78fr);
  gap: 34px;
  align-items: stretch;
  width: min(var(--max), calc(100% - 40px));
  margin: -24px auto 34px;
  border: 1px solid rgba(247, 249, 252, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 16%, rgba(28, 143, 163, 0.22), transparent 34%),
    radial-gradient(circle at 20% 82%, rgba(255, 106, 46, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(247, 249, 252, 0.1), rgba(247, 249, 252, 0.035)),
    rgba(6, 19, 28, 0.82);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--white);
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
}

.staircase-automation::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(247, 249, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 249, 252, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  pointer-events: none;
}

.stair-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-width: 0;
}

.stair-copy h2 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 0.98;
}

.stair-copy p:not(.premium-kicker) {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(247, 249, 252, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.stair-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.stair-visual {
  position: relative;
  z-index: 2;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(247, 249, 252, 0.15);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 68% 20%, rgba(255, 106, 46, 0.14), transparent 28%),
    radial-gradient(circle at 38% 70%, rgba(28, 143, 163, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(247, 249, 252, 0.09), rgba(247, 249, 252, 0.025)),
    rgba(7, 19, 28, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 70px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
}

.stair-visual::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 249, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 249, 252, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  opacity: 0.68;
  transform: perspective(700px) rotateX(58deg) translateY(38%);
  transform-origin: bottom;
}

.stair-goal,
.stair-metric {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: 8px;
  background: rgba(6, 19, 28, 0.66);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
  padding: 14px;
  backdrop-filter: blur(16px);
}

.stair-goal {
  top: 24px;
  right: 24px;
  min-width: 172px;
}

.stair-metric-a {
  top: 28px;
  left: 24px;
}

.stair-metric-b {
  right: 28px;
  bottom: 96px;
}

.stair-goal span,
.stair-metric span {
  display: block;
  color: rgba(247, 249, 252, 0.58);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stair-goal strong,
.stair-metric strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1.25rem;
}

.staircase-steps {
  position: absolute;
  inset: 18% 8% 12%;
  z-index: 2;
}

.stair-step {
  position: absolute;
  display: grid;
  width: 30%;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(247, 249, 252, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 249, 252, 0.16), rgba(247, 249, 252, 0.035)),
    rgba(20, 52, 71, 0.56);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: rgba(247, 249, 252, 0.78);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
  transition:
    transform 280ms var(--ease),
    border-color 280ms var(--ease),
    background 280ms var(--ease),
    color 280ms var(--ease),
    box-shadow 280ms var(--ease);
}

.stair-step:nth-child(1) {
  left: 4%;
  bottom: 4%;
}

.stair-step:nth-child(2) {
  left: 20%;
  bottom: 22%;
}

.stair-step:nth-child(3) {
  left: 36%;
  bottom: 40%;
}

.stair-step:nth-child(4) {
  left: 52%;
  bottom: 58%;
}

.stair-step:nth-child(5) {
  left: 68%;
  bottom: 76%;
}

.stair-step.is-active {
  border-color: rgba(255, 106, 46, 0.52);
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.26), rgba(28, 143, 163, 0.16)),
    rgba(20, 52, 71, 0.72);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(255, 106, 46, 0.16);
  color: var(--white);
  transform: translateY(-4px);
}

.stair-person {
  position: absolute;
  left: var(--person-left);
  bottom: var(--person-bottom);
  z-index: 5;
  width: 52px;
  height: 86px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
  transform: translate(-50%, 42%) rotate(var(--person-tilt, 0deg));
  transition:
    left 120ms linear,
    bottom 120ms linear,
    transform 220ms var(--ease);
}

.person-head,
.person-body,
.person-leg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.person-head {
  top: 0;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(7, 19, 28, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 30%, #ffffff, transparent 18%),
    linear-gradient(135deg, #ffe1c9, #ff8a58);
}

.person-body {
  top: 26px;
  width: 28px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1c8fa3, #143447);
  box-shadow: 0 0 22px rgba(28, 143, 163, 0.28);
}

.person-leg {
  top: 58px;
  width: 8px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7f9fc, #b7c9d4);
  transform-origin: top;
}

.person-leg.left {
  margin-left: -7px;
  transform: translateX(-50%) rotate(14deg);
}

.person-leg.right {
  margin-left: 7px;
  transform: translateX(-50%) rotate(-14deg);
}

.staircase-automation.is-moving .person-leg.left {
  transform: translateX(-50%) rotate(-16deg);
}

.staircase-automation.is-moving .person-leg.right {
  transform: translateX(-50%) rotate(18deg);
}

.stair-progress-line {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 4;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.1);
}

.stair-progress-line span {
  display: block;
  width: var(--stair-progress-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  box-shadow: 0 0 22px rgba(255, 106, 46, 0.3);
  transition: width 120ms linear;
}

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

.compare-column {
  overflow: hidden;
  border: 1px solid rgba(7, 19, 28, 0.11);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(7, 19, 28, 0.07);
}

.compare-column header {
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.15), rgba(28, 143, 163, 0.1)),
    #f4f8fa;
  padding: 22px;
}

.compare-column.after header {
  background:
    linear-gradient(135deg, rgba(28, 143, 163, 0.18), rgba(255, 106, 46, 0.1)),
    #f4f8fa;
}

.compare-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 22px;
  list-style: none;
}

.compare-column li {
  color: var(--soft-text-muted);
}

.case-card {
  display: grid;
  min-height: 430px;
  border: 1px solid rgba(7, 19, 28, 0.11);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(7, 19, 28, 0.08);
  color: var(--ink);
  overflow: hidden;
}

.case-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.case-card:hover img {
  transform: scale(1.06);
}

.case-card-body {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.case-metrics span {
  border-radius: var(--radius);
  background: #f2f7f9;
  color: var(--soft-text-muted);
  font-size: 0.82rem;
  font-weight: 820;
  padding: 10px;
}

.case-metrics strong {
  display: block;
  color: #c44a1e;
  font-size: 1.22rem;
}

.premium-cta {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  margin-bottom: 84px;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 10%, rgba(28, 143, 163, 0.26), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(255, 106, 46, 0.18), transparent 30%),
    linear-gradient(135deg, #07131c, var(--navy));
  box-shadow: var(--shadow);
  color: var(--white);
  padding: 54px;
}

.premium-cta::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 249, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 249, 252, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  opacity: 0.55;
}

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

.premium-cta p {
  max-width: 740px;
  margin-top: 14px;
  color: rgba(247, 249, 252, 0.76);
}

.premium-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(7, 19, 28, 0.11);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(7, 19, 28, 0.1);
  color: var(--ink);
  padding: 24px;
}

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

.premium-form label {
  display: grid;
  gap: 7px;
  color: var(--soft-text-muted);
  font-size: 0.92rem;
  font-weight: 820;
}

.premium-form input,
.premium-form select,
.premium-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 19, 28, 0.14);
  border-radius: var(--radius);
  background: #f7fafb;
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
  transition:
    border-color 190ms var(--ease),
    box-shadow 190ms var(--ease),
    background 190ms var(--ease);
}

.premium-form textarea {
  min-height: 124px;
  resize: vertical;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
  border-color: rgba(28, 143, 163, 0.62);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(28, 143, 163, 0.1),
    0 12px 28px rgba(7, 19, 28, 0.08);
}

.form-note,
.form-status {
  color: var(--soft-text-muted);
  font-size: 0.9rem;
}

.form-note a {
  color: #0b5d6c;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 1.4em;
  font-weight: 850;
}

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

.article-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(7, 19, 28, 0.11);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(7, 19, 28, 0.07);
  color: var(--ink);
}

.article-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.article-card div {
  padding: 22px;
}

.article-card p {
  margin-top: 10px;
  color: var(--soft-text-muted);
}

.article-page {
  padding: 76px 0 90px;
  color: var(--ink);
}

.legal-panel {
  max-width: 920px;
  border: 1px solid rgba(7, 19, 28, 0.11);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(7, 19, 28, 0.07);
  padding: 34px;
}

.legal-panel h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.legal-panel h2 {
  margin-top: 30px;
  color: var(--ink);
  font-size: 1.35rem;
}

.legal-panel p,
.legal-panel li {
  color: var(--soft-text-muted);
}

.premium-footer.site-footer {
  display: block;
  border-top: 1px solid rgba(7, 19, 28, 0.1);
  color: var(--ink);
  padding: 0 0 54px;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  border: 1px solid rgba(7, 19, 28, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 250, 0.94)),
    #ffffff;
  box-shadow: 0 20px 64px rgba(7, 19, 28, 0.08);
  padding: 28px;
}

.footer-shell .brand {
  align-items: flex-start;
}

.footer-shell p {
  margin-top: 16px;
  color: var(--soft-text-muted);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column strong {
  color: var(--ink);
}

.footer-column a {
  color: var(--soft-text-muted);
  font-weight: 760;
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.footer-column a:hover {
  color: #0b5d6c;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--soft-text-muted);
  font-size: 0.9rem;
}

.mbl-privacy-footer-link {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0;
}

.mbl-privacy-footer-link:hover {
  color: #0b5d6c;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.mini-nav a {
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.08);
  color: rgba(247, 249, 252, 0.86);
  font-weight: 850;
  padding: 9px 11px;
  transition:
    transform 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease);
}

.mini-nav a:hover {
  border-color: rgba(255, 106, 46, 0.32);
  background: rgba(255, 106, 46, 0.12);
  transform: translateY(-2px);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.logo-row span {
  border: 1px solid rgba(247, 249, 252, 0.13);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.08);
  color: rgba(247, 249, 252, 0.76);
  font-weight: 850;
  padding: 9px 11px;
}

.game-hero .premium-lead {
  max-width: 650px;
}

.game-preview-frame {
  display: grid;
  min-height: 560px;
  place-items: center;
  padding: 42px;
}

.game-preview-frame::before {
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 106, 46, 0.2), transparent 30%),
    radial-gradient(circle at 76% 22%, rgba(28, 143, 163, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(6, 19, 28, 0.08), rgba(6, 19, 28, 0.72));
}

.game-preview-board {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(390px, 100%);
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(28, 143, 163, 0.52), rgba(7, 19, 28, 0.82)),
    rgba(6, 19, 28, 0.88);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 18px;
  transform: rotateX(8deg) rotateZ(-2deg);
}

.game-preview-board span {
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.28), transparent 24%),
    rgba(247, 249, 252, 0.1);
  box-shadow: inset 0 5px 14px rgba(0, 0, 0, 0.24);
}

.game-preview-board span:nth-child(7n + 2),
.game-preview-board span:nth-child(7n + 5),
.game-preview-board span:nth-child(30),
.game-preview-board span:nth-child(31),
.game-preview-board span:nth-child(32),
.game-preview-board span:nth-child(33) {
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.36), transparent 22%),
    linear-gradient(135deg, #ff8a5a, var(--orange));
  box-shadow:
    inset 0 -10px 18px rgba(104, 31, 7, 0.2),
    0 0 22px rgba(255, 106, 46, 0.22);
}

.game-preview-board span:nth-child(18),
.game-preview-board span:nth-child(19),
.game-preview-board span:nth-child(20),
.game-preview-board span:nth-child(21),
.game-preview-board span:nth-child(35),
.game-preview-board span:nth-child(36) {
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.34), transparent 22%),
    linear-gradient(135deg, #62cad7, var(--teal));
  box-shadow:
    inset 0 -10px 18px rgba(4, 58, 68, 0.22),
    0 0 22px rgba(28, 143, 163, 0.24);
}

.game-section {
  padding-top: 48px;
}

.game-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 18px;
  align-items: stretch;
}

.game-panel,
.game-side {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(7, 19, 28, 0.11);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 22px 64px rgba(7, 19, 28, 0.1);
  color: var(--ink);
}

.game-panel::before,
.game-side::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 14%) var(--my, 0%), rgba(28, 143, 163, 0.1), transparent 30%);
  content: "";
  pointer-events: none;
}

.game-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid rgba(7, 19, 28, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.1), rgba(28, 143, 163, 0.1)),
    #f7fafb;
  padding: 14px;
}

.game-mode,
.game-reset {
  min-height: 42px;
  border: 1px solid rgba(7, 19, 28, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 10px 13px;
  transition:
    transform 210ms var(--ease),
    box-shadow 210ms var(--ease),
    border-color 210ms var(--ease),
    background 210ms var(--ease);
}

.game-mode:hover,
.game-reset:hover,
.game-mode.is-active {
  border-color: rgba(255, 106, 46, 0.36);
  background: linear-gradient(135deg, rgba(255, 106, 46, 0.14), rgba(28, 143, 163, 0.1)), #ffffff;
  box-shadow: 0 16px 34px rgba(7, 19, 28, 0.1);
  transform: translateY(-2px);
}

.game-reset {
  margin-left: auto;
}

.game-board-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 18px;
}

#connect4Canvas {
  width: 100%;
  max-height: 72vh;
  aspect-ratio: 7 / 6;
  border: 1px solid rgba(7, 19, 28, 0.12);
  border-radius: var(--radius);
  background: #07131c;
  box-shadow:
    0 28px 74px rgba(7, 19, 28, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  touch-action: manipulation;
}

.game-status {
  min-height: 1.5em;
  border-left: 3px solid var(--orange);
  color: var(--soft-text);
  font-weight: 880;
  padding-left: 12px;
}

.game-side {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
}

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

.game-side p {
  color: var(--soft-text-muted);
}

.game-stats {
  display: grid;
  gap: 10px;
}

.game-stats div,
.score-card {
  border: 1px solid rgba(7, 19, 28, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(28, 143, 163, 0.09), rgba(255, 106, 46, 0.08)),
    #f7fafb;
  padding: 14px;
}

.game-stats strong,
.game-stats span,
.score-card strong,
.score-card span {
  display: block;
}

.game-stats strong,
.score-card strong {
  color: #0b5d6c;
  font-size: 1.2rem;
}

.game-stats span,
.score-card span,
.game-tip {
  color: var(--soft-text-muted);
  font-size: 0.92rem;
}

.game-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.score-card {
  position: relative;
  overflow: hidden;
  min-height: 92px;
}

.score-card::after {
  position: absolute;
  inset: auto 12px 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  content: "";
  opacity: 0.74;
}

.score-card.orange strong {
  color: #c44a1e;
}

.score-card.teal strong {
  color: #0b5d6c;
}

.score-card strong {
  margin-top: 8px;
  font-size: 2.15rem;
  line-height: 1;
}

.score-separator {
  display: grid;
  place-items: center;
  color: var(--soft-text-muted);
  font-size: 2rem;
  font-weight: 950;
}

.diagnostic-flow-page {
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 16% 12%, rgba(28, 143, 163, 0.24), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(255, 106, 46, 0.17), transparent 26rem),
    linear-gradient(180deg, #06131c 0%, #0b1d2a 55%, #eef4f7 55%, #f7f9fc 100%);
}

.diagnostic-flow-page::after {
  height: 46vh;
}

.diagnostic-flow-page .site-header {
  top: 8px;
  width: min(1380px, calc(100% - 24px));
  margin-top: 8px;
  padding: 7px;
}

.diagnostic-flow-page .brand-mark {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.diagnostic-flow-page .site-nav a,
.diagnostic-flow-page .site-nav .nav-link,
.diagnostic-flow-page .menu-toggle {
  min-height: 38px;
  padding: 8px 9px;
}

.diagnostic-page-main {
  overflow: visible;
  padding-bottom: 26px;
}

.diagnostic-landing-hero,
.diagnostic-simulator-section,
.diagnostic-content-band {
  width: min(1380px, calc(100% - 24px));
  margin-inline: auto;
}

.diagnostic-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.45fr);
  gap: 34px;
  align-items: center;
  min-height: min(620px, calc(100svh - 92px));
  padding: 72px 0 42px;
}

.diagnostic-landing-hero h1 {
  max-width: 940px;
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  line-height: 0.96;
}

.diagnostic-landing-hero p:not(.premium-kicker) {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(247, 249, 252, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.diagnostic-hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 106, 46, 0.22), transparent 36%),
    linear-gradient(145deg, rgba(247, 249, 252, 0.12), rgba(247, 249, 252, 0.035)),
    rgba(6, 19, 28, 0.72);
  box-shadow: var(--shadow);
  padding: 26px;
}

.diagnostic-hero-panel span {
  display: inline-flex;
  margin-bottom: 54px;
  border-radius: 999px;
  background: rgba(255, 106, 46, 0.16);
  color: #ffd8ca;
  font-size: 0.75rem;
  font-weight: 950;
  padding: 6px 9px;
  text-transform: uppercase;
}

.diagnostic-hero-panel strong {
  display: block;
  color: var(--white);
  font-size: 2.1rem;
  line-height: 1;
}

.diagnostic-hero-panel p {
  margin-top: 12px;
  color: rgba(247, 249, 252, 0.74);
}

.diagnostic-hero-panel div {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.diagnostic-hero-panel i {
  display: block;
  width: 64%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  opacity: 0.8;
}

.diagnostic-hero-panel i:nth-child(2) {
  width: 86%;
}

.diagnostic-hero-panel i:nth-child(3) {
  width: 72%;
}

.diagnostic-simulator-section {
  scroll-margin-top: 86px;
  padding: 14px 0 86px;
}

.diagnostic-simulator-section .diagnostic-workspace {
  height: clamp(620px, calc(100svh - 118px), 760px);
  max-height: 760px;
}

.diagnostic-content-band {
  padding: 84px 0;
  color: var(--ink);
}

.diagnostic-content-band .premium-kicker,
.diagnostic-content-band .section-head h2 {
  color: var(--ink);
}

.diagnostic-content-band .premium-kicker::before {
  background: linear-gradient(90deg, var(--orange), var(--teal));
}

.diagnostic-final-cta .premium-actions {
  justify-content: center;
}

.diagnostic-main {
  width: min(1380px, calc(100% - 24px));
  height: calc(100svh - 74px);
  margin: 8px auto 0;
}

.diagnostic-workspace {
  display: grid;
  grid-template-columns: minmax(210px, 0.25fr) minmax(0, 1fr);
  gap: 10px;
  height: 100%;
  min-height: 0;
}

.diagnostic-intro,
.diagnostic-app {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.diagnostic-intro {
  display: grid;
  align-content: space-between;
  min-height: 0;
  background:
    linear-gradient(155deg, rgba(247, 249, 252, 0.13), rgba(247, 249, 252, 0.03)),
    rgba(6, 19, 28, 0.78);
  padding: clamp(14px, 1.7vw, 22px);
}

.diagnostic-intro::before,
.diagnostic-app::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.diagnostic-intro::before {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 106, 46, 0.18), transparent 32%),
    radial-gradient(circle at 82% 74%, rgba(28, 143, 163, 0.24), transparent 36%);
}

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

.diagnostic-intro h1,
.diagnostic-intro h2 {
  max-width: none;
  font-size: clamp(1.85rem, 2.65vw, 3.05rem);
  line-height: 0.98;
}

.diagnostic-intro p:not(.premium-kicker) {
  margin-top: 12px;
  color: rgba(247, 249, 252, 0.74);
  font-size: clamp(0.88rem, 0.94vw, 0.98rem);
}

.diagnostic-benefits {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.diagnostic-benefits span,
.diagnostic-mini-proof {
  border: 1px solid rgba(247, 249, 252, 0.14);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.08);
  color: rgba(247, 249, 252, 0.74);
  padding: 9px;
}

.diagnostic-benefits strong {
  display: block;
  color: var(--white);
  font-size: 0.96rem;
}

.diagnostic-mini-proof {
  display: flex;
  gap: 10px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.16), rgba(28, 143, 163, 0.14)),
    rgba(247, 249, 252, 0.08);
}

.diagnostic-mini-proof img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  object-fit: contain;
}

.diagnostic-mini-proof strong,
.diagnostic-mini-proof span {
  display: block;
}

.diagnostic-mini-proof span {
  color: rgba(247, 249, 252, 0.72);
  font-size: 0.86rem;
}

.diagnostic-app {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  height: 100%;
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 248, 0.96)),
    #ffffff;
  color: var(--ink);
}

.diagnostic-app::before {
  background:
    radial-gradient(circle at 16% 8%, rgba(28, 143, 163, 0.12), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(255, 106, 46, 0.12), transparent 24%);
}

.diagnostic-app-head,
.diagnostic-app-body {
  position: relative;
  z-index: 1;
}

.diagnostic-app-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  border-bottom: 1px solid rgba(7, 19, 28, 0.08);
  padding: 14px 16px 10px;
}

.diagnostic-step-count,
.diagnostic-live-label {
  margin: 0 0 8px;
  color: #0b5d6c;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagnostic-app-head h2 {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.8vw, 2.8rem);
  line-height: 0.98;
}

.diagnostic-app-head p:not(.diagnostic-step-count) {
  max-width: 760px;
  margin-top: 6px;
  color: var(--soft-text-muted);
  font-size: 0.9rem;
}

.diagnostic-reset {
  min-height: 38px;
  border: 1px solid rgba(7, 19, 28, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--soft-text);
  cursor: pointer;
  font-weight: 900;
  padding: 8px 11px;
  transition:
    transform 190ms var(--ease),
    box-shadow 190ms var(--ease),
    border-color 190ms var(--ease);
}

.diagnostic-reset:hover:not(:disabled) {
  border-color: rgba(255, 106, 46, 0.32);
  box-shadow: 0 12px 28px rgba(7, 19, 28, 0.08);
  transform: translateY(-2px);
}

.diagnostic-reset:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.diagnostic-progress {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 19, 28, 0.08);
}

.diagnostic-progress span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  box-shadow: 0 0 18px rgba(255, 106, 46, 0.28);
  transition: width 360ms var(--ease);
}

.diagnostic-app-body {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr) 228px;
  min-height: 0;
}

.diagnostic-rail,
.diagnostic-live {
  min-height: 0;
  border-color: rgba(7, 19, 28, 0.08);
}

.diagnostic-rail {
  display: grid;
  align-content: start;
  gap: 6px;
  border-right: 1px solid rgba(7, 19, 28, 0.08);
  background: rgba(6, 19, 28, 0.94);
  padding: 10px;
}

.diagnostic-rail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(247, 249, 252, 0.1);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.07);
  color: rgba(247, 249, 252, 0.68);
  cursor: pointer;
  font-weight: 900;
  padding: 6px 7px;
  font-size: 0.84rem;
  text-align: left;
  transition:
    background 190ms var(--ease),
    border-color 190ms var(--ease),
    color 190ms var(--ease),
    transform 190ms var(--ease);
}

.diagnostic-rail-item span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 106, 46, 0.18);
  color: #ffd8ca;
  font-size: 0.82rem;
}

.diagnostic-rail-item.is-active,
.diagnostic-rail-item:hover:not(:disabled) {
  border-color: rgba(255, 106, 46, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.18), rgba(28, 143, 163, 0.12)),
    rgba(247, 249, 252, 0.09);
  color: var(--white);
  transform: translateX(2px);
}

.diagnostic-rail-item.is-done {
  color: rgba(247, 249, 252, 0.84);
}

.diagnostic-rail-item:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.diagnostic-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  padding: 12px;
}

.diagnostic-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 8px;
  align-content: start;
  min-height: 0;
  overflow: hidden;
}

.diagnostic-options.is-dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.diagnostic-option {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 5px 11px;
  align-items: start;
  min-height: 0;
  border: 1px solid rgba(7, 19, 28, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(28, 143, 163, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(7, 19, 28, 0.045);
  color: var(--ink);
  cursor: pointer;
  padding: 9px;
  text-align: left;
  transition:
    transform 210ms var(--ease),
    box-shadow 210ms var(--ease),
    border-color 210ms var(--ease),
    background 210ms var(--ease);
  animation: diagnosticOptionIn 420ms var(--ease) both;
  animation-delay: calc(var(--option-index, 0) * 34ms);
}

.diagnostic-option span {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.14), rgba(28, 143, 163, 0.12)),
    #eef5f7;
  color: #0b5d6c;
  font-size: 0.68rem;
  font-weight: 950;
}

.diagnostic-option strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.12;
}

.diagnostic-option small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--soft-text-muted);
  font-size: 0.76rem;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.diagnostic-option:hover,
.diagnostic-option.is-selected {
  border-color: rgba(255, 106, 46, 0.38);
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 106, 46, 0.12), transparent 40%),
    #ffffff;
  box-shadow:
    0 18px 38px rgba(7, 19, 28, 0.09),
    0 0 0 1px rgba(255, 106, 46, 0.06);
  transform: translateY(-3px);
}

.diagnostic-option.is-selected::after {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 106, 46, 0.48);
  content: "";
  animation: diagnosticSelectPulse 1.4s ease-in-out infinite;
}

.diagnostic-contact-form {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  animation: diagnosticPanelIn 420ms var(--ease) both;
}

.diagnostic-contact-form[hidden] {
  display: none;
}

.diagnostic-contact-form label {
  display: grid;
  gap: 5px;
  color: var(--soft-text-muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.field-grid.compact {
  gap: 10px;
}

.diagnostic-contact-form input,
.diagnostic-contact-form select,
.diagnostic-contact-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(7, 19, 28, 0.13);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  outline: none;
  padding: 8px 10px;
  transition:
    border-color 190ms var(--ease),
    box-shadow 190ms var(--ease),
    background 190ms var(--ease);
}

.diagnostic-contact-form textarea {
  min-height: 64px;
  resize: none;
}

.diagnostic-contact-form .form-note {
  font-size: 0.76rem;
  line-height: 1.28;
}

.diagnostic-contact-form input:focus,
.diagnostic-contact-form select:focus,
.diagnostic-contact-form textarea:focus {
  border-color: rgba(28, 143, 163, 0.62);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28, 143, 163, 0.1);
}

.diagnostic-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}

.diagnostic-actions .button {
  min-height: 40px;
  min-width: 136px;
  padding: 8px 14px;
}

.diagnostic-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.diagnostic-live {
  display: grid;
  align-content: start;
  border-left: 1px solid rgba(7, 19, 28, 0.08);
  background:
    linear-gradient(180deg, rgba(28, 143, 163, 0.06), rgba(255, 106, 46, 0.06)),
    rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.diagnostic-live > strong {
  color: var(--ink);
  font-size: clamp(1.28rem, 2.25vw, 1.9rem);
  line-height: 1;
}

.diagnostic-live-bars {
  display: grid;
  gap: 5px;
  margin: 12px 0;
}

.diagnostic-live-bars span {
  width: 58%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  animation: diagnosticLiveBar 3.4s ease-in-out infinite;
}

.diagnostic-live-bars span:nth-child(2) {
  width: 82%;
  animation-delay: 160ms;
}

.diagnostic-live-bars span:nth-child(3) {
  width: 68%;
  animation-delay: 320ms;
}

.diagnostic-live dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.diagnostic-live dl div {
  border: 1px solid rgba(7, 19, 28, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 8px;
}

.diagnostic-live dt {
  color: #0b5d6c;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagnostic-live dd {
  margin: 4px 0 0;
  color: var(--soft-text);
  font-weight: 840;
  font-size: 0.88rem;
  line-height: 1.24;
}

.diagnostic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.diagnostic-links a {
  color: var(--soft-text-muted);
  font-size: 0.84rem;
  font-weight: 820;
  transition: color 180ms var(--ease);
}

.diagnostic-links a:hover {
  color: #0b5d6c;
}

.noscript-panel {
  width: min(720px, calc(100% - 32px));
  margin: 40px auto;
  border: 1px solid rgba(7, 19, 28, 0.11);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 24px;
}

.noscript-panel h2 {
  color: var(--ink);
}

.mbl-privacy-layer {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 50% 45%, rgba(28, 143, 163, 0.18), transparent 22rem),
    radial-gradient(circle at 62% 58%, rgba(255, 106, 46, 0.14), transparent 20rem),
    rgba(3, 12, 18, 0.42);
  opacity: 0;
  padding: 18px;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition:
    opacity 360ms var(--ease),
    backdrop-filter 360ms var(--ease);
}

.mbl-privacy-layer.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mbl-privacy-floating {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1390;
  min-height: 42px;
  border: 1px solid rgba(247, 249, 252, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 106, 46, 0.18), rgba(28, 143, 163, 0.18)),
    rgba(6, 19, 28, 0.92);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  padding: 10px 13px;
  transition:
    transform 190ms var(--ease),
    border-color 190ms var(--ease),
    box-shadow 190ms var(--ease);
}

.mbl-privacy-floating:hover {
  border-color: rgba(255, 106, 46, 0.45);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(255, 106, 46, 0.14);
  transform: translateY(-2px);
}

.mbl-privacy-floating[hidden] {
  display: none;
}

.mbl-privacy-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(247, 249, 252, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(28, 143, 163, 0.26), transparent 36%),
    radial-gradient(circle at 86% 16%, rgba(255, 106, 46, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(20, 52, 71, 0.98), rgba(6, 19, 28, 0.98));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.48),
    0 0 72px rgba(28, 143, 163, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--white);
  width: min(760px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: clamp(22px, 3vw, 34px);
  backdrop-filter: blur(18px);
  transform: translateY(24px) scale(0.96);
  transition:
    transform 420ms var(--ease),
    box-shadow 420ms var(--ease);
}

.mbl-privacy-layer.is-visible .mbl-privacy-panel {
  transform: translateY(0) scale(1);
}

.mbl-privacy-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent) -120% 0 / 80% 100% no-repeat,
    linear-gradient(rgba(247, 249, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 249, 252, 0.04) 1px, transparent 1px);
  background-size: 80% 100%, 34px 34px, 34px 34px;
  content: "";
  animation: privacySweep 4.8s var(--ease) infinite;
}

.mbl-privacy-orbit {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  opacity: 0.8;
}

.mbl-privacy-orbit span {
  position: absolute;
  border: 1px solid rgba(247, 249, 252, 0.14);
  border-top-color: rgba(255, 106, 46, 0.66);
  border-radius: 999px;
  animation: loaderSpin 8s linear infinite;
}

.mbl-privacy-orbit span:nth-child(1) {
  inset: 0;
}

.mbl-privacy-orbit span:nth-child(2) {
  inset: 12px;
  animation-duration: 5.8s;
  animation-direction: reverse;
}

.mbl-privacy-orbit span:nth-child(3) {
  inset: 25px;
  border-top-color: rgba(28, 143, 163, 0.76);
  animation-duration: 4.2s;
}

.mbl-privacy-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 106, 46, 0.22);
  border-radius: 999px;
  background: rgba(255, 106, 46, 0.12);
  color: #ffd8ca;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.mbl-privacy-panel h2 {
  max-width: 600px;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.85rem);
  line-height: 0.98;
}

.mbl-privacy-panel p:not(.mbl-privacy-kicker) {
  max-width: 630px;
  margin-top: 12px;
  color: rgba(247, 249, 252, 0.74);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
}

.mbl-privacy-choices[hidden] {
  display: none;
}

.mbl-privacy-choices {
  animation: privacyChoicesIn 280ms var(--ease) both;
}

.mbl-privacy-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.mbl-privacy-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(247, 249, 252, 0.13);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(28, 143, 163, 0.11), transparent 48%),
    rgba(247, 249, 252, 0.07);
  padding: 12px;
}

.mbl-privacy-card strong {
  color: var(--white);
  font-size: 0.9rem;
}

.mbl-privacy-card small {
  color: rgba(247, 249, 252, 0.66);
  font-size: 0.74rem;
  line-height: 1.28;
}

.mbl-privacy-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.mbl-privacy-switch strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mbl-privacy-switch input {
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--orange);
}

.mbl-privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.mbl-privacy-actions.is-primary {
  justify-content: flex-start;
}

.mbl-privacy-actions.is-subtle {
  opacity: 0.55;
}

.mbl-privacy-actions .button {
  flex: 0 1 auto;
  min-width: 178px;
  min-height: 46px;
  padding: 11px 16px;
}

.mbl-privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: rgba(247, 249, 252, 0.68);
  font-size: 0.82rem;
  font-weight: 820;
}

.mbl-privacy-links a,
.mbl-privacy-links button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes privacySweep {
  0%,
  28% {
    background-position: -120% 0, 0 0, 0 0;
  }
  70%,
  100% {
    background-position: 220% 0, 0 0, 0 0;
  }
}

@keyframes privacyChoicesIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes premiumFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ambientDrift {
  0%,
  100% {
    opacity: 0.66;
    transform: translateX(-20%) translateY(0) scale(1);
  }
  50% {
    opacity: 0.88;
    transform: translateX(-16%) translateY(-12px) scale(1.04);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes subtlePulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderLine {
  0% {
    transform: translateX(-120%);
  }
  55%,
  100% {
    transform: translateX(220%);
  }
}

@keyframes loaderGrid {
  to {
    transform: translate3d(54px, 54px, 0);
  }
}

@keyframes loaderSweep {
  0%,
  18% {
    transform: translateX(-72%);
  }
  78%,
  100% {
    transform: translateX(72%);
  }
}

@keyframes diagnosticOptionIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes diagnosticPanelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes diagnosticSelectPulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(255, 106, 46, 0.38);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 106, 46, 0.7);
  }
}

@keyframes diagnosticLiveBar {
  0%,
  100% {
    opacity: 0.78;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(0.92);
  }
}

.js-enabled .premium-visual.is-visible .visual-frame {
  animation: premiumFloat 8s ease-in-out infinite;
}

.js-enabled .floating-metrics {
  animation: premiumFloat 7.4s ease-in-out infinite;
}

@media (max-width: 1120px) {
  .premium-hero,
  .section-head,
  .story-panel,
  .game-shell,
  .staircase-automation {
    grid-template-columns: 1fr;
  }

  .premium-hero {
    min-height: auto;
    padding-top: 66px;
  }

  .floating-metrics {
    left: 20px;
  }

  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .diagnostic-flow-page {
    overflow: auto;
  }

  .diagnostic-main {
    height: auto;
    min-height: calc(100svh - 92px);
  }

  .diagnostic-workspace {
    grid-template-columns: 1fr;
    height: auto;
  }

  .diagnostic-intro {
    align-content: start;
  }

  .diagnostic-app {
    min-height: 720px;
  }

  .diagnostic-app-body {
    grid-template-columns: 168px minmax(0, 1fr);
  }

  .diagnostic-live {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid rgba(7, 19, 28, 0.08);
    border-left: 0;
  }

  .diagnostic-live dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .premium-hero,
  .section-band,
  .proof-strip,
  .premium-cta,
  .premium-footer,
  .article-page,
  .staircase-automation {
    width: min(100% - 24px, var(--max));
  }

  .premium-hero {
    gap: 34px;
    padding: 48px 0 68px;
  }

  .premium-actions,
  .premium-actions .button {
    width: 100%;
  }

  .visual-frame,
  .visual-frame img {
    min-height: 420px;
  }

  .game-preview-frame {
    min-height: 420px;
    padding: 28px;
  }

  .staircase-automation {
    gap: 22px;
    margin-top: -10px;
    padding: 18px;
  }

  .stair-visual {
    min-height: 430px;
  }

  .stair-actions,
  .stair-actions .button {
    width: 100%;
  }

  .stair-metric-b {
    right: 16px;
    bottom: 78px;
  }

  .floating-metrics {
    position: static;
    width: auto;
    margin-bottom: 12px;
  }

  .section-band {
    padding: 58px 0;
  }

  .cards-2,
  .cards-3,
  .cards-4,
  .compare-premium,
  .blog-grid,
  .field-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: -18px;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

  .game-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .game-reset {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  #connect4Canvas {
    max-height: none;
  }

  .premium-cta,
  .story-copy,
  .legal-panel {
    padding: 26px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .diagnostic-flow-page .site-header,
  .diagnostic-main {
    width: min(100% - 24px, var(--max));
  }

  .diagnostic-flow-page .site-header {
    top: 9px;
    margin-top: 9px;
  }

  .diagnostic-intro h1,
  .diagnostic-intro h2 {
    font-size: 2.3rem;
  }

  .diagnostic-app {
    min-height: auto;
  }

  .diagnostic-app-head,
  .diagnostic-app-body,
  .diagnostic-stage {
    display: grid;
    grid-template-columns: 1fr;
  }

  .diagnostic-app-body {
    display: grid;
  }

  .diagnostic-rail {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    padding: 12px;
    scrollbar-width: none;
  }

  .diagnostic-rail::-webkit-scrollbar {
    display: none;
  }

  .diagnostic-rail-item {
    flex: 0 0 auto;
  }

  .diagnostic-options,
  .diagnostic-options.is-dense,
  .diagnostic-live dl {
    grid-template-columns: 1fr;
  }

  .diagnostic-option small {
    -webkit-line-clamp: 3;
  }

  .diagnostic-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(247, 249, 252, 0), rgba(247, 249, 252, 0.98) 28%);
    padding-top: 18px;
  }
}

@media (max-width: 520px) {
  .premium-page .site-header {
    width: min(100% - 18px, var(--max));
    margin-top: 9px;
  }

  .premium-hero h1 {
    font-size: 2.35rem;
  }

  .visual-card {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 16px;
  }

  .visual-frame,
  .visual-frame img {
    min-height: 360px;
  }

  .game-preview-frame {
    min-height: 360px;
  }

  .stair-copy h2 {
    font-size: 2.25rem;
  }

  .stair-actions,
  .stair-actions .button {
    width: 100%;
  }

  .stair-visual {
    min-height: 360px;
  }

  .stair-goal,
  .stair-metric {
    min-width: 112px;
    padding: 10px;
  }

  .stair-goal strong,
  .stair-metric strong {
    font-size: 1.05rem;
  }

  .stair-metric-a {
    top: 14px;
    left: 14px;
  }

  .stair-goal {
    top: 14px;
    right: 14px;
  }

  .stair-metric-b {
    display: none;
  }

  .stair-step {
    width: 36%;
    height: 46px;
    font-size: 0.68rem;
  }

  .stair-person {
    width: 42px;
    height: 72px;
  }

  .game-preview-board {
    gap: 7px;
    padding: 12px;
  }

  .game-toolbar,
  .game-board-wrap,
  .game-side {
    padding: 14px;
  }

  .game-scoreboard {
    grid-template-columns: 1fr;
  }

  .score-separator {
    display: none;
  }

  .diagnostic-app-head {
    padding: 16px;
  }

  .diagnostic-app-head h2 {
    font-size: 2rem;
  }

  .diagnostic-stage,
  .diagnostic-live,
  .diagnostic-intro {
    padding: 14px;
  }

  .diagnostic-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .diagnostic-actions .button {
    width: 100%;
  }

  .loader-orbit {
    width: min(76vw, 320px);
  }
}

@media (min-width: 1121px) and (max-height: 760px) {
  .diagnostic-flow-page .site-header {
    top: 5px;
    margin-top: 5px;
    padding: 5px;
  }

  .diagnostic-flow-page .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .diagnostic-flow-page .brand-copy small {
    display: none;
  }

  .diagnostic-flow-page .site-nav a,
  .diagnostic-flow-page .site-nav .nav-link {
    min-height: 32px;
    padding: 6px 8px;
  }

  .diagnostic-main {
    height: calc(100svh - 62px);
    margin-top: 6px;
  }

  .diagnostic-simulator-section .diagnostic-workspace {
    height: calc(100svh - 86px);
    max-height: 700px;
  }

  .diagnostic-intro {
    padding: 14px;
  }

  .diagnostic-intro h1,
  .diagnostic-intro h2 {
    font-size: 2rem;
  }

  .diagnostic-intro p:not(.premium-kicker) {
    font-size: 0.84rem;
  }

  .diagnostic-benefits {
    gap: 5px;
    margin: 8px 0;
  }

  .diagnostic-benefits span {
    padding: 7px;
    font-size: 0.78rem;
  }

  .diagnostic-app-head {
    padding: 10px 12px 8px;
  }

  .diagnostic-app-head h2 {
    font-size: 1.86rem;
  }

  .diagnostic-app-head p:not(.diagnostic-step-count) {
    margin-top: 4px;
    font-size: 0.82rem;
  }

  .diagnostic-app-body {
    grid-template-columns: 146px minmax(0, 1fr) 210px;
  }

  .diagnostic-rail {
    gap: 6px;
    padding: 10px;
  }

  .diagnostic-rail-item {
    min-height: 31px;
    padding: 4px 6px;
    font-size: 0.78rem;
  }

  .diagnostic-rail-item span {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 0.72rem;
  }

  .diagnostic-stage {
    padding: 9px;
  }

  .diagnostic-options {
    gap: 7px;
  }

  .diagnostic-option {
    padding: 7px;
  }

  .diagnostic-option span {
    width: 30px;
    height: 30px;
  }

  .diagnostic-option strong {
    font-size: 0.84rem;
  }

  .diagnostic-option small {
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .diagnostic-live {
    padding: 10px;
  }

  .diagnostic-live dl {
    gap: 7px;
  }

  .diagnostic-live dl div {
    padding: 7px;
  }

  .diagnostic-actions {
    margin-top: 8px;
  }

  .diagnostic-actions .button {
    min-height: 36px;
  }
}

@media (min-width: 1121px) and (max-height: 680px) {
  .diagnostic-flow-page .site-header {
    position: fixed;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .diagnostic-main {
    height: calc(100svh - 16px);
    margin-top: 8px;
  }

  .diagnostic-simulator-section .diagnostic-workspace {
    height: calc(100svh - 26px);
    max-height: none;
  }

  .diagnostic-workspace {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .diagnostic-intro .premium-kicker,
  .diagnostic-mini-proof,
  .diagnostic-intro p:not(.premium-kicker) {
    display: none;
  }

  .diagnostic-intro h1,
  .diagnostic-intro h2 {
    font-size: 1.62rem;
  }

  .diagnostic-benefits {
    margin: 0;
  }

  .diagnostic-app-head h2 {
    font-size: 1.55rem;
  }

  .diagnostic-app-head p:not(.diagnostic-step-count) {
    display: none;
  }

  .diagnostic-live-bars,
  .diagnostic-links {
    display: none;
  }
}

@media (max-width: 1120px) {
  .diagnostic-landing-hero,
  .diagnostic-simulator-section,
  .diagnostic-content-band {
    width: min(100% - 28px, var(--max));
  }

  .diagnostic-landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 58px 0 28px;
  }

  .diagnostic-simulator-section {
    padding: 18px 0 64px;
  }

  .diagnostic-simulator-section .diagnostic-workspace {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 860px) {
  .diagnostic-page-main {
    padding-bottom: 10px;
  }

  .diagnostic-landing-hero,
  .diagnostic-simulator-section,
  .diagnostic-content-band {
    width: min(100% - 18px, var(--max));
  }

  .diagnostic-landing-hero {
    gap: 18px;
    padding: 36px 0 16px;
  }

  .diagnostic-landing-hero h1 {
    font-size: clamp(2.08rem, 11vw, 3.25rem);
  }

  .diagnostic-landing-hero p:not(.premium-kicker) {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .diagnostic-hero-panel {
    display: none;
  }

  .diagnostic-simulator-section {
    padding: 12px 0 44px;
  }

  .diagnostic-simulator-section .diagnostic-workspace {
    display: block;
  }

  .diagnostic-simulator-section .diagnostic-intro {
    display: none;
  }

  .diagnostic-simulator-section .diagnostic-app {
    height: min(760px, calc(100svh - 18px));
    min-height: 620px;
    border-radius: 8px;
    box-shadow:
      0 26px 76px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .diagnostic-app-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px;
  }

  .diagnostic-app-head h2 {
    font-size: clamp(1.42rem, 7vw, 2rem);
  }

  .diagnostic-app-head p:not(.diagnostic-step-count) {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.82rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .diagnostic-step-count {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .diagnostic-reset {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 0.76rem;
  }

  .diagnostic-progress {
    height: 5px;
  }

  .diagnostic-app-body {
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 0;
  }

  .diagnostic-rail {
    grid-row: 1;
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 19, 28, 0.08);
    padding: 8px;
  }

  .diagnostic-rail-item {
    justify-content: center;
    min-height: 28px;
    gap: 0;
    padding: 3px;
    font-size: 0;
  }

  .diagnostic-rail-item span {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    font-size: 0.68rem;
  }

  .diagnostic-stage {
    grid-row: 2;
    grid-column: 1;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    padding: 10px;
  }

  .diagnostic-options,
  .diagnostic-options.is-dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(42px, 1fr);
    gap: 7px;
    align-content: start;
    align-items: stretch;
  }

  .diagnostic-option {
    grid-template-columns: 1fr;
    gap: 2px;
    align-content: center;
    padding: 8px;
  }

  .diagnostic-option span {
    width: max-content;
    height: auto;
    grid-row: auto;
    padding: 3px 6px;
    font-size: 0.58rem;
  }

  .diagnostic-option strong {
    font-size: 0.84rem;
  }

  .diagnostic-option small {
    display: none;
  }

  .diagnostic-option.is-selected::after {
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
  }

  .diagnostic-contact-form {
    gap: 7px;
  }

  .diagnostic-contact-form input,
  .diagnostic-contact-form select,
  .diagnostic-contact-form textarea {
    min-height: 38px;
    padding: 8px 10px;
  }

  .diagnostic-contact-form textarea {
    min-height: 58px;
  }

  .diagnostic-actions {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
    background: transparent;
    padding-top: 0;
  }

  .diagnostic-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 40px;
  }

  .diagnostic-live {
    grid-row: 3;
    grid-column: 1;
    display: block;
    border-top: 1px solid rgba(7, 19, 28, 0.08);
    border-left: 0;
    padding: 8px 10px;
  }

  .diagnostic-live-label,
  .diagnostic-live-bars,
  .diagnostic-links {
    display: none;
  }

  .diagnostic-live > strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
  }

  .diagnostic-live dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .diagnostic-live dl div {
    padding: 6px;
  }

  .diagnostic-live dt {
    font-size: 0.56rem;
  }

  .diagnostic-live dd {
    margin-top: 2px;
    font-size: 0.72rem;
    line-height: 1.12;
  }

  .diagnostic-content-band {
    padding: 54px 0;
  }

  .diagnostic-final-cta {
    margin-bottom: 42px;
  }

  .mbl-privacy-layer {
    place-items: end center;
    padding: 9px;
  }

  .mbl-privacy-floating {
    right: 9px;
    bottom: 9px;
  }

  .mbl-privacy-panel {
    width: 100%;
    max-height: calc(100svh - 18px);
    padding: 14px;
  }

  .mbl-privacy-orbit {
    display: none;
  }

  .mbl-privacy-options {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .mbl-privacy-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 9px;
  }

  .mbl-privacy-card small {
    display: none;
  }

  .mbl-privacy-actions,
  .mbl-privacy-actions.is-primary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mbl-privacy-actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .diagnostic-simulator-section .diagnostic-app {
    height: min(720px, calc(100svh - 14px));
    min-height: 580px;
  }

  .diagnostic-app-head {
    padding: 10px;
  }

  .diagnostic-app-head h2 {
    font-size: 1.34rem;
  }

  .diagnostic-options,
  .diagnostic-options.is-dense {
    gap: 6px;
  }

  .diagnostic-option {
    padding: 7px;
  }

  .diagnostic-option strong {
    font-size: 0.78rem;
  }

  .diagnostic-live dl div:nth-child(n + 3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled .premium-visual.is-visible .visual-frame,
  .js-enabled .floating-metrics,
  .mbl-page-loader::before,
  .mbl-page-loader::after,
  .loader-orbit span,
  .loader-line span,
  .diagnostic-option,
  .diagnostic-option.is-selected::after,
  .diagnostic-contact-form,
  .diagnostic-live-bars span {
    animation: none;
  }
}
