:root {
  --ink: #13243a;
  --muted: #5e6c7d;
  --line: #dbe3ed;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --blue: #2563eb;
  --blue-dark: #1746a2;
  --teal: #0f766e;
  --green: #16a34a;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(219, 227, 237, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner,
.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  min-width: 226px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
  color: #102238;
}

.brand-mark {
  width: 30px;
  height: 30px;
  position: relative;
  display: inline-block;
  border: 1px solid #b8c9e6;
  border-radius: 6px;
  background: #edf4ff;
}

.brand-mark i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
}

.brand-mark i:nth-child(1) { left: 6px; top: 11px; }
.brand-mark i:nth-child(2) { left: 16px; top: 6px; background: var(--teal); }
.brand-mark i:nth-child(3) { left: 16px; top: 16px; background: #60a5fa; }

.desktop-nav {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  height: 100%;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #405066;
  font-size: 14px;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--blue);
}

.desktop-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-action {
  padding: 9px 8px;
  color: #3b4c61;
  font-size: 14px;
}

.primary-action,
.secondary-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.primary-action {
  color: #fff;
  background: var(--blue);
}

.primary-action:hover {
  background: var(--blue-dark);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(8, 26, 47, 0.38);
}

.secondary-action:hover {
  background: rgba(8, 26, 47, 0.68);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c1c2f;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 52%;
}

.hero-overlay {
  background: rgba(7, 22, 39, 0.72);
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 0 46px;
  position: relative;
  z-index: 1;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #79a8ff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 58px;
  line-height: 1.12;
  font-weight: 750;
}

.hero-copy {
  max-width: 700px;
  margin: 22px 0 30px;
  color: #d9e5f3;
  font-size: 18px;
  line-height: 1.8;
}

.hero-primary {
  min-width: 126px;
}

.capability-row {
  max-width: 900px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.capability-row div {
  min-width: 0;
}

.capability-row strong,
.capability-row span {
  display: block;
}

.capability-row strong {
  margin-bottom: 3px;
  font-size: 18px;
}

.capability-row span {
  color: #c8d6e7;
  font-size: 13px;
}

.service-intro {
  padding: 82px 0 92px;
  background: var(--paper);
}

.section-heading {
  text-align: center;
}

.section-heading h2,
.model-band h2,
.contact-band h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.3;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--muted);
}

.feature-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-width: 0;
  padding: 34px 34px 36px;
}

.feature-grid article + article {
  border-left: 1px solid var(--line);
}

.feature-index {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.feature-grid h3 {
  margin: 14px 0 9px;
  font-size: 22px;
}

.feature-grid p {
  min-height: 78px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.model-band {
  padding: 68px 0;
  background: var(--mist);
  border-top: 1px solid #e7edf5;
  border-bottom: 1px solid #e1e8f1;
}

.model-band-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 72px;
}

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

.model-tags span {
  padding: 9px 12px;
  border: 1px solid #cbd7e6;
  border-radius: 4px;
  background: var(--paper);
  color: #41546b;
  font-size: 13px;
}

.contact-band {
  padding: 68px 0;
  background: #102238;
  color: #fff;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid #dfe6ee;
  background: #fff;
  color: #6b7788;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    background: transparent;
    display: grid;
    align-content: center;
    gap: 5px;
    cursor: pointer;
  }

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

  .mobile-nav {
    padding: 8px 24px 20px;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .mobile-nav:not([hidden]) {
    display: grid;
    gap: 2px;
  }

  .mobile-nav a {
    padding: 11px 2px;
    color: #34465c;
  }

  .model-band-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 62px;
  }

  .header-inner,
  .section-inner,
  .hero-content {
    width: min(calc(100% - 32px), 1180px);
  }

  .brand {
    min-width: 0;
    font-size: 16px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background: rgba(6, 20, 36, 0.78);
  }

  .hero-content {
    padding: 54px 0 34px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    margin: 18px 0 24px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions a {
    flex: 1;
    padding-left: 12px;
    padding-right: 12px;
  }

  .capability-row {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .capability-row div {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: baseline;
    gap: 8px;
  }

  .capability-row strong {
    font-size: 15px;
  }

  .service-intro {
    padding: 62px 0 70px;
  }

  .section-heading h2,
  .model-band h2,
  .contact-band h2 {
    font-size: 28px;
  }

  .feature-grid {
    margin-top: 38px;
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    padding: 28px 8px;
  }

  .feature-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-grid p {
    min-height: auto;
  }

  .model-band,
  .contact-band {
    padding: 54px 0;
  }

  .model-band-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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