:root {
  color-scheme: dark;
  --bg: #080b0d;
  --bg-2: #10161a;
  --panel: rgba(13, 18, 22, 0.72);
  --line: rgba(214, 227, 231, 0.16);
  --line-strong: rgba(225, 238, 241, 0.28);
  --text: #f2f7f7;
  --muted: #9aa9aa;
  --soft: #d5e2df;
  --accent: #c7ff4f;
  --accent-2: #67f7ff;
  --danger: #ff7b7b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --page-x: clamp(18px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(199, 255, 79, 0.28);
  color: var(--text);
}

.site-header {
  position: fixed;
  top: 14px;
  left: var(--page-x);
  right: var(--page-x);
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 10px 10px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 10, 12, 0.68);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.site-header.is-scrolled {
  background: rgba(7, 10, 12, 0.88);
  border-color: rgba(199, 255, 79, 0.2);
}

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

.brand__mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(199, 255, 79, 0.56);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, rgba(199, 255, 79, 0.9) 48%, rgba(199, 255, 79, 0.9) 52%, transparent 53%),
    radial-gradient(circle at 50% 50%, rgba(103, 247, 255, 0.5), transparent 48%),
    #11181c;
  box-shadow: 0 0 24px rgba(199, 255, 79, 0.2);
}

.brand__name,
.brand__caption {
  display: block;
  line-height: 1;
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0;
}

.brand__caption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(242, 247, 247, 0.78);
  font-size: 14px;
}

.nav a,
.header-action {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(199, 255, 79, 0.34);
  border-radius: var(--radius);
  background: rgba(199, 255, 79, 0.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.header-action:hover,
.header-action:focus-visible {
  background: rgba(199, 255, 79, 0.16);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(103, 247, 255, 0.05), transparent 32%),
    linear-gradient(180deg, #080b0d, #11181c);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  min-width: 0;
}

.section-heading h2,
.booking__copy h2 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.booking__copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.section-heading--center {
  margin: 0 auto 34px;
  text-align: center;
}

.hero {
  position: relative;
  min-height: 94svh;
  padding: 148px var(--page-x) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 42px;
  overflow: hidden;
}

.hero__media,
.hero__media img,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  background:
    radial-gradient(circle at 72% 48%, rgba(199, 255, 79, 0.14), transparent 18%),
    linear-gradient(90deg, rgba(5, 7, 8, 0.9), rgba(5, 7, 8, 0.42) 46%, rgba(5, 7, 8, 0.65)),
    linear-gradient(180deg, rgba(5, 7, 8, 0.22), #080b0d 100%);
}

.hero__content,
.diagnostic-panel {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero__content {
  max-width: 850px;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero__lead {
  max-width: 620px;
  margin: 28px 0 30px;
  color: rgba(242, 247, 247, 0.78);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.55;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-action {
  padding: 0 24px;
  border: 1px solid rgba(199, 255, 79, 0.75);
  background: var(--accent);
  color: #07100a;
  box-shadow: 0 14px 48px rgba(199, 255, 79, 0.2);
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  transform: translateY(-2px);
}

.primary-action:hover,
.primary-action:focus-visible {
  box-shadow: 0 18px 60px rgba(199, 255, 79, 0.28);
}

.secondary-action {
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: rgba(199, 255, 79, 0.5);
  background: rgba(199, 255, 79, 0.08);
}

.diagnostic-panel {
  align-self: center;
  width: min(100%, 430px);
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(229, 245, 248, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 17, 21, 0.78), rgba(10, 17, 21, 0.44));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.diagnostic-panel__top {
  display: flex;
  justify-content: space-between;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.score {
  margin: 34px 0 22px;
}

.score__label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.score strong {
  display: block;
  margin-top: 4px;
  font-size: 78px;
  line-height: 0.95;
  letter-spacing: 0;
}

.score__bar {
  display: block;
  height: 6px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.score__bar span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.diagnostic-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.diagnostic-list div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.diagnostic-list dt {
  color: var(--muted);
  font-size: 12px;
}

.diagnostic-list dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 700;
}

.scan-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 62%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(199, 255, 79, 0.8), transparent);
  filter: drop-shadow(0 0 16px rgba(199, 255, 79, 0.6));
  animation: scan 4.8s ease-in-out infinite;
}

.probe {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(199, 255, 79, 0.08), 0 0 28px rgba(199, 255, 79, 0.5);
}

.probe--hood {
  left: 58%;
  top: 52%;
}

.probe--light {
  left: 75%;
  top: 44%;
}

.probe--edge {
  left: 67%;
  top: 68%;
}

@keyframes scan {
  0%,
  100% {
    transform: translateX(-15vw);
    opacity: 0.1;
  }
  18%,
  82% {
    opacity: 1;
  }
  50% {
    transform: translateX(18vw);
  }
}

.risk-section,
.compare-section,
.protocol-section {
  padding: 112px var(--page-x);
  background: #f3f6f2;
  color: #101518;
}

.risk-section .eyebrow,
.compare-section .eyebrow,
.protocol-section .eyebrow {
  color: #465b13;
}

.risk-section .section-heading p,
.compare-section .section-heading p,
.protocol-section .section-heading p {
  color: #5c6868;
}

.risk-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 18px;
  margin-top: 42px;
}

.risk-story {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #11181c;
  box-shadow: 0 26px 70px rgba(16, 21, 24, 0.16);
}

.risk-story--large {
  min-height: 560px;
  grid-row: span 2;
}

.risk-story--tall {
  min-height: 340px;
}

.risk-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.risk-story:hover img,
.risk-story:focus-within img {
  transform: scale(1.04);
}

.risk-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(4, 7, 9, 0.86));
}

.risk-story__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: var(--text);
}

