/* Тест уровня английского «Райская птица» для rptica.ru.
   Цвета, шрифты и радиусы — как у сайта и «Калькулятора честной цены»: фиолетовый #BA65DC, кнопка #c16ee2→#a449c8,
   тёмно-синий текст #05203E, лаванда #EEE0F7, тёмная карточка #1b1660 + bg14, радиусы 32 и 50 px.
   Раскладка подстраивается под ширину самого блока (container queries). */
.rptest {
  --rp-violet: #BA65DC;
  --rp-violet-d: #8b3fb0;
  --rp-g1: #c16ee2;
  --rp-g2: #a449c8;
  --rp-blue: #2B87DE;
  --rp-navy: #05203E;
  --rp-muted: #4a5a78;
  --rp-lav: #EEE0F7;
  --rp-lav2: #E3CDF3;
  --rp-lav3: #f6effb;
  --rp-sky: #D3E4FF;
  --rp-mint: #B8E9E1;
  --rp-sun: #F7EDAE;
  --rp-gold: #f6c453;
  --rp-white: #ffffff;
  --rp-line: rgba(5, 32, 62, 0.12);
  --rp-deep: #1b1660;
  --rp-ok: #2f9e6f;
  --rp-f: 'Museo Sans Cyrl 500', 'Trebuchet MS', Arial, sans-serif;
  --rp-fb: 'Museo Sans Cyrl 700', 'Trebuchet MS', Arial, sans-serif;
  --rp-fx: 'Museo Sans Cyrl 900', 'Trebuchet MS', Arial, sans-serif;
  container: rptest / inline-size;
  position: relative;
  font-family: var(--rp-f);
  color: var(--rp-navy);
}
.rptest *, .rptest *::before, .rptest *::after { box-sizing: border-box; }
.rptest [hidden] { display: none !important; }
.rptest img { max-width: 100%; }
:where(.rptest) button { font: inherit; color: inherit; }
.rptest button, .rptest a { -webkit-tap-highlight-color: transparent; }
.rptest li { margin-bottom: 0; color: inherit; font-weight: inherit; letter-spacing: inherit; } /* у сайта есть общее правило ol li */

/* ---------- секция и коробка ---------- */
.rptest-sec { padding: 40px 0; position: relative; }
.rptest__box {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--rp-lav); border-radius: 50px; padding: 90px 70px 70px;
}
.rptest__box::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -320px; top: -420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 66%);
}
.rptest__deco { position: absolute; z-index: -1; pointer-events: none; background: no-repeat center / contain; }
.rptest__deco--star { width: 96px; height: 96px; right: 70px; top: 64px; background-image: url(../img/star1.png); }
.rptest__deco--star2 { width: 52px; height: 52px; right: 190px; top: 150px; background-image: url(../img/big-star.png); }
.rptest__head { max-width: 1060px; margin-bottom: 44px; padding-right: 120px; }
.rptest__head h2 { margin: 0 0 22px; text-wrap: balance; }
.rptest__lead { margin: 0; font-size: 23.8px; line-height: 1.3; letter-spacing: -0.02em; max-width: 940px; }
.rptest__fine { margin: 26px 0 0; font-size: 14px; line-height: 1.5; color: var(--rp-muted); max-width: 1100px; }
.rptest.is-running .rptest__head { display: none; }
.rptest.is-q .rptest__why, .rptest.is-q .rptest__fine { display: none; }

