:root {
  --bg: #f6f1e8;
  --surface: #fffcf7;
  --text: #171411;
  --muted: #6b645c;
  --line: #ddd4c7;
  --accent: #b4583a;
  --max-page: 1180px;
  --max-article: 860px;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.page {
  width: min(calc(100% - 32px), var(--max-page));
  margin: 0 auto;
  padding: 36px 0 80px;
}

.article {
  max-width: var(--max-article);
  margin: 0 auto;
}

.hero {
  margin-bottom: 36px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
summary {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.97;
  font-weight: 700;
  max-width: 12ch;
}

.subtitle {
  margin: 0;
  max-width: 720px;
  font-size: 21px;
  color: var(--muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-tags li {
  position: relative;
  padding-left: 14px;
}

.hero-tags li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.cover,
.inline-image,
.wide-image {
  margin: 0 0 40px;
}

.cover img,
.inline-image img,
.wide-image img {
  border-radius: var(--radius);
}

.content-block {
  margin-bottom: 52px;
}

.content-block p {
  margin: 0 0 18px;
  font-size: 18px;
}

.content-block h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  font-weight: 700;
}

.content-block h3 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.step-content strong,
.benefits strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.step-content span,
.benefits span {
  display: block;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.info-list {
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.info-list > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-list p {
  margin: 0;
  color: var(--muted);
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.benefits li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.quote {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  font-size: 24px;
  line-height: 1.35;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 24px;
  line-height: 1.2;
  padding-right: 28px;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 14px 0 0;
  color: var(--muted);
}

strong {
  color: var(--text);
}

@media (min-width: 1024px) {
  .cover {
    margin-left: -80px;
    margin-right: -80px;
  }

  .wide-image {
    margin-left: -120px;
    margin-right: -120px;
  }

  .inline-image {
    width: 62%;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .page {
    width: min(calc(100% - 24px), var(--max-page));
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .hero {
    margin-bottom: 28px;
  }

  h1 {
    max-width: none;
  }

  .subtitle {
    font-size: 18px;
  }

  .content-block {
    margin-bottom: 40px;
  }

  .content-block p {
    font-size: 17px;
  }

  .content-block h2 {
    margin-bottom: 16px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .steps li::before {
    padding-top: 0;
  }

  .step-content strong {
    font-size: 18px;
  }

  .step-content span {
    font-size: 16px;
  }

  .faq summary {
    font-size: 20px;
  }

  .quote {
    font-size: 21px;
  }
}
