:root {
  --stone: #ebe7e3;
  --stone-light: #f6f3ef;
  --sand: #ded5c6;
  --olive: #545b43;
  --olive-soft: #737a60;
  --moss: #8a8a3c;
  --leaf: #3f6b52;
  --forest: #13342d;
  --orange: #d85b00;
  --white: #ffffff;
  --line: rgba(84, 91, 67, 0.16);
  --radius: 22px;
  --shadow: 0 10px 40px rgba(19, 52, 45, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  color: var(--olive);
  background: var(--stone);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .display {
  font-family: 'Marcellus SC', Georgia, serif;
  font-weight: 400;
  color: var(--olive);
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 88px 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--olive-soft); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 12px; }

/* buttons */
.btn {
  display: inline-block;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 12px;
  border: 2px solid var(--forest);
  transition: transform .2s, background .2s, color .2s;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); background: #0c2620; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--white); }
.btn-orange { background: var(--orange); border-color: var(--orange); }
.btn-orange:hover { background: #b84d00; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(235, 231, 227, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
nav .logo img { height: 54px; width: auto; }
nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
nav ul a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
nav ul a:hover { color: var(--orange); }
nav .btn { padding: 10px 20px; font-size: 0.9rem; }
nav ul a, nav .btn { white-space: nowrap; }
@media (max-width: 820px) {
  nav ul li.hide-m { display: none; }
  nav ul { gap: 14px; }
}
@media (max-width: 520px) {
  nav .logo img { height: 40px; }
  nav .btn { padding: 8px 14px; }
}

/* promo bar */
.promo-bar {
  background: var(--forest);
  color: var(--stone);
  text-align: center;
  font-size: 0.9rem;
  padding: 9px 16px;
}
.promo-bar a { color: var(--white); font-weight: 600; }

/* hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--white); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); font-size: 0.9rem; max-width: 220px;
}
.hero-badge strong { color: var(--forest); display: block; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 420px; }
  .hero-badge { left: 12px; }
}

.hero-art { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-art::before {
  content: ''; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: var(--sand); z-index: 0;
}
.hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
.hero-art img { position: relative; z-index: 1; width: 86%; }
.hero-art .hero-badge { z-index: 2; }
.illu-book { max-width: 380px; width: 100%; margin: 36px auto 0; }

/* problems */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  background: var(--stone-light); border: 1px solid var(--line);
  padding: 12px 20px; border-radius: 999px; font-weight: 500;
}

/* steps */
.bg-sand { background: var(--sand); }
.bg-light { background: var(--stone-light); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--stone-light); border-radius: var(--radius); padding: 28px 24px; }
.step::before {
  counter-increment: s; content: counter(s);
  font-family: 'Marcellus SC', serif; font-size: 2.2rem; color: var(--orange); display: block; margin-bottom: 8px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.toggle { display: inline-flex; background: var(--sand); border-radius: 14px; padding: 5px; margin-bottom: 40px; }
.toggle button {
  border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--olive);
  padding: 10px 26px; border-radius: 10px; cursor: pointer;
}
.toggle button.active { background: var(--forest); color: var(--white); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; border: 1px solid var(--line); position: relative; text-align: left;
}
.plan.featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.plan .tag {
  position: absolute; top: -14px; left: 28px; background: var(--orange); color: var(--white);
  font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em;
}
.plan h3 { margin-bottom: 4px; }
.plan .for { font-size: 0.95rem; color: var(--olive-soft); margin-bottom: 18px; min-height: 3em; }
.price { font-size: 2.4rem; font-weight: 600; color: var(--forest); line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; }
.price-note { font-size: 0.85rem; color: var(--olive-soft); margin: 6px 0 20px; min-height: 1.3em; }
.price-note { margin-bottom: 4px; }
.cats-note { font-size: 0.82rem; color: var(--orange); font-weight: 500; margin-bottom: 18px; }
.plan ul { list-style: none; margin-bottom: 26px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 0.96rem; border-bottom: 1px dashed var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }
.plan .btn { width: 100%; }
.pricing-panel[hidden] { display: none; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .plan .for { min-height: 0; } }

