/* ==========================================================
   Павел Осадчий · персональное обучение ИИ
   ========================================================== */

/* БИБЛИОТЕКА ВЫКЛЮЧЕНА.
   Чтобы показать её на сайте, удалите правило ниже. */
[data-library] { display: none !important; }

/* ---------- Токены ---------- */
:root {
  --bg: #F8F3EC;
  --sand: #F1EAE0;
  --white: #FFFFFF;
  --ink: #1F2A44;
  --text: #4A5163;
  --muted: #5F6576;
  --gold: #8A5A1F;
  --gold-hi: #A0662A;
  --gold-line: #C9A46E;
  --peach: #F2D6A8;
  --line: #EAE1D4;
  --line-2: #E6DCCD;
  --line-3: #F0E8DC;
  --navy-muted: #C8CCD6;

  --lilac: #E5E1EE;   --lilac-ink: #5B5079;
  --honey: #F0E4CC;   --honey-ink: #8A5A1F;
  --rose:  #F6E3DA;   --rose-ink: #8C5640;
  --sage:  #DDE6DA;   --sage-ink: #4E6B4C;
  --mist:  #DEE6EE;   --mist-ink: #3F5A75;

  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-soft: 0 30px 60px -44px rgba(31, 42, 68, 0.4);
  --shadow-frame: 0 40px 80px -44px rgba(31, 42, 68, 0.35);
  --gutter: 32px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--gold); }
