:root {
  --navy-950: #061a38;
  --navy-900: #08234a;
  --navy-800: #0b315f;
  --navy-700: #124477;
  --blue-500: #1688e8;
  --cyan-500: #0ea5e9;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --green-500: #10b981;
  --green-400: #34d399;
  --mint-100: #dff9f3;
  --sky-100: #e8f5ff;
  --slate-900: #14213d;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 8px 30px rgba(15, 38, 75, .08);
  --shadow: 0 20px 55px rgba(12, 39, 79, .13);
  --shadow-lg: 0 34px 90px rgba(7, 30, 66, .2);
  --container: 1220px;
  --header-height: 116px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-700);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  background: rgba(20, 184, 166, .2);
  color: var(--navy-950);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.module-icon svg,
.trust-item svg,
.feature-list svg,
.intelligence-points svg,
.why-card svg,
.dashboard-sidebar svg,
.metric-card svg,
.floating-card svg,
.demo-modal svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: #fff;
  color: var(--navy-900);
  border-radius: 10px;
  transform: translateY(-150%);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: none;
}

.announcement {
  color: #dffbff;
  background: linear-gradient(90deg, var(--navy-950), #0b3766);
  font-size: 13px;
}

.announcement__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.announcement__dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--green-400);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .12);
}

.announcement a {
  color: #75f5d2;
  font-weight: 750;
  margin-left: 6px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
  transition: box-shadow .25s, background .25s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 35px rgba(15, 35, 70, .08);
}

.nav-wrap {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 68px 48px;
  align-items: center;
  column-gap: 32px;
}

.brand {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

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

.primary-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  gap: clamp(28px, 4vw, 52px);
  width: 100%;
  margin: 0;
  border-top: 1px solid rgba(211, 225, 233, 0.72);
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 100%;
  padding: 0 7px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 650;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--cyan-500), var(--green-500));
  transition: right .25s;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  right: 0;
}

.nav-actions {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  background: rgba(244, 249, 251, 0.82);
  border: 1px solid rgba(205, 221, 229, 0.76);
  border-radius: 18px;
  box-shadow:
    0 10px 28px rgba(13, 48, 76, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.nav-actions .nav-ai-cta {
  position: relative;
  min-height: 46px;
  padding: 5px 15px 5px 7px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(
      circle at 20% 0,
      rgba(82, 226, 211, 0.24),
      transparent 40%
    ),
    linear-gradient(135deg, #082953, #075c69);
  border-color: rgba(16, 133, 141, 0.42);
  box-shadow: 0 12px 27px rgba(7, 42, 80, 0.18);
}

.nav-ai-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.14) 45%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.nav-actions .nav-ai-cta:hover {
  color: white;
  border-color: rgba(70, 222, 201, 0.65);
  box-shadow: 0 16px 34px rgba(7, 42, 80, 0.26);
}

.nav-ai-cta:hover::after {
  transform: translateX(120%);
}

.nav-ai-cta__icon {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #a0f2dd;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.nav-ai-cta__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.nav-ai-cta__copy {
  display: grid;
  gap: 0;
  text-align: left;
  line-height: 1.08;
}

.nav-ai-cta__copy small {
  color: #8ee9d2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-ai-cta__copy b {
  color: white;
  font-size: 11px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
  border-radius: 10px;
  transition: transform .2s, opacity .2s;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 750;
  color: var(--navy-900);
  background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}

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

.btn:focus-visible {
  outline: 3px solid rgba(14, 165, 233, .25);
  outline-offset: 3px;
}

.btn--primary {
  color: white;
  background: linear-gradient(135deg, #0ea5a0, #0eaa78);
  box-shadow: 0 13px 28px rgba(13, 148, 136, .24);
}

.btn--primary:hover {
  box-shadow: 0 18px 34px rgba(13, 148, 136, .32);
}

.btn--secondary {
  border-color: var(--slate-200);
  box-shadow: 0 10px 28px rgba(15, 35, 70, .06);
}

.btn--secondary:hover,
.btn--ghost:hover {
  border-color: rgba(20, 184, 166, .5);
}

.btn--ghost {
  background: transparent;
  border-color: transparent;
}

.btn--light {
  color: var(--navy-900);
  background: white;
  box-shadow: 0 16px 34px rgba(1, 14, 39, .18);
}

.btn--white {
  color: var(--navy-900);
  background: white;
  box-shadow: 0 18px 40px rgba(1, 14, 39, .2);
}

.btn--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.btn--large {
  min-height: 56px;
  padding: 0 26px;
}

.btn--block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 9% 25%, rgba(14, 165, 233, .12), transparent 26%),
    radial-gradient(circle at 90% 15%, rgba(16, 185, 129, .1), transparent 25%),
    linear-gradient(180deg, #fff 0%, #fbfdff 70%, #f5fbff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(27, 83, 135, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 83, 135, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 70%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero__orb--one {
  width: 300px;
  height: 300px;
  right: -100px;
  top: 90px;
  background: rgba(20, 184, 166, .13);
}

.hero__orb--two {
  width: 180px;
  height: 180px;
  left: 38%;
  bottom: 10px;
  background: rgba(14, 165, 233, .1);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan-500), var(--green-500));
}

.eyebrow--light {
  color: #8ff8df;
}

.hero h1 {
  max-width: 620px;
  margin: 22px 0 22px;
  color: var(--navy-950);
  /* font-size: clamp(48px, 5.5vw, 60px); */
  font-size: clamp(40px, 5.5vw, 40px);
  line-height: .99;
  letter-spacing: -.055em;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(110deg, #0b83c9, #0ea67b 78%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__lead {
  max-width: 610px;
  margin: 0;
  color: var(--slate-600);
  font-size: 19px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 620;
}

.proof-item .icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  color: white;
  background: var(--green-500);
  border-radius: 50%;
  stroke-width: 2.5;
}

.hero__visual {
  position: relative;
  min-width: 0;
  perspective: 1500px;
}

.dashboard-shell {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(195, 214, 232, .8);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(9, 40, 78, .19);
  transform: rotateY(-2deg) rotateX(1deg);
  transform-origin: center;
}

.dashboard-topbar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--slate-100);
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
}

.mini-cross {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
}

.mini-cross::before,
.mini-cross::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border: 2px solid var(--teal-500);
  border-radius: 5px;
}

.mini-cross::before {
  width: 7px;
  height: 18px;
}

.mini-cross::after {
  width: 18px;
  height: 7px;
  border-color: var(--cyan-500);
}

.mini-cross--large {
  width: 42px;
  height: 42px;
}

.mini-cross--large::before {
  width: 15px;
  height: 42px;
  border-width: 4px;
  border-radius: 8px;
}

.mini-cross--large::after {
  width: 42px;
  height: 15px;
  border-width: 4px;
  border-radius: 8px;
}

.dashboard-select {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px;
  color: var(--slate-600);
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  font-size: 9px;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-user>span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--navy-700), var(--teal-500));
  font-size: 9px;
  font-weight: 750;
}

.dashboard-user div {
  display: grid;
  line-height: 1.25;
}

.dashboard-user b {
  color: var(--navy-900);
  font-size: 8px;
}

.dashboard-user small {
  color: var(--slate-400);
  font-size: 7px;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 490px;
}

.dashboard-sidebar {
  padding: 18px 12px;
  background: #f9fcff;
  border-right: 1px solid var(--slate-100);
}

.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 35px;
  padding: 0 10px;
  margin-bottom: 4px;
  color: #6a7890;
  border-radius: 8px;
  font-size: 8px;
  font-weight: 650;
}

.dashboard-sidebar a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  box-shadow: 0 8px 18px rgba(13, 148, 136, .2);
}

.dashboard-sidebar svg {
  width: 14px;
  height: 14px;
}

