:root {
  --canvas: #070708;
  --gold: #c3a05c;
  --gold-soft: #ddc58f;
  --ivory: #f5f0e6;
  --muted: #9c958b;
  --line: rgba(195, 160, 92, 0.22);
  --line-soft: rgba(245, 240, 230, 0.1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ivory);
  background: var(--canvas);
  font: 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-soft); }
a:hover { color: var(--ivory); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.page { max-width: 720px; margin: 0 auto; padding: 36px 20px 64px; }

.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
}
.brand-seal {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--gold); font-family: var(--serif); font-size: 17px;
}

h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 6vw, 42px); line-height: 1.15;
  margin: 30px 0 10px;
}
.meta { color: var(--muted); font-size: 13px; margin: 0 0 30px; }
.meta a { color: var(--muted); }

h2 {
  font-family: var(--serif); font-weight: 600; font-size: 26px;
  margin: 38px 0 12px; color: var(--gold-soft);
}
p { margin: 0 0 14px; }
figure { margin: 26px 0; }
figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line-soft); display: block; }
figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; text-align: center; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
li::marker { color: var(--gold); }
strong { color: var(--ivory); }

table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line-soft); }
th { color: var(--gold-soft); font-family: var(--serif); font-size: 16px; border-color: var(--line); }
td:last-child { white-space: nowrap; color: var(--gold-soft); font-weight: 600; }
@media (max-width: 640px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border: 1px solid var(--line-soft); border-radius: 12px; margin-bottom: 12px; padding: 6px 0; }
  td { border: none; padding: 6px 14px; }
  td:last-child { white-space: normal; }
}

.cta {
  display: block; margin: 36px 0; padding: 24px 26px;
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(245,240,230,0.04), rgba(245,240,230,0.01));
  text-align: center;
}
.cta p { font-family: var(--serif); font-size: 22px; margin: 0 0 14px; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  background: var(--gold-soft); color: #171204; font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--ivory); color: #171204; }

/* Оглавление блога */
.post-list { list-style: none; padding: 0; margin: 30px 0; }
.post-list li { margin-bottom: 18px; }
.post-list a.post {
  display: block; padding: 22px 24px;
  border: 1px solid var(--line-soft); border-radius: 16px;
  background: linear-gradient(180deg, rgba(245,240,230,0.03), rgba(245,240,230,0.01));
  text-decoration: none;
}
.post-list a.post:hover { border-color: var(--line); }
.post-list .post-title {
  font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ivory);
  display: block; margin-bottom: 6px;
}
.post-list .post-desc { color: var(--muted); font-size: 14px; display: block; }
.post-list .post-date { color: var(--gold); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-top: 10px; }

footer {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  color: var(--muted); font-size: 13px;
}
