:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #101b2b;
  --text: #f6f8fb;
  --muted: #aab4c5;
  --blue: #1687ff;
  --yellow: #ffc400;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(22, 135, 255, 0.24), transparent 32rem),
    radial-gradient(circle at 10% 90%, rgba(255, 196, 0, 0.12), transparent 26rem),
    var(--bg);
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 36px;
}

.narrow {
  width: min(760px, calc(100% - 40px));
}

.hero {
  min-height: 58vh;
  display: grid;
  align-content: center;
}

.logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.eyebrow,
.muted {
  color: var(--muted);
  font-weight: 700;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(44px, 8vw, 88px);
  letter-spacing: 0;
  line-height: 0.95;
}

h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.lead {
  max-width: 760px;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.35;
}

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

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

.primary {
  background: var(--blue);
}

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

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

article,
.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 43, 0.82);
}

.panel {
  margin-top: 16px;
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--yellow);
  font-weight: 800;
  text-decoration: none;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 40px;
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

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

  .hero {
    min-height: auto;
    padding-top: 32px;
  }
}
