/* ============================================================
   ORTA — промо-сайт
   Бренд второго макета владельца («Своё. Для своих.», 19.10.2026) —
   тот же, что у приложения и веб-кабинета продавца. Токены сняты с
   mobile/lib/core/theme/app_colors.dart; имена в комментариях — имена
   токенов там. Правила оттуда же:
   - карточка на ступень СВЕТЛЕЕ страницы, край держат волосяная рамка
     и тёплая тень (ночью тени нет — только рамка);
   - золото — только заливкой и только с тёмной подписью; на хвое оно
     бывает знаком и значком (7.8:1);
   - хвоя на тёмной странице не видна (1.4:1), поэтому ночью текст и
     значки — шалфей, кнопки — лесная заливка, баннер светлее;
   - подписи на хвое — непрозрачные, а не белый с альфой: с альфой
     контраст плавал по градиенту.
   Цвет живёт только в токенах ниже — в правилах литералов нет (кроме
   @media print: там нарочно чёрное на белом).
   ============================================================ */

/* ---------- Шрифты ----------
   Те же файлы, что у кабинета (backend/static/brand/fonts, WOFF2 без
   подмножеств — казахские буквы, ₸ и № на месте). Начертаний ровно
   пять, как в приложении: Onest 400 и Golos 600 не подключаем — их нет
   и там, браузер дорисовал бы их сам. */

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-500.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-700.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Токены: светлая тема ---------- */

:root {
  /* бренд — одинаков в обеих темах */
  --pine: #02361B;            /* pine */
  --pine-raised: #0B4527;     /* pineRaised: светлый край баннера */
  --pine-soft: #1D5A3B;       /* pineSoft: плашки на хвое днём */
  --pine-plate: #153A30;      /* pinePlate */
  --gold: #F3BB5E;            /* gold: только заливкой */
  --on-gold: #0B1D17;         /* onGold: 10:1 на золоте */
  --on-pine: #FFFFFF;         /* onBrand */
  --on-pine-muted: #B8C0BA;   /* onBrandMuted: 7.3:1 на pine; на pine-soft только 4.4 — мелкий текст там не ставить */
  --on-pine-line: rgba(255, 255, 255, .4);   /* обводка второй кнопки на хвое */
  --on-pine-rule: rgba(255, 255, 255, .14);  /* разделитель на хвое — декор */
  --slogan-on-pine: #E7C27A;  /* sloganDark: 8:1 на хвое, дневной там не читается */
  --gold-ring: rgba(243, 187, 94, .35);      /* наведение золотой кнопки */
  --frame: #0B1D17;           /* корпус телефона в макете */
  --phone-shadow: 0 40px 80px -36px rgba(42, 33, 23, .45);
  --tab-shadow: 0 -5px 18px rgba(42, 33, 23, .06);   /* таббар — лист с тенью вверх, а не полоса с линией */

  /* поверхности */
  --paper: #FDF9F3;           /* paper: страница */
  --surface: #FFFDF9;         /* surface: карточки */
  --surface-raised: #FFFFFF;  /* surfaceRaised */
  --surface-alt: #F6F0E6;     /* surfaceAlt: поля ввода, наведение */
  --surface-high: #EEE7DB;    /* surfaceHigh */
  --section-tint: #F6F0E6;    /* тонированная секция: днём surfaceAlt */
  --card-on-tint: #FFFDF9;    /* карточка на ней — по-прежнему светлее */
  --line: #ECE5D9;            /* line: волосяные рамки — декор */
  --outline: #86817A;         /* outline: граница поля, 3.7:1 */

  /* текст */
  --ink: #0B1D17;             /* text */
  --ink-2: #505153;           /* textSecondary: 7.6:1 */
  --ink-3: #646361;           /* textMuted: 5.7:1 */
  --slogan: #8F6728;          /* slogan: 4.8:1 — только на paper и surface */

  /* акцент покупателя */
  --accent: var(--pine);      /* текст, ссылки, значки */
  --accent-fill: var(--pine); /* заливка главной кнопки */
  --accent-fill-hover: var(--pine-raised);
  --on-accent: #FFFFFF;       /* 13.6:1 */
  --accent-soft: #E4ECDC;     /* шалфейная метка (FeatureTag) */
  --on-accent-soft: var(--pine);
  --brand-mark: var(--pine);  /* знак и надпись днём — акцент */

  /* бежевые плашки */
  --sand: #F2E9DA;            /* sand: кружки под значками */
  --ornament-page: #F9F0E3;   /* ornament: орнамент-подложка */
  --tint-1: #F2E9DA;          /* круги категорий: песок */
  --tint-2: #FBE7D6;          /* персик */
  --tint-3: #F7E1DA;          /* роза */
  --tint-4: #E4ECDC;          /* шалфей */
  --tint-5: #F5ECCC;          /* топлёное масло */

  /* баннер */
  --banner-from: var(--pine-raised);
  --banner-to: var(--pine);
  --banner-plate: var(--pine-soft);
  --banner-ornament: .16;

  /* семантика — отдельно от бренда */
  --success: #27704A;
  --success-bg: #E3EFE6;
  --warning: #8A6200;
  --warning-bg: #F7EDD3;
  --danger: #B8352A;
  --danger-bg: #FBE6E1;

  /* карточки */
  --card-bg: var(--surface);
  --card-shadow: 0 3px 12px rgba(42, 33, 23, .06);   /* shadow #2A2117, 6 % */
  --tab-bg: var(--paper);
  /* .97, а не меньше: под шапкой проезжают хвойные блоки, и слоган
     тёмным золотом держит 4.5:1 только почти на чистой кости. */
  --header-bg: rgba(253, 249, 243, .97);

  /* переключатель темы показывает ту, в которую переключит */
  --icon-moon: block;
  --icon-sun: none;

  --r-btn: 10px;
  --r-chip: 14px;
  --r-card: 16px;
  --r-banner: 20px;

  --font-head: "Onest", "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 72px;

  color-scheme: light;
}