/* почему «Райская птица» — как на странице калькулятора */
.rptest__why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.rpt-why { position: relative; background: var(--rp-white); border-radius: 32px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.rpt-why img { width: 74px; height: 74px; object-fit: contain; margin-bottom: 6px; }
.rpt-why > div { display: flex; flex-direction: column; gap: 8px; }
.rpt-why h3 { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 21px; line-height: 1.15; letter-spacing: -0.01em; }
.rpt-why p { margin: 0; font-size: 16px; line-height: 1.4; }
.rpt-why:nth-child(1) { background: var(--rp-sky); }
.rpt-why:nth-child(2) { background: var(--rp-mint); }
.rpt-why:nth-child(3) { background: var(--rp-sun); }
.rpt-why:nth-child(4) { background: #fff; }

/* ---------- общие элементы ---------- */
.rpt-card { background: var(--rp-white); border-radius: 32px; padding: 40px; min-width: 0; }
.rpt-dark {
  position: relative; overflow: hidden; border-radius: 32px; padding: 40px; color: #fff; min-width: 0;
  background: var(--rp-deep) url(../img/bg14.png) center / cover no-repeat;
}
.rpt-eyebrow { margin: 0; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.rpt-h3 { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.rpt-sub { margin: 0; font-size: 17px; line-height: 1.4; color: var(--rp-muted); }

.rpt-btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 62px; padding: 0 32px; border-radius: 500px;
  font-family: var(--rp-fb); font-weight: 600; font-size: 18px; line-height: 1.1; letter-spacing: -0.01em; text-align: center;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease, color .25s ease, opacity .2s ease;
}
.rpt-btn--main { background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; box-shadow: 0 14px 28px -14px rgba(164, 73, 200, .95); }
@media (hover: hover) { .rpt-btn--main:hover { box-shadow: 0 18px 30px -12px rgba(164, 73, 200, 1); transform: translateY(-1px); } }
.rpt-btn--white { background: #fff; color: var(--rp-navy); }
@media (hover: hover) { .rpt-btn--white:hover { background: var(--rp-violet); color: #fff; } }
.rpt-btn--ghost { background: transparent; color: var(--rp-navy); box-shadow: inset 0 0 0 2px var(--rp-line); }
@media (hover: hover) { .rpt-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--rp-violet); } }
.rpt-btn:active { transform: scale(.98); }
.rpt-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.rpt-btn svg { width: 22px; height: 22px; flex: none; }
.rpt-link {
  appearance: none; border: 0; background: none; cursor: pointer; padding: 8px 4px;
  font-family: var(--rp-fb); font-weight: 600; font-size: 16px; color: var(--rp-navy);
  text-decoration: underline; text-underline-offset: 4px;
}
.rpt-dark .rpt-link { color: #fff; }
.rptest .rpt-btn:focus-visible, .rptest .rpt-link:focus-visible, .rpt-chip:focus-visible, .rpt-opt:focus-visible, .rpt-play:focus-visible,
.rpt-ln:focus-visible, .rpt-check input:focus-visible + span { outline: 3px solid var(--rp-blue); outline-offset: 3px; }

.rpt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rpt-chip {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--rp-fb); font-weight: 600; font-size: 17px; line-height: 1; letter-spacing: -0.01em;
  min-height: 46px; padding: 0 18px; border-radius: 500px;
  background: var(--rp-white); color: var(--rp-navy); box-shadow: inset 0 0 0 1.5px var(--rp-line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
@media (hover: hover) { .rpt-chip:hover { box-shadow: inset 0 0 0 2px var(--rp-violet); } }
.rpt-chip:active { transform: scale(.97); }
.rpt-chip[aria-pressed="true"] { background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; box-shadow: 0 10px 22px -12px rgba(164, 73, 200, .9); }
.rpt-chips--cls .rpt-chip { min-width: 50px; padding: 0 14px; }

.rpt-f__label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font-family: var(--rp-fb); font-weight: 600; font-size: 21px; line-height: 1.15; letter-spacing: -0.01em; }
.rpt-f__num {
  flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; font-size: 15px; line-height: 1;
}
.rpt-f__hint { margin: 10px 0 0; font-size: 15px; line-height: 1.35; color: var(--rp-muted); }

.rpt-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rpt-checks li { position: relative; padding-left: 36px; font-size: 16.5px; line-height: 1.35; }
.rpt-checks li::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2));
}
.rpt-checks li::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px;
  border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg);
}
.rpt-dark .rpt-checks li::before { background: rgba(255,255,255,.18); }

.rpt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rpt-pill { font-family: var(--rp-fb); font-weight: 600; font-size: 14px; line-height: 1; padding: 8px 12px; border-radius: 500px; background: rgba(255,255,255,.14); color: #fff; }
.rpt-pill--w { background: #fff; color: var(--rp-navy); }
.rpt-pill--sun { background: var(--rp-sun); color: var(--rp-navy); }
.rpt-card .rpt-pill { background: var(--rp-lav3); color: var(--rp-navy); }

/* ---------- вступление ---------- */
.rpt-intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.rpt-intro__form { display: flex; flex-direction: column; gap: 30px; }
.rpt-tips { border-top: 1.5px solid var(--rp-line); padding-top: 24px; }
.rpt-intro__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: auto; }
.rpt-intro__meta { font-size: 15px; color: var(--rp-muted); }
.rpt-intro__what { display: flex; flex-direction: column; gap: 22px; padding-bottom: 210px; }
.rpt-intro__what::after {
  content: ""; position: absolute; right: 24px; top: 22px; width: 64px; height: 64px; pointer-events: none;
  background: url(../img/gold-star.png) no-repeat center / contain;
}
.rpt-intro__what .rpt-h3 { padding-right: 70px; font-size: 28px; }
.rpt-what { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: w; }
.rpt-what li { counter-increment: w; position: relative; padding: 14px 16px 14px 60px; border-radius: 18px; background: rgba(255,255,255,.09); font-size: 16.5px; line-height: 1.35; }
.rpt-what li::before {
  content: counter(w); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--rp-navy); font-family: var(--rp-fb); font-weight: 600; font-size: 15px;
}
.rpt-what b { font-family: var(--rp-fb); font-weight: 600; }
.rpt-intro__bird { position: absolute; right: 18px; bottom: -8px; width: 168px; height: auto; pointer-events: none; }
.rpt-intro__pills { position: absolute; left: 40px; bottom: 40px; max-width: calc(100% - 230px); }

