/* Riser — Gravity identity, the same palette and typeface as the app. */
:root {
  --bg: #E7E4DE;
  --card: #FFFFFF;
  --accent: #2F4DFF;
  --text: #17191C;
  --muted: rgba(23, 25, 28, 0.62);
  --rule: rgba(23, 25, 28, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --card: #1E2125;
    --accent: #4C6DFF;
    --text: #EFEDE9;
    --muted: rgba(239, 237, 233, 0.58);
    --rule: rgba(239, 237, 233, 0.14);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 41rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

header.mast {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.mark svg { width: 22px; height: 22px; }

.mast a.name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

h1 {
  font-size: clamp(2rem, 6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 0.6rem;
  text-wrap: balance;
}

h2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 2.6rem 0 0.7rem;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.6rem 0 0.4rem;
}

p, li { color: var(--text); }
p { margin: 0 0 1rem; }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  margin: 1.6rem 0;
}

.card h2, .card h3 { margin-top: 0; }

ul { padding-left: 1.2rem; margin: 0 0 1rem; }
li { margin-bottom: 0.5rem; }

dl { margin: 0; }
dt { font-weight: 700; margin-top: 1rem; }
dd { margin: 0.1rem 0 0; color: var(--muted); }

.fill {
  background: rgba(47, 77, 255, 0.1);
  border-radius: 4px;
  padding: 0 0.25rem;
  font-weight: 700;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
