:root {
  --navy: #4357a0;
  --navy-dark: #364888;
  --ink: #161d33;
  --ink-muted: #5b647a;
  --teal: #23e1d7;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --line: #e4e8f1;
  --icon-bg: #eef2f9;
  --input: #f4f6fb;
  --shadow: 0 24px 60px rgba(22, 29, 51, 0.14), 0 6px 18px rgba(22, 29, 51, 0.08);
  --radius: 5px;
  --radius-card: 5px;
  --radius-lg: 22px;
  --container: 1680px;
  --pad: 40px;
  --header-h: 76px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

@media (min-width: 1440px) {
  .container {
    width: min(100% - 80px, var(--container));
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip-link:focus {
  left: 16px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 232, 241, 0.6);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav > a,
.nav-drop > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.nav > a:hover,
.nav > a.is-active,
.nav-drop > a:hover,
.nav-drop > a.is-active,
.nav-drop:hover > a,
.nav-drop.is-open > a {
  color: var(--navy);
}

.nav-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-drop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  height: 14px;
}

.nav-drop__menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 292px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-drop__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: #2c3c75;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-drop__menu a:hover,
.nav-drop__menu a:focus-visible {
  color: #2c3c75;
  background: #eef4ff;
}

.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu,
.nav-drop.is-open .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  position: relative;
}

.lang__btn {
  width: 50px;
  height: 37px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.lang__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 72px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lang.is-open .lang__menu {
  display: block;
}

.lang__menu button {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.lang__menu button:hover {
  background: var(--bg-alt);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 37px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}

.btn--primary:hover {
  background: var(--navy-dark);
}

.btn--white {
  background: #fff;
  color: var(--navy);
  height: 62px;
  padding: 0 22px;
  font-size: 15px;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  height: 62px;
  padding: 0 22px;
  font-size: 15px;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn:hover,
.btn:focus-visible {
  background: #23ffd7;
  border-color: #23ffd7;
  color: #4357a0;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(35, 225, 215, 0.28);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn svg {
  transition: transform 0.22s ease;
}

.btn:hover svg,
.btn:focus-visible svg {
  transform: translateX(2px);
}

.btn--wide {
  width: 100%;
  height: 62.39px;
  font-size: 16px;
}

.btn--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  height: 62.39px;
  padding: 0 18px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

/* Hero */
.hero {
  position: relative;
  background: #0b1020;
  color: #fff;
  padding: 88px 0 72px;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(22, 29, 51, 0.78) 0%,
    rgba(22, 29, 51, 0.55) 46%,
    rgba(22, 29, 51, 0.28) 100%
  );
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.hero-video.is-active {
  opacity: 1;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 64px;
  align-items: start;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  flex-shrink: 0;
  background: url("../assets/images/divider.png") no-repeat center / 26px 2px;
}

.eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 68px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero__lead {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

/* Home banner is the size reference for every hero pair. */
.hero__ctas .btn,
.main-hero__ctas .btn {
  height: 62.39px;
  font-size: 16px;
  padding: 0 18px;
}

.hero__ctas .btn--white,
.main-hero__ctas .btn--white {
  width: 219.55px;
}

.hero__ctas .btn--ghost,
.main-hero__ctas .btn--ghost {
  width: 157.77px;
}

main .btn--primary:not(.btn--wide) {
  height: 62.39px;
  min-width: 219.55px;
  padding: 0 18px;
  font-size: 16px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 8px;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

/* Trust bar */
.trust {
  background: var(--bg);
  height: 164.19px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.trust .container {
  width: min(100% - 48px, var(--container));
}

.trust__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  flex-wrap: wrap;
  width: 100%;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2C3C75;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust__item svg,
.trust__item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--teal);
  color: var(--teal);
  object-fit: contain;
}

/* Believe */
.believe {
  padding: 88px 0;
}

.believe__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 64px;
  align-items: start;
}

.section-kicker {
  margin-bottom: 18px;
  color: #4357a0;
  font-weight: 500;
}

h2 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.believe h2,
.solutions__head,
.process__head,
.news__head > div,
.contact h2 {
  max-width: 720px;
}

.lede {
  margin-top: 18px;
  color: #586079;
  font-size: 20px;
  line-height: 1.55;
  max-width: 62ch;
}

.contact .lede {
  font-size: 16px;
  line-height: 1.55;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--navy);
  font-weight: 600;
  font-size: 18px;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.22s ease;
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.22s ease;
}

.link-arrow svg,
.link-arrow img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: #4357a0;
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after {
  width: 100%;
}

.link-arrow:hover svg,
.link-arrow:focus-visible svg {
  transform: translateX(3px);
}

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

.feature-card,
.step-card,
.sol-card,
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.feature-card {
  padding: 26px 24px 28px;
  min-height: 228px;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--icon-bg);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.icon-box svg,
.icon-box img,
.icon-box-sm svg,
.icon-box-sm img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.feature-card h3,
.step-card h3,
.news-card h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feature-card p,
.step-card p,
.news-card p {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.5;
}

/* Solutions */
.solutions {
  background: var(--bg-alt);
  padding: 88px 0;
}

.solutions__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.sol-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  z-index: 0;
  transition: box-shadow 0.25s ease;
}

.sol-card__code {
  color: #23e1d7;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sol-card h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #2c3c75;
  margin-bottom: 8px;
}

.sol-card__mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #9aa3b5;
  margin-bottom: 16px;
}

.sol-card__desc-slot,
.sol-card__list-slot {
  display: grid;
  transition: grid-template-rows 0.32s ease;
}

.sol-card__desc-slot {
  grid-template-rows: 1fr;
}

.sol-card__list-slot {
  grid-template-rows: 0fr;
}

.sol-card__desc-slot > *,
.sol-card__list-slot > * {
  overflow: hidden;
  min-height: 0;
}

.sol-card__desc {
  color: #2c3c75;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 0;
}

.sol-card__list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding-top: 4px;
}

