/* ===========================================================
   НачниБот — главная (v2)
   Палитра: глубокий изумруд + пыльная роза + мауве + лаванда
   на тёплом розовато-сером фоне. Без засечек.
   Шрифты: Bricolage Grotesque (заголовки) + Manrope (текст)
   — оба OFL, свободны для коммерческого использования.
   =========================================================== */

:root {
  /* surfaces */
  --bg:          #f1eaee;   /* warm pink-grey off-white */
  --bg-2:        #e7dde4;   /* deeper mauve-grey */
  --card:        #fbf7f9;
  /* primary brand = петроль #226D7C (регулируется через Tweaks) */
  --emerald:     #226D7C;
  --emerald-2:   #2c8093;
  --emerald-deep:#154a55;
  --emerald-ink: #0c2e35;
  --emerald-soft:#d3e4e8;

  /* accents */
  --mauve:       #7a5d90;
  --mauve-deep:  #4c3962;
  --mauve-soft:  #e0d4e8;
  --rose:        #d3849c;
  --rose-2:      #c56e89;
  --rose-soft:   #f1d6dd;
  --lavender:    #c7bbd6;

  /* text */
  --ink:         #2a2431;
  --ink-soft:    #695f72;
  --on-dark:     #f4edf0;
  --on-dark-soft: rgba(244, 237, 240, 0.66);
  --on-emerald-soft: rgba(244, 237, 240, 0.72);

  --line:        rgba(42, 36, 49, 0.14);
  --line-dark:   rgba(244, 237, 240, 0.18);

  /* layout — tighter than v1 */
  --maxw:        1280px;
  --pad-x:       clamp(20px, 5vw, 72px);
  --sec-y:       clamp(40px, 4.6vw, 74px);
  --radius:      18px;
  --radius-lg:   28px;

  /* type */
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --sans:    "Manrope", system-ui, -apple-system, sans-serif;
  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----------------------- reset ----------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; cursor: pointer; }

/* ----------------------- typography ----------------------- */
h1 {
  font-family: var(--display);
  font-size: clamp(2.7rem, 6.2vw, 5.1rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.032em;
}
h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.028em;
}
h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px; border-radius: 2px;
  background: currentColor;
}
.eyebrow.rose { color: var(--rose-2); }
.eyebrow.mauve { color: var(--mauve); }
.on-dark .eyebrow, .eyebrow.on { color: var(--rose-soft); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.on-dark .lead { color: var(--on-dark-soft); }

/* ----------------------- layout ----------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
section { position: relative; padding-block: var(--sec-y); }

.on-dark { color: var(--on-dark); }
.bg-emerald { background: var(--emerald); color: var(--on-dark); }
.bg-emerald-deep { background: var(--emerald-deep); color: var(--on-dark); }
.bg-2 { background: var(--bg-2); }
.bg-mauve-deep { background: var(--mauve-deep); color: var(--on-dark); }

/* ----------------------- buttons ----------------------- */
.btn {
  --bg: var(--emerald);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border: none;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 12px 28px -14px rgba(14, 74, 64, 0.7);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 160% at 0% 0%, rgba(255,255,255,0.24), transparent 55%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -16px rgba(14, 74, 64, 0.75); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn.rose { --bg: var(--rose-2); box-shadow: 0 12px 28px -14px rgba(197, 110, 137, 0.75); }
.btn.light { --bg: #fff; --fg: var(--emerald-deep); }
.btn.outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn.outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }

/* ----------------------- header ----------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  padding: 16px var(--pad-x);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(241, 234, 238, 0.85);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 11px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--emerald-ink); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--emerald);
  position: relative; flex: none; box-shadow: 0 4px 12px -4px rgba(14,74,64,.5);
}
.brand .mark::before {
  content: "Н"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 19px; font-family: var(--sans);
}
.header-cta { margin-left: auto; }
.header-cta .btn { padding: 11px 20px; font-size: 0.9rem; box-shadow: none; }

/* ===========================================================
   БЛОК 1 — HERO  (асимметрия: текст слева, коллаж справа)
   =========================================================== */
.hero {
  position: relative;
  padding-top: clamp(100px, 11vh, 128px);
  padding-bottom: clamp(36px, 4vw, 60px);
  overflow: hidden;
}
.hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.7rem); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; will-change: transform; mix-blend-mode: multiply; }
.blob.b1 { width: 42vw; height: 42vw; left: -10vw; top: -8vw; background: radial-gradient(circle at 40% 40%, #7fb6a6, transparent 70%); animation: drift1 26s var(--ease) infinite alternate; }
.blob.b2 { width: 38vw; height: 38vw; right: 6vw; top: -4vw; background: radial-gradient(circle at 50% 50%, #e3b0c0, transparent 70%); animation: drift2 30s var(--ease) infinite alternate; }
.blob.b3 { width: 30vw; height: 30vw; left: 26vw; bottom: -14vw; background: radial-gradient(circle at 50% 50%, #c7bbd6, transparent 70%); opacity: .45; animation: drift3 28s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(7vw, 6vw) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-6vw, 5vw) scale(1.08); } }
@keyframes drift3 { to { transform: translate(-5vw, -8vw) scale(1.16); } }

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px; border-radius: 100px;
  background: var(--card); box-shadow: 0 2px 10px -6px rgba(42,36,49,.3);
  font-size: .82rem; font-weight: 700; color: var(--emerald-deep);
  margin-bottom: 26px;
}
.hero-tag .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--rose-2); box-shadow: 0 0 0 0 rgba(197,110,137,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(197,110,137,.55);} 70%{box-shadow:0 0 0 9px rgba(197,110,137,0);} 100%{box-shadow:0 0 0 0 rgba(197,110,137,0);} }

.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--emerald); }
.hero h1 .accent-rose { color: var(--rose-2); }
.hero .lead { max-width: 540px; margin-bottom: 30px; color: var(--ink); }
.hero .lead b { font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.micro { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .92rem; color: var(--ink-soft); font-weight: 600; flex-wrap: wrap; }
.micro .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rose-2); }