/* ---------- задание ---------- */
.rpt-qwrap { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: start; }
.rpt-q { display: flex; flex-direction: column; gap: 22px; min-height: 560px; }
.rpt-q__top { display: flex; align-items: center; gap: 16px; }
.rpt-q__num { font-family: var(--rp-fb); font-weight: 600; font-size: 16px; white-space: nowrap; }
.rpt-q__bar { flex: 1; height: 10px; border-radius: 500px; background: var(--rp-lav3); overflow: hidden; }
.rpt-q__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--rp-g1), var(--rp-g2)); transition: width .5s ease; }
.rpt-q__stars { display: inline-flex; align-items: center; gap: 6px; font-family: var(--rp-fb); font-weight: 600; font-size: 17px; white-space: nowrap; }
.rpt-q__stars img { width: 26px; height: 26px; }
.rpt-q__stars.is-pop img { animation: rpt-pop .45s ease; }
@keyframes rpt-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45) rotate(-12deg); } 100% { transform: scale(1); } }
.rpt-q__ins { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.rpt-q__hint { margin: -12px 0 0; font-size: 17px; color: var(--rp-muted); }
.rpt-q__q { margin: 0; font-size: 26px; line-height: 1.35; letter-spacing: -0.01em; white-space: pre-line; }
.rpt-q__q .rpt-gap { display: inline-block; min-width: 96px; border-bottom: 3px solid var(--rp-violet); margin: 0 4px; transform: translateY(-4px); }
.rpt-q__q .rpt-key { display: inline-block; margin-left: 10px; padding: 4px 10px; border-radius: 10px; background: var(--rp-sun); font-family: var(--rp-fb); font-weight: 600; font-size: 18px; letter-spacing: .04em; vertical-align: middle; }
.rpt-q__text { margin: 0; padding: 22px 26px; border-radius: 22px; background: var(--rp-lav3); font-size: 19px; line-height: 1.55; white-space: pre-line; }
.rpt-q__text--notice { text-align: center; background: #fff; box-shadow: inset 0 0 0 3px var(--rp-navy); font-family: var(--rp-fb); font-weight: 600; font-size: 21px; line-height: 1.45; max-width: 520px; }
.rpt-q__text--note { background: var(--rp-sun); max-width: 640px; transform: rotate(-.6deg); box-shadow: 0 14px 26px -18px rgba(5,32,62,.5); }
.rpt-q__pic { width: 220px; aspect-ratio: 1; max-width: 100%; border-radius: 26px; background: var(--rp-lav3); display: grid; place-items: center; overflow: hidden; }
.rpt-q__pic > img { width: 74%; height: 74%; object-fit: contain; }
.rpt-q__body { display: flex; flex-direction: column; gap: 18px; }

.rpt-audio { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.rpt-play {
  appearance: none; border: 0; cursor: pointer; flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; box-shadow: 0 14px 26px -12px rgba(164, 73, 200, .95);
  transition: transform .15s ease;
}
.rpt-play svg { width: 34px; height: 34px; }
.rpt-play:active { transform: scale(.95); }
.rpt-play.is-playing { animation: rpt-pulse 1.1s ease-in-out infinite; }
@keyframes rpt-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(186, 101, 220, .55); } 50% { box-shadow: 0 0 0 14px rgba(186, 101, 220, 0); } }
.rpt-audio__lbl { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rpt-audio__lbl b { font-family: var(--rp-fb); font-weight: 600; font-size: 19px; }
.rpt-audio__lbl small { font-size: 14.5px; color: var(--rp-muted); }
.rpt-audio__alt { margin: 0; padding: 14px 18px; border-radius: 18px; background: var(--rp-sun); font-size: 16px; line-height: 1.45; }
.rpt-audio__alt q { font-family: var(--rp-fb); font-weight: 600; quotes: "«" "»"; }

.rpt-opts { display: grid; gap: 14px; }
.rpt-opts--pic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rpt-opts--pic3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
.rpt-opts--txt { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.rpt-opts--short { grid-template-columns: repeat(4, minmax(0, max-content)); }
.rpt-opts--yn { grid-template-columns: repeat(2, minmax(0, 220px)); }
.rpt-opt {
  appearance: none; border: 0; cursor: pointer; position: relative; text-align: left;
  background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 2px var(--rp-line);
  transition: box-shadow .18s ease, transform .15s ease, background .18s ease;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; min-height: 62px;
  font-family: var(--rp-fb); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; color: var(--rp-navy);
}
@media (hover: hover) { .rpt-opt:hover { box-shadow: inset 0 0 0 2.5px var(--rp-violet); } }
.rpt-opt:active { transform: scale(.985); }
.rpt-opt__l { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--rp-lav3); font-size: 15px; }
.rpt-opt[aria-pressed="true"] { background: #fbf6fe; box-shadow: inset 0 0 0 3px var(--rp-violet), 0 12px 24px -16px rgba(164,73,200,.9); }
.rpt-opt[aria-pressed="true"] .rpt-opt__l { background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; }
.rpt-opts--short .rpt-opt { justify-content: center; min-width: 120px; font-size: 22px; }
.rpt-opts--yn .rpt-opt { justify-content: center; font-size: 22px; min-height: 70px; }
.rpt-opts--pic .rpt-opt, .rpt-opts--pic3 .rpt-opt { flex-direction: column; justify-content: center; padding: 14px; aspect-ratio: 1; min-height: 0; border-radius: 26px; }
.rpt-opt__t { min-width: 0; }
.rpt-opts--pic .rpt-opt__t, .rpt-opts--pic3 .rpt-opt__t { display: grid; place-items: center; width: 100%; height: 100%; pointer-events: none; }
.rpt-opt__img { width: 78%; height: 78%; object-fit: contain; pointer-events: none; }
.rpt-opt[aria-pressed="true"]::after {
  content: ""; position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)) ;
  -webkit-mask: none;
}
.rpt-opts--txt .rpt-opt[aria-pressed="true"]::after, .rpt-opts--short .rpt-opt[aria-pressed="true"]::after, .rpt-opts--yn .rpt-opt[aria-pressed="true"]::after { content: none; }
.rpt-opt[aria-pressed="true"] .rpt-opt__tick {
  position: absolute; right: 21px; top: 18px; width: 11px; height: 17px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg); z-index: 1;
}
.rpt-opt__tick { display: none; }
.rpt-opts--pic .rpt-opt[aria-pressed="true"] .rpt-opt__tick, .rpt-opts--pic3 .rpt-opt[aria-pressed="true"] .rpt-opt__tick { display: block; }

