:root {
  --bg: #e8ecf2;
  --bg-2: #f1f4f8;
  --surface: #edf1f6;
  --text: #273142;
  --muted: #58657a;
  --accent: #2d7ff9;
  --accent-dark: #0b5bd3;
  --accent-soft: #dce8fe;
  --line: rgba(112, 132, 164, .18);
  --white: #fff;
  --shadow: 9px 9px 22px rgba(174, 183, 198, .7), -9px -9px 22px rgba(255, 255, 255, .9);
  --shadow-sm: 5px 5px 13px rgba(174, 183, 198, .68), -5px -5px 13px rgba(255, 255, 255, .9);
  --inset: inset 4px 4px 10px rgba(178, 187, 202, .65), inset -4px -4px 10px rgba(255, 255, 255, .9);
  --radius: 28px;
  --pill: 999px;
  --display: "Onest", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; overflow-x: hidden; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { color: #fff; background: var(--accent); }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 4px; }

.wrap { width: min(100%, 1280px); margin: 0 auto; padding-inline: clamp(18px, 5vw, 64px); }
.wrap--narrow { width: min(100%, 1040px); }
.wrap--reading { width: min(100%, 960px); }

.nav { position: absolute; z-index: 20; inset: 0 0 auto; height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px clamp(18px, 4.5vw, 68px); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: clamp(205px, 19vw, 282px); height: auto; }
.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 9px 17px; border-radius: var(--pill); background: rgba(238, 242, 247, .72); border: 1px solid rgba(255, 255, 255, .76); color: #23314a; font-family: var(--display); font-size: 14px; font-weight: 650; box-shadow: 4px 5px 14px rgba(130, 151, 182, .23), inset 0 1px 0 rgba(255,255,255,.8); backdrop-filter: blur(16px); transition: transform .25s ease, background .25s ease; }
.nav__phone:hover { transform: translateY(-2px); background: rgba(255,255,255,.88); }

.hero { position: relative; min-height: max(720px, 100svh); overflow: hidden; display: grid; align-items: center; isolation: isolate; }
.hero__bg { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-in 1.35s cubic-bezier(.22,1,.36,1) both; }
.hero__veil { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(241,245,249,.18) 0%, rgba(241,245,249,.02) 56%, rgba(226,236,246,.06) 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: -12vw; bottom: -25vw; width: 54vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(45,127,249,.11), transparent 68%); filter: blur(18px); pointer-events: none; }
.hero__inner { width: 100%; min-width: 0; display: flex; align-items: center; padding-top: 90px; padding-bottom: 52px; }
.hero__copy { width: min(56%, 710px); min-width: 0; animation: copy-in .85s .2s cubic-bezier(.22,1,.36,1) both; }
.eyebrow { margin: 0 0 17px; display: inline-flex; align-items: center; gap: 9px; color: var(--accent-dark); font-family: var(--display); font-size: 13px; font-weight: 750; line-height: 1.2; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow > span { width: 25px; height: 3px; border-radius: var(--pill); background: linear-gradient(90deg, var(--accent), #78b0ff); }
.eyebrow--light { color: #d9e9ff; }
.eyebrow--light > span { background: #fff; }
.hero__label { margin: 0 0 8px; color: var(--accent-dark); font-family: var(--display); font-size: clamp(21px, 2.2vw, 30px); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(40px, 5.2vw, 74px); line-height: .99; letter-spacing: -.052em; font-weight: 780; }
.hero__lead { max-width: 650px; margin: 26px 0 30px; color: #46556c; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; }
.hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 23px 0 0; padding: 0; list-style: none; color: #566378; font-size: 13px; font-weight: 600; }
.hero__facts li { display: flex; align-items: center; gap: 9px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(45,127,249,.1); }

.btn { appearance: none; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 14px 24px; border-radius: var(--pill); cursor: pointer; font-family: var(--display); font-size: 15px; font-weight: 700; line-height: 1.2; transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, background .28s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .28s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { min-height: 60px; padding: 17px 30px; font-size: 16px; }
.btn--primary { color: #fff; background: linear-gradient(135deg, #3789ff, #1467e8); box-shadow: 0 12px 30px rgba(22,103,229,.26), inset 0 1px 0 rgba(255,255,255,.34); }
.btn--primary:hover { box-shadow: 0 16px 34px rgba(22,103,229,.34), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { color: var(--muted); background: var(--surface); box-shadow: var(--shadow-sm); }
.btn--white { color: var(--accent-dark); background: #fff; box-shadow: 0 12px 30px rgba(3, 52, 126, .23); }

.quiz-section { position: relative; overflow: hidden; padding: clamp(78px, 9vw, 124px) 0 clamp(88px, 10vw, 140px); }
.quiz-section::before { content: ""; position: absolute; z-index: -1; right: -18vw; top: 4vw; width: 48vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(91,151,255,.13), transparent 69%); filter: blur(20px); }
.section-head { max-width: 790px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.07; letter-spacing: -.042em; }
.section-head > p:last-child { max-width: 660px; margin: 18px auto 0; color: var(--muted); }

.quiz-card { max-width: 890px; margin: 0 auto; padding: clamp(24px, 4.3vw, 50px); border: 1px solid rgba(255,255,255,.68); border-radius: 36px; background: rgba(237,241,246,.82); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.quiz-card__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.quiz-card__step { display: block; color: var(--text); font-family: var(--display); font-size: 16px; font-weight: 750; }
.quiz-card__hint { display: block; margin-top: 2px; }
.quiz-card__percent { font-family: var(--display); font-weight: 750; }
.progress { height: 9px; margin-bottom: 34px; border-radius: var(--pill); background: #d7dde7; box-shadow: var(--inset); overflow: hidden; }
.progress span { display: block; width: 14%; height: 100%; border-radius: var(--pill); background: linear-gradient(90deg, var(--accent), #67a7ff); box-shadow: 0 0 14px rgba(45,127,249,.34); transition: width .45s cubic-bezier(.22,1,.36,1); }
.question { min-width: 0; margin: 0; padding: 0; border: 0; animation: question-in .34s ease both; }
.question legend { width: 100%; margin-bottom: 10px; padding: 0; font-family: var(--display); font-size: clamp(25px, 3.1vw, 38px); font-weight: 720; line-height: 1.18; letter-spacing: -.025em; }
.question blockquote { margin: 17px 0 24px; padding: 16px 19px; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; background: rgba(255,255,255,.46); color: #35445b; font-family: var(--display); font-size: 19px; font-weight: 600; }
.question blockquote[hidden] { display: none; }
.answers { display: grid; gap: 12px; margin-top: 24px; }
.answer { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: center; min-height: 64px; padding: 15px 20px; border: 1px solid rgba(113,132,164,.15); border-radius: 18px; background: rgba(244,247,251,.76); box-shadow: 3px 4px 11px rgba(172,181,197,.55), -3px -3px 10px rgba(255,255,255,.84); cursor: pointer; transition: transform .23s ease, border-color .23s ease, box-shadow .23s ease, background .23s ease; }
.answer:hover { transform: translateY(-2px); border-color: rgba(45,127,249,.32); }
.answer input { position: absolute; opacity: 0; pointer-events: none; }
.answer__radio { width: 22px; height: 22px; border: 2px solid #9ba8b9; border-radius: 50%; box-shadow: inset 0 0 0 5px rgba(244,247,251,.95); background: transparent; transition: background .2s ease, border-color .2s ease; }
.answer__text { color: #3b485c; font-size: 16px; line-height: 1.42; }
.answer:has(input:checked) { border-color: rgba(45,127,249,.55); background: rgba(220,232,254,.75); box-shadow: 0 8px 20px rgba(45,127,249,.1), inset 0 1px 0 rgba(255,255,255,.8); }
.answer:has(input:checked) .answer__radio { border-color: var(--accent); background: var(--accent); }
.answer:has(input:checked) .answer__text { color: #163e79; font-weight: 650; }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; }
.quiz-actions .btn { min-width: 130px; }
.quiz-error { margin: 16px 0 -10px; color: #a83349; font-size: 14px; }
.quiz-error[hidden] { display: none; }

.result[hidden], .material[hidden] { display: none; }
.result { max-width: 890px; margin: 44px auto 0; padding: clamp(27px, 5vw, 55px); display: grid; grid-template-columns: 220px 1fr; gap: 46px; align-items: center; border-radius: 36px; color: #fff; background: linear-gradient(135deg, #153c75 0%, #0e66dc 58%, #3f91ff 100%); box-shadow: 0 24px 60px rgba(15,81,172,.25); animation: result-in .6s cubic-bezier(.22,1,.36,1) both; }
.result__score { --score: 0; width: 210px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#fff calc(var(--score) * 1%), rgba(255,255,255,.16) 0); box-shadow: 0 22px 38px rgba(0,36,93,.25); }
.result__score::before { content: ""; grid-area: 1/1; width: calc(100% - 20px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, #174b97, #0e63d5); box-shadow: inset 0 4px 18px rgba(0,37,97,.28), inset 0 -2px 6px rgba(255,255,255,.14); }
.result__score > div { position: relative; grid-area: 1/1; display: flex; flex-direction: column; align-items: center; font-family: var(--display); }
.result__score strong { font-size: 62px; line-height: .9; letter-spacing: -.06em; }
.result__score span { margin-top: 9px; color: rgba(255,255,255,.72); font-size: 14px; }
.result h2 { margin: 0; font-size: clamp(31px, 4vw, 50px); line-height: 1.06; letter-spacing: -.035em; }
.result__text { margin: 18px 0 0; color: rgba(255,255,255,.83); font-size: 18px; }
.result__bridge { margin: 25px 0 0; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.2); font-family: var(--display); font-size: 20px; font-weight: 650; line-height: 1.4; }
.result__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 25px; }
.result .btn--primary { color: var(--accent-dark); background: #fff; }
.text-button { min-height: 44px; padding: 8px 2px; border: 0; color: rgba(255,255,255,.8); background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.result__note { margin: 17px 0 0; color: rgba(255,255,255,.6); font-size: 12px; }

.material { background: #f4f7fb; }
.material__hero { padding: clamp(78px, 10vw, 130px) 0 clamp(68px, 9vw, 110px); color: #fff; background: radial-gradient(circle at 80% 20%, rgba(106,169,255,.44), transparent 33%), linear-gradient(135deg, #0d2f61, #0c65d7 65%, #4a9bff); }
.material__hero h2 { max-width: 760px; margin: 0; font-size: clamp(46px, 7.3vw, 90px); line-height: .96; letter-spacing: -.055em; }
.material__hero p:last-child { max-width: 800px; margin: 26px 0 0; color: rgba(255,255,255,.78); font-family: var(--display); font-size: clamp(20px, 2.3vw, 30px); line-height: 1.35; }
.material .wrap--reading { padding-top: 1px; padding-bottom: clamp(90px, 12vw, 150px); }
.material-section { position: relative; padding: clamp(70px, 9vw, 110px) 0; border-bottom: 1px solid #dbe2ec; }
.material-section:last-of-type { border-bottom: 0; }
.material-section h3 { max-width: 810px; margin: 0 0 25px; font-size: clamp(32px, 5vw, 56px); line-height: 1.06; letter-spacing: -.04em; }
.material-section > p { color: #49576b; font-size: 18px; }
.material-intro { padding-top: clamp(66px, 8vw, 96px); }
.material-intro__lead { margin-top: 0; color: var(--text) !important; font-family: var(--display); font-size: clamp(25px, 3.4vw, 38px) !important; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.section-number { display: inline-flex; align-items: center; justify-content: center; width: 49px; height: 32px; margin-bottom: 20px; border-radius: var(--pill); color: var(--accent-dark); background: var(--accent-soft); font-family: var(--display); font-size: 13px; font-weight: 800; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 38px; }
.info-card { padding: 27px 25px; border: 1px solid #e2e8f0; border-radius: 23px; background: #fff; box-shadow: 0 12px 30px rgba(34,56,91,.07); }
.info-card b { display: block; margin-bottom: 9px; font-family: var(--display); font-size: 19px; line-height: 1.3; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.quote-card { display: grid; grid-template-columns: 44px 1fr; gap: 18px; margin-top: 35px; padding: clamp(26px, 4vw, 42px); border-radius: 27px; color: #fff; background: linear-gradient(135deg, #1b4e98, #1d76ec); box-shadow: 0 18px 38px rgba(15,86,181,.17); }
.quote-card p { margin: 0; font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.4; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 35px 0 26px; }
.compare__item { padding: clamp(27px, 4vw, 38px); border: 1px solid #dfe6ef; border-radius: 26px; background: #fff; }
.compare__item--accent { color: #fff; border-color: transparent; background: linear-gradient(145deg, #174b96, #287ff2); box-shadow: 0 18px 38px rgba(15,86,181,.18); }
.compare__item span { display: block; margin-bottom: 14px; font-family: var(--display); font-size: 22px; font-weight: 750; }
.compare__item p { margin: 0; color: var(--muted); font-size: 16px; }
.compare__item--accent p { color: rgba(255,255,255,.8); }
.material-note { margin-top: 30px !important; padding: 21px 24px; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; background: #e9f0fb; }
.principles { margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid #dbe2ec; }
.principles li { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid #dbe2ec; }
.principles li > span { color: var(--accent); font-family: var(--display); font-size: 14px; font-weight: 800; }
.principles b { display: block; margin-bottom: 6px; font-family: var(--display); font-size: 21px; }
.principles p { margin: 0; color: var(--muted); }
.session-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 38px; }
.session-path > div { min-height: 180px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 9px 26px rgba(34,56,91,.065); }
.session-path span { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 23px; border-radius: 50%; color: #fff; background: var(--accent); font-family: var(--display); font-size: 12px; font-weight: 800; }
.session-path b { display: block; font-family: var(--display); font-size: 17px; }
.session-path p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.check-list { display: grid; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 13px; padding: 18px 20px; border-radius: 17px; background: #fff; box-shadow: 0 8px 23px rgba(34,56,91,.055); }
.check-list svg { color: var(--accent); margin-top: 2px; }
.training-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 180px; gap: 40px; align-items: center; margin-top: clamp(35px, 6vw, 80px); padding: clamp(35px, 6vw, 68px); border-radius: 34px; color: #fff; background: radial-gradient(circle at 90% 20%, rgba(114,179,255,.48), transparent 30%), linear-gradient(135deg, #0d2f61, #126adb); box-shadow: 0 26px 60px rgba(14,77,163,.22); }
.training-cta h3 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.03; letter-spacing: -.04em; }
.training-cta__copy > p:not(.eyebrow) { max-width: 690px; margin: 20px 0 0; color: rgba(255,255,255,.78); }
.training-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.training-cta__phone { min-height: 44px; display: inline-flex; align-items: center; color: rgba(255,255,255,.84); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.training-cta__mark { display: grid; place-items: center; color: rgba(255,255,255,.86); }

.footer { padding: 34px 0; border-top: 1px solid rgba(115,132,160,.18); background: var(--bg); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer__brand img { width: 245px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 24px; color: var(--muted); font-size: 13px; }
.footer__links a:hover { color: var(--accent-dark); }

@keyframes hero-in { from { opacity: 0; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes question-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes result-in { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { min-height: 900px; align-items: end; }
  .hero__bg { height: 66%; inset: 75px 0 auto; object-position: 64% 20%; }
  .hero__veil { background: linear-gradient(180deg, rgba(236,242,248,.05) 15%, rgba(232,236,242,.32) 47%, var(--bg) 67%); }
  .hero__inner { align-items: end; padding-top: 420px; padding-bottom: 58px; }
  .hero__copy { width: 100%; max-width: 720px; padding: 27px 28px 29px; border: 1px solid rgba(255,255,255,.76); border-radius: 27px; background: rgba(239,243,248,.79); box-shadow: var(--shadow-sm); backdrop-filter: blur(18px); }
  .hero h1 { font-size: clamp(38px, 7.5vw, 60px); }
  .reason-grid { grid-template-columns: 1fr; }
  .session-path { grid-template-columns: repeat(2, 1fr); }
  .training-cta { grid-template-columns: 1fr; }
  .training-cta__mark { display: none; }
}

@media (max-width: 720px) {
  .nav { height: 76px; padding-inline: 17px; }
  .brand img { width: 205px; }
  .nav__phone { width: 46px; padding: 0; }
  .nav__phone span { display: none; }
  .hero { min-height: 920px; }
  .hero__bg { height: 53%; object-position: 65% 10%; }
  .hero__inner { padding: 385px 17px 45px; }
  .hero__copy { padding: 24px 22px 26px; }
  .hero__lead { margin: 20px 0 24px; }
  .hero__facts { gap: 8px 16px; }
  .hero .btn { width: 100%; }
  .quiz-card { border-radius: 27px; }
  .result { grid-template-columns: 1fr; justify-items: center; gap: 30px; text-align: center; border-radius: 28px; }
  .result__score { width: 180px; }
  .result__score strong { font-size: 54px; }
  .result__actions { justify-content: center; }
  .result__bridge { font-size: 18px; }
  .compare { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand img { width: 184px; }
  .hero { min-height: 880px; }
  .hero__bg { height: 46%; object-position: 66% 10%; }
  .hero__inner { padding-top: 340px; }
  .hero__copy { padding: 22px 19px 24px; }
  .hero h1 { font-size: clamp(34px, 10.3vw, 47px); line-height: 1.01; }
  .hero__lead { font-size: 16px; }
  .hero__facts { font-size: 12px; }
  .section-head { margin-bottom: 30px; }
  .quiz-card { padding: 21px 16px; }
  .progress { margin-bottom: 26px; }
  .question legend { font-size: 25px; }
  .question blockquote { font-size: 17px; }
  .answer { grid-template-columns: 22px 1fr; padding: 14px 15px; }
  .answer__text { font-size: 15px; }
  .quiz-actions { align-items: stretch; }
  .quiz-actions .btn { flex: 1; min-width: 0; padding-inline: 15px; }
  .result { padding: 29px 19px; }
  .result .btn { width: 100%; }
  .result__actions { width: 100%; }
  .material__hero { padding-top: 76px; }
  .material-section { padding: 68px 0; }
  .quote-card { grid-template-columns: 1fr; }
  .principles li { grid-template-columns: 42px 1fr; }
  .session-path { grid-template-columns: 1fr; }
  .session-path > div { min-height: 0; }
  .training-cta { margin-inline: -2px; padding: 31px 22px; border-radius: 26px; }
  .training-cta .btn { width: 100%; }
  .training-cta__actions { align-items: stretch; }
  .training-cta__phone { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
