* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #f4f2ee;
  color: #5e5e5e;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  font-synthesis: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 22px 6px;
  background: #fff;
}
.phone {
  grid-column: 2;
  text-decoration: none;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 28px;
}
header img { grid-column: 3; justify-self: end; width: 44px; height: 44px; object-fit: contain; }
.banner {
  padding: 36px 20px 28px;
  text-align: center;
  background: #f4f2ee url("img/marble.jpg") center 30% / cover;
}
.sheet {
  position: relative;
  overflow: hidden;
  background: #f4f2ee;
}
.sheet .oxytocin {
  position: absolute;
  left: 0;
  right: 0;
  top: -90px;
  height: 860px;
  background: url("img/oxytocin.png") center 18% / cover no-repeat;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.sheet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 900px;
  background: linear-gradient(to bottom, rgba(244,242,238,0.22), rgba(244,242,238,0.4) 62%, #f4f2ee);
  z-index: 0;
  pointer-events: none;
}
.sheet > .page { position: relative; z-index: 1; }
.brand {
  display: inline-block;
  max-width: 100%;
  text-decoration: none;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1.05;
  white-space: nowrap;
  text-shadow: rgba(255,255,255,0.6) 1px 1px 1px, rgba(0,0,0,0.6) -1px -1px 1px;
}
.banner nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.banner nav a {
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #111;
}
.banner nav a[aria-current="page"] { border-bottom: 1px solid #111; }
.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px 22px 28px;
}
.page.with-toc {
  max-width: 1080px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 78px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}
.toc a {
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.figure { margin: 0 0 28px; }
.figure img { width: 100%; height: auto; }
.sheet-faq .aside { margin: -6px 0 18px 1.2rem; }
.sheet-reviews .review { margin: 0; }
.sheet-reviews .review .meta { margin: 0 0 14px; line-height: 1.75; }
.sheet-reviews .feel { margin-top: 18px; text-align: center; }
.sheet-reviews .feel h6 { margin-top: 4px; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: #1c1c1c; }
h1.page-title, h2.page-title {
  margin: 8px 0 22px;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 42px;
  letter-spacing: 0.06em;
}
h3 {
  margin: 28px 0 8px;
  font-family: "Times New Roman", Times, serif;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.35;
  text-wrap: balance;
}
h4, h5, h6 { margin: 18px 0 8px; font-family: "Times New Roman", Times, serif; }
h4 { font-size: 28px; letter-spacing: 0.04em; text-align: center; }
h5 { font-size: 20px; letter-spacing: 0; }
h6 { font-size: 14px; letter-spacing: 0.04em; text-align: center; font-family: "Times New Roman", Times, serif; }
p, li { text-wrap: pretty; }
p { margin: 0 0 14px; }
.section { margin-top: 26px; font-size: 20px; }
.meta { margin: 0 0 4px; }
ul { margin: 0 0 14px; padding-left: 1.2rem; }
li { margin: 0 0 6px; }
.links h5 { margin: 0; line-height: 1.35; text-wrap: balance; }
.links h5:nth-of-type(odd) { margin-top: 22px; }
.links h5:nth-of-type(even) { margin-top: 2px; }
footer {
  padding: 22px 16px 28px;
  text-align: center;
  font-size: 13px;
  background: rgba(255,255,255,0.8);
}
@media (max-width: 800px) {
  body { font-size: 16px; line-height: 1.6; }
  header { padding: 12px 14px 8px; }
  header img { width: 40px; height: 40px; }
  .phone { font-size: 18px; }
  .banner { padding: 28px 16px 22px; }
  .brand { font-size: 32px; letter-spacing: 0.08em; text-indent: 0.08em; }
  .banner nav { gap: 10px; margin-top: 14px; }
  .banner nav a { font-size: 18px; letter-spacing: 0.06em; }
  h1.page-title, h2.page-title { font-size: 30px; letter-spacing: 0.04em; margin: 4px 0 18px; }
  h3 { font-size: 20px; line-height: 1.4; margin: 22px 0 8px; }
  .page { padding: 28px 18px 24px; }
  .page.with-toc { grid-template-columns: 1fr; gap: 18px; }
  .toc { position: static; }
}
