/*
 * Публичный сайт ForEasy — главная (перенесена из макета docs/05-frontend/site-redesign). Один бренд с кабинетом: те же токены обеих тем,
 * шрифт Golos Text, индиго-акцент, пастельные значки монет и иллюстрации (dashboard-redesign/app.css).
 * Отличия от кабинета — только масштаб: крупнее заголовки, шире поля, больше воздуха между блоками.
 *
 * Правила (как в кабинете): светлая основа, один акцент; красный — только для «нельзя» в схеме денег;
 * никаких графиков цены, тикеров и PnL — сайт про регулярные покупки, а не про торговлю.
 * Без inline-стилей и обработчиков: разметка готова к строгому CSP при переносе в Django.
 */

/* --- Токены: копия кабинета (dashboard-redesign/app.css) --------------------------------------- */
:root {
  color-scheme: light;
  --font: 'Golos Text', system-ui, sans-serif;
  --page: 1120px;
  --bg: #F6F6F1; --surface: #FFFFFF; --text: #16181D; --muted: #5C606C;
  --line: #E3E3DA; --chip: #ECECE5; --hover: #F0F0E9;
  --accent: #4B57D1; --accent-hover: #3F4ABF; --accent-text: #4350C8; --on-accent: #FFFFFF;
  --err-bg: #FDEEEC; --err-line: #F2C9C3; --err-ink: #B42318;
  --warn-bg: #FFF5E0; --warn-line: #F0DCA6; --warn-ink: #8A5800;
  --info-bg: #EEF0FC;
  --ok: #2E9E6A; --ok-bg: #E3F4EB; --ok-ink: #1C7348;
  --shadow: 0 12px 40px rgb(0 0 0 / 0.08);
  --radius: 18px;
  /* Пометки редактора — свой «чернильный» цвет, чтобы не путать с интерфейсом сайта */
  --note-ink: #2C74B0; --note-bg: #EEF5FB; --note-line: #C9DDF0; --note-text: #1F3B57;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121311; --surface: #1B1C1A; --text: #EDEDE7; --muted: #9A9C92;
  --line: #30312D; --chip: #2A2B28; --hover: #232421;
  --accent: #5A65E2; --accent-hover: #6873EA; --accent-text: #A4ACFF; --on-accent: #FFFFFF; --focus: #A4ACFF;
  --err-ink: #FF8A7C; --warn-ink: #E8B24E;
  --err-bg: color-mix(in srgb, #FF8A7C 14%, #1B1C1A);
  --err-line: color-mix(in srgb, #FF8A7C 30%, #1B1C1A);
  --warn-bg: color-mix(in srgb, #E8B24E 15%, #1B1C1A);
  --info-bg: color-mix(in srgb, #5A65E2 24%, #1B1C1A);
  --ok: #52C28E; --ok-bg: color-mix(in srgb, #52C28E 16%, #1B1C1A); --ok-ink: #7CD8AA;
  --shadow: 0 16px 48px rgb(0 0 0 / 0.5);
  --note-ink: #8CC3F2; --note-bg: #17222D; --note-line: #2B4560; --note-text: #CFE3F5;
}

/* --- База ------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus, var(--accent)); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.i { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--page); margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--on-accent); }
.skip:focus { top: 12px; }

/* --- Кнопки (как в кабинете, крупнее) ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--hover); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--lg { min-height: 52px; padding: 12px 24px; font-size: 17px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-more:hover { text-decoration: underline; }
.link-more .i { width: 18px; height: 18px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--hover); color: var(--text); }
.i--sun { display: none; }
:root[data-theme="dark"] .i--sun { display: block; }
:root[data-theme="dark"] .i--moon { display: none; }

/* --- Шапка ------------------------------------------------------------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; color: var(--text); }
.logo__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 16px; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); background: var(--hover); }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.lang { padding: 8px 10px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.lang:hover { color: var(--text); background: var(--hover); }
.topbar .btn { min-height: 40px; padding: 8px 16px; }
/* Меню на телефоне — <details>: работает без JS */
.menu { display: none; position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: grid; }
.menu__panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 500; }
.menu__panel a:hover { background: var(--hover); }
.menu__panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
@media (max-width: 980px) {
  .nav, .topbar__login { display: none; }
  .menu { display: block; }
}
@media (max-width: 560px) {
  .topbar__in { height: 60px; gap: 12px; }
  .topbar .btn--primary { display: none; }
}

/* --- Секции ----------------------------------------------------------------------------------- */
.sec { padding-block: 72px; border-top: 1px solid var(--line); }
.sec--first { border-top: 0; padding-top: 56px; }
.sec__head { display: grid; gap: 10px; max-width: 760px; margin-bottom: 32px; }
.sec__head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
:root[data-theme="dark"] .sec__head h2, :root[data-theme="dark"] .hero h1 { font-weight: 700; }
.sec__head p { color: var(--muted); font-size: 18px; }
.sec__foot { margin-top: 28px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (max-width: 760px) { .sec { padding-block: 52px; } .sec__head p { font-size: 17px; } }

/* --- 1. Первый экран: текст слева, пример плана справа ---------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__ex { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; margin-top: 14px; text-wrap: balance; }
.hero__lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); margin-top: 18px; max-width: 34em; }
.hero__lead b { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__small { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.quote { margin-top: 28px; padding-left: 14px; border-left: 3px solid var(--line); color: var(--muted); font-size: 15px; font-style: italic; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Пример плана одной фразой — тот же язык, что в форме нового плана кабинета */
.plan-demo { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.plan-demo__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tag-ex { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--chip); padding: 4px 10px; border-radius: 999px; }
.sentence { font-size: 22px; line-height: 1.55; font-weight: 600; letter-spacing: -0.005em; }
.sentence mark { background: var(--info-bg); color: var(--accent-text); padding: 1px 8px; border-radius: 8px; white-space: nowrap; font-weight: 700; }
.pick { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.pick legend { padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; }
.chip input:hover + span { border-color: var(--muted); }
.chip input:checked + span { border-color: var(--accent); background: var(--info-bg); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--focus, var(--accent)); outline-offset: 2px; }
/* Одна колонка: у монет значки — в узкой половине карточки чипы разъезжались по строкам */
.plan-demo__picks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.plan-demo__facts { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.plan-demo__facts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--muted); }
.plan-demo__facts li b { color: var(--text); font-weight: 600; }
.plan-demo__facts .i { width: 20px; height: 20px; margin-top: 2px; color: var(--muted); }
@media (max-width: 480px) { .plan-demo { padding: 18px; } .sentence { font-size: 19px; } }

/* Монеты — пастельные значки кабинета */
.coin { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 11.5px; color: #16181D; flex: none; }
.coin--btc { background: #F5B451; } .coin--eth { background: #A9B2F2; } .coin--sol { background: #C3B1F7; }
:root[data-theme="dark"] .coin { filter: brightness(0.9) saturate(0.92); }

/* --- 2. Три шага ------------------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; }
.step__n { width: 40px; height: 40px; border-radius: 12px; background: var(--info-bg); color: var(--accent-text); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* --- 3. Где ваши деньги: схема ------------------------------------------------------------------ */
.flow { display: grid; grid-template-columns: minmax(0, 0.8fr) 40px minmax(0, 2fr) 76px minmax(0, 1.3fr); align-items: center; gap: 0; }
.flow__box { border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 6px; align-content: start; }
.flow__box h3 { font-size: 16px; font-weight: 700; }
.flow__box p { color: var(--muted); font-size: 14.5px; }
.flow__ex { border: 2px solid var(--accent); background: var(--surface); }
.flow__ex h3 { color: var(--accent-text); }
.flow__inside { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.flow__inside span { padding: 6px 10px; border-radius: 10px; background: var(--chip); font-size: 14px; font-weight: 600; }
.flow__inside .i { width: 16px; height: 16px; color: var(--muted); }
.flow__arrow { display: grid; place-items: center; color: var(--muted); }
.flow__arrow .i { width: 26px; height: 26px; }
.flow__key { border-style: dashed; }
/* Связь ForEasy → биржа: стрелка смотрит на биржу — от нас идут только заявки на покупку, деньги к нам не идут */
.flow__link { display: grid; justify-items: center; gap: 2px; padding-inline: 6px; color: var(--muted); font-size: 11.5px; font-weight: 600; line-height: 1.25; text-align: center; }
.flow__link .i { width: 26px; height: 26px; transform: rotate(180deg); }
.can { display: grid; gap: 6px; margin-top: 4px; font-size: 14.5px; }
.can li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.can .i { width: 18px; height: 18px; margin-top: 3px; }
.can .yes .i { color: var(--ok); }
.can .no .i { color: var(--err-ink); }
.can .no { color: var(--muted); }
.flow__honest { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 760px; }
.flow__honest b { color: var(--text); }
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__arrow { height: 36px; }
  .flow__arrow .i { transform: rotate(90deg); }
  .flow__link { grid-auto-flow: column; align-items: center; justify-content: center; height: 44px; gap: 8px; font-size: 12.5px; }
  .flow__link .i { transform: rotate(-90deg); }
}

/* --- 4. Чего не делаем -------------------------------------------------------------------------- */
.donts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dont { display: grid; gap: 10px; align-content: start; }
.dont__ic { width: 44px; height: 44px; border-radius: 14px; background: var(--chip); display: grid; place-items: center; color: var(--text); }
.dont h3 { font-size: 18px; font-weight: 700; }
.dont p { color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .donts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .donts { grid-template-columns: minmax(0, 1fr); } }

/* --- 5. Биржи: таблица, на телефоне — карточки ---------------------------------------------- */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; vertical-align: top; border-top: 1px solid var(--line); }
.tbl thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--hover); }
.tbl tbody th { font-weight: 700; white-space: nowrap; }
.tbl tbody th a { color: var(--text); text-decoration: none; }
.tbl tbody th a:hover { text-decoration: underline; }
.tbl td small { display: block; color: var(--muted); font-size: 13.5px; }
.checks { display: flex; flex-wrap: wrap; gap: 4px; }
.checks span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.checks .srv { background: var(--ok-bg); color: var(--ok-ink); }
.checks .you { background: var(--chip); color: var(--muted); }
.checks .i { width: 14px; height: 14px; }
.legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.legend .checks { display: inline-flex; }
@media (max-width: 760px) {
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; }
  .tbl { border: 0; background: none; overflow: visible; }
  .tbl thead { display: none; }
  .tbl tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
  .tbl th, .tbl td { padding: 6px 0; border: 0; }
  .tbl tbody th { font-size: 18px; }
  .tbl td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
}

/* --- 6. Встроенный автоинвест или ForEasy ------------------------------------------------------- */
.vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
.vs__fair { background: var(--info-bg); border-color: transparent; }
.vs__fair h3, .vs__ours h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.vs__fair p { color: var(--text); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.ticks .i { width: 20px; height: 20px; margin-top: 3px; color: var(--accent-text); }
@media (max-width: 860px) { .vs { grid-template-columns: minmax(0, 1fr); } }

/* --- 7. Как выглядит внутри: снимки по текущей теме ------------------------------------------- */
.shots { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.shot { display: grid; gap: 10px; }
.shot__frame { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.shot__frame img { width: 100%; height: auto; }
.shot figcaption { color: var(--muted); font-size: 14px; }
.shot--phone .shot__frame { border-radius: 28px; max-width: 320px; }
.shot__dark { display: none; }
:root[data-theme="dark"] .shot__dark { display: block; }
:root[data-theme="dark"] .shot__light { display: none; }
.shots__note { margin-top: 18px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .shots { grid-template-columns: minmax(0, 1fr); } .shot--phone .shot__frame { margin-inline: auto; } }

/* --- 8. Безопасность ------------------------------------------------------------------------- */
.guard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guard li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.guard h3 { font-size: 17px; font-weight: 700; }
.guard p { color: var(--muted); font-size: 15px; margin-top: 2px; }
@media (max-width: 760px) { .guard { grid-template-columns: minmax(0, 1fr); } }

/* --- 9. Тарифы ---------------------------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier { display: grid; gap: 12px; align-content: start; }
.tier h3 { font-size: 20px; font-weight: 700; }
.tier__price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.tier__price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier__alt { color: var(--muted); font-size: 14.5px; }
.tier ul { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.tier li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.tier li .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-text); }
.tiers__note { margin-top: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }
@media (max-width: 860px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

/* --- 10. FAQ ------------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform .15s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* --- 11. Финал ----------------------------------------------------------------------------- */
.final { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 36px; }
.final h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.final p { color: var(--muted); font-size: 18px; margin-top: 8px; }
.final .hero__cta { margin-top: 20px; }
.risk-line { margin-top: 24px; color: var(--muted); font-size: 14px; max-width: 860px; }
@media (max-width: 640px) { .final { grid-template-columns: minmax(0, 1fr); padding: 24px; } .final .art { width: 96px; height: 96px; } }

/* Иллюстрации — набор кабинета: линии цветом текста, заливки токенами */
.art { width: 136px; height: 136px; color: var(--muted); overflow: visible; }
.art .st { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.art .ac { fill: none; stroke: var(--accent-text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.art .bg { fill: var(--chip); }
.art .tint { fill: var(--info-bg); }
.art .gold { fill: #F5B451; }
.art .ink { fill: #16181D; font: 800 14px/1 var(--font); }
:root[data-theme="dark"] .art .gold { fill: #DDA24A; }

/* --- 12. Подвал ---------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer__brand p { color: var(--muted); margin-top: 10px; max-width: 30ch; }
.footer h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.footer li + li { margin-top: 6px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.footer__bottom a { color: var(--muted); text-decoration: underline; }
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* --- Телефон: одна ось выравнивания ------------------------------------------------------------
 * Правило: всё, что стоит вне карточек (первый экран, заголовки и подводки секций, сноски,
 * финальный блок, подвал), — по центру. Внутри карточек (шаги, биржи, тарифы, FAQ, пример плана)
 * — по левому краю: абзацы в 4–6 строк по центру читаются хуже из-за рваного левого края.
 * Кнопки — во всю ширину: до них достаёт большой палец, и подписи разной длины не «пляшут».
 */
@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  .hero > div:first-child, .sec__head, .sec__foot, .legend, .flow__honest, .shots__note, .tiers__note,
  .risk-line, .shot figcaption, .final, .footer__top, .footer__bottom { text-align: center; }
  .hero__ex, .legend { justify-content: center; }
  .hero__lead, .sec__head, .risk-line, .flow__honest, .footer__brand p { margin-inline: auto; }
  .sec__head { justify-items: center; }
  .quote { border-left: 0; padding-left: 0; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; margin-inline: auto; }
  .hero__cta .btn { width: 100%; white-space: normal; text-align: center; }
  .final { justify-items: center; }
  .final > div { width: 100%; }
  .footer__brand .logo { justify-content: center; }
  /* Зоны нажатия — не меньше 44 px (HIG / Material) */
  .chip span { min-height: 44px; }
  .menu > summary { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