/* hero collage */
.hero-collage { position: relative; margin-right: calc(-1 * var(--pad-x)); }

/* browser/app mockup frame */
.mockup {
  position: relative;
  border-radius: 18px;
  background: #fbf7f9;
  box-shadow: 0 40px 90px -36px rgba(42,36,49,.5), 0 0 0 1px rgba(42,36,49,.06);
  overflow: hidden;
  transform: rotate(-1.4deg);
  transition: transform .5s var(--ease);
}
.mockup:hover { transform: rotate(0deg) translateY(-4px); }
.mockup .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #efe7eb;
  border-bottom: 1px solid rgba(42,36,49,.07);
}
.mockup .bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup .bar .dot.r { background: #e3879b; }
.mockup .bar .dot.y { background: #e7c886; }
.mockup .bar .dot.g { background: #7bbf9e; }
.mockup .bar .url {
  margin-left: 10px; flex: 1; height: 22px; border-radius: 7px;
  background: #fbf7f9; display: flex; align-items: center; padding: 0 12px;
  font-size: 12px; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em;
}
.mockup img { width: 100%; height: auto; display: block; }
.mockup .glare { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 40%); }
.mockup.mockup-sm { transform: none; margin-bottom: 22px; }
.mockup.mockup-sm:hover { transform: translateY(-3px); }
.mockup.mockup-sm .bar { padding: 9px 12px; }
.mockup.mockup-sm .bar .dot { width: 9px; height: 9px; }
.mockup.mockup-sm .url { height: 18px; font-size: 11px; }
.hero-collage .slot-main {
  position: absolute; inset: 6% 0 0 8%; width: 88%; height: 84%;
  box-shadow: 0 40px 80px -40px rgba(42,36,49,.5);
}
.hero-collage .slot-chip {
  position: absolute; left: -6%; bottom: 6%; width: 44%; height: 36%;
  transform: rotate(-5deg);
  box-shadow: 0 30px 60px -30px rgba(42,36,49,.5);
  border: 6px solid var(--card);
}
.hero-collage .float-badge {
  position: absolute; right: -2%; top: 4%;
  background: var(--mauve); color: #fff;
  padding: 14px 18px; border-radius: 16px;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.1;
  box-shadow: 0 20px 40px -20px rgba(76,57,98,.7);
  transform: rotate(4deg);
  max-width: 200px;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: rotate(4deg) translateY(0);} 50%{ transform: rotate(4deg) translateY(-10px);} }

/* scroll hook */
.hook { display: inline-flex; align-items: center; gap: 9px; margin-top: 38px; font-weight: 700; color: var(--emerald); font-size: .94rem; transition: gap .3s var(--ease); }
.hook:hover { gap: 15px; }
.hook .chev { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(5px);} }

