*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0f1115;
  --surface:   #171a21;
  --surface2:  #1f232c;
  --border:    rgba(255,255,255,.08);
  --text:      #e8eaf0;
  --text-muted:#6b7280;
  --text-faint:#4b5563;
  --accent:    #4c8dff;
  --df-gradient: linear-gradient(120deg, #00a8e8 0%, #7c3aed 50%, #e8198c 100%);
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --mono:         'Space Mono', monospace;
  --radius: 8px;
}

html, body { min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
}

/* ── Header ─────────────────────────────────────────────────────────── */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-wrap: nowrap;
  color: var(--text);
  min-width: 0;
}

.header-df-mark {
  flex-shrink: 0;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.header-brand-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.header-brand-tagline {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1;
}

.header-app-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: var(--df-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 4px;
  flex-shrink: 0;
}

.back-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
}
.back-link:hover { color: var(--text); }

/* ── Main content ────────────────────────────────────────────────────── */
main {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px 80px;
  flex: 1;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.last-updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 40px;
}

h2 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

p { margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }

ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
li { margin-bottom: 4px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 9px 12px;
  border: 1px solid var(--border);
}
th {
  background: var(--surface2);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}
td { background: var(--surface); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--surface2);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text-muted);
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 12px;
}
.contact-block p { margin-bottom: 4px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 12px;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
footer a { color: var(--text-faint); text-decoration: none; }
footer a:hover { color: var(--text-muted); }
.footer-sep { color: var(--border); }