.dashboard-main {
  padding: 18px;
  min-width: 0;
  background: #fcfdff;
}

.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dashboard-heading small {
  color: var(--slate-400);
  font-size: 7px;
}

.dashboard-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 16px;
  letter-spacing: -.02em;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--slate-500);
  font-size: 7px;
}

.live-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .13);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.metric-card {
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(15, 38, 75, .04);
}

.metric-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--slate-500);
  font-size: 7px;
}

.metric-card__top svg {
  width: 14px;
  height: 14px;
  padding: 3px;
  color: var(--teal-600);
  background: var(--mint-100);
  border-radius: 5px;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy-900);
  font-size: 13px;
  white-space: nowrap;
}

.metric-card strong small {
  font-size: 6px;
  color: var(--slate-500);
}

.metric-card p {
  margin: 3px 0 0;
  color: var(--slate-400);
  font-size: 6px;
}

.metric-card p b {
  color: var(--green-500);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1.7fr .72fr;
  gap: 10px;
  margin-top: 10px;
}

.chart-card,
.alerts-card {
  padding: 13px;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(15, 38, 75, .04);
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title div {
  display: grid;
}

.card-title b {
  color: var(--navy-900);
  font-size: 8px;
}

.card-title small {
  color: var(--slate-400);
  font-size: 6px;
}

.chip {
  padding: 4px 8px;
  color: var(--teal-600);
  background: var(--mint-100);
  border-radius: 10px;
  font-size: 6px;
}

.line-chart {
  width: 100%;
  height: 176px;
  margin-top: 8px;
  overflow: visible;
}

.grid-lines path {
  fill: none;
  stroke: #eaf0f7;
  stroke-width: 1;
}

.chart-area {
  fill: url(#area);
}

.chart-line {
  fill: none;
  stroke: #0ea998;
  stroke-width: 4;
  stroke-linecap: round;
}

.axis-labels {
  fill: #9aa8ba;
  font-size: 12px;
}

.chart-summary {
  display: flex;
  justify-content: space-between;
  color: var(--slate-500);
  font-size: 7px;
}

.chart-summary span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chart-summary i {
  width: 8px;
  height: 3px;
  border-radius: 5px;
  background: var(--teal-500);
}

.chart-summary b {
  color: var(--green-500);
}

.count-badge {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--danger);
  border-radius: 50%;
  font-size: 7px;
}

.alert-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 7px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

.alert-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 800;
}

.alert-row--danger .alert-icon {
  background: #fb7185;
}

.alert-row--warning .alert-icon {
  background: #fbbf24;
}

.alert-row--info .alert-icon {
  background: #38bdf8;
}

.alert-row div {
  display: grid;
  line-height: 1.35;
}

.alert-row b {
  color: var(--slate-700);
  font-size: 7px;
}

.alert-row small {
  color: var(--slate-400);
  font-size: 6px;
}

.alert-row strong {
  color: var(--slate-600);
  font-size: 7px;
}

.alerts-card>a {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--cyan-500);
  font-size: 7px;
  font-weight: 700;
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(12, 43, 81, .18);
  backdrop-filter: blur(12px);
  animation: float 4.5s ease-in-out infinite;
}

.floating-card--stock {
  left: -34px;
  bottom: -30px;
}

.floating-card--restock {
  right: -26px;
  top: 115px;
  animation-delay: -2s;
}

.floating-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--teal-600);
  background: linear-gradient(135deg, #e2fbf5, #e8f5ff);
  border-radius: 12px;
}

.floating-card div {
  display: grid;
  line-height: 1.35;
}

.floating-card small {
  color: var(--slate-500);
  font-size: 9px;
}

.floating-card b {
  color: var(--navy-900);
  font-size: 12px;
}

.floating-card em {
  color: var(--green-500);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.trust-strip {
  padding: 30px 0;
  background: white;
  border-block: 1px solid var(--slate-100);
  box-shadow: 0 10px 30px rgba(16, 48, 84, .03);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid var(--slate-100);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item>span {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--teal-600);
  background: linear-gradient(135deg, var(--mint-100), var(--sky-100));
  border-radius: 13px;
}

.trust-item div {
  display: grid;
  line-height: 1.4;
}

.trust-item b {
  color: var(--navy-900);
  font-size: 14px;
}

.trust-item small {
  color: var(--slate-500);
  font-size: 11px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head h2,
.showcase h2,
.workflow-section h2,
.intelligence h2,
.faq h2 {
  margin: 15px 0 16px;
  color: var(--navy-950);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.section-head p {
  margin: 0;
  color: var(--slate-500);
  font-size: 18px;
}

.modules {
  background: #fff;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.module-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(15, 38, 75, .045);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.module-card::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 165, 233, .08), rgba(16, 185, 129, .1));
  transition: transform .3s;
}

.module-card:hover {
  transform: translateY(-7px);
  border-color: rgba(20, 184, 166, .45);
  box-shadow: var(--shadow);
}

.module-card:hover::before {
  transform: scale(1.3);
}

.module-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  color: var(--teal-600);
  background: linear-gradient(135deg, #e2fbf5, #eaf6ff);
  border-radius: 15px;
}

.module-card h3 {
  margin: 22px 0 8px;
  color: var(--navy-900);
  font-size: 17px;
  line-height: 1.3;
}

.module-card p {
  margin: 0 0 20px;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.65;
}

.module-card a {
  margin-top: auto;
  color: var(--teal-600);
  font-size: 12px;
  font-weight: 800;
}

.module-card a span {
  display: inline-block;
  transition: transform .2s;
}

.module-card a:hover span {
  transform: translateX(4px);
}

.showcase {
  background: linear-gradient(180deg, #f5faff, #fff);
}

.showcase__grid,
.workflow-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 76px;
}

.showcase__media,
.workflow-media {
  position: relative;
}

.showcase__media::before {
  content: "";
  position: absolute;
  inset: 26px -22px -22px 28px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(14, 165, 233, .18), rgba(16, 185, 129, .15));
  filter: blur(3px);
}

.showcase__media img,
.workflow-media img {
  position: relative;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.image-badge {
  position: absolute;
  left: -25px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 15px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.image-badge>svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  color: white;
  background: var(--green-500);
  border-radius: 50%;
  stroke-width: 2.4;
}

.image-badge div {
  display: grid;
  line-height: 1.3;
}

.image-badge b {
  font-size: 13px;
}

.image-badge small {
  color: var(--slate-500);
  font-size: 10px;
}

.showcase__content>p,
.workflow-content>p {
  margin: 0;
  color: var(--slate-500);
  font-size: 17px;
}

.feature-list {
  display: grid;
  gap: 22px;
  margin: 34px 0;
}

.feature-list>div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}

.feature-list>div>span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--teal-500), var(--green-500));
  border-radius: 50%;
}

.feature-list svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.feature-list h3 {
  margin: 0 0 3px;
  color: var(--navy-900);
  font-size: 17px;
}

.feature-list p {
  margin: 0;
  color: var(--slate-500);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-600);
  font-weight: 800;
}

.workflow-section {
  background: #fff;
}

.workflow-grid {
  grid-template-columns: .85fr 1.15fr;
}

.workflow-media::before {
  content: "";
  position: absolute;
  inset: -22px 22px 26px -22px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(16, 185, 129, .13), rgba(14, 165, 233, .16));
}

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

.step-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--slate-200);
  border-radius: 17px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.step-list li:hover {
  transform: translateX(5px);
  border-color: rgba(20, 184, 166, .5);
  box-shadow: var(--shadow-sm);
}

.step-list li>span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--teal-600);
  background: var(--mint-100);
  border-radius: 13px;
  font-size: 12px;
  font-weight: 800;
}

.step-list h3 {
  margin: 0 0 3px;
  color: var(--navy-900);
  font-size: 16px;
}

