:root {
  color-scheme: light;
  --navy: #102840;
  --navy-deep: #0b1c30;
  --blue: #2367e8;
  --blue-bright: #6ea0ff;
  --ice: #edf4fb;
  --ink: #152d46;
  --muted: #53677c;
  --line: #d7e2ee;
  --white: #fff;
  font-family: 'Segoe UI Variable', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
  border-radius: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.shell {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: -5rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-inner,
.header-nav,
.brand,
.hero-actions,
.closing-actions,
.footer-inner,
.footer-links {
  display: flex;
  align-items: center;
}

.header-inner {
  justify-content: space-between;
  min-height: 80px;
  gap: 2rem;
}

.brand {
  gap: 0.72rem;
  font-size: 1.38rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-mark,
.mini-mark {
  display: inline-grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 1.5rem;
}

.header-nav {
  gap: clamp(1.15rem, 2.5vw, 2.5rem);
  font-size: 0.91rem;
  font-weight: 600;
}

.header-nav a {
  color: #d7e3f3;
}

.header-nav a:hover,
.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.header-nav .language-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  padding: 0.48rem 0.8rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(133, 173, 217, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 173, 217, 0.055) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent 4%, #000 65%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(450px, 0.98fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.hero-copy {
  max-width: 640px;
}

.hero-kicker {
  margin: 0 0 1.5rem;
  color: #a9c9ff;
  font-size: 0.93rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5vw, 4.65rem);
  font-weight: 780;
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 56ch;
  margin-bottom: 2.2rem;
  color: #c2d4e9;
  font-size: clamp(1.06rem, 1.6vw, 1.18rem);
  line-height: 1.85;
}

.hero-actions,
.closing-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 7px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.button span,
.text-link span {
  font-size: 1.1em;
}

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

.button-primary:hover {
  background: #3779f2;
}

.button-quiet {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.08);
}

.flow-panel {
  scroll-margin-top: 2rem;
  padding: 1.15rem;
  border: 1px solid rgba(163, 194, 232, 0.28);
  border-radius: 18px;
  background: rgba(9, 25, 43, 0.76);
  box-shadow: 0 28px 64px rgba(2, 11, 23, 0.28);
}

.flow-source,
.flow-center {
  border-radius: 9px;
}

.flow-source {
  padding: 1.15rem 1.35rem;
  background: #1b3653;
}

.flow-caption,
.flow-source small {
  display: block;
}

.flow-caption {
  margin-bottom: 0.35rem;
  color: #a8c3e1;
  font-size: 0.79rem;
  font-weight: 650;
}

.flow-source strong {
  display: block;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 720;
  line-height: 1.5;
}

.flow-source strong span {
  color: #79a7dc;
  font-weight: 400;
  padding-inline: 0.15rem;
}

.flow-source small {
  margin-top: 0.35rem;
  color: #bdd0e5;
  font-size: 0.8rem;
}

.flow-rail {
  display: flex;
  justify-content: center;
  height: 38px;
}

.flow-rail span {
  position: relative;
  display: block;
  width: 1px;
  background: #6698d5;
}

.flow-rail span::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -3px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border-right: 1px solid #6698d5;
  border-bottom: 1px solid #6698d5;
}

.flow-center {
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px solid #5895eb;
  background: #183f73;
}

.flow-center-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.mini-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.flow-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.flow-stages span {
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(190, 216, 247, 0.22);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #e7f0fc;
  font-size: 0.84rem;
  font-weight: 600;
}

.flow-destination {
  background: #1d3a52;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-heading {
  max-width: 680px;
}

.section-heading h2,
.console-copy h2,
.closing-inner h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.section-heading p,
.console-copy p,
.closing-inner p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.problem-section {
  background: #fff;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3.6rem;
}

.problem-item {
  display: flex;
  flex-direction: column;
  padding-top: 1.6rem;
  border-top: 2px solid var(--blue);
}

.problem-item h3 {
  margin-bottom: 1rem;
  font-size: 1.34rem;
  line-height: 1.4;
}

.problem-item p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  line-height: 1.8;
}

.problem-item .solution {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: #174b93;
  font-weight: 650;
}

.capability-section {
  background: var(--ice);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.capability-list {
  border-top: 1px solid #bed1e6;
}

.capability-row {
  display: grid;
  grid-template-columns: 5.8rem minmax(0, 1fr);
  gap: 1.2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid #bed1e6;
}

.capability-row strong {
  color: #1a5bba;
  font-size: 1.08rem;
}

.capability-row p {
  margin: 0;
  color: #3c536c;
  line-height: 1.75;
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.console-copy p {
  margin-bottom: 1.6rem;
}

.text-link {
  color: #1457bc;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #a8c5eb;
  text-underline-offset: 0.35em;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.console-figure {
  margin: 0;
}

.console-figure img {
  display: block;
  width: 100%;
  border: 1px solid #cbd9e9;
  border-radius: 10px;
  box-shadow: 0 22px 55px rgba(22, 45, 70, 0.13);
}

.console-figure figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.closing-section {
  padding-block: clamp(3.8rem, 6vw, 5.5rem);
  background: #174378;
  color: var(--white);
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.closing-inner h2 {
  max-width: 16ch;
}

.closing-inner p {
  margin-bottom: 0;
  color: #d5e5fa;
}

.closing-actions {
  justify-content: flex-end;
  flex: 0 0 auto;
}

.button-light {
  background: var(--white);
  color: #16447e;
}

.button-light:hover {
  background: #e7f0ff;
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.09);
}

.site-footer {
  padding-block: 2.4rem;
  background: var(--navy-deep);
  color: #c1d1e4;
}

.footer-inner {
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--white);
  font-size: 1.1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links {
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .capability-layout,
  .console-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3.5rem;
  }

  .flow-panel {
    max-width: 640px;
  }

  .capability-layout,
  .console-layout {
    gap: 2rem;
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .closing-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 2rem, 1180px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1rem;
  }

  .header-nav {
    flex-wrap: wrap;
    gap: 0.8rem 1.15rem;
    font-size: 0.83rem;
  }

  .header-nav .language-link {
    padding: 0.25rem 0.55rem;
  }

  .hero-grid {
    padding-block: 4rem 4.5rem;
  }

  h1 {
    font-size: clamp(2.7rem, 10vw, 3.5rem);
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 2.3rem;
  }

  .problem-item .solution {
    margin-top: 0;
  }

  .capability-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

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

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