/* UnoFit — лендинг.
   Палитра из приложения (app/lib/core/theme.dart), сетка 4px, радиусы 4 шага,
   один акцент на экран. Анимации — прогрессивное улучшение: без JS страница
   читается и выглядит как обычно. */

:root {
  --bg: #f7f5ef;
  --surface: #fffdf9;
  --surface-alt: #efece2;
  --ink: #20261f;
  --ink-soft: #5b665f;
  --ink-faint: #67706a;
  --line: #e4e0d4;
  --accent: #2f7a5b;
  --accent-deep: #1f5b43;
  --accent-soft: #e2efe8;
  --amber: #e39a54;

  --dark-bg: #111512;
  --dark-surface: #1b211d;
  --dark-line: #2c342e;
  --dark-bar: #5f6a62;
  --dark-ink: #edf1eb;
  --dark-ink-soft: #9ca79f;
  --dark-accent: #74d2a6;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;

  --pad: clamp(16px, 4.4vw, 48px);
  --shell: 1180px;

  --step-h1: clamp(2.2rem, 4.4vw, 3.5rem);
  --step-h2: clamp(1.55rem, 2.5vw, 2.2rem);
  --step-h3: clamp(1.1rem, 1.5vw, 1.3rem);
  --step-lead: clamp(1.02rem, 1.15vw, 1.16rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  text-underline-offset: 0.24em;
  text-decoration-thickness: 1px;
  transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease);
}

a:hover {
  text-decoration-color: var(--accent);
}

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

