:root{
  --bg:#FAF6F0;
  --paper:#FFFDF9;
  --ink:#2E2A27;
  --muted:#6E6660;
  --burgundy:#7E2A36;
  --burgundy-deep:#5E1E28;
  --gold:#7E2A36;
  --line:rgba(126,42,54,.14);
  --shadow:0 22px 64px rgba(94,30,40,.10);
  --radius:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:17px;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}

h1,h2{
  margin:0 0 22px;
  font-family:"Literata",Georgia,serif;
  font-weight:400;
  line-height:1.08;
  letter-spacing:-.01em;
}
h1{font-size:clamp(40px,5.4vw,68px)}
h2{font-size:clamp(30px,3.8vw,46px)}
h3{
  margin:0 0 10px;
  font-family:"Literata",Georgia,serif;
  font-weight:500;
  font-size:22px;
  line-height:1.2;
}
p{margin:0 0 16px;color:var(--muted);line-height:1.7}
.eyebrow{
  margin:0 0 16px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;
  font-weight:600;
}

/* ---- layout helpers ---- */
.nav,.hero,.quiet-line,.scene,.open-when,.how,.example,.whom,.formats,.privacy,.quiz,footer{
  width:min(1060px,calc(100% - 40px));
  margin-left:auto;
  margin-right:auto;
}

/* ---- buttons ---- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:14px 26px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.btn.primary{color:#fff;background:var(--burgundy);box-shadow:0 14px 32px rgba(126,42,54,.22)}
.btn.primary:hover{background:var(--burgundy-deep)}
.btn.ghost{color:var(--burgundy);border:1.5px solid var(--line);background:transparent}
.btn.ghost:hover{border-color:var(--burgundy)}
.btn.small{min-height:44px;padding:10px 20px;font-size:14px;color:#fff;background:var(--burgundy)}

/* ---- nav ---- */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 0 6px;
}
.brand-logo{display:block;width:84px;height:auto}
.nav nav{display:flex;gap:26px}
.nav nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:15px;
}
.nav nav a:hover{color:var(--burgundy)}