.info-box {
  margin-top: 36px; background: var(--stone-light); border-radius: var(--radius);
  padding: 26px 28px; text-align: left; border: 1px solid var(--line);
}
.info-box h3 { margin-bottom: 10px; font-size: 1.15rem; }
.info-box p + p { margin-top: 8px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.info-grid .info-box { margin-top: 0; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }

/* about */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-grid p + p { margin-top: 14px; }
.about-grid h2 { margin-bottom: 18px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } .about-grid img { max-width: 400px; } }

/* ebook teaser */
.ebook-teaser { background: var(--moss); color: var(--white); border-radius: 32px; overflow: hidden; }
.ebook-teaser .grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: center; padding: 52px; }
.ebook-teaser h2, .ebook-teaser h3 { color: var(--white); }
.ebook-teaser img { border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25); transform: rotate(-3deg); max-height: 520px; width: auto; margin: 0 auto; }
.ebook-teaser .eyebrow { color: #fff3c4; }
.ebook-teaser p { color: rgba(255,255,255,.92); }
.ebook-teaser .btn { background: var(--white); color: var(--forest); border-color: var(--white); }
.ebook-teaser .btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.ebook-teaser .btn-ghost:hover { background: var(--white); color: var(--forest); }
@media (max-width: 860px) { .ebook-teaser .grid { grid-template-columns: 1fr; padding: 36px 24px; gap: 32px; } .ebook-teaser img { max-width: 260px; } }

.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 4px; }
.price-line .now { font-size: 2.2rem; font-weight: 600; }
.price-line .was { text-decoration: line-through; opacity: .75; }
.price-line .until { font-size: .9rem; font-weight: 600; background: rgba(255,255,255,.18); padding: 3px 10px; border-radius: 999px; }
.omnibus { font-size: .82rem; opacity: .85; margin-bottom: 24px; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.review .stars { color: #e3a521; letter-spacing: 3px; margin-bottom: 10px; }
.review p { font-size: 0.98rem; }
.review .who { margin-top: 12px; font-weight: 600; font-size: .9rem; color: var(--olive-soft); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* cats strip */
.cats-strip {
  aspect-ratio: 704 / 180; background: url('img/ebook-wstep.webp') center bottom / 100% auto no-repeat, #3b4a2a;
  border-radius: var(--radius); margin-top: 40px;
}

/* newsletter + cta */
.cta-box { background: var(--forest); color: var(--stone); border-radius: 32px; padding: 64px 32px; text-align: center; }
.cta-box h2 { color: var(--white); margin-bottom: 14px; }
.cta-box p { color: rgba(235,231,227,.88); max-width: 560px; margin: 0 auto 28px; }
.cta-box .btn { background: var(--orange); border-color: var(--orange); }
.cta-box .btn-ghost { background: transparent; border-color: var(--stone); color: var(--stone); }
.cta-box .btn-ghost:hover { background: var(--stone); color: var(--forest); }

/* faq */
details { background: var(--white); border-radius: 16px; padding: 18px 22px; border: 1px solid var(--line); }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 600; color: var(--forest); list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--orange); }
details[open] summary::after { content: '–'; }
details p { margin-top: 10px; }

/* footer */
footer { padding: 48px 0 40px; font-size: 0.92rem; }
footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer img { height: 40px; width: auto; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--orange); }
footer .copy { width: 100%; color: var(--olive-soft); font-size: .82rem; }

/* cookie */
.cookie {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px; margin: 0 auto;
  background: var(--white); border-radius: 16px; padding: 18px 20px; box-shadow: 0 10px 40px rgba(0,0,0,.18);
  z-index: 100; font-size: .9rem; display: none;
}
.cookie.show { display: block; }
.cookie .btn-row { margin-top: 12px; }
.cookie .btn { padding: 9px 18px; font-size: .88rem; }

/* fade */
.fade { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } }
