/* Eigen AI redesigned homepage styles */
:root {
  --bg-primary: #f9fafc;
  --bg-secondary: #ffffff;
  --bg-dark: #06021a;
  --text-primary: #0e0a2a;
  --text-secondary: #5b5a72;
  --accent: #1b3d6d;
  --accent-strong: #12294a;
  --accent-soft: #e1e9f5;
  --border-color: #e3e6f0;
  --card-shadow: 0 24px 60px rgba(17, 12, 42, 0.08);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1200px;
  --transition: all 160ms ease;
  --nav-sticky-height: 96px;
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

section {
  padding: 96px 0;
}

/* Tighten spacing between platform and model sections */
#platform {
  padding-bottom: 0;
}

#models {
  padding-top: 64px;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 400;
  backdrop-filter: blur(12px);
  background: rgba(249, 250, 252, 0.9);
  border-bottom: 1px solid rgba(227, 230, 240, 0.6);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__collapsible {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(14, 10, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(14, 10, 42, 0.18);
}

.nav__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav__toggle-icon {
  position: relative;
  width: 20px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav.nav--open .nav__toggle-icon .nav__toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav.nav--open .nav__toggle-icon .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.nav--open .nav__toggle-icon .nav__toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(14, 10, 42, 0.72);
}

.nav__link {
  position: relative;
  padding-bottom: 4px;
  transition: color 140ms ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 140ms ease;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
  flex-shrink: 0;
}

.nav__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__cta {
  padding: 10px 20px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--accent-strong);
}

@keyframes navCollapsibleIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  padding: 140px 0 120px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  text-align: center;
}

.hero__inner > div:first-child {
  width: min(100%, 640px);
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.hero__title {
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 28px;
}

.hero__description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.button {
  padding: 15px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.button--primary {
  background: var(--accent);
  color: #ffffff;
}

.button--primary:hover {
  background: var(--accent-strong);
}

.button--ghost {
  color: var(--accent);
  background: rgba(27, 61, 109, 0.12);
}

.button--ghost:hover {
  background: rgba(27, 61, 109, 0.2);
}

.hero__customers {
  margin-top: 48px;
  text-align: center;
  width: 100%;
}

.hero__customers-label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.hero__customer-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.hero__customer-marquee::before,
.hero__customer-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 1;
}

.hero__customer-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(249, 250, 252, 0) 100%);
}

.hero__customer-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-primary) 0%, rgba(249, 250, 252, 0) 100%);
}

.hero__customer-list {
  display: flex;
  align-items: center;
  gap: 48px;
  will-change: transform;
}

.hero__customer-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.78;
  transition: opacity 160ms ease;
}

.hero__customer-item:hover {
  opacity: 1;
}

.hero__customer-item img {
  height: 32px;
  max-height: 32px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(17, 12, 42, 0.14));
}

.hero__customer-item img[alt="Wyze logo"] {
  height: 80px;
  max-height: 80px;
  max-width: 180px;
}

@media (max-width: 600px) {
  .hero__customer-marquee::before,
  .hero__customer-marquee::after {
    width: 40px;
  }

  .hero__customer-list {
    gap: 32px;
  }

  .hero__customer-item img {
    height: 28px;
    max-height: 28px;
    max-width: 120px;
  }

  .hero__customer-item img[alt="Wyze logo"] {
    height: 42px;
    max-height: 42px;
    max-width: 160px;
  }

  .blog-card {
    min-height: auto;
  }
}

.hero__graphic {
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, #f1f6fb 0%, #e1e9f5 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
}

.hero__graphic::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(27, 61, 109, 0.12) 0%, rgba(27, 61, 109, 0) 55%), repeating-linear-gradient(45deg, rgba(27, 61, 109, 0.22) 0, rgba(27, 61, 109, 0.22) 24px, rgba(225, 233, 245, 0) 24px, rgba(225, 233, 245, 0) 48px);
  mix-blend-mode: multiply;
}

.hero__graphic-content {
  position: relative;
  z-index: 1;
  color: #14082d;
}

.hero__metric {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-strong);
  margin-bottom: 16px;
}