/* ---- hero ---- */
.hero{
  padding:64px 0 96px;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:64px;
  align-items:center;
}
.lead{max-width:540px;font-size:19px}
.actions{margin:34px 0 0}
.hero-details{margin:16px 0 0;font-size:14px;color:var(--muted)}
.hero-photo{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.hero-photo img{display:block;width:100%;height:auto}

/* ---- quiet line ---- */
.quiet-line{padding:56px 0 88px;text-align:center}
.quiet-line h2{margin-bottom:10px}
.quiet-line p{font-size:18px}
.pain-lines{
  max-width:560px;
  margin:0 auto 36px;
  font-size:17px;
  line-height:2;
  color:var(--muted);
}
.pain-lines em{
  font-style:normal;
  color:var(--ink);
}

/* ---- scene: what you get ---- */
.scene{
  padding:104px 0;
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:64px;
  align-items:center;
  border-top:1px solid var(--line);
}
.scene-media{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.scene-media img{display:block;width:100%}
.gets{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:22px}
.gets li{display:grid;gap:4px;padding-left:20px;border-left:2px solid var(--gold)}
.get-title{font-family:"Literata",Georgia,serif;font-weight:500;font-size:19px}
.get-text{color:var(--muted);line-height:1.6;font-size:16px}

/* ---- open when (merged with page demo) ---- */
.open-when{
  padding:104px 0;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:64px;
  align-items:center;
}
.envelopes{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:34px;
}
.envelopes article{
  min-height:140px;
  padding:22px;
  display:flex;
  align-items:flex-end;
  border-radius:22px;
  color:#F6E9E4;
  background:linear-gradient(150deg,#7E2A36,#5E1E28);
  box-shadow:0 16px 44px rgba(94,30,40,.16);
  font-family:"Literata",Georgia,serif;
  font-style:italic;
  font-size:24px;
  line-height:1.15;
}

/* ---- how it works ---- */
.how{
  padding:104px 0;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:64px;
  align-items:center;
}
.steps{
  list-style:none;
  margin:36px 0 0;
  padding:0;
  display:grid;
  gap:26px;
}
.steps li{display:flex;gap:18px;align-items:flex-start}
.steps li .step-num{flex-shrink:0}
.step-num{
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  border:1.5px solid var(--gold);
  color:var(--gold);
  font-family:"Literata",Georgia,serif;
  font-size:18px;
}
.steps h3{font-size:19px;margin-bottom:6px}
.steps p{font-size:15px;line-height:1.6;margin:0}

/* ---- letter example ---- */
.example{padding:104px 0;border-top:1px solid var(--line);text-align:center}
.letter-card{
  position:relative;
  max-width:560px;
  margin:0 auto;
  padding:48px 52px 60px;
  text-align:left;
  background:
    linear-gradient(180deg, #FFFDF8, #FBF5EA);
  border-radius:3px;
  box-shadow:0 1px 2px rgba(94,30,40,.06), 0 24px 60px rgba(94,30,40,.12);
  transform:rotate(-.6deg);
}
.letter-card::before{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(126,42,54,.22);
  border-radius:2px;
  pointer-events:none;
}
.letter-meta{
  margin:0 0 28px;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold);
}
.letter-salutation{
  margin:0 0 14px;
  font-family:"Literata",Georgia,serif;
  font-style:italic;
  font-size:clamp(20px,2.3vw,25px);
  color:var(--ink);
}
.letter-text{
  margin:0;
  font-family:"Literata",Georgia,serif;
  font-style:italic;
  font-weight:300;
  font-size:clamp(18px,2vw,21px);
  line-height:1.75;
  color:var(--ink);
}
.letter-sign{
  margin:26px 0 0;
  font-family:"Literata",Georgia,serif;
  font-style:italic;
  font-size:clamp(18px,2vw,21px);
  color:var(--burgundy);
  text-align:right;
}
.letter-seal{
  position:absolute;
  right:34px;
  bottom:-22px;
  width:52px;height:52px;
  border-radius:50%;
  background:radial-gradient(circle at 34% 30%,#A2434F,#6B222D 68%);
  box-shadow:0 8px 18px rgba(94,30,40,.35), inset 0 0 0 6px rgba(255,255,255,.06);
}
.letter-seal::after{
  content:"С";
  position:absolute;
  inset:0;
  display:flex;align-items:center;justify-content:center;
  color:rgba(246,233,228,.85);
  font-family:"Literata",Georgia,serif;
  font-size:20px;
}
.example-note{max-width:520px;margin:34px auto 0;font-size:15px}

/* ---- for whom ---- */
.whom{padding:104px 0;border-top:1px solid var(--line)}
.whom-lead{margin-bottom:44px}
.whom-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:12px;
}
.whom-grid p{font-size:16px;margin:0}

/* ---- offer (single product) ---- */
.formats{padding:104px 0;border-top:1px solid var(--line)}
.offer{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:56px;
  align-items:center;
  margin-top:40px;
  padding:48px 52px;
  border-radius:var(--radius);
  background:var(--paper);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.offer-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:18px;
}
.offer-list li{
  position:relative;
  padding-left:26px;
  color:var(--ink);
  font-size:16.5px;
  line-height:1.55;
}
.offer-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:10px;height:10px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #A2434F, #6B222D 70%);
}
.offer-price{
  text-align:center;
  padding:32px 24px;
  border-radius:22px;
  background:linear-gradient(160deg,#FBF4EC,#F6EAE2);
}
.price{
  font-family:"Literata",Georgia,serif;
  font-size:44px;
  color:var(--ink);
  margin:0 0 6px;
}
.price-note{font-size:14px;margin:0 0 22px}
.offer-price .btn{width:100%}

/* ---- privacy ---- */
.privacy{padding:104px 0;border-top:1px solid var(--line);text-align:center}
.privacy p{max-width:620px;margin:0 auto}

/* ---- quiz ---- */
.quiz{padding:96px 0 120px}
.quiz-box{
  padding:56px;
  border-radius:34px;
  background:linear-gradient(160deg,#FFFDF9,#F6EAE2);
  box-shadow:var(--shadow);
  text-align:center;
}
.quiz-box > p{max-width:540px;margin-left:auto;margin-right:auto}
.tg-cta{
  min-height:58px;
  padding:17px 38px;
  font-size:17px;
  margin-top:14px;
}
.quiz-note{font-size:14px;margin:18px 0 0}
.quiz-note strong{color:var(--ink)}

/* ---- footer ---- */
footer{
  padding:44px 0 64px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
footer .brand-logo{width:72px}
footer p{margin:0;font-size:14px}

/* ---- reveal ---- */
@media (prefers-reduced-motion:no-preference){
  .scene,.open-when,.how,.example,.whom,.formats,.privacy{
    animation:none;
  }
}

/* ---- responsive ---- */
@media(max-width:940px){
  .nav nav{display:none}
  .hero{grid-template-columns:1fr;gap:40px;padding:36px 0 72px}
  .hero-details{text-align:center}
  .hero-photo{order:-1}
  .scene{grid-template-columns:1fr;gap:36px;padding:80px 0}
  .how{grid-template-columns:1fr;gap:36px}
  .open-when{grid-template-columns:1fr;gap:36px}
  .whom-grid{grid-template-columns:1fr;gap:28px}
  .offer{grid-template-columns:1fr;gap:32px;padding:32px 24px}
}
@media(max-width:560px){
  body{font-size:16px}
  .nav,.hero,.quiet-line,.scene,.open-when,.how,.example,.whom,.formats,.privacy,.quiz,footer{
    width:calc(100% - 32px);
  }
  h1{font-size:38px}
  h2{font-size:28px}
  .lead{font-size:17px}
  .btn.small{display:none}
  .nav{justify-content:center;padding:24px 0 10px}
  .nav .brand-logo{width:96px}
  .hero{padding-top:20px}
  .quiet-line{padding:40px 0 64px}
  .scene,.open-when,.how,.example,.whom,.formats,.privacy{padding:64px 0}
  .steps{gap:22px}
  .envelopes{grid-template-columns:1fr}
  .envelopes article{min-height:130px}
  .letter-card{padding:36px 24px 48px;transform:none}
  .quiz-box{padding:32px 22px}
  .actions .btn{width:100%}
  footer{flex-direction:column;text-align:center}
}

.letter-ps{margin-top:18px}

@media(min-width:1200px){
  .nav,.hero,.quiet-line,.scene,.open-when,.how,.example,.whom,.formats,.privacy,.quiz,footer{
    width:min(1200px,calc(100% - 40px));
  }
}

/* ===================== ЛИСТ + КАРТКА (переробка) ===================== */
.ex-pair{position:relative;max-width:620px;margin:0 auto;padding:0 0 46px}
.letter-card2{
  position:relative;z-index:2;max-width:520px;margin:0 auto;
  padding:38px 40px 46px;transform:rotate(-.8deg);
  background:
    repeating-linear-gradient(92deg,rgba(126,42,54,.012) 0 2px,transparent 2px 5px),
    linear-gradient(178deg,#fffdf9 0%,#fdf8f0 100%);
  box-shadow:0 1px 0 rgba(126,42,54,.06),0 22px 54px rgba(94,30,40,.16);
}
.lt2-meta{margin:0 0 20px;font-size:11px;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:var(--gold,#C07A3D)}
.lt2-salut{margin:0 0 14px;font-family:'Literata',Georgia,serif;font-style:italic;
  font-size:24px;color:var(--ink,#2e2a27)}
.lt2-text{margin:0 0 14px;font-family:'Literata',Georgia,serif;font-style:normal;
  font-size:17.5px;line-height:1.8;color:var(--soft,#3C2D27)}
.lt2-sign{margin:20px 0 0;font-family:'Literata',Georgia,serif;font-style:italic;
  font-size:18px;text-align:right;color:var(--burgundy,#7E2A36)}
/* віск: нерівна крапля, не кружечок з літерою */
.lt2-wax{
  position:absolute;right:-16px;bottom:-16px;width:64px;height:64px;
  border-radius:47% 53% 50% 50%/52% 48% 52% 48%;
  transform:rotate(-8deg);
  background:
    radial-gradient(circle at 33% 26%,rgba(255,255,255,.3),transparent 44%),
    radial-gradient(circle at 72% 80%,rgba(0,0,0,.34),transparent 50%),
    linear-gradient(145deg,#93313f,var(--burgundy,#7E2A36) 42%,#5E1E28);
  box-shadow:0 12px 26px rgba(74,18,30,.38),
    inset 0 -3px 7px rgba(0,0,0,.34),inset 0 3px 5px rgba(255,255,255,.2);
}
/* картка з хвилею — визирає з-під листа, показує механіку */
.qr-card2{
  position:absolute;z-index:1;right:6%;bottom:0;width:190px;
  padding:16px 16px 14px;transform:rotate(3.4deg);
  background:#fffdfa;border:1px solid rgba(126,42,54,.12);
  box-shadow:0 14px 30px rgba(74,18,30,.14);
}
.qr2-wave{display:flex;align-items:flex-end;gap:3px;height:34px;margin-bottom:10px}
.qr2-wave i{flex:1;border-radius:1.5px;
  background:linear-gradient(180deg,var(--gold,#C07A3D),var(--burgundy,#7E2A36))}
.qr2-line{margin:0 0 10px;font-family:'Literata',Georgia,serif;font-style:italic;
  font-size:11.5px;line-height:1.45;color:var(--muted,#6E6660)}
.qr2-code{width:44px;height:44px;color:var(--ink,#2e2a27);opacity:.85}
@media(max-width:640px){
  .letter-card2{padding:30px 24px 40px}
  .lt2-wax{right:10px;bottom:-14px}
  .qr-card2{position:relative;right:auto;bottom:auto;margin:-8px auto 0;
    transform:rotate(2deg)}
  .ex-pair{padding-bottom:0}
}

/* ===================== ОПИС-НАКЛАДНА (ціна) ===================== */
.slip{max-width:860px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr;
  gap:44px;align-items:start}
.slip-list{list-style:none;margin:0;padding:0}
.slip-list li{display:flex;gap:16px;padding:15px 0;margin:0;
  border-bottom:1px solid rgba(126,42,54,.12);
  font-size:15.5px;line-height:1.6;color:var(--soft,#3C2D27)}
.slip-list li:last-child{border-bottom:0}
.slip-n{flex:none;width:26px;padding-top:2px;font-family:'Literata',Georgia,serif;
  font-size:13px;color:var(--gold,#C07A3D)}
.slip-total{text-align:center;padding-top:4px}
.slip-rule{height:1px;background:rgba(126,42,54,.14)}
.slip-price{margin:22px 0 8px;font-family:'Literata',Georgia,serif;font-weight:400;
  font-size:46px;line-height:1;color:var(--ink,#2e2a27);letter-spacing:-.01em}
.slip-price span{font-size:19px;color:var(--muted,#6E6660)}
.slip-note{margin:0 0 22px;font-size:13px;color:var(--muted,#6E6660)}
.slip-total .btn{margin-top:24px}
@media(max-width:760px){
  .slip{grid-template-columns:1fr;gap:26px}
}