/* shared section heading row (left aligned, full width) */
.sec-head { max-width: 760px; margin-bottom: clamp(34px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head h2 { margin-top: 0; }

/* transition line between blocks */
.transition { display: flex; align-items: center; gap: 18px; max-width: 760px; margin-top: clamp(30px, 4vw, 48px); }
.transition p { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--ink-soft); }
.on-dark .transition p { color: var(--on-dark-soft); }
.transition .down {
  flex: none; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1.5px solid var(--line); color: var(--emerald);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.on-dark .transition .down { border-color: var(--line-dark); color: var(--on-dark); }
.transition .down:hover { transform: translateY(3px); background: var(--emerald); color: #fff; border-color: var(--emerald); }
.transition .down svg { animation: bob 1.8s ease-in-out infinite; }

/* ===========================================================
   БЛОК 2 — УЗНАЙ СЕБЯ  (мозаика разноцветных карточек)
   =========================================================== */
.know-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.know-card {
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px;
  position: relative; overflow: hidden;
}
.know-card .n { font-family: var(--display); font-size: clamp(3rem, 4.6vw, 4.4rem); font-weight: 700; line-height: 1; margin-bottom: 8px; opacity: 1; }
.know-card p { font-size: clamp(1.18rem, 1.85vw, 1.55rem); line-height: 1.32; font-weight: 600; }
.know-card b { font-weight: 800; }
.know-card.c1 { grid-column: span 7; background: var(--emerald); color: var(--on-dark); }
.know-card.c2 { grid-column: span 5; background: var(--rose-soft); color: var(--ink); }
.know-card.c3 { grid-column: span 5; background: var(--mauve); color: var(--on-dark); }
.know-card.c4 { grid-column: span 7; background: var(--emerald-deep); color: var(--on-dark); }
.know-card.c1 .n, .know-card.c3 .n, .know-card.c4 .n { color: rgba(255,255,255,.5); }
.know-card.c2 .n { color: var(--rose-2); opacity: .65; }
/* section patterns */
#know { background-image: radial-gradient(rgba(34,109,124,.16) 1.7px, transparent 1.8px); background-size: 26px 26px; }
#roots { background-image: linear-gradient(rgba(122,93,144,.085) 1px, transparent 1px), linear-gradient(90deg, rgba(122,93,144,.085) 1px, transparent 1px); background-size: 34px 34px; }

/* ===========================================================
   БЛОК 3 — ОБЕЩАНИЕ  (изумрудный bleed, текст + коллаж)
   =========================================================== */
.promise-grid {
  display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.promise-grid .slot-promise { aspect-ratio: 4/3.4; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.promise-text h2 { margin-bottom: 22px; max-width: 14ch; }
.promise-text .lead { margin-bottom: 30px; max-width: 48ch; }

/* ===========================================================
   БЛОК 4 — ЧЕМ НЕ ЯВЛЯЕТСЯ  (компактная мауве-полоса)
   =========================================================== */
.honest {
  background: var(--mauve-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
}
.honest .badge { width: 56px; height: 56px; flex: none; border-radius: 15px; background: var(--mauve); color: #fff; display: grid; place-items: center; }
.honest .eyebrow { margin-bottom: 12px; }
.honest p { font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.5; color: var(--ink); }

/* ===========================================================
   БЛОК 5 — СИЛА ВОЛИ  (текст + сравнение симптом/причина)
   =========================================================== */
.why-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.why-text p { font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.62; margin-bottom: 20px; }
.why-text p:last-child { margin-bottom: 0; }
.why-text b { font-weight: 800; color: var(--emerald-deep); }
.why-text .pull {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.2; letter-spacing: -0.02em;
  color: var(--emerald); margin: 28px 0 0; padding-left: 22px; border-left: 3px solid var(--rose);
}
.compare { display: grid; gap: 14px; position: sticky; top: 90px; }
.compare .cell { border-radius: var(--radius); padding: 26px; }
.compare .cell .tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.compare .cell h4 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin: 0 0 8px; }
.compare .cell p { font-size: 1rem; line-height: 1.45; }
.compare .bad { background: var(--rose-soft); color: var(--ink); }
.compare .bad .tag { color: var(--rose-2); }
.compare .good { background: var(--emerald); color: var(--on-dark); }
.compare .good .tag { color: var(--rose-soft); }
.compare .arrow-link { display: grid; place-items: center; color: var(--mauve); }

/* three "levers" that don't work + microstep */
.levers { display: grid; gap: 12px; }
.lever {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
.lever .lhead { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.lever .lname { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink-soft); }
.lever .lname s { text-decoration-color: var(--rose-2); text-decoration-thickness: 2.5px; text-underline-offset: 2px; }
.lever .nope { margin-left: auto; flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-2); background: var(--rose-soft); padding: 5px 10px; border-radius: 100px; white-space: nowrap; }
.lever p { font-size: .98rem; line-height: 1.45; color: var(--ink-soft); margin: 0; }
.microstep {
  margin-top: clamp(22px, 3vw, 34px);
  background: var(--emerald); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
}
.microstep .mbadge { flex: none; width: 58px; height: 58px; border-radius: 16px; background: var(--rose-2); color: #fff; display: grid; place-items: center; }
.microstep h3 { color: #fff; margin-bottom: 8px; }
.microstep p { color: var(--on-dark-soft); font-size: 1.05rem; line-height: 1.5; max-width: 64ch; }
.microstep b { color: var(--rose-soft); font-weight: 700; }

/* ===========================================================
   БЛОК 6 — КОРНИ В ДЕТСТВЕ  (коллаж слева в край, текст справа)
   =========================================================== */
.roots-grid { display: grid; grid-template-columns: 0.92fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.roots-collage { position: relative; aspect-ratio: 4.4/4; }
.roots-collage .slot-a { position: absolute; inset: 0; box-shadow: 0 36px 70px -36px rgba(42,36,49,.5); }
.roots-collage .slot-b { position: absolute; right: 0; bottom: 0; width: 46%; height: 46%; transform: rotate(4deg); border: 6px solid var(--bg); box-shadow: 0 26px 50px -26px rgba(42,36,49,.5); }
.roots-text p { font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.6; margin-bottom: 20px; }
.roots-text p:last-child { margin-bottom: 0; }
.roots-text b { font-weight: 800; color: var(--mauve-deep); }

/* ===========================================================
   БЛОК 7 — КАК РАБОТАЕТ  (горизонтальный таймлайн на изумруде)
   =========================================================== */
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 8px; }
.step {
  position: relative; padding-top: 30px;
  border-top: 2px solid var(--line-dark);
}
.step .num {
  position: absolute; top: -19px; left: 0;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--rose-2); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  display: grid; place-items: center;
}
.step p { font-size: 1.02rem; line-height: 1.4; color: var(--on-dark); }
.session-note { display: flex; flex-wrap: wrap; gap: 16px 34px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-dark); color: var(--on-dark-soft); font-weight: 600; font-size: .98rem; }
.session-note span { display: inline-flex; align-items: center; gap: 9px; }
.session-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rose-soft); }
.how-cta { margin-top: 36px; }

/* ===========================================================
   БЛОК 8 — FAQ  (липкий заголовок слева, аккордеон справа)
   =========================================================== */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.faq-aside { position: sticky; top: 96px; }
.faq-aside .eyebrow { margin-bottom: 16px; }
.faq-aside h2 { margin-bottom: 22px; }
.faq-aside .slot-faq { aspect-ratio: 4/3.2; margin-bottom: 22px; }
.faq-list { }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; align-items: center; gap: 18px; padding: 24px 0;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--emerald-deep); line-height: 1.25; letter-spacing: -0.02em;
}
.faq-q .q-icon { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--emerald); transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease); }
.faq-q[aria-expanded="true"] .q-icon { transform: rotate(45deg); background: var(--emerald); color: #fff; border-color: var(--emerald); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.faq-a-inner { padding: 0 40px 26px 0; color: var(--ink-soft); font-size: 1.06rem; line-height: 1.6; }

/* ===========================================================
   БЛОК 9 — СТОИМОСТЬ  (асимметричные карточки + донат)
   =========================================================== */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { background: var(--card); border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); border: 1px solid var(--line); }
