:root {
  --paper: #EEE8DC;
  --paper-2: #E5DDCD;
  --ink: #1A1712;
  --ink-2: #2A261F;
  --muted: #6B6457;
  --line: rgba(26, 23, 18, .14);
  --accent: #D9452B;
  --accent-soft: #F2CDBE;
  --wa: #1FAF5A;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Golos Text", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px; /* было 17: аудитория 30-40+ */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: rgba(238, 232, 220, .78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topbar.is-scrolled { border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo span { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1; display: flex; flex-direction: column; }
.logo small { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 24px -14px rgba(26,23,18,.7);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); transition: transform .35s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn__meta { font-family: var(--mono); font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; background: rgba(238,232,220,.14); }
.btn--small { padding: 12px 18px; font-size: 14px; }
.btn--wa { --bg: var(--wa); --fg: #fff; font-size: 18px; padding: 22px 30px; }
.btn--wa::before { background: #178a47; }
.btn--wa svg { width: 24px; height: 24px; }

.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 16px 22px; border-radius: 999px; font: 500 15px/1 var(--body); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(26,23,18,.05); border-color: rgba(26,23,18,.3); }

.link-arrow { font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--accent-soft); }

/* ---------- Rail ---------- */
.rail {
  position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 6px;
}
.rail a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--mono); font-size: 11px; color: var(--muted); padding: 6px 0; }
.rail a span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: all .3s var(--ease); background: var(--paper); }
.rail a em { font-style: normal; text-transform: uppercase; letter-spacing: .08em; opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); background: var(--paper); padding: 2px 6px; border-radius: 4px; }
.rail:hover a em, .rail a.is-active em { opacity: 1; transform: none; }
.rail a.is-active span { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.rail.on-dark a { color: var(--accent-soft); }
.rail.on-dark a em { background: var(--ink); }
.rail.on-dark a span { background: var(--ink); border-color: rgba(238,232,220,.25); }
.rail.on-dark a.is-active span { background: var(--accent); }
@media (max-width: 1180px) { .rail { display: none; } }

main > section { padding-left: var(--pad); padding-right: var(--pad); }
@media (min-width: 1181px) { main > section { padding-left: calc(var(--pad) + 60px); } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; padding-top: 120px; padding-bottom: 60px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center;
}
.hero h1 { font-size: clamp(38px, 5.6vw, 82px); font-weight: 800; margin-bottom: 28px; text-wrap: balance; }
.hero h1 mark { background: none; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--accent); opacity: .25;
  transform-origin: left; animation: underline 1.1s .9s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } }
.lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; color: var(--ink-2); margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-bottom: 52px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.hero__facts li { flex: 1 1 150px; padding: 18px 18px 0 0; font-size: 14px; color: var(--muted); line-height: 1.35; }
.hero__facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__facts b { display: block; font-family: var(--display); font-size: 34px; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: end; }
.reticle { width: 100%; height: 100%; overflow: visible; }
.reticle .r { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .5; }
.reticle .r3 { opacity: .8; }
.reticle .dash { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 14; }
.reticle .dash--b { stroke: var(--ink); stroke-dasharray: 22 10 2 10; opacity: .55; }
.reticle .cross { stroke: var(--ink); stroke-width: 1.5; }
.reticle .core { fill: var(--accent); }
.reticle .dots circle { fill: var(--ink); opacity: .35; }
.reticle .dots .hit { fill: var(--accent); opacity: 1; animation: ping 2.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.reticle .dots .hit:nth-child(11) { animation-delay: .8s; }
.reticle .dots .hit:nth-child(12) { animation-delay: 1.6s; }
@keyframes ping { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.9); } }
.spin { transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.spin--rev { animation-duration: 28s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.tag {
  position: absolute; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--ink);
  animation: float 6s ease-in-out infinite;
}
.tag--ig { top: 8%; left: -2%; }
.tag--fb { top: 46%; right: -6%; background: var(--ink); color: var(--paper); animation-delay: -2s; }
.tag--tt { bottom: 12%; left: 6%; background: var(--accent); border-color: var(--accent); color: var(--paper); animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__note {
  position: absolute; right: 0; bottom: -10px; max-width: 250px; padding: 16px 18px;
  background: var(--ink); color: var(--paper); border-radius: 16px; font-size: 14px; line-height: 1.4;
  transform: rotate(-2deg); box-shadow: 0 20px 40px -20px rgba(26,23,18,.6);
}
.hero__note .mono { color: var(--accent-soft); display: block; margin-bottom: 6px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; min-height: auto; }
  .hero__visual { justify-self: center; max-width: 380px; order: -1; margin-bottom: 10px; }
  .hero__note { right: -4px; bottom: -14px; max-width: 210px; font-size: 13px; }
  .tag--fb { right: -2%; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); margin: 20px -20px 0; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; white-space: nowrap; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pain ---------- */
.pain { padding-top: clamp(90px, 12vw, 160px); padding-bottom: clamp(60px, 8vw, 120px); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.pain__head { position: sticky; top: 110px; }
.pain h2 { font-size: clamp(30px, 3.6vw, 52px); margin-bottom: 22px; text-wrap: balance; }
.pain__list { list-style: none; padding: 0; margin: 0; counter-reset: p; }
.pain__list li { counter-increment: p; position: relative; padding: 34px 0 34px 74px; border-top: 1px solid var(--line); }
.pain__list li:last-child { border-bottom: 1px solid var(--line); }
.pain__list li::before {
  content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 36px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  width: 44px; height: 44px; border-radius: 50%; border: 1px dashed var(--muted); display: grid; place-items: center;
}
.pain__list h3 { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; margin-bottom: 12px; text-decoration: line-through; text-decoration-color: transparent; transition: text-decoration-color .4s; }
.pain__list li:hover h3 { text-decoration-color: var(--accent); }
.pain__list p { color: var(--ink-2); max-width: 560px; }
.why { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); background: var(--accent); padding: 3px 8px; border-radius: 4px; margin-right: 8px; vertical-align: 2px; }
@media (max-width: 900px) {
  .pain { grid-template-columns: 1fr; }
  .pain__head { position: static; }
  .pain__list li { padding-left: 60px; }
}

/* ---------- Method ---------- */
.method { padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(80px, 10vw, 150px); }
.method__head { max-width: 880px; margin-bottom: clamp(40px, 6vw, 80px); }
.method h2 { font-size: clamp(30px, 3.8vw, 56px); text-wrap: balance; }
.steps { list-style: none; padding: 0; margin: 0 0 clamp(60px, 8vw, 110px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { background: var(--paper-2); border-radius: var(--radius); padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 22px; position: relative; transition: transform .35s var(--ease), background .35s; }
.step:nth-child(2) { margin-top: 40px; }
.step:nth-child(3) { margin-top: 80px; }
.step:nth-child(4) { margin-top: 120px; }
.step:nth-child(5) { margin-top: 160px; background: var(--ink); color: var(--paper); }
.step:nth-child(5) p { color: rgba(238,232,220,.78); }
.step:nth-child(5) .step__out { color: var(--accent-soft); border-color: rgba(238,232,220,.2); }
.step.reveal.is-in:hover { transform: translateY(-6px); }
.step__n { font-family: var(--display); font-size: 48px; font-weight: 800; color: var(--accent); line-height: 1; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--ink-2); }
.step .step__out { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(n) { margin-top: 0; }
  .step:nth-child(even) { margin-top: 30px; margin-bottom: -30px; }
  .step:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { margin: 0; }
  .step { flex-direction: row; gap: 18px; }
  .step__n { font-size: 32px; }
}

.bento { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bento > * { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.bento__big { grid-row: span 2; background: var(--accent); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 380px; position: relative; overflow: hidden; }
.bento__big::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; border-radius: 50%; border: 60px solid rgba(238,232,220,.12); }
.bento__big h3 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; }
.bento__big p { max-width: 460px; color: rgba(238,232,220,.86); }
.bento__card { background: transparent; border: 1px solid var(--line); }
.bento__card h4 { font-size: 18px; margin-bottom: 12px; }
.bento__card p { font-size: 16px; color: var(--ink-2); }
.bento__card--accent { grid-column: span 2; background: var(--paper-2); border-color: transparent; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__big { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--accent { grid-column: auto; }
}

/* ---------- Doubts ---------- */
.doubts {
  background: var(--ink); color: var(--paper);
  padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px);
  display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 100px); align-items: start;
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
}
.doubts__head { position: sticky; top: 110px; }
.doubts h2 { font-size: clamp(56px, 9vw, 140px); font-weight: 800; color: var(--accent); margin-bottom: 24px; letter-spacing: -.04em; }
.doubts__head p { color: rgba(238,232,220,.7); max-width: 340px; }
.faq details { border-top: 1px solid rgba(238,232,220,.16); }
.faq details:last-child { border-bottom: 1px solid rgba(238,232,220,.16); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--display); font-size: clamp(18px, 1.9vw, 26px); font-weight: 600; letter-spacing: -.02em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-soft); }
.faq summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(238,232,220,.3); position: relative; transition: transform .35s var(--ease), background .25s, border-color .25s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq details p { padding: 0 60px 30px 0; color: rgba(238,232,220,.78); max-width: 680px; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) {
  .doubts { grid-template-columns: 1fr; }
  .doubts__head { position: static; }
  .faq details p { padding-right: 0; }
}

