:root {
  --bg: #0b1220;
  --bg-soft: #111a2e;
  --line: #1f2b45;
  --text: #e6ecf7;
  --muted: #9aa8c2;
  --accent: #34d3a6;
  --accent-soft: rgba(52, 211, 166, 0.14);
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header { border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; margin-left: 24px; font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 88px 0 72px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.025em; margin: 18px 0 18px; }
h1 span { color: var(--accent); }
.lead { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 28px; }
.cta { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--accent); color: #062017; font-weight: 700; text-decoration: none; }
.cta:hover { filter: brightness(1.08); }

/* Sonar */
.sonar { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; margin: 0 auto; }
.sonar .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.sonar .ring:nth-child(2) { inset: 16%; }
.sonar .ring:nth-child(3) { inset: 32%; }
.sonar .ping { position: absolute; inset: 46%; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 3.2s ease-out infinite; }
.sonar .ping:nth-child(5) { animation-delay: 1.07s; }
.sonar .ping:nth-child(6) { animation-delay: 2.13s; }
.sonar .core { position: absolute; inset: 47%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px var(--accent); }
.sonar .dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--text); opacity: 0.9; }
.sonar .dot.hot { background: var(--accent); box-shadow: 0 0 14px var(--accent); }

@keyframes ping {
  0% { inset: 46%; opacity: 0.9; }
  100% { inset: 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sonar .ping { animation: none; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px 0 80px; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .icon { width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; font-weight: 700; }

/* Status band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.band .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { margin: 0 0 6px; font-size: 24px; }
.band p { margin: 0; color: var(--muted); }

/* Legal pages */
.doc { max-width: 760px; padding: 64px 24px 96px; }
.doc h1 { font-size: 40px; margin-top: 0; }
.doc h2 { font-size: 22px; margin-top: 40px; }
.doc p, .doc li { color: #c9d3e6; }
.doc .updated { color: var(--muted); font-size: 15px; }

/* Footer */
footer { color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 40px; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .sonar { max-width: 260px; }
  .features { grid-template-columns: 1fr; }
  .nav-links a { margin-left: 16px; }
}

.legal-note { display: block; font-size: 0.75rem; opacity: 0.7; margin-top: 0.5rem; }
