/* Merchentia — static site styles. No build step, no JS. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #1a1d21;
  --text-soft: #5b6470;
  --accent: #4f46e5;
  --accent-soft: #eef0fe;
  --border: #e5e8ec;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --bg-soft: #171a20;
    --text: #e8eaed;
    --text-soft: #9aa3af;
    --accent: #818cf8;
    --accent-soft: #1d2040;
    --border: #2a2f38;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--accent); }
nav.site a {
  color: var(--text-soft);
  text-decoration: none;
  margin-left: 22px;
  font-size: 15px;
}
nav.site a:hover { color: var(--text); }

.hero {
  padding: 72px 0 56px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.hero p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0;
}

section { padding: 36px 0; }
h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.card {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-left: 10px;
  vertical-align: 2px;
}
.card p { color: var(--text-soft); margin: 10px 0 14px; }
.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 15px;
}
.card li { margin: 4px 0; }

.contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.contact a:hover { text-decoration: underline; }

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 56px;
}
footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  padding-bottom: 28px;
  color: var(--text-soft);
  font-size: 14px;
}
footer.site a { color: var(--text-soft); }
footer.site a:hover { color: var(--text); }

/* Article pages (privacy) */
article.page { padding: 48px 0 24px; }
article.page h1 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
article.page .updated {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 28px;
}
article.page h2 {
  font-size: 19px;
  margin: 30px 0 8px;
}
article.page p, article.page li { color: var(--text); }
article.page ul { padding-left: 22px; }
article.page code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
}
