/* «Психология обо всём»: сумеречная сирень + шалфей, персиковый огонёк дыхания.
   У каждой темы свой цвет (--t), обложки рисуются градиентами — без картинок. */
:root {
  --bg: #F2F0F6;
  --surface: #FFFFFF;
  --ink: #221E31;
  --muted: #6A6480;
  --line: #E1DDEA;
  --sage: #2E7A6F;
  --sage-soft: #DDEEEA;
  --peach: #E9936F;
  --peach-soft: #FBE6DC;
  --lilac-soft: #E6E1F3;
  --foot: #1B1826;
  --foot-ink: #ECE8F4;
  --soft-mix: 15%;
  --display: "Unbounded", system-ui, sans-serif;
  --read: "Literata", Georgia, serif;
  --ui: "Onest", system-ui, sans-serif;
  --measure: 42rem;
  --wide: 76rem;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --shadow: 0 1px 2px rgba(34, 30, 49, .05), 0 8px 24px -12px rgba(34, 30, 49, .14);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15131C; --surface: #1E1B28; --ink: #ECE8F4; --muted: #A29CB6; --line: #332F41;
    --sage: #6CC5B6; --sage-soft: #1D3632; --peach: #F0A585; --peach-soft: #3A2620; --lilac-soft: #26223A;
    --foot: #0F0D15; --soft-mix: 22%;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15131C; --surface: #1E1B28; --ink: #ECE8F4; --muted: #A29CB6; --line: #332F41;
  --sage: #6CC5B6; --sage-soft: #1D3632; --peach: #F0A585; --peach-soft: #3A2620; --lilac-soft: #26223A;
  --foot: #0F0D15; --soft-mix: 22%;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* цвета тем */
.t-trevoga    { --t: #3F7EA6; }
.t-otnosheniya{ --t: #C2577A; }
.t-samoocenka { --t: #B9832F; }
.t-emocii     { --t: #7A5BC7; }
.t-semya      { --t: #D0704A; }
.t-privychki  { --t: #2E7A6F; }
.t-obshchenie { --t: #4E8A3A; }
.t-smysl      { --t: #7B6FA0; }
.t-telo       { --t: #2F8FA0; }
.t-harakter   { --t: #9A6B4B; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--ui); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--sage) 55%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--sage); }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* полоса прогресса чтения */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sage), var(--peach)); }

/* шапка */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; max-width: var(--wide); margin: 0 auto; padding: 14px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 1rem/1.2 var(--ui); text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 18px; height: 18px; border: 2px solid var(--sage); border-radius: 4px; position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--peach); left: -5px; bottom: -5px; box-shadow: 0 0 8px var(--peach); }
.top nav { display: flex; gap: 2px; flex-wrap: wrap; }
.top nav a { font: 500 .95rem/1 var(--ui); padding: 10px 13px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); background: var(--surface); }
.top nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

main { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

/* типографика */
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); }
h2 { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.75rem); font-weight: 500; }
h1 em, h2 em { font-family: var(--read); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--sage); }
.lede { font: 400 clamp(1.08rem, 1rem + .4vw, 1.28rem)/1.55 var(--read); color: var(--muted); max-width: var(--measure); margin: 16px 0 0; text-wrap: pretty; }
.lede a { color: var(--sage); }
.eyebrow { font: 600 .78rem/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px);
  margin: clamp(16px, 3vw, 28px) 0 0; padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border-radius: 32px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 80% at 88% 20%, color-mix(in srgb, var(--peach) 30%, transparent), transparent 70%),
    radial-gradient(55% 70% at 70% 95%, color-mix(in srgb, var(--sage) 26%, transparent), transparent 70%),
    radial-gradient(60% 80% at 5% 10%, color-mix(in srgb, #7A5BC7 16%, transparent), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}
.hero::after { /* лёгкое зерно, чтобы градиент не был «пластиковым» */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero h1 { font-size: clamp(2.3rem, 1rem + 5.2vw, 4.6rem); line-height: 1.02; }
.hero h1 em { display: block; font-size: 1.08em; line-height: 1.05; }
.doors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.door { display: inline-flex; align-items: baseline; gap: 8px; padding: 12px 18px 12px 16px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.door:hover { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--sage); transform: translateY(-2px); }
.door-n { font: 700 1.15rem/1 var(--display); letter-spacing: -.02em; }
.door-l { font: 500 .95rem/1 var(--ui); color: var(--muted); }

.breath { margin: 0; position: relative; justify-self: center; width: min(100%, 360px); }
.breath svg { display: block; width: 100%; aspect-ratio: 1; overflow: visible; }
.breath-halo { fill: color-mix(in srgb, var(--peach) 22%, transparent); filter: blur(18px); }
.breath-track { fill: color-mix(in srgb, var(--surface) 78%, transparent); stroke: var(--line); stroke-width: 2; }
.breath-trail { fill: none; stroke: var(--sage); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0 1; }
.breath-dot { fill: var(--peach); filter: drop-shadow(0 0 9px color-mix(in srgb, var(--peach) 80%, transparent)); }
.breath-label { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; display: grid; place-content: center; text-align: center; pointer-events: none; }
.breath-phase { font: 500 1.02rem/1 var(--ui); color: var(--muted); letter-spacing: .03em; }
.breath-count { font: 700 clamp(3rem, 2rem + 4vw, 4.6rem)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.breath-hint { margin: 10px auto 0; max-width: 18rem; text-align: center; font: 400 .9rem/1.45 var(--ui); color: var(--muted); }

/* ---------- блоки ---------- */
.block { padding: clamp(40px, 6vw, 72px) 0 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.more { font: 600 .95rem/1.4 var(--ui); color: var(--sage); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.more::after { content: " →"; }

/* чипы тем */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.page-head .chips { margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; text-decoration: none; font: 500 .95rem/1 var(--ui); background: color-mix(in srgb, var(--t) var(--soft-mix), var(--surface)); color: var(--ink); transition: background .2s, transform .2s; }
.chip:hover { color: var(--ink); background: color-mix(in srgb, var(--t) calc(var(--soft-mix) + 12%), var(--surface)); transform: translateY(-1px); }
.chip[aria-current="page"] { background: var(--t); color: #fff; }
.chip[aria-current="page"] .dot { background: #fff; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--t); flex: none; }
.chip-n { font-size: .8rem; opacity: .6; font-variant-numeric: tabular-nums; }

/* метки тем */
.tag { display: inline-flex; align-items: center; gap: 7px; font: 600 .74rem/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--t) 80%, var(--ink)); text-decoration: none; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--t); }
a.tag:hover { color: var(--t); }

/* обложки */
.cover {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at var(--x) var(--y), color-mix(in srgb, var(--t) 62%, transparent) 0, transparent 52%),
    radial-gradient(circle at var(--x2) var(--y2), color-mix(in srgb, var(--peach) 50%, transparent) 0, transparent 46%),
    color-mix(in srgb, var(--t) var(--soft-mix), var(--surface));
}
.cover::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: var(--s); aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, #fff 75%, transparent); border-radius: 8px;
  transform: translate(-50%, -50%) rotate(var(--r)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 18%, transparent);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.cover::before {
  content: ""; position: absolute; inset: 0; opacity: .3; mix-blend-mode: overlay; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.cover-sm { aspect-ratio: 16 / 7; }
.cover-hero { aspect-ratio: auto; height: clamp(140px, 22vw, 240px); border-radius: var(--radius); margin-bottom: 28px; }
.cover-hero::after { width: auto; height: 62%; }

/* сетки карточек */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 2vw, 22px); }
.grid-articles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grid-tests { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card {
  display: flex; flex-direction: column; height: 100%; padding: 10px; border-radius: var(--radius);
  background: var(--surface); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.card:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 2px 4px rgba(34, 30, 49, .05), 0 18px 36px -16px rgba(34, 30, 49, .25); }
.card:hover .cover::after { transform: translate(-50%, -50%) rotate(calc(var(--r) + 45deg)); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 8px 8px; flex: 1; }
.card-title { font: 600 clamp(1.05rem, 1rem + .25vw, 1.18rem)/1.32 var(--read); text-wrap: balance; }
.card:hover .card-title { color: var(--sage); }
.card-desc { color: var(--muted); font: 400 .95rem/1.5 var(--read); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; padding-top: 4px; font: 500 .8rem/1.4 var(--ui); color: var(--muted); }

/* большая первая статья */
.grid-articles > .feature { grid-column: 1 / -1; }
.feature .card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 8px; }
.feature .cover { aspect-ratio: auto; min-height: 260px; }
.feature .card-body { justify-content: center; padding: 18px clamp(12px, 3vw, 32px); gap: 12px; }
.feature .card-title { font: 700 clamp(1.4rem, 1rem + 1.6vw, 2.1rem)/1.15 var(--display); letter-spacing: -.02em; font-weight: 500; }
.feature .card-desc { font-size: 1.05rem; -webkit-line-clamp: 4; }
.feature .card-meta { margin-top: 6px; }

/* факт дня */
.fact { position: relative; margin: clamp(48px, 7vw, 88px) 0 0; padding: clamp(32px, 6vw, 64px) clamp(22px, 6vw, 80px); border-radius: 32px; background: var(--lilac-soft); overflow: hidden; }
.fact::before { content: "“"; position: absolute; right: clamp(12px, 4vw, 48px); top: -.18em; font: 700 clamp(8rem, 18vw, 15rem)/1 var(--read); color: color-mix(in srgb, #7A5BC7 22%, transparent); pointer-events: none; }
.fact blockquote { position: relative; margin: 0; max-width: 46rem; font: 500 italic clamp(1.35rem, 1rem + 1.6vw, 2.15rem)/1.35 var(--read); letter-spacing: -.01em; text-wrap: balance; }

/* упражнение дня */
.today { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 64px); padding: clamp(26px, 5vw, 56px); border-radius: 32px; background: var(--peach-soft); }
.today h2 { margin-bottom: 18px; }
.today h2 a { text-decoration: none; }
.today .prose { font-size: 1.08rem; }
.today .prose p:last-child { margin-bottom: 0; }

/* список упражнений */
.rows { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); column-gap: 32px; }
.row a { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.row-dot { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--t); box-shadow: 0 0 0 4px color-mix(in srgb, var(--t) 18%, transparent); }
.row-main { display: grid; gap: 4px; }
.row-title { font: 600 1.08rem/1.35 var(--read); }
.row a:hover .row-title { color: var(--sage); }
.row-desc { color: var(--muted); font: 400 .95rem/1.5 var(--read); }

/* заголовки разделов */
.page-head { padding: clamp(32px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.h-dot { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--t); margin-right: .35em; vertical-align: .08em; box-shadow: 0 0 0 .14em color-mix(in srgb, var(--t) 20%, transparent); }

/* ---------- чтение ---------- */
.reading { max-width: var(--measure); margin: 0 auto; padding: clamp(20px, 4vw, 40px) 0 8px; }
.reading-head { margin-bottom: 8px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; font: 500 .85rem/1.4 var(--ui); color: var(--muted); }
.reading h1 { font-size: clamp(1.8rem, 1.1rem + 2.8vw, 2.8rem); line-height: 1.12; }
.prose { font: 400 clamp(1.07rem, 1rem + .3vw, 1.2rem)/1.75 var(--read); }
.prose p { margin: 0 0 1.1em; hyphens: auto; text-wrap: pretty; }
.prose ol, .prose ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--sage); font-family: var(--ui); font-weight: 600; }
.reading .prose { margin-top: 28px; }
.reading > .prose > p:first-child { font-size: 1.12em; line-height: 1.65; }
.reading > .prose > p:first-child::first-letter { float: left; font: 700 3.3em/.85 var(--display); margin: .08em .1em 0 0; color: var(--sage); }

.try { display: grid; gap: 6px; margin: 36px 0 0; padding: 22px 24px; border-radius: var(--radius); background: var(--sage-soft); }
.try .eyebrow { margin: 0; color: var(--sage); }
.try a { font: 600 1.2rem/1.35 var(--read); text-decoration: none; }
.try a:hover { color: var(--sage); }
.try span { font: 400 .9rem/1.4 var(--ui); color: var(--muted); }
.related { max-width: var(--wide); margin: 0 auto; }

/* ---------- тест ---------- */
.quiz { margin-top: 32px; }
.q { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.q legend { display: flex; gap: 12px; font: 600 1.12rem/1.45 var(--read); margin-bottom: 14px; padding: 0; }
.q-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 .82rem/1 var(--ui); background: var(--sage-soft); color: var(--sage); margin-top: 0; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 8px 42px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font: 400 1rem/1.45 var(--ui); transition: box-shadow .15s, background .15s, transform .15s; }
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--sage); }
.opt input { accent-color: var(--sage); margin: 3px 0 0; width: 18px; height: 18px; flex: none; }
.opt:has(input:checked) { background: var(--sage-soft); box-shadow: inset 0 0 0 2px var(--sage); }
.opt:has(input:focus-visible) { outline: 3px solid var(--peach); outline-offset: 2px; }
.quiz-bar { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 18px 0 20px; background: linear-gradient(transparent, var(--bg) 35%); }
.quiz-progress { font: 500 .92rem/1.3 var(--ui); color: var(--muted); }
button { font: 600 1rem/1 var(--ui); padding: 15px 24px; border: 0; border-radius: 999px; background: var(--sage); color: var(--bg); cursor: pointer; transition: filter .15s, transform .15s; }
button:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
button:not(:disabled):hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--sage); box-shadow: inset 0 0 0 1.5px var(--sage); }

.result { margin-top: 12px; padding: clamp(24px, 4vw, 36px); border-radius: 24px; background: var(--peach-soft); }
.result:focus { outline: none; }
.result-kicker { font: 500 .85rem/1.4 var(--ui); color: var(--muted); margin: 0 0 8px; }
.result h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: 14px; }
.result .prose p:last-child { margin-bottom: 0; }
.result details { margin-top: 20px; border-top: 1px solid color-mix(in srgb, var(--peach) 35%, transparent); padding-top: 14px; }
.result summary { font: 600 .95rem/1.4 var(--ui); color: var(--sage); cursor: pointer; }
.result .other { margin-top: 12px; }
.result .other h3 { font: 600 1rem/1.4 var(--ui); margin: 14px 0 4px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.vkid-box { margin-top: 18px; max-width: 360px; min-height: 48px; }
.gate-msg { font: 500 .95rem/1.5 var(--ui); margin: 14px 0 0; }
.gate-msg:empty { display: none; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.gate-actions:empty { display: none; }
.btn { display: inline-block; font: 600 1rem/1 var(--ui); padding: 15px 24px; border-radius: 999px; background: var(--sage); color: var(--bg); text-decoration: none; }
.btn:hover { color: var(--bg); filter: brightness(1.08); }

/* ---------- подвал ---------- */
.foot { margin-top: clamp(64px, 9vw, 120px); background: var(--foot); color: var(--foot-ink); }
.foot a { color: var(--foot-ink); }
.foot-in { max-width: var(--wide); margin: 0 auto; padding: clamp(40px, 6vw, 64px) var(--gutter) 28px; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: start; }
.foot .brand-mark { border-color: #6CC5B6; }
.foot-brand p { margin: 14px 0 0; max-width: 24rem; color: color-mix(in srgb, var(--foot-ink) 65%, transparent); font: 400 1rem/1.55 var(--read); }
.foot-h { margin: 0 0 12px; font: 600 .78rem/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: color-mix(in srgb, var(--foot-ink) 60%, transparent); }
.foot-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 12px 18px; border-radius: 999px; text-decoration: none; font: 600 .95rem/1 var(--ui); background: color-mix(in srgb, var(--foot-ink) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--foot-ink) 18%, transparent); transition: background .2s; }
.pill:hover { background: color-mix(in srgb, var(--foot-ink) 18%, transparent); color: var(--foot-ink); }
.foot-nav { display: grid; gap: 10px; font: 500 .95rem/1.2 var(--ui); }
.foot-nav a { text-decoration: none; color: color-mix(in srgb, var(--foot-ink) 75%, transparent); }
.foot-nav a:hover { color: #fff; }
.foot-small { display: block; padding-top: 22px; padding-bottom: 36px; border-top: 1px solid color-mix(in srgb, var(--foot-ink) 12%, transparent); font-size: .85rem; color: color-mix(in srgb, var(--foot-ink) 55%, transparent); }
.foot-small p { margin: 0 0 6px; max-width: 52rem; }

/* ---------- адаптив ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; border-radius: 26px; }
  .breath { width: min(78vw, 300px); }
  .feature .card { grid-template-columns: 1fr; }
  .feature .cover { min-height: 0; aspect-ratio: 16 / 10; }
  .today { grid-template-columns: 1fr; border-radius: 26px; }
  .foot-in { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .top-in { padding-top: 10px; padding-bottom: 10px; }
  .top nav a { padding: 8px 9px; font-size: .9rem; }
  .opt { margin-left: 0; }
  .fact, .today, .hero { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
