:root {
  --bg: #0b1020;
  --bg-soft: #121a2f;
  --panel: rgba(18, 26, 47, 0.82);
  --panel-strong: rgba(24, 34, 60, 0.96);
  --border: rgba(150, 170, 210, 0.18);
  --text: #f4f7fb;
  --muted: #a5b1c7;
  --accent: #79c0ff;
  --accent-soft: rgba(121, 192, 255, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 760px;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(121, 192, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #0d1224 0%, #0a0f1d 100%);
  color: var(--text);
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

.page {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #79c0ff 0%, #d4ecff 100%);
  box-shadow: 0 0 24px rgba(121, 192, 255, 0.4);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a,
.inline-link {
  color: var(--accent);
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible,
.card:hover,
.card:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.hero,
.content-shell {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  padding: 44px;
}

.hero::after,
.content-shell::after {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 192, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #d7ebff;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 6vw, 4rem);
  letter-spacing: -0.04em;
}

.hero p,
.lede,
.section-intro,
.meta {
  color: var(--muted);
}

.hero p {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

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

.card {
  display: block;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--panel-strong);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.card h2,
.card h3 {
  font-size: 1.08rem;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.content-shell {
  padding: 36px;
}

.page-title {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 28px;
  max-width: 62ch;
}

.section {
  padding-top: 24px;
  border-top: 1px solid rgba(150, 170, 210, 0.12);
}

.section + .section {
  margin-top: 24px;
}

.section h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.section p {
  margin: 0;
}

.section ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.section li + li {
  margin-top: 10px;
}

.callout {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-footer {
  margin-top: 26px;
  padding: 8px 2px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, var(--container));
    padding-top: 20px;
  }

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

  .hero,
  .content-shell {
    padding: 24px;
    border-radius: 22px;
  }

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

  .nav {
    width: 100%;
  }
}
