/* ===================================================================
   Finratio · Главная и каталог (общие блоки витрины)
   Цвета и шрифт — в brand.css. Блоки собраны «плитками» разного цвета:
   зелёная, золотая, тёмная и белая на тёплой бумаге.
   =================================================================== */

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

main.home { padding-top: var(--header-h); }
main.home > section { padding-inline: 0; }
main.home [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:where(.home) :is(h1, h2, h3, h4) { font-family: var(--font-display); color: inherit; margin: 0; }
:where(.home) p { margin: 0; }
:where(.home) ul { margin: 0; padding: 0; list-style: none; }

.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; color: var(--ink); }
.sec-head p { margin-top: 12px; max-width: 58ch; font-size: 1.06rem; line-height: 1.6; color: var(--ink-2); }
.sec-head .more { font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.sec-head .more svg { transition: transform 200ms var(--ease-out); }
.sec-head .more:hover svg { transform: translateX(4px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; line-height: 1.2;
}

/* ================= Первый экран ================= */
.hero { padding-block: 20px clamp(40px, 6vw, 72px); }
.hero-bento { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; }

.hb-main {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 560px; padding: clamp(32px, 4.5vw, 56px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  border-radius: var(--r-lg); color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(200,168,75,.28) 0%, rgba(200,168,75,0) 46%),
    radial-gradient(90% 80% at 0% 100%, rgba(74,124,89,.55) 0%, rgba(74,124,89,0) 60%),
    var(--forest);
}
.hb-main::before {                       /* тонкая сетка как в тетради аналитика */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hb-line { position: absolute; right: -8px; bottom: 96px; width: 62%; z-index: -1; opacity: .9; pointer-events: none; }
.hb-line path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.2s 300ms var(--ease-out) forwards; }
.hb-line .area { stroke: none; fill: url(#gArea); stroke-dasharray: none; animation: fadeIn 1.6s 900ms var(--ease-out) both; }
.hb-line circle { fill: var(--gold); animation: pop 500ms 2.2s var(--ease-out) both; transform-origin: center; transform-box: fill-box; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

.hb-kicker { background: rgba(255,255,255,.1); color: var(--gold-lt); border: 1px solid rgba(232,208,128,.25); align-self: flex-start; }
.hb-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #7fd39b; box-shadow: 0 0 0 4px rgba(127,211,155,.18); }
.hb-main h1 { margin-top: 22px; font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 750; letter-spacing: -0.045em; line-height: .98; max-width: 11ch; }
.hb-main h1 em { font-style: normal; color: var(--gold); }
.hb-lead { margin-top: 22px; max-width: 46ch; font-size: clamp(1.04rem, 1.25vw, 1.18rem); line-height: 1.55; color: rgba(255,255,255,.82); }
.hb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hb-dirs { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-dirs a {
  padding: 9px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.hb-dirs a:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

.hb-side { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.tile { border-radius: var(--r-lg); padding: 24px; position: relative; overflow: hidden; }
.tile-white { background: var(--card); box-shadow: 0 1px 0 rgba(12,12,16,.04), 0 18px 40px -28px rgba(25,57,42,.35); }

.chart-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.chart-co { font-weight: 650; }
.chart-unit { font-size: .82rem; color: var(--ink-3); }
.chart { display: block; width: 100%; height: auto; margin: 14px 0 4px; }
.chart .bar { fill: var(--cream); transform-box: fill-box; transform-origin: bottom; transform: scaleY(.04); transition: transform 900ms var(--ease-out); }
.chart .bar.hl { fill: var(--gold); }
.is-in .chart .bar { transform: scaleY(1); }
.chart .bar:nth-child(2) { transition-delay: 70ms; } .chart .bar:nth-child(3) { transition-delay: 140ms; }
.chart .bar:nth-child(4) { transition-delay: 210ms; } .chart .bar:nth-child(5) { transition-delay: 280ms; }
.chart text { font-family: var(--font-display); font-size: 11px; fill: var(--ink-3); }
.chart text.v { fill: var(--ink); font-weight: 600; }
.chart-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.chart-kpis div { background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.chart-kpis b { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chart-kpis span { font-size: .78rem; color: var(--ink-3); }
.chart-src { margin-top: 12px; font-size: .8rem; color: var(--ink-3); }

.hb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 180px; }
.stat b { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { font-size: .95rem; line-height: 1.4; }
.stat-gold { background: var(--gold); color: var(--ink); }
.stat-gold p { color: rgba(12,12,16,.75); }
.stat-ink { background: var(--ink); color: #fff; }
.stat-ink p { color: rgba(255,255,255,.7); }
.stat .ring { position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: rgba(255,255,255,.12); }
.ring .fg { stroke: #7fd39b; stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: 151; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1.4s 300ms var(--ease-out); }
.is-in .ring .fg { stroke-dashoffset: 30; }
.stat-gold .ico-big { position: absolute; right: 16px; top: 16px; width: 46px; height: 46px; border-radius: 14px; background: rgba(12,12,16,.08); display: grid; place-items: center; }

/* ================= Бегущая строка компаний ================= */
.firms { padding-block: 8px clamp(40px, 6vw, 72px); }
.firms-label { text-align: center; font-size: .92rem; color: var(--ink-3); margin: 0 16px 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.firm {
  flex: none; padding: 12px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-2); white-space: nowrap;
}
.firm small { font-weight: 500; color: var(--ink-3); font-size: .8rem; margin-left: 8px; letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ================= Цели ================= */
.goals { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.goal {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); padding: 28px;
  min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  color: var(--ink); text-decoration: none;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.goal:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(12,12,16,.45); }
.goal:nth-child(1) { grid-column: span 7; background: var(--mint); }
.goal:nth-child(2) { grid-column: span 5; background: var(--gold-light); }
.goal:nth-child(3) { grid-column: span 5; background: var(--forest); color: #fff; }
.goal:nth-child(4) { grid-column: span 7; background: var(--ink); color: #fff; }
.goal h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; max-width: 14ch; }
.goal .g-count { background: rgba(12,12,16,.08); align-self: flex-start; }
.goal:nth-child(n+3) .g-count { background: rgba(255,255,255,.12); color: #fff; }
.goal ul { display: flex; flex-wrap: wrap; gap: 6px; max-width: 70%; }
.goal li { font-size: .85rem; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.65); }
.goal:nth-child(n+3) li { background: rgba(255,255,255,.1); color: rgba(255,255,255,.88); }
.goal-art { position: absolute; right: -6px; bottom: -6px; width: 46%; max-width: 260px; z-index: -1; transition: transform 400ms var(--ease-out); }
.goal:hover .goal-art { transform: translate(-6px, -6px) rotate(-2deg); }
.goal .g-go { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(12,12,16,.07); transition: transform 220ms var(--ease-out), background-color 220ms var(--ease-out); }
.goal:nth-child(n+3) .g-go { background: rgba(255,255,255,.12); }
.goal:hover .g-go { transform: rotate(-45deg); background: var(--gold); color: var(--ink); }

/* ================= Флагманские курсы ================= */
.flag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fcard {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.fcard:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -30px rgba(12,12,16,.55); }
.fcard.c-forest { background: var(--forest); color: #fff; }
.fcard.c-ink    { background: var(--ink); color: #fff; }
.fcard.c-gold   { background: var(--gold-light); color: var(--ink); }
.fc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-tags .pill { background: rgba(255,255,255,.12); color: #fff; }
.c-gold .fc-tags .pill { background: rgba(12,12,16,.07); color: var(--ink); }
.fc-tags .pill.gold { background: var(--gold); color: var(--ink); }
.fcard h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.fcard h3 a { color: inherit; text-decoration: none; }
.fcard h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }   /* вся карточка кликабельна */
.fc-desc { font-size: .97rem; line-height: 1.55; opacity: .82; }
.fc-art { height: 150px; margin: 2px -4px; }
.fc-art svg { width: 100%; height: 100%; }
.fc-build { display: grid; gap: 8px; }
.fc-build li { display: flex; gap: 10px; font-size: .94rem; line-height: 1.4; }
.fc-build .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--gold); }
.c-gold .fc-build .ic { color: var(--forest); }
.fc-meta { font-size: .86rem; opacity: .72; }
.fc-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.c-gold .fc-foot { border-top-color: rgba(12,12,16,.1); }
.fc-foot .cta { position: relative; z-index: 2; }

.fcard .fr-price-now { color: inherit; font-size: 2.1rem; }
.fcard .fr-price { flex-direction: column; align-items: flex-start; gap: 6px; }
.fcard .fr-price .row { display: flex; align-items: center; gap: 8px; }
.c-forest .fr-price-old, .c-ink .fr-price-old { color: rgba(255,255,255,.55); }

/* ================= Бесплатные курсы ================= */
.free-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fr {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-md);
  background: var(--card); color: var(--ink); text-decoration: none; border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(12,12,16,.04);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.fr:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(25,57,42,.45); border-color: var(--line); }
.fr-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fr-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; transition: transform 300ms var(--ease-out); }
.fr:hover .fr-ico { transform: rotate(-6deg) scale(1.05); }
.fr-ico .ic { width: 24px; height: 24px; }
.t-mint .fr-ico { background: var(--mint); color: var(--forest); }
.t-gold .fr-ico { background: var(--gold-light); color: var(--gold-ink); }
.t-ink  .fr-ico { background: var(--ink); color: var(--gold-lt); }
.t-rust .fr-ico { background: #f6e1d9; color: var(--rust); }
.fr-free { background: var(--mint); color: var(--forest); }
.fr h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; }
.fr p { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.fr-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--ink-3); }
.fr-meta .ic { width: 18px; height: 18px; color: var(--ink); transition: transform 200ms var(--ease-out); }
.fr:hover .fr-meta .ic { transform: translateX(4px); }

/* ================= Как проходит обучение ================= */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.how-tile { border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; min-height: 360px; }
.how-tile h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.how-tile > p { font-size: .93rem; line-height: 1.5; opacity: .8; }
.how-n { font-size: .85rem; font-weight: 600; opacity: .6; }
.mock { margin-top: auto; border-radius: 16px; padding: 14px; font-size: .82rem; line-height: 1.4; }
.h-lesson { background: var(--card); }
.h-lesson .mock { background: var(--paper); }
.mock .ln { height: 7px; border-radius: 4px; background: var(--line); margin: 7px 0; }
.mock .ln.s { width: 62%; }
.mock .formula { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--forest); color: #fff; font-weight: 600; font-size: .86rem; }
.mock .formula b { color: var(--gold-lt); }
.h-excel { background: var(--mint); }
.h-excel .mock { background: var(--card); padding: 0; overflow: hidden; }
.xl-bar { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); font-family: var(--font-code); font-size: .76rem; }
.xl-bar span:first-child { color: #1d6b3f; font-weight: 700; }
.xl-grid { display: grid; grid-template-columns: 1.6fr 1fr; font-variant-numeric: tabular-nums; }
.xl-grid div { padding: 7px 10px; border-bottom: 1px solid #eef0ec; border-right: 1px solid #eef0ec; }
.xl-grid div:nth-child(2n) { text-align: right; border-right: 0; }
.xl-grid .sel { outline: 2px solid #1d6b3f; outline-offset: -2px; background: #f1f8f3; font-weight: 700; }
.h-test { background: var(--ink); color: #fff; }
.h-test .mock { background: rgba(255,255,255,.06); }
.opt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; margin-top: 6px; border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.8); transition: background-color 400ms var(--ease-out), border-color 400ms var(--ease-out), color 400ms var(--ease-out); }
.opt i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); flex: none; transition: all 400ms var(--ease-out); }
.is-in .opt.ok { background: rgba(127,211,155,.14); border-color: rgba(127,211,155,.5); color: #fff; transition-delay: 900ms; }
.is-in .opt.ok i { background: #7fd39b; border-color: #7fd39b; box-shadow: inset 0 0 0 3px var(--ink); transition-delay: 900ms; }
.mock .why { margin-top: 8px; color: #9fdcb3; font-size: .78rem; opacity: 0; transition: opacity 500ms 1.3s var(--ease-out); }
.is-in .mock .why { opacity: 1; }
.h-cert { background: var(--gold-light); }
.cert {
  margin-top: auto; background: #fffdf6; border-radius: 14px; padding: 16px; text-align: center; position: relative;
  box-shadow: 0 14px 30px -20px rgba(122,90,16,.6); border: 1px solid #ecdcae;
  transform: rotate(-2deg); transition: transform 500ms var(--ease-out);
}
.h-cert:hover .cert { transform: rotate(0); }
.cert .c-logo { font-weight: 750; letter-spacing: -0.03em; }
.cert .c-logo span { color: var(--gold); }
.cert .c-t { margin-top: 8px; font-size: .7rem; letter-spacing: .02em; color: var(--ink-3); }
.cert .c-name { margin-top: 4px; font-size: 1.05rem; font-weight: 700; }
.cert .c-course { margin-top: 2px; font-size: .74rem; color: var(--ink-2); }
.cert .seal { position: absolute; right: -10px; top: -14px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--ink); box-shadow: 0 6px 14px -6px rgba(122,90,16,.8); }

/* ================= Преимущества ================= */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.perk { background: var(--card); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.perk .p-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--forest); color: var(--gold-lt); display: grid; place-items: center; }
.perk h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }
.perk p { font-size: .9rem; line-height: 1.5; color: var(--ink-2); }

/* ================= Вопросы ================= */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--r-md); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-weight: 650; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); flex: none; position: relative; transition: background-color 300ms var(--ease-out); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate 300ms var(--ease-out); }
.faq details[open] summary i { background: var(--gold); }
.faq details[open] summary i::after { rotate: 0deg; }
.faq details p { padding: 0 22px 20px; font-size: .97rem; line-height: 1.6; color: var(--ink-2); }
.faq details[open] p { animation: faqIn 360ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.faq-side h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; color: var(--ink); }
.faq-side p { margin-top: 14px; color: var(--ink-2); line-height: 1.6; }
.faq-side a { color: var(--gold-ink); font-weight: 600; }

/* ================= Финальный призыв ================= */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg);
  padding: clamp(36px, 6vw, 72px); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  background: radial-gradient(80% 120% at 100% 100%, rgba(200,168,75,.35), rgba(200,168,75,0) 55%), var(--forest);
}
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1.04; max-width: 16ch; }
.cta-band h2 em { font-style: normal; color: var(--gold); }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.75); max-width: 48ch; line-height: 1.55; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-coins { position: absolute; right: 30%; top: -30px; width: 160px; opacity: .25; z-index: -1; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(14px) rotate(4deg); } }

/* ================= Адаптив ================= */
@media (max-width: 1080px) {
  .hero-bento { grid-template-columns: 1fr; }
  .hb-main { min-height: 0; }
  .hb-side { grid-template-columns: 1.2fr 1fr; grid-template-rows: auto; }
  .hb-row { grid-template-columns: 1fr; }
  .flag-grid { grid-template-columns: 1fr 1fr; }
  .flag-grid .fcard:last-child { grid-column: 1 / -1; }
  .how { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .free-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hb-side { grid-template-columns: 1fr; }
  .hb-row { grid-template-columns: 1fr 1fr; }
  .goals { grid-template-columns: 1fr; }
  .goal:nth-child(n) { grid-column: auto; min-height: 260px; }
  .flag-grid, .free-grid, .faq { grid-template-columns: 1fr; }
  .flag-grid .fcard:last-child { grid-column: auto; }
  .hb-line { width: 90%; bottom: 150px; opacity: .45; }
}
@media (max-width: 560px) {
  .how, .perks { grid-template-columns: 1fr; }
  .how-tile { min-height: 0; }
  .hb-row { grid-template-columns: 1fr; }
  .stat { min-height: 140px; }
  .goal ul { max-width: 100%; }
  .goal-art { width: 40%; opacity: .5; }
  .tile, .goal, .fcard { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .cta-coins { animation: none; }
  .hb-line path { stroke-dashoffset: 0; animation: none; }
  .chart .bar { transform: none; }
  .ring .fg { stroke-dashoffset: 30; }
}

/* Если fx.js не загрузился, страница показывается через fx-safe: анимации, которые ждут .is-in, сразу в конечном состоянии */
.fx-safe .chart .bar { transform: none; }
.fx-safe .ring .fg { stroke-dashoffset: 30; }
.fx-safe .mock .why { opacity: 1; }
