*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.seo-course-fallback {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 80px;
  color: var(--text);
}

.seo-course-fallback section {
  margin-top: 56px;
}

.seo-course-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.seo-course-nav a {
  color: var(--muted);
  text-decoration: none;
}

.seo-course-hero {
  max-width: 860px;
}

.seo-course-hero h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.95;
}

.seo-course-fallback h2 {
  max-width: 820px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.seo-course-fallback h3 {
  margin: 0 0 12px;
  color: var(--text);
}

.seo-course-fallback p,
.seo-course-fallback li {
  color: var(--muted);
  line-height: 1.65;
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.seo-card-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 720px) {
  .seo-course-fallback {
    width: min(100% - 28px, 1120px);
    padding-top: 96px;
  }

  .seo-card-grid {
    grid-template-columns: 1fr;
  }
}

:root {
  --black: #080810;
  --dark: #0f0f1a;
  --card: #14141f;
  --card2: #1a1a2e;
  --accent: #00e5a0;
  --accent2: #00bfff;
  --muted: #8888aa;
  --white: #f0efe8;
  --border: rgba(255, 255, 255, 0.07);
  --danger: #ff6577;
}

body.develop-page {
  --accent: #7cf7c8;
  --accent2: #ffc857;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 229, 160, 0.055), transparent 34rem),
    radial-gradient(circle at 80% 22%, rgba(0, 191, 255, 0.045), transparent 32rem),
    var(--black);
  color: var(--white);
  font-family: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 40px;
  background:
    linear-gradient(180deg, rgba(12, 13, 24, 0.94), rgba(8, 8, 16, 0.88)),
    rgba(8, 8, 16, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.logo {
  display: grid;
  grid-template-columns: 40px max-content;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  min-width: max-content;
}

.logo::before {
  content: "";
  grid-row: 1 / span 2;
  grid-column: 1;
  display: block;
  width: 40px;
  height: 40px;
  background: url("/logos/stackup-logo-mark-light.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 18px rgba(0, 191, 255, 0.18));
}

.logo-name,
.footer-logo {
  font-family: "Unbounded", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.logo-name,
.logo-sub {
  grid-column: 2;
}

.logo-name > span,
.footer-logo span {
  color: var(--accent);
}

.nav .logo-name,
.nav .logo-name > span {
  color: #ffffff;
}

.logo-sub {
  color: rgba(136, 136, 170, 0.92);
  font-family: "Golos Text", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 24px;
}

.nav-links a,
.nav-menu-trigger {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-menu-trigger:hover {
  color: var(--white);
}

.course-page .nav-links {
  gap: 14px;
}

.course-page .nav-links > a,
.course-page .nav-menu-trigger {
  white-space: nowrap;
  font-size: 13px;
}

.nav-menu {
  position: relative;
}

.nav-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -16px;
  left: -16px;
  height: 14px;
}

.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-menu-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 50%;
  z-index: 20;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(0, 229, 160, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(20, 20, 31, 0.98), rgba(12, 12, 24, 0.98)),
    var(--card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, -6px);
  transition: opacity 0.18s, transform 0.18s;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(240, 239, 232, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.nav-dropdown a:hover {
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown,
.nav-menu.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.nav-menu.open .nav-menu-trigger {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  margin-left: auto;
}

.nav-phone {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 229, 160, 0.14);
  border-radius: 10px;
  color: rgba(240, 239, 232, 0.9);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  user-select: text;
  white-space: nowrap;
  cursor: text;
}

.nav-phone small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.7px;
  line-height: 1;
  text-transform: uppercase;
}

.nav-phone:hover {
  border-color: rgba(0, 229, 160, 0.32);
  color: var(--accent);
}

.nav-cta,
.btn-primary,
.btn-plan.accent,
.cta-submit {
  color: var(--black);
  background: var(--accent);
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.15s;
}

.nav-cta {
  display: inline-grid;
  place-items: center;
  min-width: 154px;
  min-height: 48px;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.08;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0, 229, 160, 0.12), 0 14px 34px rgba(0, 229, 160, 0.14);
  white-space: nowrap;
}

.nav-cta small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  line-height: 1;
  opacity: 0.7;
  text-transform: uppercase;
}

.nav-cta:hover,
.btn-primary:hover,
.btn-plan:hover,
.cta-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 120px 40px 80px;
  background:
    radial-gradient(circle at 74% 42%, rgba(0, 229, 160, 0.08), transparent 34rem),
    var(--black);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 80px;
  right: -12vw;
  bottom: -28px;
  left: 22%;
  width: auto;
  background: url("/images/stackup-hero-abstract-v2.png") center center / cover no-repeat;
  opacity: 0.82;
  transform: translateX(-24%);
  transform-origin: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 10%, #000 28%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 10%, #000 28%, #000 92%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 16, 0.98) 0%, rgba(8, 8, 16, 0.9) 34%, rgba(8, 8, 16, 0.36) 58%, rgba(8, 8, 16, 0.7) 100%),
    linear-gradient(180deg, rgba(8, 8, 16, 0.1), rgba(8, 8, 16, 0.82)),
    radial-gradient(circle at 72% 48%, rgba(0, 229, 160, 0.14), transparent 34%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.064) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.046) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.62;
  -webkit-mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, #000 48%, rgba(0, 0, 0, 0.45) 74%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, #000 48%, rgba(0, 0, 0, 0.45) 74%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  top: auto;
  right: auto;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.08) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 229, 160, 0.25);
  border-radius: 100px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.1);
  font-size: 13px;
  font-weight: 600;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1,
h2,
h3 {
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.05;
}

h1 span {
  display: block;
  font-size: 0.82em;
  line-height: 1.08;
}

h1 em,
.cta-box h2 em {
  color: var(--accent);
  font-style: normal;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
}

.hero-sub {
  max-width: 560px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-stats,
.hero-btns,
.mini-features,
.format-grid,
.plan-features {
  display: flex;
}

.hero-stats {
  gap: 32px;
  margin-bottom: 40px;
}

.stat-num {
  font-family: "Unbounded", sans-serif;
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.hero-btns {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-chat-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 16px;
  padding: 0;
  border: 0;
  color: rgba(240, 239, 232, 0.7);
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.hero-chat-link span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 229, 160, 0.1);
}

.hero-chat-link:hover,
.hero-chat-link:focus-visible {
  color: var(--accent);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
  margin-top: 22px;
}

.tech-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  color: rgba(240, 239, 232, 0.82);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 700;
}

.btn-primary,
.btn-secondary,
.btn-plan,
.cta-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}

.btn-secondary,
.btn-plan.outline {
  color: var(--white);
  background: transparent;
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-plan.outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-card,
.why-card,
.month-card,
.format-card,
.price-card,
.testimonial-card,
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.13);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 20px;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(20, 20, 31, 0.9), rgba(16, 17, 27, 0.8));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(0, 229, 160, 0.04);
  backdrop-filter: blur(18px);
}