a:hover { color: #6B4413; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section--tight-top { padding-top: 24px; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); border-top: 1px solid #EFE7DB; border-bottom: 1px solid #EFE7DB; }
.sky { background: linear-gradient(180deg, #EDF0F2 0%, #F4EEE6 55%, var(--bg) 100%); }

/* ---------- Типографика ---------- */
.kicker { font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--gold); }
.h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; }
.h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; }
.h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.25; }
.accent { color: var(--gold-hi); }
.lead { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 560px; }
.text { font-size: 18px; line-height: 1.7; color: var(--text); }
.small { font-size: 15px; color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-head__text { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 999px; border: none;
  background: var(--ink); color: var(--white); text-decoration: none;
  font: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: #2B3A5E; color: var(--white); transform: translateY(-1px); }
.btn--peach { background: var(--peach); color: var(--ink); }
.btn--peach:hover { background: #EDCB93; color: var(--ink); }
.btn--small { min-height: 44px; padding: 0 22px; font-size: 16px; font-weight: 500; }
.link-line {
  color: var(--ink); font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid var(--gold-line); padding-bottom: 3px;
}
.link-line:hover { color: var(--gold); }
.link-more { font-size: 16px; font-weight: 600; text-decoration: none; }

.price-row { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.price { font-family: var(--serif); font-size: 32px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* ---------- Шапка ---------- */
.header { position: relative; z-index: 10; }
.header--sky { background: #EDF0F2; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.logo { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 16px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--gold-line); }
.nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--gold-line); }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.7);
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}

/* ---------- Первый экран ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 40px; padding-bottom: 96px; }
.hero__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__media { flex: 0 0 auto; margin: 0 auto; }

/* Рамка для вертикального видео / кадра */
.frame-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.glow { position: absolute; width: 300px; height: 300px; border-radius: 999px; pointer-events: none;
  background: radial-gradient(circle, rgba(242,214,168,.85) 0%, rgba(242,214,168,0) 70%); }
.frame-wrap > .glow { top: -30px; right: -60px; }
.frame {
  position: relative; padding: 10px; background: rgba(255,255,255,.85);
  border: 1px solid var(--line-2); border-radius: 40px; box-shadow: var(--shadow-frame);
}
.frame video, .frame img { width: 330px; height: 587px; object-fit: cover; border-radius: 32px; background: #EDE6DA; }
.frame--sm { padding: 8px; border-radius: 34px; }
.frame--sm img { width: 260px; height: 462px; border-radius: 28px; }
.video-toggle {
  position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 999px;
  border: none; background: rgba(31,42,68,.85); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.frame-caption { position: relative; max-width: 340px; text-align: center; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Пейзаж-подложка ---------- */
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Карточки тем (главная) ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.topic-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.topic-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 34px 60px -40px rgba(31,42,68,.5); }
.topic-card__art { position: relative; height: 190px; }
.chip-icon {
  position: absolute; left: 28px; bottom: -28px; width: 56px; height: 56px; border-radius: 999px; background: var(--white);
  box-shadow: 0 10px 24px -12px rgba(31,42,68,.45); display: flex; align-items: center; justify-content: center;
}
.topic-card__body { padding: 48px 32px 30px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.topic-card__title { font-family: var(--serif); font-size: 28px; line-height: 1.2; font-weight: 600; }
.topic-card__desc { font-size: 16px; line-height: 1.6; color: var(--text); }
.topic-card__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-3); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; }
.topic-card__foot .more { font-weight: 600; color: var(--gold); white-space: nowrap; }

/* ---------- Библиотека (главная) ---------- */
.lib-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lib-feature {
  position: relative; min-height: 520px; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; background: var(--white); box-shadow: var(--shadow-soft);
}
.lib-feature:hover { color: var(--ink); }
.lib-feature__body { position: relative; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.lib-feature__title { font-family: var(--serif); font-size: 34px; line-height: 1.15; font-weight: 600; }
.lib-list { display: flex; flex-direction: column; gap: 12px; }
.lib-row {
  flex: 1 1 0; background: var(--white); border-radius: 22px; padding: 14px 24px 14px 14px; text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 20px; transition: transform .2s ease;
}
.lib-row:hover { color: var(--ink); transform: translateX(3px); }
.lib-row__thumb { flex: 0 0 104px; width: 104px; height: 96px; border-radius: 16px; overflow: hidden; }
.lib-row__text { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.lib-row__title { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.lib-row__arrow { font-size: 20px; color: var(--gold); }
.pill { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.pill--lilac { background: #ECE8F4; color: var(--lilac-ink); }
.pill--rose { background: var(--rose); color: var(--rose-ink); }

/* Карточки материалов */
.materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.material-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.material-card:hover { color: var(--ink); }
.material-card__cover { height: 200px; border-radius: 20px; overflow: hidden; }
.material-card__tag { font-size: 13px; font-weight: 600; }
.material-card__title { font-family: var(--serif); font-size: 22px; line-height: 1.3; font-weight: 600; }

/* ---------- Кейсы ---------- */
.case-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
}
.case-card:hover { color: var(--ink); }
.case-card__art { position: relative; height: 240px; overflow: hidden; background: #EDE6DA; }
.case-card__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.case-card__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.case-card__art + .case-card__body.has-chip { padding-top: 44px; }
.case-card__title { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.case-card__more { margin-top: auto; padding-top: 14px; font-size: 15px; font-weight: 600; color: var(--gold); }

/* ---------- Обо мне ---------- */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about__photo { flex: 1 1 360px; min-width: 0; position: relative; }
.about__photo .glow { top: -40px; left: -50px; width: 260px; height: 260px; }
.photo-frame { position: relative; padding: 10px; background: var(--white); border: 1px solid var(--line-2); border-radius: 36px; box-shadow: var(--shadow-frame); }
.photo-frame__inner { position: relative; height: 440px; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #E9ECEF 0%, #F3ECE2 100%); display: flex; align-items: flex-end; justify-content: center; }
.photo-frame__inner img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame__label { position: relative; margin-bottom: 24px; font-size: 14px; color: var(--muted); background: rgba(255,255,255,.8); padding: 8px 14px; border-radius: 999px; }
.about__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* ---------- Финальная запись ---------- */
.cta-panel { position: relative; border-radius: 36px; overflow: hidden; background: #EDF0F2; }
.cta-panel__inner { position: relative; padding: 64px; display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.cta-card { flex: 999 1 460px; min-width: 0; max-width: 620px; background: rgba(255,255,255,.85); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.cta-card .btn { align-self: flex-start; margin-top: 6px; }
.price-card { flex: 1 1 300px; min-width: 0; background: var(--ink); color: var(--white); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.price-card .price { font-size: 48px; line-height: 1; }
.price-card .note { font-size: 15px; line-height: 1.55; color: var(--navy-muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.5; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: 0 0 22px; margin-top: 1px; }

/* ---------- Страница обучения ---------- */
.steps-art { flex: 1 1 460px; min-width: 0; position: relative; border-radius: 32px; overflow: hidden; min-height: 400px; box-shadow: 0 40px 80px -48px rgba(31,42,68,.4); }
.steps-art ol { position: relative; margin: 0; padding: 40px 32px; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps-art li { background: rgba(255,255,255,.92); border-radius: 20px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 16px 30px -24px rgba(31,42,68,.5); }
.steps-art li:nth-child(1) { align-self: flex-start; }
.steps-art li:nth-child(2) { align-self: center; }
.steps-art li:nth-child(3) { align-self: flex-end; }
.num { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 999px; font-family: var(--serif); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.num--lilac { background: var(--lilac); color: var(--lilac-ink); }
.num--honey { background: var(--honey); color: var(--honey-ink); }
.num--sage { background: var(--sage); color: var(--sage-ink); }
.step-mini { display: flex; flex-direction: column; gap: 2px; }
.step-mini strong { font-size: 17px; }
.step-mini span { font-size: 14px; color: var(--muted); }

.step { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.step + .step { margin-top: 56px; }
.step--reverse { flex-wrap: wrap-reverse; }
.step__art { flex: 1 1 460px; min-width: 0; position: relative; height: 320px; border-radius: 28px; overflow: hidden; }
.step__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.step__num { font-family: var(--serif); font-size: 56px; line-height: 1; font-weight: 600; }
.result { padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; font-size: 16px; line-height: 1.55; }
.mock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--white); border-radius: 18px; box-shadow: 0 24px 48px -28px rgba(31,42,68,.5); overflow: hidden; }

.topic-article { background: var(--white); border-radius: 36px; padding: 56px; box-shadow: 0 30px 60px -50px rgba(31,42,68,.45); }
.topic-article + .topic-article { margin-top: 40px; }
.topic-article__top { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.topic-article__text { flex: 999 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.topic-article__media { flex: 0 0 auto; margin: 0 auto; position: relative; }
.topic-article__media .glow { width: 240px; height: 240px; top: -30px; right: -40px; }
.modules { margin-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.modules__title { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.modules__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.module { margin: 0; background: var(--bg); border-radius: 22px; padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 14px; }
.module figcaption { padding: 0 6px; display: flex; flex-direction: column; gap: 4px; }
.module__shot { aspect-ratio: 420 / 502; border-radius: 14px; overflow: hidden; background: #F3EEE8; border: 1px solid var(--line); box-shadow: 0 12px 24px -20px rgba(31,42,68,.45); }
.module__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.module__shot--add { background: var(--bg); border: 1.5px dashed #D9CBB4; box-shadow: none; display: flex; align-items: center; justify-content: center; }
.module__shot--add span { width: 52px; height: 52px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; }
.module--add { background: var(--white); }
.module__name { font-size: 18px; font-weight: 600; }
.module__desc { font-size: 14px; line-height: 1.45; color: var(--muted); }
.bar { display: block; height: 7px; border-radius: 999px; background: var(--line); }

.videos { flex: 1 1 490px; min-width: 0; display: flex; justify-content: center; gap: 16px; align-items: center; }
.vframe { flex: 0 0 150px; width: 150px; height: 266px; padding: 6px; background: var(--white); border: 1px solid var(--line-2); border-radius: 26px; box-shadow: 0 24px 44px -30px rgba(31,42,68,.45); }
.vframe video { width: 136px; height: 252px; object-fit: cover; border-radius: 20px; background: #EDE6DA; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 15px; padding: 9px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 32px; font-size: 15px; color: var(--muted); }
.footer__name { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { color: var(--muted); }

/* ---------- Страница материала ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 64px; display: flex; flex-direction: column; gap: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prompt { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.prompt__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.prompt__text { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 15px; line-height: 1.65; white-space: pre-line; }

/* ---------- Страница библиотеки ---------- */
.chip-link { font-size: 15px; padding: 9px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.chip-link:hover { border-color: var(--gold-line); color: var(--ink); }
.lib-sections { display: flex; flex-direction: column; gap: 72px; padding-top: 24px; }
.lib-section { scroll-margin-top: 24px; }
.lib-section__head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.lib-section__thumb { flex: 0 0 72px; width: 72px; height: 66px; border-radius: 14px; overflow: hidden; }
.lib-empty { font-size: 16px; color: var(--muted); padding: 22px 24px; border: 1.5px dashed #D9CBB4; border-radius: 18px; }
.cta-strip { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 36px 40px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; }
.cta-strip > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 8px; }
.cta-strip--honey { background: #F8EFE0; border-color: #EEDFC4; }

/* ---------- Живописные / графичные подложки ---------- */
.bg-img .scene { display: none; }
.bg-img { background-size: cover; background-repeat: no-repeat; background-position: 50% 60%; }
.bg-img::before { content: ""; position: absolute; inset: 0; background: rgba(248, 243, 236, 0.40); pointer-events: none; }
.bg-img--lake { background-image: url('/assets/media/bg-lake-paint.jpg'); }
.bg-img--islands { background-image: url('/assets/media/bg-islands-graphic.jpg'); }
.bg-img--river { background-image: url('/assets/media/bg-river-graphic.jpg'); background-position: 50% 70%; }
.bg-img--river::before { display: none; }
.bg-img--mist { background-image: url('/assets/media/bg-mist-mountains.jpg'); background-position: 50% 50%; }
.bg-img--mist::before { display: none; }
.bg-img--waves { background-image: url('/assets/media/bg-waves-graphic.jpg'); }

/* ---------- Реалистичные макеты в шагах ---------- */
.mk { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 16px;
  box-shadow: 0 28px 56px -30px rgba(31,42,68,.55), 0 2px 6px rgba(31,42,68,.06); overflow: hidden; font-size: 12px; color: var(--ink); text-align: left; }
.mk__bar { height: 30px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #F0E8DC; background: #FBF8F4; }
.mk__dot { width: 8px; height: 8px; border-radius: 999px; }
.mk__bar-title { margin-left: 8px; font-size: 11px; font-weight: 600; color: #5F6576; }
.mk__bar-right { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 11px; color: #5F6576; font-variant-numeric: tabular-nums; }
.mk__rec { width: 7px; height: 7px; border-radius: 999px; background: #D46A5A; }
/* звонок */
.mk-call { width: 350px; }
.mk-call__tiles { padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.mk-tile { position: relative; height: 118px; border-radius: 10px; overflow: hidden; }
.mk-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mk-tile--guest { background: linear-gradient(160deg, #EFE3CF, #F7F0E6); display: flex; align-items: center; justify-content: center; }
.mk-tile--host { background: linear-gradient(160deg, #E8E5EF, #F4EEE6); }
.mk-tile img.mk-tile__avatar { width: 52px; height: 52px; border-radius: 999px; object-fit: cover; object-position: 50% 35%; box-shadow: 0 0 0 2px #fff; }
.mk-tile__initial { width: 52px; height: 52px; border-radius: 999px; background: #E3CFA6; color: #6B4413; font-family: var(--serif); font-size: 22px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.mk-tile__name { position: absolute; left: 6px; bottom: 6px; font-size: 10px; font-weight: 600; color: #fff; background: rgba(31,42,68,.6); padding: 2px 7px; border-radius: 999px; }
.mk-tile__speaking { position: absolute; inset: 0; border: 2px solid #8FB08A; border-radius: 10px; }
.mk-call__note { margin: 0 10px; padding: 8px 10px; border-radius: 10px; background: #F8F3EC; display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.4; }
.mk-call__note b { display: block; font-size: 10px; color: #8A5A1F; font-weight: 600; margin-bottom: 1px; }
.mk-call__controls { padding: 10px; display: flex; justify-content: center; gap: 8px; }
.mk-btn { width: 30px; height: 30px; border-radius: 999px; background: #F1EAE0; display: flex; align-items: center; justify-content: center; }
.mk-btn--end { width: 44px; background: #D46A5A; }
/* уроки */
.mk-course { width: 370px; display: flex; flex-direction: column; }
.mk-course__body { display: flex; gap: 10px; padding: 10px; }
.mk-player { flex: 0 0 196px; display: flex; flex-direction: column; gap: 6px; }
.mk-player__screen { position: relative; height: 112px; border-radius: 10px; overflow: hidden; background: #2B2F3A; }
.mk-player__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mk-player__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; }
.mk-player__time { position: absolute; right: 6px; bottom: 6px; font-size: 9.5px; color: #fff; background: rgba(0,0,0,.45); padding: 1px 5px; border-radius: 4px; }
.mk-player__progress { height: 4px; border-radius: 999px; background: #F1EAE0; }
.mk-player__progress span { display: block; width: 42%; height: 100%; border-radius: 999px; background: #C9A46E; }
.mk-player__title { font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.mk-list { flex: 1 1 auto; display: flex; flex-direction: column; gap: 5px; }
.mk-list__item { padding: 6px 7px; border-radius: 8px; background: #F8F3EC; display: flex; gap: 6px; align-items: center; font-size: 10.5px; line-height: 1.25; }
.mk-list__item.is-active { background: #F0E4CC; }
.mk-list__item small { display: block; font-size: 9.5px; color: #8A8E99; }
.mk-check { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 999px; background: #8FB08A; display: flex; align-items: center; justify-content: center; }
.mk-check--now { background: #C9A46E; }
.mk-check--todo { background: #fff; box-shadow: inset 0 0 0 1.5px #D9CBB4; }
/* вторая встреча */
.mk-review { width: 330px; }
.mk-review__head { padding: 10px 12px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #F0E8DC; }
.mk-review__head img { width: 30px; height: 30px; border-radius: 999px; object-fit: cover; }
.mk-review__head b { display: block; font-size: 12px; }
.mk-review__head small { font-size: 10px; color: #8A8E99; }
.mk-review__list { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.mk-q { padding: 7px 9px; border-radius: 9px; display: flex; gap: 8px; align-items: center; font-size: 11.5px; line-height: 1.3; background: #F5F1E8; }
.mk-q--open { background: #F8EFE0; }
.mk-q__icon { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.mk-q__icon--ok { background: #DDE6DA; }
.mk-q__icon--ask { background: #F0E4CC; color: #8A5A1F; }

/* ---------- Частые вопросы ---------- */
.section--faq { padding-bottom: 0; }
.faq-wrap { max-width: 860px; display: flex; flex-direction: column; gap: 36px; }
.faq-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-size: 18px; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { padding: 0 24px 22px; font-size: 17px; line-height: 1.65; color: var(--text); }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .modules__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section--tight-top { padding-top: 16px; }
  .section-head { margin-bottom: 28px; }
  .kicker { font-size: 14px; }
  .lead { font-size: 17px; }
  .text { font-size: 16px; }

  .header__inner { padding-top: 16px; padding-bottom: 16px; }
  .logo { font-size: 20px; }
  .burger { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 12px; right: 12px; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 30px 60px -30px rgba(31,42,68,.35);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-3); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-3); }
  .nav .btn { margin-top: 12px; }

  .hero { gap: 40px; padding-top: 20px; padding-bottom: 64px; }
  .hero__text { gap: 20px; }
  .price { font-size: 28px; }
  .actions { flex-direction: column; align-items: stretch; gap: 16px; text-align: center; }
  .actions .link-line { align-self: center; }
  .frame video, .frame img { width: 280px; height: 498px; border-radius: 28px; }
  .frame { padding: 8px; border-radius: 34px; }
  .frame-wrap > .glow { width: 240px; height: 240px; right: -20px; }

  .grid-2, .grid-3, .lib-grid, .materials { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .topic-card__art { height: 150px; }
  .chip-icon { left: 20px; bottom: -24px; width: 48px; height: 48px; }
  .topic-card__body { padding: 38px 22px 22px; }
  .topic-card__title { font-size: 23px; }
  .topic-card__desc { font-size: 15px; }
  .topic-card__foot { font-size: 14px; }

  .lib-feature { min-height: 400px; border-radius: 24px; }
  .lib-feature__body { padding: 24px; }
  .lib-feature__title { font-size: 28px; }
  .lib-row { padding: 10px 18px 10px 10px; gap: 14px; border-radius: 20px; }
  .lib-row__thumb { flex-basis: 76px; width: 76px; height: 72px; border-radius: 14px; }
  .lib-row__title { font-size: 19px; }

  .case-card__art { height: 190px; }
  .about { gap: 28px; }
  .photo-frame__inner { height: 340px; }

  .cta-panel { border-radius: 30px; }
  .cta-panel__inner { padding: 150px 14px 14px; gap: 12px; }
  .cta-card, .price-card { padding: 26px 22px; border-radius: 24px; }
  .cta-card .btn { align-self: stretch; }
  .price-card .price { font-size: 42px; }

  .steps-art { min-height: 0; border-radius: 28px; }
  .steps-art ol { padding: 24px 18px; gap: 12px; }
  .steps-art li { padding: 12px 16px; }
  .step { gap: 18px; flex-direction: column; align-items: stretch; }
  .step--reverse { flex-direction: column-reverse; }
  .step + .step { margin-top: 48px; }
  .step__art { flex: none; height: 240px; border-radius: 24px; }
  .step__art .mock, .step__art .mk { transform: translate(-50%, -50%) scale(.84); }
  .step__text { flex: none; }
  .step__num { font-size: 44px; }

  .topic-article { padding: 28px 20px; border-radius: 28px; }
  .topic-article + .topic-article { margin-top: 20px; }
  .topic-article__top { gap: 24px; }
  .frame--sm img { width: 220px; height: 391px; }
  .modules { margin-top: 32px; }
  .modules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .module { padding: 8px 8px 14px; border-radius: 18px; gap: 10px; }
  .module figcaption { padding: 0 4px; }
  .module__name { font-size: 16px; }
  .module__desc { font-size: 13px; }
  .videos { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 8px; }
  .vframe { scroll-snap-align: start; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .lib-sections { gap: 48px; }
  .faq-wrap { gap: 24px; }
  .faq__item summary { font-size: 16px; padding: 18px 48px 18px 18px; }
  .faq__item summary::after { right: 20px; }
  .faq__item p { padding: 0 18px 18px; font-size: 15px; }
  .cta-strip { padding: 26px 22px; border-radius: 24px; }
  .cta-strip .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .topic-card, .lib-row { transition: none; }
}

/* ===== Landing ===== */
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__text { align-items: center; }
.offer { display: flex; align-items: center; gap: 18px; padding: 16px 22px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 20px; align-self: flex-start; }
.offer .price { font-size: 34px; line-height: 1; white-space: nowrap; }
.offer__lines { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.45; color: var(--text); }
.pill--mist { background: #E4ECEF; color: #3E5A66; }

.topics-full { display: flex; flex-direction: column; gap: 28px; }
.topic-full { display: flex; flex-wrap: wrap; gap: 40px 56px; background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: 48px 52px; box-shadow: 0 30px 60px -55px rgba(31,42,68,.45); }
.topic-full__main { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.topic-full__main .result { align-self: stretch; }
.topic-full__icon { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; }
.topic-full__icon--mist { background: #E4ECEF; color: #3E5A66; }
.topic-full__icon--lilac { background: #ECE8F4; color: var(--lilac-ink); }
.topic-full__icon--rose { background: var(--rose); color: var(--rose-ink); }
.topic-full__title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(22px, 2vw, 26px); line-height: 1.2; margin: 0; }
.topic-full__learn { flex: 1 1 320px; min-width: 0; background: var(--bg); border-radius: 24px; padding: 30px 30px; display: flex; flex-direction: column; gap: 18px; align-self: flex-start; }
.topic-full__learn-title { font-size: 15px; font-weight: 500; color: var(--gold); }
.topic-full__learn .checklist { font-size: 16px; gap: 12px; }

.example__title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin: 0; }
.site-shot { flex: 1 1 460px; min-width: 0; position: relative; padding: 0 40px 40px 0; max-width: 620px; margin: 0 auto; }
.site-shot__browser { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(31,42,68,.5); }
.site-shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3EEE6; border-bottom: 1px solid var(--line); }
.site-shot__bar span { width: 9px; height: 9px; border-radius: 50%; background: #DCD3C6; }
.site-shot__bar i { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 10px; background: #fff; border-radius: 999px; padding: 3px 12px; }
.site-shot__browser img { display: block; width: 100%; height: auto; }
.site-shot__phone { position: absolute; right: 0; bottom: 0; width: 30%; border-radius: 22px; overflow: hidden; border: 5px solid var(--ink); background: #fff; box-shadow: 0 24px 40px -24px rgba(31,42,68,.6); }
.site-shot__phone img { display: block; width: 100%; height: auto; }

.for-whom { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; }
.for-whom__head { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.for-whom__list { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; background: var(--bg); border-radius: 28px; padding: 36px; }

.teacher { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; max-width: 1000px; margin: 0 auto; }
.teacher__photo { flex: 0 0 220px; width: 220px; height: 220px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 8px var(--white), 0 30px 60px -30px rgba(31,42,68,.5); }
.teacher__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 860px) {
  .offer { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 18px; align-self: stretch; }
  .offer .price { font-size: 30px; }
  .topics-full { gap: 18px; }
  .topic-full { padding: 28px 20px; border-radius: 26px; gap: 24px; }
  .topic-full__learn { padding: 22px 20px; border-radius: 20px; }
  .site-shot { padding: 0 24px 28px 0; }
  .site-shot__phone { border-width: 3px; border-radius: 14px; }
  .for-whom__list { padding: 24px 20px; border-radius: 22px; }
  .teacher { gap: 24px; }
  .teacher__photo { flex-basis: 140px; width: 140px; height: 140px; }
}
.price-card .btn { justify-content: center; text-align: center; line-height: 1.3; padding-top: 15px; padding-bottom: 15px; height: auto; }
@media (max-width: 860px) { .teacher__photo { margin: 0 auto; } }

/* topics with examples */
.topic-full { align-items: center; }
.topic-full__main { flex: 1 1 440px; }
.topic-full__main .topic-full__learn { align-self: stretch; flex: none; margin: 6px 0 2px; }
.topic-full__example { flex: 1 1 440px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.topic-full__example .site-shot, .topic-full__example .videos { flex: none; width: 100%; }
.topic-full__example .site-shot { margin: 0; }
.example-cap { font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; max-width: 440px; }
.topic-full--wide .topic-full__main { flex-basis: 100%; }
.topic-full--wide .topic-full__main > .text { max-width: 760px; }
.topic-full--wide .topic-full__example { flex-basis: 100%; }
.topic-full--wide .modules { margin-top: 0; width: 100%; }
@media (max-width: 860px) {
  .topic-full__example { gap: 12px; }
  .topic-full__example .videos { margin: 0 -20px; width: calc(100% + 40px); }
}
/* пример сразу после описания: в широкой карточке и на телефоне */
.topic-full--wide { flex-direction: column; align-items: stretch; gap: 16px; }
.topic-full--wide .topic-full__main { display: contents; }
.topic-full--wide .topic-full__main > * { order: 1; }
.topic-full--wide .topic-full__example { order: 2; margin: 18px 0 10px; }
.topic-full--wide .topic-full__learn, .topic-full--wide .result, .topic-full--wide .btn { order: 3; }
.topic-full--wide .topic-full__icon, .topic-full--wide .btn { align-self: flex-start; }
.topic-full--wide .topic-full__learn .checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 860px) {
  .topic-full { flex-direction: column; align-items: stretch; gap: 16px; }
  .topic-full__main { display: contents; }
  .topic-full__main > * { order: 1; }
  .topic-full__example { order: 2; margin: 8px 0; }
  .topic-full__learn, .topic-full .result, .topic-full .btn { order: 3; }
  .topic-full__icon, .topic-full .btn { align-self: flex-start; }
  .topic-full--wide .topic-full__learn .checklist { grid-template-columns: 1fr; }
}
.topic-full { min-width: 0; } .topic-full > * , .topic-full__main > * { min-width: 0; max-width: 100%; }
@media (max-width: 860px) { .topic-full__example, .topic-full__learn { flex: none; } }

/* компактный первый экран на десктопе */
@media (min-width: 861px) {
  .hero { padding-top: 16px; padding-bottom: 64px; gap: 56px; }
  .hero__text { gap: 20px; }
  .hero .h1 { font-size: clamp(34px, 3.3vw, 46px); line-height: 1.12; }
  .hero .lead { font-size: 18px; line-height: 1.55; }
  .hero .frame video { width: 280px; height: 498px; border-radius: 28px; }
  .hero .frame-wrap { gap: 12px; }
}
/* видео: текст слева, ролики справа, ниже на всю ширину */
@media (min-width: 861px) {
  #video { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 56px; row-gap: 16px; align-items: start; }
  #video .topic-full__main > * { grid-column: 1; }
  #video .topic-full__example { grid-column: 2; grid-row: 1 / span 5; align-self: center; align-items: flex-start; margin: 0; }
  #video .topic-full__example .videos { justify-content: flex-start; }
  #video .example-cap { text-align: left; }
  #video .topic-full__learn, #video .result, #video .btn { grid-column: 1 / -1; }
  #video .topic-full__learn { margin-top: 16px; }
}
@media (min-width: 861px) { #video .btn { justify-self: start; } }
.topic-full--wide .example-cap { text-align: left; max-width: none; align-self: flex-start; }
/* фото преподавателя в рамке */
.teacher { align-items: center; }
.teacher__frame { flex: 0 0 320px; width: 320px; padding: 10px; background: var(--white); border-radius: 30px; box-shadow: 0 30px 60px -36px rgba(31,42,68,.45); }
.teacher__frame .teacher__photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 22px; box-shadow: none; flex: none; object-fit: cover; margin: 0; }
@media (max-width: 860px) {
  .teacher__frame { flex-basis: auto; width: 100%; max-width: 300px; margin: 0 auto; padding: 8px; border-radius: 26px; }
  .teacher__frame .teacher__photo { width: 100%; height: auto; border-radius: 20px; }
}
/* сайты: основной пример выше, под ним два маленьких */
#sites .topic-full__example { gap: 14px; }
#sites .site-mini { margin-top: 18px; }
.site-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 560px; }
.site-mini a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 34px -26px rgba(31,42,68,.5); transition: transform .25s ease; }
.site-mini a:hover { transform: translateY(-2px); }
.site-mini img { display: block; width: 100%; height: auto; }
/* подвал */
.legal { background: var(--sand); border-top: 1px solid var(--line); }
.legal__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.legal__inner a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(95,101,118,.45); }
.legal__inner a:hover { color: var(--ink); }
@media (max-width: 860px) { .legal__inner { flex-direction: column; align-items: flex-start; gap: 8px; } }
/* страница политики */
.legal-doc { max-width: 820px; display: flex; flex-direction: column; gap: 14px; color: var(--text); font-size: 16px; line-height: 1.65; }
.legal-doc h1 { margin-bottom: 12px; color: var(--ink); }
main.section:has(.legal-doc) { padding-top: 40px; }
.legal-doc h2 { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 22px; line-height: 1.3; margin: 22px 0 2px; }
.legal-doc p, .legal-doc li { margin: 0; overflow-wrap: anywhere; }
.legal-doc ul, .legal-doc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-doc a { color: var(--gold); }
.legal-doc strong { color: var(--ink); font-weight: 600; }
/* v2: узнавание */
.rc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.rc__card { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: 48px 52px 36px; box-shadow: 0 30px 60px -55px rgba(31,42,68,.45); }
.rc__title { margin-bottom: 28px; max-width: 520px; }
.rc__list { list-style: none; margin: 0; padding: 0; }
.rc-row { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.rc-row__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }
.rc-row__icon--mist { background: #E4ECEF; color: #3E5A66; }
.rc-row__icon--lilac { background: var(--lilac); color: var(--lilac-ink); }
.rc-row__icon--rose { background: var(--rose); color: var(--rose-ink); }
.rc-row__icon--sage { background: var(--sage); color: var(--sage-ink); }
.rc-row__icon--sand { background: #F3E6CF; color: var(--gold); }
.rc-row__text { font-size: 17px; line-height: 1.5; color: var(--text); }
.rc__answer { position: relative; border-radius: 32px; overflow: hidden; display: flex; align-items: flex-end; padding: 28px; min-height: 420px; }
.rc__answer-card { position: relative; z-index: 1; width: 100%; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 24px; padding: 32px 32px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; box-shadow: 0 24px 50px -34px rgba(31,42,68,.45); }
.rc__answer-line { width: 48px; height: 3px; border-radius: 3px; background: var(--gold-line); }
.rc__answer-text { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 1.9vw, 25px); line-height: 1.4; color: var(--ink); }
@media (max-width: 1080px) {
  .rc { grid-template-columns: 1fr; }
  .rc__answer { min-height: 360px; }
}
@media (max-width: 860px) {
  .rc { gap: 16px; }
  .rc__card { padding: 28px 20px 16px; border-radius: 26px; }
  .rc__title { margin-bottom: 18px; }
  .rc-row { gap: 14px; padding: 14px 0; align-items: flex-start; }
  .rc-row__icon { width: 38px; height: 38px; border-radius: 12px; }
  .rc-row__icon svg { width: 19px; height: 19px; }
  .rc-row__text { font-size: 16px; padding-top: 7px; }
  .rc__answer { min-height: 0; padding: 120px 14px 14px; border-radius: 26px; }
  .rc__answer-card { padding: 24px 20px; border-radius: 20px; gap: 16px; }
  .rc__answer .btn { align-self: stretch; justify-content: center; }
}
@media (min-width: 1081px) { .rc__answer { align-items: center; } }
/* v2: что можно сделать */
#projects .section-head { margin-bottom: 40px; }
.cando { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cando-card { background: var(--white); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -55px rgba(31,42,68,.45); }
.cando-card__art { position: relative; height: 300px; overflow: hidden; background-color: var(--sand); border-bottom: 1px solid var(--line); }
.cando-card__body { padding: 30px 34px 34px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cando-card__body .text { margin: 0; }
.cando-card__title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(22px, 2vw, 26px); line-height: 1.25; margin: 0; }
.cando-card__example { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--muted); }
.cando-card__example a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(138,90,31,.35); }
/* app art */
.cando-card__art--app { background: linear-gradient(160deg, #EEF0F5, #F4EDE3); }
.cando-app__desk { position: absolute; left: 32px; top: 36px; width: 82%; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(31,42,68,.5); }
.cando-app__phone { position: absolute; right: 28px; bottom: -20px; width: 30%; border-radius: 18px; border: 5px solid #fff; box-shadow: 0 24px 40px -20px rgba(31,42,68,.55); }
/* site art */
.cando-card__art--site { background: linear-gradient(160deg, #F4EDE3, #E8EEF0); }
.cando-site__back { position: absolute; right: 26px; top: 30px; width: 64%; border-radius: 12px; border: 1px solid var(--line); opacity: .9; }
.cando-site__main { position: absolute; left: 30px; bottom: 30px; width: 70%; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(31,42,68,.55); z-index: 1; }
/* video art */
.cando-card__art--video { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #F6E3DA, #F4EDE3); }
.cando-card__art--video .videos { flex: none; width: 100%; justify-content: center; gap: 14px; }
.cando-card__art--video .vframe { flex: 0 0 132px; width: 132px; height: 234px; }
.cando-card__art--video .vframe video { width: 118px; height: 220px; }
/* marketing art */
.cando-card__art--mkt { display: flex; align-items: center; justify-content: center; }
.cando-mkt__icon { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 26px; background: rgba(255,255,255,.88); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 20px 40px -24px rgba(31,42,68,.5); }
@media (max-width: 1080px) { .cando-card__art { height: 260px; } }
@media (max-width: 860px) {
  .cando { grid-template-columns: 1fr; gap: 16px; }
  .cando-card { border-radius: 26px; }
  .cando-card__art { height: 220px; }
  .cando-card__body { padding: 22px 20px 24px; }
  .cando-app__desk { left: 18px; top: 22px; }
  .cando-app__phone { right: 16px; }
  .cando-site__main { left: 18px; bottom: 20px; }
  .cando-site__back { right: 16px; top: 20px; }
  .cando-card__art--video .videos { overflow: visible; margin: 0; padding: 0; gap: 10px; }
  .cando-card__art--video .vframe { flex-basis: 96px; width: 96px; height: 172px; }
  .cando-card__art--video .vframe video { width: 86px; height: 162px; }
}
.pj-outro { max-width: 680px; margin: 48px auto 0; text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--ink); }
@media (max-width: 860px) { .pj-outro { margin-top: 28px; } }
/* v2: Life OS screens in app card */
.cando-card__art--app { background: linear-gradient(160deg, #ECEAF3, #F4EDE3); }
.cando-los { position: absolute; bottom: -24px; width: 34%; border-radius: 18px; border: 5px solid #fff; box-shadow: 0 24px 40px -24px rgba(31,42,68,.5); }
.cando-los--l { left: 9%; transform: rotate(-6deg); bottom: -10px; }
.cando-los--r { right: 9%; transform: rotate(6deg); bottom: -10px; }
.cando-los--c { left: 50%; transform: translateX(-50%); width: 38%; bottom: -40px; z-index: 1; }
/* v2: marketing mock */
.cando-card__art--mkt { background: linear-gradient(160deg, #F6E3DA, #F4EDE3 60%, #EEF0F5); display: flex; align-items: center; justify-content: center; gap: 16px; padding: 22px; }
.mk2-post { width: 168px; flex: none; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 24px 40px -26px rgba(31,42,68,.5); display: flex; flex-direction: column; gap: 8px; }
.mk2-post__head { display: flex; align-items: center; gap: 7px; }
.mk2-ava { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #F2D6A8, #C9A46E); }
.mk2-line { display: block; height: 6px; border-radius: 4px; background: #ECE4D8; width: 100%; }
.mk2-line--name { width: 60px; }
.mk2-line--s { width: 64%; }
.mk2-carousel { overflow: hidden; border-radius: 10px; aspect-ratio: 1; }
.mk2-slides { display: flex; width: 400%; height: 100%; animation: mk2-slide 9s infinite; }
.mk2-slide { width: 25%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; gap: 2px; color: var(--ink); }
.mk2-slide b { font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.mk2-slide i { font-style: normal; font-size: 11px; color: var(--text); }
.mk2-slide--1 { background: linear-gradient(160deg, #F2D6A8, #F6E3DA); }
.mk2-slide--2 { background: linear-gradient(160deg, #E5E1EE, #F4EDE3); }
.mk2-slide--3 { background: linear-gradient(160deg, #DDE6DA, #F4EDE3); }
.mk2-dots { display: flex; justify-content: center; gap: 4px; }
.mk2-dots span { width: 5px; height: 5px; border-radius: 50%; background: #DED5C8; animation: mk2-dot 9s infinite; }
.mk2-dots span:nth-child(2) { animation-delay: -6s; } .mk2-dots span:nth-child(3) { animation-delay: -3s; }
.mk2-text { display: flex; flex-direction: column; gap: 5px; }
.mk2-side { width: 190px; flex: none; display: flex; flex-direction: column; gap: 12px; }
.mk2-stats { background: #fff; border-radius: 16px; padding: 12px 12px 8px; box-shadow: 0 24px 40px -26px rgba(31,42,68,.5); }
.mk2-stats__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: var(--muted); }
.mk2-stats__top b { font-family: var(--serif); font-size: 18px; color: var(--sage-ink); }
.mk2-chart { display: block; width: 100%; height: 70px; margin-top: 4px; overflow: visible; }
.mk2-path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: mk2-draw 6s ease-in-out infinite; }
.mk2-area { opacity: 0; animation: mk2-area 6s ease-in-out infinite; }
.mk2-plan { background: #fff; border-radius: 16px; padding: 10px 12px 12px; box-shadow: 0 24px 40px -26px rgba(31,42,68,.5); display: flex; flex-direction: column; gap: 6px; }
.mk2-plan__title { font-size: 11px; color: var(--muted); }
.mk2-chip { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink); background: var(--bg); border-radius: 8px; padding: 4px 8px; opacity: 0; animation: mk2-chip 6s ease-out infinite; }
.mk2-chip em { font-style: normal; font-weight: 600; font-size: 10px; color: var(--gold); width: 16px; }
.mk2-chip--b { animation-delay: .4s; } .mk2-chip--c { animation-delay: .8s; }
@keyframes mk2-slide { 0%,28% { transform: translateX(0); } 33%,61% { transform: translateX(-25%); } 66%,94% { transform: translateX(-50%); } 100% { transform: translateX(-75%); } }
@keyframes mk2-dot { 0%,30% { background: var(--gold); } 34%,100% { background: #DED5C8; } }
@keyframes mk2-draw { 0% { stroke-dashoffset: 300; } 45%,85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes mk2-area { 0%,30% { opacity: 0; } 50%,85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mk2-chip { 0% { opacity: 0; transform: translateY(6px); } 12%,88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .mk2-slides, .mk2-dots span, .mk2-path, .mk2-area, .mk2-chip { animation: none; }
  .mk2-path { stroke-dashoffset: 0; } .mk2-area, .mk2-chip { opacity: 1; }
}
@media (max-width: 860px) {
  .cando-card__art--mkt { gap: 10px; padding: 14px; }
  .mk2-post { width: 138px; } .mk2-side { width: 160px; }
  .mk2-slide b { font-size: 16px; }
  .mk2-chart { height: 54px; }
}
/* v2: разбор идеи */
.rz-head { max-width: 820px; margin: 0 auto 44px; text-align: center; display: flex; flex-direction: column; gap: 16px; }
.rz-head .text { margin: 0; }
.rz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.rz-card { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: 40px 44px; box-shadow: 0 30px 60px -55px rgba(31,42,68,.45); }
.rz-card__title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(22px, 2vw, 26px); line-height: 1.25; margin: 0 0 18px; }
.rz-come-list { list-style: none; margin: 0; padding: 0; }
.rz-come { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.45; color: var(--text); }
.rz-come .rc-row__icon { width: 40px; height: 40px; border-radius: 12px; }
.rz-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rz-step { position: relative; display: flex; gap: 20px; padding: 0 0 26px; }
.rz-step:last-child { padding-bottom: 0; }
.rz-step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: repeating-linear-gradient(to bottom, var(--gold-line) 0 5px, transparent 5px 10px); opacity: .7; }
.rz-step__num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #F3E6CF; color: var(--gold); font-family: var(--serif); font-weight: 600; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.rz-step p { margin: 0; padding-top: 9px; font-size: 17px; line-height: 1.55; color: var(--text); }
.rz-price { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 24px 28px 24px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; box-shadow: 0 30px 60px -55px rgba(31,42,68,.45); }
.rz-price__info { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.rz-price .price { font-size: 38px; line-height: 1; }
.rz-price__note { font-size: 17px; color: var(--text); }
@media (max-width: 1080px) { .rz-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .rz-head { margin-bottom: 28px; text-align: left; }
  .rz-grid { gap: 16px; }
  .rz-card { padding: 28px 20px; border-radius: 26px; }
  .rz-come { font-size: 16px; gap: 14px; }
  .rz-come .rc-row__icon { width: 36px; height: 36px; }
  .rz-step { gap: 14px; }
  .rz-step__num { width: 38px; height: 38px; font-size: 18px; }
  .rz-step:not(:last-child)::after { left: 18px; top: 44px; }
  .rz-step p { font-size: 16px; padding-top: 6px; }
  .rz-price { margin-top: 16px; padding: 22px 20px; border-radius: 24px; }
  .rz-price .btn { width: 100%; justify-content: center; }
  .rz-price .price { font-size: 32px; }
}
/* v2: что вы получаете */
.rs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.rs__text { display: flex; flex-direction: column; gap: 20px; }
.rs__text .h2 { margin-bottom: 8px; }
.rs-item { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 24px 26px; box-shadow: 0 30px 60px -55px rgba(31,42,68,.45); }
.rs-item--main { border-color: var(--gold-line); box-shadow: 0 30px 60px -44px rgba(138,90,31,.35); }
.rs-item p { margin: 6px 0 0; font-size: 17px; line-height: 1.55; color: var(--text); }
.rs-item__title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 22px; line-height: 1.25; margin: 0; }
.rs-item__note { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 3px 10px; margin-left: 6px; vertical-align: middle; }
.rs__outro { margin: 12px 0 0; padding-left: 20px; border-left: 3px solid var(--gold-line); font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; color: var(--ink); }
.rs__art { position: relative; padding: 10px 20px 30px 10px; }
.rs-doc { position: relative; z-index: 1; background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 26px 28px; box-shadow: 0 40px 70px -40px rgba(31,42,68,.45); transform: rotate(1.2deg); display: flex; flex-direction: column; gap: 14px; }
.rs-doc--back { position: absolute; inset: 24px 0 8px 34px; transform: rotate(-3deg); background: #FBF7F1; box-shadow: none; z-index: 0; padding: 0; }
.rs-doc__top { display: flex; justify-content: space-between; align-items: center; }
.rs-doc__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.rs-doc__tag { font-size: 11px; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 2px 9px; }
.rs-doc__title { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rs-doc__block { display: flex; flex-direction: column; gap: 6px; }
.rs-doc__h { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rs-doc__block p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.rs-doc__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-doc__chips span { font-size: 13px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; }
.rs-doc__row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text); padding: 3px 0; border-bottom: 1px dashed #EFE7DB; }
.rs-doc__row b { font-weight: 600; color: var(--ink); }
.rs-doc__step { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text); padding: 2px 0; }
.rs-doc__step i { flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--gold-line); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.rs-doc__step--done i { background: var(--sage-ink); border-color: var(--sage-ink); }
.rs-doc__step--done { color: var(--muted); text-decoration: line-through; }
@media (max-width: 1080px) { .rs { grid-template-columns: 1fr; gap: 40px; } .rs__art { max-width: 560px; margin: 0 auto; width: 100%; } }
@media (max-width: 860px) {
  .rs-item { padding: 20px; gap: 14px; border-radius: 20px; }
  .rs-item p { font-size: 16px; }
  .rs-item__title { font-size: 20px; }
  .rs__art { padding: 6px 10px 20px 4px; }
  .rs-doc { padding: 20px; border-radius: 18px; }
}
/* v2: что дальше */
#next { padding-top: 0; }
.nx { position: relative; border-radius: 32px; overflow: hidden; padding: 36px; display: flex; justify-content: center; }
.nx__card { position: relative; z-index: 1; width: 100%; max-width: 1000px; background: rgba(255,255,255,.93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 24px; padding: 32px 36px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; box-shadow: 0 30px 60px -40px rgba(31,42,68,.45); }
.nx__left, .nx__right { display: flex; flex-direction: column; gap: 12px; }
.nx__kicker { font-size: 15px; font-weight: 500; color: var(--gold); }
.nx__title { margin: 0; font-size: clamp(24px, 2.2vw, 28px); }
.nx__lead { margin: 0; font-size: 16px; color: var(--text); }
.nx__list { list-style: none; margin: 0; padding: 0; }
.nx__list li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--text); }
.nx__list li:last-child { border-bottom: 1px solid var(--line); }
.nx__list .rc-row__icon { width: 36px; height: 36px; border-radius: 11px; }
.nx__list li > span:last-child { padding-top: 6px; }
.nx__note { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 860px) {
  .nx { padding: 72px 12px 12px; border-radius: 24px; }
  .nx__card { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; border-radius: 18px; }
}
@media (max-width: 860px) {
  .nx__card { display: flex; flex-direction: column; gap: 12px; }
  .nx__left, .nx__right { display: contents; }
  .nx__note { order: 5; margin-top: 4px; }
}
@media (max-width: 860px) { .nx__kicker { align-self: flex-start; } }
/* выделенная вводная фраза сопровождения */
.nx__lead { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.7vw, 21px); line-height: 1.4; color: var(--ink); padding-left: 14px; border-left: 3px solid var(--gold-line); margin-bottom: 4px; }
.cta-price__label { font-size: 15px; font-weight: 500; color: var(--gold); }
.price-card .cta-price__label { color: var(--peach); }
#book .cta-card { justify-content: center; }
/* v2: анимированная карта (mindmap) */
.rs__art--mm { padding: 0; background: linear-gradient(160deg, #EEF0F5, #F4EDE3 55%, #F6E3DA); border-radius: 32px; border: 1px solid var(--line); aspect-ratio: 560 / 470; display: flex; align-items: center; justify-content: center; }
.mm { width: 100%; height: 100%; display: block; overflow: visible; font-family: var(--sans); }
.mm-line { fill: none; stroke: var(--gold-line); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: mm-draw 10s ease-in-out infinite both; }
.mm-line--thin { stroke-width: 1.5; stroke-dasharray: 1; opacity: .8; }
.mm-node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: mm-pop 10s ease-out infinite both; }
.mm-node rect { fill: #fff; stroke: var(--line); stroke-width: 1; filter: drop-shadow(0 10px 14px rgba(31,42,68,.12)); }
.mm-node text { text-anchor: middle; font-size: 15px; font-weight: 500; fill: var(--ink); }
.mm-node--center rect { fill: var(--ink); stroke: none; }
.mm-node--center text { fill: #fff; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.mm-node--mist rect { fill: #E4ECEF; } .mm-node--lilac rect { fill: var(--lilac); } .mm-node--rose rect { fill: var(--rose); } .mm-node--sand rect { fill: #F3E6CF; }
.mm-node--leaf text { font-size: 13px; fill: var(--text); }
.mm-check { opacity: 0; transform-box: fill-box; transform-origin: center; animation: mm-pop 10s ease-out infinite both; }
.mm-check circle { fill: var(--sage-ink); }
.mm-check path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes mm-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 8% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 0; opacity: 1; } 92%,100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes mm-pop { 0% { opacity: 0; transform: scale(.85); } 5% { opacity: 1; transform: scale(1.04); } 8% { transform: scale(1); } 85% { opacity: 1; transform: scale(1); } 92%,100% { opacity: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .mm-line, .mm-node, .mm-check { animation: none; opacity: 1; stroke-dashoffset: 0; } }

/* Логотип со знаком и общий подвал сайта (главная, библиотека, статьи) */
.logo--mark { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; flex: none; }
.logo--light { color: #fff; }
.logo--light .logo__mark { background: var(--peach); }
.site-foot { background: var(--ink); color: #C9CFDB; padding: 72px 0 30px; }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); grid-template-areas: "about lib svc me"; gap: 48px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-foot__about { grid-area: about; } .site-foot__col--lib { grid-area: lib; } .site-foot__col--svc { grid-area: svc; } .site-foot__col--me { grid-area: me; }
.site-foot__about { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.site-foot__about p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 320px; }
.site-foot__tg { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; color: var(--peach); }
.site-foot__tg:hover { border-color: var(--peach); color: var(--peach); }
.site-foot__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.4; }
.site-foot__col b { font-size: 13.5px; font-weight: 500; color: var(--peach); margin-bottom: 6px; }
.site-foot__col a { color: #E6E9F0; text-decoration: none; }
.site-foot__col a:hover { color: var(--peach); }
.site-foot__col span { color: #8F98AB; }
.site-foot__col .site-foot__more { color: var(--peach); margin-top: 4px; }
.site-foot__legal { display: flex; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: #9AA3B5; }
.site-foot__legal a { color: #9AA3B5; }
.site-foot__legal a:hover { color: var(--peach); }
@media (max-width: 960px) { .site-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "about about about" "lib svc me"; gap: 36px 32px; } .site-foot__about p { max-width: 520px; } }
@media (max-width: 560px) { .site-foot { padding-top: 48px; } .site-foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "about about" "lib lib" "svc me"; gap: 32px 24px; padding-bottom: 36px; } .site-foot__legal { flex-direction: column; } }
