﻿:root {
  color-scheme: dark;
  --background: #10130f;
  --panel: #111710;
  --ink: #f3f4e9;
  --muted: #b5bdad;
  --muted-green: #a9b6a0;
  --accent: #d4ff75;
  --line: #30382d;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--background);
  color: var(--ink);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
html { scroll-behavior: smooth; }
h1, h2, h3, p, figure { margin: 0; }

.shell { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.site-header {
  min-height: 87px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  font: 700 1.18rem var(--mono);
  letter-spacing: -.07em;
  text-decoration: none;
}

.brand-domain { color: var(--accent); }
.brand-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}
.brand-icon::before { content: ""; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.brand-icon::after { content: ""; position: absolute; width: 8px; height: 1px; left: 9px; top: 9px; background: currentColor; transform: rotate(-45deg); transform-origin: left; }
.site-header nav { display: flex; gap: 33px; }
.site-header nav a, .site-footer a { color: var(--muted); text-decoration: none; }
.site-header a:hover, .site-footer a:hover { color: var(--accent); }
.launch {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #414b33;
  border-radius: 100px;
  padding: 8px 13px;
  color: var(--accent);
  font: .875rem var(--mono);
  white-space: nowrap;
}
.launch > span, .signal-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px #d4ff7560;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(62px, 5.5vw, 82px) 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font: 500 .875rem/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow > span { width: 21px; height: 1px; background: currentColor; }
h1 {
  margin: 19px 0 22px;
  font-size: clamp(3.35rem, 6.2vw, 6rem);
  line-height: .99;
  letter-spacing: -.075em;
  font-weight: 730;
}
h1 em { color: var(--accent); font-style: normal; }
.intro { max-width: 44ch; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.62; }
.primary {
  display: inline-flex;
  align-items: center;
  min-height: 51px;
  margin-top: 29px;
  padding: 0 22px;
  border-radius: 5px;
  background: var(--accent);
  color: #151c0d;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms;
}
.primary:hover { background: #e5ffad; }

.radar { min-width: 0; border: 1px solid #45523b; border-radius: 12px; background: var(--panel); overflow: hidden; }
.radar-header, .radar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 17px;
  min-height: 52px;
  font: .875rem var(--mono);
}
.radar-header { border-bottom: 1px solid var(--line); color: var(--ink); }
.radar-mode { color: var(--muted-green); }
.radar-symbol { margin-right: 5px; color: var(--accent); font-size: 1.13em; }
.radar-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 560 / 406;
  background: #132016 url("./radar.webp") center / 100% 100% no-repeat;
}
.sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 94%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from -61deg, transparent 0deg, #b5ff5a06 37deg, #bcff7238 60deg, #d4ff7580 60.8deg, transparent 61deg);
  transform: translate(-50%, -50%) rotate(var(--bearing, 40deg));
  transition: transform 550ms cubic-bezier(.2,.7,.25,1);
}
.blip {
  position: absolute;
  top: var(--y);
  left: var(--x);
  translate: -10.5px -50%;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 3px 6px;
  border: 0;
  background: none;
  border-radius: 4px;
  color: #e7f3d0;
  font: .875rem var(--mono);
  white-space: nowrap;
  cursor: pointer;
}
.blip::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border: 1px solid #cff783;
  border-radius: 50%;
  background: #2f4c21;
  box-shadow: 0 0 0 4px #a5e95223, 0 0 14px #a5e95270;
}
.blip:hover, .blip[aria-pressed="true"] { color: var(--accent); }
.blip[aria-pressed="true"]::before { background: var(--accent); box-shadow: 0 0 0 5px #c6f87934, 0 0 19px #c6f879b0; }
.radar-footer { border-top: 1px solid var(--line); color: var(--accent); }
#radar-reading { display: flex; align-items: center; gap: 10px; }
.next-signal {
  color: var(--muted-green);
  background: none;
  padding: 6px 0 6px 6px;
  min-height: 44px;
  border: 0;
  cursor: pointer;
}
.next-signal span { margin-right: 3px; font-size: 1.1em; }
.next-signal:hover { color: var(--accent); }

.topics, .about { border-top: 1px solid var(--line); padding: 46px 0 56px; scroll-margin-top: 20px; }
.section-heading h2 { margin-top: 10px; font-size: clamp(2.05rem, 4.1vw, 3.55rem); letter-spacing: -.06em; line-height: 1.1; }
.topic-picker { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 12px; }
.topic-picker button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  padding: 8px 15px;
  color: var(--muted);
  font: .875rem var(--mono);
  cursor: pointer;
}
.topic-picker button:hover { color: var(--ink); border-color: var(--muted-green); }
.topic-picker button[aria-selected="true"] { color: var(--accent); border-color: #82a250; background: #212e18; }
.topic-panels { display: grid; gap: 12px; margin-top: 12px; }
.topic-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 14px 32px;
  align-items: baseline;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-left: 2px solid #8cb454;
  border-radius: 7px;
  background: #171e14;
}
.topic-panel h3 { font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.16; letter-spacing: -.035em; }
.topic-panel p, details p { color: var(--muted); line-height: 1.65; }
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 15px 0; cursor: pointer; font-weight: 600; }
summary::marker { color: var(--accent); }
details p { padding: 0 0 16px 16px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding: 25px 0 35px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

@media (max-width: 1050px) {
  .shell { width: calc(100% - 72px); }
}
@media (max-width: 800px) {
  .shell { max-width: 610px; width: calc(100% - 44px); }
  .site-header { min-height: 72px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  h1 { font-size: clamp(3.15rem, 11vw, 5.65rem); }
  .about { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 515px) {
  .site-header { grid-template-columns: 1fr auto; gap: 14px; }
  .site-header nav { display: none; }
  .launch { font-size: .78rem; padding: 7px 9px; }
  .radar-header, .radar-footer { padding: 0 11px; }
  .blip { font-size: .75rem; gap: 4px; }
  .blip[data-topic="security"] { flex-direction: row-reverse; translate: calc(-100% + 10.5px) -50%; }
  .topic-panel { grid-template-columns: 1fr; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sweep, .primary { transition: none; }
}
