:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #007aff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --accent: #3b95ff;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --card: #1c1c1e;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --line: #38383a;
  --accent: #3b95ff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
main, header, footer { max-width: 680px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 48px; padding-bottom: 8px; text-align: center; }
header img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
h1 { font-size: 34px; line-height: 1.15; margin: 16px 0 8px; letter-spacing: -.02em; }
h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.01em; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 4px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.lead { color: var(--muted); font-size: 19px; }
.muted { color: var(--muted); font-size: 15px; }

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 20px;
  margin: 16px 0;
}
.contact { text-align: center; }
.contact a { font-size: 19px; font-weight: 600; word-break: break-word; }

details {
  background: var(--card);
  border-radius: 14px;
  margin: 10px 0;
  padding: 0 20px;
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 600;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute; right: 0; top: 12px;
  font-size: 24px; font-weight: 400; color: var(--muted);
}
details[open] summary::after { content: "–"; }
details > div { padding-bottom: 16px; }

.policy h2 { font-size: 20px; margin-top: 32px; }

footer {
  margin-top: 48px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
footer a { margin: 0 8px; }
