:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e6e6e6;
  --accent: #C8705A;
  --accent-soft: #f7e8e0;
  --link: #b85c44;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg-soft: #161616;
    --text: #f0f0f0;
    --text-muted: #999999;
    --border: #2a2a2a;
    --accent: #E89A82;
    --accent-soft: #3a2620;
    --link: #f4b59d;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

header.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
header.site-header .logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #FF8C70);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
}
header.site-header .brand { font-weight: 700; font-size: 18px; letter-spacing: -0.2px; }
header.site-header .brand a { color: inherit; text-decoration: none; }

h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
  line-height: 1.2;
}
h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 8px;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 4px;
}
p { margin: 0 0 14px; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { opacity: 0.85; }

ul, ol { padding-left: 22px; margin: 8px 0 16px; }
li { margin-bottom: 6px; }

.lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.effective {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.tldr {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 16px 18px;
  border-radius: 6px;
  margin: 20px 0 32px;
}
.tldr h3 {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.tldr p { margin: 4px 0; font-size: 14px; }

.qa {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 12px 0;
}
.qa .q {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--text);
}
.qa .a {
  font-size: 15px;
  color: var(--text-muted);
}
.qa .a p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-weight: 700;
  background: var(--bg-soft);
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

footer.site-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
footer.site-footer a { color: var(--text-muted); }
footer.site-footer .links {
  display: flex; gap: 14px; margin-bottom: 8px;
}

.back-home {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-decoration: none;
}
.back-home:hover { color: var(--accent); }
