:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4f8;
  --ink: #17202a;
  --muted: #5f6f7c;
  --line: #dbe4eb;
  --blue: #1f6feb;
  --teal: #0f9f8f;
  --green: #2f8f5b;
  --amber: #c9831a;
  --coral: #d65f4b;
  --deep: #12212f;
  --deep-2: #183043;
  --wash: #eaf3f8;
  --wash-2: #f2f7fb;
  --shadow: 0 18px 45px rgba(21, 39, 56, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 228, 235, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--ink);
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand span {
  letter-spacing: 0;
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #3d4c59;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-links a:hover,
body[data-page="home"] .nav-links a[href="index.html"],
body[data-page="about"] .nav-links a[href="about.html"],
body[data-page="platform"] .nav-links a[href="platform.html"],
body[data-page="solutions"] .nav-links a[href="solutions.html"],
body[data-page="results"] .nav-links a[href="results.html"],
body[data-page="delivery"] .nav-links a[href="delivery.html"] {
  color: var(--ink);
  border-bottom-color: var(--blue);
}

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

.nav-actions .link-muted {
  color: var(--muted);
  font-size: 14px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.14);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.button.teal {
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: clamp(600px, 44vw, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #edf6fb;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(31, 111, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 159, 143, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.48;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../logo/banner.png") center center / cover no-repeat;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(248, 251, 253, 0.9) 0%, rgba(248, 251, 253, 0.76) 28%, rgba(248, 251, 253, 0.34) 56%, rgba(9, 25, 47, 0.12) 100%),
    linear-gradient(180deg, rgba(248, 251, 253, 0.72) 0%, rgba(248, 251, 253, 0.18) 48%, rgba(248, 251, 253, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 92px 0 86px;
  text-align: center;
}

.hero-copy {
  min-width: 0;
  max-width: 920px;
}

.eyebrow {
  display: inline-block;
  position: relative;
  padding-top: 14px;
  padding-left: 0;
  max-width: 100%;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 58px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--teal);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin: 42px auto 0;
}

.proof-item {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(21, 39, 56, 0.08);
  backdrop-filter: blur(8px);
}

.proof-item strong {
  display: block;
  margin-bottom: 6px;
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 82px 0;
}

.section.compact {
  padding: 56px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.deep {
  background:
    linear-gradient(180deg, var(--wash-2), var(--wash)),
    radial-gradient(circle at 85% 20%, rgba(31, 111, 235, 0.08), transparent 32%);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 32px;
}

.section-head.single {
  display: block;
  max-width: 780px;
}

.lead-text {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.section h2,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section.deep h2,
.section.deep .section-kicker {
  color: var(--ink);
}

.section-head p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section.deep .section-head p,
.section.deep p {
  color: var(--muted);
}

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

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

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

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

.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 32, 42, 0.02);
}

.card.with-media {
  padding: 0;
  overflow: hidden;
}

.card-body {
  padding: 22px 24px 24px;
}

.card.dark {
  background:
    linear-gradient(180deg, #ffffff, #f4f8fb),
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 36%);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(21, 39, 56, 0.08);
}

.card.accent {
  border-top: 3px solid var(--blue);
}

.card.teal {
  border-top: 3px solid var(--teal);
}

.card.amber {
  border-top: 3px solid var(--amber);
}

.card.coral {
  border-top: 3px solid var(--coral);
}

.card h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 20px;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card.dark p {
  color: var(--muted);
}

.card.highlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 251, 0.98)),
    linear-gradient(90deg, rgba(31, 111, 235, 0.08), rgba(15, 159, 143, 0.06));
  border-color: rgba(31, 111, 235, 0.16);
  box-shadow: 0 12px 30px rgba(21, 39, 56, 0.07);
}

.card.highlight h3 {
  color: var(--ink);
}

.card.highlight p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  color: #405260;
  font-size: 13px;
  white-space: nowrap;
}

.wide-only {
  display: inline;
}

