:root {
  --cream: #f6efe7;
  --paper: #fffaf4;
  --white: #fffdf9;
  --ink: #2d201c;
  --chocolate: #5a2f24;
  --deep: #3b211b;
  --caramel: #b97946;
  --gold: #c49b62;
  --line: rgba(90, 47, 36, .14);
  --shadow: 0 22px 60px rgba(74, 43, 32, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  background: rgba(255, 250, 244, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.15; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--chocolate);
  font-family: Georgia, serif;
}
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 17px; }
.brand small { margin-top: 4px; color: #806c64; font-size: 12px; }
nav { display: flex; gap: 26px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 650; }
nav a:hover { color: var(--caramel); }

main, footer, .site-header { width: min(100%, 1240px); }
main, footer { margin-inline: auto; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  min-height: 640px;
  padding: 72px 28px 64px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--caramel);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; color: var(--deep); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { max-width: 720px; margin-bottom: 22px; font-size: clamp(45px, 6vw, 78px); letter-spacing: -.035em; }
h2 { margin-bottom: 16px; font-size: clamp(35px, 4.5vw, 56px); letter-spacing: -.025em; }
h3 { font-size: 27px; }
.lead { max-width: 650px; margin: 0; color: #65544c; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid var(--chocolate);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--chocolate); box-shadow: 0 12px 28px rgba(90, 47, 36, .18); }
.button-primary:hover { background: var(--deep); }
.button-secondary { background: transparent; }
.hero-visual { position: relative; padding: 34px 0; }
.hero-visual img { position: relative; z-index: 3; width: 100%; border-radius: 22px; box-shadow: var(--shadow); }
.paper { position: absolute; border-radius: 30px; transform: rotate(4deg); }
.paper-one { inset: 0 8% 4% 6%; z-index: 1; background: #ead5c2; }
.paper-two { inset: 7% -3% -3% 13%; z-index: 2; background: #704031; transform: rotate(-3deg); }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 28px;
  border-block: 1px solid var(--line);
}
.trust div { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 26px 22px; }
.trust div + div { border-left: 1px solid var(--line); }
.trust span { color: var(--gold); font-family: Georgia, serif; font-size: 25px; }
.trust p { margin: 0; color: #78655d; font-size: 14px; line-height: 1.5; }
.trust strong { color: var(--ink); }

.section { padding: 108px 28px; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading > p:last-child { color: #715e56; font-size: 18px; }
.catalog { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.product-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(310px, .9fr) minmax(420px, 1.1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-card + .product-card { margin-top: 38px; }
.anxiety-card .product-image { background: linear-gradient(145deg, #efe0d0, #b66e4d); }
.anxiety-card .product-image img { max-height: 650px; object-fit: contain; }
.product-image { display: grid; place-items: center; min-height: 100%; padding: 34px; background: #e8d3be; }
.product-image img { width: 100%; border-radius: 16px; box-shadow: 0 17px 38px rgba(62, 34, 25, .2); }
.product-content { padding: clamp(32px, 5vw, 62px); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }
.product-meta span { padding: 6px 11px; border-radius: 999px; color: var(--chocolate); background: #f3e6d9; font-size: 12px; font-weight: 700; }
.product-content h3 { margin-bottom: 20px; font-size: clamp(30px, 3vw, 42px); }
.product-content > p { color: #66554d; font-size: 17px; }
.included { margin: 28px 0; padding: 22px 24px; border-left: 3px solid var(--caramel); background: #faf2ea; }
.included ul { margin: 9px 0 0; padding-left: 21px; }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.price small, .price span { display: block; color: #7a6860; }
.price strong { display: block; color: var(--deep); font-family: Georgia, serif; font-size: 42px; line-height: 1.15; }
.buy-button { padding-inline: 28px; white-space: nowrap; }
.delivery-note { margin: 22px 0 0; font-size: 14px !important; }

.how { background: var(--deep); color: #f6eee6; }
.how h2, .how h3 { color: #fffaf4; }
.how .eyebrow { color: #deb98e; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; }
.steps li { min-height: 230px; padding: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 23px; background: rgba(255,255,255,.045); }
.steps li > span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 34px; border-radius: 50%; color: var(--deep); background: #deb98e; font-family: Georgia, serif; font-size: 22px; }
.steps h3 { margin-bottom: 10px; font-size: 24px; }
.steps p { margin: 0; color: #d4c5bd; }

.author { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 70px; background: var(--cream); }
.author-photo { position: relative; }
.author-photo::before { content: ""; position: absolute; inset: -18px 24px 18px -18px; border: 1px solid var(--gold); border-radius: 45% 45% 20px 20px; }
.author-photo img { position: relative; z-index: 1; width: 100%; max-height: 590px; object-fit: cover; object-position: center 20%; border-radius: 45% 45% 20px 20px; }
.author-copy { max-width: 670px; }
.author-copy .role { margin-top: -7px; color: var(--caramel); font-weight: 750; }
.author-copy > p:not(.eyebrow):not(.role) { color: #604e47; font-size: 18px; }
.text-link { display: inline-block; margin-top: 14px; color: var(--chocolate); font-weight: 800; text-underline-offset: 5px; }

.faq { background: var(--white); }
.faq-list { max-width: 900px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 25px 48px 25px 0; cursor: pointer; color: var(--deep); font-family: Georgia, serif; font-size: 21px; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 20px; color: var(--caramel); font-family: sans-serif; font-size: 30px; font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; margin: -4px 0 25px; color: #6d5b53; }

footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 36px;
  padding: 48px 28px;
  color: #e7d8cf;
  background: var(--chocolate);
}
footer strong { color: white; font-family: Georgia, serif; font-size: 21px; }
footer p { margin: 5px 0; }
.footer-contacts { display: flex; flex-direction: column; gap: 7px; }
.footer-contacts a { text-underline-offset: 4px; }
.legal { color: #ccb8ad; font-size: 13px; }

@media (max-width: 900px) {
  .site-header { padding-inline: 20px; }
  nav a:not(:first-child) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 55px; }
  .hero-visual { max-width: 700px; }
  .trust { grid-template-columns: 1fr; }
  .trust div + div { border-left: 0; border-top: 1px solid var(--line); }
  .product-card, .author { grid-template-columns: 1fr; }
  .product-image { padding: 24px; }
  .author-photo { max-width: 520px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  footer { grid-template-columns: 1fr 1fr; }
  .legal { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-header { padding-block: 13px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 10px; }
  .brand-mark { width: 37px; height: 37px; font-size: 14px; }
  nav { display: none; }
  .hero { gap: 34px; padding: 45px 20px 50px; }
  h1 { font-size: clamp(41px, 13vw, 58px); }
  .lead { font-size: 17px; }
  .actions { flex-direction: column; align-items: stretch; }
  .hero-visual { padding: 16px 0; }
  .paper-one { inset: 0 5% 0 4%; }
  .paper-two { inset: 5% -1% -4% 9%; }
  .trust { margin-inline: 20px; }
  .trust div { padding-inline: 8px; }
  .section { padding: 78px 20px; }
  .section-heading { margin-bottom: 30px; }
  .product-card { border-radius: 21px; }
  .product-image { padding: 14px; }
  .product-content { padding: 29px 22px; }
  .product-content h3 { font-size: 30px; }
  .buy-row { align-items: stretch; flex-direction: column; }
  .buy-button { width: 100%; }
  .author { gap: 47px; }
  .author-photo::before { inset: -10px 15px 12px -10px; }
  footer { grid-template-columns: 1fr; padding: 40px 20px; }
  .legal { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