.risk-story__body span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.risk-story h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.risk-story p {
  max-width: 520px;
  margin: 14px 0 14px;
  color: rgba(242, 247, 247, 0.72);
  line-height: 1.55;
}

.risk-story strong {
  color: var(--text);
  font-size: 15px;
}

.selector-section {
  padding: 112px var(--page-x);
}

.selector-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.selector-console {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.scenario-tab,
.filter-button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(242, 247, 247, 0.75);
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.scenario-tab:hover,
.scenario-tab:focus-visible,
.filter-button:hover,
.filter-button:focus-visible {
  border-color: rgba(199, 255, 79, 0.48);
  color: var(--text);
}

.scenario-tab.is-active,
.filter-button.is-active {
  border-color: rgba(199, 255, 79, 0.68);
  background: rgba(199, 255, 79, 0.12);
  color: var(--accent);
}

.recommendation {
  min-width: 0;
  margin-top: 12px;
  padding: clamp(22px, 4vw, 42px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(199, 255, 79, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(13, 20, 25, 0.96), rgba(9, 13, 16, 0.96));
}

.recommendation__label {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.recommendation h3 {
  margin: 8px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.recommendation p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(242, 247, 247, 0.74);
  font-size: 18px;
  line-height: 1.6;
}

.recommendation ul,
.booking__copy ul {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.recommendation li,
.booking__copy li {
  position: relative;
  padding-left: 22px;
  color: rgba(242, 247, 247, 0.8);
}

.recommendation li::before,
.booking__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(199, 255, 79, 0.48);
}

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

.recommendation__meta span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.recommendation__meta b {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 22px;
}

.compare-section {
  padding-top: 104px;
}

.compare {
  position: relative;
  max-width: 1180px;
  height: clamp(380px, 62vw, 720px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: #101518;
  box-shadow: 0 30px 90px rgba(16, 21, 24, 0.24);
}

.compare__image,
.compare__after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare__image {
  object-fit: cover;
}

.compare__after {
  overflow: hidden;
  clip-path: inset(0 0 0 54%);
}

.compare__after .compare__image {
  position: absolute;
}

.compare__range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54%;
  z-index: 5;
  width: 2px;
  background: rgba(199, 255, 79, 0.9);
  box-shadow: 0 0 28px rgba(199, 255, 79, 0.5);
  pointer-events: none;
}

.compare__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(199, 255, 79, 0.8);
  border-radius: 50%;
  background: rgba(8, 11, 13, 0.78);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.compare__handle span::before,
.compare__handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.compare__handle span::before {
  left: 13px;
  transform: translateY(-50%) rotate(-45deg);
}

.compare__handle span::after {
  right: 13px;
  transform: translateY(-50%) rotate(135deg);
}

.compare__tag {
  position: absolute;
  z-index: 4;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 10, 12, 0.58);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.compare__tag--before {
  left: 18px;
}

.compare__tag--after {
  right: 18px;
}

.cases-section {
  padding: 112px var(--page-x);
}

.cases-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
}

.case-list {
  display: grid;
  gap: 18px;
}

.case-strip {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.case-strip.is-hidden {
  display: none;
}

.case-strip:hover {
  border-color: rgba(199, 255, 79, 0.28);
  transform: translateY(-2px);
}

.case-strip--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.case-strip--reverse img {
  grid-column: 2;
}

.case-strip--reverse .case-strip__content {
  grid-column: 1;
  grid-row: 1;
}

.case-strip img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.case-strip__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 52px);
}

.case-strip__content > p {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-strip h3 {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1;
}

.case-strip dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.case-strip dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.case-strip dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-strip dd {
  margin: 0;
  color: rgba(242, 247, 247, 0.78);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tags span {
  padding: 7px 10px;
  border: 1px solid rgba(199, 255, 79, 0.22);
  border-radius: var(--radius);
  background: rgba(199, 255, 79, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.protocol-section {
  background:
    linear-gradient(90deg, rgba(16, 21, 24, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #f6f8f4, #e8eeea);
  background-size: 84px 84px, auto;
}

.protocol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(16, 21, 24, 0.16);
  border-left: 1px solid rgba(16, 21, 24, 0.16);
}

.protocol li {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid rgba(16, 21, 24, 0.16);
  border-bottom: 1px solid rgba(16, 21, 24, 0.16);
  background: rgba(255, 255, 255, 0.38);
}

.protocol span {
  display: block;
  color: #101518;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 800;
}

.protocol p {
  margin: 90px 0 0;
  color: #586465;
  line-height: 1.55;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
  padding: 112px var(--page-x);
}

.booking__copy {
  position: sticky;
  top: 118px;
  min-width: 0;
}

.booking-form {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(103, 247, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.booking-form label {
  display: grid;
  gap: 8px;
}

.booking-form span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 8, 10, 0.58);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: rgba(199, 255, 79, 0.62);
  background: rgba(4, 8, 10, 0.78);
  box-shadow: 0 0 0 4px rgba(199, 255, 79, 0.08);
}

.booking-form label.has-error input,
.booking-form label.has-error select,
.booking-form label.has-error textarea {
  border-color: rgba(255, 123, 123, 0.76);
}

.field-error {
  min-height: 16px;
  color: var(--danger);
  font-size: 12px;
}

.booking-form__wide {
  grid-column: 1 / -1;
}

.booking-form .primary-action {
  width: 100%;
  border: 0;
}

.form-success {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(199, 255, 79, 0.32);
  border-radius: var(--radius);
  background: rgba(199, 255, 79, 0.1);
  color: var(--soft);
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: fixed;
    top: 88px;
    left: var(--page-x);
    right: var(--page-x);
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(7, 10, 12, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 15px;
    border-radius: var(--radius);
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .selector-grid,
  .booking {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: end;
    gap: 28px;
  }

  .diagnostic-panel {
    justify-self: start;
    align-self: end;
  }

  .risk-layout {
    grid-template-columns: 1fr;
  }

  .risk-story--large,
  .risk-story,
  .risk-story--tall {
    min-height: 420px;
    grid-row: auto;
  }

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

  .cases-head {
    display: grid;
  }

  .case-filters {
    justify-content: flex-start;
  }

  .case-strip,
  .case-strip--reverse {
    grid-template-columns: 1fr;
  }

  .case-strip--reverse img,
  .case-strip--reverse .case-strip__content {
    grid-column: auto;
    grid-row: auto;
  }

  .case-strip img {
    min-height: 340px;
  }

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

  .booking__copy {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --page-x: 16px;
  }

  .site-header {
    top: 8px;
    min-height: 58px;
    padding-left: 12px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand__caption,
  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 34px;
  }

  .hero__media img {
    object-position: 62% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(5, 7, 8, 0.42), rgba(5, 7, 8, 0.74) 44%, #080b0d 100%),
      linear-gradient(90deg, rgba(5, 7, 8, 0.72), rgba(5, 7, 8, 0.42));
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 52px);
    line-height: 0.95;
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .diagnostic-panel {
    width: 100%;
    padding: 16px;
  }

  .score {
    margin: 18px 0 14px;
  }

  .score strong {
    font-size: 48px;
  }

  .score__bar {
    margin-top: 12px;
  }

  .diagnostic-list {
    gap: 8px;
  }

  .diagnostic-list div {
    padding: 10px 12px;
  }

  .probe {
    display: none;
  }

  .risk-section,
  .selector-section,
  .compare-section,
  .cases-section,
  .protocol-section,
  .booking {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .section-heading h2,
  .booking__copy h2 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.02;
  }

  .risk-layout {
    margin-top: 28px;
  }

  .risk-story--large,
  .risk-story,
  .risk-story--tall {
    min-height: 390px;
  }

  .risk-story__body {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .scenario-tabs,
  .recommendation__meta,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .scenario-tab {
    justify-content: flex-start;
    padding: 0 14px;
    text-align: left;
  }

  .recommendation h3 {
    font-size: 38px;
  }

  .compare {
    height: 420px;
  }

  .compare__image {
    object-position: center;
  }

  .case-strip {
    min-height: 0;
  }

  .case-strip img {
    min-height: 260px;
  }

  .case-strip__content {
    padding: 22px;
  }

  .case-strip dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .protocol {
    grid-template-columns: 1fr;
  }

  .protocol li {
    min-height: 190px;
  }

  .protocol p {
    margin-top: 42px;
  }
}

@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;
  }
}
