/* fonts.css */
/*
  Локальные шрифты (SIL Open Font License 1.1, лицензии лежат рядом с файлами).
  Подключены только подмножества latin + cyrillic. Браузер скачивает файл
  лишь тогда, когда начертание реально используется на странице.
*/

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("../fonts/playfair-display-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url("../fonts/playfair-display-cyrillic-wght-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* themes.css */
/*
  Темы направлений. Каждая тема — только набор токенов.
  Класс темы можно повесить на <body> (через body_class() в WordPress)
  или на отдельный блок: так на главной демонстрация перекрашивается
  под выбранный пример.

  Логика палитры: бренд опирается на сигнальные цвета охраны труда
  (жёлтый, синий, зелёный, красный). Каждое направление берёт свой.
*/

.theme-brand,
:root {
  --bg: #F7F7F2;
  --surface: #FFFFFF;
  --ink: #15151A;
  --muted: #55555D;
  --line: #DEDDD3;
  --primary: #15151A;
  --on-primary: #FFFFFF;
  --accent: #FFD21F;
  --on-accent: #15151A;
  --deep: #15151A;
  --on-deep: #F7F7F2;
  --deep-muted: #C9C8C0;
  --deep-line: rgba(255, 255, 255, 0.16);
  --soft: #EFEEE6;
  --focus: #1B3BD1;
  --focus-on-deep: #FFD21F;

  --font-display: var(--font-brand);
  --font-accent: var(--font-brand);
  --display-weight: 800;
  --display-tracking: -0.035em;
  --display-leading: 0.98;
  --accent-style: normal;

  --s-1: #FFD21F;
  --s-2: #1B3BD1;
  --s-3: #1E7A4C;
  --s-4: #D93A2B;
  --s-5: #15151A;
  --s-6: #8A8980;
  --s-7: #FF9F1C;
  --s-8: #6B6A72;
}

.theme-beauty {
  --bg: #FFF4EF;
  --surface: #FFFFFF;
  --ink: #2A0B1A;
  --muted: #6D4153;
  --line: #EFD3CA;
  --primary: #A8124E;
  --on-primary: #FFFFFF;
  --accent: #FF6A55;
  --on-accent: #2A0B1A;
  --deep: #4A0725;
  --on-deep: #FFF4EF;
  --deep-muted: #F2BFCB;
  --deep-line: rgba(255, 220, 228, 0.2);
  --soft: #FFDFD5;
  --focus: #2A0B1A;
  --focus-on-deep: #FFB3A6;

  --font-display: var(--font-body);
  --font-accent: "Playfair Display", Georgia, "Times New Roman", serif;
  --display-weight: 760;
  --display-tracking: -0.045em;
  --display-leading: 0.96;
  --accent-style: italic;

  --s-1: #A8124E;
  --s-2: #FF6A55;
  --s-3: #6A1E4A;
  --s-4: #E8A33D;
  --s-5: #C95B8A;
  --s-6: #2A0B1A;
  --s-7: #F29E8E;
  --s-8: #8C5A6B;
}

.theme-cosmetology {
  --bg: #F3F7FF;
  --surface: #FFFFFF;
  --ink: #0A1442;
  --muted: #434E78;
  --line: #D3DFF6;
  --primary: #1D3FD6;
  --on-primary: #FFFFFF;
  --accent: #A9DCFF;
  --on-accent: #0A1442;
  --deep: #0B1A63;
  --on-deep: #FFFFFF;
  --deep-muted: #BFD5FF;
  --deep-line: rgba(169, 220, 255, 0.22);
  --soft: #DCEAFF;
  --focus: #0A1442;
  --focus-on-deep: #A9DCFF;

  --font-display: var(--font-body);
  --font-accent: var(--font-body);
  --display-weight: 300;
  --display-tracking: -0.04em;
  --display-leading: 1;
  --accent-style: normal;

  --s-1: #1D3FD6;
  --s-2: #37A0F0;
  --s-3: #0B1A63;
  --s-4: #7B8FE8;
  --s-5: #00A3A3;
  --s-6: #5C6BA8;
  --s-7: #9BB8FF;
  --s-8: #2A2F4F;
}

.theme-vet {
  --bg: #F3F5EA;
  --surface: #FFFFFF;
  --ink: #0B241A;
  --muted: #45594D;
  --line: #D6DEC7;
  --primary: #0F4A35;
  --on-primary: #FFFFFF;
  --accent: #C6F23C;
  --on-accent: #0B241A;
  --deep: #0C3A2A;
  --on-deep: #F3F5EA;
  --deep-muted: #CFE3C0;
  --deep-line: rgba(198, 242, 60, 0.22);
  --soft: #E5F4BA;
  --sand: #EFE4CC;
  --focus: #0B241A;
  --focus-on-deep: #C6F23C;

  --font-display: var(--font-brand);
  --font-accent: var(--font-brand);
  --display-weight: 700;
  --display-tracking: -0.03em;
  --display-leading: 1.02;
  --accent-style: normal;

  --s-1: #0F4A35;
  --s-2: #7FB800;
  --s-3: #D98B2B;
  --s-4: #2E7D5B;
  --s-5: #B5452F;
  --s-6: #3C6E91;
  --s-7: #6F8A3A;
  --s-8: #0B241A;
}

/* Резерв под будущее направление: токены уже есть, страницы пока нет. */
.theme-auto {
  --bg: #F2F2F0;
  --ink: #17181B;
  --primary: #D93A2B;
  --accent: #FF8A1C;
  --deep: #1E2024;
}

/* base.css */
/* ============================================================
   ОхТруда · базовые стили
   Сброс, типографика, сетка, шапка с переключателем направлений,
   кнопки, общие секции, подвал. Цвета берутся из токенов темы.
   ============================================================ */

:root {
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-brand: "Unbounded", "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --fs-hero: clamp(2.15rem, 1rem + 5.4vw, 6rem);
  --fs-h2: clamp(1.75rem, 1.05rem + 2.9vw, 3.4rem);
  --fs-h3: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  --fs-lead: clamp(1.06rem, 0.98rem + 0.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

[hidden] {
  display: none !important;
}

/* ---------- фокус ---------- */

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.is-dark :focus-visible,
.is-dark:focus-visible {
  outline-color: var(--focus-on-deep);
}

.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: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- сетка ---------- */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 5vw + 40px, 128px);
}

.is-dark {
  background: var(--deep);
  color: var(--on-deep);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-label);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  font-size: var(--fs-hero);
}

.display em {
  font-family: var(--font-accent);
  font-style: var(--accent-style);
}

.h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: calc(var(--display-tracking) * 0.8);
  line-height: 1.04;
  font-size: var(--fs-h2);
}

.h2 em {
  font-family: var(--font-accent);
  font-style: var(--accent-style);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 38em;
}

.muted {
  color: var(--muted);
}

.is-dark .muted {
  color: var(--deep-muted);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 52rem;
}

.section-head p {
  max-width: 40em;
}

/* ---------- кнопки ---------- */

.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--btn-bg) 70%, transparent);
}

.btn:hover svg {
  transform: translate(3px, 0);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  border-color: currentColor;
}

.btn--ghost:hover {
  box-shadow: none;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- полоса статуса ---------- */

.status-strip {
  background: var(--ink);
  color: var(--bg);
  font-size: 0.875rem;
  line-height: 1.35;
}

.status-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  padding-block: 9px;
}

.status-strip b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}

.status-strip b::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
}

/* ---------- шапка и переключатель направлений ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.logo__mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.logo__mark .m-sheet {
  fill: #FFD21F;
}

.logo__mark .m-ink {
  fill: #15151A;
}

.niche-nav {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.niche-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.niche-nav__list::-webkit-scrollbar {
  display: none;
}

.niche-nav__list > li {
  flex: none;
  scroll-snap-align: start;
}

.niche-nav__item {
  --dot: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.niche-nav__item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--dot);
  transition: transform 0.3s var(--ease-spring), border-radius 0.3s;
}

a.niche-nav__item:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

a.niche-nav__item:hover::before {
  transform: rotate(45deg) scale(1.15);
}

.niche-nav__item[aria-current="page"] {
  background: var(--ink);
  color: var(--bg);
}

.niche-nav__item[aria-current="page"]::before {
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 2px var(--bg);
}

.niche-nav__item--all {
  --dot: transparent;
  font-weight: 650;
}

.niche-nav__item--all::before {
  width: 14px;
  height: 14px;
  border-radius: 0;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 6px 6px no-repeat;
}

.niche-nav__item--all[aria-current="page"]::before {
  box-shadow: none;
  border-radius: 0;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 6px 6px no-repeat;
}

.niche-nav__sep {
  width: 1px;
  height: 24px;
  margin-inline: 6px;
  background: var(--line);
}

.niche-nav__item--beauty { --dot: #FF6A55; }
.niche-nav__item--cosmetology { --dot: #2F55F0; }
.niche-nav__item--vet { --dot: #9BD21E; }

.niche-nav__item--soon {
  --dot: transparent;
  color: var(--muted);
  cursor: default;
}

.niche-nav__item--soon::before {
  border: 2px dashed currentColor;
  width: 12px;
  height: 12px;
}

.soon-badge {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  :root {
    --header-h: 58px;
  }
}

/* до 1000 px переключатель занимает всю строку: знак без подписи,
   список прокручивается внутри себя, край подсказывает прокрутку */
@media (max-width: 1000px) {
  .logo__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-header__bar {
    gap: 8px;
  }

  .niche-nav.is-overflowing:not(.is-end)::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 28px;
    pointer-events: none;
    background: linear-gradient(to right, transparent, var(--bg));
  }

  .niche-nav__item {
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  /* «Все направления» закреплена: остальное листается под ней */
  .niche-nav__list > li:first-child {
    position: sticky;
    left: -4px;
    z-index: 1;
    padding-right: 4px;
    background: var(--bg);
    box-shadow: 10px 0 10px -8px color-mix(in srgb, var(--ink) 30%, transparent);
  }

  .niche-nav:not(.is-overflowing) .niche-nav__list > li:first-child {
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .niche-nav__tail {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}


/* ---------- заметки о статусе ---------- */

.demo-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 44rem;
  padding: 16px 18px;
  border: 1.5px dashed color-mix(in srgb, currentColor 45%, transparent);
  border-radius: 14px;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.demo-note svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
}

/* ---------- способы покупки ---------- */

.buy-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.buy-mode {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  padding: 28px clamp(16px, 2.4vw, 32px) 32px 0;
}

.buy-mode + .buy-mode {
  padding-left: clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}

.buy-mode__art {
  height: 120px;
  width: 100%;
}

.buy-mode__title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);
  letter-spacing: calc(var(--display-tracking) * 0.6);
  line-height: 1.05;
}

.buy-mode__example {
  align-self: end;
  font-size: var(--fs-small);
  color: var(--muted);
}

.buy-mode__example b {
  color: var(--ink);
  font-weight: 600;
}