.sol-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2c3c75;
  font-size: 18px;
  line-height: 1.5;
}

.sol-card__list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: no-repeat center / 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.2L6.2 11.4L13 4.2' stroke='%2323E1D7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sol-card:hover,
.sol-card:focus-within,
.sol-card.is-open {
  box-shadow: var(--shadow);
  z-index: 2;
}

.sol-card:hover .sol-card__desc-slot,
.sol-card:focus-within .sol-card__desc-slot,
.sol-card.is-open .sol-card__desc-slot {
  grid-template-rows: 0fr;
}

.sol-card:hover .sol-card__list-slot,
.sol-card:focus-within .sol-card__list-slot,
.sol-card.is-open .sol-card__list-slot {
  grid-template-rows: 1fr;
}

.sol-card__media {
  height: 248px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #e9eef7, #dde6f4);
  overflow: hidden;
}

.news-card__media {
  height: 200px;
  background: linear-gradient(145deg, #e9eef7, #dde6f4);
  overflow: hidden;
}

.sol-card__media img,
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sol-card__body,
.news-card__body {
  padding: 22px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag {
  color: #23e1d7;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.sol-card .link-arrow,
.news-card .link-arrow {
  margin-top: auto;
  padding-top: 22px;
  color: #2c3c75;
}

/* Process */
.process {
  padding: 88px 0;
}

.process__head {
  margin-bottom: 40px;
}

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

.step-card {
  padding: 30px 24px 28px;
  min-height: 236px;
}

/* News */
.news {
  background: var(--bg-alt);
  padding: 88px 0;
}

.news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.news-card {
  min-height: 437px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card__media {
  position: relative;
  height: 190px;
}

.news-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.news-meta {
  display: flex;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.news-abstract {
  background:
    radial-gradient(circle at 30% 40%, #7aa0ff 0, transparent 42%),
    radial-gradient(circle at 70% 60%, #23e1d7 0, transparent 40%),
    linear-gradient(145deg, #3d4f94, #2c3a72);
}

/* Contact */
.contact {
  padding: 88px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 635px;
  gap: 56px;
  align-items: start;
}

.contact-list {
  margin-top: 38px;
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 640px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0 20px;
  border-bottom: 1px solid #dfe5f2;
}

.icon-box-sm {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--icon-bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-box-sm svg,
.icon-box-sm img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.contact-item strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6c789b;
  margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
  color: #1f2f6f;
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 600;
}

.form-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px 28px 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--input);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 18px;
  color: #586079;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  accent-color: #4357a0;
  cursor: pointer;
}

.form-consent a {
  color: #4357a0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--navy);
  background: #fff;
}

.form-card .btn {
  margin-top: 18px;
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}

.form-status.is-ok {
  color: #1a7f4b;
}

.form-status.is-err {
  color: #b42318;
}

/* Page hero (inner) */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  min-height: clamp(560px, 78vh, 760px);
  padding: 54px 0 42px;
  display: flex;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(54px, 5.2vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 50%;
  text-wrap: balance;
}

.page-hero p {
  margin-top: 18px;
  max-width: 50%;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .page-hero h1,
  .page-hero p {
    max-width: none;
  }
}

article[hidden] {
  display: none !important;
}

.page-section {
  padding: 88px 0;
}

.sol-line__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.sol-line--flip .sol-line__photo {
  order: -1;
}

.sol-line__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
  max-width: 640px;
}

.sol-line__copy h2 {
  margin: 0;
  max-width: none;
  font-size: 40px;
}

.sol-line__for {
  margin: 12px 0 0;
  color: #586079;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.sol-line__copy > p:not(.tag):not(.sol-line__for) {
  margin-top: 14px;
  color: #586079;
  font-size: 18px;
  line-height: 1.5;
  max-width: 62ch;
}

.sol-line__copy .link-arrow {
  margin-top: 22px;
  align-self: flex-start;
}

.sol-line__photo {
  margin: 0;
  height: 380px;
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

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

.sol-line__photo img.is-shifted {
  object-position: 75% center;
}

.page-section--alt {
  background: var(--bg-alt);
}

.prose {
  max-width: 720px;
}

.prose p + p {
  margin-top: 14px;
}

.prose h2 {
  margin: 28px 0 12px;
  font-size: 40px;
  line-height: 1.15;
}

.legal-doc {
  padding: 88px 0 96px;
  background: #fff;
}

.legal-doc .container {
  width: min(100% - 48px, 800px);
}

.legal-doc .crumb {
  margin: 0 0 14px;
  color: #586079;
  font-size: 14px;
}

.legal-doc .crumb a {
  color: inherit;
  text-decoration: none;
}

.legal-doc h1 {
  margin: 0 0 18px;
  max-width: 16em;
  color: #161d33;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.legal-doc h2 {
  margin: 32px 0 10px;
  color: #161d33;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.legal-doc p,
.legal-doc li {
  color: #586079;
  font-size: 18px;
  line-height: 1.5;
}

.legal-doc p {
  margin: 0 0 14px;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}

.legal-doc a {
  color: #4357a0;
}

.legal-doc .legal-note {
  margin-top: 28px;
  color: #161d33;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #4357a0;
  color: #fff;
  padding: 64px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1.1fr;
  gap: 40px 32px;
  padding-bottom: 48px;
}

.logo--footer img {
  height: 48px;
  margin-bottom: 18px;
}

.site-footer__brand p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 36ch;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.site-footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
}

.site-footer__social svg,
.site-footer__social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-footer h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer li,
.site-footer a {
  color: #fff;
  font-size: 14.5px;
}

.site-footer__cta {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal) !important;
  font-weight: 600;
}

.site-footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(228, 232, 245, 0.75);
  font-size: 13px;
}

.site-footer__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.site-footer__legal {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer__legal a {
  color: rgba(228, 232, 245, 0.92);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .hero__grid,
  .believe__grid,
  .sol-line__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid,
  .card-grid-3,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .trust__row {
    justify-content: flex-start;
  }

  .sol-line--flip .sol-line__photo {
    order: 0;
  }

  .sol-line__copy,
  .sol-line__photo {
    min-height: 240px;
  }

  .sol-line__photo {
    height: 240px;
  }

  .sol-line__copy {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .nav,
  .header__actions .btn--primary {
    display: none;
  }

  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    gap: 16px;
  }

  .nav-drop {
    display: block;
    width: 100%;
  }

  .nav-drop::after {
    display: none;
  }

  .nav-drop > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .nav-drop__menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid var(--line);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .nav-drop.is-open .nav-drop__menu {
    display: grid;
  }

  .header.is-open .header__actions .btn--primary {
    display: inline-flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero h1 {
    font-size: clamp(36px, 8vw, 68px);
    max-width: none;
  }

  .hero__stats,
  .feature-grid,
  .card-grid-3,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust {
    height: auto;
    min-height: 164.19px;
    padding: 24px 0;
  }

  .trust__item {
    white-space: normal;
  }

  .news__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .sol-card,
  .news-card,
  .feature-card,
  .step-card {
    min-height: 0;
  }
}

.has-hero-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.has-hero-bg > .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.has-hero-bg > .hero-bg .hero-bg__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.has-hero-bg[data-hero-shade="on"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(8, 14, 35, 0.72) 0%,
    rgba(12, 18, 42, 0.56) 40%,
    rgba(16, 22, 48, 0.46) 100%
  );
}

.main-home .main-hero.has-hero-bg::before,
.has-hero-bg .pbc-hero__media::after,
.has-hero-bg .news-hero__media::after {
  content: none;
  background: none;
}

.has-hero-bg > :not(.hero-bg):not(.main-hero__bg-video):not(.pbc-hero__media):not(.news-hero__media) {
  position: relative;
  z-index: 2;
}
