:root {
  --bg: #071425;
  --bg-soft: #0d2139;
  --surface: #ffffff;
  --surface-soft: #f4f8fc;
  --surface-quiet: #eaf2f9;
  --line: rgba(10, 37, 63, 0.12);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #081a2d;
  --text-soft: #5b7088;
  --text-inverse: #f7fbff;
  --blue: #1676c5;
  --cyan: #60d3ff;
  --green: #39c58a;
  --shadow: 0 28px 90px rgba(4, 18, 32, 0.16);
  --shadow-strong: 0 34px 90px rgba(3, 16, 31, 0.34);
  --radius: 24px;
  --radius-small: 18px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(22, 118, 197, 0.28), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(96, 211, 255, 0.14), transparent 26rem),
    linear-gradient(180deg, #061222 0%, #09182a 30%, #f4f8fc 30%, #f4f8fc 100%);
}

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

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

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

button {
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(4, 13, 25, 0.94), rgba(6, 18, 34, 0.82));
  backdrop-filter: blur(22px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(0, 11, 24, 0.18);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #dce8f5;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0e9be6);
  box-shadow: 0 20px 40px rgba(22, 118, 197, 0.28);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 26px 50px rgba(22, 118, 197, 0.3);
  outline: none;
}

.button-small {
  min-height: 44px;
  padding: 0 18px;
}

.button-ghost {
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.hero-section {
  --hero-image: url("/site/assets/hero-nexya-human.png");
  position: relative;
  min-height: calc(100vh - 88px);
  padding: 56px 0 88px;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 22, 0.94) 0%, rgba(5, 16, 31, 0.9) 34%, rgba(5, 16, 31, 0.62) 62%, rgba(5, 16, 31, 0.78) 100%),
    radial-gradient(circle at 76% 16%, rgba(96, 211, 255, 0.18), transparent 18rem),
    var(--hero-image) center right / cover no-repeat;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(7, 20, 37, 0), rgba(7, 20, 37, 0.88));
  z-index: 0;
}

.hero-layout,
.split-layout,
.security-layout,
.demo-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
}

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

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--text-inverse);
  font-size: clamp(2.55rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.06;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 700;
}

