:root {
  --accent: #873c1e;
  --accent-soft: #f6e7df;
  --accent-hover: #6c2f17;
  --fg: #1a2232;
  --muted: #5b6776;
  --border: #e2e8f0;
  --surface: #fafafa;
  --bg: #ffffff;
  --max: 880px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #d2684a;
    --accent-soft: #2a1a12;
    --accent-hover: #e88865;
    --fg: #e6edf7;
    --muted: #95a2b6;
    --border: #2a3343;
    --surface: #151a23;
    --bg: #1d242f;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

header.site {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

header.site .logo {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header.site .logo img { width: 30px; height: 30px; }

header.site h1 {
  font-size: 22px;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 15px;
}

header.site nav a { color: var(--muted); }
header.site nav a:hover { color: var(--accent); text-decoration: none; }

.hero {
  text-align: center;
  margin-bottom: 64px;
}

.hero .mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  background: var(--accent-soft);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .mark img { width: 64px; height: 64px; }

.hero h2 {
  font-size: 44px;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p.tagline {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.install {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.install a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.15s;
}

.install a:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.install a.secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.install a.secondary:hover {
  background: var(--surface);
}

section {
  margin-top: 72px;
}

section h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 600;
}

section h2 {
  font-size: 30px;
  margin: 0 0 36px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature h4 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.providers span {
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}

.privacy-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
}

.privacy-summary p { margin: 0 0 12px; }
.privacy-summary p:last-child { margin: 0; }

footer {
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

footer a { color: var(--muted); }

article.page h1 {
  font-size: 36px;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

article.page .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

article.page h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  font-weight: 600;
}

article.page p, article.page li { color: var(--fg); }

article.page ul {
  padding-left: 20px;
}

article.page li { margin-bottom: 6px; }

article.page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

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

article.page th {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .hero h2 { font-size: 34px; }
  .container { padding: 36px 20px 60px; }
  header.site nav { gap: 14px; font-size: 14px; }
}
