/* ============================================================
   Олеся — лендинг. «Тёплый контраст».
   Тёмный «вечерний» эспрессо ↔ кремовая бумага.
   Display: Prata. Body: Manrope. Акценты: терракота / янтарь.
   ============================================================ */

:root {
  --paper:       #faf6ef;   /* кремовая бумага */
  --paper-deep:  #f3ebdf;   /* тонированная секция */
  --ink:         #211915;   /* тёмный эспрессо (текст/тёмные блоки) */
  --ink-soft:    #5c4f45;   /* приглушённый текст на бумаге */
  --accent:      #b4502b;   /* терракота — CTA/акцент на светлом */
  --accent-deep: #96401f;
  --amber:       #e3a862;   /* янтарь — CTA/акцент на тёмном */
  --amber-deep:  #cf8f44;
  --sage:        #8a9a7d;
  --cream:       #f7eee2;   /* текст на тёмном */
  --cream-soft:  rgba(247, 238, 226, 0.74);
  --line-light:  rgba(43, 33, 27, 0.10);
  --line-dark:   rgba(247, 238, 226, 0.14);
  --radius:      22px;
  --font-display:"Prata", "Cormorant", Georgia, serif;
  --font-italic: "Cormorant", Georgia, serif;
  --font-body:   "Manrope", "Golos Text", "Segoe UI", system-ui, sans-serif;
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Тёплая «бумажная» зернистость поверх всего */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 80;
  opacity: 0.55; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 760px; }

em { font-style: normal; }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16.5px;
  text-decoration: none; border-radius: 999px; padding: 16px 30px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .25s ease;
  will-change: transform; white-space: nowrap;
}
.btn__icon { flex-shrink: 0; }

/* терракота — на светлых секциях */
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 14px 32px -12px rgba(180,80,43,.55); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 40px -12px rgba(150,64,31,.6); }
.btn--primary:active { transform: translateY(0) scale(.99); }

/* янтарь — на тёмных секциях */
.btn--amber { background: var(--amber); color: #271c16; box-shadow: 0 16px 40px -12px rgba(227,168,98,.5); }
.btn--amber:hover { background: var(--amber-deep); transform: translateY(-2px) scale(1.02); box-shadow: 0 22px 48px -12px rgba(227,168,98,.6); }
.btn--amber:active { transform: translateY(0) scale(.99); }

.btn--ghost-dark { background: rgba(247,238,226,.08); color: var(--cream); border: 1px solid var(--line-dark); padding: 11px 22px; font-size: 15px; }
.btn--ghost-dark:hover { background: rgba(247,238,226,.16); transform: translateY(-1px); }

.btn--large { font-size: 18px; padding: 19px 38px; }

/* ============ Тёмная поверхность ============ */
.dark {
  position: relative; color: var(--cream);
  background:
    radial-gradient(1100px 760px at 86% -12%, #4d322b 0%, rgba(77,50,43,0) 56%),
    radial-gradient(820px 640px at 4% 116%, rgba(120,92,72,.42), transparent 60%),
    linear-gradient(162deg, #241a17 0%, #1b1411 100%);
}
.dark .grain-local {
  position: absolute; inset: 0; pointer-events: none; opacity: .4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Шапка ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(28, 20, 17, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(247,238,226,.08);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--cream); text-decoration: none; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: #271c16;
  display: grid; place-items: center; font-family: var(--font-italic); font-style: italic; font-weight: 600; font-size: 22px;
}
.site-header__nav { display: flex; align-items: center; gap: 30px; }
.site-header__nav a.navlink { color: var(--cream-soft); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s ease; }
.site-header__nav a.navlink:hover { color: var(--cream); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vh, 92px) 0 clamp(56px, 9vh, 104px); }
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 6.1fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 76px); align-items: center;
}
.hero__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 24px; display: inline-flex; align-items: center; gap: 10px;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--amber); opacity: .6; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5.6vw, 68px); line-height: 1.06; letter-spacing: -.01em;
  color: var(--cream);
}
.hero__title em { color: var(--amber); }
.hero__lead {
  font-size: clamp(17px, 1.5vw, 19px); color: var(--cream-soft);
  max-width: 46ch; margin: 26px 0 36px; line-height: 1.65;
}
.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__note { font-size: 14px; color: var(--cream-soft); line-height: 1.5; }