.buy-foot {
  margin-top: 28px;
  font-size: var(--fs-small);
  color: var(--muted);
}

@media (max-width: 820px) {
  .buy-modes {
    grid-template-columns: 1fr;
  }

  .buy-mode,
  .buy-mode + .buy-mode {
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto;
    column-gap: 18px;
    row-gap: 6px;
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .buy-mode__art {
    grid-row: span 3;
    height: 88px;
  }
}

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

.faq {
  display: grid;
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.3;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat,
    var(--soft);
  transition: transform 0.35s var(--ease), background-color 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq summary:hover::after {
  background-color: var(--accent);
}

.faq details > div {
  padding: 0 0 24px;
  max-width: 44em;
  color: var(--muted);
}

/* ---------- другие направления ---------- */

.cross {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0;
  border-top: 1px solid var(--deep-line);
}

.cross__link {
  --dot: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 84px;
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--deep-line);
  text-decoration: none;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  letter-spacing: -0.02em;
  transition: padding 0.3s var(--ease), color 0.2s;
}

.cross__link span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cross__link span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--dot);
  flex: none;
}

.cross__link svg {
  width: 26px;
  height: 26px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

a.cross__link:hover {
  padding-left: 12px;
}

a.cross__link:hover svg {
  transform: translateX(4px);
}

.cross__link--beauty { --dot: #FF6A55; }
.cross__link--cosmetology { --dot: #5B7CFF; }
.cross__link--vet { --dot: #C6F23C; }

.cross__link--soon {
  color: var(--deep-muted);
  font-weight: 500;
}

.cross__link--soon span::before {
  background: transparent;
  border: 2px dashed currentColor;
}

/* ---------- подвал ---------- */

.site-footer {
  padding-block: 48px 40px;
  background: var(--deep);
  color: var(--on-deep);
  font-size: var(--fs-small);
}

.site-footer .wrap {
  display: grid;
  gap: 28px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  align-items: flex-start;
}

.site-footer__note {
  max-width: 40em;
  color: var(--deep-muted);
}

.site-footer .logo {
  color: var(--on-deep);
}

/* ---------- появление при загрузке ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94) rotate(var(--r, 0deg));
  }
  to {
    opacity: 1;
    transform: rotate(var(--r, 0deg));
  }
}

.rise {
  animation: rise 0.8s var(--ease) both;
  animation-delay: var(--delay, 0s);
}

/* ---------- уменьшение движения ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- иллюстрации способов покупки ---------- */

.ba-paper {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 2;
}

.ba-accent {
  fill: var(--accent);
}

.ba-primary {
  fill: var(--primary);
}

.ba-soft {
  fill: var(--soft);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.ba-cover {
  fill: var(--primary);
  stroke: var(--ink);
  stroke-width: 2;
}

.ba-cover-line {
  fill: none;
  stroke: var(--on-primary);
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0.8;
}

.ba-line {
  fill: none;
  stroke: color-mix(in srgb, var(--ink) 28%, transparent);
  stroke-width: 4;
  stroke-linecap: round;
}

/* picker.css */
/* ============================================================
   Подбор примера состава: общая рамка, «опись» документов,
   переключатели. Внешний вид самих услуг задаётся в CSS
   направления (дуги, таблица, план клиники).
   ============================================================ */

.picker {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 56px);
  align-items: start;
}

.picker__form {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
  min-width: 0;
}

/* нативный input остаётся доступным с клавиатуры и для скринридера,
   а внешний вид рисует соседний элемент */
.sr-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.picker__form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.picker__legend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: max(600, var(--display-weight));
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.picker__legend small {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

/* ---------- переключатель (switch) ---------- */

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.switch-row:hover {
  border-color: var(--ink);
}

.switch-row__text {
  display: grid;
  gap: 2px;
}

.switch-row__text b {
  font-weight: 650;
}

.switch-row__text small {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.switch {
  position: relative;
  flex: none;
  width: 56px;
  height: 34px;
  margin: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color 0.25s;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s var(--ease-spring);
}

.switch:checked {
  background: var(--primary);
}

.switch:checked::after {
  transform: translateX(22px);
}

/* ---------- текстовое поле ---------- */

.field-text {
  display: grid;
  gap: 8px;
}

.field-text label {
  font-weight: 650;
}

.field-text small {
  color: var(--muted);
  font-size: 0.875rem;
}

.field-text input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-text input::placeholder {
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.field-text input:hover {
  border-color: var(--ink);
}

.field-text input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--ink);
}

.picker__extra {
  display: grid;
  gap: 14px;
}

.picker__reset {
  justify-self: start;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: none;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: var(--muted);
}

.picker__reset:hover {
  color: var(--ink);
}

/* мини-итог для телефона: остаётся видимым, пока листаете форму */
.picker__mini {
  display: none;
}

@media (max-width: 900px) {
  .picker {
    grid-template-columns: minmax(0, 1fr);
  }

  .picker__mini {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
    font-weight: 650;
  }

  .picker__mini a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    text-decoration: none;
    font-size: 0.9375rem;
    white-space: nowrap;
  }
}

/* ---------- опись документов ---------- */

.compose {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--header-h) - 40px);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--deep) 70%, transparent);
  overflow: hidden;
}

.compose__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: 16px;
  padding: 22px 24px 20px;
  background: var(--primary);
  color: var(--on-primary);
}

.compose__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  font-size: var(--fs-label);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.compose__num {
  display: inline-block;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(3rem, 2.2rem + 2.4vw, 4.4rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.compose__num.is-bump {
  animation: bump 0.45s var(--ease-spring);
}

@keyframes bump {
  40% { transform: scale(1.12); }
}

.compose__count {
  display: contents;
}

.compose__meta {
  max-width: 11em;
  font-weight: 650;
  line-height: 1.25;
  padding-bottom: 4px;
}

.compose__meta span {
  font-weight: 500;
  opacity: 0.9;
}

.compose__hint {
  margin: 16px 24px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--soft);
  font-size: 0.9375rem;
}

.compose__list {
  counter-reset: doc;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 8px 24px 12px;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.compose__sec,
.compose__doc {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s var(--ease), opacity 0.35s;
}

.compose__sec-inner,
.compose__doc-inner {
  min-height: 0;
  overflow: hidden;
}

.compose__sec.is-entering,
.compose__sec.is-leaving,
.compose__doc.is-entering,
.compose__doc.is-leaving {
  grid-template-rows: 0fr;
  opacity: 0;
}

.compose__sec-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.compose__sec-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.compose__sec-name::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--tone);
  flex: none;
}

.compose__sec-count {
  min-width: 28px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.compose__docs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compose__doc {
  counter-increment: doc;
}

.compose__doc-inner {
  display: grid;
  grid-template-columns: 2.2em minmax(0, 1fr);
  gap: 10px;
  padding: 9px 8px;
  margin-inline: -8px;
  border-top: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: background-color 0.9s;
}

.compose__doc-icon::before {
  content: counter(doc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.compose__doc.is-new .compose__doc-inner {
  background: color-mix(in srgb, var(--accent) 38%, transparent);
  transition: background-color 0.1s;
}

.compose__note {
  padding: 14px 24px 18px;
  border-top: 1px dashed var(--line);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 900px) {
  .compose {
    position: static;
    max-height: none;
  }

  .compose__list {
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .compose__head,
  .compose__list,
  .compose__note {
    padding-inline: 18px;
  }

  .compose__hint {
    margin-inline: 18px;
  }
}

/* demo.css */
/* ============================================================
   Демонстрация «Как это работает»
   Весь блок, включая стрелки, шаги и паузу, — один объект.
   Цвета приходят из темы направления (класс theme-* на body
   или на самом блоке).
   ============================================================ */

.demo {
  --demo-pad: clamp(14px, 2.2vw, 28px);
  position: relative;
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  padding: var(--demo-pad);
  border-radius: clamp(22px, 3vw, 40px);
  background: var(--deep);
  color: var(--on-deep);
  isolation: isolate;
  /* Clip decoration without becoming a scroll container on keyboard focus. */
  overflow: clip;
  transition: background-color 0.5s var(--ease);
}

.demo::before {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.45;
  z-index: -1;
  transition: background-color 0.5s;
}

/* ---------- верхняя строка ---------- */

.demo__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.demo__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--on-deep) 12%, transparent);
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.2;
}

.demo__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.demo__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--on-deep);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.demo__link:hover {
  color: var(--accent);
}

.demo__niches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.demo__niches-label {
  font-size: 0.8125rem;
  color: var(--deep-muted);
  margin-right: 4px;
}

.demo__niche {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--on-deep) 35%, transparent);
  background: transparent;
  color: var(--on-deep);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.demo__niche:hover {
  border-color: var(--on-deep);
}

.demo__niche[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

/* ---------- тело: подпись + холст ---------- */

.demo__body {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 2fr);
  gap: clamp(16px, 2.4vw, 36px);
  align-items: stretch;
  border-radius: 18px;
}

.demo__body:focus-visible {
  outline-offset: 6px;
}

.demo__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.demo__captions {
  display: grid;
}

.demo__cap {
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.5s var(--ease), visibility 0s linear 0.35s;
}

.demo__cap.is-current {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.45s 0.1s, transform 0.6s var(--ease) 0.1s, visibility 0s;
}

.demo__num {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5.2rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.demo__title {
  font-family: var(--font-display);
  font-weight: max(600, var(--display-weight));
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.demo__text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--deep-muted);
  max-width: 30em;
}

.demo__choice-wrap {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--deep-line);
  font-size: 0.875rem;
}

.demo__choice-wrap span {
  color: var(--deep-muted);
}

.demo__choice {
  font-weight: 600;
}

.demo__keys {
  font-size: 0.8125rem;
  color: var(--deep-muted);
}

.demo__keys kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: 1px 6px;
  border: 1px solid var(--deep-line);
  border-bottom-width: 2px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
  color: var(--on-deep);
}

.demo__stage {
  container-type: inline-size;
  min-width: 0;
}

.demo__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.4;
  max-width: 100%;
  overflow: hidden;
  border-radius: clamp(16px, 2vw, 24px);
  background: color-mix(in srgb, var(--on-deep) 7%, transparent);
  font-size: clamp(13px, 1.9cqw, 15px);
  line-height: 1.3;
  user-select: none;
  -webkit-user-select: none;
}

@container (max-width: 559px) {
  .demo__canvas {
    aspect-ratio: 1 / 1.12;
  }
}

/* ---------- объекты сцены ---------- */

.demo__canvas .o {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--r, 0deg)) scale(var(--s, 1));
  opacity: var(--o, 1);
  transition:
    transform 0.85s var(--ease) var(--d, 0ms),
    opacity 0.5s ease var(--d, 0ms),
    width 0.7s var(--ease) var(--d, 0ms),
    height 0.7s var(--ease) var(--d, 0ms),
    background-color 0.4s,
    color 0.4s,
    border-color 0.4s;
}

.demo__canvas.no-anim .o,
.demo__canvas.no-anim .o * {
  transition: none !important;
}