.hero__headline {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero__subtext {
  font-size: 16px;
  color: rgba(20, 8, 45, 0.72);
  max-width: 280px;
}

.hero__cta-group {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
}

.hero__graphic-button {
  padding: 12px 20px;
  background: rgba(20, 8, 45, 0.88);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.hero__graphic-button:hover {
  background: rgba(20, 8, 45, 1);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

#platform .section__header {
  margin-bottom: 32px;
}

.section__eyebrow {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section__title {
  font-size: clamp(36px, 4vw, 48px);
  margin: 0 0 18px;
  font-weight: 700;
}

.section__description {
  margin: 0 auto;
  max-width: 660px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.platform-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 18vh, 160px);
  padding: clamp(80px, 18vh, 160px) 0 clamp(48px, 12vh, 96px);
  perspective: 1600px;
  transform-style: preserve-3d;
  overflow: visible;
  isolation: isolate;
}

.platform-stack::before {
  content: "";
  position: absolute;
  inset: clamp(-160px, -22vh, -80px) clamp(8vw, 14vw, 220px)
    clamp(180px, 32vh, 280px) clamp(8vw, 14vw, 220px);
  border-radius: clamp(360px, 36vw, 620px);
  background: radial-gradient(
    120% 140% at 50% 22%,
    rgba(120, 82, 255, 0.22) 0%,
    rgba(52, 33, 108, 0.16) 48%,
    rgba(12, 7, 38, 0) 100%
  );
  filter: blur(36px);
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
}

.platform-stack__item {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: clamp(520px, 70vh, 760px);
  padding: clamp(24px, 6vh, 40px) clamp(12px, 5vw, 64px);
  transform-style: preserve-3d;
  --item-active: 0;
  --item-progress: 0;
}

.platform-stack__item + .platform-stack__item {
  margin-top: clamp(-220px, -16vh, -120px);
}

.platform-stack__item::after {
  content: "";
  position: absolute;
  inset: clamp(32px, 10vh, 70px) clamp(18px, 8vw, 120px)
    clamp(24px, 8vh, 70px) clamp(18px, 8vw, 120px);
  border-radius: clamp(260px, 32vw, 520px);
  background: var(
    --item-glow-gradient,
    radial-gradient(
      130% 180% at 50% 18%,
      rgba(255, 255, 255, 0.36) 0%,
      rgba(140, 110, 255, 0.24) 42%,
      rgba(36, 22, 82, 0.12) 76%,
      rgba(12, 7, 40, 0) 100%
    )
  );
  opacity: calc(0.18 + var(--item-active, 0) * 0.48);
  filter: blur(calc(48px + var(--item-active, 0) * 24px));
  transform: translate3d(
      0,
      calc(var(--item-progress, 0) * clamp(26px, 6vh, 48px)),
      0
    )
    scale(calc(0.88 + var(--item-active, 0) * 0.12));
  transition: transform 0.66s cubic-bezier(0.2, 0.8, 0.24, 1),
    opacity 0.55s ease, filter 0.66s ease;
  pointer-events: none;
  z-index: 0;
}

.platform-card {
  --card-progress: 0;
  --card-progress-abs: 0;
  --card-active: 0;
  --card-z: 1;
  --platform-card-glow: rgba(27, 61, 109, 0.18);
  --platform-card-text: rgba(17, 12, 42, 0.94);
  --platform-card-text-soft: rgba(17, 12, 42, 0.78);
  --platform-card-text-muted: rgba(17, 12, 42, 0.64);
  position: sticky;
  top: calc(var(--nav-sticky-height, 96px) + clamp(32px, 6vh, 72px));
  width: min(1080px, 100%);
  display: flex;
  border-radius: clamp(24px, 4vw, 36px);
  background: var(
    --platform-card-background,
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%)
  );
  border: 1px solid var(--platform-card-border, rgba(17, 12, 42, 0.08));
  padding: clamp(38px, 5vw, 64px);
  box-shadow: 0 44px 120px rgba(17, 12, 42, 0.22);
  color: var(--platform-card-text);
  transform: translate3d(
      0,
      calc(var(--card-progress, 0) * clamp(36px, 7vh, 72px)),
      calc(var(--card-active, 0) * 32px - var(--card-progress-abs, 0) * 70px)
    )
    scale(
      calc(
        1 -
          min(var(--card-progress-abs, 0), 1.4) * 0.08 +
          var(--card-active, 0) * 0.04
      )
    );
  opacity: calc(
    0.82 +
      (1 - min(var(--card-progress-abs, 0), 1.2) / 1.2) * 0.18
  );
  filter: saturate(
    calc(
      0.96 +
        (1 - min(var(--card-progress-abs, 0), 1.4) / 1.4) * 0.18
    )
  );
  backdrop-filter: blur(calc(10px + var(--card-active, 0) * 10px));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.24, 1),
    opacity 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease,
    border-color 0.6s ease, backdrop-filter 0.6s ease;
  isolation: isolate;
  transform-origin: top center;
  transform-style: preserve-3d;
  overflow: hidden;
  z-index: var(--card-z);
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.38),
      rgba(255, 255, 255, 0)
    );
  opacity: calc(0.2 + var(--card-active, 0) * 0.28);
  transition: opacity 0.6s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.platform-card::after {
  content: "";
  position: absolute;
  inset: -20% -30%;
  background: radial-gradient(
    120% 120% at 30% 20%,
    rgba(255, 255, 255, 0.38),
    rgba(255, 255, 255, 0)
  );
  opacity: calc(0.12 + var(--card-active, 0) * 0.22);
  transform: rotate(-8deg) scale(1.2);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.platform-card__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(320px, 32vw, 380px));
  gap: clamp(36px, 6.5vw, 64px);
  align-items: stretch;
  width: 100%;
  transition: grid-template-columns 0.42s ease;
}

