@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/InterVariable.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #4569a8;
  --blue-dark: #183d79;
  --blue-soft: #eef3fb;
  --orange: #f28a2e;
  --ink: #172033;
  --muted: #68758a;
  --line: #dfe6f0;
  --paper: #ffffff;
  --surface: #f4f6f9;
  --shadow: 0 18px 46px rgba(22, 45, 86, .14);
  --header-logo-width: 196px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #eee;
  font-family: "Inter", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

img { max-width: 100%; display: block; }
a { color: #2f6eb3; text-decoration: none; }
a:hover { color: var(--orange); }

.container {
  width: min(1220px, calc(100% - 20px));
  margin: 0 auto;
}

.site-header .container {
  width: min(1220px, calc(100% - 32px));
}

.site-header {
  position: relative;
  z-index: 20;
  background: #eee;
}

.header-inner {
  min-height: 110px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 0;
}

.brand {
  position: absolute;
  left: 0;
  display: block;
  width: var(--header-logo-width);
  min-width: var(--header-logo-width);
  transform: translateY(-9px);
}

.brand img {
  width: var(--header-logo-width);
  min-width: var(--header-logo-width);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 18px;
  font-size: 17px;
  line-height: 22px;
}

.nav a {
  color: #111827;
  white-space: nowrap;
}

.nav > a,
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 4px;
}

.nav a[aria-current="page"],
.nav-item.is-current > .nav-link,
.nav a:hover {
  color: #2f6eb3;
}

.nav .external {
  color: var(--blue-dark);
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  background: #5a9bd2;
  color: #fff;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  z-index: 30;
  display: none;
  width: 250px;
  background: #fff;
  padding: 22px 20px;
  box-shadow: 0 14px 34px rgba(31, 47, 72, .16);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 58px;
  border-right: 14px solid transparent;
  border-bottom: 14px solid #fff;
  border-left: 14px solid transparent;
}

.dropdown-menu a {
  display: block;
  color: #333;
  white-space: normal;
  line-height: 22px;
}

.dropdown-menu a + a {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ccc;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu-company {
  width: 245px;
}

.dropdown-menu-products {
  width: 310px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
}

.mobile-nav-select {
  display: none;
  grid-column: 1 / -1;
  width: 100%;
  min-height: 28px;
  border: 1px solid #bfc5cf;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 3px 32px 3px 10px;
  font: 17px/23px "Inter", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.header-inner.is-condensed {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 0 12px;
}

.header-inner.is-condensed .brand {
  position: static;
  width: var(--header-logo-width);
  min-width: var(--header-logo-width);
  transform: none;
}

.header-inner.is-condensed .nav {
  display: none;
}

.header-inner.is-condensed .mobile-nav-select {
  display: block;
}

.home-slider {
  background: var(--blue);
  color: #fff;
  aspect-ratio: 1920 / 540;
  height: auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.slide-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform .8s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  z-index: 1;
  pointer-events: none;
}

.slide-title {
  position: absolute;
  left: clamp(410px, calc(50vw - 300px), 650px);
  top: 50%;
  display: block;
  box-sizing: border-box;
  width: clamp(360px, 31vw, 625px);
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  font-size: clamp(20px, 1.64vw, 31.5px);
  line-height: 1.5;
  font-weight: normal;
  text-align: center;
  white-space: normal;
  text-shadow: none;
}

.slide-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
  opacity: 1;
}

.slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 999px;
  background: rgba(0, 0, 0, .2);
  padding: 0;
  cursor: pointer;
}

.slider-dot.is-active { background: #fff; }

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 42px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-size: 48px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  color: #fff;
  transform: translateY(-50%) scale(1.06);
  outline: none;
}

.slider-arrow-prev { left: 14px; }
.slider-arrow-next { right: 14px; }

@media (max-width: 1320px) {
  .slide::before {
    width: 58%;
    background: linear-gradient(90deg, var(--blue) 0 82%, rgba(66, 97, 168, .92) 90%, rgba(66, 97, 168, 0) 100%);
  }

  .slide-title {
    left: clamp(135px, 18vw, 240px);
    width: min(400px, 36vw);
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.34;
  }
}

.home-tagline {
  padding: 18px 0 26px;
  background: #eee;
  text-align: center;
}

.home-tagline p {
  margin: 0;
  display: inline-block;
  font-size: 25px;
  line-height: 28px;
  font-weight: 200;
  color: #222;
}

.home-tagline a {
  color: #116593;
}

