/* neuschwonsteln.com — field-notes design. Unique structure: mast/ribbon header,
   journal layout, details-based FAQ, table-based facts. Alpine palette. */
:root {
  --snow: #f7faf6;
  --stone: #22281f;
  --pine: #1d5a3c;
  --sky: #2b6d9e;
  --ochre: #b0812f;
  --line: #d8ddd4;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--stone);
  font: 400 1.05rem/1.65 Georgia, "Times New Roman", serif;
}
a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--pine); }

/* mast + ribbon — горизонтальная лента навигации, не похожа на topway/блог */
.mast {
  background: var(--pine);
  color: #f2f5ef;
  padding: 0.9rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  align-items: baseline;
  justify-content: space-between;
}
.brand { margin: 0; font: 700 1.15rem/1.2 Georgia, serif; letter-spacing: 0.02em; }
.brand a { color: #f2f5ef; text-decoration: none; }
.ribbon { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; }
.ribbon a { color: #dce8dd; font: 500 0.92rem/1.2 system-ui, sans-serif; text-decoration: none; }
.ribbon a:hover { color: #ffffff; text-decoration: underline; }

.journal { max-width: 46rem; margin: 0 auto; padding: 2.4rem 1.2rem 3rem; }
.piece h1 { font: 700 1.9rem/1.25 Georgia, serif; margin: 0 0 1rem; color: var(--pine); }
.lede { font: 400 1.18rem/1.6 Georgia, serif; color: #3a4436; border-left: 3px solid var(--ochre); padding-left: 1rem; margin: 0 0 2rem; }
.part { margin: 0 0 2rem; }
.part h2 { font: 700 1.35rem/1.3 Georgia, serif; color: var(--stone); margin: 0 0 0.7rem; padding-bottom: 0.35rem; border-bottom: 2px solid var(--line); }
.part p { margin: 0 0 1rem; }
.points { margin: 0.6rem 0 0; padding-left: 1.4rem; }
.points li { margin: 0.35rem 0; }
.points li::marker { color: var(--ochre); }

.qa { border: 1px solid var(--line); border-radius: 6px; padding: 0.2rem 0.9rem; margin: 0 0 0.7rem; background: #ffffff; }
.qa summary { cursor: pointer; font: 600 1rem/1.4 system-ui, sans-serif; color: var(--pine); padding: 0.5rem 0; }
.qa[open] summary { color: var(--sky); }
.qa p { margin: 0.4rem 0 0.8rem; }

.glance { border-collapse: collapse; width: 100%; margin: 1.4rem 0; font: 400 0.95rem/1.5 system-ui, sans-serif; }
.glance caption { caption-side: top; text-align: left; font: 700 1rem/1.3 Georgia, serif; color: var(--pine); padding: 0.4rem 0; }
.glance th, .glance td { border: 1px solid var(--line); padding: 0.45rem 0.7rem; text-align: left; vertical-align: top; }
.glance th { background: #edf2ea; width: 38%; }
.glance tr:nth-child(even) td { background: #fbfcfa; }

.notice {
  margin-top: 2.2rem;
  padding: 0.8rem 1rem;
  background: #f0ede2;
  border-left: 3px solid var(--ochre);
  font: 400 0.92rem/1.5 system-ui, sans-serif;
  color: #4d4636;
}

.colophon {
  border-top: 1px solid var(--line);
  padding: 1.1rem 1.2rem 2rem;
  max-width: 46rem;
  margin: 0 auto;
  font: 400 0.88rem/1.5 system-ui, sans-serif;
  color: #5b6357;
}
.colophon p { margin: 0; }

/* consent bar — отдельный класс, не как на прошлых вайтах */
.consent2 {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 34rem; margin: 0 auto; z-index: 50;
  background: #1c221b; color: #eef2ea;
  border: 1px solid #33402f; border-radius: 8px;
  padding: 1rem 1.2rem;
  font: 400 0.92rem/1.55 system-ui, sans-serif;
}
.consent2 h2 { margin: 0 0 0.4rem; font: 700 1rem/1.3 system-ui, sans-serif; }
.consent2 p { margin: 0 0 0.7rem; }
.consent2 .row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.consent2 button {
  border: 1px solid #55654f; background: transparent; color: #eef2ea;
  padding: 0.45rem 1.1rem; border-radius: 5px; cursor: pointer;
  font: 500 0.9rem/1.2 system-ui, sans-serif;
}
.consent2 button.yes { background: var(--pine); border-color: var(--pine); }
.consent2 button.yes:hover { background: #256b48; }
.consent2 .links a { color: #c8d6c4; }

@media (max-width: 640px) {
  .mast { flex-direction: column; align-items: flex-start; }
  .journal { padding-top: 1.6rem; }
  .piece h1 { font-size: 1.5rem; }
}