.step-list p {
  margin: 0;
  color: var(--slate-500);
  font-size: 13px;
}

.intelligence {
  position: relative;
  overflow: hidden;
  color: #dbeeff;
  background: linear-gradient(135deg, #061b3c 0%, #0a3564 55%, #09635f 130%);
}

.intelligence::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .23;
  background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 60% 40%, #000, transparent 70%);
}


.intelligence__media img {
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .36);
}

.intelligence h2 {
  color: white;
}

.intelligence__content>p {
  margin: 0;
  color: #c7daea;
  font-size: 17px;
}

.intelligence-points {
  display: grid;
  gap: 20px;
  margin: 34px 0;
}

.intelligence-points>div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.intelligence-points>div>svg {
  width: 46px;
  height: 46px;
  padding: 12px;
  color: #7ff1d3;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
}

.intelligence-points span {
  display: grid;
}

.intelligence-points b {
  color: white;
}

.intelligence-points small {
  color: #b7cde0;
  font-size: 13px;
}

.numbers-section {
  padding-top: 100px;
  padding-bottom: 70px;
  background: #fff;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.number-card {
  padding: 35px 24px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border-right: 1px solid var(--slate-200);
}

.number-card:last-child {
  border-right: 0;
}

.number-card strong {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, var(--cyan-500), var(--green-500));
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 43px;
  line-height: 1;
}

.number-card span {
  display: block;
  margin-top: 10px;
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 650;
}

.why-section {
  padding-top: 70px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-card {
  padding: 30px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  box-shadow: 0 13px 34px rgba(15, 38, 75, .05);
}

.why-card>span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--teal-600);
  background: linear-gradient(135deg, var(--mint-100), var(--sky-100));
  border-radius: 15px;
}

.why-card h3 {
  margin: 20px 0 8px;
  color: var(--navy-900);
  font-size: 18px;
}

.why-card p {
  margin: 0;
  color: var(--slate-500);
  font-size: 14px;
}

.faq {
  background: #f7fbff;
}

.faq__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 120px;
}

.faq__intro p {
  margin: 0 0 28px;
  color: var(--slate-500);
  font-size: 17px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion__item {
  overflow: hidden;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  box-shadow: 0 9px 26px rgba(15, 38, 75, .04);
}

.accordion__item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: var(--navy-900);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 750;
}

.accordion__item button i {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--slate-100);
}

.accordion__item button i::before,
.accordion__item button i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--teal-600);
  transform: translate(-50%, -50%);
  transition: transform .2s;
}

.accordion__item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__item.is-open button i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.accordion__panel>p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 24px;
  color: var(--slate-500);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__item.is-open .accordion__panel>p {
  padding-bottom: 22px;
}

.demo-section {
  padding: 0 0 82px;
  background: #f7fbff;
}

.demo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 58px;
  color: #d8f6ff;
  background: linear-gradient(120deg, #0c3062, #078a7e 80%, #10a578);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(7, 48, 83, .22);
}

.demo-card::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -120px;
  top: -180px;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, .07);
}

.demo-card__content {
  position: relative;
  max-width: 760px;
}

.demo-card h2 {
  margin: 14px 0 10px;
  color: white;
  font-size: clamp(34px, 4vw, 49px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.demo-card p {
  margin: 0;
  color: #c9e8f2;
  font-size: 17px;
}

.demo-card .btn {
  position: relative;
  flex: 0 0 auto;
}

.site-footer {
  color: #b7c9df;
  background: #051a39;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 70px;
  padding: 72px 0 54px;
}

.footer-brand img {
  width: 174px;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.footer-brand p {
  max-width: 350px;
  color: #9eb5cf;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 8px 12px;
  color: #bceee2;
  background: rgba(20, 184, 166, .1);
  border: 1px solid rgba(20, 184, 166, .18);
  border-radius: 999px;
  font-size: 11px;
}

.footer-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
}

.footer-grid h3 {
  margin: 4px 0 18px;
  color: white;
  font-size: 14px;
}

.footer-grid>div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

.footer-grid a:hover,
.footer-grid button:hover {
  color: #6ff3d1;
}

.footer-grid button {
  padding: 0;
  margin-top: 6px;
  color: #7cf2d4;
  background: transparent;
  border: 0;
  font-weight: 750;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #718aa7;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.demo-modal {
  width: min(1040px, calc(100% - 28px));
  max-height: calc(100vh - 30px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 45px 120px rgba(2, 18, 43, .45);
}

.demo-modal::backdrop {
  background: rgba(3, 16, 35, .72);
  backdrop-filter: blur(7px);
}

.modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  min-height: 680px;
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--slate-600);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--slate-200);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.modal-visual {
  position: relative;
  overflow: hidden;
  padding: 48px;
  color: white;
  background: linear-gradient(145deg, #071f46, #0b4971 70%, #078276);
}

.modal-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(52, 211, 153, .24), transparent 30%), linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: auto, 45px 45px, 45px 45px;
}

.modal-visual__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.modal-visual h3 {
  margin: 36px 0 15px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.modal-visual p {
  color: #c8e0f0;
}

.modal-visual ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.modal-visual li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.modal-visual li svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  color: white;
  background: rgba(52, 211, 153, .3);
  border-radius: 50%;
  stroke-width: 2.6;
}

.modal-form-wrap {
  padding: 50px;
  background: white;
}

.modal-form-wrap h2 {
  margin: 12px 0 8px;
  color: var(--navy-950);
  font-size: 38px;
  letter-spacing: -.04em;
}

.modal-form-wrap>p {
  margin: 0 0 28px;
  color: var(--slate-500);
  font-size: 13px;
}

.modal-form-wrap code {
  color: var(--teal-600);
  background: var(--mint-100);
  padding: 2px 5px;
  border-radius: 5px;
}

.demo-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 700;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  color: var(--slate-700);
  background: #fbfdff;
  border: 1px solid var(--slate-200);
  border-radius: 11px;
  outline: 0;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.demo-form input,
.demo-form select {
  height: 48px;
  padding: 0 13px;
}

.demo-form textarea {
  resize: vertical;
  padding: 12px 13px;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  background: #fff;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .1);
}

.demo-form .is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .08);
}

.form-feedback {
  min-height: 20px;
  color: var(--danger);
  font-size: 12px;
}

.form-feedback.is-success {
  padding: 10px 12px;
  color: #08735b;
  background: #e4fbf3;
  border-radius: 9px;
}

