/* palette: Malam Lavender | style: SOFT-NATURE | hero: blurred-cover | structure: CLASSIC */
:root {
  --primary-color: #4B4A8C;
  --secondary-color: #1E1E3F;
  --accent-color: #9C4A6B;
  --background-color: #EEEBF6;
  --dark-color: #111111;
  --text-color: #2A2433;
  --border-color: rgba(42,36,51,0.14);
  --shadow-md: 0 20px 60px rgba(42,36,51,0.10);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.45);
  --radius-sm: 12px; --radius-md: 20px; --radius-lg: 32px;
  --main-font: 'Libre Baskerville', Georgia, serif;
  --alt-font: 'Nunito', Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F5F2ED;
  color: var(--text-color);
  font-family: var(--alt-font);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-color); }

h1, h2, h3 { font-family: var(--main-font); color: var(--primary-color); margin: 0 0 32px; font-weight: 700; }
h1 { font-size: clamp(42px, 7vw, 88px); line-height: 1.08; }
h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.15; }
h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; margin-bottom: 16px; }
p { margin: 0 0 24px; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; }
.kicker {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; }
section { padding: 88px 20px; }
.section-alt { background: #ECE6DA; }

/* ---------- Buttons (pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 20px 44px;
  font-family: var(--alt-font);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--primary-color);
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #3C3B75; }
.btn:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 3px; }
.btn-wrap { margin-top: 48px; }

/* ---------- Price ---------- */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 20px; margin: 0 0 40px; }
.price s { font-size: clamp(22px, 2.4vw, 28px); color: rgba(42,36,51,0.6); }
.price strong { font-family: var(--main-font); font-size: clamp(38px, 4.8vw, 58px); line-height: 1; color: var(--accent-color); white-space: nowrap; }

/* ---------- Hero: blurred-cover ---------- */
.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; color: #fff; background: var(--secondary-color); }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./img/bg.jpg') center / cover no-repeat;
  filter: blur(40px) brightness(0.45);
  transform: scale(1.2);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-text { max-width: 620px; }