/* чипы услуг */
.o-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  width: max-content;
  height: 2.6em;
  padding: 0 1.1em 0 0.55em;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--on-deep) 32%, transparent);
  background: color-mix(in srgb, var(--on-deep) 8%, var(--deep));
  color: var(--on-deep);
  font-weight: 650;
  white-space: nowrap;
}

.o-chip__check {
  display: grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background-color 0.3s, border-color 0.3s;
}

.o-chip__check svg {
  width: 1em;
  height: 1em;
  opacity: 0;
  transform: scale(0.3) rotate(-20deg);
  transition: transform 0.45s var(--ease-spring), opacity 0.2s;
}

.o-chip.is-on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.o-chip.is-on .o-chip__check {
  background: var(--on-accent);
  border-color: var(--on-accent);
  color: var(--accent);
}

.o-chip.is-on .o-chip__check svg {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--d, 0ms) + 250ms);
}

.o-chip--format {
  padding-left: 1em;
  border-color: transparent;
  background: var(--on-deep);
  color: var(--deep);
}

.o-chip__k {
  font-family: var(--font-mono);
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* курсор-подсказка в первой сцене */
.o-cursor {
  width: 1.9em;
  height: 1.9em;
}

.o-cursor svg {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.o-cursor__ring {
  position: absolute;
  left: -0.35em;
  top: -0.35em;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  border: 2px solid var(--on-deep);
  opacity: 0;
}

.demo__canvas[data-scene="0"] .o-cursor__ring {
  animation: demo-ring 1.8s ease-out 1.1s infinite;
}

@keyframes demo-ring {
  0% { transform: scale(0.4); opacity: 0.9; }
  70%, 100% { transform: scale(2.2); opacity: 0; }
}

/* анкета */
.o-form {
  display: flex;
  flex-direction: column;
  padding: 1.1em;
  border-radius: 1.1em;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1.6em 3em -1.4em rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.o-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  padding-bottom: 0.7em;
  border-bottom: 1.5px solid var(--ink);
}

.o-form__title {
  font-family: var(--font-display);
  font-weight: max(650, var(--display-weight));
  font-size: 1.3em;
  letter-spacing: -0.02em;
}

.o-form__badge {
  padding: 0.3em 0.7em;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.72em;
  font-weight: 650;
  white-space: nowrap;
}

.o-form__field {
  display: grid;
  gap: 0.1em;
  padding: 0.38em 0;
  border-bottom: 1px dashed var(--line);
}

.o-form__label {
  font-size: 0.72em;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.o-form__value {
  min-height: 1.35em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.o-form__value.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--primary);
  animation: demo-caret 0.8s steps(1) infinite;
}

@keyframes demo-caret {
  50% { opacity: 0; }
}

.o-form__slot {
  margin-top: auto;
  min-height: var(--slot-h, 5em);
  padding-top: 0.5em;
}

/* узкий холст: короткие поля встают парами, чтобы чипам хватило места */
.demo__canvas[data-wide="false"] .o-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto 1fr;
  column-gap: 0.9em;
}

.demo__canvas[data-wide="false"] .o-form__head,
.demo__canvas[data-wide="false"] .o-form__field--wide,
.demo__canvas[data-wide="false"] .o-form__slot {
  grid-column: 1 / -1;
}

.demo__canvas[data-wide="false"] .o-form__slot {
  align-self: end;
  margin-top: 0;
}

/* листы документов */
.o-doc {
  --tone: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  padding: 0.75em 0.8em;
  border-radius: 0.6em;
  border-top: 0.4em solid var(--tone);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1.2em 2.2em -1.2em rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.o-doc.is-empty {
  visibility: hidden;
}

.o-doc__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.o-doc__tag::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--tone);
  flex: none;
}

.o-doc__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-weight: 650;
  font-size: 0.86em;
  line-height: 1.25;
}

.o-doc__lines {
  display: grid;
  gap: 0.4em;
  margin-top: auto;
}

.o-doc__lines i {
  display: block;
  height: 0.3em;
  border-radius: 2px;
  background: var(--line);
}

.o-doc__lines i:nth-child(2) { width: 84%; }
.o-doc__lines i:nth-child(3) { width: 58%; }

.o-doc__ext {
  display: none;
}

.demo__canvas[data-wide="false"] .o-doc[data-shape="sheet"] {
  padding: 0.55em 0.6em;
  gap: 0.3em;
}

.demo__canvas[data-wide="false"] .o-doc[data-shape="sheet"] .o-doc__title {
  -webkit-line-clamp: 2;
  font-size: 0.8em;
}

.demo__canvas[data-wide="false"] .o-doc__lines {
  display: none;
}

.o-doc[data-shape="row"] {
  flex-direction: row;
  align-items: center;
  gap: 0.7em;
  padding: 0 0.7em 0 0.8em;
  border-top: 0;
  border-left: 0.4em solid var(--tone);
  border-radius: 0.5em;
  box-shadow: none;
}

.o-doc[data-shape="row"] .o-doc__tag,
.o-doc[data-shape="row"] .o-doc__lines {
  display: none;
}

.o-doc[data-shape="row"] .o-doc__title {
  display: block;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.82em;
}

.o-doc[data-shape="row"] .o-doc__ext {
  display: inline-flex;
  padding: 0.25em 0.5em;
  border-radius: 0.35em;
  background: var(--deep);
  color: var(--on-deep);
  font-family: var(--font-mono);
  font-size: 0.66em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.o-doc--more {
  display: grid;
  place-items: center;
  border: 2px dashed color-mix(in srgb, var(--on-deep) 45%, transparent);
  background: transparent;
  color: var(--on-deep);
  box-shadow: none;
}

.o-doc__plus {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 2em;
  letter-spacing: -0.04em;
}

.o-doc--more[data-shape="row"] {
  display: flex;
  justify-content: flex-start;
  border-left-width: 2px;
  border-style: dashed;
}

.o-doc--more[data-shape="row"] .o-doc__plus {
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 650;
  letter-spacing: 0;
}

/* счётчик состава */
.o-counter {
  display: flex;
  align-items: flex-end;
  gap: 0.5em;
  width: max-content;
  color: var(--on-deep);
}

.o-counter__num {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 3.6em;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.o-counter__text {
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.25;
}

/* лоток файлов */
.o-tray {
  border: 1.5px solid color-mix(in srgb, var(--on-deep) 25%, transparent);
  border-radius: 1em;
  background: color-mix(in srgb, var(--on-deep) 8%, transparent);
  color: var(--on-deep);
}

.o-tray__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  height: 2.9em;
  padding: 0 0.9em;
  font-weight: 700;
}

.o-tray__count {
  font-size: 0.8em;
  font-weight: 600;
  color: var(--deep-muted);
}

.o-tray__gate {
  position: absolute;
  left: 0.8em;
  right: 0.8em;
  bottom: 0.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.3em;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.o-tray__gate svg {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.demo__canvas[data-scene="3"] .o-tray__gate {
  animation: demo-gate 0.7s var(--ease-spring) 0.9s both;
}

@keyframes demo-gate {
  from { transform: translateY(0.8em) scale(0.9); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* превью документа с данными */
.o-preview {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  padding: 1.2em 1.3em;
  border-radius: 0.6em;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1.6em 3em -1.3em rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.o-preview__approve {
  display: grid;
  align-self: flex-end;
  max-width: 64%;
  font-size: 0.72em;
  line-height: 1.4;
}

.o-preview__approve > span:first-child {
  font-weight: 800;
  letter-spacing: 0.1em;
}

.o-preview__sign {
  color: var(--muted);
}

.o-preview mark {
  padding: 0 0.2em;
  border-radius: 0.2em;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 0 / 100% 100%;
  color: inherit;
}

.demo__canvas[data-scene="3"] .o-preview mark {
  animation: demo-mark 0.7s var(--ease) 1s both;
}

@keyframes demo-mark {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}

.o-preview__title {
  font-weight: 800;
  font-size: 1.02em;
  line-height: 1.2;
  text-align: center;
}

.o-preview__text {
  font-size: 0.76em;
  line-height: 1.5;
}

.o-preview__lines {
  display: grid;
  gap: 0.55em;
}

.o-preview__lines i {
  display: block;
  height: 0.32em;
  border-radius: 2px;
  background: var(--line);
}

.o-preview__lines i:nth-child(2n) { width: 90%; }
.o-preview__lines i:nth-child(3n) { width: 72%; }

.o-preview__stamp {
  position: absolute;
  right: 1em;
  bottom: 1.1em;
  padding: 0.3em 0.7em;
  border: 2px solid var(--primary);
  border-radius: 0.4em;
  color: var(--primary);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-10deg);
}

.demo__canvas[data-wide="false"] .o-preview {
  padding: 0.8em 0.9em;
  gap: 0.45em;
}

.demo__canvas[data-wide="false"] .o-preview__text,
.demo__canvas[data-wide="false"] .o-preview__lines {
  display: none;
}

.demo__canvas[data-wide="false"] .o-preview__title {
  text-align: left;
  max-width: 70%;
  font-size: 0.9em;
}

.demo__canvas[data-wide="false"] .o-preview__stamp {
  bottom: 0.8em;
}

/* ---------- панель управления (внутри блока) ---------- */

.demo__controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--on-deep) 10%, transparent);
}

.demo__btn,
.demo__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--on-deep);
  color: var(--deep);
  font-weight: 650;
  font-size: 0.9375rem;
  transition: transform 0.2s var(--ease), background-color 0.2s, opacity 0.2s;
}

.demo__btn svg,
.demo__play svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.demo__btn:hover,
.demo__play:hover {
  transform: scale(1.06);
}

.demo__btn:active,
.demo__play:active {
  transform: scale(0.96);
}

.demo__btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.demo__play {
  padding: 0 18px 0 14px;
  background: var(--accent);
  color: var(--on-accent);
}

.demo__play .i-pause,
.demo__play[data-state="playing"] .i-play {
  display: none;
}

.demo__play[data-state="playing"] .i-pause {
  display: block;
}

.demo__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo__step {
  --p: 0;
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 48px;
  padding: 8px 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--on-deep);
  text-align: left;
  transition: background-color 0.2s;
}

.demo__step:hover {
  background: color-mix(in srgb, var(--on-deep) 10%, transparent);
}

.demo__step-bar {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--on-deep) 25%, transparent);
  overflow: hidden;
}

.demo__step-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--p));
}

.demo__step-label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 550;
  line-height: 1.1;
  color: var(--deep-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo__step-label b {
  font-family: var(--font-mono);
  font-size: 0.8em;
  font-weight: 600;
}

.demo__step[aria-current="step"] .demo__step-label {
  color: var(--on-deep);
  font-weight: 700;
}

.demo__status {
  min-height: 1.3em;
  font-size: 0.8125rem;
  color: var(--deep-muted);
  text-align: right;
}

.demo__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  align-items: center;
}