/* ---------- Brief ---------- */
.brief {
  background: var(--ink); color: var(--paper);
  padding-top: 20px; padding-bottom: clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 6vw, 90px); align-items: start;
  border-radius: 0 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px);
}
.brief__intro { padding-top: clamp(40px, 6vw, 90px); }
.brief .eyebrow { color: var(--accent-soft); }
.brief h2 { font-size: clamp(30px, 3.6vw, 52px); margin-bottom: 22px; text-wrap: balance; }
.brief .muted { color: rgba(238,232,220,.7); margin-bottom: 30px; }
.brief__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.brief__perks li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.brief__perks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%23EEE8DC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.quiz {
  background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) + 6px);
  padding: clamp(22px, 3.4vw, 44px); margin-top: clamp(30px, 5vw, 80px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
  position: relative;
}
.quiz::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border-radius: inherit; border: 1px solid rgba(238,232,220,.2); z-index: -1; }
.quiz__top { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.quiz__count { color: var(--muted); flex: none; }
.quiz__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }

.quiz__body { min-height: 330px; }
.q { animation: qIn .45s var(--ease); }
.q.is-leaving { animation: qOut .2s ease forwards; }
@keyframes qIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes qOut { to { opacity: 0; transform: translateX(-18px); } }
.q__title { font-family: var(--display); font-size: clamp(22px, 2.3vw, 32px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 10px; }
.q__hint { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.q fieldset { border: 0; padding: 0; margin: 0; }
.q legend { padding: 0; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.options--single-col { grid-template-columns: 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 18px;
  border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 500; font-size: 16px; line-height: 1.3;
  transition: border-color .2s, background .2s, transform .15s;
  background: rgba(255,255,255,.25);
}
.opt label::before {
  content: ""; flex: none; width: 20px; height: 20px; border: 1.5px solid rgba(26,23,18,.4); border-radius: 50%;
  transition: all .2s var(--ease);
}
.opt input[type="checkbox"] + label::before { border-radius: 6px; }
.opt label:hover { border-color: rgba(26,23,18,.4); background: rgba(255,255,255,.5); }
.opt label:active { transform: scale(.98); }
.opt input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.opt input:checked + label::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3L14.5 7' fill='none' stroke='%23EEE8DC' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.opt input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 500 18px/1.4 var(--body); color: var(--ink);
  padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: rgba(255,255,255,.4);
  transition: border-color .2s, background .2s; resize: vertical;
}
.field textarea { min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(107,100,87,.7); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: rgba(255,255,255,.7); }
.field.has-error input, .field.has-error textarea { border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { font: 500 13px/1 var(--body); padding: 9px 13px; border-radius: 999px; border: 1px dashed rgba(26,23,18,.3); background: transparent; cursor: pointer; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-style: solid; border-color: var(--ink); background: rgba(255,255,255,.5); }

.error { color: var(--accent); font-size: 14px; font-weight: 500; min-height: 22px; margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.error:not(:empty)::before { content: "!"; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--paper); font: 700 12px/18px var(--mono); text-align: center; flex: none; }

.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.quiz__nav .btn-ghost.is-hidden { visibility: hidden; }
.quiz__nav.is-hidden { display: none; }

/* summary */
.summary__title { font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 10px; }
.summary__list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.summary__list li { display: grid; grid-template-columns: 170px 1fr auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.summary__list .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.summary__list .v { font-weight: 500; word-break: break-word; }
.summary__list button { background: none; border: 0; padding: 0; font: 500 13px var(--body); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.summary__list button:hover { color: var(--accent); }
.summary__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.summary__note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.summary__restart { background: none; border: 0; font: 500 14px var(--body); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) {
  .summary__list li { grid-template-columns: 1fr auto; }
  .summary__list .k { grid-column: 1 / -1; }
  .btn--wa { width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
  .brief { grid-template-columns: 1fr; }
  .quiz { margin-top: 0; }
}
@media (max-width: 560px) {
  .options { grid-template-columns: 1fr; }
  .quiz__body { min-height: 0; }
  .quiz__nav .btn { flex: 1; justify-content: center; }
}

/* ---------- Footer ---------- */
.footer { padding: clamp(60px, 8vw, 110px) var(--pad) 40px; display: grid; gap: 30px; }
@media (min-width: 1181px) { .footer { padding-left: calc(var(--pad) + 60px); } }
.footer__big { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 16vw, 240px); line-height: .85; letter-spacing: -.05em; }
.footer__big span { color: var(--accent); }
.footer__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__small { font-size: 12px; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }
.hero__visual.reveal { transition-delay: .2s; transform: scale(.94); }
.hero__visual.reveal.is-in { transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- About: гарантия, обо мне, кому подхожу (добавлено) ---------- */
.about { padding-top: 0; }
.about__photo {
  width: 88px; height: 88px; border-radius: 50%; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--paper-2); border: 1px dashed var(--muted);
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted);
}
.about__ribbons { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.fit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fit li { display: flex; gap: 10px; font-size: 16px; color: var(--ink-2); }
.fit li::before { content: "+"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 14px/22px var(--mono); text-align: center; }
.fit__no li::before { content: "−"; background: var(--accent); }
@media (max-width: 620px) { .fit { grid-template-columns: 1fr; } }
/* длинная выделенная фраза не должна распирать первый экран на телефоне */
@media (max-width: 620px) { .hero h1 mark { white-space: normal; } .hero__copy { min-width: 0; } }
.cases { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.cases li { font-size: 16px; color: var(--ink-2); line-height: 1.35; }
.cases b { font-family: var(--display); font-weight: 600; color: var(--ink); }
.cases span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
/* скриншоты отчётов */
.bento__card--wide { grid-column: 1 / -1; }
.shots > p { margin-bottom: 18px; }
.shots__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shots__grid a { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.shots__grid a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(26,23,18,.5); }
.shots__grid img { width: 100%; height: auto; }
.shots__grid span { display: block; padding: 12px 14px; font-size: 15px; font-weight: 500; color: var(--ink); border-top: 1px solid var(--line); background: var(--paper); }
.shots__grid a:last-child { grid-column: 1 / -1; }
@media (max-width: 620px) { .shots__grid { grid-template-columns: 1fr; } }
/* три цифры первого экрана — в один ряд на телефоне */
@media (max-width: 620px) {
  .hero__facts { flex-wrap: nowrap; }
  .hero__facts li { flex: 1 1 0; min-width: 0; padding: 14px 10px 0 0; font-size: 13px; }
  .hero__facts li + li { padding-left: 10px; }
  .hero__facts b { font-size: 26px; white-space: nowrap; }
}
/* сокращённая страница: сетка из двух колонок вместо bento с большой карточкой */
.bento--two { grid-template-columns: 1fr 1fr; }
.bento--two > .bento__big { grid-row: auto; min-height: 0; gap: 20px; }
.bento--two > .bento__card--accent, .bento--two > .bento__card--wide { grid-column: 1 / -1; }
.method .bento--two { margin-top: 0; }
@media (max-width: 620px) {
  .bento--two { grid-template-columns: 1fr; }
  /* скриншоты — карусель вбок, а не столбик */
  .shots__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
  .shots__grid a { flex: 0 0 85%; scroll-snap-align: start; }
}
/* карточки сетки не должны растягиваться от карусели внутри */
.bento--two > * { min-width: 0; }
/* плашка «2 минуты» не переносится */
.btn__meta { white-space: nowrap; flex: none; }
@media (max-width: 620px) {
  .hero__cta .btn { gap: 10px; padding: 16px 18px; font-size: 15px; }
}
/* фото Ерната вместо заглушки */
img.about__photo { width: 120px; height: 120px; object-fit: cover; border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