.hero-card::before,
.price-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.card-tag {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card-title {
  margin-bottom: 24px;
  font-family: "Unbounded", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.card-hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: -8px 0 24px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 200, 87, 0.26);
  border-radius: 999px;
  color: #ffc857;
  background: rgba(255, 200, 87, 0.08);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.card-hotline svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.course-selector-card .card-title {
  margin-bottom: 18px;
  font-size: 18px;
}

.course-paths {
  margin-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.course-path-choice {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  padding: 15px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: inherit;
  transition: color 0.2s ease, padding 0.2s ease, background 0.2s ease;
}

.course-path-choice:hover,
.course-path-choice:focus-visible {
  padding-inline: 8px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.045);
}

.course-path-index {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.1);
  font-size: 11px;
  font-weight: 900;
}

.course-path-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.course-path-copy strong {
  color: var(--white);
  font-size: 13px;
  line-height: 1.3;
}

.course-path-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.course-path-arrow {
  color: var(--accent);
  font-size: 19px;
  transition: transform 0.2s ease;
}

.course-path-choice:hover .course-path-arrow,
.course-path-choice:focus-visible .course-path-arrow {
  transform: translateX(3px);
}

.course-card-chat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin: 2px 0 14px;
  padding: 0 2px;
  border: 0;
  color: rgba(240, 239, 232, 0.78);
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.course-card-chat span {
  color: var(--accent);
  font-size: 18px;
}

.course-card-chat:hover,
.course-card-chat:focus-visible {
  color: var(--accent);
}

.mini-features {
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mini-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.slot-label {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}

.slot-label span {
  color: var(--accent);
  font-weight: 600;
}

.group-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}

.slot {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 10px;
  font-size: 18px;
}

.slot.taken {
  border: 1px solid rgba(0, 229, 160, 0.3);
  background: rgba(0, 229, 160, 0.15);
  color: var(--accent);
}

.slot.free {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.price-block {
  padding: 16px;
  border: 1px solid rgba(0, 229, 160, 0.15);
  border-radius: 12px;
  background: rgba(0, 229, 160, 0.06);
}

.price-from,
.price-note {
  color: var(--muted);
  font-size: 12px;
}

.price-main {
  margin: 4px 0;
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.18;
  white-space: nowrap;
}

section {
  position: relative;
  padding: 96px 40px;
}

main:not(.legal-page) > section + section {
  margin-top: -84px;
  padding-top: 108px;
}

main:not(.legal-page) > section:not(.hero)::before {
  content: "";
  position: absolute;
  top: -112px;
  left: 0;
  right: 0;
  height: 190px;
  background:
    linear-gradient(180deg, rgba(8, 8, 16, 0), rgba(8, 8, 16, 0.86) 58%, rgba(8, 8, 16, 0));
  pointer-events: none;
  z-index: 0;
}

main:not(.legal-page) > section:not(.hero)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), #000 22%, #000 78%, rgba(0, 0, 0, 0.28));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), #000 22%, #000 78%, rgba(0, 0, 0, 0.28));
}

section > .container,
.cta-box {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-sub {
  max-width: 600px;
  margin-bottom: 60px;
  color: var(--muted);
  font-size: 18px;
}

.center {
  text-align: center;
}

.centered {
  margin-inline: auto;
}

.future-hidden,
.nav-phone,
.footer-contact,
.reviews-section,
.seo-course-reviews,
.seo-course-contact-phone,
.prof-test-result .consultation-card {
  display: none !important;
}

.lead-section,
.vs-section,
.course-progress-section,
.format-section,
.reviews-section,
.referral-section,
.courses-section,
.school-news-section,
.career-promise-section,
.employers-section,
.prof-test-entry-section,
.prof-test-section,
.career-section {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 229, 160, 0.048), transparent 34rem),
    radial-gradient(circle at 86% 12%, rgba(0, 191, 255, 0.026), transparent 30rem),
    linear-gradient(180deg, rgba(10, 10, 19, 0.96), rgba(12, 12, 22, 0.96));
}

#fit,
#curriculum,
#pricing,
#faq {
  background:
    radial-gradient(circle at 82% 10%, rgba(0, 191, 255, 0.032), transparent 32rem),
    radial-gradient(circle at 12% 6%, rgba(0, 229, 160, 0.026), transparent 30rem),
    linear-gradient(180deg, rgba(8, 8, 16, 0.97), rgba(11, 11, 21, 0.96));
}

.lead-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  align-items: center;
  gap: 48px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: start;
}

.home-lead-wrap {
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  align-items: stretch;
}

.home-lead-copy {
  align-self: center;
}

.home-lead-copy .section-sub {
  margin-bottom: 24px;
}

.home-lead-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}

.home-lead-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 229, 160, 0.14);
  border-radius: 100px;
  color: rgba(240, 239, 232, 0.78);
  background: rgba(0, 229, 160, 0.055);
  font-size: 12px;
  font-weight: 800;
}

.home-lead-form {
  position: relative;
  grid-template-columns: 1fr;
  gap: 16px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 229, 160, 0.08), transparent 28rem),
    linear-gradient(145deg, rgba(20, 20, 31, 0.96), rgba(12, 12, 24, 0.94));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.22);
}

.home-lead-form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.home-lead-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding-bottom: 2px;
}

.home-lead-form-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.home-lead-form-head strong {
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
}

.home-lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-field {
  display: grid;
  gap: 8px;
}

.lead-field span {
  color: rgba(240, 239, 232, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.lead-field input {
  min-height: 58px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.052);
}

.home-legal-check {
  width: 100%;
  margin-top: 0;
  padding: 14px 15px;
  border-color: rgba(0, 229, 160, 0.12);
  border-radius: 12px;
  background: rgba(0, 229, 160, 0.045);
  font-size: 12px;
}

.home-lead-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 2px;
}

.home-lead-actions .btn-primary {
  width: 100%;
  min-height: 56px;
  white-space: nowrap;
}

input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 1px;
  padding: 0;
  border: 1px solid rgba(0, 229, 160, 0.35);
  border-radius: 5px;
  background: rgba(0, 229, 160, 0.06);
  cursor: pointer;
}

input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input::placeholder {
  color: #666688;
}

input:focus {
  border-color: rgba(0, 229, 160, 0.45);
}

input[aria-invalid="true"] {
  border-color: var(--danger);
}

input[type="hidden"] {
  display: none;
}

.legal-check {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin-top: -2px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: rgba(136, 136, 170, 0.92);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.legal-check a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 160, 0.45);
}

.legal-check input[aria-invalid="true"] {
  outline: 2px solid rgba(255, 101, 119, 0.45);
  outline-offset: 2px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.form-status[data-type="success"] {
  color: var(--accent);
}

.form-status[data-type="warning"] {
  color: #ffaa00;
}

.form-status[data-type="error"] {
  color: var(--danger);
}

.form-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.form-note a,
.cta-note a {
  color: rgba(0, 229, 160, 0.86);
  border-bottom: 1px solid rgba(0, 229, 160, 0.32);
}

.courses-page .courses-hero {
  min-height: 98vh;
}

.course-selector-card .price-main {
  font-size: 34px;
}

.course-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.course-choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 229, 160, 0.075), transparent 34%),
    linear-gradient(145deg, rgba(20, 20, 31, 0.96), rgba(12, 12, 24, 0.94));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.course-hot-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 10px;
  border: 1px solid rgba(255, 200, 87, 0.28);
  border-radius: 100px;
  color: #ffc857;
  background: rgba(255, 200, 87, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.course-hot-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.course-choice-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.course-choice-card:hover {
  border-color: rgba(0, 229, 160, 0.28);
  box-shadow: 0 34px 110px rgba(0, 229, 160, 0.06);
  transform: translateY(-4px);
}

.featured-choice {
  background:
    radial-gradient(circle at 84% 0%, rgba(0, 191, 255, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(19, 25, 34, 0.98), rgba(10, 30, 26, 0.84));
}

.course-topline {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.course-choice-card h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
}

.course-choice-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.course-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.course-meta span {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 10px;
  color: rgba(240, 239, 232, 0.86);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 700;
}

.course-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 28px;
}

.course-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(0, 229, 160, 0.14);
  border-radius: 100px;
  color: rgba(240, 239, 232, 0.78);
  background: rgba(0, 229, 160, 0.06);
  font-size: 12px;
  font-weight: 700;
}

