:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #202a32;
  background: #fff;
  letter-spacing: 0;
  --ink: #202a32;
  --muted: #4a5965;
  --line: #dce2e7;
  --soft: #f4f7f9;
  --blue: #075fb8;
  --blue-hover: #064d98;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid #0071e3; outline-offset: 4px; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
main [hidden] { display: none !important; }
main svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(100% - 112px, 1240px); margin-inline: auto; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071d33;
  color: #fff;
}
.hero-water { position: absolute; inset: 0; z-index: -2; }
.hero-water img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #061b30d4, #061b3060 26%, transparent 42% 54%, #071d33b0 78%, #071d33 100%),
    linear-gradient(90deg, #061b3080, transparent 30% 70%, #061b3080);
}
.hero-inner { padding-block: 29px 30px; text-align: center; }
.hero h1 { font-size: 60px; line-height: 1.08; font-weight: 720; }
.hero-fields { margin-top: 7px; color: #c1e6ff; font-size: 20px; font-weight: 650; line-height: 1.4; }
.hero-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.8fr) minmax(0, 1fr);
  align-items: end;
  min-height: 248px;
  padding-bottom: 17px;
}
.hero-scene-item { display: grid; justify-items: center; gap: 8px; color: #e1f2fd; font-size: 13px; line-height: 1.45; }
.hero-scene-item img { display: block; width: 100%; height: 120px; object-fit: contain; }
.hero-rov img { width: min(100%, 166px); filter: brightness(.90) drop-shadow(0 7px 12px #061b3070); }
.hero-route img { width: min(100%, 230px); filter: drop-shadow(0 0 1px #a4d5f155); }
.hero-auv-label { color: #fff; font-size: 14px; font-weight: 650; }
.hero-description { margin-inline: auto; max-width: 800px; font-size: 16px; line-height: 1.7; color: #f1f7fb; text-wrap: pretty; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions { justify-content: center; margin-top: 17px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 5px;
  border: 1px solid transparent;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}
.button svg { width: 16px; height: 16px; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-hover); }
.button-light { color: #fff; border-color: #c8dae9ae; background: #10283b75; }
.button-light:hover { background: #24465f; }
.button-outline { background: #fff; color: var(--ink); border-color: #bdcbd5; cursor: pointer; }
.button-outline:hover { background: #edf5fb; border-color: #8ca9bf; }
.hero a:focus-visible { outline-color: #c1e6ff; }

.section { padding-block: 66px 72px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { font-size: 36px; font-weight: 720; line-height: 1.28; }
.section-heading > p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.65; }

.scenario-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; border-bottom: 1px solid var(--line); }
.scenario-tabs button { min-height: 50px; padding: 9px 10px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-weight: 650; font-size: 16px; }
.scenario-tabs button:hover { background: var(--soft); }
.scenario-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); background: #edf5fc; }
.scenario-tabs button:focus-visible { position: relative; z-index: 1; outline-offset: -4px; }
.scenario-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.27fr);
  grid-template-areas: "intro visual" "outputs visual";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 18px 48px;
  padding-top: 28px;
}
.scenario-copy { grid-area: intro; }
.scenario-copy h3 { font-size: 28px; line-height: 1.35; margin-bottom: 8px; }
.scenario-copy > p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.scenario-outputs { grid-area: outputs; }
.scenario-outputs div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px; padding-block: 11px; border-top: 1px solid var(--line); }
.scenario-outputs dt { color: var(--ink); font-size: 14px; line-height: 1.65; font-weight: 700; }
.scenario-outputs dd { color: var(--muted); font-size: 14px; line-height: 1.65; }

.scene-visual {
  grid-area: visual;
  min-width: 0;
  padding: 16px 20px 12px;
  background: #f4f8fc;
  border: 1px solid #d6e2eb;
  border-radius: 7px;
}
.scene-visual-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 10px; row-gap: 3px; }
.scene-visual-head strong { font-size: 15px; line-height: 1.5; }
.scene-visual-head span { font-size: 12px; color: #3e5c72; }
.scene-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 15px 0; padding: 0; counter-reset: scene; list-style: none; }
.scene-steps li { position: relative; display: grid; align-content: start; gap: 4px; padding: 10px 12px 4px 0; border-top: 1px solid #b7ccd9; counter-increment: scene; }
.scene-steps li::before, .process li::before { color: var(--blue); font: 700 13px/1.4 var(--mono); }
.scene-steps li::before { content: counter(scene, decimal-leading-zero); }
.scene-steps li:not(:last-child)::after { content: "→"; position: absolute; top: 8px; right: 0; color: #4a6b84; font-size: 14px; }
.scene-steps strong { color: var(--ink); font-size: 14px; line-height: 1.45; }
.scene-steps span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.scene-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1040 / 781; object-fit: contain; margin-top: 12px; border-radius: 3px; background: #0b1117; }
.scene-visual figcaption { color: var(--muted); font-size: 13px; line-height: 1.55; }

.capabilities { background: var(--soft); }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.capability { min-width: 0; }
.evidence { margin-bottom: 13px; }
.evidence img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 5px; background: #0d1b28; border: 1px solid #d6e1e8; }
.evidence-hardware img { background: #fff; }
.evidence figcaption { padding-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.capability h3, .process h3 { font-size: 20px; line-height: 1.4; }
.capability p, .process p { margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.text-action { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; min-height: 44px; color: var(--blue); font-size: 15px; font-weight: 650; }
.text-action:hover { text-decoration: underline; text-underline-offset: 4px; }

.integration-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.45fr); gap: 52px; }
.integration .section-heading { margin: 0; }
.process { list-style: none; counter-reset: process; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(132px, auto); align-items: start; gap: 9px; padding-block: 14px; border-top: 1px solid var(--line); counter-increment: process; }
.process li::before { content: counter(process, decimal-leading-zero); margin-top: 5px; }
.process .process-output { color: var(--blue-hover); font-size: 13px; font-weight: 650; }

.contact { background: #eef4f8; padding-block: 45px 32px; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px; }
.contact .section-heading { margin: 0; }
.contact .section-heading h2 { font-size: 30px; }
.email-address { display: inline-block; margin-bottom: 9px; color: #16486f; font-size: 16px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.copy-status { min-height: 1.5em; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 1023px) {
  .shell { width: calc(100% - 64px); }
  .hero h1 { font-size: 54px; }
  .hero-water { bottom: auto; height: 405px; mask-image: linear-gradient(#000 66%, transparent 100%); }
  .hero-scene { min-height: 216px; }
  .hero-scene-item img { height: 96px; }
  .hero-description { font-size: 15px; }
  .scenario-panel, .integration-inner { column-gap: 26px; }
  .process li { grid-template-columns: 26px minmax(0, 1fr); gap: 3px 9px; }
  .process .process-output { grid-column: 2; margin-top: 3px; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 59px; }
  .shell { width: calc(100% - 40px); }
  .hero-water { inset: 24px 0 auto; height: auto; mask-image: linear-gradient(transparent, #000 29% 64%, transparent); }
  .hero-water img { height: auto; }
  .hero::before { background: linear-gradient(180deg, #071d3380, transparent 26%); }
  .hero-inner { padding-block: 23px 26px; }
  .hero h1 { font-size: 42px; }
  .hero-fields { margin-top: 6px; font-size: 17px; }
  .hero-scene { width: min(100%, 390px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-height: 0; margin-inline: auto; padding-bottom: 18px; }
  .hero-scene-item { gap: 5px; font-size: 12px; }
  .hero-scene-item img { height: 70px; }
  .hero-rov img { width: min(100%, 103px); }
  .hero-route img { width: min(100%, 156px); }
  .hero-auv-label { grid-column: 1 / -1; grid-row: 1; align-content: end; min-height: clamp(80px, 40vw - 52px, 246px); font-size: 13px; }
  .hero-description { max-width: 440px; font-size: 15px; line-height: 1.6; }
  .hero-actions { margin-top: 14px; gap: 8px; }
  .hero-actions .button { padding-inline: 11px; }

  .section { padding-block: 38px 46px; }
  .section-heading { margin-bottom: 16px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p { margin-top: 6px; font-size: 15px; }
  .scenario-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 4px; }
  .scenario-tabs button { font-size: 15px; min-height: 46px; padding-inline: 4px; }
  .scenario-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "visual" "outputs"; grid-template-rows: auto; gap: 13px; padding-top: 17px; }
  .scenario-copy h3 { margin-bottom: 5px; font-size: 22px; }
  .scenario-copy > p { font-size: 15px; line-height: 1.6; }
  .scenario-outputs div { grid-template-columns: 86px minmax(0, 1fr); padding-block: 8px; }
  .scene-visual { padding: 11px 12px; }

  .capability-grid, .integration-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .capability-grid { gap: 20px; }
  .capability + .capability { padding-top: 20px; border-top: 1px solid var(--line); }
  .evidence { margin-bottom: 7px; }
  .evidence img { max-height: 244px; }
  .integration-inner, .contact-inner { gap: 15px; }
  .contact { padding-block: 34px 24px; }
  .contact .section-heading h2 { font-size: 26px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 38px; }
  .scene-steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-block: 8px; }
  .scene-steps li { grid-template-columns: 22px minmax(0, 1fr); align-items: baseline; gap: 1px 5px; padding: 5px 0; }
  .scene-steps li span { grid-column: 2; }
  .scene-steps li:not(:last-child)::after { content: none; }
}

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