@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --amber: #FEDA75;
  --white-95: rgba(255,255,255,0.95);
  --white-80: rgba(255,255,255,0.8);
  --white-60: rgba(255,255,255,0.6);
  --white-40: rgba(255,255,255,0.4);
  --glass: rgba(255,255,255,0.10);
  --glass-border: rgba(255,255,255,0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, #2338E0 0%, #6A2FC9 20%, #A82FA8 38%, #E1306C 54%, #F0553D 70%, #FA7E1E 84%, #FEDA75 100%);
  background-attachment: fixed;
  font-family: 'Inter', sans-serif;
  color: var(--white-80);
  line-height: 1.65;
}

a { cursor: pointer; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white-95);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}
.back-link:hover { color: var(--amber); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 17px; height: 17px; }
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.45);
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.1rem);
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--white-40);
  margin: 0 0 28px;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--amber);
  margin: 26px 0 8px;
}
h2:first-of-type { margin-top: 0; }

p { margin: 0 0 4px; font-size: 15px; color: var(--white-80); }

ol { margin: 10px 0 4px; padding-left: 20px; }
ol li { margin-bottom: 6px; font-size: 15px; color: var(--white-80); }

a.inline-link { color: var(--amber); text-decoration: none; }
a.inline-link:hover { text-decoration: underline; }

.page-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13.5px;
}
.page-footer a {
  color: var(--white-60);
  text-decoration: none;
}
.page-footer a:hover { color: #FFFFFF; }
.page-footer a.current {
  color: var(--amber);
  font-weight: 600;
}

::selection { background: rgba(255,255,255,0.35); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
