:root {
  color-scheme: light;
  --bg: #fcfcfe;
  --bg-soft: #f5f6fa;
  --hero: #2c4fff;
  --text: #0e1116;
  --text-muted: #697281;
  --text-soft: #abb1bd;
  --white: #f5f7fa;
  --card: #ffffff;
  --pill: #f3ff6b;
  --shadow: 0 12px 28px rgba(8, 13, 20, 0.08);
  --radius-card: 1rem;
  --radius-pill: 999px;
  --container: 60rem;
  --container-wide: 70rem;
  --measure: 47.5rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

:focus-visible {
  outline: 2px solid var(--hero);
  outline-offset: 4px;
}

::selection {
  background: rgba(44, 79, 255, 0.22);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
}

.section-inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: var(--space-3xl) 0;
  text-align: center;
}

.context .section-inner,
.solution .section-inner,
.on-prem .section-inner {
  padding-bottom: 1rem;
}

.risk-scenarios .section-inner,
.modules .section-inner,
.outcomes .section-inner {
  padding-top: 0.75rem;
}

.demo-path .section-inner,
.contacts .section-inner {
  padding-top: 4.5rem;
}

.hero {
  background: var(--hero);
  color: var(--white);
}

.hero .container {
  width: min(calc(100% - 2rem), 72rem);
}

.hero .section-inner {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-layout,
.hero-copy,
.trust-copy,
.text-stack {
  display: grid;
}

.hero-layout,
.hero-copy,
.trust-copy {
  justify-items: center;
}

.hero-copy {
  gap: 1.25rem;
  width: min(100%, 68rem);
}

.hero-brand {
  display: inline-flex;
  padding: 0.75rem;
}

.hero-brand img {
  width: 9.25rem;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  width: 100%;
  max-width: 57.5rem;
  font-size: clamp(2.65rem, 6vw, 4.5rem);
  line-height: 1.02;
  text-wrap: balance;
}

h2 {
  width: 100%;
  max-width: 57.5rem;
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.16;
}

p,
li {
  font-size: 1rem;
}

.section-copy,
.text-stack {
  max-width: var(--measure);
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero .section-copy {
  color: var(--white);
}

.hero .section-copy:first-of-type {
  max-width: var(--measure);
  font-size: 1.125rem;
  line-height: 1.33;
}

.section-kicker,
.card-index {
  color: var(--text-soft);
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 1rem 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  background: var(--hero);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(44, 79, 255, 0.18);
}

.hero .button-primary {
  background: rgba(245, 247, 250, 0.2);
  color: var(--white);
  box-shadow: none;
}

.hero .button-primary:hover {
  background: rgba(245, 247, 250, 0.28);
}

.hero-actions {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

.text-stack {
  gap: 0.75rem;
  justify-items: center;
}

.text-stack .section-copy {
  text-align: center;
}

.accent-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  margin-top: 1.75rem;
  margin-bottom: 0.25rem;
  padding: 1rem 1.5rem;
  border-radius: 3.0625rem;
  background: var(--pill);
  color: #000;
  font-size: 1.125rem;
  line-height: 1.55;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.card-grid--risk,
.card-grid--steps,
.card-grid--contacts {
  max-width: var(--container);
}

.card-grid--three {
  max-width: var(--container-wide);
}

.card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: left;
}

.card--compact {
  min-height: 9.375rem;
}

.card--compact p:last-child {
  font-size: 1.125rem;
  line-height: 1.33;
  color: #000;
}

.card-index {
  color: var(--hero);
}

.modules .card p:last-child {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.33;
}

.trust-copy {
  gap: 1.5rem;
}

.product-shot {
  width: min(100%, 52.125rem);
  margin-top: 0.5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: transparent;
}

.product-shot img {
  width: 100%;
  border-radius: var(--radius-card);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: min(100%, 62rem);
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 1rem 1.5rem;
  border-radius: 3.0625rem;
  background: #000;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5;
}

.demo-path .card-grid {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 0;
}

.demo-path .card {
  gap: 0.75rem;
}

.demo-path .section-copy {
  max-width: 47.5rem;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.consent-note {
  max-width: 32rem;
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.consent-note a {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
  isolation: isolate;
  z-index: 10000;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 22, 0.48);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  max-height: min(90vh, 48rem);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 24px 64px rgba(8, 13, 20, 0.18);
  overflow: hidden;
}

.modal-content {
  display: grid;
  gap: 1rem;
  max-height: inherit;
  padding: 2rem;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.legal-copy {
  display: grid;
  gap: 1rem;
  color: var(--text-muted);
  text-align: left;
}

.legal-copy ol {
  display: grid;
  gap: 0.875rem;
  margin: 0;
  padding-left: 1.25rem;
}

.legal-copy a {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

body.modal-open {
  overflow: hidden;
}

.demo-capture {
  display: grid;
  justify-items: center;
  width: min(100%, 30rem);
  padding-top: 0.5rem;
  padding: 1.25rem 1.25rem 0;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--card);
}

.demo-capture > * {
  width: 100%;
}

.demo-capture iframe {
  display: block;
  width: 100%;
  min-height: 0 !important;
  height: 31.5rem !important;
  border: 0;
  background: transparent;
}

.card--contact {
  gap: 1.5rem;
}

.contact-lines {
  display: grid;
  gap: 0.5rem;
  color: #000;
  font-size: 1.125rem;
  line-height: 1.33;
}

.site-footer {
  background: #0b0b0d;
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.375rem;
  padding: 1.5rem 0;
}

.brand-footer img {
  width: 9.25rem;
}

.site-footer p {
  width: 16.25rem;
  color: rgba(245, 247, 250, 0.72);
  font-size: 0.875rem;
  line-height: 1.43;
  text-align: right;
}

.footer-link {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (min-width: 48rem) {
  .card-grid--risk,
  .card-grid--steps,
  .card-grid--contacts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 47.99rem) {
  .section-inner {
    gap: 1rem;
    padding: 4rem 0;
  }

  .context .section-inner,
  .solution .section-inner,
  .on-prem .section-inner {
    padding-bottom: 0.75rem;
  }

  .risk-scenarios .section-inner,
  .modules .section-inner,
  .outcomes .section-inner {
    padding-top: 0.5rem;
  }

  .demo-path .section-inner,
  .contacts .section-inner {
    padding-top: 3.5rem;
  }

  .hero .section-inner {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-brand img,
  .brand-footer img {
    width: 7.75rem;
  }

  .accent-pill,
  .pill-list li,
  .button,
  .card,
  .product-shot {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .modal-panel {
    max-height: 92vh;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .site-footer p {
    width: auto;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