.company-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.72fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 30px;
}

.image-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.98), rgba(237, 244, 249, 0.98)),
    radial-gradient(circle at 78% 20%, rgba(15, 159, 143, 0.08), transparent 34%);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.image-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(95, 111, 124, 0.2);
  border-radius: 8px;
}

.image-panel::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  height: 28%;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(31, 111, 235, 0.12), rgba(15, 159, 143, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.38));
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-grid {
  margin-top: 16px;
}

.media-slot {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.98), rgba(237, 244, 249, 0.98)),
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.05), transparent 42%);
}

.media-slot::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(95, 111, 124, 0.18);
  border-radius: 8px;
}

.media-slot-lg {
  min-height: 176px;
}

.media-slot-sm {
  min-height: 116px;
}

.dark .tag,
.section.deep .tag {
  border-color: var(--line);
  background: #f8fbfd;
  color: #405260;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
  align-items: stretch;
}

.panel-visual {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f3f8fb),
    radial-gradient(circle at 88% 0%, rgba(15, 159, 143, 0.08), transparent 32%);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(21, 39, 56, 0.08);
}

.panel-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

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

.mini-cell {
  min-height: 88px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-cell strong {
  display: block;
  margin-bottom: 6px;
}

.mini-cell span {
  color: var(--muted);
  font-size: 12px;
}

.page-hero {
  padding: 76px 0 48px;
  background: #f8fbfd;
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: end;
}

.page-hero h1 {
  max-width: 780px;
}

.page-hero p {
  max-width: 740px;
  margin-top: 18px;
}

.page-note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.page-note strong {
  display: block;
  margin-bottom: 8px;
}

.stats-board {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f0f6fa),
    radial-gradient(circle at 16% 18%, rgba(31, 111, 235, 0.08), transparent 30%);
  color: var(--ink);
  box-shadow: 0 14px 38px rgba(21, 39, 56, 0.09);
}

.summary-tile {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.summary-tile h2 {
  color: var(--ink);
  font-size: 34px;
}

.stats-list {
  display: grid;
  gap: 10px;
}

.stat-row {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.stat-row strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

.stat-row span {
  color: var(--muted);
  font-size: 13px;
}

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

.step {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.form-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(21, 39, 56, 0.08);
}

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

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  color: #314251;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

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

.trap-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.12);
}

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: #405260;
  font-size: 13px;
}

.check-pill input {
  width: auto;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.form-foot p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status[data-status="success"] {
  color: var(--green);
}

.form-status[data-status="error"] {
  color: var(--coral);
}

.captcha-field {
  margin-top: 4px;
}

.captcha-widget,
.captcha-loading,
.captcha-error {
  width: min(100%, 360px);
}

.captcha-widget {
  display: grid;
  gap: 10px;
}

.captcha-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef6fb;
  aspect-ratio: 2 / 1;
}

.captcha-bg {
  width: 100%;
  height: auto;
}

.captcha-piece {
  position: absolute;
  left: 0;
  top: 0;
  width: 16.875%;
  height: auto;
  filter: drop-shadow(0 9px 12px rgba(23, 50, 74, 0.2));
  pointer-events: none;
  will-change: transform;
}

.captcha-track {
  position: relative;
  height: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fbfdff, #edf5fa),
    linear-gradient(90deg, rgba(31, 111, 235, 0.08), rgba(15, 159, 143, 0.08));
  user-select: none;
  touch-action: none;
}

.captcha-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(31, 111, 235, 0.16), rgba(15, 159, 143, 0.2));
}

.captcha-knob {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border: 0;
  border-right: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: 7px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(21, 39, 56, 0.14);
  cursor: grab;
  z-index: 2;
}

.captcha-knob:active {
  cursor: grabbing;
}

.captcha-knob span,
.captcha-knob span::before,
.captcha-knob span::after {
  display: block;
  width: 13px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
}

.captcha-knob span::before,
.captcha-knob span::after {
  content: "";
  transform: translateY(-6px);
}

