/* =========================================================
   TripScan · trip80 — макет v5 (современный)
   Палитра auth-register: #D1E4F5 · #76ADE5 · #297FD5 (+ navy)
   ========================================================= */

:root {
  --blue: #76ade5;
  --blue-hover: #63a0de;
  --blue-light: #d1e4f5;
  --blue-light-hover: #c1daf3;
  --link: #297fd5;
  --navy: #0f2e4f;
  --navy-2: #17456f;
  --deep: #0b2440;
  --ink: #16233b;
  --muted: #5d6d87;
  --line: #e3edf9;
  --tint: #f6faff;
  --white: #ffffff;

  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-soft: 0 8px 26px rgba(41, 127, 213, .10);
  --shadow: 0 20px 48px rgba(15, 46, 79, .14);
  --shadow-lg: 0 30px 70px rgba(15, 46, 79, .22);

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Прогресс чтения ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--link));
  z-index: 99;
  transition: width .1s linear;
}

/* ---------- Кнопки (палитра auth-register, форма-pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn--light { background: var(--blue-light); color: var(--link); }
.btn--light:hover {
  background: var(--blue-light-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn--soft {
  background: var(--white);
  color: var(--link);
  border-color: var(--blue-light);
}
.btn--soft:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(41, 127, 213, .42);
}
.btn--lg { padding: 15px 34px; font-size: 17px; }

/* ---------- Пилюли ---------- */
.pill {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .6px;
  border-radius: 999px;
  padding: 7px 16px;
}
.pill--blue { background: var(--blue-light); border-color: transparent; color: var(--link); }
.pill--dark { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: var(--blue-light); }

/* ---------- Верхняя строка ---------- */
.topbar {
  background: var(--deep);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.topbar b { color: var(--blue-light); font-weight: 600; }

/* ---------- Плавающая шапка ---------- */
.header {
  position: sticky;
  top: 12px;
  z-index: 60;
  padding: 14px 20px 0;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(227, 237, 249, .95);
  border-radius: 999px;
  padding: 10px 12px 10px 24px;
  box-shadow: 0 10px 34px rgba(15, 46, 79, .10);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.header.is-scrolled .header__bar {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 40px rgba(15, 46, 79, .16);
}
.logo img { height: 34px; width: auto; }

.actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--link);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Лента разделов ---------- */
.subnav { margin-top: 16px; }
.subnav__inner {
  display: flex;
  gap: 8px;
  padding: 4px 0 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  justify-content: flex-start;
}
.subnav a {
  flex: 0 0 auto;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 17px;
  transition: all .2s ease;
}
.subnav a:hover {
  background: var(--blue-light);
  color: var(--link);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}
.subnav a.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(41, 127, 213, .35);
}

/* ---------- Крошки ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 26px 0 0;
}
.crumbs a {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  color: var(--link);
  font-weight: 600;
}
.crumbs a:hover { background: var(--blue-light); }
.crumbs span { color: var(--blue); }

/* ---------- Секции ---------- */
.section { padding: 76px 0; }
.section--tint {
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(118, 173, 229, .14), transparent 60%),
    var(--tint);
}

.section__head { margin-bottom: 40px; }
.section__head--center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(27px, 3.2vw, 40px);
  letter-spacing: -.6px;
  line-height: 1.18;
}
.section__note {
  color: var(--muted);
  font-size: 17px;
  margin-top: 14px;
}

/* ---------- Герой ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 92px;
  background: linear-gradient(180deg, var(--white) 0%, var(--tint) 100%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.blob--1 { width: 440px; height: 440px; top: -140px; left: -110px; background: rgba(118, 173, 229, .55); }
.blob--2 { width: 340px; height: 340px; bottom: -120px; right: 6%; background: rgba(209, 228, 245, .9); }
.blob--3 { width: 240px; height: 240px; top: 34%; right: -90px; background: rgba(41, 127, 213, .35); }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -1.4px;
  margin: 20px 0 18px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--link), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 18.5px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__facts {
  display: flex;
  gap: 34px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__facts b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--link);
  line-height: 1.15;
}
.hero__facts span { font-size: 14px; color: var(--muted); }

.hero__visual { position: relative; }
.hero__card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  transform: rotate(-1.5deg);
}
.hero__card img { border-radius: 18px; width: 100%; }

.float {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--link);
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: var(--shadow);
  animation: bob 4.5s ease-in-out infinite;
}
.float--1 { top: -18px; right: 6%; }
.float--2 { bottom: -16px; left: -12px; animation-delay: 1.4s; background: var(--blue); color: #fff; border-color: transparent; }
.float--3 { bottom: 24%; right: -18px; animation-delay: 2.6s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Ключи ---------- */
.keypills {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.keypill {
  display: block;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--link);
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: all .2s ease;
}
.keypill:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(41, 127, 213, .35);
}