/* сцены из картинок: счёт, предлоги, ряд */
.rpt-scene { position: relative; width: 82%; height: 82%; pointer-events: none; }
.rpt-scene img { position: absolute; object-fit: contain; }
.rpt-scene--count { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; justify-items: center; gap: 2px; }
.rpt-scene--count img { position: static; width: 100%; height: auto; }
.rpt-scene--count.n2, .rpt-scene--count.n4 { grid-template-columns: repeat(2, 1fr); width: 70%; }
.rpt-scene--row { display: flex; align-items: center; justify-content: center; gap: 0; }
.rpt-scene--row img { position: static; width: 34%; height: auto; }
.rpt-scene--stack .rpt-sb { left: 14%; top: 22%; width: 72%; height: 72%; }
.rpt-scene--stack.bed .rpt-sb { left: 6%; top: 28%; width: 88%; height: 70%; }
.rpt-scene--stack .rpt-so { width: 34%; height: 34%; }
.rpt-scene--stack.on .rpt-so { left: 33%; top: 18%; }
.rpt-scene--stack.under .rpt-so { left: 33%; top: 62%; width: 30%; height: 30%; }
.rpt-scene--stack.next .rpt-so { left: 70%; top: 64%; width: 30%; height: 30%; }
.rpt-scene--stack.next .rpt-sb { left: 0; }
.rpt-scene--stack.bed.on .rpt-so { left: 31%; top: 20%; width: 38%; height: 38%; }

.rpt-q__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 6px; }
.rpt-q__foot .rpt-btn { min-width: 220px; }

.rpt-mascot { position: sticky; top: 90px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 8px; }
.rpt-mascot img { width: 190px; height: auto; filter: drop-shadow(0 18px 24px rgba(27, 22, 96, .18)); transition: transform .3s ease; }
.rpt-mascot.is-cheer img { transform: translateY(-8px) rotate(-3deg); }
.rpt-mascot__say {
  position: relative; margin: 0; padding: 14px 18px; border-radius: 22px; background: #fff; text-align: center;
  font-family: var(--rp-fb); font-weight: 600; font-size: 18px; line-height: 1.25; box-shadow: 0 14px 26px -18px rgba(5,32,62,.45);
  min-height: 52px; max-width: 230px;
}
.rpt-mascot__say::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.rpt-mascot__tip { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--rp-muted); text-align: center; max-width: 230px; }