.form-note {
  color: var(--slate-400);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal--delay {
  transition-delay: .14s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

  .nav-actions .btn--ghost {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero__content {
    max-width: 780px;
    text-align: center;
    margin-inline: auto;
  }

  .hero__content .eyebrow,
  .hero__proof,
  .hero__actions {
    justify-content: center;
  }

  .hero h1,
  .hero__lead {
    margin-inline: auto;
  }

  .hero__visual {
    width: min(850px, 100%);
    margin-inline: auto;
  }

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

  .showcase__grid,
  .workflow-grid {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .announcement__inner {
    min-height: 44px;
    flex-wrap: wrap;
    padding: 7px 0;
    line-height: 1.35;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .primary-nav {
    position: fixed;
    z-index: 55;
    top: calc(var(--header-height) + 44px);
    left: 20px;
    right: 20px;
    display: grid;
    width: auto;
    align-self: auto;
    justify-content: stretch;
    gap: 0;
    padding: 12px;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .primary-nav a {
    min-height: auto;
    padding: 13px 14px;
    border-radius: 10px;
  }

  .primary-nav a:hover {
    background: var(--slate-100);
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-wrap {
    display: flex;
    height: 100%;
    gap: 10px;
  }

  .brand {
    order: 1;
  }

  /*
     * Keep nav-actions visible because it contains
     * the language selector.
     */
  .nav-actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin-left: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  /*
     * Hide only the two navigation buttons on mobile,
     * not the complete nav-actions container.
     */
  .nav-actions>.btn {
    display: none;
  }

  .language-switcher {
    display: block;
    position: relative;
    z-index: 70;
  }

  /*
     * Your existing language CSS already reduces
     * this button to the flag-only version.
     */
  .language-switcher__button {
    display: grid;
    width: 48px;
    min-width: 48px;
    min-height: 46px;
    padding: 6px;
    grid-template-columns: 1fr;
  }

  .language-switcher__current,
  .language-switcher__code,
  .language-switcher__chevron {
    display: none;
  }

  .menu-toggle {
    order: 3;
    display: block;
    margin-left: 0;
  }

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

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

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

  .section {
    padding: 88px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

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

  .showcase__grid,
  .workflow-grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .showcase__content,
  .workflow-content,
  .intelligence__content {
    max-width: 700px;
  }

  .workflow-media {
    order: -1;
  }

  .faq__intro {
    position: static;
  }

  .number-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .number-card:nth-child(2) {
    border-right: 0;
  }

  .number-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--slate-200);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 45px;
  }

  .footer-grid>div:last-child {
    grid-column: 2 / 4;
  }

  .modal-shell {
    grid-template-columns: 1fr;
  }

  .modal-visual {
    min-height: 370px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 150px;
  }

  .hero {
    padding: 72px 0 58px;
  }

  .hero h1 {
    font-size: clamp(43px, 14vw, 60px);
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__proof {
    display: grid;
    gap: 10px;
    justify-content: start;
    text-align: left;
  }

  .dashboard-shell {
    border-radius: 17px;
  }

  .dashboard-topbar {
    padding: 0 10px;
  }

  .dashboard-select {
    display: none;
  }

  .dashboard-body {
    grid-template-columns: 72px 1fr;
    min-height: 390px;
  }

  .dashboard-sidebar {
    padding: 12px 7px;
  }

  .dashboard-sidebar a {
    justify-content: center;
    padding: 0;
  }

  .dashboard-sidebar a span {
    display: none;
  }

  .dashboard-sidebar svg {
    width: 16px;
    height: 16px;
  }

  .dashboard-main {
    padding: 10px;
  }

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

  .metric-card:nth-child(n+3) {
    display: none;
  }

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

  .alerts-card {
    display: none;
  }

  .line-chart {
    height: 150px;
  }

  .floating-card--stock {
    left: 8px;
    bottom: -50px;
  }

  .floating-card--restock {
    display: none;
  }

  .trust-strip {
    padding-top: 66px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-item {
    border-right: 0;
    padding: 0;
  }

  .module-grid,
  .number-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 230px;
  }

  .number-card {
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
  }

  .number-card:last-child {
    border-bottom: 0;
  }

  .showcase__grid,
  .workflow-grid {
    gap: 42px;
  }

  .showcase__media::before,
  .workflow-media::before {
    inset: 10px -8px -8px 10px;
  }

  .image-badge {
    left: 10px;
    bottom: -24px;
  }

  .showcase__content {
    padding-top: 22px;
  }

  .section-head h2,
  .showcase h2,
  .workflow-section h2,
  .intelligence h2,
  .faq h2 {
    font-size: 38px;
  }

  .step-list li {
    grid-template-columns: 42px 1fr;
    padding: 14px;
  }

  .step-list li>span {
    width: 40px;
    height: 40px;
  }

  .demo-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px 28px;
  }

  .demo-card .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid>div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .modal-form-wrap {
    padding: 38px 22px 28px;
  }

  .modal-visual {
    padding: 35px 25px;
  }

  .modal-visual h3 {
    font-size: 34px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

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


/* Professional v2 enhancements */
.announcement strong {
  color: #fff;
}

.hero {
  padding-top: 60px;
}

.hero-product-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px 9px 10px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(14, 165, 233, .18);
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(12, 39, 79, .08);
  backdrop-filter: blur(16px);
}

.hero-product-badge__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-500), var(--green-500));
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(14, 165, 233, .25);
}

.hero-product-badge__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.hero-product-badge>span:last-child {
  display: grid;
  line-height: 1.2;
}

.hero-product-badge b {
  font-size: 12px;
}

.hero-product-badge small {
  color: var(--slate-500);
  font-size: 10px;
}

.hero-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin-top: 28px;
}

.hero-mini-metrics>div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 60px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  box-shadow: 0 9px 25px rgba(15, 38, 75, .045);
}

.hero-mini-metrics strong {
  color: var(--navy-900);
  font-size: 21px;
  letter-spacing: -.04em;
}

.hero-mini-metrics span {
  color: var(--slate-500);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
}

.live-badge--ai {
  gap: 6px;
  color: #087662;
  background: #e5fbf5;
  border: 1px solid #c7f4e7;
}

.live-badge--ai svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.floating-card--ai {
  right: -36px;
  top: 105px;
  animation: floatCard 5.5s ease-in-out infinite;
}

.floating-card--ai .floating-icon {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
}

.floating-card--ai em {
  color: #7c3aed;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.module-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-card {
  min-height: 275px;
  padding: 30px 25px 24px;
}

.module-card--featured {
  color: #dcecff;
  background: linear-gradient(145deg, #071f46, #0b4e76 70%, #087b70);
  border-color: transparent;
  box-shadow: 0 24px 55px rgba(5, 38, 78, .24);
}

.module-card--featured h3,
.module-card--featured a {
  color: #fff;
}

.module-card--featured p {
  color: #bdd7e8;
}

.module-card--featured .module-icon {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
}

.module-card--featured::before {
  background: radial-gradient(circle, rgba(52, 211, 153, .3), transparent 65%);
}

.module-card--accent {
  background: linear-gradient(160deg, #f6fbff, #effcf8);
  border-color: rgba(20, 184, 166, .28);
}

.module-card--secure {
  background: linear-gradient(160deg, #fff, #f5f2ff);
  border-color: rgba(124, 58, 237, .18);
}

.module-card--secure .module-icon {
  color: #6d28d9;
  background: #f0e9ff;
}

.module-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  color: var(--teal-600);
  background: rgba(223, 249, 243, .9);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.module-card--featured .module-tag {
  color: #b9ffe9;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .12);
}

.module-card--secure .module-tag {
  color: #6d28d9;
  background: #efe8ff;
}

.ai-media-frame {
  position: relative;
}

.ai-model-chip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -28px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 15px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px);
}

.ai-model-chip>span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9, #10b981);
  border-radius: 14px;
}

.ai-model-chip svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ai-model-chip div {
  display: grid;
  line-height: 1.25;
}

.ai-model-chip small {
  color: var(--slate-500);
  font-size: 10px;
}

.ai-model-chip b {
  font-size: 13px;
}

.ai-model-chip em {
  padding: 6px 9px;
  color: #087662;
  background: #e2faf2;
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.ai-source-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.ai-source-grid span {
  padding: 7px 10px;
  color: #bce2f2;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.automations {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.automations::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  top: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, .12), transparent 66%);
}

.automation-layout {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 58px;
  align-items: center;
}

.automation-copy {
  display: grid;
  gap: 12px;
}

.automation-feature {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 15px;
  padding: 22px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid transparent;
  border-radius: 20px;
  cursor: pointer;
  transition: .25s ease;
}

.automation-feature:hover,
.automation-feature.is-active {
  background: #fff;
  border-color: rgba(20, 184, 166, .3);
  box-shadow: 0 18px 45px rgba(15, 38, 75, .09);
  transform: translateX(5px);
}

.automation-feature>span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--teal-600);
  background: linear-gradient(135deg, var(--mint-100), var(--sky-100));
  border-radius: 15px;
}

