:root {
  --text: #07142f;
  --text-2: #50607f;
  --text-3: #7a89a8;
  --blue: #2468f2;
  --blue-2: #2fa4ff;
  --cyan: #28c9d2;
  --border: rgba(71, 105, 160, .16);
  --shadow-xs: 0 5px 18px rgba(21, 58, 122, .05);
  --shadow-sm: 0 12px 34px rgba(20, 56, 120, .08);
  --max: 1424px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #fff; scroll-behavior: smooth; }
body { margin: 0; min-height: 100%; padding-bottom: 8px; color: var(--text); background: #fff; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid rgba(47, 164, 255, .44); outline-offset: 4px; border-radius: 12px; }

.page {
  width: 100%;
  min-height: calc(100svh - 8px);
  margin-top: 8px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(850px 520px at 72% 19%, rgba(68, 135, 255, .13), transparent 65%),
    radial-gradient(620px 460px at 35% 34%, rgba(46, 201, 210, .055), transparent 72%),
    linear-gradient(180deg, #fff 0%, #f7fbff 49%, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--text);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(59, 93, 151, .12);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(22px) saturate(140%);
}
.header-inner {
  width: min(var(--max), calc(100% - 96px));
  height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 398px;
  align-items: center;
  gap: 24px;
}
.brand {
  width: 196px;
  display: inline-flex;
  align-items: center;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.brand:hover { transform: translateY(-1px); opacity: .96; }
.brand img { width: 196px; height: auto; display: block; }
.nav {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 38px);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.012em;
}
.nav a, .header-login {
  position: relative;
  color: #0c1731;
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.nav a::after, .header-login::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s var(--ease);
}
.header-login::after { bottom: 2px; }
.nav a:hover, .header-login:hover { color: var(--blue); }
.nav a:hover::after, .header-login:hover::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 16px;
  font-weight: 650;
}
.header-login { min-height: 44px; display: inline-flex; align-items: center; }

.btn {
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.015em;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { font-size: 20px; line-height: 1; transform: translateY(-1px); transition: transform .24s var(--ease); }
.btn:hover .arrow { transform: translate(4px, -1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2457e6 0%, #2870ea 52%, #1d8fd4 100%);
  box-shadow: 0 14px 32px rgba(36, 95, 232, .23), inset 0 1px 0 rgba(255, 255, 255, .30);
}
.btn-primary:hover { box-shadow: 0 19px 40px rgba(36, 95, 232, .29), inset 0 1px 0 rgba(255, 255, 255, .32); }
.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .72);
  border-color: rgba(64, 97, 156, .18);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .96);
}
.btn-secondary:hover { border-color: rgba(36, 104, 242, .28); box-shadow: var(--shadow-sm); }
.header-start { width: 138px; min-width: 138px; min-height: 52px; padding: 0 18px; gap: 12px; font-size: 16px; }

.mobile-menu { display: none; position: relative; z-index: 80; }
.menu-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  border: 1px solid rgba(64, 97, 156, .16);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .95);
  cursor: pointer;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease), color .22s var(--ease);
}
.menu-button::-webkit-details-marker { display: none; }
.menu-button:hover { transform: translateY(-1px); border-color: rgba(36, 104, 242, .26); color: var(--blue); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .96); }
.burger-lines { width: 18px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.burger-lines span { height: 2px; display: block; border-radius: 99px; background: currentColor; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.mobile-menu[open] .burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] .burger-lines span:nth-child(2) { opacity: 0; }
.mobile-menu[open] .burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(286px, calc(100vw - 28px));
  padding: 9px;
  border: 1px solid rgba(63, 98, 156, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(20, 56, 120, .16), inset 0 1px 0 rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px) saturate(140%);
}
.mobile-nav a { min-height: 46px; padding: 0 13px; display: flex; align-items: center; border-radius: 13px; font-size: 15px; font-weight: 720; letter-spacing: -.015em; transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); }
.mobile-nav a:hover { color: var(--blue); background: rgba(36, 104, 242, .07); transform: translateX(2px); }

