:root {
  color-scheme: dark;
  --bg: #05070d;
  --text: #f2f7fb;
  --muted: #aebccb;
  --line: rgb(214 232 247 / 22%);
  --panel: rgb(6 11 18 / 66%);
  --accent: #7ed8ff;
  --accent-strong: #b9f0ff;
  --ok: #8ce7bb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

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

.site-video,
.site-shade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-video {
  z-index: 0;
  object-fit: cover;
  background: var(--bg);
  filter: saturate(0.92) contrast(1.08) brightness(0.78);
}

.site-shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(5 7 13 / 88%) 0%, rgb(5 7 13 / 56%) 48%, rgb(5 7 13 / 84%) 100%),
    linear-gradient(180deg, rgb(5 7 13 / 12%) 0%, rgb(5 7 13 / 82%) 100%);
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 26px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
}

.brand,
.topnav,
.hero-actions,
.signal-strip,
.content-grid {
  display: flex;
}

.brand {
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(126 216 255 / 13%);
  color: var(--accent-strong);
}

.topnav {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.topnav a {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.topnav a:hover,
.topnav a:focus-visible {
  border-color: var(--line);
  color: var(--text);
  outline: 0;
}

.hero {
  display: grid;
  align-content: end;
  min-height: min(720px, calc(100vh - 108px));
  padding: 70px 0 44px;
}

.eyebrow,
.panel-kicker,
.signal-strip span {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 16px 0 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.68;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 850;
}

.primary-link {
  background: linear-gradient(135deg, var(--accent-strong), var(--ok));
  color: #031018;
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgb(5 7 13 / 42%);
  color: var(--text);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.signal-strip article {
  min-height: 112px;
  padding: 18px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.signal-strip strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.32;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.info-panel {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(6 11 18 / 58%);
  backdrop-filter: blur(16px);
}

.info-panel h2 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.78rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.info-panel p:not(.panel-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

@media (prefers-reduced-motion: reduce) {
  .site-video {
    display: none;
  }

  .site-shade {
    background:
      linear-gradient(120deg, rgb(5 7 13 / 94%), rgb(12 31 43 / 78%)),
      var(--bg);
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav {
    justify-content: start;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 36px;
  }

  .signal-strip,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }
}
