:root {
  color-scheme: dark;
  --bg: #090b18;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #f6f7ff;
  --muted: #b5bdd8;
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --ring: rgba(124, 92, 255, 0.45);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.42), transparent 34rem),
    radial-gradient(circle at 80% 15%, rgba(0, 212, 255, 0.24), transparent 28rem),
    linear-gradient(145deg, #090b18, #121631 52%, #060711);
  color: var(--text);
}

a { color: inherit; }
code {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 0.45rem;
  background: rgba(0,0,0,0.25);
  padding: 0.1rem 0.35rem;
  font-size: 0.92em;
}

.hero, main, footer { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 24px 0 52px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 56px;
}
.brand, .pill, .button, .card-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
}
.brand { font-size: clamp(1.1rem, 3vw, 1.35rem); }
.pill {
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.hero-copy {
  max-width: 790px;
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.05));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.eyebrow, .status {
  margin: 0;
  color: #9eeeff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.02; }
h1 { margin-top: 12px; font-size: clamp(2.8rem, 10vw, 6.8rem); letter-spacing: -0.07em; }
h2 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.05em; }
h3 { font-size: 1.65rem; letter-spacing: -0.035em; }
.lede, .intro p, .card p, footer p { color: var(--muted); line-height: 1.65; }
.lede { max-width: 620px; font-size: clamp(1.05rem, 3vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  border-radius: 16px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.16);
}
.button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; }
.button.secondary { background: rgba(255,255,255,0.08); }
.button:focus-visible, .pill:focus-visible, .card-link:focus-visible { outline: 4px solid var(--ring); outline-offset: 3px; }

.section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
  margin: 24px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0 44px;
}
.card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}
.card.featured { background: linear-gradient(145deg, rgba(124,92,255,0.26), rgba(255,255,255,0.08)); }
.card-art {
  min-height: 168px;
  display: grid;
  place-items: center;
  font-size: 4.5rem;
  background: radial-gradient(circle, rgba(255,255,255,0.2), rgba(255,255,255,0.02));
}
.card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px; }
.card p { margin: 0; }
.card-link {
  margin-top: auto;
  border-radius: 14px;
  background: var(--panel-strong);
  border: 1px solid rgba(255,255,255,0.12);
}
footer { padding: 0 0 40px; }

@media (max-width: 800px) {
  .hero, main, footer { width: min(100% - 24px, 1120px); }
  .topbar { margin-bottom: 30px; }
  .hero-copy { border-radius: 24px; padding: 26px; }
  .section { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card-art { min-height: 132px; }
  .hero-actions .button { width: 100%; }
}