.test-page { flex: 1 0 auto; }
.test-hero, .test-features-section, .directions-section { width: min(var(--max), calc(100% - 96px)); margin: 0 auto; }
.test-hero {
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .68fr);
  align-items: center;
  gap: clamp(42px, 5vw, 78px);
}
.test-copy { min-width: 0; max-width: 870px; }
.test-hero-chips { margin-bottom: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.test-hero-chip {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(36, 104, 242, .20);
  border-radius: 13px;
  color: var(--blue);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 24px rgba(38, 100, 219, .055), inset 0 1px 0 rgba(255, 255, 255, .9);
  white-space: nowrap;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
}
.test-hero-chip--highlight { color: #168a45; border-color: rgba(15, 159, 69, .16); background: rgba(240, 252, 245, .82); }
.test-hero-chip__prefix { line-height: 1; transform: translateY(-.5px); }
.test-title { margin: 0; max-width: 900px; color: var(--text); font-size: clamp(48px, 4.55vw, 74px); line-height: .98; letter-spacing: -.062em; font-weight: 830; }
.test-lead { margin: 28px 0 0; max-width: 740px; color: var(--text-2); font-size: 20px; line-height: 1.54; letter-spacing: -.018em; font-weight: 500; }
.test-cta-row { margin-top: 30px; display: flex; align-items: center; gap: 22px; }
.test-cta-row .btn { min-width: 212px; }

.test-preview { min-height: auto; padding: 0; position: relative; overflow: visible; border: 0; border-radius: 34px; background: transparent; box-shadow: none; }
.test-preview-card {
  padding: 30px;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(247, 250, 255, .86) 100%);
  box-shadow: 0 34px 86px rgba(19, 68, 160, .13), inset 0 1px 0 rgba(255, 255, 255, .98);
}
.preview-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 0; color: var(--text-2); font-size: 14px; font-weight: 760; }
.preview-topline span { min-height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border: 1px solid rgba(44, 88, 162, .15); border-radius: 99px; background: rgba(255, 255, 255, .72); }
.test-preview-card h2 { margin: 24px 0 18px; color: var(--text); font-size: 30px; line-height: 1.08; letter-spacing: -.04em; font-weight: 830; }
.question-card, .recommend-card { padding: 18px; border: 1px solid rgba(63, 98, 156, .13); border-radius: 22px; background: rgba(255, 255, 255, .78); box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .94); }
.question-head { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); font-size: 13px; font-weight: 760; }
.question-bar { height: 8px; margin: 14px 0; overflow: hidden; border-radius: 99px; background: #e5ecfb; }
.question-bar span { width: 62%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-2)); }
.question-card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.48; font-weight: 600; }
.level-row { margin: 16px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.level-row span { min-height: 48px; display: grid; place-items: center; border: 1px solid rgba(36, 104, 242, .14); border-radius: 16px; color: var(--blue); background: linear-gradient(180deg, #edf5ff, #e4efff); font-size: 17px; font-weight: 850; }
.level-row span:nth-child(2) { color: #7754f3; background: linear-gradient(180deg, #f2eaff, #ece2ff); border-color: rgba(119, 84, 243, .18); }
.level-row span:nth-child(3), .level-row span:nth-child(4) { color: #15934c; background: linear-gradient(180deg, #e7fbef, #def6e7); border-color: rgba(15, 159, 69, .16); }
.recommend-card span { margin-bottom: 7px; display: block; color: var(--text-2); font-size: 13px; font-weight: 730; }
.recommend-card strong { display: block; color: var(--text); font-size: 16px; line-height: 1.3; font-weight: 820; }

.test-features-section, .directions-section { padding: 28px 0 48px; }
.test-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.test-feature-card, .direction-card { border: 1px solid rgba(63, 98, 156, .13); background: rgba(255, 255, 255, .76); box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .92); }
.test-feature-card { min-height: 230px; padding: 26px; border-radius: 26px; }
.feature-badge { width: 52px; height: 48px; margin-bottom: 24px; display: grid; place-items: center; border: 1px solid rgba(36, 104, 242, .14); border-radius: 16px; color: var(--blue); background: linear-gradient(180deg, #edf5ff, #e4efff); font-size: 18px; font-weight: 850; }
.feature-badge.violet { color: #7351f4; background: linear-gradient(180deg, rgba(244, 237, 255, .98), rgba(234, 224, 255, .92)); border-color: rgba(121, 95, 255, .13); }
.feature-badge.green { color: #139b50; background: linear-gradient(180deg, rgba(232, 251, 240, .98), rgba(221, 246, 232, .92)); border-color: rgba(24, 170, 89, .13); }
.test-feature-card h2 { margin: 0 0 12px; color: var(--text); font-size: 24px; line-height: 1.1; letter-spacing: -.04em; font-weight: 830; }
.test-feature-card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; font-weight: 580; }

.directions-head { margin-bottom: 22px; text-align: center; }
.directions-head h2 { margin: 0; color: var(--text); font-size: 34px; line-height: 1.08; letter-spacing: -.04em; font-weight: 840; }
.directions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.direction-card { min-height: 190px; padding: 26px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; border-radius: 26px; }
.direction-icon { width: 64px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(36, 104, 242, .13); border-radius: 18px; color: var(--blue); background: linear-gradient(180deg, #edf5ff, #e4efff); font-size: 25px; font-weight: 860; }
.direction-icon.green { color: #139b50; background: linear-gradient(180deg, rgba(232, 251, 240, .98), rgba(221, 246, 232, .92)); border-color: rgba(24, 170, 89, .13); }
.direction-icon svg { width: 31px; height: 31px; }
.direction-card h3 { margin: 0 0 10px; color: var(--text); font-size: 24px; line-height: 1.1; letter-spacing: -.04em; font-weight: 830; }
.direction-card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; font-weight: 580; }
.direction-card div > span { min-height: 30px; margin-top: 16px; padding: 0 11px; display: inline-flex; align-items: center; border: 1px solid rgba(63, 98, 156, .10); border-radius: 99px; color: var(--text-2); background: rgba(245, 248, 255, .82); font-size: 12px; font-weight: 760; }

.site-footer { margin-top: auto; background: rgba(255, 255, 255, .52); }
.footer-inner { width: min(var(--max), calc(100% - 96px)); margin: 0 auto; padding: 18px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.footer-note { min-width: 250px; display: flex; align-items: baseline; gap: 13px; color: var(--text-2); order: 1; }
.copyright, .footer-note p { margin: 0; color: #6f7f9b; white-space: nowrap; font-size: 13px; line-height: 1; font-weight: 700; letter-spacing: 0; }
.footer-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 22px; order: 2; }
.footer-links a { color: var(--text-2); font-size: 13px; font-weight: 650; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-links a:hover { color: var(--blue); transform: translateY(-1px); }
.socials { margin: 0; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; order: 3; }
.social-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(63, 98, 156, .12); border-radius: 12px; color: #31415f; background: rgba(255, 255, 255, .62); transition: transform .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease); }

@media (max-width: 1360px) {
  .header-inner, .test-hero, .test-features-section, .directions-section, .footer-inner { width: min(100% - 48px, var(--max)); }
  .test-hero { padding-top: 48px; grid-template-columns: minmax(0, 1fr) 360px; gap: 38px; }
  .test-title { font-size: clamp(48px, 4.8vw, 64px); }
}

@media (max-width: 1260px) {
  .header-inner { width: min(100% - 40px, var(--max)); height: 72px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; }
  .brand, .brand img { width: 164px; }
  .nav { display: none; }
  .header-actions { justify-self: end; gap: 12px; font-size: 15px; }
  .header-start { display: none; }
  .header-login { min-height: 44px; font-size: 15px; }
  .mobile-menu { display: block; }
}

@media (max-width: 1080px) {
  .test-hero { max-width: 920px; grid-template-columns: 1fr; }
  .test-copy { max-width: 780px; margin-inline: auto; text-align: center; }
  .test-hero-chips, .test-cta-row { justify-content: center; }
  .test-lead { margin-inline: auto; }
  .test-preview { max-width: 760px; margin-inline: auto; }
  .test-feature-grid { max-width: 760px; margin-inline: auto; grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .test-hero, .test-features-section, .directions-section { width: min(100% - 28px, 760px); }
  .test-hero { padding-top: 30px; padding-bottom: 34px; gap: 28px; }
  .test-title { font-size: clamp(42px, 8.4vw, 60px); }
  .test-lead { font-size: 18px; }
  .test-hero-chips { margin-bottom: 24px; justify-content: center; }
  .test-hero-chip { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
  .directions-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { width: min(100% - 28px, 720px); padding: 22px 0 26px; align-items: flex-start; flex-direction: column; gap: 16px; }
  .socials { order: 1; }
  .footer-links { justify-content: flex-start; order: 2; }
  .footer-note { min-width: 0; flex-direction: column; align-items: flex-start; gap: 5px; order: 3; }
  .footer-note p { order: 1; white-space: normal; line-height: 1; }
  .footer-note .copyright { order: 2; }
}

@media (max-width: 760px) {
  .test-hero { padding-top: 28px; }
}

@media (max-width: 700px) {
  .site-header { transition: padding-bottom .24s var(--ease); }
  .site-header:has(.mobile-menu[open]) { padding-bottom: 322px; }
  .mobile-menu { position: static; }
  .mobile-nav { position: absolute; top: 82px; right: 14px; left: 14px; z-index: 70; width: auto; padding: 0; display: none; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .mobile-menu[open] .mobile-nav { display: grid; gap: 10px; }
  .mobile-nav a { min-height: 50px; padding: 0 18px; border: 1px solid rgba(63, 98, 156, .16); border-radius: 18px; color: var(--text-2); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .96); font-size: 17px; font-weight: 760; }
}

@media (max-width: 640px) {
  .test-title { font-size: clamp(38px, 11.4vw, 50px); line-height: 1.02; }
  .test-lead { font-size: 17px; line-height: 1.54; }
  .test-cta-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .test-cta-row .btn { width: 100%; min-width: 0; }
  .test-preview-card { padding: 20px; border-radius: 24px; }
  .preview-topline { align-items: flex-start; flex-direction: column; gap: 10px; }
  .level-row { gap: 8px; }
  .test-features-section, .directions-section { padding-bottom: 36px; }
  .direction-card { padding: 22px; grid-template-columns: 1fr; gap: 16px; border-radius: 24px; }
}

@media (max-width: 560px) {
  .header-inner { width: calc(100% - 20px); height: 64px; gap: 8px; }
  .brand, .brand img { width: 132px; }
  .header-actions { gap: 6px; }
  .header-login { min-height: 36px; font-size: 13.5px; line-height: 1; }
  .mobile-menu { margin-right: -4px; }
  .menu-button { width: 38px; min-width: 38px; height: 38px; min-height: 38px; border-radius: 12px; }
  .burger-lines { width: 17px; height: 13px; }
  .mobile-nav { top: 72px; }
  .site-header:has(.mobile-menu[open]) { padding-bottom: 304px; }
  .footer-links { gap: 9px 16px; }
}

@media (max-width: 380px) {
  .header-inner { width: calc(100% - 18px); height: 62px; gap: 6px; }
  .brand, .brand img { width: 118px; }
  .header-actions { gap: 5px; }
  .header-login { min-height: 34px; font-size: 13px; }
  .menu-button { width: 36px; min-width: 36px; height: 36px; min-height: 36px; border-radius: 11px; }
  .mobile-menu { margin-right: -5px; }
  .mobile-nav { top: 68px; right: 10px; left: 10px; }
  .site-header:has(.mobile-menu[open]) { padding-bottom: 294px; }
}

@media (max-width: 360px) {
  .test-title { font-size: 35px; }
  .test-hero-chips { gap: 8px; }
  .test-hero-chip { font-size: 13px; }
  .level-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 340px) {
  .brand, .brand img { width: 106px; }
  .header-login { min-height: 32px; font-size: 12.5px; }
  .menu-button { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
  .burger-lines { width: 16px; height: 12px; }
  .mobile-nav { top: 64px; }
}

/* Standalone PHP test and result pages. All selectors are scoped to this runtime. */
.vpr-runtime {
  min-width: 320px;
  min-height: 100vh;
  padding: 0;
  color: #07142f;
  background:
    radial-gradient(circle at 72% 18%, rgba(80, 139, 255, .13), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #f6faff 62%, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vpr-runtime button,
.vpr-runtime input {
  font: inherit;
}

.vpr-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.vpr-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.vpr-topbar img {
  display: block;
  width: 178px;
  height: auto;
}

.vpr-card {
  border: 1px solid rgba(163, 181, 214, .18);
  background: linear-gradient(155deg, rgba(255, 255, 255, .96), rgba(247, 250, 255, .9));
  box-shadow:
    0 28px 68px rgba(90, 112, 164, .10),
    0 4px 18px rgba(90, 112, 164, .05),
    inset 0 1px rgba(255, 255, 255, .9);
}

.vpr-kicker,
.vpr-question-type {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #5b4ad1;
  background: #f0edff;
  font-size: 13px;
  font-weight: 750;
}

.vpr-question-card {
  position: relative;
  min-height: 668px;
  padding: 26px;
  border-radius: 34px;
}

.vpr-question-header {
  display: grid;
  gap: 16px;
}

.vpr-question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: #6d7897;
  font-size: 14px;
  font-weight: 700;
}

.vpr-progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #e8e7ef;
}

.vpr-progress::-webkit-progress-bar {
  border-radius: 999px;
  background: #e8e7ef;
}

.vpr-progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #4696ff, #6d5ce7);
}

.vpr-progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, #4696ff, #6d5ce7);
}

.vpr-question-body {
  margin-top: 28px;
  padding-bottom: 88px;
}

.vpr-question-context {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(161, 181, 219, .18);
  border-radius: 18px;
  color: #415071;
  background: rgba(247, 250, 255, .82);
  font-size: 16px;
  line-height: 1.55;
}

.vpr-question-body h1 {
  margin: 18px 0 0;
  color: #1f2740;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.vpr-form-error {
  margin: 18px 0 0;
  padding: 13px 15px;
  border: 1px solid rgba(210, 73, 73, .24);
  border-radius: 14px;
  color: #8a2530;
  background: #fff3f4;
  font-weight: 700;
  line-height: 1.45;
}

.vpr-options {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.vpr-option {
  position: relative;
  min-height: 76px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  border: 1px solid rgba(161, 181, 219, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 34px rgba(20, 56, 120, .08);
  transition: border-color .15s, background-color .15s, transform .15s;
}

.vpr-option:hover {
  transform: translateY(-1px);
  border-color: rgba(70, 150, 255, .38);
}

.vpr-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vpr-option:has(input:checked) {
  border-color: rgba(109, 92, 231, .75);
  background: #f4f1ff;
  box-shadow: 0 12px 34px rgba(83, 68, 190, .14), inset 0 0 0 1px rgba(109, 92, 231, .16);
}

.vpr-option input:focus-visible + .vpr-option-letter {
  outline: 3px solid rgba(109, 92, 231, .25);
  outline-offset: 4px;
}

.vpr-option-letter {
  flex: 0 0 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(161, 181, 219, .18);
  border-radius: 14px;
  color: #1f2740;
  background: rgba(245, 248, 255, .92);
  font-size: 14px;
  font-weight: 800;
}

.vpr-option:has(input:checked) .vpr-option-letter {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #4696ff, #6d5ce7);
}

.vpr-option-copy {
  font-weight: 650;
  line-height: 1.4;
}

.vpr-question-footer {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.vpr-btn {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(161, 181, 219, .22);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #07142f;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 34px rgba(20, 56, 120, .08);
  text-align: center;
  line-height: 1.16;
}

.vpr-btn:hover {
  filter: brightness(.985);
}

.vpr-btn:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.vpr-btn--primary {
  min-width: 110px;
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #4696ff, #6d5ce7);
  box-shadow: 0 14px 24px rgba(70, 116, 255, .28), inset 0 1px rgba(255, 255, 255, .22);
}

.vpr-btn--ghost {
  margin-right: auto;
}

.vpr-result-grid {
  display: grid;
  gap: 22px;
}

.vpr-result-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
}

.vpr-score {
  width: 160px;
  aspect-ratio: 1;
  border: 14px solid #ded8ff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0edff;
  text-align: center;
}

.vpr-score strong {
  display: block;
  color: #312b56;
  font-size: 42px;
  line-height: 1;
}

.vpr-score span {
  display: block;
  margin-top: 6px;
  color: #6a6680;
}

.vpr-kickers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vpr-result-hero h1 {
  margin: 15px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.vpr-result-hero p {
  color: #5d596f;
  font-size: 17px;
  line-height: 1.65;
}

.vpr-note {
  padding: 18px 20px;
  border-radius: 16px;
  color: #4b4565;
  background: #f7f5ff;
  line-height: 1.55;
}

.vpr-result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.vpr-result-actions form {
  display: inline-flex;
  margin: 0;
}

.vpr-section-card {
  padding: 30px;
  border-radius: 26px;
}

.vpr-section-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.vpr-section-card > p {
  margin: 0 0 22px;
  color: #696579;
}

.vpr-diagnostics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vpr-meter,
.vpr-track,
.vpr-course {
  padding: 20px;
  border: 1px solid #e7e4ef;
  border-radius: 18px;
  background: #fff;
}

.vpr-meter strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.vpr-meter progress {
  width: 100%;
  height: 10px;
}

.vpr-meter small {
  display: block;
  margin-top: 8px;
  color: #777286;
}

.vpr-route {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.vpr-route-item {
  padding: 18px;
  border: 1px solid #e7e4ef;
  border-radius: 16px;
  background: #faf9fd;
}

.vpr-route-item.current {
  border-color: #6d5ce7;
  background: #f0edff;
}

.vpr-route-item.base {
  opacity: .68;
}

.vpr-route-item strong {
  display: block;
  font-size: 22px;
}

.vpr-route-item span {
  color: #6b667c;
  font-size: 13px;
}

.vpr-why {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vpr-why li {
  padding: 16px 18px;
  border-radius: 14px;
  background: #faf9fd;
  line-height: 1.55;
}

.vpr-track-grid,
.vpr-course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.vpr-track h3,
.vpr-course h3 {
  margin: 8px 0;
}

.vpr-track p,
.vpr-course p {
  color: #696579;
  line-height: 1.55;
}

.vpr-course.recommended {
  border-color: #6d5ce7;
  background: #f7f5ff;
}

.vpr-error {
  max-width: 620px;
  margin-top: 8vh;
  padding: 36px;
  border-radius: 26px;
}

.vpr-error h1 {
  margin-top: 0;
}

@media (max-width: 720px) {
  .vpr-shell {
    width: min(100% - 24px, 980px);
    padding: 24px 0 48px;
  }

  .vpr-topbar img {
    width: 150px;
  }

  .vpr-topbar .vpr-kicker {
    max-width: 170px;
    text-align: center;
  }

  .vpr-question-card {
    min-height: auto;
    padding: 18px;
    border-radius: 28px;
  }

  .vpr-question-body {
    padding-bottom: 0;
  }

  .vpr-question-body h1 {
    font-size: 30px;
  }

  .vpr-question-context {
    padding: 15px 16px;
    font-size: 15px;
  }

  .vpr-option {
    min-height: 70px;
    padding: 15px;
  }

  .vpr-question-footer {
    position: static;
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .vpr-question-footer .vpr-btn--primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .vpr-question-footer .vpr-btn--secondary {
    grid-column: 1;
    grid-row: 2;
  }

  .vpr-question-footer .vpr-btn--ghost {
    grid-column: 2;
    grid-row: 2;
    margin-right: 0;
  }

  .vpr-result-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .vpr-score {
    display: none;
  }

  .vpr-diagnostics,
  .vpr-route,
  .vpr-track-grid,
  .vpr-course-grid {
    grid-template-columns: 1fr;
  }

  .vpr-section-card {
    padding: 22px;
  }

  .vpr-result-actions {
    flex-direction: column;
  }

  .vpr-result-actions form,
  .vpr-result-actions .vpr-btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .vpr-question-meta {
    font-size: 13px;
  }

  .vpr-question-type {
    font-size: 12px;
  }

  .vpr-question-body h1 {
    font-size: 27px;
  }

  .vpr-option {
    padding: 14px;
  }
}
