:root {
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe3ef;
  --soft: #f5f8fc;
  --panel: #ffffff;
  --blue: #0b74f1;
  --violet: #6f5cff;
  --green: #16a35f;
  --navy: #101b36;
  --amber: #f8c66b;
  --page-max: 1480px;
  --page-gutter: clamp(14px, 3vw, 28px);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef4fb 0%, #fbfcff 360px, #eef4fb 100%);
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--violet), #8dffbd);
  box-shadow: 0 0 18px rgba(11, 116, 241, .28);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes chart-rise {
  from { transform: scaleY(.25); opacity: .45; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 95, .22); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 95, 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible,
.is-visible {
  animation: reveal-up .7s cubic-bezier(.2, .7, .2, 1) both;
}

main {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
  margin: 18px auto 0;
  display: grid;
  gap: 22px;
}

main.legal-page {
  display: block;
  max-width: 920px;
  margin: 24px auto;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(219, 227, 239, .86);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(16, 27, 54, .1);
}

.legal-page h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.04;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.legal-page p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.68;
}

.legal-page a {
  color: var(--blue);
  font-weight: 800;
}

.legal-consent-button,
.footer-link-button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.legal-consent-button {
  margin-top: 16px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(11, 116, 241, .18);
}

.legal-back {
  display: inline-flex;
  margin-bottom: 28px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(219, 227, 239, .86);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(16, 27, 54, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  transition: transform .18s ease;
}

.brand img { width: 34px; height: 34px; }

.brand:hover {
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #42526e;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a { min-height: 32px; display: inline-flex; align-items: center; }

.site-nav .nav-sub {
  display: none;
}

.site-nav a,
.footer-column a,
.footer-link-button {
  transition: color .18s ease, transform .18s ease;
}

.site-nav a:hover,
.footer-column a:hover,
.footer-link-button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.header-cta,
.primary-button {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(11, 116, 241, .22);
}

.secondary-button {
  background: #fff;
  color: var(--blue);
  border-color: var(--line);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11, 116, 241, .2);
}

.hero {
  --spotlight-x: 74%;
  --spotlight-y: 24%;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
  min-height: min(760px, calc(100vh - 112px));
  padding: clamp(38px, 7vw, 92px) clamp(18px, 4vw, 56px) 44px;
  border: 1px solid rgba(219, 227, 239, .86);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(16, 27, 54, .1);
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(111, 92, 255, .16), transparent 22rem),
    linear-gradient(145deg, rgba(245, 248, 252, .96), rgba(255, 255, 255, .86) 42%, rgba(234, 243, 255, .72)),
    url("assets/brainapp-mark.png") right 8vw top 8vh / 320px auto no-repeat;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: .92;
  letter-spacing: 0;
}

h2 { letter-spacing: 0; }

.lead {
  max-width: 650px;
  color: #35415b;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.platform-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid rgba(219, 227, 239, .9);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .78);
  color: #42526e;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(16, 27, 54, .06);
}

.platform-strip span:first-child {
  border-color: rgba(22, 163, 95, .24);
  background: #f0fdf4;
  color: #166534;
}

.platform-strip i {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.platform-strip span:first-child i {
  background: #16a35f;
  color: #fff;
}

.platform-strip strong {
  color: var(--ink);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 0;
  max-width: 600px;
}

.hero-metrics div {
  border-left: 3px solid var(--blue);
  padding-left: 14px;
}

.hero-metrics dt {
  font-size: 24px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-shot {
  position: relative;
  min-height: 560px;
}

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

.product-shot::before {
  inset: 38px -10px auto 28%;
  height: 210px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 24% 48%, rgba(111, 92, 255, .22), transparent 34%),
    radial-gradient(circle at 72% 34%, rgba(11, 116, 241, .18), transparent 42%);
  filter: blur(28px);
}

.product-shot::after {
  right: 7%;
  top: 44px;
  width: 118px;
  height: 118px;
  border: 20px solid rgba(11, 116, 241, .08);
  transform: rotate(45deg);
}

.real-product-shot {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 0;
}

.real-product-shot::before {
  inset: 20px -6px auto 14%;
  height: 260px;
}

.real-product-shot::after {
  top: 20px;
  right: 4%;
}

.hero-real-screen {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(16, 27, 54, .12);
  border-radius: 8px;
  background: #eef4fb;
  box-shadow: 0 28px 80px rgba(16, 27, 54, .18);
  animation: soft-float 8s ease-in-out infinite;
}

.hero-real-screen img {
  width: 100%;
  display: block;
}

.hero-screen-caption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(520px, calc(100% - 28px));
  margin: -34px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(219, 227, 239, .92);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 52px rgba(16, 27, 54, .14);
  backdrop-filter: blur(16px);
}