.course-choice-card .btn-primary {
  width: fit-content;
}

.scalable-course-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.scalable-course-grid .course-choice-card {
  min-height: 330px;
}

.career-promise-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 229, 160, 0.09), transparent 30rem),
    radial-gradient(circle at 92% 84%, rgba(255, 200, 87, 0.065), transparent 26rem),
    linear-gradient(145deg, rgba(10, 13, 22, 0.99), rgba(13, 17, 27, 0.98));
}

.career-promise-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}

.career-promise-head > div {
  max-width: 820px;
}

.career-promise-head h2 span {
  display: block;
  color: var(--accent);
}

.career-promise-head .section-sub {
  margin-bottom: 0;
}

.career-promise-head .btn-primary {
  white-space: nowrap;
}

.career-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
}

.career-journey-item {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.career-journey-item:last-child {
  border-right: 0;
}

.career-journey-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
}

.career-journey-item:nth-child(2)::before {
  background: var(--accent2);
}

.career-journey-income::before {
  background: #ffc857;
}

.career-stage {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.career-journey-item:nth-child(2) .career-stage {
  color: var(--accent2);
}

.career-journey-income .career-stage {
  color: #ffc857;
}

.career-journey-item h3 {
  min-height: 2.5em;
  margin-bottom: 16px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.22;
}

.career-journey-income h3 span {
  display: block;
  color: #ffc857;
  font-size: 1.18em;
}

.career-journey-item p {
  min-height: 6.3em;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.career-outcome {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(240, 239, 232, 0.88);
  font-size: 12px;
  line-height: 1.4;
}

.career-outcome::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 229, 160, 0.09);
}

.career-journey-item:nth-child(2) .career-outcome::before {
  background: var(--accent2);
  box-shadow: 0 0 0 5px rgba(0, 191, 255, 0.09);
}

.career-journey-income .career-outcome::before {
  background: #ffc857;
  box-shadow: 0 0 0 5px rgba(255, 200, 87, 0.09);
}

.career-market-note {
  max-width: 920px;
  margin-top: 18px;
  color: rgba(136, 136, 170, 0.82);
  font-size: 11px;
  line-height: 1.55;
}

.career-market-note a {
  color: rgba(240, 239, 232, 0.76);
  border-bottom: 1px solid rgba(240, 239, 232, 0.22);
}

.employers-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(34px, 6vw, 76px);
  margin-top: 54px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.employers-showcase-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
}

.employers-showcase-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.employers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.employer-card {
  --employer-rgb: 0, 229, 160;
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  min-height: 154px;
  overflow: hidden;
  padding: 20px 42px 20px 20px;
  border: 1px solid rgba(var(--employer-rgb), 0.3);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(
    145deg,
    rgba(var(--employer-rgb), 0.2) 0%,
    rgba(var(--employer-rgb), 0.075) 44%,
    rgba(9, 10, 22, 0.9) 100%
  );
  box-shadow: inset 0 1px 0 rgba(var(--employer-rgb), 0.14);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.employer-card--sberbank {
  --employer-rgb: 33, 160, 56;
}

.employer-card--ozon {
  --employer-rgb: 0, 91, 255;
}

.employer-card--tbank {
  --employer-rgb: 255, 221, 45;
}

.employer-card--wildberries {
  --employer-rgb: 203, 17, 171;
}

.employer-card--yandex {
  --employer-rgb: 252, 63, 29;
}

.employer-card--vk {
  --employer-rgb: 0, 119, 255;
}

.employer-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: rgb(var(--employer-rgb));
}

.employer-card:hover,
.employer-card:focus-visible {
  border-color: rgba(var(--employer-rgb), 0.58);
  background: linear-gradient(
    145deg,
    rgba(var(--employer-rgb), 0.27) 0%,
    rgba(var(--employer-rgb), 0.1) 48%,
    rgba(9, 10, 22, 0.86) 100%
  );
  box-shadow: inset 0 1px 0 rgba(var(--employer-rgb), 0.22), 0 12px 28px rgba(var(--employer-rgb), 0.12);
  transform: translateY(-2px);
}

.employer-sector {
  color: rgb(var(--employer-rgb));
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.employer-card strong {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.2;
}

.employer-card small {
  color: rgba(240, 239, 232, 0.68);
  font-size: 11px;
  line-height: 1.45;
}

.employer-arrow {
  position: absolute;
  top: 17px;
  right: 17px;
  color: rgba(var(--employer-rgb), 0.82);
  font-size: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.employer-card:hover .employer-arrow,
.employer-card:focus-visible .employer-arrow {
  color: rgb(var(--employer-rgb));
  transform: translate(2px, -2px);
}

.employers-section .section-sub {
  max-width: 820px;
}

.course-employers-grid {
  margin-top: 34px;
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head-row .section-sub {
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font-family: "Unbounded", sans-serif;
  font-size: 28px;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s, background 0.2s, opacity 0.2s;
}

.carousel-button:hover {
  border-color: rgba(0, 229, 160, 0.32);
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
}

.carousel-button:disabled {
  opacity: 0.38;
  cursor: default;
}

.news-carousel {
  position: relative;
}

.news-carousel-viewport {
  overflow: hidden;
}

.news-carousel-track {
  display: flex;
  gap: 16px;
  touch-action: pan-y;
  transition: transform 0.32s ease;
  will-change: transform;
}

.news-carousel-card {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(0, 229, 160, 0.075), transparent 42%),
    linear-gradient(145deg, rgba(20, 20, 31, 0.96), rgba(12, 12, 24, 0.94));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.18);
}

.news-carousel-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.news-carousel-card img {
  display: block;
  width: 100%;
  height: 158px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.news-carousel-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.news-carousel-card time {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 10px;
  border: 1px solid rgba(0, 229, 160, 0.16);
  border-radius: 100px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.07);
  font-size: 12px;
  font-weight: 800;
}

.news-carousel-card h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 16px;
  line-height: 1.32;
}

.news-carousel-card p {
  color: rgba(240, 239, 232, 0.86);
  font-size: 14px;
  line-height: 1.65;
}

.prof-test-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 200, 87, 0.095), transparent 26rem),
    radial-gradient(circle at 78% 12%, rgba(0, 229, 160, 0.105), transparent 28rem),
    linear-gradient(145deg, rgba(20, 20, 31, 0.96), rgba(11, 12, 22, 0.96));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.prof-test-entry::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffc857, var(--accent), var(--accent2));
}

