:root {
  color-scheme: dark;
  --background: #070b16;
  --panel: rgba(18, 26, 49, 0.76);
  --panel-strong: rgba(25, 36, 67, 0.92);
  --text: #f7f8fc;
  --muted: #aeb8d0;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #85d5ff;
  --accent-strong: #d7f1ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(133, 213, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 85% 15%, rgba(132, 106, 255, 0.2), transparent 28rem),
    linear-gradient(135deg, #070b16 0%, #0e1630 52%, #050812 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 78vh;
  padding: 28px 0 80px;
}

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

.brand,
.nav-link,
.button,
.link-grid a {
  text-decoration: none;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 56px;
  padding-top: 112px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.lead,
.section p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
}

.primary {
  color: #07101d;
  background: var(--accent-strong);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-card,
.section {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-card {
  padding: 28px;
}

.hero-card > img {
  display: block;
  width: min(100%, 320px);
  margin: 0 auto 26px;
  border-radius: 28px;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

dt {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--muted);
}

.section {
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 56px);
}

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

.link-grid a {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 48px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 72px;
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .page-shell,
  footer {
    width: min(100% - 22px, 1120px);
  }

  .hero {
    padding-top: 18px;
  }

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

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