.hero__trust { display: flex; gap: 30px; margin-top: 46px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item b { font-family: var(--font-display); font-size: 22px; color: var(--amber); font-weight: 400; line-height: 1; }
.trust-item span { font-size: 13.5px; color: var(--cream-soft); }

/* ----- Мокап чата ----- */
.hero__chat { position: relative; justify-self: end; width: 100%; max-width: 360px; }
.hero__chat-glow {
  position: absolute; inset: -70px -50px -50px;
  background: radial-gradient(closest-side, rgba(227,168,98,.42), transparent 72%);
  filter: blur(8px); pointer-events: none;
}
.chat {
  position: relative; background: #fffdf9; border-radius: 30px;
  padding: 24px 20px 20px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.62), 0 8px 24px rgba(0,0,0,.25);
  transform: rotate(-1.6deg);
  display: flex; flex-direction: column; gap: 11px; color: var(--ink);
}
.chat__time { text-align: center; font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); opacity: .65; margin-bottom: 2px; }
.chat__bubble {
  max-width: 87%; padding: 11px 15px; font-size: 14.5px; line-height: 1.46; border-radius: 18px;
  opacity: 0; animation: bubble-in .55s cubic-bezier(.25,.9,.35,1.2) forwards;
  animation-delay: calc(.7s + var(--cd) * .85s);
}
.chat__bubble--user { align-self: flex-end; background: #efe4d4; border-bottom-right-radius: 6px; }
.chat__bubble--olesya { align-self: flex-start; background: #fff; border: 1px solid rgba(43,33,27,.06); border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(43,33,27,.05); }
.chat__name { display: block; font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 3px; }
.chat__typing {
  align-self: flex-start; display: flex; gap: 5px; padding: 13px 17px;
  background: #fff; border: 1px solid rgba(43,33,27,.06); border-radius: 18px; border-bottom-left-radius: 6px;
  opacity: 0; animation: bubble-in .5s ease forwards; animation-delay: calc(.7s + var(--cd) * .85s);
}
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: typing 1.2s ease-in-out infinite; }
.chat__typing span:nth-child(2) { animation-delay: .18s; }
.chat__typing span:nth-child(3) { animation-delay: .36s; }

@keyframes bubble-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ============ Секции ============ */
.section { padding: clamp(64px, 10vh, 116px) 0; position: relative; }
.section--tinted { background: var(--paper-deep); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }

.section__eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
}
.section__eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); opacity: .55; }
.dark .section__eyebrow { color: var(--amber); }
.dark .section__eyebrow::before { background: var(--amber); }

.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.14; letter-spacing: -.005em;
  margin-bottom: clamp(34px, 5vh, 56px); max-width: 22ch;
}
.dark .section__title { color: var(--cream); }
.section__title em { color: var(--accent); }
.dark .section__title em { color: var(--amber); }