/* ---------- адаптация ---------- */

@media (max-width: 900px) {
  .demo__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo__stage {
    order: -1;
  }

  .demo__side {
    gap: 14px;
  }

  .demo__keys {
    display: none;
  }
}

@media (max-width: 620px) {
  .demo__controls {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "steps steps steps"
      "prev play next";
    border-radius: 22px;
    row-gap: 6px;
  }

  .demo__steps { grid-area: steps; }
  .demo__btn[data-demo-prev] { grid-area: prev; }
  .demo__btn[data-demo-next] { grid-area: next; }
  .demo__play {
    grid-area: play;
    justify-self: center;
    width: 100%;
  }

  .demo__steps {
    gap: 2px;
  }

  .demo__step {
    padding: 8px 3px;
  }

  .demo__step-label {
    gap: 4px;
    font-size: 0.78rem;
  }

  .demo__num {
    font-size: 2.4rem;
  }

  .demo__cap {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 6px;
    align-items: baseline;
  }

  .demo__num {
    grid-row: span 2;
  }

  .demo__text {
    font-size: 0.9375rem;
  }

  .demo__choice-wrap {
    display: none;
  }

  .demo__niches-label {
    display: none;
  }

  .demo__niches {
    gap: 4px;
  }

  .demo__niche {
    min-height: 44px;
    padding: 6px 11px;
    font-size: 0.8125rem;
  }

  .demo__badge {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

/* ---------- темы холста ---------- */

.theme-beauty .demo__canvas {
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent) 0 40%, transparent 40.2%),
    color-mix(in srgb, var(--on-deep) 6%, transparent);
}

.theme-cosmetology .demo__canvas {
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 14%, transparent) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 14%, transparent) 1px, transparent 1px) 0 0 / 28px 28px,
    color-mix(in srgb, var(--on-deep) 5%, transparent);
}

.theme-vet .demo__canvas {
  background:
    radial-gradient(color-mix(in srgb, var(--accent) 30%, transparent) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    color-mix(in srgb, var(--on-deep) 5%, transparent);
}

.theme-cosmetology .o-doc,
.theme-cosmetology .o-form,
.theme-cosmetology .o-preview {
  border-radius: 0.3em;
}

.theme-cosmetology .o-chip {
  border-radius: 0.5em;
}

@media (prefers-reduced-motion: reduce) {
  .demo__canvas .o,
  .demo__cap {
    transition: none !important;
  }
}

/* beauty.css */
/* ============================================================
   Бьюти-мастера и салоны
   Ягодный, коралловый, тёплый светлый. Мотивы: арка зеркала,
   выкраски оттенков, журнал с режимом стерилизации.
   Контролы: форматы — арки, услуги — «выкраски».
   ============================================================ */

/* ---------- первый экран ---------- */

.b-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 88px) clamp(40px, 5vw, 80px);
}

.b-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.b-hero__copy {
  display: grid;
  gap: clamp(20px, 2.2vw, 28px);
  justify-items: start;
}

.b-hero .eyebrow {
  color: var(--primary);
}

.b-hero__title {
  font-size: clamp(2.4rem, 1rem + 5.2vw, 6rem);
}

.b-hero__title em {
  display: block;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.b-hero__solo {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 34em;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--soft);
  font-size: var(--fs-small);
  line-height: 1.45;
}

.b-hero__solo svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--primary);
}

/* иллюстрация */
.b-art {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1.02;
  justify-self: end;
}

.b-art > * {
  position: absolute;
}

.b-art__sun {
  left: 12%;
  top: 2%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  animation: rise 1s var(--ease) both;
}

.b-art__arch {
  right: 0;
  bottom: 0;
  width: 72%;
  height: 90%;
  border-radius: 999px 999px 0 0;
  background: var(--primary);
  animation: rise 0.9s var(--ease) 0.05s both;
}