.platform-card__left {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.6vw, 24px);
}

.platform-card__header {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(10px, 2.6vw, 20px);
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  backdrop-filter: none;
}

.platform-card__body {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 26px);
  opacity: calc(
    0.82 + (1 - min(var(--card-progress-abs, 0), 1.2) / 1.2) * 0.18
  );
  transform: translateY(calc(var(--card-progress, 0) * 18px));
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: auto;
}

.platform-card__eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--platform-card-accent, rgba(17, 12, 42, 0.6));
}

.platform-card__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 700;
}

.platform-card__subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--platform-card-text-soft);
}

.platform-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--platform-card-text-soft);
}

.platform-card__list li {
  position: relative;
  padding-left: 26px;
}

.platform-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--platform-card-accent, var(--accent));
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.48);
}

.platform-card__tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-card__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--platform-card-accent, var(--platform-card-text));
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.platform-card__right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 32px);
  padding: clamp(26px, 3.6vw, 36px);
  border-radius: 28px;
  background: var(
    --platform-card-right-surface,
    linear-gradient(
      145deg,
      rgba(27, 61, 109, 0.18),
      rgba(27, 61, 109, 0.08)
    )
  );
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 26px 60px rgba(17, 12, 42, 0.16);
  color: var(--platform-card-right-text, #ffffff);
  opacity: calc(
    0.7 + (1 - min(var(--card-progress-abs, 0), 1.2) / 1.2) * 0.3
  );
  transform: translateY(calc(var(--card-progress, 0) * 22px));
  transition: opacity 0.45s ease, transform 0.45s ease,
    box-shadow 0.45s ease, border 0.45s ease;
  pointer-events: auto;
}

.platform-card__stat-group {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 24px);
}

.platform-card__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.platform-card__stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--platform-card-right-muted, rgba(255, 255, 255, 0.72));
}

.platform-card__stat-value {
  font-size: clamp(32px, 4.8vw, 46px);
  font-weight: 600;
  line-height: 1.1;
}

.platform-card__stat-unit {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--platform-card-right-muted, rgba(255, 255, 255, 0.68));
}

.platform-card__stat-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--platform-card-right-muted, rgba(255, 255, 255, 0.84));
}

.platform-card__stat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-card__stat-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--platform-card-right-text, #ffffff);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.platform-stack__item.is-active {
  --item-active: 1;
}

.platform-stack__item.is-above,
.platform-stack__item.is-below {
  --item-active: 0.3;
}

