:root {
  --ink: #111111;
  --red: #E1251B;
  --paper: #ffffff;
  --grey: #6b6b6b;
  --line: #e6e6e6;
  --soft: #f6f6f6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "PT Serif", Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
}
a { color: inherit; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

h1, h2, h3, .btn, .kicker, .price, .nav {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h1 { font-size: clamp(56px, 11vw, 120px); line-height: .92; font-weight: 700; }
h2 { font-size: clamp(34px, 6vw, 56px); line-height: 1; font-weight: 700; margin-bottom: 28px; }
h3 { font-size: 24px; line-height: 1.15; font-weight: 600; margin-bottom: 8px; }
.red { color: var(--red); }
.kicker { font-size: 15px; letter-spacing: .2em; color: var(--red); font-weight: 600; margin-bottom: 14px; display: block; }

section { padding: 72px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

/* top bar */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 16px; font-weight: 600; letter-spacing: .08em; }
.nav a { text-decoration: none; }

/* hero */
.hero { padding: 48px 0 80px; }
.hero .lead { font-size: clamp(20px, 2.6vw, 26px); max-width: 640px; margin: 28px 0 32px; }
.hero .plate { display: inline-block; background: var(--red); color: #fff; padding: 2px 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 17px; color: var(--grey); margin-top: 18px; }
.facts span::before { content: "■ "; color: var(--red); font-size: 12px; vertical-align: 2px; }

.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  font-size: 22px; font-weight: 600; letter-spacing: .06em; padding: 18px 34px;
  border: 0; cursor: pointer; transition: background .15s;
}
.btn:hover, .btn:focus-visible { background: var(--red); }
.btn.big { font-size: 26px; padding: 22px 44px; }
.under-btn { font-size: 15px; color: var(--grey); margin-top: 12px; }

/* lists */
.pains { list-style: none; display: grid; gap: 16px; }
.pains li { padding-left: 34px; position: relative; font-size: 21px; }
.pains li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 4px; background: var(--red); }
.after-pains { margin-top: 32px; font-size: 21px; max-width: 680px; }

.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-bottom: 44px; }
.blocks p { color: #333; }

.sections { border-top: 3px solid var(--ink); }
.sec { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sec h3 { margin: 0; }
.sec h3 small { color: var(--red); font-size: 18px; }
@media (max-width: 680px) { .sec { grid-template-columns: 1fr; gap: 6px; } }

.bonus { background: var(--ink); color: #fff; padding: 36px; margin-top: 44px; }
.bonus h3 { color: var(--red); margin-bottom: 16px; }
.bonus ul { list-style: none; display: grid; gap: 10px; }
.bonus li::before { content: "+ "; color: var(--red); font-weight: 700; }

.week { list-style: none; counter-reset: w; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.week li { counter-increment: w; border-top: 3px solid var(--ink); padding-top: 14px; font-size: 20px; }
.week li::before { content: "0" counter(w); display: block; font-family: "Oswald", sans-serif; font-size: 40px; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 8px; }

.honest { background: var(--soft); }
.honest .num { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(80px, 16vw, 150px); line-height: .9; color: var(--red); }
.honest .row { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.honest p { max-width: 560px; font-size: 21px; }

.author { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.author .photo { aspect-ratio: 4/5; background: var(--soft) center/cover no-repeat; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 15px; text-align: center; padding: 20px; }
@media (max-width: 720px) { .author { grid-template-columns: 1fr; } .author .photo { max-width: 300px; } }

.buy { text-align: center; }
.price { font-size: clamp(80px, 15vw, 140px); font-weight: 700; line-height: 1; margin: 8px 0 6px; }
.buy .what { font-size: 20px; margin-bottom: 30px; }
.guarantee { max-width: 600px; margin: 34px auto 0; border: 3px solid var(--ink); padding: 24px 28px; text-align: left; }
.guarantee h3 { color: var(--red); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 3px solid var(--ink); }
summary { cursor: pointer; font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 22px; font-weight: 600; list-style: none; position: relative; padding-right: 36px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -4px; color: var(--red); font-size: 30px; }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; max-width: 700px; }

.final { background: var(--ink); color: #fff; text-align: center; border: 0; }
.final h2 { max-width: 760px; margin: 0 auto 34px; }
.final .btn { background: var(--red); }
.final .btn:hover { background: #fff; color: var(--ink); }

footer { padding: 36px 0 48px; font-size: 15px; color: var(--grey); border-top: 1px solid var(--line); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 10px 0; }
footer a { color: var(--ink); }

/* legal pages */
.doc { padding: 40px 0 72px; }
.doc h1 { font-size: clamp(38px, 7vw, 64px); margin-bottom: 10px; }
.doc .date { color: var(--grey); margin-bottom: 36px; }
.doc h2 { font-size: 26px; margin: 34px 0 12px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul, .doc ol { padding-left: 24px; }

/* thank-you */
.thanks { padding: 56px 0 72px; }
.thanks .btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.thanks .btn.alt { background: #fff; color: var(--ink); border: 3px solid var(--ink); padding: 15px 31px; }
.thanks .btn.alt:hover { background: var(--ink); color: #fff; }
.next { border-top: 3px solid var(--ink); margin-top: 48px; padding-top: 24px; }

/* чернетка: місця, які треба заповнити перед публікацією */
.todo { outline: 2px dashed var(--red); outline-offset: 2px; background: #fdeceb; padding: 0 4px; }