/* ---------- Токены: тёмная тема ----------
   «Кость с выключенным светом», а не графит. Блок повторён дважды:
   для системной темы и для выбранной вручную (data-theme на <html>,
   ставит js/main.js). Без препроцессора общий блок не вынести. */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15120E;           /* paperDark */
    --surface: #1F1B16;         /* surfaceDark */
    --surface-raised: #29241D;
    --surface-alt: #29241D;     /* surfaceAltDark */
    --surface-high: #332D25;    /* surfaceHighDark */
    --section-tint: #1F1B16;    /* ночью секция — surfaceDark, */
    --card-on-tint: #29241D;    /* а карточка на ней — ступенью светлее */
    --line: #3B352C;            /* lineDark */
    --outline: #8F8679;         /* outlineDark */
    --ink: #F7F1E7;             /* textDark: 16.6:1 */
    --ink-2: #D0C7B9;           /* textSecondaryDark */
    --ink-3: #A89F91;           /* textMutedDark: 7.1:1 */
    --slogan: #E7C27A;          /* sloganDark: 11:1 */
    --accent: #B5DCCB;          /* buyerDark: 12.5:1 */
    --accent-fill: #21704A;     /* buyerFillDark: белая подпись 6:1 */
    --accent-fill-hover: #1D5A3B;
    --accent-soft: #153A30;     /* pinePlate */
    --on-accent-soft: #CDE9DA;  /* onBuyerSoftDark */
    --brand-mark: #F7F1E7;      /* знак ночью — цвет текста */
    --sand: #332D25;            /* sandPlate ночью */
    --ornament-page: #3B2F1F;   /* ornamentDark */
    --tint-1: #2F2920;
    --tint-2: #38281D;
    --tint-3: #382625;
    --tint-4: #24302A;
    --tint-5: #353020;
    --banner-from: #153A30;     /* ночью баннер светлее: pinePlate → pineRaised */
    --banner-to: #0B4527;
    --banner-plate: #02361B;
    --banner-ornament: .12;
    --success: #5CC489;
    --success-bg: #263529;
    --warning: #E0B44F;
    --warning-bg: #3B3321;
    --danger: #F2836F;
    --danger-bg: #3F2B26;
    --card-bg: var(--surface);
    --card-shadow: none;
    --phone-shadow: none;
    --tab-shadow: none;
    --tab-bg: #1F1B16;
    --header-bg: rgba(21, 18, 14, .86);
    --icon-moon: none;
    --icon-sun: block;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #15120E;
  --surface: #1F1B16;
  --surface-raised: #29241D;
  --surface-alt: #29241D;
  --surface-high: #332D25;
  --section-tint: #1F1B16;
  --card-on-tint: #29241D;
  --line: #3B352C;
  --outline: #8F8679;
  --ink: #F7F1E7;
  --ink-2: #D0C7B9;
  --ink-3: #A89F91;
  --slogan: #E7C27A;
  --accent: #B5DCCB;
  --accent-fill: #21704A;
  --accent-fill-hover: #1D5A3B;
  --accent-soft: #153A30;
  --on-accent-soft: #CDE9DA;
  --brand-mark: #F7F1E7;
  --sand: #332D25;
  --ornament-page: #3B2F1F;
  --tint-1: #2F2920;
  --tint-2: #38281D;
  --tint-3: #382625;
  --tint-4: #24302A;
  --tint-5: #353020;
  --banner-from: #153A30;
  --banner-to: #0B4527;
  --banner-plate: #02361B;
  --banner-ornament: .12;
  --success: #5CC489;
  --success-bg: #263529;
  --warning: #E0B44F;
  --warning-bg: #3B3321;
  --danger: #F2836F;
  --danger-bg: #3F2B26;
  --card-bg: var(--surface);
  --card-shadow: none;
  --phone-shadow: none;
  --tab-shadow: none;
  --tab-bg: #1F1B16;
  --header-bg: rgba(21, 18, 14, .86);
  --icon-moon: none;
  --icon-sun: block;
  color-scheme: dark;
}