.platform-card.is-active {
  --card-active: 1;
  box-shadow: 0 70px 160px rgba(41, 28, 98, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 0 6px var(--platform-card-glow, rgba(27, 61, 109, 0.18));
}

.platform-card.is-above {
  box-shadow: 0 34px 90px rgba(17, 12, 42, 0.16);
}

.platform-card.is-below {
  box-shadow: 0 60px 140px rgba(17, 12, 42, 0.26);
}


.platform-card--data {
  --platform-card-background: linear-gradient(135deg, #fff9f2 0%, #ffe5cf 100%);
  --platform-card-border: rgba(245, 174, 102, 0.38);
  --platform-card-accent: #b65a12;
  --platform-card-glow: rgba(187, 92, 16, 0.24);
  --platform-card-right-surface: linear-gradient(145deg, rgba(187, 80, 8, 0.95), rgba(255, 181, 116, 0.85));
  --platform-card-right-text: #ffffff;
  --platform-card-right-muted: rgba(255, 255, 255, 0.72);
  --item-glow-gradient: radial-gradient(
      136% 190% at 50% 18%,
      rgba(255, 212, 166, 0.36) 0%,
      rgba(224, 139, 46, 0.26) 45%,
      rgba(107, 58, 16, 0.18) 72%,
      rgba(42, 24, 6, 0) 100%
    );
}

.platform-card--train {
  --platform-card-background: linear-gradient(135deg, #f8f4ff 0%, #efe3ff 100%);
  --platform-card-border: rgba(167, 119, 255, 0.34);
  --platform-card-accent: #6641c9;
  --platform-card-glow: rgba(134, 94, 255, 0.22);
  --platform-card-right-surface: linear-gradient(145deg, rgba(143, 109, 255, 0.92), rgba(212, 187, 255, 0.78));
  --platform-card-right-text: #ffffff;
  --platform-card-right-muted: rgba(255, 255, 255, 0.74);
  --item-glow-gradient: radial-gradient(
      136% 190% at 50% 18%,
      rgba(210, 188, 255, 0.38) 0%,
      rgba(134, 94, 255, 0.26) 46%,
      rgba(64, 32, 128, 0.18) 74%,
      rgba(30, 16, 64, 0) 100%
    );
}

.platform-card--inference {
  --platform-card-background: linear-gradient(135deg, #f1f5ff 0%, #dde7ff 100%);
  --platform-card-border: rgba(120, 147, 255, 0.34);
  --platform-card-accent: #2846c9;
  --platform-card-glow: rgba(82, 120, 255, 0.24);
  --platform-card-right-surface: linear-gradient(145deg, rgba(54, 88, 233, 0.9), rgba(139, 175, 255, 0.82));
  --platform-card-right-text: #ffffff;
  --platform-card-right-muted: rgba(255, 255, 255, 0.74);
  --item-glow-gradient: radial-gradient(
      136% 190% at 50% 18%,
      rgba(186, 202, 255, 0.36) 0%,
      rgba(88, 120, 255, 0.26) 48%,
      rgba(30, 46, 118, 0.18) 74%,
      rgba(10, 18, 58, 0) 100%
    );
}

.platform-card--deploy {
  --platform-card-background: linear-gradient(135deg, #f2fffb 0%, #d9f5eb 100%);
  --platform-card-border: rgba(94, 200, 173, 0.34);
  --platform-card-accent: #0c6b59;
  --platform-card-glow: rgba(40, 168, 140, 0.24);
  --platform-card-right-surface: linear-gradient(145deg, rgba(28, 154, 132, 0.92), rgba(151, 221, 205, 0.8));
  --platform-card-right-text: #ffffff;
  --platform-card-right-muted: rgba(255, 255, 255, 0.74);
  --item-glow-gradient: radial-gradient(
      136% 190% at 50% 18%,
      rgba(173, 240, 222, 0.38) 0%,
      rgba(68, 172, 142, 0.26) 48%,
      rgba(20, 84, 70, 0.18) 76%,
      rgba(6, 32, 26, 0) 100%
    );
}

@media (max-width: 1080px) {
  .platform-card {
    top: calc(var(--nav-sticky-height, 96px) + 36px);
    border-radius: 26px;
    padding: clamp(32px, 5vw, 48px);
  }

  .platform-card__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(30px, 7vw, 48px);
  }

  .platform-card__right {
    order: -1;
  }
}

@media (max-width: 900px) {
  .nav__inner {
    align-items: center;
    flex-wrap: wrap;
  }

  .nav.nav--open .nav__inner {
    align-items: flex-start;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__collapsible {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-left: 0;
    padding: 16px 0 12px;
    border-radius: 20px;
    border: 1px solid rgba(227, 230, 240, 0.9);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 40px rgba(17, 12, 42, 0.1);
  }

  .nav.nav--open .nav__collapsible {
    display: flex;
    animation: navCollapsibleIn 160ms ease;
  }

  .nav__menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
    font-size: 14px;
    text-align: left;
  }

  .nav__link {
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
  }

  .nav__link:hover,
  .nav__link:focus-visible {
    background: rgba(27, 61, 109, 0.08);
  }

  .nav__cta {
    width: 100%;
    justify-content: center;
  }

  .platform-stack {
    padding: 0;
    gap: 32px;
    perspective: none;
    transform-style: flat;
  }

  .platform-stack__item {
    min-height: auto;
    margin-top: 0;
    padding: 0 clamp(4vw, 28px, 40px);
  }

  .platform-stack__item + .platform-stack__item {
    margin-top: 0;
  }

  .platform-stack::before,
  .platform-stack__item::after {
    display: none;
  }

  .platform-card {
    position: static;
    top: auto;
    transform: none;
    opacity: 1;
    filter: none;
    box-shadow: 0 26px 60px rgba(17, 12, 42, 0.14);
    border-radius: 24px;
    padding: clamp(28px, 6vw, 36px);
    backdrop-filter: none;
  }

  .platform-card__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 6vw, 36px);
  }

  .platform-card__header {
    position: static;
    background: none;
    backdrop-filter: none;
    padding: 0;
    margin-bottom: 18px;
    border-radius: 0;
  }

  .platform-card__body,
  .platform-card__right {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .platform-card__right {
    border-radius: 20px;
    padding: clamp(24px, 6vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 18px 40px rgba(17, 12, 42, 0.12);
    margin: 0;
    order: 0;
  }

  .blog-card {
    min-height: 460px;
  }
}

.models {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.models::-webkit-scrollbar {
  height: 8px;
}

.models::-webkit-scrollbar-thumb {
  background: rgba(17, 12, 42, 0.16);
  border-radius: 999px;
}

.model-card {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, border 160ms ease;
  align-content: start;
  flex: 0 0 clamp(240px, 28vw, 320px);
  scroll-snap-align: start;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(17, 12, 42, 0.12);
  border-color: rgba(27, 61, 109, 0.18);
}

.model-card__logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(17, 12, 42, 0.18);
  padding: 8px;
  background: #ffffff;
  object-fit: contain;
}

.model-card__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27, 61, 109, 0.75);
}

.model-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.model-card__meta {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.model-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.infrastructure {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.infrastructure__title {
  font-size: clamp(32px, 3.2vw, 44px);
  margin: 0 0 16px;
}

.infrastructure__description {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 16px;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(27, 61, 109, 0.14) 0%, rgba(27, 61, 109, 0.32) 100%);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 600;
}

.feature-card__description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.lifecycle__description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .lifecycle__steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 10px;
}

.step-card__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27, 61, 109, 0.7);
}