::selection {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.shell {
  width: min(var(--shell), 100% - 2 * var(--pad));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip:focus {
  left: 0;
}

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

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}

.eyebrow__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.eyebrow__num::after {
  content: "·";
  margin-inline-start: 8px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: var(--step-h1);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: var(--step-h2);
  line-height: 1.12;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

h3 {
  font-size: var(--step-h3);
  line-height: 1.35;
  font-weight: 600;
}

p {
  margin: 0;
}

.lead {
  font-size: var(--step-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34em;
}

.small {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--r-sm);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease),
    color 160ms var(--ease);
}

.btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

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

.btn--block {
  width: 100%;
}

.btn__arrow {
  transition: transform 160ms var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* --- шапка ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0;
  text-decoration: none;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  text-decoration: none;
  padding: 4px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 160ms var(--ease);
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

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

.site-header__actions .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

@media (max-width: 1000px) {
  .nav {
    display: none;
  }
}

/* --- герой ------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 4.8vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 4.8vw, 64px) clamp(32px, 4.8vw, 56px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0 0;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.hero__meta span + span::before {
  content: "·";
  margin-inline: 12px;
  color: var(--line);
}

/* снимок экрана + арифметика шагов: главный момент страницы */
.shot {
  display: grid;
  grid-template-columns: clamp(176px, 16vw, 224px) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 48px -36px rgba(32, 38, 31, 0.5);
}

.shot__screen {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.shot__screen img {
  width: 100%;
}

.shot__calc {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8px;
}

.shot__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.shot__row b {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.shot__row--total {
  padding: 16px 0 12px;
  border-bottom: 0;
  color: var(--ink);
  font-weight: 500;
}

.shot__row--total b {
  font-size: 1.05rem;
  color: var(--accent);
}

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

  .shot {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 340px;
    margin-inline: auto;
  }

  .shot__calc {
    padding: 0 8px 4px;
  }
}

/* --- телефон ----------------------------------------------------------- */

.phone {
  margin: 0;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -32px rgba(32, 38, 31, 0.45);
}

.phone img {
  border-radius: var(--r-md);
  width: 100%;
}

/* --- полоса цифр ------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats div {
  padding: 24px 24px 24px;
  border-left: 1px solid var(--line);
}

.stats div:first-child {
  border-left: 0;
  padding-left: 0;
}

.stats b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* --- секции ------------------------------------------------------------ */

.section {
  padding-block: clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(24px, 4.8vw, 64px);
  align-items: end;
  margin-bottom: clamp(32px, 4.4vw, 56px);
}

@media (max-width: 840px) {
  .section__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split--flip .split__media {
  order: -1;
}

.split__media {
  display: flex;
  justify-content: center;
}

.split__media .phone {
  width: min(300px, 100%);
}

.split__body h3 + p {
  margin-top: 12px;
}

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

  .split--flip .split__media {
    order: 0;
  }
}

/* --- список с линейками ------------------------------------------------ */

.list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 1px;
  background: var(--ink-faint);
}

.list li b {
  font-weight: 600;
  color: var(--ink);
}

/* --- тёмные блоки ------------------------------------------------------ */

.section--dark,
.section--energy {
  background: var(--dark-bg);
  color: var(--dark-ink);
  border-bottom: 0;
}

.section--dark .eyebrow,
.section--energy .eyebrow {
  color: var(--dark-ink-soft);
}

.section--dark .lead,
.section--dark .small,
.section--energy .lead {
  color: var(--dark-ink-soft);
}

.section--dark .list,
.section--energy .list {
  border-top-color: var(--dark-line);
}

.section--dark .list li,
.section--energy .list li {
  border-bottom-color: var(--dark-line);
  color: var(--dark-ink-soft);
}

.section--dark .list li b,
.section--energy .list li b {
  color: var(--dark-ink);
}

.section--dark .list li::before,
.section--energy .list li::before {
  background: var(--dark-ink-soft);
}

.section--dark :focus-visible,
.section--energy :focus-visible {
  outline-color: var(--dark-accent);
}

.section--dark p a {
  color: var(--dark-accent);
  text-decoration-color: color-mix(in srgb, var(--dark-accent) 50%, transparent);
}

/* --- неделя: кольцо и график ------------------------------------------- */

.energy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.energy__visual {
  display: flex;
  justify-content: center;
}

.ring-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(240px, 80%);
  margin: 0;
}

.ring {
  width: 100%;
  height: auto;
  transform: rotate(-90deg);
}

.ring__track {
  fill: none;
  stroke: var(--dark-line);
  stroke-width: 8;
}

.ring__value {
  fill: none;
  stroke: var(--dark-accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 339.29;
  stroke-dashoffset: 47.5;
  transition: stroke-dashoffset 720ms var(--ease);
}

.js .ring-card:not(.is-in) .ring__value {
  stroke-dashoffset: 339.29;
}

.ring-card__label {
  position: absolute;
  display: grid;
  gap: 4px;
  text-align: center;
}

.ring-card__label b {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ring-card__label span {
  font-size: 0.8rem;
  color: var(--dark-ink-soft);
}

.chart {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-md);
}

.chart__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--dark-ink-soft);
}

.chart__sum b {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--dark-ink);
  font-variant-numeric: tabular-nums;
}

.chart__bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
  align-items: end;
  height: 160px;
}

.chart__bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.chart__bar i {
  display: block;
  height: var(--h);
  background: var(--dark-bar);
  transform-origin: bottom;
  transition: transform 600ms var(--ease);
}

.js .chart:not(.is-in) .chart__bar i {
  transform: scaleY(0);
}

.chart__bar--peak i {
  background: var(--dark-accent);
}

.chart__bar span {
  margin-top: 8px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--dark-ink-soft);
}

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

  .energy__visual {
    order: -1;
  }

  .ring-card {
    width: min(200px, 62%);
  }

  .chart__bars {
    height: 140px;
  }
}

/* --- макросы дня ------------------------------------------------------- */

.macros {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.macros__title {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.macros__row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 88px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.macros__bar {
  display: block;
  height: 6px;
  background: var(--surface-alt);
  overflow: hidden;
}

.macros__bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--ink-soft);
  transform-origin: left;
  transition: transform 720ms var(--ease);
}

