:root {
  --ink: #07111f;
  --ink-soft: #526072;
  --paper: #f4f7fa;
  --white: #ffffff;
  --line: #dce3e9;
  --red: #ff4d5f;
  --red-dark: #d62b40;
  --blue: #2d7ff9;
  --gold: #f6b83f;
  --mint: #27c99a;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 2%, rgba(45, 127, 249, 0.08), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.5rem;
}

.skip-link:focus { top: 1rem; }

.site-header,
footer {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(7, 17, 31, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand > span:last-child > span { color: var(--red); }

.brand-mark {
  position: relative;
  width: 30px;
  aspect-ratio: 1;
  display: inline-block;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: linear-gradient(var(--red) 0 46%, var(--ink) 46% 56%, var(--white) 56%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 7px;
  aspect-ratio: 1;
  left: 50%;
  top: 51%;
  translate: -50% -50%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}

nav { display: flex; gap: 2rem; }

nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a:hover { color: var(--ink); }

.header-status,
.data-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.8rem;
  color: #405164;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.header-status i {
  width: 8px;
  aspect-ratio: 1;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(246, 184, 63, 0.2);
}

main { overflow: hidden; }

.hero,
.section,
.closing-banner {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: 5rem 6.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #516173;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 0.55rem;
  padding: 0.22rem 0.45rem;
  color: var(--white);
  background: var(--red);
  border-radius: 0.3rem;
  letter-spacing: 0.06em;
}

h1,
h2,
h3,
p { text-wrap: balance; }

h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(3.5rem, 7.5vw, 6.7rem);
  line-height: 0.91;
  letter-spacing: -0.075em;
}

h1 em { color: var(--red); font-style: normal; }

.hero-lead {
  max-width: 610px;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

.button {
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 850;
  transition: translate 160ms ease, box-shadow 160ms ease;
}

.button:hover { translate: 0 -2px; }

.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 12px 30px rgba(7, 17, 31, 0.16); }
.button-ghost { background: rgba(255, 255, 255, 0.5); }

.hero-facts {
  display: flex;
  gap: clamp(1.2rem, 4vw, 3rem);
  margin: 3.2rem 0 0;
}

.hero-facts div { position: relative; }
.hero-facts div + div::before { content: ""; position: absolute; left: -1.5rem; height: 100%; border-left: 1px solid var(--line); }
.hero-facts dt { font-size: 0.86rem; font-weight: 900; }
.hero-facts dd { margin: 0.18rem 0 0; color: var(--ink-soft); font-size: 0.76rem; }

.signal-orbit {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.orbit-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 42px 42px;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.ring-one { width: 38%; aspect-ratio: 1; }
.ring-two { width: 68%; aspect-ratio: 1; }
.ring-three { width: 96%; aspect-ratio: 1; }

.sweep {
  position: absolute;
  inset: 50% 0 0 50%;
  transform-origin: 0 0;
  background: conic-gradient(from 265deg, rgba(45,127,249,.65), transparent 38deg);
  animation: sweep 7s linear infinite;
}

@keyframes sweep { to { rotate: 360deg; } }

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

.radar-core {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 145px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(10, 26, 45, 0.86);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.radar-core span { color: #9cb0c8; font-size: 0.62rem; font-weight: 900; letter-spacing: .18em; }
.radar-core strong { margin-block: 0.12rem; font-size: 2.4rem; line-height: 1; letter-spacing: -.06em; }
.radar-core small { color: #9cb0c8; font-size: 0.65rem; }

.radar-dot { position: absolute; width: 12px; aspect-ratio: 1; border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,255,255,.12); }
.dot-one { left: 27%; top: 23%; background: var(--red); }
.dot-two { right: 17%; top: 46%; background: var(--gold); }
.dot-three { left: 21%; bottom: 24%; background: var(--blue); }

.signal-card {
  position: absolute;
  left: 50%;
  bottom: 5%;
  translate: -50% 0;
  width: 78%;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  border-radius: 0.8rem;
  box-shadow: 0 15px 45px rgba(0,0,0,.24);
}

.signal-card span { color: var(--ink-soft); font-size: .64rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.signal-card strong { display: block; margin-top: .1rem; font-size: .96rem; }
.signal-card small { display: block; margin-top: .18rem; color: var(--ink-soft); font-size: .7rem; }

.section { padding-block: 6.5rem; }

.radar-section {
  position: relative;
}

.radar-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  translate: -50%;
  background: #eaf0f5;
}

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading.compact { display: block; }
h2 { margin: 0; font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1; letter-spacing: -.055em; }
h3 { margin: 0; letter-spacing: -.025em; }

.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.metric-card {
  position: relative;
  min-height: 210px;
  padding: 1.5rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(7,17,31,.08);
  border-radius: 1rem;
  box-shadow: 0 12px 35px rgba(7,17,31,.05);
}

.metric-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: var(--accent); }
.accent-red { --accent: var(--red); }
.accent-blue { --accent: var(--blue); }
.accent-gold { --accent: var(--gold); }
.metric-icon { display: grid; width: 38px; aspect-ratio: 1; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, white); border-radius: .65rem; font-weight: 900; }
.metric-card p { margin: 1.4rem 0 .25rem; color: var(--ink-soft); font-size: .82rem; font-weight: 800; }
.metric-card strong { display: block; font-size: 3rem; line-height: 1; letter-spacing: -.06em; }
.metric-card .metric-text { font-size: 2rem; }
.metric-card small { display: block; margin-top: .55rem; color: #7a8999; }

.watchlist-card { margin-top: 1rem; padding: 1.6rem; background: var(--white); border: 1px solid rgba(7,17,31,.08); border-radius: 1rem; box-shadow: 0 15px 45px rgba(7,17,31,.06); }
.watchlist-header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-bottom: 1.2rem; }
.watchlist-header .eyebrow { margin-bottom: .2rem; }
.watchlist-header > span { padding: .35rem .65rem; color: var(--ink-soft); background: var(--paper); border-radius: .4rem; font-size: .72rem; font-weight: 800; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: .9rem; color: #738194; border-block: 1px solid var(--line); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
td { height: 64px; padding: .9rem; border-bottom: 1px solid #edf1f4; font-size: .84rem; font-weight: 700; }
.placeholder { display: block; height: 8px; background: #dbe3e9; border-radius: 99px; }
.placeholder.wide { width: 165px; }
.placeholder.medium { width: 120px; }
.placeholder.short { width: 58px; }
.status-pill { padding: .35rem .55rem; color: #7b6840; background: #fff6dc; border-radius: .4rem; font-size: .67rem; white-space: nowrap; }
.empty-note { margin: 1rem 0 0; color: #8290a0; font-size: .75rem; text-align: center; }

.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3.2rem; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 1rem; }
.criteria-grid article { min-height: 275px; padding: 2rem; background: var(--white); }
.criteria-grid article > span { display: inline-grid; width: 38px; aspect-ratio: 1; place-items: center; color: var(--red); border: 1px solid #ffc8ce; border-radius: 50%; font-size: .72rem; font-weight: 900; }
.criteria-grid h3 { margin-top: 3rem; font-size: 1.2rem; }
.criteria-grid p { margin-bottom: 0; color: var(--ink-soft); font-size: .9rem; }

.source-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.source-copy > p:last-child { max-width: 500px; margin-top: 1.5rem; color: var(--ink-soft); }
.source-flow { margin: 0; padding: 0; list-style: none; counter-reset: source; }
.source-flow li { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.source-flow li > span { display: grid; width: 36px; aspect-ratio: 1; place-items: center; color: var(--white); background: var(--ink); border-radius: .55rem; font-size: .74rem; font-weight: 900; }
.source-flow strong, .source-flow small { display: block; }
.source-flow small { margin-top: .12rem; color: var(--ink-soft); }

.closing-banner {
  margin-bottom: 2rem;
  min-height: 330px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--white);
  background: var(--red);
  border-radius: 1.25rem;
  box-shadow: 0 30px 80px rgba(214,43,64,.24);
}

.closing-banner .eyebrow { color: #ffdce0; }
.closing-banner h2 { max-width: 760px; }
.closing-mark { position: relative; flex: 0 0 auto; width: clamp(110px, 16vw, 180px); aspect-ratio: 1; border: 18px solid rgba(255,255,255,.95); border-radius: 50%; background: linear-gradient(transparent 0 42%, rgba(255,255,255,.95) 42% 58%, transparent 58%); opacity: .92; }
.closing-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28%; aspect-ratio: 1; translate: -50% -50%; border: 12px solid rgba(255,255,255,.95); border-radius: 50%; }

footer { min-height: 140px; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; color: #6a7888; font-size: .75rem; }
footer p { justify-self: center; text-align: center; }
.footer-brand { color: var(--ink); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .signal-orbit { justify-self: center; }
  .metric-grid, .criteria-grid { grid-template-columns: 1fr; }
  .criteria-grid { gap: 1px; }
  .criteria-grid article { min-height: auto; }
  .criteria-grid h3 { margin-top: 2rem; }
  .source-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding-block: 2.5rem; text-align: center; }
  footer > * { justify-self: center; }
}

@media (max-width: 620px) {
  .site-header, .hero, .section, .closing-banner, footer { width: min(100% - 1.5rem, 1180px); }
  .site-header { min-height: 72px; }
  .header-status { font-size: 0; padding: .65rem; }
  .header-status i { margin: 0; }
  .hero { min-height: 0; padding-block: 3.5rem 4rem; }
  h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero-facts { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  .hero-facts div + div::before { display: none; }
  .signal-orbit { width: 100%; }
  .signal-card { width: 88%; }
  .section { padding-block: 4.5rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .watchlist-card { padding: 1rem; }
  th { display: none; }
  tr { display: grid; grid-template-columns: 1fr 1fr; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  td { height: auto; padding: .45rem; border: 0; }
  td::before { content: attr(data-label); display: block; margin-bottom: .25rem; color: #8491a0; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
  .closing-banner { min-height: 390px; align-items: start; flex-direction: column; }
  .closing-mark { align-self: flex-end; }
}