.prof-test-entry:hover {
  border-color: rgba(0, 229, 160, 0.28);
  box-shadow: 0 34px 120px rgba(0, 229, 160, 0.08);
  transform: translateY(-3px);
}

.prof-test-entry .section-sub {
  max-width: 720px;
  margin-bottom: 22px;
}

.prof-test-entry-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prof-test-entry-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: rgba(240, 239, 232, 0.84);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.prof-test-entry-card {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.prof-test-entry-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 200, 87, 0.26);
  border-radius: 16px;
  color: #ffc857;
  background: rgba(255, 200, 87, 0.08);
}

.prof-test-entry-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.prof-test-entry-card strong {
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: 17px;
  line-height: 1.35;
}

.prof-test-entry-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.prof-test-entry-card .btn-primary {
  width: fit-content;
  margin-top: 6px;
}

.prof-test-hero-content {
  grid-template-columns: minmax(0, 1fr) 400px;
}

.prof-test-section {
  padding-top: 86px;
}

.prof-test-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 229, 160, 0.075), transparent 30rem),
    linear-gradient(145deg, rgba(20, 20, 31, 0.96), rgba(12, 12, 24, 0.94));
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.24);
}

.prof-test-progress {
  margin-bottom: 30px;
}

.prof-test-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.prof-test-progress strong {
  color: var(--accent);
}

.prof-test-progress-bar {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.prof-test-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.24s ease;
}

.prof-test-question h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.quiz-options {
  display: grid;
  gap: 12px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: rgba(240, 239, 232, 0.88);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.quiz-option:hover,
.quiz-option.selected {
  border-color: rgba(0, 229, 160, 0.34);
  color: var(--white);
  background: rgba(0, 229, 160, 0.08);
  transform: translateY(-1px);
}

.quiz-option span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.prof-test-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.prof-test-controls button:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

.prof-test-result {
  display: grid;
  gap: 18px;
}

.result-badge {
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(0, 229, 160, 0.22);
  border-radius: 100px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.prof-test-result h2 {
  max-width: 780px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.16;
}

.prof-test-result p {
  max-width: 760px;
  color: rgba(240, 239, 232, 0.86);
  font-size: 17px;
  line-height: 1.7;
}

.result-secondary {
  width: fit-content;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
}

.result-secondary strong {
  color: var(--white);
}

.consultation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 200, 87, 0.24);
  border-radius: 16px;
  background: rgba(255, 200, 87, 0.075);
}

.consultation-card span,
.consultation-card small {
  display: block;
  color: rgba(240, 239, 232, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.consultation-card strong {
  display: block;
  margin: 3px 0;
  color: #ffc857;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  user-select: text;
}

.result-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.course-format-tags {
  max-width: 780px;
  margin-top: -28px;
}

.news-board {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 22px;
}

.news-main-card,
.news-item,
.news-metric {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.18);
}

.news-main-card {
  display: flex;
  flex-direction: column;
  min-height: 482px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 0%, rgba(0, 229, 160, 0.1), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(0, 191, 255, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(20, 20, 31, 0.96), rgba(11, 31, 27, 0.82));
}

.news-main-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.news-live-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 14px;
  color: rgba(240, 239, 232, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.news-live-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 229, 160, 0.08);
}

.news-live-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(0, 229, 160, 0.32);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.news-status {
  width: fit-content;
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 229, 160, 0.28);
  border-radius: 100px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.news-main-card h3 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.news-main-card p {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  color: rgba(240, 239, 232, 0.82);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
}

.news-main-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(0, 229, 160, 0.32);
  border-radius: 10px;
  color: var(--black);
  background: var(--accent);
  font-size: 14px;
  font-weight: 800;
  transition: opacity 0.2s, transform 0.15s;
}

.news-ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 800;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}

.news-link:hover,
.news-ghost-link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.news-ghost-link:hover {
  border-color: rgba(0, 229, 160, 0.26);
  background: rgba(0, 229, 160, 0.07);
}

.news-side {
  display: grid;
  gap: 12px;
}

.news-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-metric {
  min-height: 112px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
    rgba(20, 20, 31, 0.88);
}

.news-metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(22px, 2.6vw, 31px);
  line-height: 1;
}

.news-metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.news-feed {
  display: grid;
  gap: 12px;
}

.news-item {
  min-height: 132px;
  padding: 22px 24px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(0, 229, 160, 0.055), transparent 48%),
    rgba(20, 20, 31, 0.92);
  transition: border-color 0.25s, transform 0.25s;
}

.news-item:hover {
  border-color: rgba(0, 229, 160, 0.24);
  transform: translateY(-2px);
}

.news-item time {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.news-item h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.25;
}

.news-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.news-page .news-hero {
  min-height: 92vh;
}

.news-hero-content {
  grid-template-columns: minmax(0, 1fr) 440px;
}

.news-now-card {
  min-height: 430px;
}

.news-now-title {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.22;
}

.news-now-copy {
  max-width: 34rem;
  color: rgba(240, 239, 232, 0.74);
  font-size: 15px;
  line-height: 1.62;
}

.news-now-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.news-now-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 14px;
  line-height: 1.55;
}

.news-now-list span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.09);
  font-size: 11px;
  font-weight: 900;
}

.newsroom-section,
.news-lab-section {
  background:
    radial-gradient(circle at 82% 10%, rgba(0, 191, 255, 0.04), transparent 32rem),
    radial-gradient(circle at 12% 6%, rgba(0, 229, 160, 0.04), transparent 30rem),
    linear-gradient(180deg, rgba(8, 8, 16, 0.97), rgba(11, 11, 21, 0.96));
}

.newsroom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.newsroom-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 229, 160, 0.06), transparent 42%),
    rgba(20, 20, 31, 0.92);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.18);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.newsroom-card:hover {
  border-color: rgba(0, 229, 160, 0.25);
  box-shadow: 0 28px 100px rgba(0, 229, 160, 0.055);
  transform: translateY(-3px);
}

.newsroom-featured {
  grid-column: span 2;
  min-height: 380px;
  padding: clamp(26px, 3vw, 38px);
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 191, 255, 0.12), transparent 34%),
    radial-gradient(circle at 8% 0%, rgba(0, 229, 160, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(20, 20, 31, 0.98), rgba(8, 33, 28, 0.82));
}

.newsroom-featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.newsroom-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.newsroom-card-top time,
.newsroom-card-top span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.newsroom-card-top time {
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.18);
}

.newsroom-card-top span {
  color: rgba(240, 239, 232, 0.72);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.newsroom-card h3 {
  margin-bottom: 12px;
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.16;
}

.newsroom-featured h3 {
  max-width: 680px;
  font-size: clamp(28px, 3.4vw, 46px);
}

.newsroom-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.newsroom-featured p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
}

.newsroom-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 10px;
  color: var(--black);
  background: var(--accent);
  font-size: 14px;
  font-weight: 800;
  transition: opacity 0.2s, transform 0.15s;
}

.newsroom-card a:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.news-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(0, 229, 160, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 191, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(20, 20, 31, 0.96), rgba(10, 29, 25, 0.72));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
}