.price-card.feature { background: var(--emerald); color: var(--on-dark); border-color: transparent; }
.price-card:hover { transform: translateY(-5px); box-shadow: 0 28px 54px -28px rgba(42,36,49,.4); }
.price-card .tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; margin-bottom: 22px; }
.price-card .tag.t-em { color: var(--emerald); background: rgba(24,103,90,.12); }
.price-card.feature .tag { color: var(--emerald-deep); background: var(--rose-soft); }
.price-card h3 { margin-bottom: 8px; }
.price-card .sub { font-size: .98rem; margin-bottom: 26px; flex: 1; color: var(--ink-soft); }
.price-card.feature .sub { color: var(--on-dark-soft); }
.price-card .amount { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 2.9rem); line-height: 1; letter-spacing: -0.02em; }
.price-card .amount small { font-family: var(--sans); font-size: .95rem; font-weight: 600; opacity: .7; }

.donate {
  margin-top: 18px; background: var(--mauve-deep); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 46px);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.donate .heart { font-size: 2rem; line-height: 1; }
.donate h3 { margin-bottom: 12px; color: #fff; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.donate p { color: var(--on-dark-soft); font-size: 1.02rem; line-height: 1.5; max-width: 60ch; }

/* ===========================================================
   БЛОК 11 — ФИНАЛ  (градиент изумруд→мауве, коллаж)
   =========================================================== */
.final { background: linear-gradient(120deg, var(--emerald-deep) 0%, var(--emerald) 42%, var(--mauve) 120%); color: var(--on-dark); overflow: hidden; position: relative; }
.final-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(30px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.final h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 24px; max-width: 16ch; }
.final .lead { margin-bottom: 32px; max-width: 46ch; color: var(--on-dark-soft); }
.final-collage { position: relative; aspect-ratio: 4/4; }
.final-collage .slot-f { position: absolute; inset: 4% 0 0 6%; width: 90%; height: 88%; transform: rotate(3deg); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); border: 8px solid rgba(255,255,255,.1); }

