/* ==========================================================================
   Нейронка Ася — сайт приложения
   Дизайн-код «Ася Блог» (как asya-site): олива, розовый, тетрадная бумага,
   карточки со сдвинутой цветной подложкой, её линейные рисунки. Здесь он
   разложен сплошными цветовыми полями: оливковое, розовое, кремовое.
   Внешних запросов нет; JS — только пример диалога в первом экране.
   ========================================================================== */

/* Шрифты — подрезанные Noto Serif/Sans CJK и Lora (SIL OFL), как у Аси. */
@font-face { font-family: "Asya Serif"; src: url("fonts/serif-300.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Asya Serif"; src: url("fonts/serif-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Asya Sans"; src: url("fonts/sans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Asya Sans"; src: url("fonts/sans-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Asya Sans"; src: url("fonts/sans-900.woff") format("woff"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Asya Italic"; src: url("fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;

  --paper: #FCF5EF;
  --stripe: #F4E8DE;
  --sheet: #FFFDFB;

  --olive: #697857;
  --olive-dk: #4E5A40;
  --olive-deep: #3A4430;
  --sage-lt: #E7ECDF;

  --rose: #F3C1C0;
  --rose-2: #ECB9B8;
  --rose-lt: #F9E3E2;
  --rose-dp: #D67C86;
  --rose-btn: #B85566;   /* белый текст 4.64:1 */
  --rose-ink: #A94E5C;

  --ink: #273025;
  --ink-2: #555D50;
  --ink-3: #7C8276;
  --line: rgba(39, 48, 37, .14);
  --line-2: rgba(39, 48, 37, .08);

  --serif: "Asya Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Asya Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --italic: "Asya Italic", Georgia, serif;

  --gutter: clamp(16px, 4.2vw, 56px);
  --maxw: 1240px;
  --r-lg: 32px;
  --r-md: 22px;
  --lift: 10px;
  --head-h: 68px;

  --ease: cubic-bezier(.16, .84, .24, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* тетрадная полоса поверх любого цветового поля */
  --stripes: repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 18px);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper) repeating-linear-gradient(90deg, var(--stripe) 0 1px, transparent 1px 18px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .19 0 0 0 0 .14 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
:focus-visible { outline: 2.5px solid var(--rose-btn); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rose); color: var(--ink); }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--olive-deep); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
main { overflow-x: clip; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--olive);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--rose { color: var(--rose); }
.eyebrow--deep { color: var(--olive-deep); }
.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1; letter-spacing: -.035em;
  text-wrap: balance;
}
.h3 { font-family: var(--sans); font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.it { font-family: var(--italic); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.pill {
  display: inline-block;
  font-family: var(--sans); font-weight: 900;
  letter-spacing: -.035em; line-height: 1;
  padding: .06em .38em .14em;
  border-radius: 999px;
  color: var(--olive-deep); background: var(--rose);
  transform: rotate(-4deg);
  white-space: nowrap;
}
.pill--sm { font-size: .92em; padding: .08em .45em .16em; color: #fff; background: var(--rose-dp); transform: rotate(-2deg); }
.mk {
  background-image: linear-gradient(transparent 58%, rgba(243, 193, 192, .95) 58%, rgba(243, 193, 192, .95) 92%, transparent 92%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding: 0 .06em;
}

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--olive-deep); --fg: #fff; --fill: var(--rose-btn); --fg-hover: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: color .3s, transform .5s var(--spring);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover { color: var(--fg-hover); transform: translateY(-2px); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--rose { --bg: var(--rose-btn); --fill: var(--olive-deep); }
.btn--line { --bg: transparent; --fg: #fff; --fill: var(--paper); --fg-hover: var(--olive-deep); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .75); }
.btn--deep { --bg: var(--olive-deep); --fill: var(--rose-btn); }

/* ---------- Шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 245, 239, .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-2);
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; transition: transform .6s var(--spring); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 21px; letter-spacing: -.02em; }
.brand__role { white-space: nowrap; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.top__nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 253, 251, .7); box-shadow: inset 0 0 0 1px var(--line-2); }
.top__nav a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .3s, color .3s; }
.top__nav a:hover { background: var(--olive-deep); color: #fff; }

/* ---------- Первый экран: два поля ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: min(calc(100svh - var(--head-h)), 860px);
}
.hero__olive {
  position: relative;
  display: flex; align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 80px) clamp(64px, 8vw, 110px) max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  background: var(--olive) var(--stripes);
  color: #fff;
}
.hero__text { max-width: 620px; }
.hero__title {
  margin: 26px 0 30px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(62px, 8.2vw, 132px);
  line-height: .92; letter-spacing: -.045em;
  color: var(--paper);
}
.hero__title .pill { font-size: .86em; margin-left: .04em; box-shadow: 0 .08em 0 rgba(0, 0, 0, .12); }
.hero__lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; max-width: 32em; color: #fff; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__for { margin-top: 28px; font-family: var(--italic); font-style: italic; font-size: 19px; color: var(--rose); }

.hero__rose {
  position: relative; overflow: hidden;
  background: var(--rose) repeating-linear-gradient(90deg, rgba(169, 78, 92, .07) 0 1px, transparent 1px 18px);
}
.hero__art {
  position: absolute; right: -4%; bottom: -2%;
  width: min(82%, 520px);
  transform: rotate(3deg); transform-origin: bottom right;
}
/* карточка диалога заходит на оливковое поле — шов между полями */
.chat {
  position: absolute; z-index: 2;
  left: clamp(-120px, -7vw, -40px); top: clamp(56px, 11%, 110px);
  width: min(420px, 82%);
  background: var(--sheet);
  border-radius: var(--r-md);
  box-shadow: var(--lift) var(--lift) 0 var(--olive-deep), 0 30px 60px -30px rgba(58, 68, 48, .55);
  transform: rotate(-2deg);
}
.hero__rose { overflow: visible; }
.hero { overflow: hidden; }
.chat__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.chat__dots { display: flex; gap: 7px; }
.chat__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--olive); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .15); }
.chat__dots i:nth-child(2) { background: var(--rose-dp); }
.chat__dots i:nth-child(3) { background: var(--rose); }
.chat__body { display: grid; gap: 14px; padding: 18px 18px 22px; min-height: 250px; align-content: start; }
.chat__me {
  justify-self: end; max-width: 88%;
  padding: 11px 16px;
  border-radius: 18px 18px 5px 18px;
  background: var(--olive-deep); color: #fff;
  font-size: 15.5px; line-height: 1.45;
  min-height: 1.45em;
}
.chat__me.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--rose); animation: caret .8s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chat__tool {
  display: inline-flex; align-items: center; gap: 9px; justify-self: start;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--sage-lt); color: var(--olive-dk);
  font-size: 13.5px;
  transition: opacity .4s, transform .5s var(--spring);
}
.chat__tool img { width: 22px; height: 22px; }
.chat__tool b { font-weight: 700; }
.chat__bot { display: grid; gap: 9px; transition: opacity .5s, transform .6s var(--ease); }
.chat__bot p { font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.chat__line { display: block; height: 9px; border-radius: 9px; background: var(--rose-lt); }
.chat__line--short { width: 58%; }
.chat .is-hidden { opacity: 0; transform: translateY(8px); }

/* ---------- Бегущая строка ---------- */
.ticker {
  position: relative; z-index: 3;
  margin: -26px -2vw 0;
  padding: 16px 0;
  overflow: hidden;
  background: var(--rose-dp);
  color: #fff;
  transform: rotate(-1.6deg);
  box-shadow: 0 10px 0 var(--olive-deep);
}
.ticker__track { display: flex; align-items: center; gap: 26px; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { font-weight: 900; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -.03em; white-space: nowrap; }
.ticker svg { width: 26px; height: 26px; flex: none; color: var(--rose); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Методики: бенто ---------- */
.methods { padding: clamp(96px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); }
.methods__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.methods__head .eyebrow { grid-column: 1 / -1; }
.methods__head .lede { padding-bottom: .4em; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; counter-reset: tile; }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  transition: transform .6s var(--spring), box-shadow .6s var(--ease);
}
.tile:hover { transform: translateY(-6px) rotate(-.4deg); }
.tile__n { font-family: var(--italic); font-style: italic; font-size: 20px; color: var(--rose-dp); }
.tile__title { font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 2.5vw, 38px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.tile p:not(.tile__n):not(.ask) { font-size: 16px; line-height: 1.55; max-width: 34em; }
.tile__art { pointer-events: none; }

/* запрос — как реплика в чате */
.ask {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 16px 16px 16px 5px;
  font-size: 15px; line-height: 1.4;
  background: var(--sheet); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ask::before { content: "«"; }
.ask::after { content: "»"; }

.tile--olive { background: var(--olive) var(--stripes); color: #fff; }
.tile--deep { background: var(--olive-deep) var(--stripes); color: #fff; }
.tile--rose { background: var(--rose); color: var(--olive-deep); }
.tile--blush { background: var(--rose-lt); }
.tile--sage { background: var(--sage-lt); }
.tile--sheet { background: var(--sheet); box-shadow: var(--lift) var(--lift) 0 var(--olive), 0 1px 0 var(--line-2); }
.tile--sheet:hover { box-shadow: 14px 16px 0 var(--olive); }
.tile--check.tile--sheet { box-shadow: var(--lift) var(--lift) 0 var(--rose-dp), 0 1px 0 var(--line-2); }
.tile--check.tile--sheet:hover { box-shadow: 14px 16px 0 var(--rose-dp); }
.tile--olive .tile__n, .tile--deep .tile__n { color: var(--rose); }
.tile--olive .ask, .tile--deep .ask { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.tile--rose .tile__n { color: var(--rose-ink); }
.tile--rose .ask { background: rgba(255, 253, 251, .85); box-shadow: none; }
/* рисунки на тёмных полях — светлой линией */
.tile--olive .tile__art, .tile--deep .tile__art { filter: brightness(0) invert(1); opacity: .9; }

.tile--strategy { grid-column: span 7; min-height: 420px; flex-direction: row; align-items: stretch; }
.tile--strategy .tile__text, .tile--brief .tile__text, .tile--visual .tile__text { display: flex; flex-direction: column; gap: 12px; flex: 1 1 56%; min-width: 0; position: relative; z-index: 1; }
.tile--strategy .tile__art { flex: 0 0 40%; align-self: flex-end; margin: 0 -8px -12px 0; width: 40%; }
.tile--brief { grid-column: span 5; min-height: 420px; }
.tile--brief .tile__text { padding-right: 34%; }
.tile--brief .tile__art { position: absolute; right: -12px; top: 26px; width: 36%; }
.tile--content { grid-column: span 4; }
.tile--content .tile__art { width: 78%; align-self: center; margin: 4px 0 6px; }
.tile--carousel { grid-column: span 4; }
.tile--audit { grid-column: span 4; }
.tile--audit .tile__art { width: 62%; align-self: center; margin: 4px 0 2px; }
.tile--visual { grid-column: span 5; flex-direction: column; }
.tile--visual .tile__text { padding-right: 0; }
.tile--visual .tile__art { width: 52%; max-width: 250px; align-self: flex-end; margin: 4px -8px -16px 0; }
.tile--check { grid-column: span 7; flex-direction: row; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.tile--check .tile__text { display: flex; flex-direction: column; gap: 12px; flex: 1 1 50%; }

/* карусель — стопка слайдов */
.slides { position: relative; height: 190px; margin: 6px 0 8px; }
.slide {
  position: absolute; left: 50%; top: 0;
  width: 150px; aspect-ratio: 4 / 5;
  border-radius: 14px;
  padding: 14px;
  font-size: 12px; font-weight: 700; color: var(--ink-3);
  background: var(--sheet);
  box-shadow: 0 1px 0 var(--line-2), 0 16px 30px -18px rgba(58, 68, 48, .5);
  transition: transform .7s var(--spring);
}
.slide--3 { transform: translateX(-10%) rotate(9deg); background: var(--rose); color: var(--rose-ink); }
.slide--2 { transform: translateX(-35%) rotate(4deg); background: var(--sage-lt); color: var(--olive-dk); }
.slide--1 {
  transform: translateX(-72%) rotate(-5deg);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--olive-deep); color: #fff;
}
.slide--1 b { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.1; letter-spacing: -.02em; }
.slide--1 i { font-style: normal; font-size: 11px; color: var(--rose); }
.tile--carousel:hover .slide--3 { transform: translateX(8%) rotate(14deg); }
.tile--carousel:hover .slide--2 { transform: translateX(-30%) rotate(5deg); }
.tile--carousel:hover .slide--1 { transform: translateX(-86%) rotate(-9deg); }

/* чеклист */
.checks { flex: 1 1 44%; display: grid; gap: 10px; align-content: center; padding: 18px 20px; border-radius: 18px; background: var(--rose-lt); }
.checks li { position: relative; padding-left: 34px; font-size: 15.5px; line-height: 1.35; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--rose-dp) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- Как начать: розовое поле ---------- */
.how { padding: clamp(80px, 10vw, 140px) 0; background: var(--rose) repeating-linear-gradient(90deg, rgba(169, 78, 92, .07) 0 1px, transparent 1px 18px); color: var(--olive-deep); }
.how__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.how__head .h2 { margin-top: 20px; }
.how__art { width: min(100%, 460px); margin-top: 36px; }
.steps { display: grid; gap: 18px; counter-reset: step; }
.steps li {
  position: relative; counter-increment: step;
  padding: 26px 28px 26px 104px;
  border-radius: var(--r-md);
  background: var(--sheet);
  box-shadow: var(--lift) var(--lift) 0 var(--olive-deep);
  transition: transform .6s var(--spring);
}
.steps li:nth-child(2) { margin-left: clamp(0px, 3vw, 44px); box-shadow: var(--lift) var(--lift) 0 var(--rose-dp); }
.steps li:nth-child(3) { margin-left: clamp(0px, 6vw, 88px); box-shadow: var(--lift) var(--lift) 0 var(--olive); }
.steps li:hover { transform: translateX(6px); }
.steps li::before {
  content: counter(step);
  position: absolute; left: 26px; top: 24px;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  font-family: var(--serif); font-size: 28px; line-height: 1;
  color: #fff; background: var(--olive-deep);
}
.steps li:nth-child(2)::before { background: var(--rose-dp); }
.steps li:nth-child(3)::before { background: var(--olive); }
.steps .h3 { color: var(--ink); margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* ---------- Честно: глубокое оливковое поле ---------- */
.honest { padding: clamp(84px, 10vw, 150px) 0; background: var(--olive-deep) var(--stripes); color: rgba(255, 255, 255, .88); }
.honest__title {
  margin: 22px 0 clamp(40px, 5vw, 64px);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -.04em;
  color: var(--paper); text-wrap: balance;
}
.honest__accent { font-family: var(--italic); font-style: italic; font-weight: 400; color: var(--rose); }
.honest__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.honest__col { padding: 30px 32px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.honest__col:last-child { background: rgba(214, 124, 134, .14); box-shadow: inset 0 0 0 1px rgba(243, 193, 192, .25); }
.honest__head { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-lt); }
.honest__col:last-child .honest__head { color: var(--rose); }
.honest__list { display: grid; gap: 12px; }
.honest__list li { position: relative; padding-left: 32px; line-height: 1.5; }
.honest__list li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.honest__list--yes li::before { content: "✓"; color: #B9C6A6; }
.honest__list--no li::before { content: "✕"; color: var(--rose); }
.honest__data { margin-top: 32px; max-width: 46em; font-size: 16px; color: rgba(255, 255, 255, .75); }
.honest__data a { color: #fff; }
.honest__data a:hover { color: var(--rose); }

/* ---------- Автор ---------- */
.author { padding: clamp(84px, 10vw, 150px) 0; }
.author__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px clamp(40px, 7vw, 110px); align-items: center; }
.polaroid {
  justify-self: center; width: min(100%, 400px);
  padding: 16px 16px 0;
  border-radius: 6px;
  background: var(--sheet);
  box-shadow: 0 30px 60px -30px rgba(58, 68, 48, .5), 0 2px 6px rgba(58, 68, 48, .1);
  transform: rotate(-3deg);
  transition: transform .8s var(--spring);
}
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.polaroid img { border-radius: 2px; }
.polaroid figcaption { padding: 16px 0 20px; text-align: center; font-family: var(--italic); font-style: italic; font-size: 22px; color: var(--olive-dk); }
.author__text .h2 { margin: 18px 0 20px; }
.quote {
  margin: 30px 0 34px; padding-left: 22px;
  border-left: 3px solid var(--rose-dp);
  font-family: var(--italic); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--olive-deep);
}
.ul { text-decoration: underline wavy var(--rose-dp); text-decoration-thickness: 2px; text-underline-offset: .22em; }

/* ---------- Документы и поддержка ---------- */
.band { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); background: var(--olive) var(--stripes); color: #fff; }
.band--rose { background: var(--rose) repeating-linear-gradient(90deg, rgba(169, 78, 92, .07) 0 1px, transparent 1px 18px); color: var(--olive-deep); }
.band .h2 { margin-top: 20px; color: var(--paper); max-width: 14em; }
.band--rose .h2 { color: var(--olive-deep); }
.band .lede { margin-top: 20px; color: #fff; max-width: 32em; }
.band--rose .lede { color: var(--olive-deep); }
.band__date { margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.band__date a { color: #fff; }

.doc { max-width: calc(780px + var(--gutter) * 2); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 120px); }
.doc h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; margin: 40px 0 12px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; margin: 12px 0; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--rose-dp); }
.doc a:hover { color: var(--rose-ink); }
.summary { padding: 26px 30px; border-radius: var(--r-md); background: var(--sheet); box-shadow: var(--lift) var(--lift) 0 var(--olive), 0 1px 0 var(--line-2); }
.summary__head { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.doc__en { margin-top: 64px; padding-top: 40px; border-top: 1px dashed var(--line); font-size: 16px; }
.doc__en p { color: var(--ink-2); }
.doc__en b { color: var(--ink); }
.doc .doc__en h2 { margin-top: 0; }

.mailcard {
  display: grid; gap: 4px; justify-items: start;
  margin: 0 0 12px; padding: 28px 32px;
  border-radius: var(--r-md); background: var(--sheet);
  text-decoration: none;
  box-shadow: var(--lift) var(--lift) 0 var(--rose-dp), 0 1px 0 var(--line-2);
  transition: transform .6s var(--spring), box-shadow .6s var(--ease);
}
.mailcard:hover { transform: translateY(-4px); box-shadow: 14px 16px 0 var(--rose-dp); }
.mailcard__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.mailcard__addr { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.mailcard__who { font-size: 15px; color: var(--ink-3); }
.qa { padding: 20px 0; border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa .h3 { margin-bottom: 6px; }
.qa p { color: var(--ink-2); }

.notfound { display: grid; justify-items: center; gap: 18px; padding: clamp(60px, 10vw, 140px) var(--gutter); text-align: center; }
.notfound img { width: 260px; }

/* ---------- Подвал ---------- */
.foot { background: var(--olive-deep); color: rgba(255, 255, 255, .8); font-size: 15px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 48px; padding-top: 48px; padding-bottom: 36px; }
.foot__name { font-family: var(--serif); font-size: 26px; color: #fff; margin-bottom: 6px; }
.foot__about p + p { margin-top: 4px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--rose); }
.foot__nav { display: grid; gap: 8px; align-content: start; }
.foot__note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- Подъём при прокрутке (где браузер умеет без JS) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tile, .steps li, .honest__col, .polaroid, .how__art {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    /* только сдвиг, без прозрачности: полностраничные снимки и превью видят всё */
    @keyframes rise { from { translate: 0 36px; } }
  }
}

/* ---------- Узкие экраны ---------- */
@media (max-width: 1080px) {
  .tile--strategy, .tile--brief, .tile--visual, .tile--check { grid-column: span 12; }
  .tile--content, .tile--carousel, .tile--audit { grid-column: span 6; }
  .tile--audit { grid-column: span 12; }
  .tile--strategy, .tile--brief { min-height: 0; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__olive { padding: 48px var(--gutter) 64px; }
  .hero__rose { min-height: 560px; overflow: hidden; }
  .chat { left: var(--gutter); top: 36px; width: min(400px, calc(100% - var(--gutter) * 2 - 12px)); }
  .hero__art { width: min(62%, 360px); }
  .methods__head, .how__grid, .author__grid { grid-template-columns: minmax(0, 1fr); }
  .honest__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  :root { --lift: 7px; --head-h: 60px; }
  body { font-size: 16px; }
  .top__more { display: none; }
  .brand__name { font-size: 19px; }
  .brand__role { font-size: 9.5px; letter-spacing: .1em; }
  .hero__title { font-size: clamp(56px, 17vw, 80px); }
  .hero__rose { min-height: 520px; }
  .hero__art { width: 58%; right: -6%; }
  .tile--content, .tile--carousel, .tile--audit { grid-column: span 12; }
  .tile--strategy, .tile--check { flex-direction: column; }
  .tile--strategy .tile__art { width: 70%; align-self: flex-end; margin: 0 -10px -14px 0; }
  .tile--brief .tile__text { padding-right: 0; }
  .tile--brief .tile__art { position: static; width: 62%; align-self: flex-end; margin: 0 -12px -18px 0; }
  .ticker { margin-top: -18px; padding: 12px 0; }
  .steps li { padding: 88px 22px 24px; margin-left: 0 !important; }
  .steps li::before { left: 22px; top: 20px; width: 50px; height: 50px; font-size: 24px; }
  .honest__col { padding: 24px 22px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .btn { min-height: 52px; padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