.js .macros:not(.is-in) .macros__bar i {
  transform: scaleX(0);
}

.macros__row b {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* --- три колонки текста ------------------------------------------------ */

.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.cols h3 {
  font-size: 1.02rem;
}

.cols p {
  margin-top: 8px;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 840px) {
  .cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- подписка ---------------------------------------------------------- */

.plus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.label {
  margin: 32px 0 0;
  font-size: 0.8rem;
  color: var(--dark-ink-soft);
}

.plus__copy .list {
  margin-top: 12px;
}

.plus__card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 32px);
}

.plus__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
}

.plus__price b {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.plus__price span {
  font-size: 0.92rem;
  color: var(--dark-ink-soft);
}

.plus__card .list {
  margin-top: 16px;
}

.plus__card .btn {
  margin-top: 24px;
  background: var(--dark-accent);
  border-color: var(--dark-accent);
  color: #0b1a13;
}

.plus__card .btn:hover {
  background: #8ee4bb;
  border-color: #8ee4bb;
}

.plus__card .small {
  margin-top: 16px;
}

.plus__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  border-top: 1px solid var(--dark-line);
  list-style: none;
}

.plus__facts li {
  padding: 24px 24px 0;
  border-left: 1px solid var(--dark-line);
}

.plus__facts li:first-child {
  border-left: 0;
  padding-left: 0;
}

.plus__facts b {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-ink);
}

.plus__facts span {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--dark-ink-soft);
}

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

  .plus__facts {
    grid-template-columns: 1fr;
  }

  .plus__facts li {
    border-left: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .plus__facts li:last-child {
    border-bottom: 0;
  }
}

/* --- что мы не делаем -------------------------------------------------- */

.facts {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.facts li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.facts__icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--ink-faint);
}

.facts b {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.facts p {
  margin-top: 8px;
  max-width: 62ch;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* --- FAQ --------------------------------------------------------------- */

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

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

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 500;
  transition: color 160ms var(--ease);
}

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

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

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink-faint);
}

.faq details[open] summary::after {
  content: "−";
}

.faq__body p {
  padding: 0 0 20px;
  max-width: 60ch;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* --- финальный призыв -------------------------------------------------- */

.final {
  padding-block: clamp(64px, 8vw, 104px);
}

.final h2 {
  max-width: 24ch;
}

.final .lead {
  margin-top: 16px;
}

.final .hero__actions {
  margin-top: 24px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 4.8vw, 56px) 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 24px 32px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid .small {
  margin-top: 16px;
  max-width: 32ch;
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

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

/* --- юридические страницы --------------------------------------------- */

.legal {
  max-width: 76ch;
  padding-block: clamp(32px, 4.4vw, 56px) clamp(56px, 7vw, 88px);
}

.legal h1 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.legal h2 {
  margin-top: 32px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.legal p,
.legal li {
  margin-top: 12px;
  font-size: 0.98rem;
}

.legal ul,
.legal ol {
  padding-left: 24px;
}

.legal .updated {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.legal .note {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.93rem;
}

.legal-toc {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.legal-toc p {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  font-size: 0.93rem;
}

.legal-toc li {
  margin-top: 4px;
}

/* Служебная строка для проверки платёжной системы: заметна, но не мешает. */
.verify-note {
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--ink-soft) 70%, transparent);
}

/* --- движение: один вход героя и рост цифр при появлении --------------- */

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

.hero__copy {
  animation: rise 240ms var(--ease) both;
}

.shot {
  animation: rise 240ms var(--ease) 60ms both;
}

/* --- анимация раскрытия FAQ ------------------------------------------- */

.faq details[open] .faq__body {
  animation: faqOpen 200ms var(--ease);
}

@keyframes faqOpen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

  .hero__copy,
  .shot,
  .faq details[open] .faq__body {
    animation: none;
  }

  .ring__value,
  .chart__bar i,
  .macros__bar i {
    transition: none;
  }

  * {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