/* ---------- результат ---------- */
.rpt-res { display: grid; gap: 28px; }
.rpt-res__row { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.rpt-hero { display: flex; flex-direction: column; gap: 18px; padding-bottom: 44px; min-height: 100%; }
.rpt-hero::after {
  content: ""; position: absolute; right: 26px; top: 24px; width: 64px; height: 64px; pointer-events: none;
  background: url(../img/gold-star.png) no-repeat center / contain; opacity: .95;
}
.rpt-hero__lvl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 0; padding-right: 210px; }
.rpt-hero__big { font-family: var(--rp-fb); font-weight: 600; font-size: 104px; line-height: .9; letter-spacing: -0.05em; white-space: nowrap; }
.rpt-hero__name { font-family: var(--rp-fb); font-weight: 600; font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; }
.rpt-hero__name small { display: block; font-family: var(--rp-f); font-weight: 500; font-size: 17px; letter-spacing: 0; opacity: .82; margin-top: 6px; }
.rpt-hero__text { margin: 0; font-size: 19px; line-height: 1.4; padding-right: 200px; max-width: 640px; }
.rpt-hero__text b { font-family: var(--rp-fb); font-weight: 600; }
.rpt-hero__bird { position: absolute; right: 8px; bottom: -6px; width: 210px; height: auto; pointer-events: none; }
.rpt-hero__box { margin: 0 200px 0 0; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); font-size: 16px; line-height: 1.45; max-width: 560px; }
.rpt-teaser__demo .rpt-hero__box { margin-right: 140px; }
.rpt-hero__box b { font-family: var(--rp-fb); font-weight: 600; }
.rpt-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-right: 200px; }

