:root {
  --bg: #0a0f17;
  --surface: rgba(16, 22, 32, 0.82);
  --surface-strong: #151d29;
  --text: #f3f6fb;
  --muted: #9aa8ba;
  --line: rgba(166, 184, 208, 0.16);
  --accent: #6fd3ff;
  --accent-strong: #42bee3;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 211, 255, 0.18), transparent 28%),
    radial-gradient(circle at right 18%, rgba(64, 90, 150, 0.28), transparent 24%),
    linear-gradient(180deg, #0c1119 0%, #070b12 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.site-header,
.site-footer,
.panel,
.hero {
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 20px;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
}

.brand,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.hero {
  margin-top: 1.5rem;
  padding: 4rem 1.5rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(20, 28, 40, 0.92), rgba(12, 18, 28, 0.88)),
    var(--surface);
}

.hero h1 {
  margin: 0.35rem 0 1rem;
  max-width: 10ch;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.94;
}

.intro {
  max-width: 42rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

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

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

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

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

.panel {
  padding: 1.4rem;
  border-radius: 24px;
}

.panel h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.panel p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  margin-top: 1rem;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 1rem, 1100px);
    padding-top: 0.5rem;
  }

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

  .hero {
    padding: 2.75rem 1.1rem;
  }

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