:root {
  color-scheme: dark;
  --bg: #07050c;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: #f7f3ff;
  --muted: #a9a1b8;
  --line: rgba(205, 190, 255, 0.16);
  --accent: #b35cff;
}

* {
  box-sizing: border-box;
}

/* Safari paints BOTH the top safe-area and the bottom chrome/overscroll with the html
   background (verified live: top was seamless exactly while this was #10121f and broke
   the moment it changed). So there is ONE anchor color — #10121f — and the page must
   reach it at both the very top and the very bottom. */
html {
  background: #10121f;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

/* The aurora lives on a FIXED underlay pinned to the viewport, so the glows stay on
   screen while the page scrolls (the app's backdrop behaves the same). ORIGINAL palette,
   capped to the #10121f anchor at both ends (28px strips, fading in by 140px) so the
   page edges always meet Safari's chrome color. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #10121f 0, #10121f 28px, rgba(16, 18, 31, 0) 140px),
    linear-gradient(0deg, #10121f 0, #10121f 28px, rgba(16, 18, 31, 0) 140px),
    radial-gradient(circle at 15% -5%, rgba(179, 92, 255, 0.28), transparent 32rem),
    radial-gradient(circle at 85% 0%, rgba(82, 220, 178, 0.13), transparent 30rem),
    linear-gradient(180deg, #10121f 0%, var(--bg) 40%, #050409 100%);
}

a {
  color: #d9c7ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}

.hero {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: #c9b7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 10px;
  font-size: clamp(38px, 8vw, 72px);
  line-height: 0.94;
  letter-spacing: 0;
}

.updated,
.lead,
p,
li {
  color: var(--muted);
}

.lead {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
}

main {
  padding-top: 20px;
}

section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
}

p {
  margin: 10px 0;
}

ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.card {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b45cff, #8c44ff);
  color: white;
  font-weight: 800;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 920px);
    padding-top: 28px;
  }

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

  .nav {
    justify-content: flex-start;
  }
}
