:root {
  --ink: #122636;
  --ink-soft: #243b4c;
  --muted: #607385;
  --paper: #f5f7f9;
  --surface: #ffffff;
  --teal: #0f8f8d;
  --teal-dark: #0a6f6d;
  --teal-soft: #e2f3f2;
  --amber: #e1a020;
  --line: #dce4ea;
  --line-strong: #c8d4dc;
  --shadow: 0 16px 40px rgba(18, 38, 54, .09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 84px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
}

.site-header.scrolled {
  box-shadow: 0 6px 18px rgba(18, 38, 54, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

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

.site-nav > a:not(.nav-cta) {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.site-nav > a:not(.nav-cta):hover,
.site-nav > a.active {
  color: var(--teal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 84px;
  background-color: #f8fafb;
  background-image:
    linear-gradient(rgba(15, 143, 141, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 143, 141, .055) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
}

.hero-lead {
  max-width: 600px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}

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

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

.btn-ghost {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.hero-points i {
  color: var(--teal);
  font-size: 16px;
}

.hero-visual {
  position: relative;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f1f4f6;
}

.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d8de;
}

.screen-bar span:first-child {
  background: #f0a5a5;
}

.screen-bar span:nth-child(2) {
  background: #f0cf8d;
}

.screen-bar span:nth-child(3) {
  background: #9ed4b8;
}

.screen-bar em {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.screen-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.visual-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(18, 38, 54, .07);
}

.visual-note i {
  color: var(--teal);
  font-size: 22px;
}

.visual-note strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

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

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 13px;
}

.capabilities,
.features,
.services,
.engine,
.contact {
  padding: 92px 0;
}

.capabilities,
.services,
.contact {
  background: var(--surface);
}

.features,
.engine {
  background: var(--paper);
}

.engine {
  background: #eef4f3;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
}

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

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

.cap-card {
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.cap-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.cap-num {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.cap-card h3 {
  margin: 18px 0 10px;
  font-size: 18px;
}

.cap-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}

.feature-row:nth-child(even) .feature-media {
  order: 2;
}

.feature-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 18px;
  object-fit: contain;
}

.feature-body h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.feature-body > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.feature-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-body li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.feature-body li i {
  margin-top: 3px;
  color: var(--teal);
}

.service-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 22px;
}

.service-card h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  line-height: 1.4;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.engine-layout {
  display: grid;
  grid-template-columns: minmax(240px, .34fr) minmax(0, .66fr);
  gap: 48px;
  align-items: start;
}

.engine-copy {
  position: sticky;
  top: 96px;
}

.engine-copy h3 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.35;
}

.engine-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

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

.engine-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.engine-list li i {
  margin-top: 3px;
  color: var(--teal);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 700;
}

.text-link:hover {
  color: var(--teal-dark);
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.engine-shot {
  display: block;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.engine-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}

.engine-shot figcaption {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.engine-shot:hover img {
  transform: scale(1.04);
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-card > i {
  color: var(--teal);
  font-size: 24px;
}

.contact-card h3 {
  margin: 14px 0 8px;
  font-size: 16px;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
  font-size: 14px;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--teal);
}

.site-footer {
  padding: 44px 0 36px;
  background: var(--ink);
  color: #dce6ec;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.site-footer .brand-name {
  color: #fff;
}

.site-footer .brand-sub {
  color: #9fb0bc;
}

.footer-inner p {
  margin: 14px 0 0;
  color: #9fb0bc;
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.footer-links a {
  color: #dce6ec;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  text-align: right;
  font-size: 13px;
  color: #9fb0bc;
}

.footer-legal a {
  color: #9fb0bc;
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
  visibility: hidden;
}

.back-to-top.active {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--teal-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    visibility: hidden;
  }

  .site-nav.open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .site-nav a:not(.nav-cta) {
    padding: 11px 12px;
    border-radius: var(--radius);
  }

  .site-nav a:not(.nav-cta):hover {
    background: var(--teal-soft);
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 70px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-scroll {
    display: none;
  }

  .cap-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-row:nth-child(even) .feature-media {
    order: 0;
  }

  .engine-layout {
    grid-template-columns: 1fr;
  }

  .engine-copy {
    position: static;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .cap-grid,
  .service-grid,
  .contact-grid,
  .engine-grid {
    grid-template-columns: 1fr;
  }

  .capabilities,
  .features,
  .services,
  .engine,
  .contact {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