.home-actions {
  background: #eee;
  padding: 8px 0 28px;
}

.section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.section.white { background: #fff; }
.section.blue-soft { background: var(--blue-soft); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

.section h1,
.section h2 {
  margin: 0 0 20px;
  color: #193765;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.section h3 {
  color: #193765;
  margin: 28px 0 12px;
  font-size: 24px;
}

.lead {
  max-width: 900px;
  color: var(--muted);
  font-size: 19px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-map-card {
  padding: 0;
  overflow: hidden;
}

.contact-map {
  min-height: 420px;
  background: var(--blue-soft);
}

.contact-map > ymaps,
.contact-map iframe {
  display: block;
  width: 100% !important;
  min-height: 420px;
}

.card.compact {
  padding: 22px;
  box-shadow: none;
}

.contact-card {
  text-align: center;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
}

.contact-card img {
  width: 203px;
  height: 145px;
  object-fit: contain;
}

.home-actions .contact-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 20px;
}

.home-actions .contact-card p {
  margin: 0 0 6px;
  max-width: 330px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 6px 12px;
  border-radius: 3px;
  background: #4f97d1;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn:hover { color: #fff; background: var(--orange); }
.btn.secondary { background: var(--blue-dark); }
.btn-dast:hover {
  color: #fff;
  background: #8f3fa6;
}
.btn-ai:hover {
  color: #fff;
  background: #24655a;
}

.content {
  max-width: 980px;
  overflow-wrap: anywhere;
}

.content ul {
  padding-left: 24px;
}

.content li + li {
  margin-top: 8px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 28px;
  background: #fff;
}

.content th,
.content td {
  border: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.content th {
  background: var(--blue-soft);
  color: #193765;
}

.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 58px 0 62px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(32px, 3.15vw, 46px);
  line-height: 1.16;
}

.page-hero p {
  max-width: 840px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.summary-item {
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, .11);
  padding: 16px 18px;
}

.feature-hero {
  padding: 58px 0 62px;
}

.feature-hero .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.feature-hero .container {
  max-width: 1080px;
}

.feature-hero h1 {
  max-width: 900px;
  font-size: clamp(32px, 3.15vw, 46px);
  line-height: 1.16;
}

.feature-hero p {
  max-width: 840px;
  margin-top: 0;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.42;
}

.feature-section {
  padding: clamp(56px, 6vw, 82px) 0;
}

.feature-prose {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.62;
}

.feature-prose h2 {
  margin: 0 0 20px;
  color: #193765;
  font-size: clamp(26px, 2.35vw, 34px);
  line-height: 1.15;
}

.feature-prose p {
  margin: 0 0 18px;
}

.feature-main-list {
  display: grid;
  gap: 12px;
  max-width: 1080px;
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
}

.feature-prose > p {
  max-width: 1080px;
}

.feature-main-list > li {
  padding-left: 0;
}

.feature-main-list > li::marker {
  color: var(--orange);
}

.feature-main-list ul {
  margin: 12px 0 6px;
  padding: 18px 22px 18px 34px;
  border-left: 3px solid var(--orange);
  background: var(--blue-soft);
  list-style-position: outside;
}

.feature-main-list ul li + li {
  margin-top: 7px;
}

.feature-requirements-table {
  width: min(100%, 1080px);
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  font-size: 17px;
}

.feature-requirements-table th,
.feature-requirements-table td {
  border: 1px solid var(--line);
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
}

.feature-requirements-table th {
  background: #193765;
  color: #fff;
  font-weight: 700;
}

.feature-requirements-table td:first-child {
  width: 34%;
  color: #193765;
  font-weight: 700;
}

.feature-docs {
  max-width: 1080px;
  margin-left: 0;
  margin-right: auto;
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  border-top: 4px solid var(--orange);
}

.inner-page-hero {
  padding: 58px 0 62px;
}

.inner-page-hero h1 {
  max-width: 900px;
  font-size: clamp(32px, 3.15vw, 46px);
  line-height: 1.16;
}

.inner-page-hero .container {
  max-width: 1080px;
}

.inner-page-hero p {
  max-width: 840px;
  margin-top: 0;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.42;
}

.products-hero {
  padding: 48px 0 52px;
}

.products-hero h1 {
  font-size: clamp(30px, 2.75vw, 40px);
}

.products-hero p {
  max-width: 760px;
}

.inner-section {
  padding: clamp(54px, 5.5vw, 78px) 0;
}

.inner-prose {
  max-width: 1080px;
  font-size: 18px;
  line-height: 1.62;
}

.inner-prose p {
  margin: 0 0 18px;
}

.inner-prose h2,
.inner-section h2 {
  margin: 0 0 20px;
  color: #193765;
  font-size: clamp(26px, 2.35vw, 34px);
  line-height: 1.15;
}

.inner-list {
  margin: 0 0 22px;
  padding-left: 0;
  list-style-position: inside;
}

.inner-list li + li {
  margin-top: 10px;
}

.inner-list li::marker {
  color: var(--orange);
}

.inner-table {
  width: min(100%, 1080px);
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  font-size: 17px;
}

.inner-table th,
.inner-table td {
  border: 1px solid var(--line);
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
}

.inner-table th {
  background: #193765;
  color: #fff;
}

.inner-table td:first-child {
  color: #193765;
  font-weight: 700;
}

.inner-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.inner-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: #fff;
}

.inner-card p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.6;
}

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

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 32px rgba(22, 45, 86, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #b7c6dc;
  box-shadow: 0 20px 48px rgba(22, 45, 86, .14);
}

.product-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.product-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.product-icon-waf {
  width: 78px;
  height: 64px;
}

.product-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 0 0 12px;
  color: #193765;
  font-size: 24px;
  line-height: 1.15;
}

