:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --fg: #e7e9ee;
  --muted: #9aa3b2;
  --accent: #f4b860;
  --line: #262b36;
  --maxw: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 2rem);
  flex: 1 0 auto;
}

/* ---- Landing ---- */
.hero {
  text-align: center;
  padding: clamp(2rem, 8vw, 5rem) 0 clamp(1rem, 4vw, 2rem);
}
.logo {
  color: var(--accent);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  margin: 0;
  letter-spacing: -0.01em;
}
.tagline {
  color: var(--muted);
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  margin: 0.75rem auto 0;
  max-width: 38ch;
}

.about, .contact {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  margin-top: 1.5rem;
}
.about p { margin: 0; }
.contact h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.contact p { margin: 0; }

/* ---- Document pages (privacy) ---- */
.doc { line-height: 1.7; }
.doc-header { margin-bottom: 2rem; }
.back { margin: 0 0 1rem; }
.doc h1 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  margin: 0;
}
.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}
.doc section { margin-top: 1.75rem; }
.doc h2 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}
.doc h3 {
  font-size: 1.05rem;
  margin: 1rem 0 0.25rem;
  color: var(--fg);
}
.doc ul { padding-left: 1.25rem; }
.doc li { margin: 0.35rem 0; }

/* ---- Footer ---- */
.site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1.5rem 1.25rem 2rem;
  color: var(--muted);
}
.site-footer nav { margin-bottom: 0.5rem; }
.site-footer a { margin: 0 0.5rem; }
.copyright {
  margin: 0;
  font-size: 0.85rem;
}