/* ---------- База ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Якорь не должен прятать заголовок под липкой шапкой. */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--gold); color: var(--on-gold); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-btn);
  background: var(--accent-fill);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .container { width: min(1200px, 100% - 48px); }
}
@media (min-width: 1200px) {
  .container { width: min(1200px, 100% - 64px); }
}

/* ---------- Типографика ---------- */

/* Надзаголовок (Overline приложения): Golos 500, капслок делает CSS —
   скринридер читает исходную строку обычным регистром. */
.eyebrow {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow--on-pine { color: var(--on-pine-muted); }

.h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.h3 {
  font-size: clamp(21px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* Хвоя к тексту — всего 1.3:1: ссылку в абзаце одним цветом не
   отличить. Поэтому у ссылок в тексте вес и подчёркивание. */
.lead a,
.qa__a a,
.form__hint a,
.legal-body a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.link-strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.link-strong svg { width: 18px; height: 18px; flex: none; }
.link-strong:hover { text-decoration-thickness: 2px; }

/* ---------- Кнопки ----------
   Главная — прямоугольник 50 px с радиусом 10 в цвете акцента, как
   ElevatedButton приложения. Золотая — только на хвое и пилюлей. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn__icon { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--accent-fill); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-fill-hover); }

.btn--outline { border-color: var(--outline); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--surface-alt); }

.btn--gold {
  min-height: 50px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
}
.btn--gold:hover { box-shadow: 0 0 0 4px var(--gold-ring); }

.btn--on-pine {
  border-radius: 999px;
  border-color: var(--on-pine-line);
  color: var(--on-pine);
}
.btn--on-pine:hover { background: var(--banner-plate); }

.btn--gold:focus-visible,
.btn--on-pine:focus-visible { outline-color: var(--gold); }

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

/* Логотип как в шапке приложения: знак, надпись и слоган тёмным
   золотом под надписью. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-mark);
  text-decoration: none;
  /* Сжимается при крупном шрифте браузера, иначе шапка вылезает за
     экран и даёт горизонтальную прокрутку. */
  flex: 0 1 auto;
  min-width: 0;
}
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.brand__word { width: 84px; height: 16px; flex: none; }
.brand__slogan {
  overflow: hidden;
  color: var(--slogan);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.brand--on-pine { color: var(--on-pine); }
.brand--on-pine .brand__mark { color: var(--gold); }
.brand--on-pine .brand__slogan { color: var(--slogan-on-pine); }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  padding: 10px 14px;
  border-radius: var(--r-btn);
  color: var(--ink-2);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.nav__link:hover { color: var(--ink); background: var(--surface-alt); }

.header__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
}
.icon-btn:hover { background: var(--surface-alt); }
.icon-btn svg { width: 22px; height: 22px; }
.theme-toggle__moon { display: var(--icon-moon); }
.theme-toggle__sun { display: var(--icon-sun); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  place-items: center;
  align-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mnav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mnav__inner { display: grid; padding: 8px 0 20px; }
.mnav__link {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.mnav .btn { margin-top: 16px; }

@media (max-width: 959px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__actions { margin-left: auto; }
}
@media (min-width: 960px) {
  .mnav { display: none !important; }
}
@media (max-width: 559px) {
  .header__cta { display: none; }
}

/* ---------- Секции ---------- */

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 112px);
}
.section--tint { background: var(--section-tint); --card-bg: var(--card-on-tint); }

.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section__head .lead { margin-top: 18px; }

/* Карточка второго макета: светлее страницы, волосяная рамка, тёплая
   тень днём. */
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

/* ---------- Герой ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px);
}
/* Орнамент-подложка за шапкой, обрезанный правым краем, — как на
   главной приложения. Декор: скрыт от скринридера. */
.hero__ornament {
  position: absolute;
  top: -180px;
  right: -200px;
  width: 720px;
  height: 720px;
  color: var(--ornament-page);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--on-accent-soft);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
}
.status-pill__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .status-pill__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.4s ease-out infinite;
  }
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(3); opacity: 0; }
}

