/* Рейс.про — лендинг */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0d2446;
  --text: #3f5068;
  --muted: #5d6d83;
  --line: #e2e9f2;
  --bg: #f5f8fc;
  --panel: #eef4fa;
  --navy: #0c2f55;
  --navy-deep: #07234a;
  --green: #0b8a45;
  --green-hover: #087a3c;
  --green-bright: #22c36b;
  --blue: #1877d2;
  --blue-hover: #1467b8;
  --blue-soft: #e6f0fc;
  --blue-text: #1a5fb4;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(16, 42, 84, .08);
  --shadow-sm: 0 4px 14px rgba(16, 42, 84, .07);
  --container: 1440px;
  --gutter: 32px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  font: 400 16px/1.55 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 3px solid #2f7ff0; outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; box-shadow: var(--shadow);
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  font: 700 15px/1.2 var(--font); text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .2s, color .2s;
}
.btn .i { width: 18px; height: 18px; stroke-width: 2.2; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16px; border-radius: 14px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--white:hover { box-shadow: 0 8px 22px rgba(16, 42, 84, .12); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(20, 170, 90, .32); }
.btn--green:hover { background: var(--green-hover); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(24, 119, 210, .3); }
.btn--blue:hover { background: var(--blue-hover); }
.btn--soft { background: var(--panel); color: var(--ink); }
.btn--soft:hover { background: #e2ebf5; }

.badge {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-text);
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 18px;
}
.badge--dark { background: rgba(255, 255, 255, .08); color: #d7e5f6; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

.h2 {
  font-size: clamp(30px, 3vw, 44px); line-height: 1.12; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink);
}
.lead { font-size: 17px; line-height: 1.6; color: var(--text); }

.handnote {
  font-family: var(--hand); font-weight: 600; line-height: 1.05;
  color: var(--ink); position: relative;
}
.handnote__stroke { display: block; width: 110px; height: 14px; margin-top: 4px; overflow: visible; }
.handnote__stroke path { fill: none; stroke: var(--green-bright); stroke-width: 4; stroke-linecap: round; }

/* ---------- шапка ---------- */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.header__row { display: flex; align-items: center; gap: 44px; min-height: 92px; padding-left: 40px; padding-right: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 50px; height: 33px; color: var(--ink); }
.logo__text { font-size: 27px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.logo__dot { color: var(--green-bright); }
.logo__light { font-weight: 500; }
.logo--light { color: #fff; --logo-dash: var(--navy); }
.logo--light .logo__mark { color: #fff; }

.nav { display: flex; align-items: center; gap: 32px; flex: 1; }
.nav__list { display: flex; gap: 30px; margin-right: auto; }
.nav__list a {
  text-decoration: none; color: #3b4d66; font-size: 15px; font-weight: 500;
  padding: 8px 0; transition: color .2s;
}
.nav__list a:hover { color: var(--green); }
.nav__actions { display: flex; gap: 14px; }
.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px;
  border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
  align-items: center; justify-content: center; cursor: pointer;
}
.burger .i { width: 24px; height: 24px; }
.burger .i--close { display: none; }
.nav-open .burger .i--open { display: none; }
.nav-open .burger .i--close { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 150px 0 40px;
  background:
    radial-gradient(ellipse 60% 70% at 78% 35%, #d7e9f6 0, rgba(215, 233, 246, 0) 70%),
    linear-gradient(180deg, #f8fbfe 0%, #eaf2f9 70%, var(--bg) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 30%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, 0) 62%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
  background: linear-gradient(180deg, rgba(245, 248, 252, 0), var(--bg));
}
.hero__grid { padding-left: 40px; display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero .badge { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; padding: 7px 16px; background: rgba(226, 237, 251, .9); }
.hero__title {
  font-size: clamp(40px, 4.8vw, 70px); line-height: 1.03; font-weight: 800;
  letter-spacing: -.03em; color: var(--ink);
}
.hero__lead { margin-top: 24px; font-size: 18px; line-height: 1.6; max-width: 570px; color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.play-link {
  display: inline-flex; align-items: center; gap: 14px; min-height: 48px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px;
}
.play-link__icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(12, 47, 85, .3); transition: transform .2s;
}
.play-link__icon .i { width: 24px; height: 24px; }
.play-link:hover .play-link__icon { transform: scale(1.06); }
.perks { display: flex; flex-wrap: wrap; gap: 16px 34px; margin-top: 52px; }
.perks li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.perks__icon {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue-text);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); flex: none;
}
.perks__icon .i { width: 22px; height: 22px; }

.hero__visual { position: relative; height: 640px; font-size: 10px; }
.laptop--hero { width: 56em; }
.laptop--hero .app { grid-template-columns: 12.5em minmax(0, 1fr); }
.handnote--hero {
  position: absolute; right: 0; top: -40px; z-index: 3;
  font-size: 34px; transform: rotate(-9deg); text-align: left;
}
.handnote--hero .handnote__stroke { margin-left: 30px; }

/* ---------- мокапы устройств (все размеры в em: масштаб задаёт font-size) ---------- */
.device { color: #1d2f48; line-height: 1.35; text-align: left; }
.device .i { width: 1.4em; height: 1.4em; }

.phone {
  position: relative; width: 29em; height: 60em; padding: .9em;
  border-radius: 4.8em; background: linear-gradient(145deg, #2b3240, #0b0f16 40%);
  box-shadow: 0 3.5em 6em rgba(12, 36, 70, .35), inset 0 0 0 .25em #4a5263, inset 0 0 0 .5em #11161f;
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 3.9em;
  background: linear-gradient(180deg, #e7eff6, #dbe7f0);
  display: flex; flex-direction: column;
}
.phone__status {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.6em; padding: 0 2.8em 0 3.2em; font-size: 1em; flex: none;
}
.phone__status > span:first-child { font-size: 1.35em; font-weight: 700; }
.phone__island { width: 9em; height: 2.6em; border-radius: 2em; background: #0b0f16; }
.phone__sys { display: flex; gap: .35em; align-items: flex-end; }
.phone__sys i { display: block; width: .45em; background: #1d2f48; border-radius: .2em; }
.phone__sys i:nth-child(1) { height: .7em; }
.phone__sys i:nth-child(2) { height: 1em; }
.phone__sys i:nth-child(3) { height: 1.3em; width: 2.2em; border-radius: .4em; }

.tg-head {
  display: grid; grid-template-columns: 3em 1fr 3.8em; align-items: center;
  padding: .4em 1.4em 1em; background: rgba(255, 255, 255, .75);
  border-bottom: 1px solid rgba(29, 47, 72, .08); flex: none;
}
.tg-head--plain { background: none; border: 0; }
.tg-head__back { color: #2f86e8; width: 2.2em !important; height: 2.2em !important; }
.tg-head__who { text-align: center; line-height: 1.2; }
.tg-head__who b { display: block; font-size: 1.5em; font-weight: 700; }
.tg-head__who small { font-size: 1.15em; color: #7c8a9c; }
.tg-ava {
  width: 3.8em; height: 3.8em; border-radius: 50%; background: var(--navy);
  display: grid; place-items: center; color: #fff; --logo-dash: var(--navy);
}
.tg-ava svg { width: 2.6em; height: 1.7em; }
.tg-ava--lg { width: 7em; height: 7em; }
.tg-ava--lg svg { width: 4.6em; height: 3em; }

.tg-chat { display: flex; flex-direction: column; gap: .7em; padding: 1.2em 1.2em 0; }
.tg-date {
  align-self: center; font-size: 1.1em; font-weight: 600; color: #fff;
  background: rgba(70, 95, 120, .35); padding: .2em .8em; border-radius: 1em;
}
.msg {
  max-width: 84%; font-size: 1.28em; line-height: 1.38; padding: .6em .8em .5em;
  border-radius: 1.1em; background: #fff; box-shadow: 0 .1em .2em rgba(20, 40, 70, .08);
}
.msg b { font-weight: 700; }
.msg time { float: right; margin: .45em 0 0 .7em; font-size: .72em; color: #8a97a8; }
.msg--in { align-self: flex-start; border-bottom-left-radius: .3em; }
.msg--out { align-self: flex-end; background: #3a86f0; color: #fff; border-bottom-right-radius: .3em; }
.msg--out time { color: rgba(255, 255, 255, .8); }
.tg-keys { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; margin-top: -.2em; }
.tg-keys span {
  display: flex; align-items: center; justify-content: center; gap: .4em;
  font-size: 1.12em; font-weight: 600; padding: .65em .4em; border-radius: .9em;
  background: rgba(255, 255, 255, .82); color: #2263b8; text-align: center; line-height: 1.15;
}
.tg-keys span:first-child { grid-column: 1 / -1; background: #fff; color: var(--green); }
.tg-keys .i { width: 1.2em; height: 1.2em; }

.tg-bubble {
  position: absolute; z-index: 4; width: 7.2em; height: 7.2em; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #3fb5f2, #1a86d9);
  box-shadow: 0 1.4em 3em rgba(26, 134, 217, .4), 0 0 0 1em rgba(255, 255, 255, .55);
}
.tg-bubble .i { width: 3.6em; height: 3.6em; margin-left: -.3em; }

.laptop { position: relative; width: 62em; }
.laptop__lid {
  padding: 1.3em 1.3em 1.6em; border-radius: 2em 2em .4em .4em;
  background: linear-gradient(160deg, #2a2f38, #0e1117 50%);
  box-shadow: 0 3em 6em rgba(12, 36, 70, .3), inset 0 0 0 .2em #3b414c;
}
.laptop__screen { aspect-ratio: 16 / 10.4; border-radius: .6em; overflow: hidden; background: #f4f7fb; }
.laptop__base {
  position: relative; height: 1.7em; margin: 0 -3.5em;
  border-radius: .3em .3em 3em 3em;
  background: linear-gradient(180deg, #e4e8ee, #aab3bf 70%, #8e97a3);
}
.laptop__base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 11em; height: .7em;
  transform: translateX(-50%); border-radius: 0 0 .8em .8em; background: #bcc4ce;
}

.app { display: grid; grid-template-columns: 15em minmax(0, 1fr); height: 100%; background: #f4f7fb; }
.app__side {
  display: flex; flex-direction: column; gap: .25em; padding: 1.6em 1em;
  background: #fff; border-right: 1px solid #e6ecf3;
}
.app__logo {
  display: flex; align-items: center; gap: .45em; margin: 0 0 .9em .4em;
  font-size: 1.45em; font-weight: 800; color: var(--ink);
}
.app__logo svg { width: 2em; height: 1.3em; color: var(--ink); }
.app__nav {
  display: flex; align-items: center; gap: .55em; padding: .55em .7em;
  border-radius: .6em; font-size: 1.12em; color: #5b6b80; white-space: nowrap;
}
.app__nav .i { width: 1.2em; height: 1.2em; }
.app__nav.is-active { background: #e8f1fc; color: var(--blue-text); font-weight: 700; }
.app__main { padding: 1.8em 2em; min-width: 0; }
.app__top { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: 1.2em; }
.app__h { font-size: 2.1em; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.app__hint { display: block; margin-top: .2em; font-size: 1.1em; color: #6b7a90; }
.chip-balance {
  font-size: 1.1em; font-weight: 700; padding: .35em .8em; border-radius: 99em;
  background: #e3f5ea; color: #0b7a3e; white-space: nowrap;
}
.app__table {
  display: grid; background: #fff; border: 1px solid #e6ecf3; border-radius: 1em;
  overflow: hidden; font-size: 1.15em;
}
.app__table--3 { grid-template-columns: 3em minmax(0, 1fr) auto; }
.app__table--5 { grid-template-columns: 2.8em minmax(0, 1.7fr) minmax(0, 1.25fr) auto auto; border: 0; border-radius: 0; }
.app__table > span {
  padding: .75em .8em; border-top: 1px solid #eef2f7; color: #24364f;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center;
}
.app__table > .th { border-top: 0; background: #f8fafc; color: #7a889b; font-size: .88em; font-weight: 600; }
.st {
  display: inline-block; font-style: normal; font-size: .86em; font-weight: 700;
  padding: .28em .75em; border-radius: 99em; white-space: nowrap;
}
.st--gray { background: #eef1f5; color: #566273; }
.st--amber { background: #fff1d6; color: #8f5b00; }
.st--blue { background: #e3eefd; color: #1b5fb6; }
.st--green { background: #e0f5e8; color: #0b7a3e; }

.laptop--hero .app__main { padding: 2em 2.2em; }

.window {
  padding: .9em; border-radius: 2.2em; background: linear-gradient(180deg, #edf2f8, #e3eaf3);
  box-shadow: 0 3em 6em rgba(16, 42, 84, .16), inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.window .app { border-radius: 1.4em; overflow: hidden; grid-template-columns: 14.5em minmax(0, 1fr); }
.app__bar { display: flex; align-items: center; justify-content: flex-end; gap: 1.2em; margin-bottom: 1.2em; }
.app__bell { position: relative; display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 50%; background: #fff; color: #5b6b80; box-shadow: 0 .2em .6em rgba(16, 42, 84, .06); }
.app__bell i {
  position: absolute; top: -.2em; right: -.3em; font-style: normal; font-size: .95em; font-weight: 800;
  background: #e5484d; color: #fff; border-radius: 99em; padding: .05em .45em;
}
.app__user { font-size: 1.15em; font-weight: 600; color: #3b4d66; }
.app__card { background: #fff; border: 1px solid #e6ecf3; border-radius: 1.2em; padding: 1.6em 1.6em 1.2em; }
.app__btn {
  display: inline-flex; align-items: center; gap: .4em; flex: none;
  font-size: 1.15em; font-weight: 700; color: #fff; background: var(--green);
  padding: .6em 1em; border-radius: .7em;
}
.app__btn .i { width: 1.1em; height: 1.1em; stroke-width: 2.6; }
.app__rej {
  display: flex; align-items: center; gap: .5em; margin-top: 1em;
  font-size: 1.12em; font-weight: 600; color: #a52a24; background: #fdeeed;
  padding: .6em .9em; border-radius: .8em;
}
.app__rej .i { width: 1.2em; height: 1.2em; }

/* расположение мокапов в hero */
.laptop--hero {
  position: absolute; left: 21.5em; top: 13em; z-index: 1;
  transform: perspective(240em) rotateY(-12deg) rotateX(2deg);
  transform-origin: left center;
}
.phone--hero { position: absolute; left: 0; top: 2em; z-index: 2; }
.hero__visual .tg-bubble { left: 24.5em; top: 31em; }

/* ---------- секции ---------- */
.section { padding: 16px 0; }
.panel { position: relative; border-radius: var(--radius-lg); padding: 44px 56px; }
.panel--soft {
  background: linear-gradient(180deg, #eef4fa 0%, #f3f7fb 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}

.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
.section-head__lead { margin-top: 14px; font-size: 17px; max-width: 460px; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px 32px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #e8f1fc; color: var(--navy); margin-bottom: 20px;
}
.card__icon .i { width: 28px; height: 28px; }
.card__title { font-size: 19px; line-height: 1.3; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* как это работает */
.panel--navy {
  color: #d5e2f1; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 90% at 55% 0%, rgba(51, 105, 170, .35), rgba(51, 105, 170, 0) 70%),
    linear-gradient(135deg, #0d3462 0%, #0a2a52 55%, #07234a 100%);
}
.panel--navy::before {
  content: ""; position: absolute; top: -40%; left: 42%; width: 42%; height: 180%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
  transform: rotate(28deg); pointer-events: none;
}
.panel--navy .h2 { color: #fff; }
.how-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.how-head__lead { max-width: 470px; font-size: 16px; color: #c3d3e6; padding-bottom: 50px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.step {
  position: relative; padding: 24px 22px 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -32px; top: 50%; width: 20px; height: 20px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fd6a6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
}
.step__top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.step__num {
  font-size: 15px; font-weight: 700; color: #fff; padding: 5px 9px; border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}
.step__icon { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.step__icon .i { width: 26px; height: 26px; stroke-width: 2.2; }
.step__icon--blue { color: var(--blue); }
.step__icon--green { color: #16a857; }
.step__title { font-size: 18px; line-height: 1.3; font-weight: 800; color: #fff; margin-bottom: 10px; }
.step p { font-size: 15px; line-height: 1.55; color: #bfd0e4; }

/* кабинет */
.cabinet { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 48px; align-items: center; overflow: hidden; }
.cabinet__copy .lead { margin: 20px 0 24px; }
.ticks { display: grid; gap: 14px; margin-bottom: 34px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text); }
.ticks .i {
  width: 34px; height: 34px; padding: 7px; border-radius: 10px; margin-top: -5px;
  background: #fff; color: var(--blue-text); box-shadow: var(--shadow-sm);
}
.ticks--plain .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #dff4e7; color: #0b7a3e; box-shadow: none; margin-top: 0; stroke-width: 2.6; }
.cabinet__visual { font-size: 10.2px; }
.window .app__main { padding: 1.6em 1.6em; }

/* telegram */
.tg {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) 270px;
  padding: 0; overflow: hidden; min-height: 440px;
  background: linear-gradient(110deg, #f4f8fc 40%, #e7f0f9 100%);
  box-shadow: var(--shadow-sm);
}
.tg__photo {
  position: relative; min-height: 100%; overflow: hidden;
  background: linear-gradient(135deg, #274c72 0%, #5f88ad 55%, #b9d2e6 100%);
}
.tg__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.tg__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 30, 60, 0) 60%, rgba(244, 248, 252, .9) 100%);
}
.handnote--photo {
  position: absolute; z-index: 1; left: 58%; top: 36%; color: #fff; font-size: 29px;
  transform: rotate(-12deg); text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 2px 14px rgba(0, 0, 0, .55);
}
.tg__copy { padding: 44px 16px 40px 44px; align-self: center; }
.tg__copy .h2 { font-size: clamp(28px, 2.6vw, 38px); }
.tg__actions .qr { flex: none; }
.tg__copy .lead { margin: 18px 0 20px; font-size: 16px; }
.ticks--compact { margin-bottom: 28px; gap: 12px; }
.tg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.btn .i--tg { width: 24px; height: 24px; }
.qr { display: flex; align-items: center; gap: 14px; }
.qr__code { width: 84px; height: 84px; padding: 6px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-sm); flex: none; }
.qr__code svg { display: block; width: 100%; height: 100%; }
.qr__text { font-size: 13px; line-height: 1.4; color: var(--muted); }
.tg__max { margin-top: 20px; font-size: 14px; color: var(--muted); }
.tg__max a { color: var(--blue-text); font-weight: 700; }
.tg__device { position: relative; font-size: 8.2px; }
.phone--bot { position: absolute; left: 50%; margin-left: -14.5em; top: 40px; height: 56em; }
.bot-intro { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1em 2.2em 0; }
.bot-intro b { margin-top: .6em; font-size: 1.9em; font-weight: 800; }
.bot-intro small { font-size: 1.2em; color: #7c8a9c; }
.bot-intro p { margin-top: 1.4em; font-size: 1.45em; font-weight: 700; line-height: 1.3; }
.bot-intro ul { margin-top: 1.2em; background: #fff; border-radius: 1.2em; padding: 1em 1.3em; text-align: left; font-size: 1.2em; }
.bot-intro li { position: relative; padding-left: 1em; line-height: 1.6; }
.bot-intro li::before { content: ""; position: absolute; left: 0; top: .65em; width: .4em; height: .4em; border-radius: 50%; background: #2f86e8; }
.bot-start {
  position: absolute; left: 1.4em; right: 1.4em; bottom: 4.5em; text-align: center;
  font-size: 1.5em; font-weight: 700; color: #fff; background: #2f86e8; padding: .9em; border-radius: .9em;
  box-shadow: 0 .6em 1.4em rgba(47, 134, 232, .35);
}

/* тарифы */
.pricing { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 36px; align-items: center; }
.pricing__intro .h2 { font-size: clamp(28px, 2.5vw, 36px); }
.pricing__intro .lead { margin: 18px 0 22px; font-size: 16px; }
.pricing__intro .ticks { margin-bottom: 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; align-items: stretch; padding-top: 30px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); padding: 24px 20px 20px; box-shadow: var(--shadow-sm);
}
.plan__name { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.plan__sub { font-size: 14px; color: var(--blue-text); margin-top: 4px; }
.plan__price { margin-top: 14px; font-size: 32px; line-height: 1.1; font-weight: 800; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.plan__per { margin-top: 6px; font-size: 14px; color: var(--muted); }
.plan__list { display: grid; gap: 8px; margin: 18px 0 22px; font-size: 14px; color: var(--text); }
.plan__list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.plan__list .i { width: 18px; height: 18px; color: #16a857; stroke-width: 2.8; margin-top: 1px; }
.plan__btn { margin-top: auto; width: 100%; background: var(--panel); color: var(--ink); }
.plan__btn:hover { background: #e2ebf5; }
.plan--popular { box-shadow: 0 0 0 2px var(--green-bright), 0 18px 40px rgba(34, 195, 107, .18); border-top-left-radius: 0; border-top-right-radius: 0; }
.plan--popular .plan__btn { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(20, 170, 90, .3); }
.plan--popular .plan__btn:hover { background: var(--green-hover); }
.plan__badge {
  position: absolute; left: -2px; right: -2px; bottom: 100%; padding: 6px 8px;
  text-align: center; font-size: 13px; font-weight: 700; color: #fff;
  background: var(--green); border-radius: 14px 14px 0 0;
}
.pricing[data-count="2"] .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pricing[data-count="3"] .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing[data-count="4"] .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pricing[data-count="5"], .pricing[data-count="6"] { grid-template-columns: 1fr; }
.pricing[data-count="5"] .plans { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pricing[data-count="6"] .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing[data-count="6"] .plans { row-gap: 48px; }
.pricing[data-count="5"] .pricing__intro, .pricing[data-count="6"] .pricing__intro { max-width: 760px; }

/* FAQ */
.section#faq { padding: 56px 0 48px; }
.faq { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: start; }
.faq__head { position: sticky; top: 24px; }
.faq { padding-inline: calc(var(--gutter) + 56px); }
.faq__head .lead { margin-top: 16px; }
.faq__list { display: grid; gap: 12px; }
.qa { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); }
.qa summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 64px 20px 24px; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4;
  border-radius: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; background: var(--panel) no-repeat center / 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2446' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa__body { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--text); }

/* CTA */
.section--cta { padding: 16px 0 8px; }
.cta {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  padding: 40px 56px; border-radius: var(--radius-lg); color: #c9d8ea;
  background:
    radial-gradient(ellipse 40% 120% at 50% 50%, rgba(46, 98, 160, .35), rgba(46, 98, 160, 0) 70%),
    linear-gradient(135deg, #0c3462, #07234a);
}
.cta__brand .logo__text { font-size: 30px; }
.cta__brand { min-width: 0; }
.handnote--cta { margin-top: 12px; color: #fff; font-size: 23px; transform: rotate(-3deg); white-space: nowrap; }
.handnote--cta .handnote__stroke { margin-left: 150px; margin-top: 0; }
.cta__text { text-align: center; }
.cta__title { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.cta__text p { margin-top: 10px; font-size: 16px; }
.cta > .btn { justify-self: end; }

/* подвал */
.footer { padding: 34px 0 44px; font-size: 14px; color: var(--muted); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer__brand p:first-child { color: var(--ink); font-weight: 600; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer a { text-decoration: none; }
.footer__nav a, .footer__contacts a { padding: 6px 0; }
.footer__nav a:hover, .footer__contacts a:hover { color: var(--green); }
.footer__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.footer__tg { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.footer__tg-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.footer__tg-icon .i { width: 18px; height: 18px; margin-left: -2px; }
.footer__muted { color: var(--muted); }
.footer__note { font-size: 13px; line-height: 1.45; }

/* ---------- адаптив ---------- */
@media (max-width: 1280px) {
  .header__row { gap: 28px; }
  .nav { gap: 22px; }
  .nav__list { gap: 22px; }
  .hero__visual { font-size: 9px; }
  .panel { padding: 48px; }
  .faq { padding-inline: calc(var(--gutter) + 48px); }
  .cabinet { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; }
  .cabinet__visual { font-size: 8.2px; }
  .tg { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 220px; }
  .tg__device { font-size: 7.6px; }
  .steps { gap: 36px; }
  .step:not(:last-child)::after { right: -28px; }
}

@media (max-width: 1100px) {
  .tg { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .tg__device { display: none; }
  .pricing { grid-template-columns: 1fr; gap: 12px; }
  .pricing__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; }
  .pricing__intro .badge { grid-column: 1 / -1; justify-self: start; }
  .pricing__intro .lead { margin-top: 0; }
  .pricing__intro .h2 { grid-row: 2 / span 2; }
  .pricing[data-count] .plans { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --gutter: 20px; }
  .header__row, .hero__grid { padding-left: var(--gutter); padding-right: var(--gutter); }
  html { scroll-padding-top: 84px; }
  .header { position: sticky; background: rgba(248, 251, 254, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(16, 42, 84, .06); }
  .header__row { min-height: 72px; }
  .logo__mark { width: 42px; height: 28px; }
  .logo__text { font-size: 24px; }
  .burger { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px var(--gutter) 24px; background: #fff;
    box-shadow: 0 20px 40px rgba(16, 42, 84, .12);
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav__list { flex-direction: column; gap: 0; margin: 0; }
  .nav__list a { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__actions { flex-direction: column; gap: 10px; }
  .nav__actions .btn { min-height: 52px; }

  .hero { padding: 48px 0 24px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__copy { max-width: 640px; }
  .hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .88) 45%, rgba(255, 255, 255, .15) 70%, rgba(255, 255, 255, 0) 100%); }
  .hero__visual { height: 58em; font-size: 9px; width: 78em; max-width: 100%; margin: 0 auto; }
  .handnote--hero { top: 0; right: 0; font-size: 30px; }
  .perks { margin-top: 36px; }

  .section-head { flex-direction: column; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .how-head__lead { padding-bottom: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .step:not(:last-child)::after { display: none; }
  .cabinet { grid-template-columns: minmax(0, 1fr); }
  .cabinet__copy { max-width: 640px; }
  .cabinet__visual { font-size: 9px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-inline: var(--gutter); }
  .faq__head { position: static; }
  .cta { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 40px 32px; }
  .cta > .btn { justify-self: center; }
  .handnote--cta .handnote__stroke { margin: 4px auto 0; }
}

@media (max-width: 860px) {
  .tg { grid-template-columns: minmax(0, 1fr); }
  .tg__photo { aspect-ratio: 3 / 2; min-height: 0; }
  .tg__photo::after { background: linear-gradient(180deg, rgba(10, 30, 60, 0) 70%, rgba(244, 248, 252, .6) 100%); }
  .tg__copy { padding: 32px 32px 40px; }
  .cabinet__visual { font-size: 7.4px; }
}

@media (max-width: 767.98px) {
  .hero__visual { font-size: 7px; }
  .cabinet__visual { font-size: 6px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .panel { padding: 32px 20px; border-radius: 22px; }
  .section { padding: 10px 0; }
  .hero { padding-top: 32px; }
  .hero__title { font-size: 40px; }
  .hero__lead { font-size: 17px; margin-top: 18px; }
  .hero__cta { margin-top: 28px; gap: 14px; }
  .hero__cta .btn { width: 100%; }
  .perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .perks li { flex-direction: column; text-align: center; gap: 8px; font-size: 13px; color: var(--ink); font-weight: 500; }
  .perks br { display: none; }
  .hero__visual { font-size: 5.6px; height: 60em; }
  .handnote--hero { font-size: 22px; top: -6px; }
  .handnote--hero .handnote__stroke { width: 80px; margin-left: 20px; }
  .laptop--hero { left: 20em; top: 16em; }
  .hero__visual .tg-bubble { left: 24em; top: 36em; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 24px 22px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .card__icon { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .card__icon .i { width: 24px; height: 24px; }
  .card__title br { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 22px; }
  .ticks li { font-size: 15px; }
  .cabinet { gap: 28px; }
  .cabinet__copy .btn { width: 100%; }
  .cabinet__visual { font-size: 7.4px; }
  .window .app { grid-template-columns: minmax(0, 1fr); }
  .window .app__side, .window .app__hint, .window .app__user { display: none; }
  .app__table--5 { grid-template-columns: 2.6em minmax(0, 1fr) auto auto; }
  .app__table--5 > span:nth-child(5n+3) { display: none; }
  .tg { border-radius: 22px; padding: 0; }
  .tg__copy { padding: 26px 20px 32px; }
  .handnote--photo { font-size: 26px; left: 46%; top: 16%; }
  .tg__actions .btn { width: 100%; }
  .pricing__intro { display: block; }
  .pricing .plans,
  .pricing[data-count] .plans { grid-template-columns: 1fr; gap: 16px; padding-top: 12px; }
  .plan--popular { margin-top: 36px; }
  .pricing__intro .lead { margin: 16px 0 20px; }
  .qa summary { padding: 18px 56px 18px 18px; font-size: 16px; }
  .qa summary::after { right: 16px; }
  .qa__body { padding: 0 18px 18px; font-size: 15px; }
  .cta { padding: 32px 20px; gap: 22px; }
  .cta > .btn { width: 100%; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .card:hover { transform: none; }
}