/* ----------------------- footer ----------------------- */
.site-footer { background: var(--emerald-ink); color: var(--on-dark-soft); padding-block: clamp(46px, 6vw, 72px); }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; padding-bottom: 34px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: #fff; }
.footer-brand .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--emerald-2); position: relative; }
.footer-brand .mark::before { content: "Н"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--on-dark-soft); font-weight: 600; transition: color .25s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; padding-top: 24px; font-size: .9rem; }

/* ----------------------- cookie banner ----------------------- */
.cookie { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 130%); z-index: 200; width: min(680px, calc(100vw - 32px)); background: var(--emerald-ink); color: var(--on-dark); border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 18px; box-shadow: 0 24px 60px -22px rgba(0,0,0,.5); transition: transform .6s var(--ease); }
.cookie.show { transform: translate(-50%, 0); }
.cookie p { font-size: .94rem; line-height: 1.5; color: var(--on-dark-soft); }
.cookie p a { color: var(--rose-soft); text-decoration: underline; text-underline-offset: 3px; }
.cookie .btn { flex: none; padding: 11px 22px; font-size: .9rem; box-shadow: none; }

/* faq illustration + decorative section accents */
.faq-illus { border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; box-shadow: 0 22px 44px -26px rgba(42,36,49,.4); }
.faq-illus img { width: 100%; height: auto; display: block; }
.deco { position: absolute; z-index: 0; pointer-events: none; }
.deco img { width: 100%; height: auto; display: block; }
.deco-know { right: -6%; top: 50%; transform: translateY(-50%); width: clamp(460px, 54vw, 860px); opacity: .5; }
#know > .wrap, #how > .wrap { position: relative; z-index: 1; }
@media (max-width: 820px) { .deco { display: none; } }