.product-card p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.5;
}

.product-more {
  color: #2f6eb3;
  font-size: 15px;
  font-weight: 700;
}

.feature-docs .btn {
  margin-top: 6px;
}

.feature-layout {
  display: grid;
  gap: 34px;
}

.feature-intro {
  max-width: 940px;
  font-size: 18px;
  line-height: 1.65;
}

.feature-intro .lead {
  margin-top: 0;
  max-width: 900px;
  color: #193765;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.28;
  font-weight: 600;
}

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

.feature-card,
.feature-note,
.requirement-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  padding: 24px;
}

.feature-card h2 {
  margin: 0 0 12px;
  color: #193765;
  font-size: 22px;
  line-height: 1.2;
}

.feature-card p,
.feature-note p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.55;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0 0 10px;
  color: #193765;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: #4b5b72;
  font-size: 18px;
  line-height: 1.55;
}

.feature-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-pill-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #cbd8ea;
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  background: #fff;
  color: #193765;
  font-size: 16px;
  line-height: 1.2;
}

.feature-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 34px;
  align-items: start;
}

.feature-check-list,
.feature-steps {
  margin: 0;
  padding-left: 22px;
  color: #172033;
  font-size: 17px;
  line-height: 1.6;
}

.feature-check-list li + li,
.feature-steps li + li {
  margin-top: 8px;
}

.feature-note {
  padding: 28px;
  border-top: 4px solid var(--orange);
}

.feature-note h3 {
  margin: 0 0 12px;
  color: #193765;
  font-size: 24px;
  line-height: 1.2;
}

.feature-note .btn {
  margin-top: 20px;
}

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

.requirement-item {
  display: grid;
  gap: 12px;
  min-height: 128px;
  padding: 22px;
}

.requirement-item strong {
  color: #193765;
  font-size: 18px;
  line-height: 1.25;
}

.requirement-item span {
  color: #334155;
  font-size: 16px;
  line-height: 1.45;
}

.feature-caption {
  max-width: 900px;
  margin: 24px 0 0;
  color: #4b5b72;
  font-size: 16px;
  line-height: 1.55;
}

.site-footer {
  background: #eee;
  color: #888;
  padding: 10px 0 24px;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border: 1px solid #5ea4d5;
  border-radius: 50%;
  color: #1a6890;
  font-size: 18px;
  line-height: 1;
}

.footer-grid {
  display: block;
}

