:root {
  --bg: #0f111a;
  --surface: #171a26;
  --line: #262a3a;
  --text: #e8eaf0;
  --body: #c9cedc;
  --muted: #9aa0b4;
  --accent: #ff7a18;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: radial-gradient(ellipse at top, #171b2b 0%, var(--bg) 60%) no-repeat, var(--bg);
  color: var(--body);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }

.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }

.site-nav a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

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

/* Document */
main { padding: 44px 0 72px; }

h1 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.updated { margin: 0 0 30px; color: var(--muted); font-size: 0.92rem; }

h2 {
  margin: 38px 0 10px;
  padding-left: 13px;
  border-left: 4px solid var(--accent);
  color: var(--text);
  font-size: 1.22rem;
  line-height: 1.3;
}

p { margin: 0 0 14px; }

ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 8px; }
li::marker { color: var(--muted); }

strong { color: var(--text); font-weight: 650; }

.note {
  margin: 22px 0;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.note p:last-child { margin-bottom: 0; }

/* Delete-account options */
.option {
  margin: 18px 0;
  padding: 18px 20px 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.option h2 { margin-top: 0; }

table {
  width: 100%;
  margin: 8px 0 16px;
  border-collapse: collapse;
  font-size: 0.97rem;
}

th, td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th { color: var(--text); font-weight: 650; }

/* Landing page */
.hero { padding: 64px 0 28px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; display: block; margin-bottom: 26px; }
.hero h1 { font-size: 2.6rem; margin-bottom: 10px; }
.hero p { max-width: 46ch; color: var(--body); font-size: 1.1rem; }

.link-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }

.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 2px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.link-list a span { color: var(--muted); font-weight: 400; font-size: 0.95rem; }
.link-list a:hover { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { padding-top: 22px; padding-bottom: 28px; }
.site-footer p { margin: 0 0 4px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 1.75rem; }
  .hero h1 { font-size: 2.1rem; }
  main { padding-top: 32px; }
}