.hero__title {
  color: var(--accent);
  font-size: clamp(52px, 7.6vw, 92px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.hero__sub {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.hero__lead {
  max-width: 34em;
  margin-top: 18px;
  font-size: clamp(17px, 1.5vw, 18.5px);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Чипы-факты (FactChip): surface, рамка line, радиус 14, голый значок. */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.fact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  background: var(--card-bg);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
}
.fact svg { width: 20px; height: 20px; flex: none; color: var(--accent); }

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__caption {
  max-width: 300px;
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 959px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__ornament { top: -120px; right: -260px; width: 560px; height: 560px; }
}

/* ---------- Телефон-мокап ----------
   Главная приложения по второму макету, в масштабе ~0.77 от 390 pt.
   Все цвета — токены страницы, поэтому экран переключается вместе
   с темой сайта, как приложение — вместе с темой телефона. */

.phone {
  position: relative;
  width: 300px;
  padding: 10px;
  border-radius: 46px;
  background: var(--frame);
  box-shadow: 0 0 0 1px var(--line), var(--phone-shadow);
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: var(--frame);
  transform: translateX(-50%);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  height: 600px;
  overflow: hidden;
  border-radius: 36px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}
.phone__screen svg { flex: none; }

.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 6px 28px;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
}
.ph-status__icons { display: flex; gap: 3px; align-items: flex-end; }
.ph-status__icons i { display: block; width: 4px; border-radius: 1px; background: var(--ink); }
.ph-status__icons i:nth-child(1) { height: 5px; }
.ph-status__icons i:nth-child(2) { height: 7px; }
.ph-status__icons i:nth-child(3) { height: 9px; }

.ph-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 0;
}
.ph-logo { display: flex; align-items: center; gap: 8px; color: var(--brand-mark); }
.ph-logo__mark { width: 30px; height: 30px; }
.ph-logo__text { display: flex; flex-direction: column; gap: 3px; }
.ph-logo__word { width: 66px; height: 12.5px; }
.ph-logo__slogan { color: var(--slogan); font-size: 9px; font-weight: 500; line-height: 1; }
.ph-top__icons { display: flex; gap: 12px; color: var(--ink); }
.ph-top__icons svg { width: 19px; height: 19px; }

.ph-search {
  display: flex;
  align-items: center;
  margin: 12px 14px 0;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  font-size: 9.5px;
}
/* Город — не шире 2/5 плашки, как в приложении; длинные подписи
   обрезаются многоточием, значки остаются на месте. */
.ph-search__city {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 3px;
  min-width: 0;
  max-width: 46%;
  padding: 0 6px 0 8px;
  font-size: 9px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}
.ph-search__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph-search__city svg { width: 12px; height: 12px; color: var(--accent); }
.ph-search__city .ph-search__chev { width: 10px; height: 10px; color: var(--ink-3); }
.ph-search__field {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0 10px;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 9px;
  white-space: nowrap;
}
.ph-search__field svg { width: 14px; height: 14px; color: var(--ink-2); }

.ph-hero {
  margin-top: 16px;
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: center;
}
.ph-hero-sub {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 10.5px;
  text-align: center;
}

.ph-banner {
  position: relative;
  display: flex;
  align-items: center;
  margin: 14px 14px 0;
  padding: 14px 12px 14px 16px;
  min-height: 132px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--banner-from), var(--banner-to));
}
.ph-banner__orn {
  position: absolute;
  top: -42px;
  right: -46px;
  width: 170px;
  height: 170px;
  color: var(--gold);
  opacity: var(--banner-ornament);
}
.ph-banner__text { position: relative; display: flex; flex-direction: column; gap: 6px; width: 64%; }
.ph-banner__eyebrow {
  color: var(--on-pine-muted);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ph-banner__title {
  color: var(--on-pine);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}
.ph-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 600;
}
.ph-banner__btn svg { width: 10px; height: 10px; }
.ph-banner__mark {
  position: relative;
  width: 62px;
  height: 62px;
  margin-left: auto;
  color: var(--gold);
}

