:root {
  --bg: #F7F5F2;
  --surface: #FFFFFF;
  --text: #262220;
  --text-muted: #6B625C;
  --accent: #E08A3C;
  --border: #E7E1DA;
  --max-width: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1815;
    --surface: #262220;
    --text: #F2EEE9;
    --text-muted: #B4ABA3;
    --accent: #F0A15C;
    --border: #3A3430;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  line-height: 1.75;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

nav.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  padding: 40px 0 60px;
}

h1 {
  font-size: 26px;
  margin: 0 0 8px;
}

h2 {
  font-size: 18px;
  color: var(--accent);
  margin: 32px 0 10px;
}

p {
  color: var(--text);
  margin: 0 0 14px;
}

.lead {
  color: var(--text-muted);
  font-size: 15px;
}

.meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text);
}

ul {
  padding-left: 1.2em;
}

li {
  margin-bottom: 6px;
}

.hero {
  text-align: center;
  padding: 40px 0 10px;
}

.hero p {
  max-width: 480px;
  margin: 0 auto 20px;
}

.badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-muted);
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  color: var(--text-muted);
  font-size: 13px;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

footer.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin: 20px 0 30px;
}

.contact-box a {
  font-weight: 600;
}
