:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: rgba(18, 22, 32, 0.86);
  --panel-border: rgba(255,255,255,0.08);
  --text: #eef2ff;
  --muted: #a7b0c0;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(139,92,246,0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(34,211,238,0.12), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { min-height: 100vh; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(18px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

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

article {
  padding: 22px;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.prose h2 { margin-top: 32px; }
.muted { color: var(--muted); }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,0.035);
}

.button:hover { background: rgba(255,255,255,0.07); }
.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
}
.button.primary:hover { filter: brightness(1.08); }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--panel-border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { color: var(--text); }
.dot { opacity: 0.4; }

@media (max-width: 700px) {
  .shell { padding: 24px 0; }
  .card { padding: 24px; border-radius: 18px; }
  .grid { grid-template-columns: 1fr; }
  h1 { line-height: 1.04; }
}
