:root {
  --bg: #FBF9F5;
  --surface: #FFFFFF;
  --surface-alt: #F3EFE6;
  --ink: #1F2D27;
  --ink-muted: #4E5E56;
  --accent: #2F5D50;
  --accent-deep: #20443A;
  --saffron: #C87A19;
  --saffron-soft: #FFF4E2;
  --border: #E2DBD0;
  --shadow: 0 10px 30px rgba(31, 45, 39, 0.06);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131917;
    --surface: #1B2420;
    --surface-alt: #232E29;
    --ink: #F2EFE9;
    --ink-muted: #B8C2BC;
    --accent: #6BB39B;
    --accent-deep: #87C7B2;
    --saffron: #E59B3E;
    --saffron-soft: #2C2418;
    --border: #2F3D36;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

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

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

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  color: var(--ink-muted);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.hero {
  padding: 54px 0 36px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 0 24px;
  }
}

.badge {
  display: inline-block;
  background: var(--saffron-soft);
  color: var(--saffron);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

h2 {
  font-size: 1.65rem;
  margin-top: 34px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-muted);
  margin: 0 0 24px;
  max-width: 62ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid var(--border);
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-deep);
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  text-decoration: none;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.hero-card p {
  margin: 4px 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.prose {
  max-width: 760px;
  padding: 36px 0 56px;
}

.prose p, .prose li {
  color: var(--ink-muted);
}

.prose strong {
  color: var(--ink);
}

.prose ul {
  padding-left: 20px;
}

.prose li {
  margin-bottom: 8px;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--saffron);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 42px;
  margin-top: 40px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
