:root {
  color-scheme: dark;
  --ink: #eef4ff;
  --muted: #adbed7;
  --line: #3c54736b;
  --primary: #a9f2da;
  --page: #0b1421;
  --radius-showcase: 24px;
}

body {
  background: radial-gradient(ellipse at 18% 25%, #1a36513d, transparent 47%), var(--page);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
}

.site-header, .hero, .workflow, .site-footer, .probe-observatory {
  width: min(1320px, calc(100% - clamp(32px, 8vw, 124px)));
  margin-inline: auto;
}

.site-header { min-height: 80px; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: #e8fff4; }
.brand { color: #f0f7ff; }
.brand img { filter: drop-shadow(0 3px 14px #729dff63); }
.hero-band {
  isolation: isolate;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 65% 0%, #284b734f, transparent 65%),
    radial-gradient(ellipse at 12% 70%, #27458654, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 47px, #96b9ee0a 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, #96b9ee0a 47px 48px),
    #101b2b;
}

.hero { padding-block: clamp(32px, 7vw, 108px); gap: clamp(26px, 5vw, 70px); grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.hero h1 { font-size: clamp(36px, 4.4vw, 68px); font-weight: 730; color: #f2f6ff; line-height: 1.14; letter-spacing: -.065em; }
.hero h1 em {
  color: #b5fae6;
  background: linear-gradient(115deg, #e4fff7 3%, #a4eed5 54%, #aac4ff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy p { max-width: 31ch; color: #b6c8e1; }
.hero-copy { animation: observatory-reveal .6s cubic-bezier(.2,.75,.24,1) both; }
@keyframes observatory-reveal { from { opacity: .25; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.action {
  border-radius: 11px;
  color: #102820;
  background: #b5f6de;
  border-color: #b5f6de;
  box-shadow: 0 6px 28px #a6f3d42a;
  transition: background .23s, transform .23s, box-shadow .23s;
}
.action:hover { color: #102820; background: #d4ffec; box-shadow: 0 8px 32px #a6f3d445; }
.action.outline { color: #e4f2ff; background: #30456640; border-color: #809dc16b; box-shadow: none; }
.action.outline:hover { color: #fff; border-color: #b5f6de; background: #3c597669; }

.public-map {
  min-width: 0;
  background: #132438;
  border: 1px solid #516b8e79;
  border-radius: var(--radius-showcase);
  box-shadow: 0 34px 80px #030a1669, inset 0 1px #c6e9ff24;
  overflow: hidden;
}
.public-map header { color: var(--ink); padding: 18px 21px; align-items: center; }
.public-map header p, .public-map footer { color: var(--muted); }
.public-map header b { min-width: 38px; padding: 4px 8px; text-align: center; color: #b5f6de; background: #243d4f; border: 1px solid #9ef6d947; border-radius: 12px; }
.public-map .atlas-viewport { height: clamp(310px, 33vw, 510px); }
.public-map .atlas-live-tiles { filter: saturate(.76) brightness(.86) contrast(1.12); }
.public-map .atlas-viewport::after { opacity: .38; mix-blend-mode: screen; }
.public-map .atlas-route.is-verified { filter: drop-shadow(0 0 5px #a6f8dd81); }
.public-map .atlas-tooltip { background: #122634; border-color: #54798e; }
.public-map footer { background: #112033; }
.public-map footer b { color: #b8f8e0; }

.probe-observatory { padding-block: clamp(40px, 7vw, 94px) 35px; }
.probe-observatory > header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.probe-observatory header h2, .workflow h2 { margin: 0; font-size: clamp(24px, 4vw, 42px); color: var(--ink); letter-spacing: -.045em; }
.probe-observatory header p { margin: 8px 0 0; color: var(--muted); }
.probe-observatory header label { display: grid; gap: 5px; font-size: 12px; color: var(--muted); }
.probe-observatory select { min-height: 40px; padding-inline: 10px; border: 1px solid #5c759896; border-radius: 9px; background: #17263a; color: var(--ink); }
.measurement-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px,100%),1fr)); gap: 14px; }
.measurement-empty { margin: 0; padding: 25px; border: 1px dashed #536b8b8c; border-radius: 14px; color: var(--muted); background: #17273b57; }
.measurement-card, .capabilities article {
  background: linear-gradient(145deg, #1f334c, #122035 76%);
  border: 1px solid #45648879;
  border-radius: var(--radius-showcase);
  box-shadow: 0 15px 32px #03091534;
}
.measurement-card { padding: 20px; }
.measurement-card h3 { margin: 11px 0 4px; font-size: 17px; color: var(--ink); overflow-wrap: anywhere; }
.measurement-card p, .measurement-card time { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.measurement-card span {
  display: inline-block;
  border: 1px solid #f2c88461;
  border-radius: 20px;
  color: #ffda9c;
  padding: 2px 8px;
  font-size: 12px;
}
.measurement-card[data-verified='true'] span { color: #bcf9e4; border-color: #a3f8d956; }
.workflow { padding-block: 44px clamp(48px, 7vw, 90px); }
.workflow h2 { margin-bottom: 22px; }
.capabilities h3 { color: var(--ink); }
.capabilities p, .site-footer { color: var(--muted); }
.capabilities a { color: #b3f4df; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .action:hover { transform: translateY(-2px); }
  .capabilities article { transition: translate .24s cubic-bezier(.2,.75,.24,1), border-color .24s; }
  .capabilities article:hover { translate: 0 -3px; border-color: #96eccf96; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .public-map .atlas-viewport { height: clamp(265px, 53vw, 400px); }
}
@media (max-width: 530px) {
  .site-header { min-height: 66px; }
  .hero h1 { font-size: clamp(34px, 10vw, 54px); }
  .probe-observatory > header { align-items: start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
  .action { transition: none; }
}