.ph-cats {
  display: flex;
  gap: 4px;
  margin: 16px 0 0 10px;
  overflow: hidden;
}
.ph-cats span {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 60px;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}
.ph-cats i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--accent);
}
.ph-cats i svg { width: 21px; height: 21px; }
.ph-cats span:nth-child(5n+1) i { background: var(--tint-1); }
.ph-cats span:nth-child(5n+2) i { background: var(--tint-2); }
.ph-cats span:nth-child(5n+3) i { background: var(--tint-3); }
.ph-cats span:nth-child(5n+4) i { background: var(--tint-4); }
.ph-cats span:nth-child(5n+5) i { background: var(--tint-5); }

.ph-all {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 18px 14px 0;
  min-height: 38px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--on-gold);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
}
.ph-all svg { width: 14px; height: 14px; }

.ph-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: auto;
  padding: 10px 6px 18px;
  border-radius: 18px 18px 0 0;
  background: var(--tab-bg);
  box-shadow: var(--tab-shadow);
}
.ph-tabs span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--ink-3);
  font-size: 8.5px;
  font-weight: 500;
}
.ph-tabs svg { width: 19px; height: 19px; }
.ph-tabs .is-on { color: var(--accent); font-weight: 600; }

@media (max-width: 380px) {
  .phone { width: 280px; }
  .phone__screen { height: 570px; }
  .ph-cats span { width: 56px; }
}

/* ---------- Кто мы ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.about__text .h2 { margin-bottom: 20px; }
.about__text p + p { margin-top: 16px; }
.about__operator { color: var(--ink-3); font-size: 14.5px; }

/* Хвойный баннер приложения: градиент 135°, орнамент золотом за правым
   краем, знак ORTA золотом вместо фото. */
