:root {
  --bg: #050a12;
  --bg-alt: #07101c;
  --card: #0a1524;
  --line: rgba(125, 175, 225, 0.14);
  --line-strong: rgba(125, 175, 225, 0.26);
  --text: #eaf3fa;
  --soft: #b9c9d9;
  --muted: #8298ae;
  --dim: #566b81;
  --teal: #2ee6d0;
  --cyan: #38bdf8;
  --blue: #3b82f6;
  --grad: linear-gradient(90deg, #4aa8ff 0%, #38c8f0 45%, #2ee6d0 100%);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1140px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: #031016; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 10, 18, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 34px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 26px; height: 26px; color: var(--text); }
.brand__signal { fill: var(--teal); }
.brand__name { font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14.5px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.nav__links a:hover { color: var(--text); }

/* Buttons and links */
.btn {
  display: inline-block;
  background: var(--grad); color: #03121c;
  font-weight: 600; font-size: 15.5px; text-decoration: none;
  padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 8px 30px rgba(46, 200, 230, 0.22);
  transition: box-shadow 0.2s, transform 0.2s;
}
.btn:hover { box-shadow: 0 10px 38px rgba(46, 220, 220, 0.38); transform: translateY(-1px); }
.btn--small { padding: 9px 18px; font-size: 14px; box-shadow: none; }
.link { color: var(--soft); text-decoration: none; font-size: 15.5px; transition: color 0.15s; }
.link:hover { color: var(--teal); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before {
  content: ""; position: absolute; pointer-events: none;
  width: 900px; height: 900px; right: -260px; top: -380px;
  background: radial-gradient(closest-side, rgba(56, 150, 248, 0.2), rgba(46, 230, 208, 0.06) 55%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5, 10, 18, 0.88) 36%, rgba(5, 10, 18, 0) 80%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 10, 18, 0) 32%);
}
.hero__inner { position: relative; z-index: 1; padding-top: clamp(88px, 16vh, 170px); padding-bottom: clamp(72px, 12vh, 130px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--soft);
  padding: 7px 14px 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(56, 150, 248, 0.07);
  margin-bottom: 30px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 10px var(--teal);
}

h1 {
  font-weight: 650; font-size: clamp(2.8rem, 7.4vw, 5.6rem);
  line-height: 1.02; letter-spacing: -0.04em; max-width: 12ch;
}
.hero__lede { margin-top: 28px; max-width: 46ch; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--soft); }
.hero__actions { margin-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Team logos */
.team { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); position: relative; z-index: 1; }
.team__inner { display: flex; align-items: center; gap: 28px 56px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.team__title { font-size: 14px; color: var(--muted); letter-spacing: 0.02em; white-space: nowrap; }
.team__logos { display: flex; align-items: center; gap: 28px 60px; flex-wrap: wrap; }
.logo { width: auto; filter: brightness(0) invert(1); opacity: 0.82; transition: opacity 0.2s; }
.logo:hover { opacity: 1; }
.logo--co { height: 54px; }
.logo--gdm { height: 26px; }
.logo--bcg { height: 34px; }

/* Sections */
.section { padding: clamp(80px, 11vw, 136px) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.label {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
h2 {
  font-weight: 650; font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.08; letter-spacing: -0.032em; max-width: 20ch; text-wrap: balance;
}
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

/* Threat actors */
.actors { margin-top: clamp(40px, 6vw, 68px); display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.actors__known { display: flex; flex-direction: column; }
.actors__caption, .rogue__seen {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim);
}
.actors__caption { margin-bottom: 14px; }
.known { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.actor {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 22px; display: flex; flex-direction: column;
}
.actor__icon { width: 28px; height: 28px; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.actor h3 { margin-top: 18px; color: var(--soft); }
.meter { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.meter li { height: 4px; border-radius: 2px; background: #2f5f93; }
.actors__key { margin-top: 14px; font-size: 13px; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.key { width: 22px; height: 4px; border-radius: 2px; display: inline-block; }
.key--on { background: #2f5f93; }

.rogue {
  position: relative; border-radius: 20px; padding: 34px 34px 32px;
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, #0b1b2c 0%, #071320 100%) padding-box,
    linear-gradient(140deg, #2ee6d0 0%, #38bdf8 40%, rgba(59, 130, 246, 0.25) 100%) border-box;
  box-shadow: 0 0 90px rgba(46, 230, 208, 0.13), 0 0 0 1px rgba(46, 230, 208, 0.04);
}
.rogue__badge {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  color: #03121c; background: var(--teal); padding: 4px 12px; border-radius: 999px;
}
.rogue__icon { position: absolute; top: 28px; right: 30px; width: 44px; height: 44px; color: var(--text); }
.rogue h3 { margin-top: 26px; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1; }
.rogue__line { margin-top: 14px; color: var(--soft); max-width: 30ch; }
.unknowns { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.unknowns div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line-strong); }
.unknowns dt { font-size: 15px; color: var(--soft); }
.unknowns dd { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.rogue__seen { margin-top: 26px; }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.25); color: var(--text); }

/* Question and answer pairs: question on the left, answer on the right */
.pairs { margin-top: clamp(40px, 6vw, 64px); display: flex; flex-direction: column; gap: 12px; }
.pairs__head, .pair { display: grid; grid-template-columns: 1fr 88px 1.3fr; align-items: center; column-gap: 28px; }
.pairs__head { padding: 0 32px 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.pairs__head span:last-child { color: var(--teal); }
.pair {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px;
  background: linear-gradient(90deg, var(--card) 0%, var(--card) 45%, #0b2030 100%);
}
.pair__q { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.12; color: var(--soft); }
.pair__arrow { position: relative; height: 1px; background: linear-gradient(90deg, rgba(56, 189, 248, 0.2), var(--teal)); }
.pair__arrow::after {
  content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px;
  border-top: 1px solid var(--teal); border-right: 1px solid var(--teal); transform: rotate(45deg);
}
.pair h3 {
  font-size: 1.3rem; letter-spacing: -0.02em; width: fit-content;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pair__a p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }

/* Timeline */
.timeline { margin-top: clamp(48px, 7vw, 84px); display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px;
  background: linear-gradient(90deg, #3b82f6, #38bdf8, #2ee6d0); opacity: 0.7; border-radius: 2px;
}
.timeline li { position: relative; padding-top: 30px; padding-right: 20px; display: flex; flex-direction: column; gap: 2px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--cyan);
}
.timeline li:last-child::before { border-color: var(--teal); }
.timeline__when { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.timeline strong { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.025em; }
.timeline li > span:last-child { font-size: 15px; color: var(--muted); }

.note { margin-top: 44px; font-size: 14px; color: var(--dim); max-width: 62ch; }

/* Contact */
.contact__panel {
  text-align: center; border-radius: 28px; padding: clamp(48px, 8vw, 88px) 24px;
  border: 1px solid transparent;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(56, 150, 248, 0.2), transparent 62%) padding-box,
    linear-gradient(#081422, #060d18) padding-box,
    linear-gradient(140deg, rgba(46, 230, 208, 0.7), rgba(59, 130, 246, 0.25)) border-box;
}
.contact__panel h2 { max-width: none; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.contact__panel p { margin-top: 12px; color: var(--soft); }
.contact__mail {
  display: inline-block; margin-top: 30px;
  font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.contact__mail:hover { filter: brightness(1.2); }
.contact__panel .contact__small { margin-top: 26px; font-size: 13.5px; color: var(--dim); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 26px 0 34px; }
.footer__inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* Responsive */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .actors { grid-template-columns: 1fr; }
  .pairs__head, .pair { grid-template-columns: 1fr 48px 1.2fr; column-gap: 20px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(5, 10, 18, 0.88) 0%, rgba(5, 10, 18, 0.62) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(5, 10, 18, 0) 32%);
  }
  .team__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .team__logos { gap: 24px 36px; }
  .logo--co { height: 44px; }
  .logo--gdm { height: 20px; }
  .logo--bcg { height: 28px; }
  .known { gap: 10px; }
  .actor { padding: 18px 16px; }
  .rogue { padding: 28px 22px 26px; }
  .pairs__head, .pair { grid-template-columns: 1fr 18px 1.15fr; column-gap: 12px; }
  .pairs__head { padding: 0 16px 2px; font-size: 10px; letter-spacing: 0.1em; }
  .pair { padding: 20px 16px; }
  .pair__q { font-size: 1.15rem; }
  .pair h3 { font-size: 1.02rem; }
  .pair__a p { font-size: 13.5px; line-height: 1.45; }
  .timeline li { padding-right: 10px; }
  .timeline strong { font-size: 1.08rem; }
  .timeline li > span:last-child { font-size: 12.5px; line-height: 1.35; }
  .timeline__when { font-size: 10px; letter-spacing: 0.1em; }
}

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