:root {
  --bg: #f4efdf;
  --surface: rgba(255, 251, 241, 0.84);
  --surface-strong: #fffaf0;
  --border: #d9ccab;
  --title: #3d4d39;
  --text: #566252;
  --muted: #76806f;
  --accent: #8b7a4e;
  --accent-soft: rgba(139, 122, 78, 0.12);
  --shadow: 0 18px 40px rgba(95, 84, 52, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(218, 206, 165, 0.42), transparent 30%),
    linear-gradient(180deg, #f7f2e3 0%, var(--bg) 100%);
  color: var(--text);
}

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

.page-shell {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--title);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid rgba(217, 204, 171, 0.8);
  box-shadow: 0 10px 22px rgba(95, 84, 52, 0.08);
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: 34px 32px;
  border-radius: 32px;
  border: 1px solid rgba(217, 204, 171, 0.92);
  background: linear-gradient(180deg, rgba(255, 251, 241, 0.92) 0%, rgba(245, 238, 220, 0.92) 100%);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 12px;
  color: var(--title);
  font-size: clamp(34px, 7vw, 52px);
  line-height: 0.98;
}

.hero p {
  margin: 0;
  max-width: 680px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.meta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(217, 204, 171, 0.8);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.doc {
  margin-top: 22px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(217, 204, 171, 0.88);
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(95, 84, 52, 0.06);
  backdrop-filter: blur(10px);
}

.doc section + section {
  margin-top: 28px;
}

.doc h2 {
  margin: 0 0 10px;
  color: var(--title);
  font-size: 24px;
  line-height: 1.15;
}

.doc p,
.doc li {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

.doc p + p,
.doc ul + p,
.doc p + ul {
  margin-top: 14px;
}

.doc ul {
  padding-left: 22px;
  margin: 14px 0 0;
}

.doc li + li {
  margin-top: 10px;
}

.card-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(217, 204, 171, 0.84);
  background: rgba(255, 250, 240, 0.78);
}

.footer {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100%, calc(100% - 24px));
    padding: 14px 0 36px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .doc {
    padding: 20px;
    border-radius: 24px;
  }

  .doc h2 {
    font-size: 22px;
  }

  .doc p,
  .doc li {
    font-size: 16px;
  }
}