.mission,
.app-band,
.commission,
.closing {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-banner);
  background: linear-gradient(135deg, var(--banner-from), var(--banner-to));
  color: var(--on-pine);
}
.mission { padding: clamp(28px, 4vw, 44px); }
.mission__ornament,
.app-band__ornament,
.commission__ornament,
.closing__ornament {
  position: absolute;
  color: var(--gold);
  opacity: var(--banner-ornament);
  pointer-events: none;
}
.mission__ornament { top: -110px; right: -110px; width: 360px; height: 360px; }
.mission__mark { position: relative; width: 56px; height: 56px; margin-bottom: 28px; color: var(--gold); }
.mission .eyebrow { position: relative; }
.mission__quote p {
  position: relative;
  color: var(--on-pine);
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.mission__text {
  position: relative;
  max-width: 30em;
  margin-top: 18px;
  color: var(--on-pine-muted);
  font-size: 16px;
}

.principles__title { margin: clamp(56px, 7vw, 88px) 0 24px; }
.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.principle { padding: 26px 24px; }
/* Бежевый круг под значком (SpotTone.sand) — для ценностей и
   инструментов кабинета; знак в нём цвета чернил. */
.principle__icon,
.tool__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
}
.principle__icon svg,
.tool__icon svg { width: 22px; height: 22px; }
.principle__title {
  margin: 18px 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.principle p { font-size: 15.5px; line-height: 1.5; }

@media (max-width: 1099px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .principles { grid-template-columns: 1fr; }
}

/* ---------- Где мы сейчас ---------- */

.stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.stage { padding: 26px 26px 28px; }
.stage__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
}
.stage__tag svg { width: 15px; height: 15px; }
.stage--done .stage__tag { background: var(--success-bg); color: var(--success); }
.stage--now .stage__tag { background: var(--accent-soft); color: var(--on-accent-soft); }
.stage--next .stage__tag { background: var(--surface-high); color: var(--ink-2); }
.stage__dot,
.stage__ring {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.stage__dot { background: var(--accent); }
.stage__ring { border: 2px solid var(--ink-3); }
.stage__title {
  margin: 18px 0 14px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}
.stage__list { display: grid; gap: 10px; }
.stage__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.45;
}
.stage__list li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--outline);
}

@media (max-width: 899px) {
  .stages { grid-template-columns: 1fr; }
}

/* ---------- Шаги ---------- */

.steps {
  display: grid;
  gap: 16px;
}
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding: 26px 24px 28px; }
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-fill);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step__title {
  margin: 18px 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.step p { font-size: 15.5px; line-height: 1.5; }

@media (max-width: 1099px) {
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 799px) {
  .steps--3 { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .steps--4 { grid-template-columns: 1fr; }
}

/* ---------- Покупателям ---------- */

/* Значки второго макета — голые, цвета акцента. */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin-top: clamp(40px, 5vw, 56px);
}
.feature { display: flex; gap: 16px; }
.feature__icon { flex: none; color: var(--accent); }
.feature__icon svg { width: 28px; height: 28px; }
.feature b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.feature p { font-size: 15.5px; line-height: 1.5; }

@media (max-width: 699px) {
  .features { grid-template-columns: 1fr; }
}

.app-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 40px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 4vw, 44px);
}
.app-band__ornament { top: -120px; right: -90px; width: 340px; height: 340px; }
.app-band__text { position: relative; }
.app-band__title {
  color: var(--on-pine);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.app-band__note {
  max-width: 38em;
  margin-top: 14px;
  color: var(--on-pine-muted);
  font-size: 15.5px;
}

.stores { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 20px 8px 16px;
  border: 1px solid var(--on-pine-line);
  border-radius: 14px;
  background: var(--banner-plate);
  color: var(--on-pine);
  text-decoration: none;
}
.store[href]:hover { background: var(--pine); }
.store:not([href]) { cursor: default; }
/* Когда в STORE_LINKS появится адрес, плашка станет ссылкой; кольцо
   цвета акцента на хвое не видно. */
.store:focus-visible { outline-color: var(--gold); }
.store__logo { width: 24px; height: 24px; }
.store__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
}
.store__text small {
  color: var(--on-pine);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 799px) {
  .app-band { grid-template-columns: 1fr; }
}

/* ---------- Производителям ---------- */

