:root {
  --ink: #06101d;
  --navy: #08182a;
  --blue: #0d3f64;
  --cyan: #73caff;
  --gold: #e4b85c;
  --gold-strong: #f7d990;
  --text: #f7f2e8;
  --muted: #b9c4ce;
  --line: rgba(128, 207, 255, 0.24);
  --panel: rgba(7, 24, 42, 0.72);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(35, 116, 168, 0.3), transparent 30%),
    linear-gradient(135deg, #020814 0%, var(--ink) 42%, #0c2235 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px clamp(20px, 5vw, 88px);
  border-bottom: 1px solid rgba(125, 201, 255, 0.2);
  background: rgba(4, 14, 27, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-strong);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 0 26px rgba(228, 184, 92, 0.32);
}

.brand strong {
  display: block;
  color: var(--gold-strong);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 28px;
  line-height: 0.9;
}

.brand small {
  display: block;
  max-width: 210px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 36px);
  color: #d7dde5;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-strong);
}

.header-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(228, 184, 92, 0.72);
  padding: 0 18px;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 104px clamp(20px, 5vw, 88px) 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.26), rgba(2, 8, 20, 0.58) 48%, #020814 100%),
    radial-gradient(circle at 50% 22%, rgba(45, 128, 177, 0.26) 0 18%, rgba(2, 8, 20, 0.36) 44%, rgba(2, 8, 20, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 8, 20, 0.94), rgba(12, 44, 70, 0.68) 48%, rgba(2, 8, 20, 0.94));
  transform: scale(1.01);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(115, 202, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 202, 255, 0.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 32%, black 0 34%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin-top: -34px;
  text-align: center;
}

.hero-emblem {
  width: clamp(340px, 42vw, 620px);
  aspect-ratio: 1300 / 1260;
  margin: 0 auto 14px;
  background-image: url("./sbgc-emblem.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.62));
  mask-image: radial-gradient(ellipse at center, #000 0 58%, rgba(0, 0, 0, 0.94) 72%, transparent 94%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 58%, rgba(0, 0, 0, 0.94) 72%, transparent 94%);
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--gold-strong);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  color: var(--gold-strong);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 9px 30px rgba(0, 0, 0, 0.65);
}

.hero-copy {
  max-width: 700px;
  margin: 0 auto;
  color: #ecf6ff;
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.primary {
  color: #06101d;
  background: linear-gradient(135deg, #c5933d, var(--gold-strong), #bd8735);
  box-shadow: 0 18px 38px rgba(228, 184, 92, 0.28);
}

.secondary {
  color: var(--text);
  border-color: rgba(115, 202, 255, 0.48);
  background: rgba(10, 40, 66, 0.72);
}

.market-panel {
  position: absolute;
  z-index: 3;
  width: clamp(250px, 18vw, 320px);
  min-height: 178px;
  border: 1px solid rgba(115, 202, 255, 0.42);
  padding: 16px;
  background: rgba(7, 24, 42, 0.78);
  box-shadow: var(--shadow), inset 0 0 32px rgba(115, 202, 255, 0.08);
  backdrop-filter: blur(14px);
}

.market-panel.performance {
  top: 56%;
  left: clamp(28px, 6vw, 132px);
  transform: translateY(-50%);
}

.market-panel.coverage {
  top: 56%;
  right: clamp(28px, 6vw, 132px);
  transform: translateY(-50%);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-panel strong {
  display: block;
  color: var(--gold-strong);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.market-panel small {
  color: #cbd7e2;
  font-weight: 700;
}

.market-panel svg {
  width: 100%;
  height: 86px;
}

.chart-grid {
  fill: none;
  stroke: rgba(190, 229, 255, 0.14);
  stroke-width: 1;
}

.chart-area {
  fill: url("#areaGold");
}

.chart-line {
  fill: none;
  stroke: url("#lineGold");
  stroke-linecap: round;
  stroke-width: 5;
}

.world-map {
  position: relative;
  height: 86px;
  margin-bottom: 12px;
  border: 1px solid rgba(115, 202, 255, 0.18);
  background:
    radial-gradient(circle at 22% 38%, rgba(115, 202, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 48% 45%, rgba(115, 202, 255, 0.36) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 33%, rgba(115, 202, 255, 0.42) 0 2px, transparent 3px),
    linear-gradient(135deg, rgba(115, 202, 255, 0.11), rgba(228, 184, 92, 0.05));
}

.world-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow: 0 0 18px rgba(247, 217, 144, 0.95);
}

.metrics,
.feature-grid,
.content-band,
.terminal-band,
.contact {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(115, 202, 255, 0.18);
  background: rgba(115, 202, 255, 0.16);
  transform: translateY(-28px);
}

.metrics article,
.feature-grid article {
  background: rgba(5, 18, 33, 0.84);
}

.metrics article {
  padding: 30px;
}

.metrics span,
.feature-icon {
  color: var(--gold-strong);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.metrics strong {
  display: block;
  margin: 10px 0;
  font-size: 18px;
}

.metrics p,
.feature-grid p,
.content-band p,
.terminal-band p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.content-band,
.terminal-band,
.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 92px 0;
}

h2 {
  margin-bottom: 0;
  color: #fff7e4;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.98;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 92px;
}

.feature-grid article {
  min-height: 310px;
  border: 1px solid rgba(115, 202, 255, 0.18);
  padding: 32px;
}

.feature-grid h3 {
  margin: 72px 0 16px;
  color: #fff7e4;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.terminal-band {
  border-top: 1px solid rgba(115, 202, 255, 0.2);
  border-bottom: 1px solid rgba(115, 202, 255, 0.2);
}

.terminal {
  border: 1px solid rgba(115, 202, 255, 0.28);
  padding: 24px;
  background: rgba(2, 8, 20, 0.72);
  box-shadow: inset 0 0 42px rgba(115, 202, 255, 0.08);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.terminal p {
  margin: 0;
  color: #dbefff;
  font-size: 14px;
}

.terminal p + p {
  margin-top: 14px;
}

.terminal span {
  color: var(--gold-strong);
}

.contact {
  padding-bottom: 116px;
}

.contact .button {
  width: fit-content;
  justify-self: end;
}

.contact-links {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.site-link {
  color: var(--gold-strong);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .market-panel {
    display: none;
  }

  .site-header {
    align-items: flex-start;
  }

  .header-action {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 13px 18px;
    font-size: 11px;
  }

  .hero {
    min-height: 820px;
    padding: 210px 20px 60px;
  }

  .hero-bg {
    background-position: center top;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .metrics,
  .feature-grid,
  .content-band,
  .terminal-band,
  .contact {
    width: min(100% - 32px, 680px);
  }

  .metrics,
  .feature-grid,
  .content-band,
  .terminal-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .metrics {
    transform: none;
  }

  .content-band,
  .terminal-band,
  .contact {
    padding: 64px 0;
  }

  .feature-grid {
    padding-bottom: 64px;
  }

  .feature-grid article {
    min-height: 240px;
  }

  .feature-grid h3 {
    margin-top: 48px;
  }

  .contact .button {
    justify-self: stretch;
  }

  .contact-links {
    justify-items: stretch;
  }

  .site-link {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand strong {
    font-size: 24px;
  }

  .brand small {
    max-width: 180px;
  }

  h1 {
    font-size: 44px;
  }

  .hero {
    min-height: 780px;
  }

  .metrics article,
  .feature-grid article {
    padding: 24px;
  }
}
