:root {
  --bg: #07111f;
  --bg-soft: #0d1b30;
  --panel: rgba(12, 27, 46, 0.78);
  --panel-strong: rgba(15, 35, 61, 0.92);
  --line: rgba(135, 193, 255, 0.18);
  --text: #eff5ff;
  --muted: #a8bbd6;
  --accent: #79d7ff;
  --accent-strong: #3fb1ff;
  --accent-warm: #9bf2d2;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1160px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(63, 177, 255, 0.22), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(155, 242, 210, 0.12), transparent 18%),
    linear-gradient(180deg, #06101d 0%, #081423 48%, #050d18 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(121, 215, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 215, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
}

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

.page-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header,
.site-footer,
.hero,
.section {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 24px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eyebrow,
.section-kicker,
.panel-label,
.infra-label,
.footer-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent-warm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-strong));
  box-shadow: 0 0 22px rgba(63, 177, 255, 0.72);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
}

.site-nav a {
  padding: 8px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  padding: 52px 0 38px;
}

.hero-copy,
.hero-panel,
.section,
.site-footer {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 20, 35, 0.8), rgba(7, 17, 31, 0.96));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-copy {
  padding: 38px;
  border-radius: var(--radius-lg);
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.05;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 5rem);
  letter-spacing: -0.04em;
}

.hero-text,
.docs-note,
.footer-note,
.info-card p,
.team-card a,
.infra-card p,
.panel-card span {
  color: var(--muted);
}

.hero-text {
  max-width: 64ch;
  margin: 20px 0 0;
  font-size: 1rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.doc-link:hover,
.doc-link:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #04111d;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent));
}

.button-secondary {
  border: 1px solid rgba(121, 215, 255, 0.35);
  background: rgba(8, 20, 35, 0.66);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-signals li {
  padding: 10px 14px;
  border: 1px solid rgba(121, 215, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(9, 24, 41, 0.72);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.panel-card,
.info-card,
.team-card,
.infra-card,
.doc-link {
  border: 1px solid rgba(121, 215, 255, 0.12);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.panel-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.panel-card strong,
.infra-card strong {
  font-size: 1.25rem;
}

.panel-card-primary {
  background:
    radial-gradient(circle at top right, rgba(121, 215, 255, 0.18), transparent 38%),
    var(--panel-strong);
}

.panel-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section {
  margin-top: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
}

.section-alt {
  background: linear-gradient(180deg, rgba(8, 22, 39, 0.9), rgba(6, 16, 29, 0.98));
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 70ch;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.cards-grid,
.team-grid,
.infra-layout,
.docs-list {
  margin-top: 26px;
}

.cards-grid,
.team-grid,
.infra-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.team-card,
.infra-card {
  padding: 24px;
}

.info-card h3,
.team-card h3,
.infra-card strong {
  margin: 0 0 10px;
}

.info-card p,
.infra-card p {
  margin: 0;
  line-height: 1.7;
}

.team-card {
  display: grid;
  gap: 8px;
}

.team-role {
  margin: 0;
  color: var(--accent);
}

.team-card a {
  word-break: break-word;
}

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

.doc-link {
  padding: 18px 20px;
  font-weight: 600;
  background:
    linear-gradient(135deg, rgba(121, 215, 255, 0.08), transparent),
    rgba(10, 24, 42, 0.82);
}

.docs-note {
  margin: 18px 0 0;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
}

.footer-note {
  max-width: 44ch;
  margin: 0;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header,
  .site-footer,
  .hero,
  .cards-grid,
  .team-grid,
  .infra-layout,
  .docs-list,
  .panel-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .hero-panel,
  .section {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 12px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .site-nav {
    gap: 12px;
  }

  .button,
  .doc-link {
    width: 100%;
  }
}