.seller-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-top: 16px;
}
.cabinet { padding: clamp(24px, 3vw, 34px); }
.cabinet__title { font-size: 22px; font-weight: 600; }
.cabinet__lead { margin-top: 8px; font-size: 15.5px; }
.tools { display: grid; gap: 20px; margin: 26px 0; }
.tool { display: flex; gap: 16px; }
.tool__icon { flex: none; width: 42px; height: 42px; }
.tool__icon svg { width: 20px; height: 20px; }
.tool b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
}
.tool p { font-size: 15px; line-height: 1.5; }
.cabinet__foot {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.cabinet__foot > p:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.cabinet__note {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}

.commission { padding: clamp(28px, 3.5vw, 40px); }
.commission__ornament { top: -100px; right: -110px; width: 320px; height: 320px; }
.commission .eyebrow { position: relative; }
/* Число белым, как заголовки хвойных баннеров приложения: золото —
   заливка, знак и значки, но не текст. */
.commission__value {
  position: relative;
  color: var(--on-pine);
  font-family: var(--font-head);
  font-size: clamp(64px, 7vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.commission__label {
  position: relative;
  margin-top: 10px;
  color: var(--on-pine);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.commission__list { position: relative; display: grid; gap: 12px; margin-top: 24px; }
.commission__list li {
  display: flex;
  gap: 10px;
  color: var(--on-pine);
  font-size: 15px;
  line-height: 1.45;
}
.commission__list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold); }
.commission__note {
  position: relative;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--on-pine-rule);
  color: var(--on-pine-muted);
  font-size: 14.5px;
}
.commission__note a {
  color: var(--on-pine);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.commission a:focus-visible { outline-color: var(--gold); }

@media (max-width: 959px) {
  .seller-grid { grid-template-columns: 1fr; }
}

/* ---------- Заявка ---------- */

.apply {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}
.apply__intro .lead { margin-top: 18px; }
.apply__points { display: grid; gap: 12px; margin-top: 26px; }
.apply__points li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.apply__points svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--accent); }
.apply__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 15.5px;
}
.apply__contact svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.apply__contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.apply__card { padding: clamp(22px, 3vw, 34px); }

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
}
.req { color: var(--danger); }

/* Поле приложения: заливка surfaceAlt и рамка outline (3:1 по WCAG
   1.4.11); в фокусе — рамка акцента толщиной 1.6. */
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--outline);
  border-radius: var(--r-btn);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}
.field textarea { padding: 12px 14px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 .6px var(--accent);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--danger); }

/* Отметка согласия: подпись — обычный текст рядом с квадратом, а не
   заголовок поля. */
.field .check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 0;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.field .check input {
  flex: none;
  width: 22px;
  min-height: 0;
  height: 22px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent-fill);
  cursor: pointer;
}
.field .check a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.field.is-invalid .check input { outline: 2px solid var(--danger); outline-offset: 2px; }
.field__error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 14px;
  line-height: 1.4;
}

.form__status {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 15px;
}
.form__status--limit { background: var(--warning-bg); color: var(--warning); }
.form__status-icon { width: 20px; height: 20px; flex: none; margin-top: 1px; }

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 24px;
}
.form__hint { flex: 1 1 260px; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
.form__hint a { font-weight: 500; }

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
}
.is-loading .spinner { display: inline-block; animation: spin .8s linear infinite; }
.btn:disabled { cursor: progress; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-done { padding: 24px 8px; text-align: center; }
.form-done:focus { outline: none; }
.form-done__icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
}
.form-done__icon svg { width: 28px; height: 28px; }
.form-done__title { margin: 16px 0 8px; font-size: 22px; font-weight: 600; }
.form-done p { max-width: 30em; margin: 0 auto 22px; font-size: 15.5px; }
.form-done a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .is-loading .spinner { animation-duration: 2.4s; }
}
@media (max-width: 959px) {
  .apply { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }
}

/* ---------- Вопросы ---------- */

.faq__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.faq__head .lead { margin-top: 18px; }
.faq__groups {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}
.faq__group-title {
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 600;
}
.faq__list { display: grid; gap: 10px; }

.qa {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px 16px 22px;
  border-radius: var(--r-card);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--ink-3);
  transition: transform .2s ease;
}
.qa[open] summary svg { transform: rotate(180deg); }
.qa summary:hover svg { color: var(--accent); }
.qa__a { padding: 0 22px 20px; }
.qa__a p { font-size: 15.5px; line-height: 1.6; }
.qa__a p + p { margin-top: 10px; }

@media (max-width: 899px) {
  .faq__groups { grid-template-columns: 1fr; }
}