.hero-screen-caption strong,
.hero-screen-caption span {
  display: block;
}

.hero-screen-caption strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.hero-screen-caption span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-screen-caption a {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0b5ec2;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.app-window {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(16, 27, 54, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(16, 27, 54, .18);
  animation: soft-float 8s ease-in-out infinite;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 506px;
  padding: 30px 18px;
  background: linear-gradient(180deg, #112149, #1f2f65);
  color: #fff;
}

.app-sidebar img {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
}

.app-sidebar strong,
.app-sidebar span {
  text-align: center;
}

.app-sidebar strong { font-size: 18px; }
.app-sidebar span { color: #c8d7f0; font-size: 12px; margin: 4px 0 24px; }

.app-sidebar button {
  height: 36px;
  margin-bottom: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #d7e5fa;
  font: inherit;
  font-size: 12px;
  text-align: left;
  padding: 0 14px;
}

.app-sidebar .active {
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.app-screen {
  padding: 28px;
  background:
    radial-gradient(circle at 92% 0%, rgba(11, 116, 241, .08), transparent 34%),
    linear-gradient(180deg, #f8fbff, #f1f5fb);
}

.window-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  margin-bottom: 18px;
}

.window-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d7e0ef;
}

.window-toolbar span:first-child { background: #ff6b6b; }
.window-toolbar span:nth-child(2) { background: #f8c66b; }
.window-toolbar span:nth-child(3) { background: #34d399; }

.window-toolbar small {
  margin-left: 8px;
  color: #7b8aa3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.app-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.app-topline h2 { margin-bottom: 6px; font-size: 26px; }
.app-topline p { color: var(--muted); font-size: 13px; }

.status-pill {
  flex: 0 0 auto;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f0fdf4;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  animation: status-pulse 2.8s ease-in-out infinite;
}

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

.app-cards article,
.chart-panel,
.guard-card,
.feature-grid article,
.lead-form,
.block-preview,
.screen-card,
.details-grid article,
.rollout-steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.app-cards article {
  padding: 18px;
  min-height: 150px;
  box-shadow: 0 12px 32px rgba(16, 27, 54, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.app-cards article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(16, 27, 54, .1);
}

.app-cards img { width: 42px; height: 42px; margin-bottom: 18px; }
.app-cards span { display: block; color: var(--muted); font-size: 12px; }
.app-cards strong { display: block; margin-top: 8px; font-size: 24px; }

.focus-strip {
  display: grid;
  grid-template-columns: auto minmax(110px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(11, 116, 241, .16);
  border-radius: 8px;
  background: linear-gradient(90deg, #fff, #edf6ff);
  box-shadow: 0 12px 32px rgba(11, 116, 241, .08);
}

.focus-strip span,
.focus-strip small,
.app-insights span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.focus-strip strong {
  display: block;
  margin-top: 3px;
  font-size: 22px;
}

.focus-meter {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #dbe7f7;
}

.focus-meter i {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow: 0 0 18px rgba(111, 92, 255, .35);
}

.focus-strip small {
  color: #166534;
  font-weight: 800;
  white-space: nowrap;
}

.chart-panel {
  margin-top: 20px;
  padding: 18px;
  box-shadow: 0 16px 44px rgba(16, 27, 54, .06);
}

.panel-heading,
.mock-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.panel-heading strong { color: var(--ink); font-size: 15px; }

.chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 12px;
  height: 150px;
  margin-top: 16px;
  padding: 18px;
  background: #fcfaff;
  border: 1px solid #eef2fa;
  border-radius: 8px;
}

.chart i {
  display: block;
  min-height: 18px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, var(--violet), rgba(111, 92, 255, .24));
  transform-origin: bottom;
  animation: chart-rise .8s cubic-bezier(.2, .7, .2, 1) both;
}

.chart i:nth-child(2),
.mock-chart span:nth-child(2) { animation-delay: .08s; }
.chart i:nth-child(3),
.mock-chart span:nth-child(3) { animation-delay: .14s; }
.chart i:nth-child(4),
.mock-chart span:nth-child(4) { animation-delay: .2s; }
.chart i:nth-child(5),
.mock-chart span:nth-child(5) { animation-delay: .26s; }
.chart i:nth-child(6) { animation-delay: .32s; }
.chart i:nth-child(7) { animation-delay: .38s; }
.chart i:nth-child(8) { animation-delay: .44s; }

.app-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.app-insights article {
  padding: 14px;
  border: 1px solid rgba(219, 227, 239, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.app-insights strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

.guard-card {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(430px, calc(100% - 44px));
  padding: 18px;
  box-shadow: 0 18px 52px rgba(16, 27, 54, .18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.guard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(16, 27, 54, .2);
}

.guard-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.guard-card small,
.guard-card a {
  border-radius: 999px;
  background: #eaf3ff;
  color: #0b5ec2;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.guard-card a {
  transition: background .18s ease, transform .18s ease;
}

.guard-card a:hover {
  background: #dcecff;
  transform: translateY(-1px);
}

.inline-store-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 16px;
  border: 1px solid rgba(11, 116, 241, .16);
  border-radius: 999px;
  padding: 8px 12px;
  background: #eaf3ff;
  color: #0b5ec2;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease;
}

.inline-store-link:hover {
  background: #dcecff;
  transform: translateY(-1px);
}

.sync-card {
  position: absolute;
  z-index: 2;
  right: 42px;
  top: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(219, 227, 239, .92);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 46px rgba(16, 27, 54, .14);
  backdrop-filter: blur(14px);
}

.sync-card > span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(22, 163, 95, .12);
}

.sync-card strong {
  display: block;
  font-size: 12px;
}

.sync-card small {
  color: var(--muted);
  font-size: 11px;
}

.section {
  padding: clamp(56px, 8vw, 94px) clamp(18px, 4vw, 56px);
  border: 1px solid rgba(219, 227, 239, .86);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(16, 27, 54, .07);
}

.intro {
  padding-top: 42px;
  padding-bottom: 42px;
  background: var(--navy);
  color: #edf4ff;
}

.intro p {
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.35;
  font-weight: 700;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.1fr);
  gap: clamp(26px, 6vw, 80px);
  background: #fff;
}

.story-section h2,
.section-heading h2,
.protection h2,
.split h2,
.contact-section h2,
.partnership-hero h2,
.rollout-section h2 {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.story-copy p,
.audience-grid p,
.feature-grid p,
.protection p,
.split p,
.contact-section p,
.partnership-hero p,
.partnership-grid p,
.partnership-note p,
.screen-card p,
.rollout-steps p,
.section-heading p {
  color: var(--muted);
  line-height: 1.65;
}

.audience-section {
  background:
    linear-gradient(145deg, #ffffff, #f5f8fc);
}

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

.audience-grid article {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.audience-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 11px;
  background: #eaf3ff;
  color: #0b5ec2;
  font-size: 12px;
  font-weight: 800;
}

.audience-grid h3 {
  margin: 20px 0 12px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
}

.audience-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.5;
}

.audience-grid article:hover,
.feature-grid article:hover,
.screen-card:hover,
.details-grid article:hover,
.rollout-steps article:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 116, 241, .28);
  box-shadow: 0 20px 48px rgba(16, 27, 54, .1);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: var(--soft);
}

.feature-grid article {
  padding: 22px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-grid img { width: 46px; height: 46px; margin-bottom: 22px; }
.feature-grid h2 { font-size: 18px; line-height: 1.25; }

.screens-section {
  background: #fff;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 880px;
  margin-bottom: 32px;
}

.real-screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.real-screen-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(16, 27, 54, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.real-screen-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 116, 241, .2);
  box-shadow: 0 22px 60px rgba(16, 27, 54, .12);
}

.real-screen {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1026 / 750;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #eef4fb;
}

.real-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top left;
}

.real-screen-card h3 {
  margin: 14px 0 7px;
  font-size: 19px;
}

.real-screen-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.screen-card {
  padding: 16px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.screen-card h3 {
  margin: 16px 0 8px;
  font-size: 19px;
}

.screen-card p { margin-bottom: 0; font-size: 14px; }

.mock-screen {
  min-height: 260px;
  border-radius: 8px;
  padding: 18px;
  background: #f5f8fc;
  border: 1px solid #e5edf7;
  overflow: hidden;
}

.mock-head b {
  border-radius: 999px;
  background: #eaf8ef;
  color: #166534;
  padding: 5px 9px;
  font-size: 11px;
}

.mock-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.mock-tiles i {
  min-height: 64px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
  font-style: normal;
  font-weight: 800;
}

.mock-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  align-items: end;
  height: 105px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.mock-chart span {
  display: block;
  min-height: 12px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--violet), rgba(111, 92, 255, .22));
  transform-origin: bottom;
  animation: chart-rise .7s cubic-bezier(.2, .7, .2, 1) both;
}

.list-screen ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.list-screen li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.list-screen em {
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
}

.limit-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

meter {
  width: 100%;
  height: 12px;
}

.area-chart {
  height: 112px;
  margin: 22px 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(111, 92, 255, .28), rgba(111, 92, 255, .04)),
    linear-gradient(135deg, transparent 10%, rgba(111, 92, 255, .9) 11%, transparent 12%),
    #fff;
  border: 1px solid var(--line);
  background-size: 100% 100%, 180% 180%, 100% 100%;
  transition: background-position .5s ease;
}

.screen-card:hover .area-chart {
  background-position: 0 0, 80% 0, 0 0;
}

.stats-screen ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: #334155;
}

.stats-screen li strong { float: right; }

.focus-screen {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 260px;
  color: #fff;
  background: linear-gradient(145deg, #24136b, #7c3aed);
}

.focus-badge {
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.focus-screen strong {
  font-size: 54px;
  line-height: 1;
}

.focus-progress {
  width: min(230px, 100%);
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
}

.focus-progress i {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: #8dffbd;
  transition: width .35s ease;
}

.screen-card:hover .focus-progress i {
  width: 78%;
}

.guard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.guard-metrics i {
  display: block;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 10px;
  font-style: normal;
}

.guard-metrics strong,
.guard-metrics span {
  display: block;
}

.guard-metrics span {
  color: var(--muted);
  font-size: 11px;
}

.guard-screen button {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.protection {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .8fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background: var(--soft);
}

.protection-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protection-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  color: #334155;
  font-weight: 700;
}

.protection-list span {
  color: var(--violet);
  font-weight: 800;
}

.split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(340px, .8fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: center;
}

.block-preview {
  padding: clamp(26px, 5vw, 48px);
  color: #edf4ff;
  background:
    linear-gradient(180deg, rgba(4, 15, 44, .68), rgba(4, 15, 44, .9)),
    linear-gradient(145deg, #04112f, #0d2148 50%, #221245);
}

.block-preview img { width: 76px; height: 76px; margin-bottom: 32px; }
.block-preview h2 { color: #fff; font-size: clamp(36px, 5vw, 62px); line-height: 1; }
.block-preview p { color: #d8e2ff; }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.mini-stats span {
  display: block;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, .09);
  color: #b9c7e8;
  font-size: 13px;
}

.mini-stats strong {
  display: block;
  color: #8dffbd;
  font-size: 24px;
}

.details-section {
  background: #fff;
}

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

.details-grid article {
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.details-grid h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.details-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.5;
}

.partnership-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(141, 255, 189, .16), transparent 18rem),
    linear-gradient(145deg, #ffffff, #f5f8fc);
}

.partnership-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: start;
  margin-bottom: 30px;
}

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

.partnership-grid article,
.partnership-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.partnership-grid article:hover,
.partnership-note:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 163, 95, .3);
  box-shadow: 0 20px 48px rgba(16, 27, 54, .1);
}

.partnership-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  background: #eaf8ef;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
}

.partnership-grid h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.16;
}

.partnership-benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  gap: 18px;
  margin-top: 18px;
}

