:root {
  --bg-950: #050810;
  --brand-950: #00153f;
  --brand-900: #001f63;
  --brand-800: #002b81;
  --brand-600: #3268cf;
  --brand-500: #89a9f1;
  --text-primary: #f6f9ff;
  --text-secondary: #c5cedb;
  --text-tertiary: #8d99ad;
  --glass: rgba(9, 14, 22, 0.76);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --shadow-xl: 0 32px 120px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --max-width: 1240px;
  --font-body: "Onest", "Avenir Next", "Segoe UI", sans-serif;
  --font-accent: "Science Gothic", "Onest", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 14% 0%, rgba(0, 43, 129, 0.24), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(50, 104, 207, 0.13), transparent 24%),
    linear-gradient(180deg, #050810 0%, #09111d 52%, #050912 100%);
  background-color: var(--bg-950);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-primary);
  font-family: var(--font-body);
  background: transparent;
}

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

.backdrop-grid,
.aurora,
.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.backdrop-grid {
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 78%);
}

.aurora {
  z-index: 0;
  filter: blur(16px);
  opacity: 0.68;
}

.aurora-a {
  background: radial-gradient(circle at 10% 24%, rgba(0, 43, 129, 0.26), transparent 28%);
}

.aurora-b {
  background: radial-gradient(circle at 86% 18%, rgba(137, 169, 241, 0.16), transparent 24%);
}

.noise-layer {
  z-index: 0;
  opacity: 0.08;
  background-image:
    repeating-radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
}

.glass-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    var(--glass);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(24px);
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 28%, transparent 72%, rgba(137, 169, 241, 0.08));
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 84px;
  margin: 18px auto 0;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-lockup,
.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 14px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(137, 169, 241, 0.24);
  border-radius: 18px;
  padding: 9px;
  background:
    radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, var(--brand-600), var(--brand-950));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-kicker,
.hero-kicker,
.section-eyebrow {
  color: var(--text-tertiary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.site-nav {
  gap: 10px;
}

.nav-link {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 13px 18px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  transform: translateY(-2px);
  color: var(--text-primary);
  border-color: var(--stroke-strong);
  background: rgba(255, 255, 255, 0.1);
}

.page {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 42px 0 20px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hero-card,
.summary-card,
.legal-card {
  border-radius: var(--radius-xl);
}

.hero-card {
  min-height: 500px;
  padding: clamp(34px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 20px 0 0;
  font-family: var(--font-accent);
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.hero-card h1 span {
  display: block;
  color: var(--brand-500);
}

.hero-card p,
.summary-card p,
.legal-card p,
.legal-list {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  line-height: 1.72;
}

.hero-card p {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.ghost-button {
  min-height: 58px;
  padding: 17px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #3c7cff, var(--brand-800));
  box-shadow: 0 18px 46px rgba(0, 43, 129, 0.34);
}

.ghost-button {
  border: 1px solid var(--stroke-strong);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.summary-card {
  padding: 34px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.summary-card h2,
.legal-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.06em;
}

.summary-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 0;
}

.summary-list div,
.contact-panel {
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.summary-list dt,
.contact-panel span {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.summary-list dd {
  margin: 8px 0 0;
  color: var(--text-primary);
  line-height: 1.55;
}

.summary-list a,
.contact-panel a {
  color: var(--brand-500);
}

.content-grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.legal-card {
  scroll-margin-top: 120px;
  padding: clamp(26px, 4vw, 48px);
}

.legal-card p {
  max-width: 920px;
}

.legal-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.contact-panels {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-panel {
  display: grid;
  gap: 8px;
}

.contact-panel strong {
  color: var(--text-primary);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.45;
}

@media (max-width: 920px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-header,
  .page {
    width: calc(100% - 16px);
  }

  .hero-card,
  .summary-card,
  .legal-card {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-card {
    min-height: auto;
  }

  .hero-actions {
    display: grid;
  }
}