.hero-lead,
.section-heading p,
.section-copy p,
.pain-card p,
.feature-card p,
.module-card p,
.segment-card p,
.security-card p,
.differential-card p,
.step-card p,
.proof-card p,
.demo-card p,
.faq-answer p,
.product-card p,
.contact-points span,
.microcopy {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-lead {
  max-width: 660px;
  color: #deebf8;
  font-size: 1.14rem;
}

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

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

.hero-chip {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #e9f4fd;
  box-shadow: 0 18px 32px rgba(2, 12, 24, 0.18);
}

.hero-chip-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-chip small,
.hero-chip strong,
.hero-chip span {
  display: block;
}

.hero-chip small {
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-chip strong {
  font-size: 1.02rem;
}

.hero-chip span {
  color: #bed5e8;
  font-size: 0.96rem;
}

.hero-visual-shell {
  position: relative;
  min-height: 640px;
}

.hero-image-frame {
  position: absolute;
  top: 6px;
  right: 28px;
  left: auto;
  width: min(290px, 40%);
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-strong);
  transform: none;
  backdrop-filter: blur(10px);
}

.hero-image-frame img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.hero-dashboard {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(560px, 90%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}

.dashboard-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d9e7f6;
  font-weight: 800;
}

.dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.dashboard-top strong {
  margin-left: 8px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
}

.metric-card {
  min-height: 156px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.metric-card small,
.metric-card strong,
.metric-card p {
  display: block;
}

.metric-card small {
  color: #5d728b;
  font-weight: 700;
}

.metric-card strong {
  margin: 12px 0 8px;
  font-size: 1.45rem;
  font-weight: 700;
}

.metric-card p {
  color: #60758d;
  line-height: 1.56;
}

.metric-card-main {
  grid-row: span 2;
  min-height: 326px;
  color: #fff;
  background: linear-gradient(150deg, rgba(22, 118, 197, 0.96), rgba(7, 21, 38, 0.96));
}

.metric-card-main small,
.metric-card-main p,
.metric-card-main strong {
  color: inherit;
}

.section {
  position: relative;
  padding: 86px 0;
  background: var(--surface-soft);
}

.section:nth-of-type(even) {
  background: #fff;
}

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

.section .eyebrow {
  color: var(--blue);
}

.pain-grid,
.feature-grid,
.modules-grid,
.segments-grid,
.security-points,
.differential-grid,
.steps-grid,
.product-grid,
.proof-grid,
.demo-points {
  display: grid;
  gap: 18px;
}

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

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

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

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

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

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

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

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

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

.pain-card,
.feature-card,
.module-card,
.segment-card,
.security-card,
.differential-card,
.step-card,
.partner-card,
.product-card,
.proof-card,
.demo-card,
.lead-form,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pain-card,
.feature-card,
.module-card,
.segment-card,
.security-card,
.differential-card,
.step-card,
.proof-card,
.demo-card {
  padding: 24px;
}

.differential-card > .icon-badge {
  margin-bottom: 16px;
}

.card-tag,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 10px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: #eaf4fd;
  color: var(--blue);
  font-weight: 700;
}

.icon-badge {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(22, 118, 197, 0.12);
  flex-shrink: 0;
}

.icon-badge svg {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-badge-hero {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.icon-badge-solid {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0e9be6);
  box-shadow: 0 14px 28px rgba(22, 118, 197, 0.24);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.module-top span {
  color: #66819c;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.step-number {
  margin-bottom: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0d98e1);
}

.security-section {
  color: var(--text-inverse);
  background: linear-gradient(140deg, #071425, #0f2b48);
}

.security-layout {
  align-items: start;
}

.security-layout .section-copy {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-strong);
}

.security-section .section-copy h2,
.security-section .section-copy p,
.security-section .section-copy .eyebrow {
  color: var(--text-inverse);
}

.security-section .section-copy p {
  color: #c7d9eb;
}

.security-card {
  padding: 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: 0 24px 60px rgba(2, 12, 24, 0.22);
}

.security-card-top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.security-icon {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 18px;
  color: #07203a;
  background: linear-gradient(135deg, #8ce4ff, #ffffff);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
}

.security-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.35;
}

.security-card p {
  margin: 0;
  color: #deebf5;
  font-size: 0.98rem;
}

.partners-section {
  color: var(--text-inverse);
  background: linear-gradient(140deg, #081728, #0d2d4b);
}

.partners-section .section-heading h2,
.partners-section .section-heading p,
.partners-section .eyebrow {
  color: var(--text-inverse);
}

.partners-section .section-heading p {
  color: #d1e0ed;
}

.partner-grid {
  position: relative;
}

.partner-carousel {
  position: relative;
  overflow: hidden;
  padding: 8px 54px 44px;
}

.partner-track {
  display: flex;
  transition: transform 680ms cubic-bezier(.16, 1, .3, 1);
}

.partner-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 220px;
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-strong);
}

.partner-card figure {
  margin: 0;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
}

.partner-card img {
  width: 100%;
  height: 112px;
  object-fit: contain;
}

.partner-card small {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
}

.partner-card p {
  color: #d2e1ee;
}

.partner-slide .partner-card:only-child {
  max-width: 760px;
  width: 100%;
  justify-self: center;
}

.partner-arrow {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.6rem;
  cursor: pointer;
}

.partner-arrow-prev {
  left: 0;
}

.partner-arrow-next {
  right: 0;
}

.partner-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.partner-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
}

.partner-dots button.active {
  width: 32px;
  background: var(--cyan);
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-card figure {
  height: 228px;
  margin: 0;
  padding: 20px;
  background: linear-gradient(180deg, #eef7ff, #dbeafb);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.product-card span {
  display: inline-flex;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card-button {
  width: 100%;
}

.proof-section {
  background: linear-gradient(180deg, #fff, #f5f9fd);
}

.proof-card strong,
.demo-card strong {
  display: block;
  margin-bottom: 10px;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-question strong {
  font-size: 1.4rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease, padding 240ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 0;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 22px;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-points strong,
.contact-points span {
  display: block;
}

.contact-points span {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-quiet);
  color: #244b70;
  font-weight: 700;
}

.lead-form,
.quote-form {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.lead-form label,
.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--text);
}

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

.lead-form input,
.lead-form select,
.lead-form textarea,
.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--text);
  background: #f8fbfe;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 118, 197, 0.12);
}

.microcopy,
.form-status {
  display: block;
}

.microcopy {
  font-size: 0.9rem;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #0e6f44;
  font-weight: 700;
}

.site-footer {
  padding: 46px 0;
  color: #cbdced;
  background: #061222;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  max-width: 360px;
  margin: 0;
  color: #a7bdd0;
  line-height: 1.7;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 31, 0.72);
  backdrop-filter: blur(8px);
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(88vh, 960px);
  overflow: auto;
  border-radius: 28px;
  background: #f7fbff;
  box-shadow: var(--shadow-strong);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  font-size: 1.7rem;
  cursor: pointer;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
}

.product-modal-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  padding: 30px;
  background: linear-gradient(155deg, #071425, #0f3659);
}

.product-modal-image-frame {
  min-height: 420px;
  margin: 0;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(8, 26, 45, 0.06);
}

.product-modal-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-modal-badges {
  display: flex;
  justify-content: flex-start;
}

.product-modal-badges span,
.product-modal-specs span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
}