.step-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.step-card__description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.why {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 40px;
}

.why__title {
  font-size: clamp(32px, 3vw, 44px);
  margin: 0;
}

.why__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.checklist {
  display: grid;
  gap: 16px;
}

.checklist__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

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

.checklist__items li {
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 24px;
}

.checklist__items li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.testimonials {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 18px;
}

.testimonial-card__logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 12, 42, 0.6);
}

.testimonial-card__quote {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.testimonial-card__author {
  font-size: 14px;
  font-weight: 600;
  color: rgba(17, 12, 42, 0.75);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

@media (max-width: 540px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

.blog-grid--scroll {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.blog-grid--scroll .blog-card {
  flex: 0 0 clamp(260px, 28vw, 360px);
  scroll-snap-align: start;
}

.blog-card {
  background: var(--bg-secondary);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease;
  height: 100%;
  min-height: 520px;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px rgba(17, 12, 42, 0.16);
}

.blog-card__media {
  height: 200px;
  background: var(--accent-soft);
  display: block;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.blog-card__meta {
  font-size: 14px;
  color: var(--text-secondary);
}

.blog-card__summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.8em;
  margin: 0;
}

.blog-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-start;
}

.blog-detail {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.blog-detail__back {
  justify-self: start;
}



.blog-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(14, 10, 42, 0.55);
}

.job-detail {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 28px;
}

.rich-text {
  display: grid;
  gap: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.rich-text > p {
  margin: 0;
}

.rich-text h2,
.rich-text h3 {
  margin: 16px 0 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.rich-text h2 {
  font-size: 24px;
}

.rich-text h3 {
  font-size: 20px;
}

.rich-text ul,
.rich-text ol {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 10px;
}

.rich-text li {
  margin: 0;
}

.rich-text a {
  color: var(--accent);
  font-weight: 600;
}

.rich-text a:hover {
  color: var(--accent-strong);
}

.rich-text blockquote {
  margin: 0;
  padding: 18px 24px;
  background: rgba(27, 61, 109, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

.rich-text figure {
  margin: 0;
  display: grid;
  gap: 8px;
  text-align: center;
}

.rich-text figcaption {
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.85;
}

.rich-text__figure--narrow {
  max-width: 384px;
  width: min(100%, 384px);
  margin: 0 auto;
  justify-self: center;
  justify-items: center;
}
.rich-text__figure--narrow img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}


.rich-text hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 0;
}

.rich-text__image-grid {
  display: grid;
  gap: 16px;
}

.rich-text__image-grid img {
  width: 100% !important;
  height: auto;
}

@media (min-width: 768px) {
  .rich-text__image-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 384px));
    justify-content: center;
  }
}

.rich-text img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
}

.rich-text pre {
  padding: 18px 20px;
  border-radius: 14px;
  background: #0f0b28;
  color: #f5f4ff;
  overflow-x: auto;
}

.rich-text code {
  font-family: "JetBrains Mono", "Fira Code", monospace;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.link-grid--scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.link-grid--scroll .link-card {
  flex: 0 0 clamp(240px, 26vw, 320px);
  scroll-snap-align: start;
}

.link-card {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 70px rgba(17, 12, 42, 0.12);
}

.link-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 12, 42, 0.6);
}

