:root {
  color-scheme: light;
  --bg: #f6e5cf;
  --bg-soft: rgba(255, 244, 229, 0.96);
  --card: rgba(255, 247, 238, 0.9);
  --card-solid: #fff8f0;
  --border: rgba(127, 95, 59, 0.14);
  --border-soft: rgba(127, 95, 59, 0.12);
  --text: #2f1f11;
  --text-soft: #4c3520;
  --muted: #6f5030;
  --eyebrow: #7f5f3b;
  --link: #654321;
  --shadow: 0 18px 42px rgba(79, 45, 10, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top, var(--bg-soft), rgba(230, 207, 174, 0.94)),
    var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
}

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

.page {
  min-height: 100vh;
  padding: 48px 20px;
}

.shell {
  width: min(960px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero {
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.intro,
.content {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.nav a,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 250, 244, 0.94);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.section-list,
.card-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.section,
.card {
  padding: 22px;
  border-radius: 22px;
  background: var(--card-solid);
  border: 1px solid var(--border-soft);
}

.section h2,
.card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.section p,
.card p {
  margin: 0 0 12px;
}

.section p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.section ul {
  margin: 0;
  padding-left: 20px;
}

.section li + li {
  margin-top: 8px;
}

.site-footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .page {
    padding: 28px 14px;
  }

  .hero {
    padding: 20px;
    border-radius: 22px;
  }

  .section,
  .card {
    padding: 18px;
  }
}