.automation-feature svg,
.interaction-security svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.automation-feature small {
  color: var(--teal-600);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.automation-feature h3 {
  margin: 3px 0 5px;
  color: var(--navy-900);
  font-size: 18px;
}

.automation-feature p {
  margin: 0;
  color: var(--slate-500);
  font-size: 13px;
}

.automation-stage {
  position: relative;
  min-height: 535px;
  padding: 28px;
  background: linear-gradient(145deg, #071f46, #0b4670 70%, #078576);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.automation-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: inherit;
}

.automation-preview {
  position: absolute;
  inset: 28px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: opacity .3s, transform .3s, visibility .3s;
}

.automation-preview.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.mail-window {
  overflow: hidden;
  color: var(--slate-700);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .25);
}

.mail-window__top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  background: #f8fafc;
  border-bottom: 1px solid var(--slate-200);
}

.mail-window__top>span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b6b;
}

.mail-window__top>span:nth-child(2) {
  background: #fbbf24
}

.mail-window__top>span:nth-child(3) {
  background: #34d399
}

.mail-window__top b {
  margin-left: 8px;
  color: var(--navy-900);
  font-size: 11px;
}

.mail-window__top em {
  margin-left: auto;
  color: #7c3aed;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.mail-fields {
  padding: 10px 20px 0;
}

.mail-fields>div {
  display: grid;
  grid-template-columns: 55px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

.mail-fields small {
  color: var(--slate-400);
  font-size: 10px;
}

.mail-fields b {
  font-size: 11px;
}

.mail-body {
  min-height: 280px;
  padding: 19px 24px;
  color: var(--slate-600);
  font-size: 12px;
}

.mail-body p {
  margin: 0 0 15px;
}

.mail-order-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  margin-bottom: 7px;
  background: #f6fbff;
  border: 1px solid #e6f1f7;
  border-radius: 9px;
}

.mail-order-row b {
  color: var(--navy-900);
}

.mail-window__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--slate-200);
}

.mail-window__footer button {
  min-height: 37px;
  padding: 0 15px;
  color: var(--slate-600);
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
}

.mail-window__footer .mail-send {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-600), var(--green-500));
  border-color: transparent;
}

.alert-preview,
.report-preview {
  padding: 30px;
  color: var(--slate-700);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .25);
}

.alert-mail-header {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--slate-200);
}

.alert-mail-header>span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 15px;
}

.alert-mail-header small,
.report-preview>div>small {
  color: var(--slate-400);
  font-size: 10px;
}

.alert-mail-header h3,
.report-preview h3 {
  margin: 2px 0 0;
  color: var(--navy-900);
  font-size: 20px;
}

.alert-mail-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.alert-mail-list>div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 12px;
}

.alert-mail-list i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.alert-mail-list i.danger {
  background: #ef4444
}

.alert-mail-list i.warning {
  background: #f59e0b
}

.alert-mail-list i.info {
  background: #0ea5e9
}

.alert-mail-list span {
  display: grid;
}

.alert-mail-list b {
  color: var(--navy-900);
  font-size: 12px;
}

.alert-mail-list small {
  color: var(--slate-500);
  font-size: 10px;
}

.alert-mail-list em {
  padding: 5px 8px;
  color: #8a4b0c;
  background: #fff2d8;
  border-radius: 999px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.alert-mail-action {
  width: 100%;
  min-height: 44px;
  color: #fff;
  background: var(--navy-900);
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.report-preview {
  display: grid;
  align-content: center;
  gap: 22px;
}

.report-preview__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-500), var(--green-500));
  border-radius: 20px;
}

.report-preview__icon svg {
  width: 32px;
  height: 32px;
}

.report-preview p {
  color: var(--slate-500);
  font-size: 13px;
}

.report-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px;
  color: var(--navy-900);
  background: #f3f9ff;
  border: 1px solid #dcecf8;
  border-radius: 13px;
}

.report-file span {
  font-size: 12px;
  font-weight: 750;
}

.report-file b {
  color: var(--teal-600);
  font-size: 9px;
}

.delivery-history {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}

.delivery-history span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}

.delivery-history i {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
}

.delivery-history small {
  color: var(--slate-400);
  font-size: 9px;
}

.interaction-security {
  background: #fff;
}

.interaction-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 70px;
}

.interaction-content h2 {
  margin: 15px 0 18px;
  color: var(--navy-950);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.interaction-lead {
  margin: 0;
  color: var(--slate-600);
  font-size: 18px;
  line-height: 1.75;
}

.rule-levels {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.rule-levels>div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 13px;
  padding: 17px;
  background: #f8fbff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
}

.rule-levels>div>span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--teal-600);
  background: var(--mint-100);
  border-radius: 13px;
}

.rule-levels h3 {
  margin: 0 0 4px;
  color: var(--navy-900);
  font-size: 15px;
}

.rule-levels p {
  margin: 0;
  color: var(--slate-500);
  font-size: 12px;
}

.security-note {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 17px;
  color: #4a356f;
  background: linear-gradient(135deg, #f6f1ff, #f3f9ff);
  border: 1px solid #e8dcff;
  border-radius: 16px;
}

.security-note svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  color: #6d28d9;
  background: #ede4ff;
  border-radius: 12px;
}

.security-note p {
  margin: 0;
  font-size: 12px;
}

.interaction-visual {
  position: relative;
  padding: 28px;
  background: linear-gradient(145deg, #071f46, #0b3e6b 70%, #33307c);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.interaction-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: radial-gradient(circle at 80% 10%, rgba(125, 211, 252, .8), transparent 24%), linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  border-radius: inherit;
}

.interaction-console {
  position: relative;
  padding: 21px;
  color: var(--slate-700);
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, .25);
}

.interaction-console__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.interaction-console__top>div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-900);
  font-size: 12px;
}

.secure-live {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  color: #087662;
  background: #e6fbf4;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
}

.secure-live i {
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}

.sale-items {
  padding: 18px 0;
}

.sale-items>small {
  color: var(--slate-400);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sale-items>div {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--slate-100);
}

.medicine-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #087662;
  background: #dff9f3;
  border-radius: 11px;
  font-size: 9px;
  font-weight: 850
}

.medicine-avatar--blue {
  color: #195ea5;
  background: #e6f2ff
}

.sale-items p {
  display: grid;
  margin: 0;
  line-height: 1.25
}

.sale-items b {
  color: var(--navy-900);
  font-size: 11px
}

.sale-items small {
  color: var(--slate-400);
  font-size: 8px
}

.sale-items em {
  color: #087662;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.scan-line {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  color: #385573;
  background: #f3f8fd;
  border-radius: 10px;
  font-size: 9px;
}

.scan-line span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(#0ea5e9, #10b981);
  box-shadow: 0 0 14px #0ea5e9;
  animation: scanMove 2.8s ease-in-out infinite
}

.scan-line em {
  margin-left: auto;
  color: #087662;
  font-style: normal;
  font-weight: 800
}

@keyframes scanMove {

  0%,
  100% {
    left: 0
  }

  50% {
    left: 100%
  }
}

.interaction-result {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 13px;
  margin-top: 15px;
  padding: 16px;
  border-radius: 14px
}

.interaction-result--warning {
  color: #7b3c16;
  background: #fff4e9;
  border: 1px solid #ffd7b5
}

.interaction-result>span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: 13px
}

.interaction-result small {
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em
}

.interaction-result h3 {
  margin: 2px 0 5px;
  color: #6f3214;
  font-size: 14px
}

.interaction-result p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5
}

.rule-origin {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px
}

.rule-origin span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  color: var(--slate-500);
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700
}

.rule-origin svg {
  width: 12px;
  height: 12px
}

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

.interaction-actions button {
  min-height: 37px;
  padding: 0 14px;
  color: var(--slate-600);
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800
}

.interaction-actions .interaction-primary {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900)
}