.captcha-knob span::after {
  transform: translateY(4px);
}

.captcha-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 52px;
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
}

.captcha-widget.is-dragging .captcha-track {
  border-color: rgba(31, 111, 235, 0.42);
}

.captcha-widget.is-verifying .captcha-track {
  border-color: rgba(201, 131, 26, 0.44);
}

.captcha-widget.is-verifying .captcha-knob {
  color: var(--amber);
  cursor: wait;
}

.captcha-widget.is-verifying .captcha-piece {
  filter: drop-shadow(0 9px 12px rgba(201, 131, 26, 0.24));
}

.captcha-widget.is-solved .captcha-track {
  border-color: rgba(47, 143, 91, 0.42);
}

.captcha-widget.is-solved .captcha-knob {
  color: var(--green);
}

.captcha-widget.is-solved .captcha-piece {
  filter: drop-shadow(0 9px 12px rgba(47, 143, 91, 0.22));
}

.captcha-meta,
.captcha-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.captcha-loading,
.captcha-error {
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.captcha-refresh {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.captcha-modal[hidden] {
  display: none;
}

.captcha-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.captcha-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 33, 47, 0.48);
  backdrop-filter: blur(6px);
}

.captcha-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 26px;
  border: 1px solid rgba(219, 228, 235, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 33, 47, 0.24);
}

.captcha-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.captcha-dialog p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.captcha-dialog .captcha-widget,
.captcha-dialog .captcha-loading,
.captcha-dialog .captcha-error {
  width: 100%;
}

.captcha-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.captcha-dialog__status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 13px;
}

.captcha-dialog__status[data-status="success"] {
  color: var(--green);
}

.captcha-dialog__status[data-status="error"] {
  color: var(--coral);
}

.site-footer {
  background: var(--deep);
  color: #cbdce8;
}

.footer-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.72fr 0.72fr 0.85fr;
  gap: 28px;
  padding: 46px 0 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.footer-main p,
.footer-main li {
  color: #9fb5c4;
}

.footer-main ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 7px;
}

.footer-main h2 {
  margin: 0;
  color: #fff;
  font-size: 15px;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fb5c4;
  font-size: 13px;
}

.horizontal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 16px;
}

@media (max-width: 1040px) {
  .nav-links,
  .nav-actions .link-muted {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav-actions {
    margin-left: auto;
  }

  .site-header.is-open .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav-links a {
    padding: 12px;
    border-bottom: 0;
    border-radius: 8px;
  }

  .site-header.is-open .nav-links a:hover {
    background: var(--surface-soft);
  }

  .hero-content,
  .section-head,
  .company-split,
  .feature-panel,
  .page-hero .container,
  .stats-board,
  .form-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .nav-wrap,
  .container,
  .hero-content,
  .footer-main,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding: 70px 0 62px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero-stage {
    position: absolute;
    background-position: center top;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .process,
  .mini-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    display: flex;
    max-width: none;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .proof-item {
    flex: 0 0 220px;
    min-height: 106px;
    scroll-snap-align: start;
  }

  .image-panel {
    aspect-ratio: 16 / 10;
  }

  .media-slot {
    min-height: 120px;
  }

  .media-slot-lg {
    min-height: 144px;
  }

  .media-slot-sm {
    min-height: 96px;
  }

  .horizontal-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .horizontal-strip > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 52px 0 34px;
  }

  .form-foot,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .nav-actions .button {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
    word-break: break-all;
  }

  .section h2,
  .page-hero h1 {
    font-size: 30px;
    word-break: break-all;
  }

  .eyebrow,
  .hero p {
    word-break: break-all;
  }

  .wide-only {
    display: none;
  }

  .card,
  .panel-visual,
  .stats-board,
  .form-card {
    padding: 18px;
  }

  .card.with-media {
    padding: 0;
  }

  .card-body {
    padding: 18px;
  }
}