/* ---------- Статьи ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.post {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}
.post__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.post:hover .post__media img { transform: scale(1.08); }
.post__cat {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);
  color: var(--link);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 13px;
}
.post__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.post__title {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  transition: color .2s ease;
}
.post:hover .post__title { color: var(--link); }
.post__excerpt { font-size: 14.5px; color: var(--muted); flex: 1; }
.post__more {
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: var(--blue-light);
  color: var(--link);
  border-radius: 999px;
  padding: 7px 16px;
  transition: background-color .2s ease;
}
.post__more:hover { background: var(--blue); color: #fff; }
.post__more::after { content: " →"; }

/* ---------- Маркеты ---------- */
.markets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.market-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.market-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.market-card__logo {
  flex: 0 0 82px;
  height: 64px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--tint), var(--blue-light));
  border-radius: 18px;
  padding: 9px;
  overflow: hidden;
}
.market-card__logo img { max-height: 46px; max-width: 100%; object-fit: contain; }
.market-card__info { display: flex; flex-direction: column; }
.market-card__name { font-size: 17px; font-weight: 700; }
.market-card__note { font-size: 13.5px; color: var(--muted); }
.market-card__go {
  margin-left: auto;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: var(--blue-light);
  color: var(--link);
  font-weight: 700;
  border-radius: 50%;
  transition: background-color .2s ease, color .2s ease;
}
.market-card:hover .market-card__go { background: var(--blue); color: #fff; }

/* ---------- Шаги ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num {
  position: absolute;
  top: 6px; right: 18px;
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  color: rgba(118, 173, 229, .22);
  letter-spacing: -3px;
}
.step h3 { position: relative; font-size: 20px; margin-bottom: 8px; }
.step p { position: relative; color: var(--muted); font-size: 15.5px; }

/* ---------- Промо ---------- */
.promo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(118, 173, 229, .45), transparent 62%),
    linear-gradient(150deg, var(--navy-2), var(--deep));
  border-radius: var(--r-xl);
  color: var(--white);
  padding: 46px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.promo__figure {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-lg);
  padding: 14px;
}
.promo__figure img { border-radius: 16px; width: 100%; }
.promo__body h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -.6px;
  margin: 14px 0 12px;
}
.promo__body p { color: rgba(255, 255, 255, .78); font-size: 16.5px; margin-bottom: 22px; }
.promo__body .btn--soft { background: transparent; color: var(--blue-light); border-color: rgba(209, 228, 245, .4); }
.promo__body .btn--soft:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 20px 0 80px; }
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--deep) 100%);
  border-radius: var(--r-xl);
  color: var(--white);
  padding: 50px 48px;
  box-shadow: var(--shadow-lg);
}
.cta__glow {
  position: absolute;
  width: 420px; height: 420px;
  top: -180px; right: -110px;
  background: var(--blue);
  opacity: .35;
  filter: blur(100px);
  border-radius: 50%;
}
.cta__text { position: relative; max-width: 560px; }
.cta__text h2 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.6px;
  margin: 14px 0 8px;
}
.cta__text p { color: rgba(255, 255, 255, .75); font-size: 16.5px; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.cta__actions .btn--soft { background: rgba(255, 255, 255, .1); color: var(--blue-light); border-color: rgba(209, 228, 245, .35); }
.cta__actions .btn--soft:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.cta__actions .btn--light { background: var(--blue-light); color: var(--link); }

/* ---------- Страница статьи ---------- */
.pagehead { padding: 34px 0 6px; }
.pagehead h1 {
  font-size: clamp(30px, 3.9vw, 48px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 18px 0 16px;
  max-width: 940px;
}
.pagehead__lead {
  font-size: 19.5px;
  color: var(--muted);
  max-width: 780px;
}
.pagehead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.pagehead__meta span {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.article {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 46px;
  align-items: start;
  padding: 36px 0 80px;
}
.article__body h2 {
  font-size: clamp(22px, 2.6vw, 31px);
  letter-spacing: -.5px;
  margin: 38px 0 14px;
  padding-left: 18px;
  border-left: 5px solid var(--blue);
  border-radius: 4px;
}
.article__body h2:first-child { margin-top: 0; }
.article__body h3 { font-size: 19px; margin: 26px 0 10px; }
.article__body p {
  font-size: 17.5px;
  color: #33415c;
  margin-bottom: 16px;
}
.article__body ul,
.article__body ol {
  margin: 0 0 18px 22px;
  color: #33415c;
  font-size: 17px;
}
.article__body li { margin-bottom: 8px; }
.article__body strong { color: var(--ink); }
.article__body--wide { max-width: 860px; margin-inline: auto; }

.article__aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}
.glass-card {
  background: rgba(246, 250, 255, .9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.glass-card h3 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--link);
  margin-bottom: 14px;
}
.glass-card ul { list-style: none; display: grid; gap: 10px; }
.glass-card a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s ease, transform .2s ease;
}
.glass-card a:hover { color: var(--link); }
.aside-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.aside-keys a {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--link);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
}
.aside-keys a:hover { background: var(--blue-light); }