.site-footer img { display: none; }
.site-footer a { color: #1a6890; }
.site-footer a:hover { color: #2697d1; }
.site-footer p {
  margin: 0;
}
.footer-company {
  color: #111;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.footer-title { display: none; }
.footer-bottom {
  border-top: 0;
  margin-top: 12px;
  padding-top: 0;
  font-size: 14px;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

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

.legal-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.legal-disclosure-section {
  background: #fff;
  padding: 44px 0 58px;
}

.legal-disclosure {
  color: #111827;
}

.legal-disclosure h1 {
  max-width: 1050px;
  margin: 0 0 24px;
  color: #0b3768;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 400;
}

.legal-disclosure-intro {
  max-width: 1000px;
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.45;
}

.legal-disclosure-table-wrap {
  width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-disclosure-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.35;
}

.legal-disclosure-table td {
  padding: 8px 10px;
  vertical-align: top;
  border: 1px solid #dcdcdc;
  overflow-wrap: break-word;
}

.legal-disclosure-table tr:first-child td {
  background: #f7f7f7;
  font-weight: 700;
}

.legal-disclosure-table a {
  overflow-wrap: anywhere;
}

.legal-disclosure-norm {
  width: 9%;
}

.legal-disclosure-requirement {
  width: 27%;
}

.legal-disclosure-info {
  width: 64%;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 720px);
  }
  .grid.two,
  .grid.three,
  .footer-grid,
  .summary-row,
  .feature-card-grid,
  .requirements-grid,
  .feature-two-column,
  .inner-card-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .home-slider {
    aspect-ratio: 1920 / 540;
    height: auto;
  }
  .slide-title {
    left: 6vw;
    top: 50%;
    width: min(320px, 37vw);
    font-size: clamp(16px, 2.8vw, 21px);
    line-height: 1.28;
    transform: translateY(-50%);
  }
  .slide-image { object-position: center center; }
  .home-tagline {
    padding: 14px 0 22px;
  }
  .home-tagline p {
    font-size: 22px;
    line-height: 27px;
  }
  .home-actions {
    padding-top: 0;
  }
  .home-actions .contact-card {
    padding: 12px 0 18px;
  }
  .section h1,
  .section h2 {
    font-size: clamp(26px, 6vw, 36px);
  }
  .page-hero {
    padding: 44px 0;
  }
  .page-hero h1 {
    font-size: clamp(28px, 6.5vw, 38px);
  }
  .feature-hero {
    padding: 44px 0 46px;
  }
  .feature-hero h1 {
    font-size: clamp(28px, 6.5vw, 38px);
  }
  .feature-hero p {
    font-size: 16px;
  }
  .inner-page-hero {
    padding: 44px 0 46px;
  }
  .inner-page-hero h1 {
    font-size: clamp(28px, 6.5vw, 38px);
  }
  .inner-page-hero p,
  .feature-intro,
  .section-heading p,
  .feature-prose,
  .inner-prose {
    font-size: 16px;
  }
  .feature-card-grid,
  .requirements-grid,
  .feature-two-column {
    gap: 16px;
  }
  .feature-card,
  .feature-note,
  .requirement-item {
    padding: 22px;
  }
  .content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .feature-requirements-table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .inner-table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .legal-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 520px) {
  body {
    font-size: 14px;
    line-height: 20px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .site-header {
    border-bottom: 1px solid #ddd;
  }
  .brand img {
    width: var(--header-logo-width) !important;
    min-width: var(--header-logo-width);
  }
  .header-inner {
    padding: 23px 0 10px;
  }
  .section { padding: 42px 0; }
  .card { padding: 22px; }
  .home-slider {
    aspect-ratio: 1920 / 540;
    height: auto;
  }
  .slide-title {
    display: block;
    left: 4vw;
    top: 50%;
    width: 40vw;
    font-size: clamp(12px, 3.1vw, 15px);
    line-height: 1.25;
    transform: translateY(-50%);
  }
  .slider-arrow {
    display: none;
  }
  .slider-controls {
    bottom: 4px;
    gap: 6px;
  }
  .slider-dot {
    width: 8px;
    height: 8px;
  }
  .home-tagline p {
    font-size: 18px;
    line-height: 24px;
  }
  .home-actions .contact-card img {
    width: min(230px, 72vw);
  }
  .page-hero {
    padding: 42px 0;
  }
  .page-hero p,
  .lead {
    font-size: 16px;
  }
  .feature-section {
    padding: 40px 0;
  }
  .feature-main-list {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
  }
  .feature-main-list ul {
    margin-left: -16px;
    margin-right: 16px;
    padding: 14px 14px 14px 24px;
  }
  .feature-docs {
    padding: 22px;
  }
  .inner-section {
    padding: 40px 0;
  }
  .inner-card {
    padding: 22px;
  }
  .feature-intro .lead {
    font-size: 22px;
  }
  .feature-check-list,
  .feature-steps {
    font-size: 16px;
  }
  .feature-pill-grid {
    gap: 8px;
  }
  .feature-pill-grid span {
    width: 100%;
    min-height: 38px;
    font-size: 15px;
  }
  .footer-menu {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}