.closing {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 32px;
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 48px);
}
.closing__ornament { top: -130px; right: 18%; width: 360px; height: 360px; }
.closing__mark { position: relative; width: 64px; height: 64px; color: var(--gold); }
.closing__text { position: relative; }
.closing__title {
  color: var(--on-pine);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.closing__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 899px) {
  .closing { grid-template-columns: 1fr; }
  .closing__mark { width: 48px; height: 48px; }
}

/* ---------- Подвал ----------
   Хвойный, как баннеры: страница заканчивается брендом, а не серой
   полосой. Ночью — тот же светлый градиент, что у баннеров. */

.footer {
  padding: clamp(48px, 6vw, 72px) 0 28px;
  background: linear-gradient(160deg, var(--banner-from), var(--banner-to));
  color: var(--on-pine-muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer__brand .brand__mark { width: 40px; height: 40px; }
.footer__brand .brand__word { width: 92px; height: 17.5px; }
.footer__desc { max-width: 22em; margin-top: 18px; font-size: 15px; }
.footer__title {
  margin-bottom: 14px;
  color: var(--on-pine);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
}
.footer__links { display: grid; gap: 10px; font-size: 15px; }
.footer__links a {
  color: var(--on-pine-muted);
  text-decoration: none;
  transition: color .15s ease;
}
.footer__links a:hover { color: var(--on-pine); text-decoration: underline; text-underline-offset: 3px; }
.footer__links a[aria-current="page"] { color: var(--on-pine); font-weight: 600; }
.footer__contacts li { display: grid; gap: 2px; }
.footer__contacts span { font-size: 13px; }
.footer__contacts a { color: var(--on-pine); font-weight: 500; }
.footer a:focus-visible { outline-color: var(--gold); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--on-pine-rule);
  font-size: 13.5px;
}

@media (max-width: 899px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Юридические страницы ----------
   Тексты документов не трогаем — только их оформление. */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}
.legal-hero__ornament {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  /* Персик орнамента на тонированной шапке пропадает (1.01:1) — здесь
     он на ступень темнее фона. */
  color: var(--surface-high);
  pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 16px;
  color: var(--ink-2);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.legal-hero__back:hover { color: var(--accent); }
.legal-hero__back svg { width: 18px; height: 18px; }
.legal-hero h1 {
  max-width: 22em;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -.025em;
  /* «Конфиденциальности» на 320 px занимает всю строку без запаса. */
  overflow-wrap: anywhere;
  hyphens: auto;
  /* Заголовки документов набраны прописными; строчными с заглавной
     первой буквой они читаются легче. Сам текст документа не меняется. */
  text-transform: lowercase;
}
.legal-hero h1::first-letter { text-transform: uppercase; }
/* Заголовок набран как есть: нижний регистр сделал бы из ORTA «orta». */
.legal-hero h1.legal-hero__title--as-is { text-transform: none; }
.legal-hero__subtitle { margin-top: 12px; max-width: 40em; font-size: 17px; color: var(--ink-2); }

.legal-body { padding-block: clamp(32px, 5vw, 56px) clamp(64px, 8vw, 104px); }
/* Колонка текста — по левому краю шапки документа, но не шире ~75
   знаков в строке: длинную строку юридического текста не дочитывают. */
.legal-body > .container { overflow-wrap: anywhere; }
.legal-body > .container > * { max-width: 780px; }
.legal-body h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; margin: 44px 0 14px; }
.legal-body h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.legal-body p { margin-bottom: 14px; font-size: 16.5px; color: var(--ink-2); }
.legal-body p strong { color: var(--ink); }
.legal-body ul,
.legal-body ol { margin: 0 0 16px; padding-left: 22px; list-style: disc; font-size: 16.5px; color: var(--ink-2); }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { font-weight: 500; }
.legal-meta { font-size: 14.5px; color: var(--ink-3); }
.legal-body p.legal-meta { margin-bottom: 8px; font-size: 14.5px; color: var(--ink-3); }
.legal-body p.legal-meta[data-legal-version] {
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  background: var(--surface);
  color: var(--ink-2);
}
.legal-requisites {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.legal-body .legal-requisites p { margin-bottom: 4px; }

/* ---------- Печать ---------- */

@media print {
  .header, .footer, .skip-link, .hero__ornament, .legal-hero__ornament { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-hero { background: none; border: 0; }
}