/* ----------------------- tinted collage photos ----------------------- */
/* Duotone: photo is grayscaled, multiplied onto a light brand tint (maps the
   highlights) and screened with a dark brand colour (maps the shadows) — so
   every stock shot becomes a vivid two-colour collage piece in the palette. */
.ph { position: relative; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
/* feathered edge — photo melts into the background instead of a hard frame */
.ph.feather { border-radius: 0; box-shadow: none !important; border: none !important; -webkit-mask-image: radial-gradient(120% 120% at 50% 45%, #000 52%, transparent 82%); mask-image: radial-gradient(120% 120% at 50% 45%, #000 52%, transparent 82%); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.05) brightness(1.02); mix-blend-mode: lighten; }
.ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; }
.ph.t-em    { background: #1f7d6c; } .ph.t-em::after    { background: #f4dbe2; }
.ph.t-mauve { background: #6b4f82; } .ph.t-mauve::after { background: #efdcea; }
.ph.t-rose  { background: #bd6e8a; } .ph.t-rose::after  { background: #f8e7ed; }
.ph.t-soft  { background: #18675a; } .ph.t-soft::after  { background: #e9efea; }

/* ----------------------- image-slot styling ----------------------- */
image-slot {
  display: block; border-radius: var(--radius); overflow: hidden;
}
/* Tint the empty drop-zones so they read as intentional image areas
   (the component's frame is exposed as a ::part). */
image-slot::part(frame) {
  background: linear-gradient(135deg, var(--emerald-soft) 0%, var(--mauve-soft) 60%, var(--rose-soft) 100%);
}
#hero-brain::part(frame) { background: linear-gradient(140deg, var(--mauve-soft) 0%, var(--rose-soft) 55%, var(--emerald-soft) 110%); }
#hero-chip::part(frame) { background: linear-gradient(135deg, var(--lavender), var(--emerald-soft)); }
#roots-b::part(frame), #hero-chip::part(frame) { background: var(--lavender); }
.bg-emerald image-slot::part(frame),
.final image-slot::part(frame) { background: rgba(255,255,255,0.14); }

/* ----------------------- reveal ----------------------- */
.reveal { opacity: 1; transform: none; }
.reveal-armed .reveal { opacity: 0; }
.reveal-armed .reveal.in { animation: reveal-in .75s var(--ease) both; }
.reveal-armed .reveal.in.d1 { animation-delay: .08s; }
.reveal-armed .reveal.in.d2 { animation-delay: .16s; }
.reveal-armed .reveal.in.d3 { animation-delay: .24s; }
.reveal-armed .reveal.in.d4 { animation-delay: .32s; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-armed .reveal { opacity: 1; }
  .reveal-armed .reveal.in { animation: none; }
  .blob, .hero-tag .pulse, .float-badge, .hook .chev, .transition .down svg { animation: none !important; }
}

/* ----------------------- responsive ----------------------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 480px; margin-right: 0; }
  .promise-grid, .why-grid, .roots-grid, .faq-grid, .final-grid { grid-template-columns: 1fr; }
  .roots-collage { order: -1; }
  .compare { position: static; }
  .faq-aside { position: static; }
  .faq-aside .slot-faq { max-width: 360px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .price-grid { grid-template-columns: 1fr; }
  .donate { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .header-cta { display: none; }
  .know-grid { grid-template-columns: 1fr; }
  .know-card { grid-column: 1 / -1 !important; min-height: 150px; }
  .honest { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-top { flex-direction: column; }
}
