/* Nocturne, the app's own palette (src/constants/theme.ts). Dark only, on
   purpose: these pages are the app's doorstep and should look like it. */
:root {
  --canvas: #0e1020;
  --surface: #171a2e;
  --sunken: #20243d;
  --text: #f1f0f7;
  --muted: #a6a9c4;
  --faint: #6e7196;
  --accent: #8aa6f0;
  --on-accent: #0e1020;
  --highlight: #ff9a5a;
  --hairline: #2e3350;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font:
    16px/1.65 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 22px 80px;
}
a {
  color: var(--accent);
}
h1 {
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
h2 {
  font-size: 20px;
  margin: 34px 0 8px;
}
h3 {
  font-size: 16px;
  margin: 24px 0 6px;
}
p,
li {
  color: var(--muted);
}
strong {
  color: var(--text);
}
hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 40px 0;
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
}
.flame {
  width: 26px;
  height: 26px;
}
.mark span {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
}
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--hairline);
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
}
.lede {
  font-size: 18px;
  color: var(--muted);
}
footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  color: var(--faint);
  font-size: 14px;
}
code {
  background: var(--sunken);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.88em;
  color: var(--muted);
}
