:root {
  color-scheme: light;
  --ink: #10233f;
  --muted: #5d728a;
  --paper: #f6fbff;
  --line: #d7e8f8;
  --blue: #1d7ed8;
  --blue-strong: #1768b4;
  --sky: #47bdf2;
  --sky-soft: #e8f6ff;
  --aqua: #34c7d3;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(29, 126, 216, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.site-header {
  align-items: center;
  background: rgba(246, 251, 255, 0.88);
  border-bottom: 1px solid rgba(215, 232, 248, 0.86);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 5vw, 72px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(29, 126, 216, 0.1);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  height: 38px;
  object-fit: contain;
  width: 128px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.94rem;
  color: #334d6b;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
}

.header-cta,
.primary-button,
.secondary-button,
.copy-button {
  align-items: center;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.header-cta,
.primary-button {
  background: var(--blue);
  color: var(--white);
}

.header-cta:hover,
.primary-button:hover,
.copy-button:hover {
  background: var(--blue-strong);
  transform: translateY(-1px);
}

.secondary-button,
.copy-button {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(122, 190, 239, 0.42);
  color: var(--blue-strong);
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 76% 22%, rgba(71, 189, 242, 0.24), transparent 24%),
    linear-gradient(118deg, #f7fcff 0%, #e6f5ff 45%, #f4fbff 100%);
  display: flex;
  min-height: 86svh;
  overflow: hidden;
  padding: 104px clamp(18px, 5vw, 72px) 42px;
  position: relative;
}

.hero-canvas,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-canvas {
  height: 100%;
  width: 100%;
  z-index: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(246, 251, 255, 0.96) 0%, rgba(246, 251, 255, 0.78) 45%, rgba(246, 251, 255, 0.28) 100%),
    linear-gradient(0deg, rgba(246, 251, 255, 0.88), transparent 28%);
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.55rem, 6.6vw, 5.9rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 860px;
}

.hero-copy {
  color: #425c78;
  font-size: clamp(1.06rem, 2.1vw, 1.28rem);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 700px;
}

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

.hero-metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  max-width: 660px;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(184, 218, 245, 0.82);
  min-height: 102px;
  padding: 18px;
}

.hero-metrics div:first-child {
  border-radius: 8px 0 0 8px;
}

.hero-metrics div:last-child {
  border-radius: 0 8px 8px 0;
}

.hero-metrics dt {
  color: var(--blue-strong);
  font-size: 1.5rem;
  font-weight: 850;
  margin-bottom: 6px;
}

.hero-metrics dd {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.signal-band {
  align-items: center;
  background: #e8f6ff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: #174d82;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-band span {
  border-right: 1px solid rgba(29, 126, 216, 0.14);
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 72px;
  padding: 26px clamp(16px, 3vw, 34px);
}

.section,
.split-section,
.contact-section {
  padding: 88px clamp(18px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 34px;
  max-width: 760px;
}

.section-heading h2,
.stack-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 16px;
}

.section-heading p,
.stack-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 270px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(29, 126, 216, 0.08);
}

.service-icon {
  align-items: center;
  background: var(--sky-soft);
  border-radius: 8px;
  color: var(--blue);
  display: inline-flex;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  margin-bottom: 24px;
  width: 48px;
}

.service-card h3,
.timeline h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.service-card p,
.timeline p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 0;
}

.split-section {
  align-items: center;
  background: #eef8ff;
  display: grid;
  gap: clamp(28px, 6vw, 90px);
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
}

.stack-copy {
  max-width: 620px;
}

.stack-board {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  overflow: hidden;
}

.stack-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 110px 1fr;
  min-height: 76px;
  padding: 18px 22px;
}

.stack-row:last-child {
  border-bottom: 0;
}

.stack-row span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.stack-row strong {
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  line-height: 1.4;
}

.delivery {
  background: var(--paper);
}

.timeline {
  counter-reset: timeline;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  border-top: 3px solid var(--sky);
  background: var(--white);
  border-radius: 0 0 8px 8px;
  min-height: 235px;
  padding: 24px;
}

.timeline span {
  color: var(--blue);
  display: block;
  font-weight: 850;
  margin-bottom: 28px;
}

.contact-section {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(71, 189, 242, 0.16), transparent 36%),
    #ffffff;
  display: grid;
  gap: clamp(28px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
}

.contact-copy {
  max-width: 620px;
}

.email-line {
  font-weight: 800;
  margin-top: 16px;
}

.contact-form {
  background: #f6fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  color: #334d6b;
  display: grid;
  font-size: 0.92rem;
  font-weight: 750;
  gap: 8px;
}

.contact-form .honeypot {
  display: none;
}

.contact-form input,
.contact-form textarea {
  background: var(--white);
  border: 1px solid #bfd8ef;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(29, 126, 216, 0.16);
}

.form-submit {
  width: 100%;
}

.form-status {
  color: var(--blue-strong);
  font-size: 0.92rem;
  margin: 0;
  min-height: 22px;
}

.site-footer {
  align-items: center;
  background: #e8f6ff;
  border-top: 1px solid var(--line);
  color: #174d82;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
}

@media (max-width: 1000px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    padding: 94px 18px 36px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .hero-metrics,
  .signal-band,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .hero-metrics div:first-child,
  .hero-metrics div:last-child {
    border-radius: 8px;
  }

  .signal-band span {
    border-bottom: 1px solid rgba(29, 126, 216, 0.14);
    border-right: 0;
    min-height: 58px;
    padding: 20px 18px;
  }

  .section,
  .split-section,
  .contact-section {
    padding: 58px 18px;
  }

  .stack-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

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