.section__cta { margin-top: clamp(38px, 5vh, 54px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ----- Карточки сценариев ----- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 20px; }
.card {
  position: relative; background: #fffdf8; border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 30px 26px 28px;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(43,33,27,.28); border-color: rgba(180,80,43,.3); }
.card__marker { display: inline-block; font-family: var(--font-italic); font-style: italic; font-size: 17px; color: var(--accent); margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; letter-spacing: -.01em; }
.card p { font-size: 15px; color: var(--ink-soft); }

/* ----- Шаги (на тёмном) ----- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(24px, 3.5vw, 44px); }
.step { position: relative; padding-top: 6px; }
.step__num {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 50%; background: rgba(227,168,98,.1); border: 1.5px solid var(--amber);
  color: var(--amber); font-family: var(--font-display); font-size: 26px; margin-bottom: 20px;
}
.step h3 { font-size: 20px; margin-bottom: 9px; color: var(--cream); letter-spacing: -.01em; }
.step p { font-size: 15px; color: var(--cream-soft); }
.step__line { position: absolute; top: 34px; left: 56px; right: -22px; height: 1px; background: linear-gradient(90deg, rgba(227,168,98,.4), rgba(227,168,98,0)); }

/* ----- Приватность ----- */
.privacy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 68px); align-items: start; }
.privacy__text .section__title { margin-bottom: 16px; }
.privacy__lead { color: var(--ink-soft); }
.privacy__seal { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--line-light); border-radius: 14px; background: #fffdf8; }
.privacy__seal svg { flex: none; color: var(--sage); }
.privacy__seal span { font-size: 14px; color: var(--ink-soft); }
.privacy__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.privacy__list li {
  position: relative; padding: 20px 22px 20px 56px; background: #fffdf8;
  border: 1px solid var(--line-light); border-radius: 16px;
}
.privacy__list li::before {
  content: ""; position: absolute; left: 22px; top: 24px; width: 16px; height: 16px;
  border-radius: 5px; background: var(--sage); opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.privacy__list strong { display: block; font-size: 16.5px; margin-bottom: 3px; }
.privacy__list span { color: var(--ink-soft); font-size: 14.5px; }

/* ----- Тарифы ----- */
.pricing__sub, .section__lead { color: var(--ink-soft); margin-top: -32px; margin-bottom: 48px; max-width: 56ch; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: #fffdf8; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 34px 30px; text-align: left; transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(43,33,27,.24); }
.plan--featured { background: linear-gradient(168deg, #2b1f1a, #211915); border: 1px solid rgba(227,168,98,.5); box-shadow: 0 28px 56px -24px rgba(0,0,0,.4); }
.plan--featured .plan__name { color: var(--amber); }
.plan--featured .plan__price { color: var(--cream); }
.plan--featured .plan__per { color: var(--cream-soft); }
.plan--featured .plan__desc { color: var(--cream-soft); }
.plan__badge {
  position: absolute; top: -13px; left: 30px; background: var(--amber); color: #271c16;
  font-size: 12px; font-weight: 700; letter-spacing: .03em; padding: 5px 15px; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 16px; }
.plan__price { font-family: var(--font-display); font-size: 44px; font-weight: 400; line-height: 1; }
.plan__price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.plan__price-old { font-size: 19px; color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.plan__price-off { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--accent); padding: 3px 9px; border-radius: 999px; transform: translateY(-3px); }
.plan--featured .plan__price-old { color: var(--cream-soft); text-decoration-color: var(--amber); }
.plan--featured .plan__price-off { background: var(--amber); color: #271c16; }
.plan__per { font-size: 14px; color: var(--sage); font-weight: 600; margin-bottom: 16px; }
.plan__desc { font-size: 15px; color: var(--ink-soft); margin-top: auto; }
.plans__note { margin-top: 30px; font-size: 14px; color: var(--ink-soft); max-width: 62ch; }

/* ----- FAQ ----- */
.faq { border-bottom: 1px solid var(--line-light); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 24px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 26px; color: var(--accent); flex-shrink: 0; transition: transform .3s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq p { padding: 0 0 26px; color: var(--ink-soft); max-width: 64ch; }
.faq a { color: var(--accent); }

/* ----- About ----- */
.about__text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 16.5px; }
.about__text p:last-child { margin-bottom: 0; }

/* ----- Финальный CTA (тёмный) ----- */
.section--final { text-align: center; overflow: hidden; }
.final__promise { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.section--final .container { position: relative; z-index: 2; }
.final__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin-bottom: 38px; color: var(--cream); }
.final__title em { color: var(--amber); }
.section--final .section__cta { align-items: center; margin-top: 0; }
.section--final .hero__note { color: var(--cream-soft); text-align: center; }

/* ----- Футер ----- */
.footer { background: #16100d; color: rgba(247,238,226,.72); padding: 56px 0 44px; font-size: 14px; }
.footer__top { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; font-weight: 700; font-size: 17px; color: var(--cream); }
.footer__disclaimer { max-width: 74ch; margin-bottom: 30px; line-height: 1.7; }
.footer__disclaimer a { color: var(--amber); }
.footer__links { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 22px; }
.footer__links a { color: rgba(247,238,226,.9); text-decoration: none; border-bottom: 1px solid rgba(247,238,226,.28); padding-bottom: 1px; transition: border-color .2s ease, color .2s ease; }
.footer__links a:hover { color: #fff; border-color: #fff; }
.footer__copy { opacity: .5; }

/* ============ Анимации появления ============ */
.reveal-load { opacity: 0; transform: translateY(18px); animation: rise .75s cubic-bezier(.25,.9,.35,1) forwards; animation-delay: calc(var(--d, 0) * .12s); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.25,.9,.35,1); transition-delay: calc(var(--d, 0) * .1s); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js.no-observer .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-load, .chat__bubble, .chat__typing { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ Адаптив ============ */
@media (max-width: 980px) {
  .hero__inner { gap: clamp(28px, 5vw, 48px); }
}

/* ----- планшет: hero в одну колонку, чат под текстом ----- */
@media (max-width: 900px) {
  .hero { padding-top: clamp(40px, 6vh, 64px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__lead { max-width: 56ch; }
  .hero__chat { max-width: 380px; justify-self: center; margin-top: 18px; }
  .chat { transform: rotate(-0.8deg); }
  .privacy { grid-template-columns: 1fr; gap: 32px; }
  .step__line { display: none; }
  .step { padding-top: 0; }
  .steps { gap: 30px; }
  .pricing__sub, .section__lead { margin-top: -24px; }
}

/* ----- скрываем навигацию, оставляем бренд + кнопку ----- */
@media (max-width: 680px) {
  .site-header__nav .navlink { display: none; }
  .site-header__inner { height: 60px; }
  .site-header .btn--amber { padding: 11px 18px; font-size: 14.5px; }
  .brand { font-size: 16.5px; }
  .brand__mark { width: 31px; height: 31px; font-size: 20px; }
}

/* ----- телефон ----- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: clamp(52px, 8vh, 72px) 0; }

  /* кнопки-CTA во всю ширину — НО не в шапке */
  .hero__cta .btn, .section__cta .btn { width: 100%; justify-content: center; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__note { text-align: center; }
  .section__cta { align-items: stretch; }

  .hero__title { font-size: 38px; line-height: 1.08; }
  .section__title { font-size: 29px; max-width: none; }
  .final__title { font-size: 32px; }

  .hero__trust { gap: 18px 26px; margin-top: 38px; }
  .hero__chat { max-width: 100%; }

  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan { text-align: left; }
  .plan__badge { left: 28px; transform: none; }
  .plan--featured { margin-top: 6px; }

  .privacy__list li { padding: 18px 18px 18px 50px; }
  .privacy__list li::before { left: 18px; }
  .faq summary { font-size: 17px; padding: 20px 0; }
}

/* ----- узкие телефоны ----- */
@media (max-width: 380px) {
  .hero__title { font-size: 33px; }
  .final__title { font-size: 28px; }
  .site-header .btn--amber { padding: 10px 14px; font-size: 13.5px; }
  .brand { font-size: 15.5px; gap: 9px; }
}

/* ============ Подсказка «Telegram не открывается?» ============ */
.tg-help-link {
  background: none; border: 0; padding: 0; margin-top: 6px;
  font: inherit; font-size: 13.5px; color: var(--cream-soft);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.tg-help-link:hover { color: var(--cream); }

.tg-help {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 22px; background: rgba(33, 25, 21, 0.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.tg-help[hidden] { display: none; }
.tg-help__dialog {
  position: relative; width: 100%; max-width: 440px;
  background: var(--paper); border-radius: var(--radius);
  padding: 34px 28px 28px; text-align: center;
  box-shadow: 0 30px 80px -20px rgba(33, 25, 21, 0.55);
}
.tg-help__close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: 0; font-size: 28px; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
}
.tg-help__close:hover { color: var(--ink); }
.tg-help__title { font-family: var(--font-display); font-size: 25px; margin-bottom: 8px; }
.tg-help__lead { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }
.tg-help__actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.tg-help__actions .btn { justify-content: center; }
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-light);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.tg-help__tips {
  list-style: none; text-align: left;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 14.5px; line-height: 1.5; color: var(--ink-soft);
}
.tg-help__tips strong, .tg-help__tips b { color: var(--ink); }
.tg-help__qr {
  display: block; margin: 12px auto 0; width: 124px; height: 124px;
  border-radius: 10px; box-shadow: 0 0 0 1px var(--line-light);
}
body.tg-help-open { overflow: hidden; }

/* ============ Статья блога ============ */
.article { padding: clamp(40px, 7vh, 84px) 0 clamp(48px, 8vh, 96px); }
.article__crumbs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 26px; line-height: 1.6; }
.article__crumbs a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-light); }
.article__crumbs a:hover { color: var(--accent); border-color: var(--accent); }
.article__crumbs span { color: var(--ink); }
.article__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 14px;
}
.article__meta { font-size: 14px; color: var(--sage); font-weight: 600; margin-bottom: clamp(28px, 4vh, 44px); }
.article__body > p { font-size: 17.5px; line-height: 1.8; color: var(--ink); margin-bottom: 20px; }
.article__body > p:first-of-type { font-size: 19px; }
.article__body h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -.005em;
  margin: clamp(34px, 5vh, 52px) 0 14px;
}
.article__body ul { margin: 0 0 20px; padding-left: 24px; }
.article__body li { font-size: 17.5px; line-height: 1.75; color: var(--ink); margin-bottom: 8px; }
.article__body a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:not(.btn):hover { color: var(--accent-deep); }
.article__note {
  margin: clamp(30px, 4vh, 44px) 0; padding: 20px 24px;
  background: var(--paper-deep); border-left: 3px solid var(--amber); border-radius: 12px;
  font-size: 16px; color: var(--ink-soft); line-height: 1.7;
}
.article__art { display: block; width: 100%; height: auto; margin: clamp(26px, 4.5vh, 44px) 0; filter: drop-shadow(0 16px 36px rgba(43, 33, 27, .16)); }
.article__art--cover { margin-top: clamp(6px, 1.5vh, 16px); }
.article .section__cta { margin-top: clamp(34px, 5vh, 48px); }

/* ссылка-заголовок карточки в блоке «Блог» */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card__more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.card__more:hover { color: var(--accent-deep); }

@media (max-width: 560px) {
  .article__body > p, .article__body li { font-size: 16.5px; }
  .article__body > p:first-of-type { font-size: 17.5px; }
}