.b-art__arch::after {
  content: "";
  position: absolute;
  inset: 5% 7% 0;
  border: 1.5px solid rgba(255, 244, 239, 0.45);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.b-art__swatches {
  right: 6%;
  top: 22%;
  display: flex;
  gap: 1.6cqw;
  z-index: 1;
  animation: rise 0.9s var(--ease) 0.4s both;
}

.b-art__swatches i {
  width: 6.4cqw;
  height: 6.4cqw;
  border-radius: 50%;
  border: 0.5cqw solid #FFF4EF;
}

.b-art__swatches i:nth-child(1) { background: #FF6A55; }
.b-art__swatches i:nth-child(2) { background: #F2BFCB; }
.b-art__swatches i:nth-child(3) { background: #6A1E4A; }
.b-art__swatches i:nth-child(4) { background: #E8A33D; }

.b-art__sheet {
  --r: -4deg;
  left: 0;
  top: 25%;
  z-index: 2;
  width: 62%;
  padding: 4.4cqw 4.6cqw 4cqw;
  border-radius: 2.4cqw;
  background: #fff;
  color: var(--ink);
  font-size: 2.6cqw;
  line-height: 1.3;
  box-shadow: 0 4cqw 8cqw -4cqw rgba(74, 7, 37, 0.5);
  transform: rotate(var(--r));
  animation: pop 0.9s var(--ease) 0.25s both;
  transition: transform 0.6s var(--ease);
}

.b-art__kicker {
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.b-art__title {
  margin: 0.4em 0 1em;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  font-size: 1.55em;
  line-height: 1.05;
}

.b-art__table {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 1fr;
  font-size: 0.92em;
}

.b-art__table span {
  padding: 0.6em 0.3em 0.6em 0;
  border-top: 1px solid var(--line);
  white-space: nowrap;
}

.b-art__table span:nth-child(-n + 3) {
  border-top: 0;
  font-size: 0.82em;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.b-art__table svg {
  width: 5em;
  height: 1.3em;
  color: var(--primary);
}

.b-art__table .is-now {
  color: var(--primary);
  font-weight: 700;
}

.b-art__table .is-now::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: currentColor;
  animation: demo-caret 0.9s steps(1) infinite;
}

.b-art__consent {
  --r: 4deg;
  right: 3%;
  bottom: 5%;
  z-index: 3;
  width: 48%;
  padding: 4cqw;
  border-radius: 2.4cqw;
  background: #FFF4EF;
  color: var(--ink);
  font-size: 2.5cqw;
  box-shadow: 0 4cqw 8cqw -4cqw rgba(30, 0, 12, 0.55);
  transform: rotate(var(--r));
  animation: pop 0.9s var(--ease) 0.45s both;
  transition: transform 0.6s var(--ease);
}

.b-art__check {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.8em;
  font-weight: 600;
}

.b-art__check i {
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  flex: none;
  border-radius: 0.35em;
  background: var(--primary);
  color: #fff;
  font-style: normal;
  font-size: 0.9em;
}

.b-art__sign {
  width: 70%;
  height: auto;
  margin-top: 1em;
  color: var(--primary);
}

.b-art__sign-line {
  display: block;
  margin-top: 0.2em;
  padding-top: 0.4em;
  border-top: 1px solid var(--ink);
  font-size: 0.8em;
  color: var(--muted);
}

.b-art__chip {
  left: 4%;
  bottom: 8%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.6cqw 3cqw 1.6cqw 1.6cqw;
  border-radius: 99px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 3cqw;
  box-shadow: 0 3cqw 5cqw -3cqw rgba(74, 7, 37, 0.6);
  animation: pop 0.8s var(--ease-spring) 0.7s both;
}

.b-art__chip i {
  display: grid;
  place-items: center;
  width: 4.6cqw;
  height: 4.6cqw;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
}

.b-art__chip svg {
  width: 60%;
  height: 60%;
}

@media (hover: hover) {
  .b-art:hover .b-art__sheet {
    --r: -7deg;
    transform: rotate(var(--r)) translate(-2%, -3%);
  }

  .b-art:hover .b-art__consent {
    --r: 7deg;
    transform: rotate(var(--r)) translate(2%, 2%);
  }
}

/* ---------- лента услуг ---------- */

.b-band {
  background: var(--primary);
  color: #FFF4EF;
  overflow: hidden;
}

.b-band p {
  padding-block: clamp(18px, 2.4vw, 30px);
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 0.9rem + 3vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.b-band i {
  font-style: normal;
  color: var(--accent);
  padding-inline: 0.2em;
}

/* ---------- подбор ---------- */

.b-pick {
  background: var(--bg);
}

.b-pick .h2 em,
.b-how .h2 em,
.b-buy .h2 em {
  color: var(--primary);
}

/* форматы — арки */
.b-formats__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 16px);
}

.b-arch {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  cursor: pointer;
}

.b-arch__shape {
  display: grid;
  place-items: end center;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1.05;
  padding: 0 12% 12%;
  border: 2px solid var(--line);
  border-radius: 999px 999px 16px 16px;
  background: var(--surface);
  color: var(--primary);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.b-arch__shape svg {
  width: 100%;
  height: auto;
  transition: transform 0.45s var(--ease-spring);
}

.b-arch:hover .b-arch__shape {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.b-arch input:checked + .b-arch__shape {
  border-color: var(--primary);
  background: var(--primary);
  color: #FFF4EF;
}

.b-arch input:checked + .b-arch__shape svg {
  transform: scale(1.06);
}

.b-arch input:focus-visible + .b-arch__shape {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.b-arch__name {
  font-weight: 700;
  font-size: 1.05rem;
}

.b-arch__hint {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--muted);
}

/* услуги — выкраски */
.b-services__list {
  display: grid;
  gap: 10px;
}

.b-swatch {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 80px;
  padding: 12px 18px 12px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, transform 0.35s var(--ease);
}

.b-swatch:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.b-swatch:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, var(--surface));
}

.b-swatch:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.b-swatch__dot {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
  transition: background-color 0.3s, color 0.3s, transform 0.45s var(--ease-spring);
}

.b-swatch__dot svg {
  width: 28px;
  height: 28px;
}

.b-swatch input:checked + .b-swatch__dot {
  background: var(--accent);
  color: var(--on-accent);
  transform: rotate(-10deg) scale(1.06);
}

.b-swatch__text b {
  display: block;
  font-size: 1.1rem;
  line-height: 1.25;
}

.b-swatch__text small {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--muted);
}

.b-swatch__check {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: transparent;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.b-swatch__check svg {
  width: 18px;
  height: 18px;
}

.b-swatch input:checked ~ .b-swatch__check {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

@media (max-width: 480px) {
  .b-swatch {
    gap: 12px;
    padding-right: 14px;
    border-radius: 28px;
  }

  .b-swatch__dot {
    width: 46px;
    height: 46px;
  }
}

/* ---------- прочие секции ---------- */

.b-how {
  background: var(--surface);
}

.b-buy {
  background: var(--bg);
}

.b-faq {
  background: var(--surface);
}

@media (max-width: 900px) {
  .b-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .b-art {
    justify-self: center;
    max-width: 460px;
  }
}

/* wordpress.css */
/* WordPress shell and links joining the new landing pages to existing workflows. */
.oht-tools{padding-block:55px;display:flex;align-items:center;justify-content:space-between;gap:35px;border-top:1px solid var(--line)}.oht-tools .h2{font-size:clamp(1.5rem,2.5vw,2.3rem);max-width:650px}.oht-tools .eyebrow{margin-bottom:15px}.oht-tools p{max-width:620px}.oht-tools .btn-row{flex-shrink:0;flex-direction:column;align-items:stretch}.oht-footer-links{display:flex;flex-wrap:wrap;gap:18px 30px;padding-block:25px;border-top:1px solid var(--deep-line)}.oht-footer-links a{font-size:15px;text-underline-offset:5px}.oht-footer-links a:hover{text-decoration:underline}.oht-footer-bottom{display:flex;flex-wrap:wrap;gap:20px;align-items:center;border-top:1px solid var(--deep-line);padding-top:25px;font-size:14px;color:var(--deep-muted)}.oht-footer-bottom button{background:none;border:0;padding:8px 0;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px;min-height:44px}.oht-prose{padding-block:70px;min-height:50vh}.oht-prose h1,.oht-prose h2{margin-block:0 25px}.oht-commerce input,.oht-commerce select,.oht-commerce textarea{border:1px solid var(--line);border-radius:4px;padding:12px;max-width:100%;background:var(--surface);color:var(--ink)}.oht-commerce button,.woocommerce button.button,.woocommerce a.button{background:var(--primary);color:var(--on-primary);padding:12px 18px;border:0;border-radius:4px;font:inherit}.oht-commerce table{width:100%;border-collapse:collapse}.oht-commerce td,.oht-commerce th{padding:12px;border-bottom:1px solid var(--line);text-align:left}.oht-commerce .woocommerce-notices-wrapper{margin-block:20px}.oht-commerce label{display:block}.woocommerce-form-row{margin-block:20px}.oht-commerce .woocommerce-MyAccount-navigation ul{display:flex;gap:15px;flex-wrap:wrap;list-style:none;padding:0}.oht-commerce .woocommerce-MyAccount-content{margin-top:25px}.oht-commerce .woocommerce-error{padding:20px;border:1px solid #ba2342;color:#8d1230}.oht-commerce .form-row{margin-bottom:20px}.oht-commerce .form-row input.input-text{width:100%}.oht-commerce .woocommerce-info{background:var(--soft);padding:20px;border-left:4px solid var(--primary)}
.admin-bar .site-header{top:32px}body:not(.page-home):not(.page-niche) main{min-height:60vh}.site-header .logo{flex-shrink:0}.oht-legacy-content .entry-content a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:900px){.oht-tools{flex-direction:column;align-items:start}.oht-tools .btn-row{flex-direction:row;flex-wrap:wrap}}
@media(max-width:782px){.admin-bar .site-header{top:46px}.oht-footer-links{gap:14px 20px}.oht-prose{padding-block:40px}.oht-tools{padding-block:35px}.oht-tools .btn-row{width:100%}.oht-tools .btn{width:100%;justify-content:center}}
@media(max-width:600px){.admin-bar .site-header{top:0}}

/* refined.css */
/* ОхТруда: visual refinement. Product first; one composition, distinct industries. */
:root{--maxw:1200px;--fs-body:1rem;--fs-h2:clamp(1.9rem,3.2vw,2.8rem);--r-serif:"Playfair Display",Georgia,serif}
body.theme-brand{--bg:#f8f7f2;--ink:#252820;--muted:#606359;--line:#dedfd5;--soft:#eeeee4;--primary:#272b25;--deep:#232820;--on-deep:#f7f7ef;--accent:#e8c757;--on-accent:#252820;--font-display:var(--font-body);--display-weight:550;--deep-muted:#c4c8b9}
body.theme-beauty{--bg:#fcf8f5;--ink:#33252d;--muted:#735d66;--line:#e6dcd9;--soft:#f3e6e3;--primary:#7b304b;--accent:#f3b196;--on-accent:#38212d;--deep:#512339;--on-deep:#fff6f2;--deep-muted:#e9ccd6;--font-display:var(--font-body);--display-weight:500}
body.theme-cosmetology{--bg:#f7faf9;--ink:#163b40;--muted:#526d70;--line:#d6e3e1;--soft:#e5efed;--primary:#1a6570;--accent:#b7e4e2;--on-accent:#153c43;--deep:#173e46;--on-deep:#f6fffc;--deep-muted:#c6e1df;--font-display:var(--font-body);--display-weight:550}
body.theme-vet{--bg:#f7f8f2;--ink:#263c2b;--muted:#5b6c58;--line:#dce2d4;--soft:#e9eddf;--primary:#3f6245;--accent:#c9de85;--on-accent:#283c29;--deep:#203c2c;--on-deep:#f6f9ec;--deep-muted:#d0dfbd;--font-display:var(--font-body);--display-weight:600}
body{font-size:16px}.wrap{width:min(calc(100% - var(--gutter)*2),var(--maxw))}.eyebrow{font-family:var(--font-body);font-size:11px;letter-spacing:.13em;line-height:1.6;font-weight:650}.section{padding-block:76px}.section-head{gap:14px;margin-bottom:36px;max-width:800px}.section-head p{font-size:16px;max-width:640px}.h2{font-weight:500;line-height:1.14;letter-spacing:-.035em}.h2 em{font-style:normal;color:var(--primary)}.theme-beauty .h2 em{font-family:var(--r-serif);font-style:italic}.btn{border-radius:8px;font-size:15px;min-height:50px;padding:12px 22px;font-weight:550;gap:16px}.btn:hover{box-shadow:0 5px 16px #00000010;transform:translateY(-2px)}.btn--ghost{border:1px solid var(--line)}.btn-row{align-items:center;gap:20px}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}.r-text-link{display:inline-flex;align-items:center;gap:13px;font-size:14px;text-decoration:none;border-bottom:1px solid var(--line);padding:10px 0;min-height:44px}.r-text-link:hover{border-color:var(--primary)}
/* Quiet navigation, with a complete mobile menu. */
.status-strip{background:var(--soft);color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}.status-strip .wrap{justify-content:center;padding-block:7px;gap:12px}.status-strip b{font-weight:500;color:var(--ink)}.status-strip b::before{width:5px;height:5px;background:var(--primary);box-shadow:none}.site-header{background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(18px)}.site-header__bar{min-height:78px;gap:28px;justify-content:space-between}.logo{font-family:var(--font-body);font-size:23px;font-weight:750;letter-spacing:-1px;gap:8px}.logo__mark{width:27px;height:31px}.logo__mark .m-sheet{fill:var(--accent)}.niche-nav{flex:initial}.niche-nav__list{gap:4px;overflow:visible;padding:0}.niche-nav__item{border-radius:5px;font-size:13px;padding:8px 14px;gap:0}.niche-nav__item::before,.niche-nav__item--all::before{display:none}.niche-nav__item[aria-current=page]{background:var(--soft);color:var(--ink);box-shadow:none}.niche-nav__item--all{position:static;background:none;box-shadow:none}.niche-nav::after{display:none}.r-header-contact{font-size:13px;display:flex;align-items:center;gap:14px;text-decoration:none;padding:12px 0}.r-mobile-nav{display:none}
/* First screen and a real, readable document preview. */
.r-hero{padding:64px 0 54px;position:relative}.r-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:68px;align-items:center}.r-hero-copy .eyebrow{margin-bottom:24px;color:var(--primary)}.r-hero h1{font-family:var(--font-body);font-size:clamp(40px,4.6vw,65px);font-weight:500;line-height:1.04;letter-spacing:-.045em;text-wrap:initial}.r-hero h1 em{display:block;font-style:normal;color:var(--primary)}.r-hero--home h1{font-size:clamp(42px,5.5vw,77px);font-weight:550;line-height:1.04}.r-hero--home h1 em{font-family:var(--r-serif);font-weight:500;font-style:italic;letter-spacing:-.055em;display:inline;background:linear-gradient(transparent 85%,var(--accent) 85%,var(--accent) 96%,transparent 96%)}.r-hero--beauty h1{font-family:var(--r-serif);font-size:clamp(38px,4.3vw,61px);font-weight:400;line-height:1.14;letter-spacing:-.04em}.r-hero--beauty h1 em{font-style:italic}.r-hero--cosmetology h1{font-size:clamp(39px,4.6vw,64px);line-height:1.12;font-weight:450}.r-hero--vet h1{font-weight:550}.r-hero-intro{color:var(--muted);font-size:17px;line-height:1.75;margin-top:25px;max-width:470px}.r-hero .btn-row{margin-top:29px;gap:22px}.r-hero-note{margin-top:19px;color:var(--muted);font-size:12px;max-width:440px}
.r-workbench{--sample-accent:var(--primary);padding:22px;border-radius:16px;background:var(--deep);color:var(--on-deep);box-shadow:0 25px 70px -50px var(--primary);min-width:0;position:relative}.r-hero--home .r-workbench{background:#eaece1;color:#343b2f;box-shadow:none}.r-workbench-head{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:12px;margin-bottom:16px}.r-workbench-head>span:first-child{display:flex;align-items:center;gap:8px}.r-live-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}.r-workbench-label{font-size:11px;opacity:.75}.r-preview-tabs{display:flex;gap:5px;margin-bottom:17px;flex-wrap:wrap}.r-preview-tabs button{border:0;border-radius:5px;padding:8px 12px;color:#505649;background:transparent;font-size:12px;min-height:40px}.r-preview-tabs button[aria-pressed=true]{background:#fff;color:#252820;box-shadow:0 2px 6px #00000008}.r-workbench[data-live-home][data-live-niche=beauty]{--sample-accent:#7b304b}.r-workbench[data-live-home][data-live-niche=cosmetology]{--sample-accent:#1a6570}.r-workbench[data-live-home][data-live-niche=vet]{--sample-accent:#3f6245}
.r-paper{background:#fffefa;color:#2d302a;padding:24px 27px 18px;border-radius:3px;box-shadow:0 5px 16px #00000010;min-height:318px;position:relative;display:flex;flex-direction:column;border-top:3px solid var(--sample-accent);overflow-wrap:anywhere}.r-paper-meta{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #e5e3db;padding-bottom:13px;color:#75796d;font-size:9px;letter-spacing:1.3px}.r-paper-category{color:var(--sample-accent);font-size:10px;margin-top:17px;letter-spacing:.06em;text-transform:uppercase}.r-paper h2{font-family:var(--r-serif);font-weight:450;font-size:clamp(19px,2.1vw,25px);line-height:1.26;letter-spacing:-.025em;text-wrap:initial;margin-top:9px;min-height:63px;max-width:370px}.r-paper-org{margin-top:18px;display:grid;gap:6px}.r-paper-org>span{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#727769}.r-paper-org strong{font-size:13px;font-weight:500;color:var(--sample-accent);background:#f0eee5;border-radius:3px;padding:4px 8px;justify-self:start;max-width:100%;transition:background .2s}.has-name .r-paper-org strong{background:color-mix(in srgb,var(--sample-accent) 12%,white)}.r-paper-body{margin:18px 0 16px}.r-paper-rule{display:grid;grid-template-columns:1fr 2fr 1.2fr;border-bottom:1px solid #e7e5dd;min-height:20px;font-size:9px;color:#7b7f72}.r-paper-rule span+span,.r-paper-rule i+i{border-left:1px solid #e7e5dd;padding-left:8px}.r-paper-footer{margin-top:auto;padding-top:12px;border-top:1px solid #e5e3db;display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#777c70}.r-live-form{margin-top:18px}.r-live-form label{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:7px}.r-live-form label span{opacity:.7}.r-live-form input{width:100%;border:1px solid #ffffff38;background:#ffffff0a;color:var(--on-deep);border-radius:7px;padding:10px 12px;font-size:16px;min-height:44px}.r-live-form input::placeholder{color:var(--deep-muted)}.r-live-form p{font-size:11px;line-height:1.5;margin-top:8px;color:var(--deep-muted)}.r-hero--home .r-live-form input{background:#ffffff80;border-color:#cdd2bf;color:#30362b}.r-hero--home .r-live-form input::placeholder{color:#686f5f}.r-hero--home .r-live-form p{color:#616a56}.r-live-feedback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.r-process{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:22px;gap:26px}.r-process>div{display:flex;gap:16px;align-items:center}.r-process>div+div{padding-left:25px;border-left:1px solid var(--line)}.r-process>div>span{font-size:12px;color:var(--primary);font-family:var(--font-mono)}.r-process p{font-size:12px;color:var(--muted)}.r-process b{font-size:14px;display:block;color:var(--ink);font-weight:550;margin-bottom:3px}
/* Three editorial entries into the product. */
.r-directions{padding:88px 0 72px}.r-section-heading{display:flex;justify-content:space-between;gap:35px;align-items:end;margin-bottom:35px}.r-section-heading .eyebrow{margin-bottom:15px}.r-section-heading h2,.r-trust h2{font-size:clamp(32px,3.6vw,48px);font-weight:500;line-height:1.1;letter-spacing:-.045em}.r-section-heading h2 em{font-family:var(--r-serif);font-weight:450;font-style:italic}.r-section-heading>p{font-size:14px;color:var(--muted);line-height:1.75;max-width:340px;padding-bottom:3px}.r-direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.r-direction{--tile-bg:#f1e4e0;--tile-ink:#632d44;background:var(--tile-bg);color:var(--tile-ink);border-radius:12px;overflow:clip;text-decoration:none;display:flex;flex-direction:column}.r-direction--cosmetology{--tile-bg:#e3eeec;--tile-ink:#1b5762}.r-direction--vet{--tile-bg:#e8eedd;--tile-ink:#3a5639}.r-direction-image{position:relative;overflow:clip;aspect-ratio:1.7}.r-direction-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}.r-direction:hover img{transform:scale(1.035)}.r-direction-number{position:absolute;left:19px;top:17px;color:#fff;background:#00000038;border:1px solid #ffffff55;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:10px;font-family:var(--font-mono)}.r-direction-info{padding:25px 25px 18px;flex:1;display:flex;flex-direction:column}.r-direction-info>p{font-size:11px;opacity:.8;margin-bottom:11px}.r-direction h3{font-size:27px;line-height:1.18;font-weight:500;letter-spacing:-.035em;text-wrap:initial}.r-direction--beauty h3{font-family:var(--r-serif);font-weight:450;font-size:30px}.r-direction-services{font-size:12px;margin-top:16px;margin-bottom:24px;display:block;opacity:.85}.r-direction-link{display:flex;justify-content:space-between;align-items:center;border-top:1px solid currentColor;padding-top:16px;margin-top:auto;font-size:13px}.r-direction-link b{font-weight:400;font-size:22px;transition:transform .2s}.r-direction:hover .r-direction-link b{transform:translate(3px,-3px)}.r-auto{display:flex;justify-content:space-between;gap:22px;margin-top:25px;padding:18px 0;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.r-auto b{font-weight:500;color:var(--ink)}.r-auto a{white-space:nowrap;display:flex;gap:20px;color:var(--ink);text-decoration:none}
/* Useful selection, less chrome. */
.b-pick,.c-pick,.v-pick{background:transparent}.picker{gap:54px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.picker__form{gap:28px}.picker__legend{font-size:18px;font-weight:550}.b-arch{border-radius:12px}.b-arch__shape{height:75px}.b-swatch{border-radius:10px}.b-swatch__text b{font-size:15px}.switch-row{border-radius:10px;border-width:1px}.switch-row__text b{font-size:15px}.switch-row__text small{font-size:12px;line-height:1.5}.picker__reset{font-size:12px}.compose{border:1px solid var(--line);border-radius:12px;box-shadow:none;max-height:680px;top:100px}.compose__head{padding:22px;background:var(--soft);color:var(--ink)}.compose__eyebrow{font-size:10px;letter-spacing:.12em}.compose__num{font-family:var(--font-body);font-size:46px;font-weight:450;letter-spacing:-.05em}.compose__meta{font-size:13px;font-weight:450}.compose__sec-title{font-size:10px;letter-spacing:.06em}.compose__doc-title{font-size:13px;line-height:1.5}.compose__sec-title::before{display:none}.compose__note{font-size:11px;line-height:1.6;background:var(--bg)}.c-row{padding:15px 0}.c-row__name b{font-size:15px}.c-row__name small{font-size:12px}.c-row__code{font-size:11px}.v-plan{border-radius:14px}.v-room{border-radius:8px}.v-room__label{font-family:var(--font-body)}.c-seg{border-radius:8px}.c-seg span{font-size:13px}.switch{width:48px;height:28px}.switch::after{width:22px;height:22px}.switch:checked::after{transform:translateX(20px)}
/* Continue in place: no second questionnaire. */
.j{padding:0 0 72px}.j__inner{display:grid;grid-template-columns:1fr auto;gap:24px 50px;padding:32px;border:1px solid var(--line);background:var(--surface);border-radius:12px}.j__intro .eyebrow{font-size:10px;margin-bottom:11px}.j__intro .h2{font-size:27px;max-width:650px}.j__lead{font-size:14px;color:var(--muted);margin-top:13px;max-width:660px}.j__note{font-size:11px;color:var(--muted);margin-top:9px}.j__actions{display:flex;flex-direction:column;justify-content:center;gap:10px}.j__summary{grid-column:1/-1;border-top:1px solid var(--line);padding-top:25px}.j__summary-title{font-size:22px;font-weight:550}.j__status{font-size:13px;color:var(--muted);margin-top:8px}.j__facts{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:20px;margin:24px 0}.j__fact dt{font-size:11px;color:var(--muted);margin-bottom:6px}.j__fact dd{margin:0;font-size:14px}.j__details{padding:18px 0;border-top:1px solid var(--line)}.j__details summary{font-size:14px;cursor:pointer;min-height:35px}.j__documents{padding:18px 0}.j__documents h4{font-size:14px;margin:15px 0 8px}.j__documents ul{padding-left:20px;font-size:13px}.j__download-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.j__download-row p{font-size:11px;color:var(--muted);max-width:320px}.j__empty{font-size:14px;padding:20px 0}
/* The presentation is one object; all controls stay inside it. */
.h-how,.b-how,.c-how,.v-how{background:var(--soft)}.demo{border-radius:16px;--demo-pad:24px;gap:20px}.demo::before{display:none}.demo__canvas{border-radius:10px}.demo__body{grid-template-columns:minmax(0,.85fr) minmax(0,1.8fr);gap:30px}.demo__num{font-family:var(--font-body);font-weight:450;font-size:40px;opacity:.5}.demo__title{font-family:var(--font-body);font-size:27px;font-weight:500;line-height:1.15}.demo__text{font-size:14px;line-height:1.65}.demo__choice-wrap{font-size:11px}.demo__keys{display:none}.demo__controls{border-radius:10px;background:#ffffff09;padding:12px}.demo__step{border-radius:6px}.demo__step-label{font-size:12px}.demo__badge{font-size:11px;border-radius:5px}.demo__niche{font-size:12px}.demo__niches-label{display:none}.demo__status{font-size:11px}.r-trust{padding:80px 0;background:var(--bg)}.r-trust-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:90px}.r-trust .eyebrow{margin-bottom:18px}.r-trust h2{font-size:43px}.r-trust-grid>div>p:not(.eyebrow){font-size:15px;color:var(--muted);max-width:390px;margin-top:22px}.r-trust .r-text-link{margin-top:20px}.r-trust ol{padding:0;list-style:none}.r-trust li{display:flex;gap:25px;padding:23px 0;border-bottom:1px solid var(--line)}.r-trust li:first-child{padding-top:0}.r-trust li>span{font-family:var(--font-mono);font-size:11px;color:var(--muted);padding-top:5px}.r-trust h3{font-size:20px;font-weight:500;letter-spacing:-.02em}.r-trust li p{font-size:14px;color:var(--muted);line-height:1.7;margin-top:8px}.buy-mode{gap:16px}.buy-mode__art{height:80px;width:135px}.buy-mode__title{font-size:25px;font-weight:500}.buy-mode>p{font-size:14px}.buy-mode__example{font-size:12px!important}.h-status{padding-block:55px;background:var(--soft)}.h-status__title{font-family:var(--font-body);font-weight:500;font-size:33px;letter-spacing:-.03em}.h-status__col h3{font-size:16px}.h-status__col li{font-size:13px}.h-status__foot{font-size:12px}.faq-list summary{font-size:17px}.faq-list p{font-size:14px}.site-footer{padding-block:48px 30px}.site-footer .logo__text{font-family:var(--font-body)}.site-footer__note{font-size:14px;max-width:500px}.oht-footer-links a{font-size:13px}.oht-footer-bottom{font-size:12px}.site-footer__top{align-items:start}.oht-legacy-content h1{font-family:var(--font-body);font-size:clamp(32px,4.5vw,52px);line-height:1.12;font-weight:500;letter-spacing:-.04em}.oht-legacy-content .document-card,.oht-legacy-content .group-card,.oht-legacy-content .quiz-card{border-radius:12px}.oht-legacy-content .button{border-radius:8px}
@media(min-width:1500px){.r-hero{padding-block:75px}.r-hero-grid{gap:100px}}
@media(max-width:1050px){.r-hero-grid{gap:38px}.r-hero h1{font-size:49px}.r-hero--home h1{font-size:61px}.r-hero--beauty h1{font-size:47px}.r-hero .btn-row{gap:14px}.r-workbench{padding:18px}.r-paper{padding:22px}.r-paper h2{font-size:22px}.r-direction-info{padding:22px 20px 16px}.r-direction h3{font-size:24px}.r-direction--beauty h3{font-size:27px}.r-trust-grid{gap:45px}.picker{gap:30px}.r-header-contact{display:none}.site-header__bar{gap:18px}.niche-nav__item{padding-inline:11px}}
@media(max-width:800px){.niche-nav{display:none}.r-mobile-nav{display:block;position:relative;margin-left:auto}.r-mobile-nav summary{list-style:none;display:flex;align-items:center;gap:18px;cursor:pointer;padding:8px 0 8px 13px;min-height:48px;font-size:13px}.r-mobile-nav summary::-webkit-details-marker{display:none}.r-mobile-nav summary small{display:block;color:var(--muted);font-size:10px;margin-bottom:1px}.r-chevron{font-size:20px}.r-mobile-nav[open] .r-chevron{transform:rotate(180deg)}.r-mobile-nav nav{position:absolute;top:calc(100% + 8px);right:0;width:min(310px,calc(100vw - 32px));padding:9px;background:var(--surface);border:1px solid var(--line);box-shadow:0 15px 35px #00000012;border-radius:10px}.r-mobile-nav nav a{display:flex;justify-content:space-between;align-items:center;gap:15px;text-decoration:none;min-height:48px;padding:12px;font-size:14px;border-radius:5px}.r-mobile-nav nav a[aria-current=page]{background:var(--soft)}.r-mobile-nav nav a span{font-size:11px;color:var(--muted)}.r-mobile-nav nav a:hover{background:var(--soft)}.site-header__bar{min-height:66px}.r-hero-grid{gap:30px}.r-hero{padding-top:42px}.r-hero h1{font-size:42px}.r-hero--home h1{font-size:53px}.r-hero--beauty h1{font-size:43px}.r-hero-intro{font-size:15px;line-height:1.7}.r-hero .btn-row{align-items:start;flex-direction:column;gap:6px}.r-hero-note{font-size:11px}.r-workbench-head{font-size:11px}.r-workbench-label{display:none}.r-paper{padding:18px;min-height:315px}.r-paper h2{font-size:20px}.r-paper-footer{font-size:8px}.r-preview-tabs button{font-size:11px;padding:7px 8px}.r-live-form p{font-size:10px}.r-process{gap:15px}.r-process>div{gap:10px}.r-process>div+div{padding-left:12px}.r-process b{font-size:12px}.r-process p{font-size:11px}.r-direction-grid{gap:15px}.r-direction-info{padding:18px 15px 15px}.r-direction h3{font-size:21px}.r-direction--beauty h3{font-size:24px}.r-direction-services{font-size:11px;line-height:1.7}.r-direction-link{font-size:11px}.r-section-heading>p{max-width:260px;font-size:13px}.r-directions{padding-top:65px}.picker{grid-template-columns:1fr 1fr;gap:25px}.compose__head{padding:18px}.compose__list{padding-inline:18px}.j__inner{grid-template-columns:1fr;gap:24px;padding:27px}.j__actions{flex-direction:row;justify-content:start;flex-wrap:wrap}.j__facts{grid-template-columns:1fr 1fr}.demo__body{grid-template-columns:1fr}.demo__stage{order:-1}.demo__side{display:grid;grid-template-columns:1fr .8fr;gap:30px}.demo__choice-wrap{border:0;padding:0;margin:0}.demo__num{font-size:25px}.demo__title{font-size:23px}.demo__text{font-size:13px}.r-trust h2{font-size:35px}.r-trust-grid{gap:35px}}
@media(max-width:620px){:root{--gutter:20px}.section{padding-block:50px}.status-strip .wrap{gap:7px;justify-content:start;flex-wrap:nowrap;white-space:nowrap;font-size:10px;padding-block:7px}.status-strip b{display:none}.logo__text{display:inline!important}.logo{font-size:20px}.logo__mark{width:24px;height:29px}.site-header__bar{min-height:64px}.r-hero{padding:33px 0 30px}.r-hero-grid{grid-template-columns:1fr;gap:29px}.r-hero-copy .eyebrow{margin-bottom:17px;font-size:10px}.r-hero h1{font-size:clamp(39px,10.4vw,55px);letter-spacing:-.04em}.r-hero--home h1{font-size:clamp(45px,12.5vw,62px)}.r-hero--beauty h1{font-size:clamp(40px,10.6vw,55px);line-height:1.12}.r-hero--cosmetology h1{font-size:clamp(38px,10.3vw,50px)}.r-hero--beauty h1 br{display:none}.r-hero-intro{font-size:15px;margin-top:20px;max-width:470px}.r-hero .btn-row{flex-direction:row;align-items:center;gap:8px 20px;margin-top:22px}.r-hero .btn{padding:12px 18px;font-size:14px}.r-text-link{font-size:13px}.r-hero-note{font-size:11px;margin-top:12px}.r-workbench{padding:18px;border-radius:12px;max-width:510px;width:100%;justify-self:center}.r-paper{padding:20px;min-height:295px}.r-paper h2{font-size:23px;min-height:58px;max-width:330px}.r-paper-body{margin-block:15px}.r-workbench-head{font-size:11px}.r-workbench-label{display:block}.r-live-form p{font-size:11px}.r-paper-footer{font-size:9px}.r-preview-tabs button{font-size:12px}.r-process{grid-template-columns:1fr;padding-block:19px;gap:13px}.r-process>div{gap:15px}.r-process>div+div{border-left:0;padding-left:0}.r-process p{display:flex;align-items:center;gap:10px;font-size:11px}.r-process b{font-size:12px;margin-bottom:0;min-width:93px}.r-process>div>span{font-size:10px}.r-section-heading{display:block;margin-bottom:26px}.r-section-heading .eyebrow{font-size:10px;margin-bottom:13px}.r-section-heading h2{font-size:35px}.r-section-heading>p{max-width:none;font-size:14px;margin-top:18px}.r-section-heading>p br{display:none}.r-directions{padding-block:51px 37px}.r-direction-grid{grid-template-columns:1fr;gap:20px}.r-direction{display:grid;grid-template-columns:1fr}.r-direction-image{aspect-ratio:2.05}.r-direction-info{padding:22px}.r-direction h3{font-size:28px}.r-direction--beauty h3{font-size:32px}.r-direction h3 br{display:none}.r-direction-info>p{font-size:11px}.r-direction-services{font-size:13px;margin-block:12px 21px}.r-direction-link{font-size:13px}.r-auto{align-items:start;font-size:12px;line-height:1.7}.r-auto b{display:block}.r-auto a{gap:7px}.picker{grid-template-columns:1fr;gap:27px}.compose{position:static;max-height:none}.compose__list{max-height:400px}.picker__form{gap:25px}.picker__legend{font-size:17px}.picker__legend small{font-size:11px}.b-arch__shape{height:60px}.b-arch__name{font-size:13px}.b-arch__hint{font-size:10px}.b-swatch__text small{font-size:11px}.switch-row{padding:12px}.switch-row__text small{font-size:11px}.compose__head{grid-template-columns:auto 1fr;padding:18px}.compose__num{font-size:37px}.compose__eyebrow{font-size:10px}.compose__meta{font-size:12px;max-width:100%}.compose__sec-title{font-size:10px}.picker__mini{font-size:12px}.j{padding-bottom:45px}.j__inner{padding:22px;gap:20px}.j__intro .h2{font-size:25px}.j__lead{font-size:13px}.j__actions{flex-direction:column}.j__actions .btn{justify-content:center}.j__facts{grid-template-columns:1fr 1fr;gap:20px}.j__fact:first-child{grid-column:1/-1}.j__fact dd{font-size:13px}.j__download-row{gap:10px}.j__download-row .btn{width:100%;justify-content:center}.j__summary-title{font-size:22px}.demo{--demo-pad:16px;border-radius:12px;gap:16px}.demo__body{gap:18px}.demo__side{grid-template-columns:1fr;gap:0}.demo__choice-wrap{display:none}.demo__cap{grid-template-columns:auto 1fr;gap:8px 12px}.demo__num{grid-row:1;font-size:18px;line-height:1.4;align-self:center}.demo__title{font-size:21px;align-self:center}.demo__text{grid-column:1/-1;line-height:1.55;font-size:13px}.demo__controls{padding:9px;gap:7px;border-radius:9px}.demo__step-label{font-size:10px}.demo__step-label b{font-size:10px}.demo__step{padding-inline:7px}.demo__badge{font-size:10px}.demo__niche{padding:7px 9px;font-size:10px}.demo__link{font-size:11px}.demo__status{font-size:10px}.r-trust{padding-block:50px}.r-trust-grid{grid-template-columns:1fr;gap:28px}.r-trust h2{font-size:34px}.r-trust-grid>div>p:not(.eyebrow){font-size:14px;margin-top:17px}.r-trust li{gap:18px;padding-block:20px}.r-trust h3{font-size:19px}.r-trust li p{font-size:13px}.buy-modes{gap:25px}.buy-mode{grid-template-columns:1fr;padding:0 0 25px!important}.buy-mode__art{width:100px;height:60px}.buy-mode__title{font-size:24px}.buy-mode+.buy-mode{border-left:0}.h-status__title{font-size:29px}.h-status__grid{gap:26px}.site-footer{padding-block:35px 22px}.site-footer__top{gap:20px}.site-footer__note{font-size:13px}.oht-footer-links{gap:12px 22px}.oht-footer-links a{font-size:12px}.oht-footer-bottom{gap:10px 20px;font-size:11px}.oht-legacy-content h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){.r-direction-image img,.r-paper-org strong,.r-direction-link b{transition:none}}

.r-heading-first{display:block}.r-hero--home .r-heading-first{white-space:nowrap}

.logo__text{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:nowrap}.r-workbench :focus-visible{outline-color:var(--focus-on-deep)}.r-hero--home .r-workbench :focus-visible{outline-color:var(--focus)}
.compose__list{overflow-y:auto}.compose__doc-reason{grid-column:2;font-size:10px;color:var(--muted);margin-top:-5px;line-height:1.4}.r-mobile-nav summary{max-width:190px}

/* Support stays readable and wraps on narrow screens. */
.status-strip .oht-header-support{white-space:normal;line-height:1.5;color:var(--ink)}
.oht-header-support a{color:inherit;font-weight:650;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}

/* compose-spacing.css */
/*
 * The role=list reset in base.css is more specific than .compose__list.
 * Keep the document list inset from the card edge and its scrollbar.
 */
ol.compose__list[role="list"] {
  padding-block: 8px 12px;
  padding-inline: 24px 32px;
  scrollbar-gutter: stable;
}

/* The nested list stays flush with its section; spacing belongs to the scroller. */
ul.compose__docs[role="list"] {
  padding: 0;
}

.compose__doc-inner {
  padding: 9px 8px;
  margin-inline: -8px;
}

.compose__sec-name,
.compose__doc-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  ol.compose__list[role="list"] {
    padding-inline: 20px 26px;
  }
}

@media (max-width: 620px) {
  ol.compose__list[role="list"] {
    padding-inline: 18px 24px;
  }

  .compose__doc-inner {
    margin-inline: -6px;
    padding-inline: 6px;
  }
}

/* pricing.css */
.oht-pricing{padding:38px var(--gutter);background:var(--bg);color:var(--ink)}.oht-pricing__inner{max-width:1240px;margin:auto;display:grid;grid-template-columns:.85fr 1fr 1fr;gap:20px;align-items:stretch}.oht-pricing__intro{padding:24px 18px 20px 0;align-self:center}.oht-pricing__intro>span,.oht-price-card__label{font-size:10px;letter-spacing:.12em;font-weight:750;color:var(--primary);line-height:1.6}.oht-pricing__intro h2{font-size:clamp(23px,2.3vw,32px);line-height:1.2;letter-spacing:-.035em;margin:14px 0;font-family:var(--font-display);font-weight:var(--display-weight)}.oht-pricing__intro p{font-size:14px;line-height:1.7;color:var(--muted)}.oht-price-card{display:flex;flex-direction:column;gap:12px;padding:25px;background:var(--surface);border:1px solid var(--line);border-radius:16px;min-width:0}.oht-price-card--bundle{border-color:var(--primary);box-shadow:inset 0 3px var(--primary)}.oht-price-card h3{font-family:var(--font-body);font-size:21px;line-height:1.3;margin:0;letter-spacing:-.025em}.oht-price-card>strong{font-size:clamp(23px,2.5vw,31px);line-height:1.3;letter-spacing:-.035em;white-space:nowrap}.oht-price-card>strong>small{font-size:12px;letter-spacing:0;font-weight:500;color:var(--muted)}.oht-price-card>p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 5px}.oht-price-card__comparison{font-size:12px;color:var(--muted)}.oht-price-card>a{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:48px;padding:13px 15px;border:1px solid var(--primary);border-radius:8px;font-size:13px;font-weight:650;color:var(--primary);text-decoration:none;margin-top:auto;line-height:1.5}.oht-price-card--bundle>a{background:var(--primary);color:var(--on-primary)}.oht-price-card>a:hover{filter:brightness(.9)}.oht-pricing__scope{max-width:1240px;margin:18px auto 0;font-size:12px;line-height:1.6;color:var(--muted)}@media(max-width:1000px){.oht-pricing__inner{grid-template-columns:1fr 1fr}.oht-pricing__intro{grid-column:1/-1;padding:0}.oht-pricing__intro h2 br{display:none}.oht-pricing__intro p br{display:none}}@media(max-width:570px){.oht-pricing{padding-block:26px}.oht-pricing__inner{grid-template-columns:1fr;gap:16px}.oht-price-card{padding:22px}.oht-price-card>strong{font-size:29px}}
.oht-guided-choices{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.oht-guided-choices a{font-size:13px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--primary)}.guided-cart{border-color:var(--line);color:var(--ink)}.guided-cart__status{font-weight:650;font-size:16px!important;line-height:1.6}.guided-cart small{color:var(--muted)}
.oht-price-card__saving{font-weight:700;font-size:15px;color:var(--primary)}

/* improvements.css */
.oht-compact-process ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-left:24px}.oht-compact-process p,.oht-sample p{font-size:1rem;line-height:1.65}.oht-sample details{margin:24px 0}.oht-sample summary{cursor:pointer;font-size:1rem;font-weight:650;padding:18px;border:1px solid #bbb;border-radius:12px}.oht-sample-paper{background:white;border:1px solid #ddd;padding:32px;margin-top:12px;color:#222;max-height:650px;overflow:auto}.oht-sample-paper p{font-family:Georgia,serif}.oht-sample-table{overflow:auto}.oht-sample-table td{border:1px solid #888;padding:10px;min-width:120px;font-size:14px}.oht-launch{padding-top:32px;padding-bottom:40px}.oht-launch h2{font-size:1.5rem}.oht-launch form{max-width:640px}.oht-launch label{display:block;font-size:1rem;margin:14px 0}.oht-launch input[type=email]{display:block;width:100%;padding:14px;border:1px solid #999;border-radius:8px;font:inherit;margin-top:8px}.oht-launch-consent{line-height:1.6}.oht-honeypot{position:absolute!important;left:-10000px}.oht-profile-notice{padding:16px;background:#f0f3df;border-radius:12px;line-height:1.6;margin:16px 0}.oht-catalog-list .oht-doc-help{display:block;font-size:14px;line-height:1.5;color:#555;margin-top:6px}.oht-document-group-title{font-size:1rem;padding:16px 4px 4px}.oht-business-type{display:block;margin:20px 0}.oht-business-type select{display:block;padding:12px;font:inherit;width:100%;max-width:440px;margin-top:8px}.site-footer a,.footer-nav a{font-size:14px!important}.hp-tags a{font-size:14px!important}.oht-catalog-scope{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.oht-catalog-scope button{font:inherit;padding:10px 14px;border:1px solid #888;border-radius:8px;background:#fff;cursor:pointer}.oht-catalog-scope button[aria-pressed=true]{background:#222;color:white}.oht-summary-count{flex-wrap:wrap}@media(max-width:650px){.oht-compact-process ol{grid-template-columns:1fr}.oht-sample-paper{padding:16px}.oht-launch{padding-left:20px;padding-right:20px}.oht-doc-format{display:none}.oht-catalog-tools{grid-template-columns:1fr}.oht-order-summary{position:static}.status-strip span{font-size:12px;line-height:1.5}}

.hp-niche-links a{font-size:14px!important}.hp-lead,.hp-benefit p,.hp-buy-lead{font-size:16px!important}.r-live-form p{font-size:14px}.oht-order-summary [data-oht-summary-next]{font-size:14px}
@media(max-width:650px){.status-strip{height:auto}.status-strip .wrap{min-width:0;white-space:normal}.status-strip span{white-space:normal;max-width:100%;overflow-wrap:anywhere}.oht-sample-table{max-width:100%;overflow-x:auto}.hp-niche-links{flex-wrap:wrap}}

.hp-points a{font-size:14px!important}.picker__legend,.compose__doc-title,.compose__sec-title{font-size:14px}.j__lead,.r-hero-intro{font-size:16px}

/* guided-flow.css */
.guided-cart{padding:18px;border:2px solid #31473b;border-radius:18px;background:#fff;margin:16px 0}.guided-cart p{margin:0 0 12px}.guided-cart .btn{width:100%;white-space:normal;text-align:center}.guided-cart small{display:block;line-height:1.5;color:#465449}.guided-cart__status{font-size:14px;margin:10px 0!important}.guided-account{padding:18px;background:#edf7ef;border-radius:14px;margin-bottom:20px}.guide-pointer{font:600 14px/1.5 sans-serif;color:#163e2c;background:#edf8ee;border:1px solid #98bda3;border-radius:10px;padding:9px 13px;max-width:360px;margin:10px 0;animation:guide-arrive .5s ease-out}.guide-target{outline:2px solid #638e70;outline-offset:5px;scroll-margin-top:110px}.oht-helper{position:fixed;right:22px;bottom:20px;z-index:1200;max-width:calc(100vw - 32px)}.oht-helper__toggle{border:2px solid #fff;box-shadow:0 4px 22px #16291f33;border-radius:50%;width:82px;height:82px;background:#e8f2e8;position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;float:right;padding:0;color:#123426}.oht-helper__toggle img{width:80px;height:80px;object-fit:contain;border-radius:50%}.oht-helper__toggle>span:first-child{font-size:38px}.oht-helper__label{position:absolute;right:88px;white-space:nowrap;background:white;padding:7px 12px;border-radius:20px;box-shadow:0 2px 14px #0002;font:600 13px sans-serif}.oht-helper__bubble{width:320px;background:#fff;color:#203027;box-shadow:0 8px 34px #152b2440;border:1px solid #c9d8cd;border-radius:20px;padding:20px;margin-bottom:12px;line-height:1.5;font-size:15px}.oht-helper__bubble[hidden]{display:none}.oht-helper__top{display:flex;justify-content:space-between;align-items:start;gap:12px}.oht-helper__top button{border:0;background:none;font-size:26px;cursor:pointer;line-height:1;color:#31473b}.oht-helper__bubble .btn{font-size:14px;white-space:normal;width:100%;text-align:center;min-height:44px}.oht-helper__quiet{display:block;background:none;border:0;text-decoration:underline;color:#4f6656;margin:12px auto 0;cursor:pointer}.compose__doc-inner{position:relative}.compose__doc input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:#356849;cursor:pointer}.compose__doc.is-excluded .compose__doc-title{opacity:.5;text-decoration:line-through}.compose__doc label{cursor:pointer}.compose__note{line-height:1.5}@keyframes guide-arrive{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@media(max-width:600px){.oht-helper{right:12px;bottom:12px}.oht-helper__toggle{width:62px;height:62px}.oht-helper__toggle img{width:60px;height:60px}.oht-helper__label{right:69px}.oht-helper__bubble{width:min(310px,calc(100vw - 24px));max-height:65vh;overflow:auto}.guide-pointer{font-size:13px}.guided-cart{padding:14px}}@media(prefers-reduced-motion:reduce){.guide-pointer{animation:none}}@media print{.oht-helper,.guide-pointer{display:none}}
.page-niche .r-hero{padding-top:32px;padding-bottom:32px}.page-niche .r-hero h1{font-size:clamp(38px,4.2vw,58px);line-height:1.08}.page-niche .r-hero-intro{margin-top:18px;margin-bottom:18px}.r-hero-copy .btn-row>.guide-pointer{flex-basis:100%;margin:0;max-width:100%}.r-hero-copy .btn-row{gap:12px}.page-niche .r-hero .r-workbench{max-height:550px}.compose__doc label{min-height:44px}.compose__doc label input{margin-top:2px}@media(max-width:600px){.page-niche .r-hero{padding-top:22px;padding-bottom:24px}.page-niche .r-hero h1{font-size:38px}.page-niche .r-hero .r-workbench{display:none}.page-niche .r-hero-copy .eyebrow{margin-bottom:16px}.page-niche .r-hero-note{font-size:12px}.oht-helper__bubble .btn{padding:12px}.guide-target{outline-offset:2px}}
.guide-steps{display:flex;align-items:center;gap:20px;padding-block:22px;border-top:1px solid #d8ded8;border-bottom:1px solid #d8ded8;font-size:14px}.guide-steps a{color:inherit;text-decoration:underline;text-underline-offset:4px}.guide-cart-dock{display:none}@media(max-width:600px){.guide-steps{gap:8px;font-size:11px;flex-wrap:wrap;padding-block:16px}.guide-cart-dock{display:block;position:fixed;left:12px;bottom:14px;z-index:1100;width:calc(100% - 94px);min-height:48px;border:0;border-radius:12px;background:#304e3c;color:white;box-shadow:0 3px 16px #0003;font:600 13px sans-serif;padding:10px}.guide-cart-dock.is-cart-visible{display:none}.page-niche .oht-helper__label{display:none}.guide-cart-dock:disabled{opacity:.65}}