/* ---------- Страница маркета ---------- */
.mkhero {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--white), var(--tint));
  box-shadow: var(--shadow);
}
.mkhero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
}
.mkhero__logo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  display: grid;
  place-items: center;
  min-height: 170px;
}
.mkhero__logo img { max-height: 115px; max-width: 100%; object-fit: contain; }
.mkhero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -1px;
  line-height: 1.12;
  margin: 16px 0 14px;
}
.mkhero__lead { font-size: 18.5px; color: var(--muted); margin-bottom: 24px; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__num {
  position: absolute;
  top: 8px; right: 16px;
  font-size: 52px;
  font-weight: 800;
  color: rgba(118, 173, 229, .2);
  letter-spacing: -2px;
}
.feature h3 { position: relative; font-size: 17.5px; margin-bottom: 8px; }
.feature p { position: relative; font-size: 15px; color: var(--muted); }

/* ---------- Футер (тёмный) ---------- */
.footer {
  background: var(--deep);
  color: rgba(255, 255, 255, .72);
  padding: 56px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr .9fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer__brand img {
  height: 32px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer__brand p { font-size: 15px; max-width: 320px; margin-bottom: 16px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__social .pill {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: var(--blue-light);
}

.footer__col h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .66);
  padding: 5px 0;
  transition: color .2s ease, transform .2s ease;
}
.footer__col a:hover { color: var(--blue-light); transform: translateX(4px); }

.footer__keys {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  padding: 16px 18px;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  text-align: center;
  line-height: 1.9;
  margin-bottom: 24px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .55);
  font-size: 13.5px;
}

/* ---------- Появление ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .posts { grid-template-columns: repeat(3, 1fr); }
  .keypills { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: 1fr; }
  .article__aside { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__grid,
  .promo,
  .mkhero__inner { grid-template-columns: 1fr; }
  .hero__card { transform: none; }
  .markets { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar__inner span:last-child { display: none; }
  .burger { display: flex; }

  .header { padding: 10px 14px 0; }
  .header__bar { border-radius: 26px; padding: 10px 12px 10px 18px; }

  .actions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: none;
  }
  .actions.is-open { display: flex; }
  .actions .btn { width: 100%; padding: 14px 20px; font-size: 16px; }

  .cta { padding: 36px 26px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__actions { width: 100%; }
  .promo { padding: 30px 24px; }
  .mkhero__inner { padding: 26px; }
}

@media (max-width: 560px) {
  .container { width: min(1180px, 100% - 28px); }
  .hero { padding: 40px 0 62px; }
  .hero__title { font-size: 31px; }
  .hero__actions .btn,
  .cta__actions .btn { flex: 1 1 100%; }
  .posts { grid-template-columns: 1fr; }
  .markets { grid-template-columns: 1fr; }
  .keypills { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .article__aside { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__facts { gap: 22px; }
}
