:root {
  color-scheme: dark;
  --stage-0: #0b0f1a;
  --stage-1: #0e1424;
  --stage-2: #141c33;
  --stage-3: #1b2747;
  --ink: #eaf0ff;
  --muted: #b6c2e3;
  --soft: #7f8bb0;
  --line: rgba(234, 240, 255, 0.12);
  --cyan: #22d3ee;
  --magenta: #fb3ef4;
  --lime: #7cff6b;
  --gold: #f6c945;
  --red: #ff3b5c;
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(800px circle at 12% 0%, rgba(34, 211, 238, 0.13), transparent 40%),
    radial-gradient(700px circle at 94% 6%, rgba(251, 62, 244, 0.09), transparent 38%),
    linear-gradient(180deg, var(--stage-0), #080d18 54%, var(--stage-1));
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
select {
  color-scheme: dark;
  background-color: var(--stage-2);
  color: var(--ink);
}
select option,
select optgroup {
  background-color: var(--stage-2);
  color: var(--ink);
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  padding: 10px 12px; border-radius: var(--radius); background: var(--ink); color: var(--stage-0);
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 66px; padding: 10px max(14px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line); background: rgba(11, 15, 26, 0.88); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: min(250px, 48vw); }
.brand-logo {
  display: block;
  width: clamp(160px, 18vw, 230px);
  max-height: 46px;
  object-fit: contain;
}
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(246, 201, 69, 0.18));
  border: 1px solid rgba(34, 211, 238, 0.35); font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 0.78rem; }
.nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.nav a, .button, .pill, .submit-card button {
  min-height: 40px; border-radius: var(--radius); border: 1px solid var(--line);
}
.nav a { display: inline-flex; align-items: center; padding: 0 11px; color: var(--muted); white-space: nowrap; font-size: 0.9rem; }
.nav a:hover, .nav-action { color: var(--ink); background: rgba(34, 211, 238, 0.08); border-color: rgba(34, 211, 238, 0.34); }
main, .site-footer { width: min(calc(100% - 28px), var(--max)); margin: 0 auto; }
.hero {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(22px, 3.6vw, 48px); align-items: center; min-height: calc(100vh - 66px); padding: 28px 0 34px;
}
.eyebrow { margin: 0 0 13px; color: var(--cyan); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(2.75rem, 5.85vw, 5.35rem); line-height: 0.94; letter-spacing: 0; }
h2 { margin-bottom: 12px; font-size: clamp(1.9rem, 3.4vw, 3.6rem); line-height: 1; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 1.1rem; line-height: 1.2; letter-spacing: 0; }
p, li { color: var(--muted); line-height: 1.62; }
.lede { max-width: 720px; color: #dbe4fb; font-size: clamp(1.02rem, 1.65vw, 1.18rem); }
.philosophy { color: var(--gold); font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button, .submit-card button {
  display: inline-flex; align-items: center; justify-content: center; padding: 0 15px;
  background: rgba(234, 240, 255, 0.045); color: var(--ink); font-weight: 850; cursor: pointer;
}
.button.primary, .submit-card button {
  color: #1a1202; border-color: rgba(185, 133, 19, 0.62);
  background: linear-gradient(180deg, #ffd86a, var(--gold));
  box-shadow: 0 0 0 1px rgba(246, 201, 69, 0.28), 0 0 26px rgba(246, 201, 69, 0.18);
}
.button:hover, .submit-card button:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.65), 0 0 0 5px rgba(11, 15, 26, 0.9);
}
.radar-card, .panel, .split, .cta-band, .submit-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 28, 51, 0.94), rgba(14, 20, 36, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(234, 240, 255, 0.06);
}
.radar-card { padding: 18px; overflow: hidden; }
.radar-head, .radar-metrics, .site-footer, .form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.radar-head { color: var(--muted); font-size: 0.9rem; }
.live-dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 99px; background: var(--lime); box-shadow: 0 0 0 6px rgba(124, 255, 107, 0.16); }
.radar-map {
  position: relative; display: grid; place-items: center; height: 330px; margin: 14px 0; overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.16); border-radius: var(--radius);
  background:
    linear-gradient(rgba(34, 211, 238, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.10) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(34, 211, 238, 0.22), rgba(139, 92, 246, 0.16) 42%, rgba(246, 201, 69, 0.09));
  background-size: 36px 36px, 36px 36px, 100% 100%;
}
.ring, .sweep, .ping { position: absolute; border-radius: 999px; }
.ring { border: 1px solid rgba(234, 240, 255, 0.16); }
.r1 { width: 42%; aspect-ratio: 1; }
.r2 { width: 68%; aspect-ratio: 1; }
.r3 { width: 92%; aspect-ratio: 1; }
.sweep { left: 50%; top: 50%; width: 46%; height: 3px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.9)); transform-origin: left center; animation: sweep 6s linear infinite; }
.ping { width: 16px; height: 16px; background: var(--gold); box-shadow: 0 0 0 8px rgba(246, 201, 69, 0.16); }
.p1 { left: 28%; top: 34%; } .p2 { left: 58%; top: 22%; background: var(--cyan); } .p3 { left: 70%; top: 62%; background: var(--lime); }
@keyframes sweep { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }
.radar-metrics { align-items: stretch; }
.radar-metrics span { flex: 1; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.radar-metrics strong { display: block; color: var(--ink); }
.section { padding: 38px 0; }
.section-heading { max-width: 820px; margin-bottom: 20px; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.panel { min-height: 250px; padding: 20px; }
.pill { display: inline-flex; align-items: center; min-height: 30px; margin-bottom: 18px; padding: 0 10px; font-size: 0.78rem; font-weight: 900; }
.cyan { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }
.gold { background: rgba(246, 201, 69, 0.15); color: var(--gold); }
.lime { background: rgba(124, 255, 107, 0.12); color: var(--lime); }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 18px; padding: 24px; align-items: start; }
.check-grid, .subject-strip { display: flex; flex-wrap: wrap; gap: 9px; }
.check-grid span, .subject-strip span, .workflow li {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(234, 240, 255, 0.05); color: var(--muted);
}
.workflow { display: grid; gap: 9px; margin: 0; padding-left: 20px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; }
.site-footer { flex-wrap: wrap; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--soft); }
.site-footer nav { display: flex; gap: 12px; }
.page-shell { padding: 46px 0; max-width: 900px; }
.submit-card { padding: 22px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label, .fieldset-label, legend { color: var(--muted); font-size: 0.9rem; font-weight: 800; }
fieldset {
  margin: 0 0 14px; padding: 0; border: 0;
}
legend { margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(234, 240, 255, 0.055); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 14px; }
.checkbox-grid label, .check-field { display: flex; gap: 9px; align-items: start; color: var(--muted); }
.form-message { margin-top: 12px; padding: 12px; border-radius: var(--radius); display: none; }
.form-message.success { display: block; border: 1px solid rgba(124, 255, 107, 0.35); background: rgba(124, 255, 107, 0.1); color: var(--ink); }
.form-message.error { display: block; border: 1px solid rgba(255, 59, 92, 0.35); background: rgba(255, 59, 92, 0.1); color: var(--ink); }
.hidden { display: none !important; }
@media (max-width: 900px) {
  .site-header, .hero, .split, .cta-band { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .nav { width: 100%; justify-content: flex-start; }
  .area-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .radar-metrics { flex-direction: column; }
}
@media (max-width: 520px) {
  main, .site-footer { width: min(calc(100% - 24px), var(--max)); }
  .site-header { gap: 10px; }
  .brand { min-width: 0; }
  .brand-logo { width: 168px; max-height: 42px; }
  .brand small { font-size: 0.72rem; }
  .nav { gap: 6px; }
  .nav a { min-height: 36px; padding: 0 9px; font-size: 0.82rem; }
  .hero { padding: 24px 0 30px; }
  h1 { font-size: clamp(2rem, 12vw, 2.55rem); line-height: 1; }
  h2 { font-size: clamp(1.55rem, 9vw, 2.35rem); }
  .lede { font-size: 1rem; }
  .philosophy { margin-bottom: 0; }
  .radar-card { padding: 14px; }
  .radar-map { height: 260px; }
  .radar-head { flex-direction: column; align-items: flex-start; }
  .button, .submit-card button { width: 100%; }
  .form-row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 340px) {
  .nav a { font-size: 0.78rem; padding: 0 7px; }
  .brand-logo { width: 142px; max-height: 38px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 0.94rem; }
  .brand small { font-size: 0.68rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sweep { transform: translateY(-50%) rotate(32deg); }
}