@media (max-width: 1120px) {
  .module-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .automation-layout,
  .interaction-grid {
    gap: 42px;
  }

  .floating-card--ai {
    right: 10px;
  }
}

@media (max-width: 900px) {
  .hero-mini-metrics {
    margin-inline: auto;
  }

  .automation-layout,
  .interaction-grid {
    grid-template-columns: 1fr;
  }

  .automation-stage {
    min-height: 535px;
  }

  .interaction-content {
    max-width: 720px;
  }

  .interaction-visual {
    width: min(720px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hero-product-badge {
    margin-inline: auto;
    text-align: left;
  }

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

  .hero-mini-metrics>div {
    justify-content: center;
  }

  .floating-card--ai {
    display: none;
  }

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

  .ai-model-chip {
    left: 10px;
    right: 10px;
    bottom: -35px;
    grid-template-columns: 40px 1fr;
  }

  .ai-model-chip>span {
    width: 40px;
    height: 40px
  }

  .ai-model-chip em {
    grid-column: 2;
    justify-self: start;
  }

  .intelligence__content {
    padding-top: 24px;
  }

  .automation-feature {
    grid-template-columns: 44px 1fr;
    padding: 17px;
  }

  .automation-feature>span {
    width: 42px;
    height: 42px;
  }

  .automation-stage {
    min-height: 555px;
    padding: 14px;
    border-radius: 23px;
  }

  .automation-preview {
    inset: 14px
  }

  .mail-body {
    min-height: 300px
  }

  .mail-window__footer {
    flex-direction: column
  }

  .mail-window__footer button {
    width: 100%
  }

  .interaction-visual {
    padding: 13px;
    border-radius: 23px;
  }

  .interaction-console {
    padding: 14px
  }

  .interaction-console__top {
    align-items: flex-start;
    gap: 8px
  }

  .secure-live {
    max-width: 105px;
    text-align: center
  }

  .interaction-actions {
    flex-direction: column
  }

  .interaction-actions button {
    width: 100%
  }
}

@media (max-width: 1120px) {

  .hero-product-badge,
  .hero-mini-metrics {
    margin-inline: auto;
  }
}





/* =========================================================
   INFORMARY AI — COMPACT PREMIUM SECTION
========================================================= */

.section.intelligence {
  position: relative;
  min-height: auto;
  padding: 72px 0;
  overflow: hidden;
  color: #ffffff;

  background:
    radial-gradient(circle at 90% 15%,
      rgba(24, 188, 185, 0.18),
      transparent 34%),
    linear-gradient(120deg,
      #082953 0%,
      #0a3965 54%,
      #07586a 100%);
}

/* Subtle background grid */
.section.intelligence::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.25) 1px,
      transparent 1px);

  background-size: 52px 52px;
}

.intelligence__grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns:
    minmax(0, 0.95fr) minmax(0, 1.05fr);

  align-items: center;

  gap: clamp(42px, 6vw, 88px);
}

/* =========================================================
   IMAGE
========================================================= */

.intelligence__media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ai-media-frame {
  position: relative;

  width: min(100%, 560px);
  padding-bottom: 22px;
}

.ai-media-frame::before {
  content: "";
  position: absolute;
  inset: 14px -14px 6px 14px;

  border-radius: 28px;

  background: linear-gradient(135deg,
      rgba(47, 212, 197, 0.2),
      rgba(69, 136, 255, 0.13));

  filter: blur(22px);
}

.ai-media-frame>img {
  position: relative;

  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;

  box-shadow:
    0 30px 70px rgba(0, 16, 40, 0.34),
    0 8px 24px rgba(0, 17, 43, 0.2);
}

/* =========================================================
   MODEL STATUS CARD
========================================================= */