.news-lab-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.news-lab-board {
  display: grid;
  gap: 12px;
}

.lab-ticket {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.lab-ticket.active {
  border-color: rgba(0, 229, 160, 0.22);
  background: rgba(0, 229, 160, 0.07);
}

.lab-ticket span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 10px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.09);
  font-size: 12px;
  font-weight: 900;
}

.lab-ticket strong {
  color: var(--white);
  font-size: 14px;
  line-height: 1.35;
}

.lab-ticket small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.why-grid,
.career-grid,
.career-market-grid,
.curriculum-wrap,
.format-grid,
.pricing-grid,
.testimonials-grid {
  display: grid;
  gap: 20px;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.compact-grid .why-card {
  min-height: 210px;
}

.why-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px;
  border-radius: 16px;
  transition: border-color 0.25s, transform 0.25s;
}

.why-card:hover {
  border-color: rgba(0, 229, 160, 0.25);
  transform: translateY(-4px);
}

.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 229, 160, 0.04), transparent 60%);
  pointer-events: none;
}

.why-num {
  margin-bottom: 12px;
  color: rgba(0, 229, 160, 0.15);
  font-family: "Unbounded", sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.why-title {
  margin-bottom: 10px;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.why-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.career-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.career-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 229, 160, 0.07), transparent 38%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.14);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.career-card:hover {
  border-color: rgba(0, 229, 160, 0.26);
  box-shadow: 0 28px 90px rgba(0, 229, 160, 0.055);
  transform: translateY(-3px);
}

.career-check {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--black);
  background: var(--accent);
  font-size: 16px;
  font-weight: 900;
}

.career-card h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 19px;
  line-height: 1.25;
}

.career-card p {
  color: rgba(180, 180, 214, 0.94);
  font-size: 14px;
  line-height: 1.58;
}

.career-salary {
  width: fit-content;
  margin-top: auto;
  padding: 9px 11px;
  border: 1px solid rgba(255, 200, 87, 0.22);
  border-radius: 12px;
  color: #ffc857;
  background: rgba(255, 200, 87, 0.075);
  font-size: 13px;
  font-weight: 800;
}

.career-market-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  margin-top: 22px;
}

.compact-career-market {
  grid-template-columns: minmax(0, 1fr);
}

.career-market-card {
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 0%, rgba(0, 191, 255, 0.055), transparent 36%),
    var(--card);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.16);
}

.career-market-card h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.18;
}

.career-market-card p {
  color: rgba(180, 180, 214, 0.94);
  font-size: 15px;
  line-height: 1.66;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.career-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(0, 229, 160, 0.14);
  border-radius: 100px;
  color: rgba(240, 239, 232, 0.8);
  background: rgba(0, 229, 160, 0.055);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.table-wrap {
  overflow-x: auto;
}

.vs-table {
  width: 100%;
  min-width: 720px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-spacing: 0;
}

.vs-table th,
.vs-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.vs-table th {
  background: var(--card);
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.vs-table th:first-child,
.vs-table td:first-child {
  text-align: left;
}

.vs-table td:first-child {
  color: var(--white);
  font-weight: 500;
}

.vs-table tr:last-child td {
  border-bottom: 0;
}

.vs-table .ours {
  color: var(--accent);
  background: rgba(0, 229, 160, 0.04);
}

.curriculum-wrap {
  grid-template-columns: 1fr 1fr;
}

.month-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 229, 160, 0.055), transparent 36%),
    var(--card);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.month-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(0, 229, 160, 0.08);
  border-radius: 26px;
  transform: rotate(10deg);
  pointer-events: none;
}

.month-card:hover {
  border-color: rgba(0, 229, 160, 0.24);
  box-shadow: 0 24px 90px rgba(0, 229, 160, 0.055);
  transform: translateY(-3px);
}

.month-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.month-badge {
  flex-shrink: 0;
  padding: 4px 12px;
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 100px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.1);
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.month-title {
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.month-topics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px;
}

.topic {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.topic::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.format-grid {
  grid-template-columns: repeat(4, 1fr);
}

.course-progress-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 34px;
}

.course-progress-copy h2 {
  max-width: 820px;
  margin-bottom: 16px;
}

.course-progress-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.course-progress-outcome {
  padding: 4px 0 5px 22px;
  border-left: 2px solid var(--accent);
}

.course-progress-outcome span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.course-progress-outcome strong {
  display: block;
  color: rgba(240, 239, 232, 0.9);
  font-size: 15px;
  line-height: 1.55;
}

.course-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.course-progress-card {
  --progress-rgb: 0, 229, 160;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(var(--progress-rgb), 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--progress-rgb), 0.11), transparent 42%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.14);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.course-progress-card:nth-child(2),
.course-progress-card:nth-child(4) {
  --progress-rgb: 0, 191, 255;
}

.course-progress-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: rgb(var(--progress-rgb));
}

.course-progress-card:hover {
  border-color: rgba(var(--progress-rgb), 0.36);
  box-shadow: 0 28px 90px rgba(var(--progress-rgb), 0.065);
  transform: translateY(-3px);
}