.rpt-skills { display: flex; flex-direction: column; gap: 20px; }
.rpt-skill { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 16px; align-items: center; }
.rpt-skill img { width: 46px; height: 46px; grid-row: span 2; }
.rpt-skill__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rpt-skill__name { font-family: var(--rp-fb); font-weight: 600; font-size: 18px; }
.rpt-skill__val { font-size: 15px; color: var(--rp-muted); white-space: nowrap; }
.rpt-skill__val b { font-family: var(--rp-fb); font-weight: 600; color: var(--rp-navy); }
.rpt-skill__track { height: 14px; border-radius: 500px; background: var(--rp-lav3); overflow: hidden; }
.rpt-skill__fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--rp-g1), var(--rp-g2)); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.rpt-skill--lock .rpt-skill__track { background: repeating-linear-gradient(135deg, #efe8f6 0 8px, #f7f2fb 8px 16px); }
.rpt-skill--lock .rpt-skill__val { color: var(--rp-violet-d); font-family: var(--rp-fb); font-weight: 600; }
.rpt-skills__note { margin: 4px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--rp-sun); font-size: 15.5px; line-height: 1.45; }

/* лестница уровней */
.rpt-stairs-card { display: flex; flex-direction: column; gap: 22px; }
.rpt-stairs-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 30px; }
.rpt-stairs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; padding-top: 112px; margin: 0; list-style: none; padding-left: 0; }
.rpt-stair { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px 14px; border-radius: 22px 22px 14px 14px; background: var(--rp-lav3); min-height: 70px; }
.rpt-stair:nth-child(1) { height: 92px; } .rpt-stair:nth-child(2) { height: 122px; } .rpt-stair:nth-child(3) { height: 152px; }
.rpt-stair:nth-child(4) { height: 182px; } .rpt-stair:nth-child(5) { height: 212px; } .rpt-stair:nth-child(6) { height: 242px; }
.rpt-stair__cefr { font-family: var(--rp-fb); font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: -0.02em; }
.rpt-stair__exam { font-size: 14.5px; line-height: 1.25; color: var(--rp-muted); }
.rpt-stair.is-norm { box-shadow: inset 0 0 0 2px rgba(186, 101, 220, .55); background: #fbf6fe; }
.rpt-stair.is-done { background: var(--rp-lav2); }
.rpt-stair.is-here { background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; box-shadow: 0 18px 30px -18px rgba(164, 73, 200, 1); }
.rpt-stair.is-here .rpt-stair__exam { color: rgba(255,255,255,.9); }
.rpt-stair.is-next { box-shadow: inset 0 0 0 2px var(--rp-violet); background: #fff; }
.rpt-stair__me { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.rpt-stair__me img { width: 86px; height: auto; }
.rpt-stair__me span { font-family: var(--rp-fb); font-weight: 600; font-size: 13px; white-space: nowrap; background: var(--rp-navy); color: #fff; padding: 5px 10px; border-radius: 500px; }
.rpt-stairs__start { font-size: 15px; color: var(--rp-muted); margin: -8px 0 0; }
.rpt-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--rp-muted); }
.rpt-legend li { display: inline-flex; align-items: center; gap: 8px; }
.rpt-legend i { width: 18px; height: 18px; border-radius: 6px; display: inline-block; }
.rpt-legend .l-here { background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); }
.rpt-legend .l-norm { background: #fbf6fe; box-shadow: inset 0 0 0 2px rgba(186, 101, 220, .55); }
.rpt-legend .l-next { background: #fff; box-shadow: inset 0 0 0 2px var(--rp-violet); }
.rpt-verdict { margin: 0; padding: 18px 22px; border-radius: 22px; background: var(--rp-sky); font-size: 17px; line-height: 1.45; }
.rpt-verdict b { font-family: var(--rp-fb); font-weight: 600; }
.rpt-verdict--fast { background: var(--rp-mint); }
.rpt-verdict--slow, .rpt-verdict--plan { background: var(--rp-sun); }

.rpt-can { display: flex; flex-direction: column; gap: 18px; }
.rpt-can__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rpt-can__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: 18px; background: var(--rp-lav3); }
.rpt-can__list img { width: 44px; height: 44px; }
.rpt-can__list b { display: block; font-family: var(--rp-fb); font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.rpt-can__list span { font-size: 16px; line-height: 1.4; }

.rpt-goal { display: flex; flex-direction: column; gap: 16px; background: var(--rp-mint); position: relative; overflow: hidden; }
.rpt-goal__icon { position: absolute; right: 22px; top: 22px; width: 92px; height: 92px; }
.rpt-goal .rpt-h3 { padding-right: 110px; }
.rpt-goal__rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rpt-goal__rows li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 13px 16px; border-radius: 16px; background: rgba(255,255,255,.62); font-size: 16px; line-height: 1.35; }
.rpt-goal__rows b { font-family: var(--rp-fb); font-weight: 600; text-align: right; }
.rpt-goal__note { margin: 0; font-size: 15px; line-height: 1.45; }

/* оффер и заявка */
.rpt-offer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.rpt-offer__text { display: flex; flex-direction: column; gap: 20px; }
.rpt-offer__text .rpt-h3 { font-size: 34px; padding-right: 60px; }
.rpt-offer__lead { margin: 0; font-size: 18px; line-height: 1.45; opacity: .95; }
.rpt-offer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rpt-offer__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.09); font-size: 16.5px; line-height: 1.35; }
.rpt-offer__list img { width: 40px; height: 40px; }
.rpt-offer__list b { font-family: var(--rp-fb); font-weight: 600; }
.rpt-offer__trust { display: flex; flex-wrap: wrap; gap: 8px; }
.rpt-form { background: #fff; color: var(--rp-navy); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.rpt-form__title { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 24px; line-height: 1.15; }
.rpt-form__res { margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--rp-lav3); font-size: 15px; line-height: 1.4; }
.rpt-form__res b { font-family: var(--rp-fb); font-weight: 600; }
.rpt-input {
  width: 100%; height: 58px; padding: 0 20px; border-radius: 500px; border: 0; outline: 0;
  box-shadow: inset 0 0 0 1.5px var(--rp-line); background: #fff; color: var(--rp-navy);
  font-family: var(--rp-f); font-size: 17px;
}
.rpt-input:focus { box-shadow: inset 0 0 0 2px var(--rp-violet); }
.rpt-input::placeholder { color: #8090ab; }
.rpt-form__lbl { margin: 4px 0 -6px; font-family: var(--rp-fb); font-weight: 600; font-size: 16px; }
.rpt-form .rpt-chip { min-height: 42px; font-size: 15px; padding: 0 14px; }
.rpt-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 13.5px; line-height: 1.45; color: var(--rp-muted); }
.rpt-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rpt-check > span:first-of-type { flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgba(5,32,62,.35); margin-top: 1px; position: relative; background: #fff; }
.rpt-check input:checked + span { background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); box-shadow: none; }
.rpt-check input:checked + span::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); }
.rpt-check a { color: var(--rp-navy); }
.rpt-form .rpt-btn { width: 100%; }
.rpt-form__alt { margin: 0; font-size: 15px; line-height: 1.45; color: var(--rp-muted); text-align: center; }
.rpt-form__alt b { font-family: var(--rp-fb); font-weight: 600; color: var(--rp-navy); white-space: nowrap; }
.rpt-form__ok { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.rpt-form__ok img { width: 72px; height: 72px; }

/* ссылки дальше */
.rpt-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rpt-ln { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; border-radius: 32px; text-decoration: none; color: var(--rp-navy); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .rpt-ln:hover { transform: translateY(-3px); box-shadow: 0 22px 34px -24px rgba(5,32,62,.55); } }
.rpt-ln img { width: 70px; height: 70px; object-fit: contain; margin-bottom: 4px; }
.rpt-ln b { font-family: var(--rp-fb); font-weight: 600; font-size: 20px; line-height: 1.15; }
.rpt-ln span { font-size: 15.5px; line-height: 1.4; }
.rpt-ln i { margin-top: auto; padding-top: 6px; font-style: normal; font-family: var(--rp-fb); font-weight: 600; font-size: 15px; color: var(--rp-violet-d); }
.rpt-ln:nth-child(1) { background: var(--rp-sky); } .rpt-ln:nth-child(2) { background: var(--rp-mint); }
.rpt-ln:nth-child(3) { background: var(--rp-sun); } .rpt-ln:nth-child(4) { background: #fff; }

.rpt-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.rpt-share__text { display: flex; flex-direction: column; gap: 6px; max-width: 620px; }
.rpt-share__text b { font-family: var(--rp-fb); font-weight: 600; font-size: 21px; }
.rpt-share__text span { font-size: 16px; line-height: 1.4; color: var(--rp-muted); }
.rpt-share__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.rpt-share .rpt-btn { min-height: 54px; padding: 0 22px; font-size: 16px; }

/* ---------- блок-приглашение на других страницах ---------- */
.rpt-teaser { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.rpt-teaser__form { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.rpt-teaser__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.rpt-teaser__demo { display: flex; flex-direction: column; gap: 14px; padding-bottom: 150px; }
.rpt-teaser__demo .rpt-hero__lvl { padding-right: 0; }
.rpt-teaser__demo .rpt-hero__big { font-size: 84px; }
.rpt-teaser__demo .rpt-hero__bird { width: 150px; }
.rpt-teaser__mini { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 6px; max-width: calc(100% - 150px); }
.rpt-teaser__mini i { flex: 1; border-radius: 8px 8px 4px 4px; background: rgba(255,255,255,.16); }
.rpt-teaser__mini i.on { background: #fff; }

.rpt-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 9999; max-width: calc(100% - 32px); text-align: center;
  background: var(--rp-navy); color: #fff; padding: 14px 22px; border-radius: 500px; font-family: var(--rp-fb); font-weight: 600; font-size: 16px;
  transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.rpt-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.rpt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rpt-fade { animation: rpt-in .35s ease both; }
@keyframes rpt-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- адаптив по ширине блока ---------- */
@container rptest (max-width: 1250px) {
  .rptest__box { padding: 70px 44px 50px; }
  .rpt-links, .rptest__why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpt-hero__big { font-size: 88px; }
  .rpt-opts--pic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container rptest (max-width: 1080px) {
  .rpt-intro, .rpt-res__row, .rpt-offer, .rpt-teaser { grid-template-columns: minmax(0, 1fr); }
  .rpt-qwrap { grid-template-columns: minmax(0, 1fr); }
  .rpt-mascot { position: static; flex-direction: row; justify-content: flex-start; padding: 0; order: -1; }
  .rpt-mascot img { width: 84px; }
  .rpt-mascot__say { min-height: 0; padding: 10px 14px; font-size: 16px; }
  .rpt-mascot__say::after { left: -6px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(45deg); }
  .rpt-mascot__tip { display: none; }
  .rpt-q { min-height: 0; }
}
@container rptest (max-width: 760px) {
  .rptest__box { padding: 46px 20px 28px; border-radius: 32px; }
  .rptest__deco--star { width: 64px; height: 64px; right: 18px; top: 22px; }
  .rptest__deco--star2 { display: none; }
  .rptest__head { margin-bottom: 28px; padding-right: 50px; }
  .rptest__head h2 { font-size: 28px; line-height: 1.1; margin-bottom: 14px; }
  .rptest__lead { font-size: 18px; }
  .rpt-card, .rpt-dark { padding: 26px 20px; border-radius: 26px; }
  .rpt-h3 { font-size: 24px; }
  .rpt-intro__form { gap: 26px; }
  .rpt-f__label { font-size: 19px; }
  .rpt-chip { font-size: 16px; min-height: 44px; padding: 0 15px; }
  .rpt-chips--cls .rpt-chip { min-width: 46px; padding: 0 11px; }
  .rpt-intro__go .rpt-btn { width: 100%; }
  .rpt-intro__what { padding-bottom: 170px; }
  .rpt-intro__what .rpt-h3 { font-size: 23px; padding-right: 56px; }
  .rpt-intro__what::after { width: 48px; height: 48px; right: 16px; top: 18px; }
  .rpt-intro__bird { width: 130px; }
  .rpt-intro__pills { left: 20px; bottom: 26px; max-width: calc(100% - 160px); }
  .rpt-what li { padding: 12px 14px 12px 54px; font-size: 15.5px; }
  .rpt-what li::before { left: 12px; top: 11px; }
  .rpt-q { gap: 18px; }
  .rpt-q__top { gap: 10px; }
  .rpt-q__num { font-size: 14.5px; }
  .rpt-q__ins { font-size: 20px; }
  .rpt-q__q { font-size: 21px; }
  .rpt-q__q .rpt-gap { min-width: 70px; }
  .rpt-q__text { font-size: 17px; padding: 18px; }
  .rpt-q__text--notice { font-size: 18px; }
  .rpt-q__pic { width: 160px; }
  .rpt-play { width: 64px; height: 64px; }
  .rpt-play svg { width: 28px; height: 28px; }
  .rpt-opts--pic, .rpt-opts--pic3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rpt-opts--pic3 .rpt-opt:last-child { grid-column: span 2; aspect-ratio: auto; height: 150px; }
  .rpt-opts--pic3 .rpt-opt:last-child .rpt-opt__img, .rpt-opts--pic3 .rpt-opt:last-child .rpt-scene { width: 46%; height: 92%; }
  .rpt-opts--short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpt-opts--short .rpt-opt { min-width: 0; }
  .rpt-opts--yn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpt-opt { font-size: 17px; padding: 14px 16px; min-height: 58px; border-radius: 18px; }
  .rpt-q__foot .rpt-btn { min-width: 0; flex: 1 1 160px; min-height: 56px; }
  .rpt-hero__lvl, .rpt-hero__text, .rpt-hero__actions { padding-right: 0; }
  .rpt-hero { padding-bottom: 170px; }
  .rpt-hero::after { width: 48px; height: 48px; right: 16px; top: 18px; }
  .rpt-hero__big { font-size: 72px; }
  .rpt-hero__name { font-size: 26px; }
  .rpt-hero__text { font-size: 17px; }
  .rpt-hero__bird { width: 150px; }
  .rpt-hero__actions { position: relative; z-index: 1; padding-right: 130px; }
  .rpt-hero__actions .rpt-btn { width: 100%; }
  .rpt-skill { grid-template-columns: 38px minmax(0, 1fr); gap: 4px 12px; }
  .rpt-skill img { width: 38px; height: 38px; }
  .rpt-skill__name { font-size: 16.5px; }
  .rpt-stairs { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 8px; display: flex; flex-direction: column-reverse; align-items: stretch; }
  .rpt-stair, .rpt-stair:nth-child(n) { height: auto; min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 13px 16px; border-radius: 16px; }
  .rpt-stair__cefr { font-size: 19px; min-width: 64px; }
  .rpt-stair__me { position: static; transform: none; margin-left: auto; order: 3; flex-direction: row; align-self: center; }
  .rpt-stair__me img { width: 34px; }
  .rpt-hero__box, .rpt-teaser__demo .rpt-hero__box { margin-right: 0; }
  .rpt-goal__icon { width: 64px; height: 64px; right: 16px; top: 16px; }
  .rpt-goal .rpt-h3 { padding-right: 74px; }
  .rpt-goal__rows li { flex-direction: column; gap: 2px; }
  .rpt-goal__rows b { text-align: left; }
  .rpt-offer__text .rpt-h3 { font-size: 25px; padding-right: 0; }
  .rpt-offer__lead { font-size: 16.5px; }
  .rpt-form { padding: 24px 18px; border-radius: 22px; }
  .rptest__why { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rpt-why { padding: 22px 20px; border-radius: 26px; flex-direction: row; align-items: flex-start; gap: 14px; }
  .rpt-why img { width: 54px; height: 54px; margin: 0; flex: none; }
  .rpt-why h3 { font-size: 18px; margin-bottom: 4px; }
  .rpt-why p { font-size: 15px; }
  .rpt-links { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rpt-ln { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 18px; border-radius: 24px; }
  .rpt-ln img { width: 52px; height: 52px; margin: 0; }
  .rpt-ln b { font-size: 18px; flex: 1 1 140px; }
  .rpt-ln span { flex-basis: 100%; font-size: 15px; }
  .rpt-ln i { padding-top: 0; }
  .rpt-share .rpt-btn { flex: 1 1 100%; }
  .rpt-share__btns { width: 100%; }
  .rpt-teaser__demo { padding-bottom: 130px; }
  .rpt-teaser__demo .rpt-hero__big { font-size: 64px; }
  .rpt-teaser__demo .rpt-hero__bird { width: 120px; }
  .rpt-teaser__go .rpt-btn { width: 100%; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 1080px) {
    .rpt-intro, .rpt-res__row, .rpt-offer, .rpt-teaser, .rpt-qwrap { grid-template-columns: minmax(0, 1fr); }
    .rpt-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rpt-mascot { display: none; }
  }
  @media (max-width: 760px) {
    .rptest__box { padding: 46px 20px 28px; border-radius: 32px; }
    .rpt-card, .rpt-dark { padding: 26px 20px; border-radius: 26px; }
    .rpt-opts--pic, .rpt-opts--pic3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rpt-links { grid-template-columns: minmax(0, 1fr); }
    .rpt-hero__lvl, .rpt-hero__text, .rpt-hero__actions { padding-right: 0; }
    .rpt-hero { padding-bottom: 170px; }
    .rpt-stairs { display: flex; flex-direction: column-reverse; padding-top: 0; align-items: stretch; }
    .rpt-stair, .rpt-stair:nth-child(n) { height: auto; flex-direction: row; }
    .rpt-stair__me { position: static; transform: none; margin-left: auto; order: 3; }
    .rpt-hero__box { margin-right: 0; }
    .rpt-stair__me img { width: 34px; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .rpt-q__bar i, .rpt-skill__fill, .rpt-chip, .rpt-opt, .rpt-btn, .rpt-toast, .rpt-mascot img, .rpt-ln { transition: none; }
  .rpt-fade, .rpt-q__stars.is-pop img, .rpt-play.is-playing { animation: none; }
}