.ai-model-chip {
  position: absolute;

  right: 20px;
  bottom: 0;
  left: 20px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  gap: 13px;

  min-height: 66px;
  padding: 10px 14px;

  color: #102b4c;

  background: rgba(255, 255, 255, 0.96);

  border:
    1px solid rgba(255, 255, 255, 0.72);

  border-radius: 17px;

  box-shadow:
    0 18px 38px rgba(3, 23, 51, 0.23);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ai-model-chip__icon {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  color: #ffffff;

  border-radius: 12px;

  background: linear-gradient(135deg,
      #168bed,
      #14c6a3);
}

.ai-model-chip__icon svg {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ai-model-chip__content {
  display: grid;
  gap: 1px;
}

.ai-model-chip__content small {
  color: #6a7c91;
  font-size: 10px;
}

.ai-model-chip__content b {
  color: #173453;
  font-size: 12px;
  line-height: 1.3;
}

.ai-model-chip em {
  padding: 7px 10px;

  color: #09785e;

  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;

  background: #e5faf3;
  border-radius: 999px;
}

/* =========================================================
   CONTENT
========================================================= */

.intelligence__content {
  max-width: 620px;
}

.intelligence__content .eyebrow {
  margin-bottom: 14px;
}

.intelligence__content h2 {
  max-width: 600px;
  margin: 0 0 17px;

  color: #ffffff;

  font-size: clamp(36px, 3.7vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.intelligence__description {
  max-width: 610px;
  margin: 0;

  color: rgba(231, 241, 250, 0.78);

  font-size: 15px;
  line-height: 1.72;
}

.ai-ownership {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 15px;
  margin-top: 19px;
  background:
    linear-gradient(
      120deg,
      rgba(92, 226, 212, 0.12),
      rgba(255, 255, 255, 0.055)
    );
  border: 1px solid rgba(109, 229, 211, 0.23);
  border-radius: 15px;
}

.ai-ownership__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #75ead5;
  background: rgba(4, 28, 61, 0.35);
  border: 1px solid rgba(117, 234, 213, 0.19);
  border-radius: 11px;
}

.ai-ownership__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ai-ownership__content {
  display: grid;
  gap: 2px;
}

.ai-ownership__content > span {
  color: #76e9d4;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ai-ownership__content b {
  color: white;
  font-size: 13px;
}

.ai-ownership__content small {
  color: rgba(220, 237, 246, 0.68);
  font-size: 10px;
  line-height: 1.5;
}

/* =========================================================
   DATA SOURCES
========================================================= */

.ai-source-label {
  display: block;
  margin-top: 18px;
  color: rgba(181, 224, 229, 0.72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ai-source-grid {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-top: 8px;
}

.ai-source-grid span {
  display: inline-flex;
  align-items: center;

  min-height: 30px;
  padding: 6px 11px;

  color: rgba(242, 249, 255, 0.88);

  font-size: 10px;
  line-height: 1;

  background: rgba(255, 255, 255, 0.07);

  border:
    1px solid rgba(255, 255, 255, 0.17);

  border-radius: 999px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* =========================================================
   FEATURE POINTS
========================================================= */

.intelligence-points {
  display: grid;
  gap: 11px;

  margin: 26px 0 25px;
}

.intelligence-point {
  display: grid;

  grid-template-columns: 42px minmax(0, 1fr);

  align-items: start;

  gap: 13px;
}

.intelligence-point__icon {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  color: #5ce2d4;

  background: rgba(255, 255, 255, 0.07);

  border:
    1px solid rgba(255, 255, 255, 0.15);

  border-radius: 12px;
}

.intelligence-point__icon svg {
  width: 19px;
  height: 19px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.intelligence-point__content {
  display: grid;
  gap: 3px;

  padding-top: 2px;
}

.intelligence-point__content b {
  color: #ffffff;

  font-size: 14px;
  line-height: 1.3;
}

.intelligence-point__content small {
  max-width: 520px;

  color: rgba(220, 235, 246, 0.68);

  font-size: 11px;
  line-height: 1.55;
}

/* =========================================================
   BUTTON
========================================================= */

.intelligence .btn--light {
  min-height: 48px;
  padding: 0 20px;

  color: #0b3159;

  background: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.76);

  box-shadow:
    0 12px 28px rgba(0, 20, 49, 0.2);
}

.intelligence .btn--light:hover {
  color: #083c63;

  background: #eafdf8;

  transform: translateY(-2px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
  .section.intelligence {
    padding: 64px 0;
  }

  .intelligence__grid {
    grid-template-columns: 1fr;

    gap: 48px;
  }

  .intelligence__media {
    justify-content: center;
  }

  .ai-media-frame {
    width: min(100%, 700px);
  }

  .intelligence__content {
    max-width: 700px;
    margin: 0 auto;
  }

  .intelligence__content h2 {
    max-width: 650px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575px) {
  .section.intelligence {
    padding: 50px 0;
  }

  .intelligence__grid {
    gap: 38px;
  }

  .ai-media-frame {
    padding-bottom: 0;
  }

  .ai-media-frame>img {
    border-radius: 20px;
  }

  .ai-model-chip {
    position: relative;

    right: auto;
    bottom: auto;
    left: auto;

    grid-template-columns: auto 1fr;

    margin: -20px 12px 0;
    padding: 10px 12px;

    border-radius: 15px;
  }

  .ai-model-chip em {
    grid-column: 2;

    justify-self: start;

    margin-top: 2px;
  }

  .intelligence__content h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .intelligence__description {
    font-size: 14px;
    line-height: 1.65;
  }

  .ai-source-grid {
    margin-top: 18px;
  }

  .intelligence-points {
    margin: 23px 0;
  }

  .intelligence .btn--light {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================= */



.alert-mail-header>span>svg {
  display: block;

  width: 20px;
  height: 20px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.report-preview__icon>svg {
  display: block;

  width: 32px;
  height: 32px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}


/* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.language-switcher {
  position: relative;
  z-index: 40;
}

.language-switcher__button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;

  min-width: 172px;
  min-height: 46px;
  padding: 6px 11px 6px 7px;

  color: var(--navy-900, #102b4c);
  font-family: inherit;
  text-align: left;

  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.96),
      rgba(246, 251, 255, 0.93));

  border: 1px solid rgba(17, 66, 108, 0.12);
  border-radius: 14px;

  box-shadow:
    0 5px 16px rgba(12, 45, 76, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.language-switcher__button:hover {
  border-color: rgba(20, 184, 166, 0.32);

  box-shadow:
    0 10px 25px rgba(12, 45, 76, 0.1),
    0 0 0 3px rgba(20, 184, 166, 0.06);

  transform: translateY(-1px);
}

.language-switcher__button:focus-visible {
  outline: none;

  border-color: #14b8a6;

  box-shadow:
    0 0 0 4px rgba(20, 184, 166, 0.14),
    0 10px 25px rgba(12, 45, 76, 0.1);
}

.language-switcher__flag {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  overflow: hidden;

  background: #ffffff;
  border: 1px solid rgba(15, 49, 82, 0.1);
  border-radius: 10px;

  box-shadow: 0 3px 8px rgba(14, 45, 74, 0.08);
}

.language-switcher__flag img {
  display: block;

  width: 24px;
  height: 17px;

  object-fit: cover;
  border-radius: 3px;
}

.language-switcher__current {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.language-switcher__current small {
  color: #8795a7;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.language-switcher__current b {
  overflow: hidden;

  color: #153555;
  font-size: 12px;
  line-height: 1.25;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-switcher__code {
  display: grid;
  place-items: center;

  min-width: 28px;
  height: 24px;
  padding: 0 6px;

  color: #087c6c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;

  background: #e8faf6;
  border-radius: 7px;
}

.language-switcher__chevron {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: #708297;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform 0.22s ease;
}

.language-switcher.is-open .language-switcher__chevron {
  transform: rotate(180deg);
}

/* Dropdown menu */

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;

  width: 286px;
  padding: 10px;

  background: rgba(255, 255, 255, 0.97);

  border: 1px solid rgba(14, 56, 92, 0.1);
  border-radius: 19px;

  box-shadow:
    0 28px 65px rgba(8, 38, 67, 0.18),
    0 8px 20px rgba(8, 38, 67, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px) scale(0.98);
  transform-origin: top right;

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

.language-switcher.is-open .language-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.language-switcher__menu::before {
  content: "";

  position: absolute;
  top: -6px;
  right: 24px;

  width: 12px;
  height: 12px;

  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(14, 56, 92, 0.1);
  border-left: 1px solid rgba(14, 56, 92, 0.1);

  transform: rotate(45deg);
}

.language-switcher__heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;

  padding: 9px 9px 12px;

  border-bottom: 1px solid #edf1f5;
}

.language-switcher__heading-icon {
  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;

  color: #0e9483;

  background: linear-gradient(135deg,
      #e8faf6,
      #eaf5ff);

  border-radius: 11px;
}

.language-switcher__heading-icon svg {
  width: 19px;
  height: 19px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-switcher__heading div {
  display: grid;
  gap: 2px;
}

.language-switcher__heading b {
  color: #123453;
  font-size: 13px;
}

.language-switcher__heading small {
  color: #8492a3;
  font-size: 10px;
  line-height: 1.35;
}

.language-switcher__options {
  display: grid;
  gap: 4px;

  padding-top: 8px;
}

/* Language rows */

.language-option {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 11px;

  min-height: 54px;
  padding: 7px 9px;

  color: inherit;
  text-decoration: none;

  border: 1px solid transparent;
  border-radius: 13px;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.language-option:hover {
  background: #f4faf9;
  border-color: rgba(20, 184, 166, 0.1);
  transform: translateX(2px);
}

.language-option.is-active {
  background:
    linear-gradient(135deg,
      rgba(231, 250, 246, 0.92),
      rgba(237, 247, 255, 0.94));

  border-color: rgba(20, 184, 166, 0.16);
}

.language-option__flag {
  display: grid;
  place-items: center;

  width: 42px;
  height: 36px;

  overflow: hidden;

  background: #ffffff;
  border: 1px solid rgba(14, 54, 87, 0.09);
  border-radius: 10px;

  box-shadow: 0 3px 9px rgba(10, 40, 67, 0.07);
}

.language-option__flag img {
  display: block;

  width: 30px;
  height: 21px;

  object-fit: cover;
  border-radius: 3px;
}

.language-option__content {
  display: grid;
  gap: 2px;
}

.language-option__content b {
  color: #173654;
  font-size: 13px;
}

.language-option__content small {
  color: #8795a6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-option__check {
  display: grid;
  place-items: center;

  width: 27px;
  height: 27px;

  color: #ffffff;

  border-radius: 50%;
}

.language-option.is-active .language-option__check {
  background: linear-gradient(135deg,
      #11a891,
      #14b8a6);

  box-shadow: 0 5px 12px rgba(20, 184, 166, 0.25);
}

.language-option__check svg {
  width: 14px;
  height: 14px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tablet and mobile */

@media (max-width: 1100px) {
  .language-switcher__button {
    min-width: 48px;
    width: 48px;
    padding: 6px;
    grid-template-columns: 1fr;
  }

  .language-switcher__current,
  .language-switcher__code,
  .language-switcher__chevron {
    display: none;
  }
}

@media (max-width: 720px) {
  .language-switcher__menu {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;

    width: auto;
    max-width: 420px;
    margin-left: auto;

    transform-origin: top center;
  }

  .language-switcher__menu::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-wrap {
    gap: 7px;
  }

  .brand img {
    width: 145px;
  }

  .language-switcher__button {
    width: 43px;
    min-width: 43px;
    min-height: 43px;
  }

  .language-switcher__flag {
    width: 31px;
    height: 31px;
  }

  .menu-toggle {
    padding: 6px;
  }
}

@media (max-width: 720px) {
  .language-switcher__menu {
    position: fixed;

    top: calc(var(--header-height, 72px) + 52px);

    right: 16px;
    left: 16px;

    width: auto;
    max-width: 420px;
    margin-left: auto;

    z-index: 80;
    transform-origin: top center;
  }

  .language-switcher__menu::before {
    display: none;
  }
}

/* Demo request processing */

.form-honeypot {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  padding: 0 !important;
  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;

  border: 0 !important;
}

.form-feedback {
  min-height: 0;

  color: #66788c;
  font-size: 13px;
  line-height: 1.55;

  white-space: pre-line;
}

.form-feedback:empty {
  display: none;
}

.form-feedback.is-success,
.form-feedback.is-error {
  display: block;

  padding: 12px 14px;

  border-radius: 11px;
}

.form-feedback.is-success {
  color: #08745f;

  background: #eafaf5;
  border: 1px solid #ccefe4;
}

.form-feedback.is-error {
  color: #b4233c;

  background: #fff1f3;
  border: 1px solid #ffd7de;
}

.demo-form button.is-loading {
  cursor: wait;
  opacity: 0.78;
}

.demo-form button:disabled {
  pointer-events: none;
}

.demo-modal.is-submitting .modal-close {
  cursor: wait;
  opacity: 0.45;
}

.demo-form.is-submitting input,
.demo-form.is-submitting select,
.demo-form.is-submitting textarea {
  pointer-events: none;
}

.form-progress {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  color: #0a5d64;
  background: #edf9f7;
  border: 1px solid #c8ebe5;
  border-radius: 12px;
}

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

.form-progress__spinner {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(8, 124, 108, 0.2);
  border-top-color: #087c6c;
  border-radius: 50%;
  animation: demo-progress-spin 0.8s linear infinite;
}

.form-progress__content {
  display: grid;
  flex: 1;
  gap: 4px;
  min-width: 0;
}

.form-progress__content strong {
  font-size: 13px;
}

.form-progress__content > span:not(.form-progress__bar) {
  color: #4c6d70;
  font-size: 12px;
  line-height: 1.45;
}

.form-progress__bar {
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  background: rgba(8, 124, 108, 0.14);
  border-radius: 999px;
}

.form-progress__bar span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, #087c6c, #34d399);
  border-radius: inherit;
  animation: demo-progress-slide 1.25s ease-in-out infinite;
}

@keyframes demo-progress-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes demo-progress-slide {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(250%);
  }
}

.form-feedback.is-warning {
  color: #8a5a00;
  background: #fff8e6;
  border: 1px solid #f2d58a;
}

/* =========================================================
   LEGAL CENTER
========================================================= */

.legal-modal {
  width: min(1080px, calc(100% - 28px));
  max-width: calc(100% - 28px);
  max-height: min(860px, calc(100vh - 30px));
  padding: 0;
  overflow: hidden;
  color: var(--slate-700);
  background: #f8fbfd;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 45px 120px rgba(2, 18, 43, 0.45);
}

.legal-modal::backdrop {
  background: rgba(3, 16, 35, 0.76);
  backdrop-filter: blur(8px);
}

.legal-modal__shell {
  display: flex;
  flex-direction: column;
  max-height: min(860px, calc(100vh - 30px));
}

.legal-modal__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 74px 24px 30px;
  color: white;
  background:
    radial-gradient(
      circle at 80% 0,
      rgba(52, 211, 153, 0.22),
      transparent 38%
    ),
    linear-gradient(135deg, #071f46, #075e68);
}

.legal-modal__mark {
  display: grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #8bf0d5;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
}

.legal-modal__mark svg {
  width: 27px;
  height: 27px;
}

.legal-modal__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #8bf0d5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-modal__header h2 {
  margin: 0;
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.legal-modal__header p {
  max-width: 700px;
  margin: 4px 0 0;
  color: #c9dce8;
  font-size: 13px;
}

.legal-modal__close {
  position: absolute;
  top: 20px;
  right: 22px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
}

.legal-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(4deg);
}

.legal-modal__layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
}

.legal-modal__nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 24px 18px;
  background: #edf4f7;
  border-right: 1px solid #dbe7ec;
}

.legal-modal__nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px;
  color: var(--slate-600);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.legal-modal__nav button:hover {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.7);
}

.legal-modal__nav button:focus-visible,
.legal-modal__close:focus-visible {
  outline: 3px solid rgba(52, 211, 153, 0.75);
  outline-offset: 2px;
}

.legal-modal__nav button[aria-selected="true"] {
  color: #086c66;
  background: white;
  border-color: #d5e8e6;
  box-shadow: 0 7px 22px rgba(7, 58, 78, 0.07);
}

.legal-modal__nav-number {
  color: #8aa1ad;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.legal-modal__nav button[aria-selected="true"]
  .legal-modal__nav-number {
  color: #16a085;
}

.legal-modal__contact {
  padding: 16px 12px 4px;
  margin-top: auto;
  border-top: 1px solid #d6e3e8;
}

.legal-modal__contact span {
  display: block;
  margin-bottom: 3px;
  color: #718493;
  font-size: 11px;
}

.legal-modal__contact a {
  color: #087c6c;
  font-size: 12px;
  font-weight: 750;
}

.legal-modal__content {
  min-height: 0;
  max-height: calc(100vh - 166px);
  padding: 34px clamp(28px, 5vw, 62px) 54px;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-color: #b9ccd4 transparent;
  scrollbar-width: thin;
}

.legal-document[hidden] {
  display: none;
}

.legal-document__heading {
  padding-bottom: 27px;
  margin-bottom: 6px;
  border-bottom: 1px solid #e0e9ed;
}

.legal-document__heading > span {
  color: #0b8a78;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-document__heading h3 {
  margin: 7px 0 9px;
  color: var(--navy-950);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
}

.legal-document__heading p {
  max-width: 720px;
  margin: 0 0 13px;
  color: var(--slate-600);
  line-height: 1.7;
}

.legal-document__heading small {
  color: #8193a0;
  font-size: 11px;
}

.legal-document section {
  padding: 24px 0;
  border-bottom: 1px solid #e7eef1;
}

.legal-document section:last-child {
  border-bottom: 0;
}

.legal-document h4 {
  margin: 0 0 9px;
  color: var(--navy-900);
  font-size: 16px;
}

.legal-document section p {
  margin: 0;
  color: #536b7c;
  font-size: 13px;
  line-height: 1.78;
}

.legal-document a {
  color: #087c6c;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(8, 124, 108, 0.3);
  text-underline-offset: 3px;
}

.legal-document__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.legal-document__details > div {
  padding: 13px 15px;
  background: #f1f7f8;
  border: 1px solid #dfebee;
  border-radius: 11px;
}

.legal-document__details dt {
  margin-bottom: 4px;
  color: #7a8e9a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-document__details dd {
  margin: 0;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.legal-document section.legal-document__highlight {
  padding: 20px;
  margin-top: 22px;
  background: #edf9f6;
  border: 1px solid #d2eee7;
  border-radius: 14px;
}

@media (max-width: 760px) {
  .legal-modal__header {
    align-items: flex-start;
    padding: 22px 62px 20px 20px;
  }

  .legal-modal__mark {
    display: none;
  }

  .legal-modal__header p {
    display: none;
  }

  .legal-modal__layout {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .legal-modal__nav {
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    overflow-x: auto;
    background: white;
    border-right: 0;
    border-bottom: 1px solid #dbe7ec;
  }

  .legal-modal__nav button {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .legal-modal__nav-number,
  .legal-modal__contact {
    display: none;
  }

  .legal-modal__content {
    width: 100%;
    max-height: calc(100vh - 170px);
    padding: 25px 20px 42px;
  }

  .legal-document__details {
    grid-template-columns: 1fr;
  }
}
