:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-soft: #efede6;
  --ink: #21201f;
  --muted: #66625b;
  --line: #ded9cd;
  --yellow: #fce000;
  --green: #168044;
  --blue: #285bd4;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
}
a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(33, 32, 31, .08);
  background: rgba(247, 246, 242, .92);
  backdrop-filter: blur(14px);
}
.topbar-inner, .wrap, .footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}
.nav a, .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 9px 14px;
  text-decoration: none;
}
.nav a { border: 1px solid var(--line); background: rgba(255, 255, 255, .55); }
.btn { border: 1px solid transparent; font-weight: 900; }
.btn-primary { background: var(--yellow); }
.btn-dark { background: var(--ink); color: #fff; }
.wrap { padding: 42px 0 72px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: end;
  padding: 16px 0 44px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #807b72;
  font-size: 13px;
  font-weight: 800;
}
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1 { max-width: 820px; font-size: clamp(34px, 5vw, 62px); font-weight: 900; }
h2 { margin-top: 44px; font-size: clamp(26px, 3vw, 38px); font-weight: 900; }
h3 { margin-top: 24px; font-size: 21px; font-weight: 900; }
.lead {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
}
.summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}
.summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}
.summary p { margin: 0 0 14px; color: var(--muted); }
.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}
.article {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.article p, .article li { color: var(--muted); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 8px 0; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}
.card strong { display: block; margin-bottom: 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.note {
  border-left: 4px solid var(--yellow);
  background: var(--surface);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 24px 0;
  color: var(--muted);
}
.side {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}
.side h2 {
  margin-top: 0;
  font-size: 18px;
}
.side a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}
.cta {
  margin-top: 48px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 28px;
}
.cta h2 { margin-top: 0; color: #fff; }
.cta p { color: rgba(255, 255, 255, .78); }
.cta .btn { margin-top: 8px; background: var(--yellow); color: var(--ink); }
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 28px 0;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer a { font-weight: 800; }

@media (max-width: 900px) {
  .hero, .content { grid-template-columns: 1fr; }
  .side { position: static; }
  .cards { grid-template-columns: 1fr; }
  .nav { display: none; }
}

@media (max-width: 560px) {
  .topbar-inner, .wrap, .footer-inner { width: min(100% - 28px, 1120px); }
  .wrap { padding-top: 28px; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .summary, .card, .side, .cta { padding: 16px; }
}