.hero h1 { color: #fff; }
.hero .kicker { color: #E9C7D6; }
.hero-author { margin-bottom: 32px; font-weight: 600; color: rgba(255,255,255,0.88); }
.hero .price s { color: rgba(255,255,255,0.7); }
.hero .price strong { color: #F3D3E0; }
.hero .btn { background: #F3D3E0; color: var(--secondary-color); }
.hero .btn:hover { background: #fff; }
.hero-cover { order: -1; justify-self: center; width: 100%; max-width: 280px; }
.hero-cover img { border-radius: 8px; box-shadow: var(--shadow-lg); }

/* ---------- A. Big Statement ---------- */
.statement { min-height: 60vh; display: flex; align-items: center; text-align: center; background: var(--background-color); }
.statement h2 { max-width: 960px; margin: 0 auto 32px; font-size: clamp(34px, 5.6vw, 68px); color: var(--secondary-color); }
.statement p { max-width: 720px; margin: 0 auto; }

/* ---------- Split blocks (arch photos) ---------- */
.split-grid { display: grid; gap: 48px; align-items: center; }
.split-media { overflow: hidden; border-radius: 999px 999px 32px 32px; box-shadow: 0 20px 60px rgba(42,36,51,0.10); }
.split-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; transition: transform .6s; }
.split-media:hover img { transform: scale(1.02); }
.split-text { max-width: 560px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 44px; margin-bottom: 18px; }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--accent-color); }

.chapters { list-style: none; margin: 0; padding: 0; }
.chapters li { display: flex; align-items: center; gap: 24px; margin-bottom: 16px; padding: 16px 24px; background: #fff; border-radius: 99px; box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 10px 30px rgba(42,36,51,0.06); }
.chapters .num { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; font-family: var(--main-font); font-size: 18px; font-weight: 700; color: #fff; background: var(--primary-color); }

/* ---------- E. Excerpt ---------- */
.excerpt { text-align: center; background: var(--secondary-color); color: #EEEBF6; }
.excerpt blockquote { max-width: 900px; margin: 0 auto; }
.excerpt .quote-mark { display: block; height: 0.55em; font-family: var(--main-font); font-size: 9rem; line-height: 1; color: #E9C7D6; opacity: 0.5; }
.excerpt p { margin-bottom: 32px; font-family: var(--main-font); font-style: italic; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.4; }
.excerpt cite { font-style: normal; font-size: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(238,235,246,0.8); }

/* ---------- J. Offer ---------- */
.offer { min-height: 80vh; display: flex; align-items: center; }
.offer-grid { display: grid; gap: 56px; align-items: center; }
.offer-cover { justify-self: center; width: 100%; max-width: 300px; }
.offer-cover img { border-radius: 8px; box-shadow: 0 30px 80px rgba(30,30,63,0.25); }
.offer-text { max-width: 560px; }
.offer .price strong { font-size: clamp(42px, 6vw, 80px); }

/* ---------- K. FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
.faq-item { padding: 32px; background: #FBF8F4; border-radius: 24px; box-shadow: 0 4px 6px rgba(0,0,0,0.03), 0 10px 40px rgba(42,36,51,0.06); }

/* ---------- L. Order ---------- */
.order { min-height: 80vh; display: flex; align-items: center; text-align: center; background: var(--background-color); }
.order-inner { width: 100%; max-width: 560px; margin: 0 auto; }
.order-price { justify-content: center; margin-top: 32px; }
.order-form { display: grid; gap: 12px; margin-top: 40px; text-align: left; }
.order-form label { margin-top: 12px; font-size: 18px; font-weight: 700; }
.order-form input {
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  font-family: var(--alt-font);
  font-size: clamp(18px, 2vw, 21px);
  color: var(--text-color);
  background: #fff;
  border: 2px solid rgba(75,74,140,0.2);
  border-radius: 99px;
}
.order-form input::placeholder { color: rgba(42,36,51,0.5); }
.order-form input:focus { border-color: var(--primary-color); outline: 3px solid rgba(75,74,140,0.2); outline-offset: 1px; }
.order-form .btn { width: 100%; margin-top: 28px; }
.form-note { margin-top: 20px; font-size: 15px; color: rgba(42,36,51,0.75); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 20px; text-align: center; font-size: 16px; background: var(--secondary-color); color: #DCD9EC; }
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-nav { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.footer-nav a { color: #fff; text-underline-offset: 4px; }
.footer-cookies, .footer-copy { margin: 0 0 8px; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 100vh; max-width: 900px; margin: 0 auto; padding: 88px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.thanks h1 { margin-bottom: 32px; }
.thanks .lead { margin-bottom: 48px; }

/* ---------- Legal pages ---------- */
.legal-page main { max-width: 760px; margin: 0 auto; padding: 72px 20px 96px; }
.legal-page h1 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 16px; }
.legal-page h2 { font-size: clamp(22px, 2.8vw, 26px); margin: 48px 0 16px; }
.legal-page p, .legal-page li { font-size: clamp(17px, 1.8vw, 19px); }
.legal-page ul { padding-left: 24px; margin: 0 0 24px; }
.legal-page li { margin-bottom: 8px; }
.legal-meta { color: rgba(42,36,51,0.7); font-size: 16px; }
.back-link { display: inline-block; margin-bottom: 40px; font-size: 17px; font-weight: 700; }

/* ---------- Animations ---------- */
@keyframes reveal-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  section { padding: 160px 32px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 96px; }
  .hero-cover { order: 0; max-width: 420px; }
  .split-grid { grid-template-columns: 1.1fr 1fr; gap: 120px; }
  .split--reverse .split-grid { grid-template-columns: 1fr 1.1fr; }
  .split--reverse .split-media { order: 2; }
  .offer-grid { grid-template-columns: 1fr 1.1fr; gap: 120px; }
  .offer-cover { max-width: 420px; }
  .faq-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { flex-direction: row; justify-content: center; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