.link-card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.link-card__description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.link-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-card__cta span {
  margin: 0;
}

.cta {
  margin: 120px 0 100px;
  background: linear-gradient(120deg, #071325 0%, #102a4d 55%, #1b3d6d 100%);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  box-shadow: 0 30px 80px rgba(17, 12, 42, 0.35);
}

.cta__title {
  font-size: clamp(36px, 4vw, 48px);
  margin: 0;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta__button {
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: inherit;
  transition: var(--transition);
}

.cta__button--filled {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.cta__button--filled:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.cta__button--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.footer {
  padding: 60px 28px 40px;
  color: rgba(14, 10, 42, 0.58);
  font-size: 14px;
  text-align: center;
}

.page-hero {
  padding: 160px 0 110px;
  background: linear-gradient(120deg, #071325 0%, #102a4d 55%, #1b3d6d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(27, 61, 109, 0.35), transparent 55%);
  opacity: 0.9;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: grid;
  gap: 22px;
}

.page-hero__title {
  font-size: clamp(44px, 5vw, 60px);
  margin: 0;
  font-weight: 700;
}

.page-hero__description {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.section__header--left {
  text-align: left;
  margin-left: 0;
}

.section__header--left .section__description {
  margin-left: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 18px;
}

.value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(27, 61, 109, 0.14);
  color: var(--accent);
  font-weight: 700;
}

.value-card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.value-card__description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.roles-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.role-card {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.role-card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.role-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

.role-card__description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.role-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.role-card__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.role-card__link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.role-card__link:hover {
  color: var(--accent-strong);
}

.role-card__cta {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.role-card__cta:hover {
  color: var(--accent-strong);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.contact-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 18px;
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(27, 61, 109, 0.14);
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
}

.contact-card__title {
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}

.contact-card__description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.contact-card__link:hover {
  color: var(--accent-strong);
}

.contact-form {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 12, 42, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #fdfdff;
  transition: var(--transition);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(27, 61, 109, 0.55);
  box-shadow: 0 0 0 4px rgba(27, 61, 109, 0.12);
}

.contact-form textarea {
  min-height: 140px;
}

.contact-form button {
  justify-self: flex-start;
  border: none;
}

.legal {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 32px;
}

.legal__updated {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 12, 42, 0.55);
}

.legal h2 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
}

.legal h3 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
}

.legal h4 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

.legal p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal ul,
.legal ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal a {
  color: var(--accent);
  font-weight: 600;
}

.legal a:hover {
  color: var(--accent-strong);
}

.legal-section {
  display: grid;
  gap: 18px;
}

.newsletter {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.newsletter__title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.newsletter__description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.newsletter__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.newsletter__form input {
  border: 1px solid rgba(17, 12, 42, 0.12);
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15px;
  font-family: inherit;
}

.newsletter__form button {
  border: none;
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__graphic {
    order: -1;
  }

  section {
    padding: 80px 0;
  }

  .page-hero {
    padding: 140px 0 90px;
  }

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

  .nav__inner {
    gap: 16px;
  }

  .nav__collapsible {
    margin-left: 0;
  }

  .blog-detail {
    padding: 0 12px;
  }

  .job-detail {
    padding: 36px 34px;
  }
}

@media (max-width: 768px) {
  .nav__inner {
    padding: 16px 20px;
  }

  .hero {
    padding: 100px 0 80px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .button {
    width: 100%;
    min-height: 48px;
  }

  .button {
    min-height: 44px;
  }

  .container {
    padding: 0 20px;
  }

  .infrastructure {
    padding: 48px 28px;
  }

  .why {
    padding: 40px 28px;
  }

  .cta {
    padding: 56px 28px;
  }

  .page-hero {
    padding: 110px 0 70px;
  }

  .page-hero__meta {
    flex-direction: column;
    gap: 8px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .legal {
    padding: 40px 32px;
  }

  .blog-detail {
    padding: 0;
  }

  .job-detail {
    padding: 32px 24px;
  }

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

  .testimonial-card {
    padding: 28px 24px;
  }

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

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

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

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

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

@media (max-width: 560px) {
  .hero__customer-list {
    gap: 18px;
  }

  section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 100px 0 60px;
  }

  .page-hero__title {
    font-size: 36px;
  }

  .page-hero__description {
    font-size: 16px;
  }

  .newsletter {
    padding: 32px 24px;
  }

  .nav.nav--open .nav__menu {
    font-size: 14px;
  }

  .blog-card__body {
    padding: 20px 20px 22px;
  }

  .blog-card__media {
    height: 180px;
  }

  .job-detail {
    padding: 24px 20px;
  }

  .cta {
    margin: 80px 0 60px;
    padding: 48px 24px;
  }

  .cta__title {
    font-size: 32px;
  }

  .cta__buttons {
    width: 100%;
  }

  .cta__button {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__description {
    font-size: 16px;
  }

  .section__title {
    font-size: 32px;
  }

  .section__description {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .models {
    gap: 16px;
  }

  .model-card {
    flex: 0 0 clamp(260px, 75vw, 300px);
    padding: 20px;
  }

  .link-grid--scroll .link-card {
    flex: 0 0 clamp(260px, 75vw, 300px);
  }

  .blog-grid--scroll .blog-card {
    flex: 0 0 clamp(280px, 75vw, 320px);
  }

  .why {
    padding: 36px 24px;
  }

  .platform-card {
    padding: 24px 20px;
  }

  .nav__toggle {
    width: 48px;
    height: 48px;
  }

  .nav__link {
    padding: 14px 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav__cta {
    min-height: 48px;
  }
}

@media (max-width: 375px) {
  .hero__title {
    font-size: 32px;
  }

  .section__title {
    font-size: 28px;
  }

  .cta__title {
    font-size: 28px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 80px 0 60px;
  }

  section {
    padding: 56px 0;
  }

  .model-card {
    flex: 0 0 clamp(240px, 85vw, 280px);
  }

  .link-grid--scroll .link-card {
    flex: 0 0 clamp(240px, 85vw, 280px);
  }

  .blog-grid--scroll .blog-card {
    flex: 0 0 clamp(260px, 85vw, 300px);
  }

  .platform-card__title {
    font-size: 28px;
  }

  .platform-card__subtitle {
    font-size: 16px;
  }

  .infrastructure {
    padding: 36px 20px;
  }

  .why {
    padding: 32px 20px;
  }

  .legal {
    padding: 36px 24px;
  }

  .cta {
    padding: 40px 20px;
  }
}