.course-progress-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.course-progress-number {
  color: rgba(var(--progress-rgb), 0.42);
  font-family: "Unbounded", sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.course-progress-label {
  color: rgb(var(--progress-rgb));
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-align: right;
  text-transform: uppercase;
}

.course-progress-card h3 {
  max-width: 520px;
  margin-bottom: 11px;
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: 17px;
  line-height: 1.35;
}

.course-progress-card p {
  max-width: 590px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.course-progress-result {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
  color: rgba(240, 239, 232, 0.82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.course-progress-result span {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #06110e;
  background: rgb(var(--progress-rgb));
  font-size: 12px;
}

.format-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.format-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 160, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.format-card:hover {
  border-color: rgba(0, 229, 160, 0.24);
  box-shadow: 0 22px 80px rgba(0, 229, 160, 0.045);
  transform: translateY(-3px);
}

.format-card:hover::after {
  opacity: 1;
}

.format-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border: 1px solid rgba(0, 229, 160, 0.18);
  border-radius: 16px;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
}

.format-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.format-title {
  margin-bottom: 8px;
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.format-desc {
  color: var(--muted);
  font-size: 13px;
}

.portfolio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(0, 229, 160, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 191, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(20, 20, 31, 0.96), rgba(10, 29, 25, 0.72));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.22);
}

.mini-label {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.portfolio-copy h3 {
  max-width: 650px;
  margin-bottom: 12px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(20px, 2.6vw, 31px);
  line-height: 1.15;
}

.portfolio-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.terminal-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(4, 8, 14, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: "Golos Text", monospace;
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.terminal-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6577;
}

.terminal-bar span:nth-child(2) {
  background: #ffb84d;
}

.terminal-bar span:nth-child(3) {
  background: var(--accent);
}

.terminal-line {
  padding: 8px 18px;
  color: rgba(240, 239, 232, 0.82);
  font-size: 13px;
}

.terminal-line:first-of-type {
  padding-top: 16px;
}

.terminal-line:last-child {
  padding-bottom: 16px;
}

.terminal-line span,
.terminal-line.ok {
  color: var(--accent);
}

.terminal-line.muted {
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: 1fr 1fr;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 20px;
  transition: transform 0.25s;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: rgba(0, 229, 160, 0.3);
  background: linear-gradient(145deg, #141428, #0f1f1a);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 12px;
  border-radius: 100px;
  color: var(--black);
  background: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.plan-name {
  margin-bottom: 12px;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.plan-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  margin-bottom: 12px;
}

.plan-discount {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 200, 87, 0.28);
  border-radius: 100px;
  color: #ffc857;
  background: rgba(255, 200, 87, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.plan-previous-price {
  color: rgba(180, 180, 214, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-decoration-color: rgba(255, 101, 119, 0.75);
  text-decoration-thickness: 2px;
}

.plan-previous {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.plan-previous s {
  color: rgba(240, 239, 232, 0.78);
  text-decoration-color: rgba(151, 153, 171, 0.86);
  text-decoration-thickness: 2px;
}

.plan-previous span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid rgba(0, 191, 255, 0.32);
  border-radius: 100px;
  color: #66d9ff;
  background: rgba(0, 191, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 900;
}

.plan-price {
  margin-bottom: 8px;
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.plan-price span {
  font-size: 22px;
}

.plan-price small {
  margin-left: 8px;
  color: var(--muted);
  font-family: "Golos Text", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.plan-duration {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 229, 160, 0.14);
  border-radius: 10px;
  color: rgba(240, 239, 232, 0.78);
  background: rgba(0, 229, 160, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.plan-note {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.plan-features {
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.ok {
  color: var(--accent);
}

.no {
  color: #ff6577;
}

.muted-feat {
  color: #62627a;
}

.btn-plan {
  width: 100%;
}

.referral-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(0, 229, 160, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 191, 255, 0.12), transparent 30%),
    radial-gradient(circle at 8% 10%, rgba(0, 229, 160, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(20, 20, 31, 0.96), rgba(10, 28, 25, 0.74));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
  text-align: left;
}

.referral-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.026) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.44;
  pointer-events: none;
}

.referral-card > * {
  position: relative;
  z-index: 1;
}

.referral-copy p {
  max-width: 480px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.referral-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.referral-step {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.referral-step span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.referral-step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.referral-step p,
.referral-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.referral-note {
  grid-column: 1 / -1;
  margin-top: -10px;
}

.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  padding: 24px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(0, 229, 160, 0.05), transparent 58%),
    var(--card);
}

.stars {
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 700;
}

.testimonial-text {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--black);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-size: 13px;
  font-weight: 800;
}

.author-name {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.author-role {
  color: var(--muted);
  font-size: 12px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.home-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
}

.home-faq-copy {
  position: sticky;
  top: 112px;
}

.home-faq-copy .section-sub {
  margin-bottom: 0;
}

.home-faq-section .faq-list {
  max-width: none;
}

.home-faq-chat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-faq-chat > div {
  display: grid;
  gap: 4px;
}

.home-faq-chat strong {
  color: var(--white);
  font-size: 14px;
}

.home-faq-chat span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.home-faq-chat .btn-secondary {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 18px;
  font-size: 13px;
}

.faq-item {
  overflow: hidden;
  border-radius: 16px;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-family: "Unbounded", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.faq-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.3s, background 0.2s;
}

.faq-item.open .faq-arrow {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--muted);
  font-size: 14px;
  transition: max-height 0.35s ease, padding 0.35s;
}

.faq-item.open .faq-a {
  max-height: 220px;
  padding: 0 24px 22px;
}

.cta-final {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 12, 22, 0.98), rgba(15, 15, 26, 1)),
    var(--dark);
  text-align: center;
}

.cta-final::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.1), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-box {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.cta-box .badge {
  margin-inline: auto;
}

.cta-box p {
  max-width: 580px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 18px;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: start;
  max-width: 760px;
  margin: 0 auto 16px;
}

.cta-note {
  color: var(--muted);
  font-size: 13px;
}

footer {
  padding: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: var(--black);
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-logo::before {
  content: "";
  display: block;
  width: 38px;
  height: 38px;
  background: url("/logos/stackup-logo-mark-light.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 18px rgba(0, 191, 255, 0.16));
}

footer > p {
  display: inline;
  margin: 0;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  color: rgba(180, 180, 214, 0.86);
}

.footer-contact span {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

.footer-contact strong {
  color: rgba(240, 239, 232, 0.92);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  user-select: text;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 229, 160, 0.08), transparent 34rem),
    radial-gradient(circle at 82% 22%, rgba(0, 191, 255, 0.055), transparent 30rem),
    var(--black);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 40px 64px;
}

.legal-hero .hero-grid {
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 160, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.42;
  -webkit-mask-image: none;
  mask-image: none;
}

.legal-hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.legal-hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 64px);
}

.legal-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.legal-links a:hover,
.legal-links a[aria-current="page"] {
  border-color: rgba(0, 229, 160, 0.35);
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
}

.legal-document {
  padding-top: 28px;
}

.legal-content {
  max-width: 960px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(0, 229, 160, 0.04), transparent 42%),
    rgba(20, 20, 31, 0.92);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

.legal-content h2 {
  margin: 34px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--white);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
}

.legal-content h2:first-of-type {
  margin-top: 26px;
}

.legal-content p {
  margin: 0 0 14px;
  color: rgba(180, 180, 214, 0.96);
  font-size: 15px;
  line-height: 1.78;
}

.legal-content a {
  color: rgba(0, 229, 160, 0.82);
  border-bottom: 1px solid rgba(0, 229, 160, 0.24);
}

.legal-content strong {
  color: var(--white);
}

.legal-content .legal-contact,
.legal-contact-block {
  color: rgba(136, 136, 170, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.legal-content .legal-contact {
  max-width: 760px;
}

.legal-contact-block {
  margin-top: 4px;
}

.legal-contact-block p {
  margin-bottom: 6px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.legal-content .legal-contact strong {
  color: rgba(180, 180, 214, 0.86);
  font-weight: 600;
}

.legal-warning {
  position: relative;
  padding: 18px 20px 18px 52px;
  border: 1px solid rgba(0, 229, 160, 0.22);
  border-radius: 16px;
  background: rgba(0, 229, 160, 0.07);
  color: var(--white) !important;
}

.legal-warning::before {
  content: "!";
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--black);
  background: var(--accent);
  font-weight: 900;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left > *,
.hero-card {
  animation: fadeUp 0.7s ease both;
}

.hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.hero-left > *:nth-child(2) { animation-delay: 0.2s; }
.hero-left > *:nth-child(3) { animation-delay: 0.3s; }
.hero-left > *:nth-child(4) { animation-delay: 0.4s; }
.hero-left > *:nth-child(5) { animation-delay: 0.5s; }
.hero-card { animation-delay: 0.35s; }

@media (max-width: 980px) {
  .hero::before {
    top: 74px;
    right: 0;
    left: 0;
    width: 100%;
    background-position: right top;
    background-size: 1180px auto;
    opacity: 0.64;
    transform: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  }

  .hero-content,
  .news-hero-content,
  .lead-wrap,
  .home-lead-wrap,
  .curriculum-wrap,
  .career-market-grid,
  .course-choice-grid,
  .prof-test-entry,
  .prof-test-hero-content,
  .consultation-card,
  .news-board,
  .news-lab,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 48px;
  }

  .home-faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .career-promise-head,
  .career-journey,
  .employers-showcase {
    grid-template-columns: 1fr;
  }

  .career-promise-head {
    align-items: start;
  }

  .career-promise-head .btn-primary {
    width: fit-content;
  }

  .career-journey-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .career-journey-item:last-child {
    border-bottom: 0;
  }

  .career-journey-item h3,
  .career-journey-item p {
    min-height: 0;
  }

  .employers-showcase {
    gap: 30px;
  }

  .home-faq-copy {
    position: static;
  }

  .portfolio-showcase {
    grid-template-columns: 1fr;
  }

  .course-choice-card {
    min-height: auto;
  }

  .news-main-card {
    min-height: auto;
  }

  .news-now-card {
    max-width: 560px;
    min-height: auto;
  }

  .news-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .newsroom-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-carousel-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .newsroom-featured {
    grid-column: 1 / -1;
  }

  .referral-card,
  .referral-steps {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

  .prof-test-entry-card {
    max-width: 460px;
  }

  .why-grid,
  .career-grid,
  .format-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-progress-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .lead-form,
  .cta-form {
    grid-template-columns: 1fr;
  }

  .home-lead-form {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .nav {
    gap: 8px;
    padding: 12px 14px;
  }

  .logo {
    grid-template-columns: 34px max-content;
    column-gap: 8px;
  }

  .logo::before {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 6px;
    margin-left: auto;
  }

  .nav-phone {
    padding: 6px 8px;
    font-size: 11px;
  }

  .nav-phone small {
    display: none;
  }

  .nav-cta {
    min-width: 112px;
    min-height: 44px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .nav-cta small {
    font-size: 9px;
  }

  .hero {
    padding: 110px 20px 60px;
  }

  .hero::before {
    top: 96px;
    background-position: 61% 24px;
    background-size: 880px auto;
    opacity: 0.48;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(8, 8, 16, 0.84) 0%, rgba(8, 8, 16, 0.78) 38%, rgba(8, 8, 16, 0.97) 80%),
      radial-gradient(circle at 52% 14%, rgba(0, 229, 160, 0.13), transparent 24rem);
  }

  .hero-grid {
    opacity: 0.32;
  }

  .hero-stats {
    gap: 18px;
    flex-wrap: wrap;
  }

  .courses-page .hero-content {
    gap: 32px;
  }

  .courses-page .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .courses-page .hero-stats .stat-item {
    min-width: 0;
  }

  .stat-item {
    min-width: 84px;
  }

  .btn-primary,
  .btn-secondary,
  .course-choice-card .btn-primary,
  .news-link,
  .news-ghost-link {
    width: 100%;
  }

  .news-link,
  .news-ghost-link {
    justify-content: center;
  }

  .courses-page .hero-btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .courses-page .hero-btns .btn-primary,
  .courses-page .hero-btns .btn-secondary {
    width: auto;
    min-height: 52px;
    padding-inline: 10px;
    font-size: 13px;
    text-align: center;
  }

  .courses-page .hero-chat-link {
    max-width: calc(100% - 88px);
    margin-top: 14px;
    font-size: 12px;
  }

  .courses-page .hero .tech-stack {
    display: none;
  }

  .news-metrics {
    grid-template-columns: 1fr;
  }

  .news-item {
    padding: 20px;
  }

  .newsroom-grid {
    grid-template-columns: 1fr;
  }

  .newsroom-featured {
    min-height: auto;
  }

  .newsroom-card a {
    width: 100%;
  }

  .news-lab {
    padding: 22px;
    border-radius: 18px;
  }

  .section-head-row {
    align-items: stretch;
    flex-direction: column;
  }

  .carousel-controls {
    justify-content: flex-end;
  }

  .news-carousel-card {
    flex-basis: 100%;
    min-height: 190px;
  }

  .home-lead-fields {
    grid-template-columns: 1fr;
  }

  .home-lead-form-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .prof-test-entry {
    gap: 22px;
  }

  .prof-test-entry-facts span {
    min-height: 30px;
    font-size: 11px;
  }

  .prof-test-shell {
    border-radius: 16px;
  }

  .quiz-option {
    align-items: flex-start;
    min-height: 64px;
    padding: 14px;
  }

  .prof-test-controls {
    flex-direction: column;
  }

  .prof-test-controls .btn-primary,
  .prof-test-controls .btn-secondary,
  .consultation-card .btn-secondary {
    width: 100%;
  }

  .lab-ticket {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lab-ticket span {
    width: fit-content;
    padding: 0 12px;
  }

  .tech-stack {
    margin-top: 18px;
  }

  .course-format-tags {
    margin-top: -18px;
  }

  .tech-stack span {
    font-size: 11px;
  }

  section {
    padding: 76px 20px;
  }

  main:not(.legal-page) > section + section {
    margin-top: -44px;
    padding-top: 92px;
  }

  .legal-hero {
    padding: 112px 20px 44px;
  }

  .legal-document {
    padding: 24px 20px 76px;
  }

  .legal-content {
    padding: 22px;
    border-radius: 18px;
  }

  .legal-content p {
    font-size: 14px;
  }

  .hero-card,
  .price-card {
    padding: 24px;
  }

  .home-faq-chat {
    align-items: stretch;
    flex-direction: column;
  }

  .home-faq-chat .btn-secondary {
    width: 100%;
  }

  .career-promise-head .btn-primary {
    width: 100%;
  }

  .employers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-card {
    min-height: 142px;
    padding: 18px 36px 18px 16px;
  }

  .price-main {
    font-size: 24px;
  }

  .why-grid,
  .career-grid,
  .format-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .course-progress-grid {
    grid-template-columns: 1fr;
  }

  .course-progress-card {
    min-height: auto;
  }

  .career-card {
    min-height: auto;
  }

  .portfolio-showcase {
    padding: 22px;
    border-radius: 18px;
  }

  .referral-card {
    padding: 22px;
    border-radius: 18px;
  }

  .referral-step {
    min-height: auto;
  }

  .terminal-line {
    font-size: 12px;
  }

  .why-card {
    min-height: auto;
  }

  .month-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .popular-badge {
    position: static;
    width: fit-content;
    margin-bottom: 14px;
  }

  .faq-q {
    gap: 16px;
    padding: 18px;
    font-size: 14px;
  }
}

.support-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10000;
  color: var(--text);
  font-family: var(--font-body);
}

.support-chat-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid rgba(0, 229, 160, 0.32);
  border-radius: 999px;
  padding: 0 18px;
  color: #03100d;
  background: var(--accent);
  box-shadow: 0 18px 44px rgba(0, 229, 160, 0.18);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-chat-button:hover,
.support-chat-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 54px rgba(0, 229, 160, 0.28);
}

.support-chat.is-attention .support-chat-button,
.support-chat.has-unread .support-chat-button {
  animation: supportChatAttention 1.35s ease-in-out 3;
}

.support-chat-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #03100d;
  box-shadow: 0 0 0 6px rgba(3, 16, 13, 0.12);
}

.support-chat-unread {
  position: absolute;
  top: -7px;
  right: -5px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  border: 2px solid #0a0a13;
  border-radius: 999px;
  color: #fff;
  background: #ff4d67;
  box-shadow: 0 0 0 4px rgba(255, 77, 103, 0.14);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.support-chat.has-unread .support-chat-unread {
  animation: supportChatUnreadPop 0.32s ease-out both;
}

.support-chat-unread[hidden] {
  display: none;
}

.support-chat-nudge {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(326px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(0, 229, 160, 0.24);
  border-radius: 16px;
  background: rgba(16, 18, 31, 0.98);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
  animation: supportChatNudgeIn 0.28s ease-out both;
  backdrop-filter: blur(16px);
}

.support-chat-nudge[hidden],
.support-chat.is-open .support-chat-nudge {
  display: none;
}

.support-chat-nudge-body {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 17px 42px 17px 18px;
  border: 0;
  color: var(--text);
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.support-chat-nudge-body span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.support-chat-nudge-body strong {
  color: var(--white);
  font-size: 14px;
  line-height: 1.35;
}

.support-chat-nudge-body small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.support-chat-nudge-close {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.support-chat-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  display: flex;
  flex-direction: column;
  width: min(430px, calc(100vw - 32px));
  height: min(680px, calc(100vh - 88px));
  height: min(680px, calc(100dvh - 88px));
  max-height: min(640px, calc(100vh - 112px));
  max-height: min(680px, calc(100dvh - 88px));
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(13, 15, 27, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
}

.support-chat-panel[hidden] {
  display: none;
}

.support-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.support-chat-header > div {
  min-width: 0;
}

.support-chat-header strong,
.support-chat-header span {
  display: block;
}

.support-chat-header strong {
  font-size: 16px;
}

.support-chat-header span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.support-chat-close {
  position: relative;
  flex: 0 0 34px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0;
  line-height: 0;
}

.support-chat-close::before,
.support-chat-close::after,
.support-chat-nudge-close::before,
.support-chat-nudge-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.support-chat-close::before,
.support-chat-nudge-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.support-chat-close::after,
.support-chat-nudge-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.support-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 16px;
  scroll-behavior: smooth;
  scrollbar-color: rgba(154, 166, 205, 0.5) transparent;
  scrollbar-width: thin;
}

.support-chat-message {
  position: relative;
  width: fit-content;
  max-width: min(86%, 330px);
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  overflow-wrap: anywhere;
  animation: supportChatMessageIn 0.18s ease-out both;
  transform-origin: left bottom;
}

.support-chat-message.is-own {
  margin-left: auto;
  padding-right: 28px;
  border-color: rgba(0, 229, 160, 0.24);
  border-radius: 16px 16px 4px 16px;
  background: rgba(0, 229, 160, 0.14);
  transform-origin: right bottom;
}

.support-chat-message.is-pending {
  opacity: 0.72;
}

.support-chat-message.is-system {
  margin-inline: auto;
  color: var(--muted);
  text-align: center;
}

.support-chat-message.is-sending-indicator {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  animation: supportChatMessageIn 0.18s ease-out both, supportChatPulse 1.2s ease-in-out infinite;
}

.support-chat-message span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.support-chat-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.support-chat-message-status {
  position: absolute;
  right: 8px;
  bottom: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(245, 247, 251, 0.58);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  pointer-events: none;
  transform: translateX(3px) translateY(-1px);
}

.support-chat-message-status.is-read {
  color: var(--accent);
}

.support-chat-message-status.is-pending-status {
  justify-content: flex-end;
}

.support-chat-message-status.is-pending-status i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(245, 247, 251, 0.2);
  border-top-color: rgba(245, 247, 251, 0.72);
  animation: supportChatSpin 0.72s linear infinite;
}

.support-chat-quick {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  padding: 0 16px 12px;
}

.support-chat-quick button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(0, 191, 255, 0.28);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(0, 191, 255, 0.08);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
}

.support-chat-quick button:disabled,
.support-chat-form button:disabled,
.support-chat-form input:disabled {
  cursor: wait;
  opacity: 0.7;
}

.support-chat-form {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.support-chat-form input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: none;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.support-chat-form button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  color: #03100d;
  background: var(--accent);
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
}

.support-chat-form button [data-send-label] {
  display: inline-flex;
  align-items: center;
  min-height: 1em;
  line-height: 1;
}

.support-chat-form button::before {
  content: "";
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 2px solid rgba(3, 16, 13, 0.26);
  border-top-color: #03100d;
  opacity: 0;
  transition: width 0.16s ease, height 0.16s ease, opacity 0.16s ease;
}

.support-chat-form.is-sending button::before {
  width: 14px;
  height: 14px;
  opacity: 1;
  animation: supportChatSpin 0.72s linear infinite;
}

.support-chat-form:not(.is-sending) button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 229, 160, 0.18);
}

.support-chat-messages::-webkit-scrollbar,
.support-chat-quick::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.support-chat-messages::-webkit-scrollbar-track,
.support-chat-quick::-webkit-scrollbar-track {
  background: transparent;
}

.support-chat-messages::-webkit-scrollbar-thumb,
.support-chat-quick::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(154, 166, 205, 0.42);
}

.support-chat-messages::-webkit-scrollbar-button,
.support-chat-quick::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

@media (max-width: 820px), (pointer: coarse) {
  .support-chat {
    right: 12px;
    bottom: 12px;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .support-chat.is-open {
    inset: 0;
    pointer-events: none;
  }

  .support-chat.is-open .support-chat-button {
    display: none;
  }

  .support-chat-nudge {
    right: 0;
    bottom: 62px;
    width: min(326px, calc(100vw - 24px));
  }

  .support-chat-panel {
    position: fixed;
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    inset: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)) 8px;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 18px;
    pointer-events: auto;
  }

  .support-chat-header {
    flex: 0 0 auto;
    padding: 12px 14px;
    background: rgba(13, 15, 27, 0.98);
  }

  .support-chat-close {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .support-chat-messages {
    padding: 14px;
  }

  .support-chat-message {
    max-width: 92%;
  }

  .support-chat-quick {
    padding-inline: 14px;
  }

  .support-chat-form {
    grid-template-columns: 1fr;
    padding: 12px 14px 14px;
  }

  .support-chat-form button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .support-chat-panel {
    inset-inline: 8px;
  }

  .support-chat-quick {
    grid-template-columns: 1fr;
  }
}

@keyframes supportChatMessageIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes supportChatNudgeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes supportChatAttention {
  0%,
  100% {
    box-shadow: 0 18px 44px rgba(0, 229, 160, 0.18);
  }

  50% {
    box-shadow: 0 18px 44px rgba(0, 229, 160, 0.24), 0 0 0 9px rgba(0, 229, 160, 0.11);
  }
}

@keyframes supportChatUnreadPop {
  from {
    opacity: 0;
    transform: scale(0.65);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes supportChatPulse {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}

@keyframes supportChatTypingDot {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes supportChatSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-chat-message,
  .support-chat-message.is-sending-indicator,
  .support-chat-message-status.is-pending-status i,
  .support-chat-form button::before,
  .support-chat.is-attention .support-chat-button,
  .support-chat.has-unread .support-chat-button,
  .support-chat.has-unread .support-chat-unread,
  .support-chat-nudge {
    animation: none;
  }

  .support-chat-messages {
    scroll-behavior: auto;
  }
}
