:root {
  color-scheme: light;
  --paper: #fdf9f8;
  --ink: #231817;
  --muted: #5f4847;
  --rose: #f6e4e2;
  --red: #9b2332;
  --green: #19372e;
  --line: #decac7;
  --display: Georgia, "Times New Roman", serif;
  font-family: system-ui, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.58; }
figure, p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.07; overflow-wrap: break-word; }
h2 { font-size: 53px; font-weight: 500; }
h3 { font-size: 32px; font-weight: 500; }
section[id] { scroll-margin-top: 24px; }

.wrap { width: min(1160px, calc(100% - 88px)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 5;
  inset: 10px auto auto 10px;
  padding: 10px 14px;
  clip-path: inset(50%);
  background: var(--paper);
}
.skip:focus { clip-path: none; }
.masthead { background: var(--paper); }
.nav, .nav-links, .footer-inner { display: flex; align-items: center; }
.nav { justify-content: space-between; min-height: 62px; gap: 18px; }
.brand { font-family: var(--display); font-size: 24px; white-space: nowrap; text-decoration: none; }
.nav-links { gap: 22px; }
.nav-links a, .footer a { font-size: 14px; font-weight: 690; text-decoration: none; text-underline-offset: 4px; }
.nav-links a:hover, .footer a:hover { text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(690px, max(525px, calc(100svh - 150px)));
  background: #5f1419;
  color: #fff9f6;
}
.hero-media, .hero::before { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgba(48, 9, 14, .96), rgba(54, 9, 13, .85) 34%, rgba(63, 11, 17, .2) 59%, transparent 73%);
}
.hero-inner { padding-block: 62px; }
.hero h1 { max-width: 610px; font-size: 68px; font-weight: 500; text-wrap: balance; }
.hero-lead { max-width: 500px; margin: 22px 0 26px; font-size: 20px; }
.hero a:focus-visible { outline-color: white; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--red);
  color: white;
  font: inherit;
  font-weight: 740;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  text-decoration: none;
}
a.button:hover { background: #7f1927; }
.hero .button { background: #fff1e9; color: #441417; }
.hero .button:hover { background: #f7d8ce; }
.button:disabled { border-color: #c8abaa; background: #ead1cf; color: #654343; }

.section { padding-block: 76px; }
.copy { display: grid; gap: 16px; align-content: start; }
.copy p { max-width: 62ch; }
.audience-layout, .about-layout, .reviews-layout, .purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 68px;
}
.audience-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.audience-list li { position: relative; padding: 15px 0 15px 24px; border-top: 1px solid var(--line); }
.audience-list li::before { content: ""; position: absolute; top: 24px; left: 3px; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }

.method { color: #f9f4ec; background: var(--green); }
.method h2 { max-width: 710px; }
.method-steps { list-style: none; margin: 32px 0 0; padding: 0; border-bottom: 1px solid #637970; }
.method-steps > li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; padding-block: 25px; border-top: 1px solid #637970; }
.step-number { color: #f4c6b2; font-family: var(--display); font-size: 40px; line-height: 1; }
.method-steps ul { margin: 0; padding-left: 22px; }
.method-steps ul li + li { margin-top: 5px; }
.method-note { padding-left: 15px; border-left: 2px solid #f4c6b2; }

.about { background: var(--rose); }
.about-layout { align-items: center; }
.author-photo { width: 100%; aspect-ratio: 4 / 4.7; height: auto; object-fit: cover; object-position: center 11%; border-radius: 6px; }
.label { color: var(--red); font-size: 15px; font-weight: 710; }
.author-stat { padding-top: 17px; border-top: 1px solid #d6b6b1; }
.author-stat strong { color: var(--red); }

.reviews-layout { align-items: start; }
.review-image { display: block; width: min(100%, 457px); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; cursor: zoom-in; }
.review-image img { width: 100%; height: auto; }
.review-image:hover { border-color: var(--red); }

.purchase { background: #f4dedc; }
.purchase-layout { align-items: center; }
.offer { padding-left: 35px; border-left: 1px solid #c9a4a0; }
.deadline { font-weight: 730; }
.price { margin: 6px 0 13px; color: var(--red); font-family: var(--display); font-size: 66px; line-height: 1.05; }
.price-schedule { max-width: 26rem; margin: 0 0 18px; border-bottom: 1px solid #c9a4a0; }
.price-schedule > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-block: 8px; border-top: 1px solid #c9a4a0; }
.price-schedule dd { margin: 0; font-weight: 730; font-variant-numeric: tabular-nums; }
.status { margin-top: 7px; color: var(--muted); font-size: 14px; }
.footer { padding: 23px 0; }
.footer-inner { justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; }
.footer p { font-family: var(--display); font-size: 22px; }

@media (max-width: 980px) {
  .hero h1 { max-width: 530px; font-size: 54px; }
  .audience-layout, .about-layout, .reviews-layout, .purchase-layout { gap: 38px; }
  h2 { font-size: 46px; }
}

@media (max-width: 820px) {
  .wrap { width: calc(100% - 44px); }
  .hero { align-items: end; min-height: min(660px, max(465px, calc(100svh - 125px))); }
  .hero-media img { object-position: 60% 30%; }
  .hero::before { background: linear-gradient(0deg, rgba(37, 9, 13, .99), rgba(47, 10, 15, .92) 29%, rgba(47, 10, 15, .27) 66%, transparent 82%); }
  .hero-inner { padding-block: 185px 31px; }
  .hero h1 { max-width: 480px; font-size: 49px; text-wrap: initial; }
  .hero-lead { max-width: 420px; font-size: 18px; }
  .section { padding-block: 46px; }
  .audience-layout, .about-layout, .reviews-layout, .purchase-layout { grid-template-columns: 1fr; gap: 25px; }
  .author-photo { width: min(100%, 430px); }
  .about .copy { grid-row: 1; }
  .method-steps > li { grid-template-columns: 45px minmax(0, 1fr); gap: 14px; padding-block: 20px; }
  .step-number { font-size: 28px; }
  h2 { font-size: 40px; }
  h3 { font-size: 26px; }
  .offer { padding-left: 0; padding-top: 17px; border-left: 0; border-top: 1px solid #c9a4a0; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 34px); }
  .nav { min-height: 51px; gap: 12px; }
  .brand { font-size: 19px; }
  .nav-links { gap: 11px; }
  .nav-links a { padding-block: 12px; font-size: 12px; }
  .hero { min-height: min(590px, max(454px, calc(100svh - 115px))); }
  .hero-media img { object-position: 67% 27%; }
  .hero-inner { padding-block: 170px 24px; }
  .hero h1 { font-size: 39px; }
  .hero-lead { margin: 13px 0 17px; font-size: 16px; }
  .hero .button { font-size: 15px; }
  .section { padding-block: 35px; }
  h2 { font-size: 34px; }
  h3 { font-size: 24px; }
  .copy { gap: 13px; }
  .method-steps { margin-top: 23px; }
  .price { font-size: 54px; }
}

@media (max-width: 350px) {
  .wrap { width: calc(100% - 28px); }
  .brand { font-size: 18px; }
  .nav-links { gap: 8px; }
  .nav-links a { font-size: 11px; white-space: nowrap; }
  .hero-media img { object-position: 67% 100%; }
  .hero-inner { padding-top: 140px; }
  .hero h1 { font-size: 33px; }
  .hero-lead { font-size: 15px; }
}