.partnership-benefits > div:first-child {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
}

.partnership-benefits h3 {
  margin-bottom: 18px;
  font-size: 26px;
}

.partnership-benefits ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.55;
}

.partnership-note {
  display: grid;
  align-content: start;
  gap: 14px;
  background: linear-gradient(145deg, #102047, #142c5e);
  color: #fff;
  border-color: rgba(255, 255, 255, .16);
}

.partnership-note strong {
  color: #8dffbd;
  font-size: 13px;
  text-transform: uppercase;
}

.partnership-note p {
  color: #c8d7f0;
}

.cooperation-page {
  gap: 22px;
}

.cooperation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .52fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background:
    radial-gradient(circle at 78% 10%, rgba(22, 163, 95, .16), transparent 18rem),
    radial-gradient(circle at 12% 24%, rgba(111, 92, 255, .12), transparent 20rem),
    linear-gradient(145deg, #ffffff, #f5f8fc);
}

.cooperation-copy h1 {
  max-width: 980px;
  font-size: clamp(46px, 7vw, 88px);
}

.cooperation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cooperation-summary {
  border: 1px solid rgba(219, 227, 239, .92);
  border-radius: 12px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  box-shadow: 0 22px 64px rgba(16, 27, 54, .1);
}

.cooperation-summary strong {
  display: block;
  margin-bottom: 18px;
  font-size: 22px;
}

.cooperation-summary ul,
.cooperation-benefit-list,
.pilot-steps {
  margin: 0;
}

.cooperation-summary ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  color: #475569;
  line-height: 1.55;
}

