:root {
  --bg: #fff8fa;
  --surface: #ffffff;
  --ink: #2b2026;
  --muted: #75666d;
  --line: #eadbe1;
  --berry: #c83f73;
  --rose: #f6d5e1;
  --sage: #dceadd;
  --gold: #f6df95;
  --shadow: 0 18px 42px rgba(85, 44, 62, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  background: rgba(255, 248, 250, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1040px;
  padding: 18px 24px;
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
}

.hero,
.content {
  margin: 0 auto;
  max-width: 1040px;
  padding: 56px 24px;
}

.hero {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.04;
  margin: 0 0 20px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  margin: 0 0 28px;
  max-width: 720px;
}

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

.button {
  align-items: center;
  background: var(--berry);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 18px;
}

.button.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--berry);
}

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

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.panel h2,
.card h2 {
  margin-top: 0;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.doc h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-top: 0;
}

.doc h2 {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 24px;
}

.doc h3 {
  margin-top: 24px;
}

.doc ul,
.doc ol {
  padding-left: 22px;
}

.note {
  background: #fff2f6;
  border: 1px solid var(--rose);
  border-radius: 8px;
  color: #553142;
  padding: 16px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  margin-top: 32px;
  padding: 28px 24px 40px;
  text-align: center;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .doc {
    padding: 24px;
  }
}
