:root {
  color-scheme: dark;
  --bg: #080d12;
  --panel: #0d151d;
  --panel-light: #13212b;
  --text: #e8eef0;
  --muted: #8999a0;
  --line: rgba(151, 180, 188, 0.2);
  --accent: #d4a64a;
  --accent-bright: #f0c967;
  --cyan: #6ac0c2;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(42, 99, 107, 0.2), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 42px 42px, 42px 42px, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent 49.9%, rgba(106, 192, 194, 0.05) 50%, transparent 50.1%);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.hero,
.briefing {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: skew(-8deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.brand small,
.eyebrow,
.panel-topline,
.panel-readout,
.card-number,
.site-footer {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.55rem;
}

.header-link {
  color: var(--accent-bright);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: center;
  min-height: 620px;
  padding: 88px 0 112px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 650px;
  color: var(--text);
  font-size: clamp(3.7rem, 8vw, 7.4rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 530px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--bg);
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-bright);
}

.button-secondary {
  border-color: var(--line);
  color: var(--muted);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--cyan);
  color: var(--text);
}

.hero-panel {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(13, 21, 29, 0.86);
  box-shadow: 22px 22px 0 rgba(106, 192, 194, 0.06);
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  width: 14px;
  height: 14px;
  content: "";
  border-color: var(--accent);
}

.hero-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.hero-panel::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.panel-topline,
.panel-readout {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.58rem;
}

.panel-value {
  margin-left: auto;
  color: var(--accent-bright);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.radar {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 26px auto;
  overflow: hidden;
  border: 1px solid rgba(106, 192, 194, 0.45);
  border-radius: 50%;
  background:
    linear-gradient(rgba(106, 192, 194, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 192, 194, 0.1) 1px, transparent 1px),
    rgba(8, 13, 18, 0.9);
  background-size: 25% 25%;
}

.radar::before,
.radar::after {
  position: absolute;
  content: "";
  background: rgba(106, 192, 194, 0.35);
}

.radar::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.radar::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(106, 192, 194, 0.32);
  border-radius: 50%;
}

.radar-ring-large {
  inset: 16%;
}

.radar-ring-small {
  inset: 34%;
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), transparent);
  animation: sweep 4s linear infinite;
}

.radar-contact {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 12px var(--accent);
}

.radar-contact-one {
  top: 27%;
  left: 63%;
}

.radar-contact-two {
  top: 62%;
  left: 29%;
}

.radar-contact-three {
  top: 71%;
  left: 70%;
}

.panel-readout strong {
  margin-left: auto;
  color: var(--text);
  font-size: 0.62rem;
}

.briefing {
  padding: 0 0 112px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

h2 {
  max-width: 510px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.96;
}

.briefing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
}

.briefing-card {
  min-height: 230px;
  padding: 28px;
  background: var(--panel);
}

.card-number {
  display: block;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 0.68rem;
}

h3 {
  font-size: 1.65rem;
}

.briefing-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.56rem;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

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

  .radar-sweep {
    animation: none;
  }

  .button {
    transition: none;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .hero,
  .briefing {
    width: min(100% - 32px, 560px);
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 78px 0 88px;
  }

  .hero-panel {
    max-width: 440px;
    margin: 64px auto 0;
  }

  .section-heading {
    display: block;
  }

  .briefing-grid {
    grid-template-columns: 1fr;
  }

  .briefing-card {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .site-header {
    align-items: flex-start;
  }

  .header-link {
    max-width: 80px;
    text-align: right;
  }

  .brand strong {
    font-size: 0.78rem;
  }

  .brand small {
    font-size: 0.48rem;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}