.visual-summary {
  display: grid;
  gap: 18px;
}

.cooperation-photo,
.cooperation-illustration {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(219, 227, 239, .92);
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 18%, rgba(111, 92, 255, .1), transparent 14rem),
    linear-gradient(145deg, #ffffff, #f1f6fc);
}

.cooperation-photo {
  position: relative;
  aspect-ratio: 16 / 10;
}

.cooperation-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 27, 54, 0), rgba(16, 27, 54, .08)),
    radial-gradient(circle at 18% 18%, rgba(111, 92, 255, .14), transparent 16rem);
}

.cooperation-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94) contrast(1.02);
}

.clinic-photo {
  aspect-ratio: 4 / 3;
}

.compact-photo {
  margin-top: 26px;
  border-color: rgba(255, 255, 255, .18);
}

.cooperation-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

.compact-illustration {
  margin-top: 26px;
  background:
    radial-gradient(circle at 84% 18%, rgba(141, 255, 189, .1), transparent 12rem),
    rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
}

.ill-room { fill: #f8fbff; stroke: #dbe3ef; stroke-width: 2; }
.ill-panel { fill: #fff; stroke: #dbe3ef; stroke-width: 2; }
.dark-panel { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .16); }
.ill-head { fill: #dcecff; stroke: #0b74f1; stroke-width: 3; }
.ill-head.alt { fill: #e9e6ff; stroke: #6f5cff; }
.ill-body { fill: #0b74f1; opacity: .86; }
.ill-body.alt { fill: #6f5cff; opacity: .82; }
.ill-table { fill: #eaf3ff; stroke: #dbe3ef; stroke-width: 2; }
.ill-device { fill: #102047; }
.ill-line { fill: none; stroke: #6f5cff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ill-line.soft { stroke: #8aa0c4; stroke-width: 4; opacity: .55; }
.ill-flow { fill: none; stroke: #8dffbd; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 10 10; }
.ill-dot { fill: #eaf8ef; stroke: #16a35f; stroke-width: 3; }
.ill-check { fill: none; stroke: #16a35f; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ill-bar { fill: #0b74f1; opacity: .82; }
.ill-bar.muted { fill: #dbe3ef; opacity: 1; }

.cooperation-problem,
.cooperation-benefits,
.pilot-section,
.cooperation-safety {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.cooperation-problem {
  background: var(--navy);
  color: #edf4ff;
}

.cooperation-problem h2,
.pilot-section h2 {
  color: inherit;
}

.cooperation-problem p {
  color: #c8d7f0;
  line-height: 1.7;
}

.cooperation-offer {
  background: #fff;
}

.cooperation-scenes {
  background:
    radial-gradient(circle at 82% 14%, rgba(11, 116, 241, .09), transparent 17rem),
    #fff;
}

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

.scene-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(16, 27, 54, .05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.scene-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 116, 241, .2);
  box-shadow: 0 22px 58px rgba(16, 27, 54, .1);
}

.scene-illustration {
  margin-bottom: 16px;
}

.scene-grid h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.scene-grid p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.cooperation-grid,
.cooperation-benefit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cooperation-grid article,
.cooperation-benefit-list article,
.pilot-steps li,
.safety-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cooperation-grid article:hover,
.cooperation-benefit-list article:hover,
.pilot-steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 163, 95, .26);
  box-shadow: 0 20px 52px rgba(16, 27, 54, .09);
}

.cooperation-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  background: #eaf8ef;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
}

.cooperation-grid h3 {
  margin: 18px 0 10px;
  font-size: 21px;
  line-height: 1.16;
}

.cooperation-grid p,
.cooperation-benefit-list p,
.pilot-steps p,
.safety-card p {
  color: #475569;
  line-height: 1.62;
}

.cooperation-benefits {
  background:
    radial-gradient(circle at 88% 18%, rgba(11, 116, 241, .1), transparent 17rem),
    #fff;
}

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

.cooperation-benefit-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.pilot-section {
  background: linear-gradient(145deg, #102047, #142c5e);
  color: #fff;
}

.pilot-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}

.pilot-steps li {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
}

.pilot-steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #8dffbd;
  color: #12203e;
  font-weight: 800;
}

.pilot-steps strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 19px;
}

.pilot-steps p {
  margin: 0;
  color: #c8d7f0;
}

.cooperation-safety {
  background: #fff;
}

.safety-card.dark {
  background: var(--navy);
  color: #fff;
}

.safety-card.dark strong {
  display: block;
  margin-bottom: 12px;
  color: #8dffbd;
  font-size: 13px;
  text-transform: uppercase;
}

.safety-card.dark p {
  color: #c8d7f0;
}

.rollout-section {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  background: var(--navy);
  color: #fff;
}

.rollout-section .eyebrow { color: #8dffbd; }

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

.rollout-steps article {
  padding: 22px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.rollout-steps article:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(141, 255, 189, .32);
}

.rollout-steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #8dffbd;
  color: #12203e;
  font-weight: 800;
}

.rollout-steps strong {
  display: block;
  margin-bottom: 8px;
}

.rollout-steps p {
  margin: 0;
  color: #b9c7e8;
}

.contact-section {
  background: #fff;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

textarea { resize: vertical; }

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.form-note.success { color: var(--green); }
.form-note.error { color: #dc2626; }

.cookie-banner {
  position: fixed;
  left: max(18px, calc((100vw - 980px) / 2));
  right: max(18px, calc((100vw - 980px) / 2));
  bottom: 18px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(219, 227, 239, .92);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 80px rgba(16, 27, 54, .2);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .22s ease, transform .22s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner__copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.cookie-banner__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-banner__copy a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-banner button {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.cookie-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: #42526e;
}

.cookie-primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 116, 241, .24);
}

.site-footer {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-max));
  margin: 22px auto 18px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(219, 227, 239, .18);
  border-radius: 18px;
  background: var(--navy);
  color: #d8e2ff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, .7fr));
  gap: clamp(24px, 4vw, 42px);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  color: #fff;
  font-weight: 800;
}

.footer-logo img {
  width: 38px;
  height: 38px;
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: #b9c7e8;
  line-height: 1.65;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-badges span {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .08);
  color: #edf4ff;
  font-size: 12px;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease;
}

.footer-badges span:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-1px);
}

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

.footer-column h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column a,
.footer-link-button {
  color: #c8d7f0;
}

.footer-column a:hover,
.footer-link-button:hover {
  color: #fff;
}

.footer-link-button {
  display: inline-flex;
  padding: 0;
  text-align: left;
}

.footer-bottom p {
  margin: 0;
  color: #aebde0;
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-bottom p:last-child {
  max-width: 640px;
  text-align: right;
}

@media (max-width: 1160px) {
  .hero,
  .story-section,
  .protection,
  .split,
  .contact-section,
  .partnership-hero,
  .partnership-benefits,
  .cooperation-hero,
  .cooperation-problem,
  .cooperation-benefits,
  .pilot-section,
  .cooperation-safety,
  .rollout-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .audience-grid,
  .partnership-grid,
  .cooperation-grid,
  .scene-grid,
  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cooperation-benefit-list,
  .pilot-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-shot { min-height: auto; padding-bottom: 72px; }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    position: sticky;
  }

  .brand { position: relative; z-index: 45; }

  .menu-toggle {
    position: relative;
    z-index: 45;
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 42;
    display: grid;
    align-content: start;
    gap: 8px;
    max-height: calc(100vh - 78px);
    max-height: calc(100dvh - 78px);
    padding: 28px 24px 116px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(16, 27, 54, .14);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }

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

  .site-nav::-webkit-scrollbar {
    width: 8px;
  }

  .site-nav::-webkit-scrollbar-thumb {
    border: 2px solid #fff;
    border-radius: 999px;
    background: #c8d7f0;
  }

  .site-nav a {
    justify-content: center;
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 22px;
  }

  .site-nav .nav-sub {
    display: inline-flex;
    min-height: 42px;
    color: #42526e;
    font-size: 15px;
  }

  .header-cta {
    display: none;
  }

  .details-grid,
  .footer-main,
  .partnership-grid,
  .cooperation-grid,
  .cooperation-benefit-list,
  .pilot-steps,
  .scene-grid,
  .rollout-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    padding: 12px 18px;
  }

  main.legal-page {
    margin: 14px auto;
    padding: 26px 22px;
    border-radius: 16px;
  }

  .legal-page h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 12vw, 44px);
  }

  .legal-page h2 {
    margin-top: 24px;
    font-size: 20px;
  }

  .legal-page p {
    margin-bottom: 16px;
    line-height: 1.62;
  }

  .hero {
    padding-top: 34px;
    background:
      linear-gradient(145deg, rgba(245, 248, 252, .96), rgba(255, 255, 255, .88) 42%, rgba(234, 243, 255, .72)),
      url("assets/brainapp-mark.png") right 18px top 112px / 210px auto no-repeat;
  }

  .hero-metrics,
  .app-cards,
  .mini-stats,
  .feature-grid,
  .audience-grid,
  .real-screens-grid,
  .screens-grid,
  .mock-tiles,
  .guard-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions a {
    flex: 1 1 156px;
  }

  .app-window {
    grid-template-columns: 1fr;
  }

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

  .app-sidebar button:nth-of-type(n+4) {
    display: none;
  }

  .app-topline {
    display: grid;
  }

  .focus-strip,
  .app-insights {
    grid-template-columns: 1fr;
  }

  .hero-screen-caption {
    display: grid;
    width: 100%;
    margin-top: 12px;
  }

  .guard-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .sync-card {
    position: static;
    margin-top: 12px;
  }

  .limit-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    margin-bottom: 14px;
    padding: 24px;
  }

  .footer-bottom {
    display: grid;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr;
    bottom: 12px;
    width: auto;
    padding: 16px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner button {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
