:root {
  color-scheme: dark;
  --bg: #070812;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.18);
  --text: #f7f4ff;
  --muted: rgba(247, 244, 255, 0.72);
  --faint: rgba(247, 244, 255, 0.54);
  --violet: #9f5cff;
  --pink: #f26ac2;
  --blue: #54d6ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(84, 214, 255, 0.20), transparent 30rem),
    radial-gradient(circle at 84% 16%, rgba(159, 92, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 28% 92%, rgba(242, 106, 194, 0.18), transparent 26rem),
    linear-gradient(135deg, #10172a 0%, #070812 52%, #091221 100%);
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

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

.brand-mark {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.language-switcher button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button.is-selected {
  color: var(--text);
  background: linear-gradient(135deg, rgba(159, 92, 255, 0.48), rgba(84, 214, 255, 0.20));
}

.hero {
  padding: 34px;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
}

.eyebrow,
.updated {
  margin: 0 0 10px;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: var(--panel);
  text-decoration: none;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  background: var(--panel-strong);
  border-color: rgba(255, 255, 255, 0.28);
}

.card span {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
}

.card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.document {
  max-width: 780px;
}

.document h1 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.document h2 {
  margin: 34px 0 8px;
  font-size: 1.18rem;
}

.document p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.document a {
  color: #d9c2ff;
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  color: var(--text);
}

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

  .hero {
    padding: 24px;
    border-radius: 24px;
  }

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

  .card-list {
    grid-template-columns: 1fr;
  }
}