.product-modal-badges span {
  color: #dcecff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-modal-content {
  display: grid;
  gap: 18px;
  padding: 34px 30px 30px;
}

.product-modal-content .eyebrow {
  color: var(--blue);
}

.product-modal-content h3 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
}

.product-modal-copy {
  margin: 0;
  color: var(--text-soft);
}

.product-modal-content .quote-form {
  padding: 24px;
  border: 1px solid rgba(10, 37, 63, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(5, 24, 42, 0.08);
}

.product-modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-modal-specs span {
  color: #1f4e76;
  background: #eaf4fd;
}

.product-modal-link {
  min-height: 40px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(.16, 1, .3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1120px) {
  .modules-grid,
  .differential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .pain-grid,
  .proof-grid,
  .demo-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-slide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .desktop-link,
  .header-actions .button-small {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 61;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
  }

  .menu-toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
  }

  .menu-toggle span:first-child {
    transform: translateY(-4px);
  }

  .menu-toggle span:last-child {
    transform: translateY(4px);
  }

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

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

  .site-nav {
    position: fixed;
    inset: 86px 16px auto;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(6, 18, 34, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .hero-layout,
  .split-layout,
  .security-layout,
  .demo-layout,
  .contact-layout,
  .product-modal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 0;
    padding-top: 32px;
  }

  .hero-visual-shell {
    min-height: 540px;
  }

  .feature-grid,
  .segments-grid,
  .security-points,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    background:
      radial-gradient(circle at 20% 0%, rgba(22, 118, 197, 0.3), transparent 26rem),
      linear-gradient(180deg, #061222 0%, #09182a 28%, #f4f8fc 28%, #f4f8fc 100%);
  }

  html {
    scroll-padding-top: 80px;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand {
    padding: 8px 12px;
  }

  .brand img {
    height: 30px;
  }

  .site-nav {
    inset: 80px 12px auto;
    padding: 14px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.6rem);
  }

  .hero-badge-row,
  .pain-grid,
  .feature-grid,
  .modules-grid,
  .segments-grid,
  .security-points,
  .differential-grid,
  .steps-grid,
  .product-grid,
  .proof-grid,
  .demo-points,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-image-frame {
    position: relative;
    width: 100%;
    transform: none;
  }

  .hero-dashboard {
    position: relative;
    width: 100%;
    margin-top: 14px;
  }

  .hero-visual-shell {
    min-height: 0;
  }

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

  .metric-card-main {
    min-height: 220px;
  }

  .section {
    padding: 58px 0;
  }

  .partner-carousel {
    padding: 8px 0 48px;
  }

  .partner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .partner-card figure {
    max-width: 220px;
    width: 100%;
    justify-self: center;
  }

  .partner-arrow {
    top: auto;
    bottom: 0;
    width: 38px;
    height: 38px;
  }

  .partner-arrow-prev {
    left: calc(50% - 82px);
  }

  .partner-arrow-next {
    right: calc(50% - 82px);
  }

  .product-card figure {
    height: 196px;
    padding: 16px;
  }

  .lead-form,
  .quote-form,
  .pain-card,
  .feature-card,
  .module-card,
  .segment-card,
  .security-card,
  .differential-card,
  .step-card,
  .proof-card,
  .demo-card {
    padding: 20px;
    border-radius: 20px;
  }

  .product-modal {
    padding: 0;
  }

  .product-modal-dialog {
    width: 100%;
    max-height: 100vh;
    border-radius: 24px 24px 0 0;
    align-self: end;
  }

  .product-modal-visual,
  .product-modal-content {
    padding: 22px 18px;
  }

  .product-modal-image-frame {
    min-height: 220px;
    padding: 18px;
  }

  .product-modal-close {
    top: 12px;
    right: 12px;
  }

  .security-layout .section-copy {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .security-card {
    padding: 18px;
  }

  .security-card-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .security-icon {
    min-height: 46px;
    justify-self: start;
  }
}
