:root {
  --labs-bg: #070810;
  --labs-panel: rgba(18, 20, 31, 0.82);
  --labs-panel-strong: #12141f;
  --labs-line: rgba(240, 239, 232, 0.12);
  --labs-line-strong: rgba(240, 239, 232, 0.2);
  --labs-copy: rgba(240, 239, 232, 0.72);
  --labs-yellow: #ffc857;
}

body * {
  letter-spacing: 0;
}

body {
  background-color: var(--labs-bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 96px 96px;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 16, 0.15), rgba(7, 8, 16, 0.86));
  pointer-events: none;
}

.nav {
  min-height: 72px;
  padding: 12px 40px;
  border-bottom-color: var(--labs-line);
  background: rgba(7, 8, 16, 0.92);
  box-shadow: none;
}

.nav-links {
  gap: 20px;
}

.nav-links a,
.nav-menu-trigger {
  color: rgba(240, 239, 232, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-menu-trigger:hover,
.nav-menu-trigger:focus-visible {
  color: var(--accent);
}

.nav-cta,
.btn-primary,
.btn-secondary,
.btn-plan,
.cta-submit {
  border-radius: 6px;
}

.nav-cta {
  border: 1px solid rgba(0, 229, 160, 0.5);
  box-shadow: 0 12px 30px rgba(0, 229, 160, 0.12);
}

.container {
  width: min(1180px, calc(100% - 64px));
}

main > section:not(.hero) {
  position: relative;
  border-top: 1px solid var(--labs-line);
  background-color: rgba(7, 8, 16, 0.9);
  background-image: none;
}

main > section:not(.hero):nth-of-type(even) {
  background-color: rgba(12, 14, 23, 0.94);
}

main section:not(.hero) {
  padding-top: 104px;
  padding-bottom: 104px;
}

.section-tag,
.course-topline,
.mini-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.section-tag::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--accent);
  background: transparent;
}

h2 {
  max-width: 900px;
  font-size: 48px;
  line-height: 1.06;
}

.section-sub {
  max-width: 720px;
  color: var(--labs-copy);
  font-size: 16px;
  line-height: 1.68;
}

.labs-section-head,
.course-progress-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 40px;
}

.labs-section-head .section-sub,
.course-progress-copy p {
  margin-bottom: 0;
}

.labs-section-note,
.course-progress-outcome {
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
}

.labs-section-note span,
.course-progress-outcome span {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.labs-section-note strong,
.course-progress-outcome strong {
  display: block;
  color: rgba(240, 239, 232, 0.9);
  font-size: 15px;
  line-height: 1.55;
}

.hero {
  border-bottom: 1px solid var(--labs-line);
}

.hero h1 {
  font-size: 64px;
  line-height: 0.98;
}

.hero-sub {
  color: var(--labs-copy);
}

.hero-card,
.home-lead-form,
.consultation-card {
  border-radius: 8px;
  border-color: var(--labs-line-strong);
  background: rgba(18, 20, 31, 0.9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.hero-card::before,
.home-lead-form::before,
.price-card.featured::before {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--labs-yellow));
}

.badge,
.card-hotline,
.course-hot-badge,
.plan-discount,
.plan-duration,
.career-tags span,
.course-points span,
.tech-stack span {
  border-radius: 4px;
}

.news-carousel-section .section-head-row {
  align-items: end;
  margin-bottom: 40px;
}

.carousel-button {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border-color: var(--labs-line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.news-carousel-track {
  gap: 14px;
}

.news-carousel-card {
  min-height: 430px;
  border-radius: 8px;
  border-color: var(--labs-line);
  background: var(--labs-panel);
  box-shadow: none;
}

.news-carousel-card::before {
  height: 3px;
}

.news-carousel-media {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  border-bottom: 1px solid var(--labs-line);
}

.news-carousel-card img {
  height: 184px;
  border-bottom: 0;
  transition: transform 0.35s ease;
}

.news-carousel-card:hover img {
  transform: scale(1.025);
}

.news-carousel-index {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(7, 8, 16, 0.86);
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.news-carousel-body {
  padding: 22px;
}

.news-carousel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.news-carousel-card time {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 11px;
  text-transform: uppercase;
}

.news-carousel-meta > span {
  color: rgba(240, 239, 232, 0.38);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-carousel-card h3 {
  font-size: 19px;
  line-height: 1.3;
}

.news-carousel-card p {
  color: var(--labs-copy);
}

.course-choice-grid {
  gap: 14px;
}

.course-choice-card {
  --track-rgb: 0, 229, 160;
  min-height: 0;
  padding: 28px;
  border-radius: 8px;
  border-color: rgba(var(--track-rgb), 0.22);
  background:
    linear-gradient(145deg, rgba(var(--track-rgb), 0.095), transparent 46%),
    var(--labs-panel);
  box-shadow: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.course-choice-card.featured-choice {
  --track-rgb: 0, 191, 255;
}

.course-choice-card::before {
  height: 3px;
  background: rgb(var(--track-rgb));
}

.course-choice-card:hover {
  border-color: rgba(var(--track-rgb), 0.5);
  box-shadow: none;
  transform: translateY(-3px);
}

.course-choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.course-choice-index {
  color: rgba(var(--track-rgb), 0.45);
  font-family: "Unbounded", sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.course-choice-head .course-hot-badge {
  margin: 0;
}

.course-choice-card h3 {
  margin-bottom: 12px;
  font-size: 34px;
}

.course-choice-card > p {
  min-height: 54px;
  margin-bottom: 22px;
  color: var(--labs-copy);
  font-size: 15px;
}

.course-choice-outcome {
  min-height: 98px;
  margin-bottom: 20px;
  padding: 16px 0 16px 18px;
  border-top: 1px solid var(--labs-line);
  border-bottom: 1px solid var(--labs-line);
  border-left: 2px solid rgb(var(--track-rgb));
}

.course-choice-outcome span {
  display: block;
  margin-bottom: 7px;
  color: rgb(var(--track-rgb));
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.course-choice-outcome strong {
  display: block;
  max-width: 460px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.45;
}

.course-choice-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
  border: 1px solid var(--labs-line);
}

.course-choice-meta span {
  padding: 11px 13px;
  color: rgba(240, 239, 232, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.course-choice-meta span + span {
  border-left: 1px solid var(--labs-line);
}

.career-promise-head h2 {
  font-size: 40px;
  line-height: 1.08;
}

.career-promise-head h2 .career-heading-line {
  display: block;
  color: var(--white);
  white-space: nowrap;
}

.career-promise-head h2 .career-heading-accent {
  color: var(--accent);
}

.course-points {
  margin: 0 0 24px;
}

.course-points span {
  border-color: rgba(var(--track-rgb), 0.18);
  background: rgba(var(--track-rgb), 0.055);
}

.course-choice-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--labs-line);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.course-choice-link > span {
  color: rgb(var(--track-rgb));
  font-size: 20px;
}

.career-promise-head,
.employers-showcase {
  align-items: end;
}

.career-journey {
  border: 1px solid var(--labs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.career-journey-item {
  min-height: 278px;
  background: transparent;
}

.career-market-note {
  border-radius: 4px;
}

.employers-showcase {
  margin-top: 52px;
  padding-top: 52px;
}

.employer-card,
.why-card,
.career-card,
.month-card,
.course-progress-card,
.format-card,
.price-card,
.faq-item,
.testimonial-card,
.prof-test-shell,
.quiz-option,
.legal-content {
  border-radius: 8px;
}

.format-grid {
  counter-reset: labs-format;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.format-card {
  counter-increment: labs-format;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 8px 18px;
  min-height: 170px;
  padding: 24px;
  border-color: var(--labs-line);
  text-align: left;
  background: var(--labs-panel);
  box-shadow: none;
}

.format-card::before {
  content: counter(labs-format, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(240, 239, 232, 0.16);
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.format-card::after {
  right: 0;
  left: 0;
}

.format-icon {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 6px;
}

.format-title {
  max-width: 300px;
  margin: 0;
  padding-right: 36px;
  font-size: 15px;
}

.format-desc {
  color: var(--labs-copy);
  line-height: 1.55;
}

.why-grid,
.career-grid,
.curriculum-wrap,
.course-progress-grid,
.pricing-grid {
  gap: 14px;
}

.why-card,
.career-card,
.month-card,
.course-progress-card {
  border-color: var(--labs-line);
  background-color: var(--labs-panel);
  box-shadow: none;
}

.why-card {
  min-height: 245px;
  padding: 25px;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
}

.why-num {
  color: rgba(0, 229, 160, 0.35);
  font-size: 32px;
}

.career-card {
  min-height: 225px;
  border-radius: 8px;
}

.career-salary {
  width: fit-content;
  border-radius: 4px;
}

.career-market-card {
  border-radius: 8px;
  border-color: var(--labs-line);
  background: var(--labs-panel);
  box-shadow: none;
}

.month-card {
  border-radius: 8px;
}

.month-card::after {
  display: none;
}

.month-header {
  min-height: 78px;
  padding: 18px 22px;
}

.month-badge {
  border-radius: 4px;
}

.month-title {
  font-size: 15px;
}

.month-topics {
  padding: 18px 22px 22px;
}

.course-progress-card {
  border-radius: 8px;
}

.course-format-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: 64px;
}

.course-format-copy .section-sub {
  margin-bottom: 0;
}

.course-format-cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--labs-line);
  border-left: 1px solid var(--labs-line);
}

.course-format-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 16px;
  border-right: 1px solid var(--labs-line);
  border-bottom: 1px solid var(--labs-line);
  background: rgba(255, 255, 255, 0.025);
}

.course-format-step span {
  color: rgba(0, 229, 160, 0.42);
  font-family: "Unbounded", sans-serif;
  font-size: 19px;
  font-weight: 900;
}

.course-format-step strong {
  color: var(--white);
  font-size: 13px;
  line-height: 1.35;
}

.pricing-grid {
  max-width: none;
  margin: 0;
}

.price-card {
  min-height: 550px;
  padding: 30px;
  border-radius: 8px;
  border-color: var(--labs-line);
  background: var(--labs-panel);
}

.price-card.featured {
  border-color: rgba(0, 229, 160, 0.38);
  background:
    linear-gradient(145deg, rgba(0, 229, 160, 0.09), transparent 45%),
    var(--labs-panel-strong);
}

.popular-badge {
  top: 18px;
  right: 18px;
  border-radius: 4px;
}

.plan-price {
  font-size: 43px;
}

.btn-plan {
  min-height: 50px;
}

.course-faq-layout,
.home-faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: 72px;
}

.course-faq-copy,
.home-faq-copy {
  position: sticky;
  top: 108px;
}

.course-faq-copy .section-sub,
.home-faq-copy .section-sub {
  margin-bottom: 26px;
}

.course-faq-copy .btn-secondary {
  min-height: 48px;
}

.faq-list {
  max-width: none;
  gap: 8px;
}

.faq-item {
  border-color: var(--labs-line);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.faq-q {
  min-height: 76px;
  padding: 20px 22px;
}

.faq-arrow {
  border-radius: 4px;
}

.lead-wrap,
.home-lead-wrap {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 72px;
}

.labs-consultation-steps {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--labs-line);
}

.labs-consultation-steps > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 54px;
  border-bottom: 1px solid var(--labs-line);
}

.labs-consultation-steps span {
  color: rgba(0, 229, 160, 0.46);
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.labs-consultation-steps strong {
  color: rgba(240, 239, 232, 0.86);
  font-size: 13px;
  line-height: 1.4;
}

.home-lead-form {
  padding: 28px;
}

.lead-field input,
.cta-field input,
.support-chat-form input {
  border-radius: 6px;
}

.legal-check {
  border-radius: 6px;
}

footer {
  display: grid;
  grid-template-columns: 48px minmax(240px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 24px 34px;
  padding: 44px max(40px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--labs-line);
  background: #070810;
}

.footer-logo {
  grid-row: 1 / span 2;
}

footer > p {
  max-width: 420px;
  color: rgba(240, 239, 232, 0.52);
}

.footer-links {
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: rgba(240, 239, 232, 0.58);
  font-size: 12px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.support-chat-panel,
.support-chat-nudge {
  border-radius: 8px;
  border-color: var(--labs-line-strong);
  background: rgba(12, 14, 24, 0.98);
}

.support-chat-panel:not([hidden]) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.support-chat-messages {
  min-height: 0;
}

.support-chat-message,
.support-chat-quick button,
.support-chat-form button {
  border-radius: 6px;
}

.support-chat-header {
  border-bottom-color: var(--labs-line);
}

.support-chat-quick {
  gap: 7px;
}

.support-chat-quick button {
  min-height: 44px;
}

.support-chat-form {
  grid-template-columns: minmax(0, 1fr) minmax(124px, auto);
  align-items: stretch;
}

.support-chat-form input,
.support-chat-form button {
  height: 44px;
  min-height: 44px;
}

.support-chat-form button [data-send-label] {
  transform: translateY(-1px);
}

.legal-hero {
  border-bottom: 1px solid var(--labs-line);
}

.legal-hero h1 {
  max-width: 980px;
  font-size: 52px;
  line-height: 1.05;
}

.legal-content {
  max-width: 980px;
  padding: 34px;
  border: 1px solid var(--labs-line);
  background: var(--labs-panel);
}

.legal-content h2 {
  padding-top: 24px;
  border-top: 1px solid var(--labs-line);
  font-size: 23px;
}

.prof-test-shell,
.quiz-option {
  border-color: var(--labs-line);
  background: var(--labs-panel);
  box-shadow: none;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 40px, 1180px);
  }

  .labs-section-head,
  .course-progress-head,
  .course-format-layout,
  .course-faq-layout,
  .home-faq-layout,
  .lead-wrap,
  .home-lead-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .course-faq-copy,
  .home-faq-copy {
    position: static;
  }

  .career-promise-head h2 {
    font-size: 34px;
  }

  .course-choice-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .course-choice-card > p {
    min-height: 0;
  }

  .price-card {
    min-height: 0;
  }

  footer {
    grid-template-columns: 48px 1fr;
    padding-inline: 24px;
  }

  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    background-size: 56px 56px;
  }

  .nav {
    min-height: 66px;
    padding: 10px 14px;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  main section:not(.hero) {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  h2 {
    font-size: 32px;
    line-height: 1.12;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  .labs-section-head,
  .course-progress-head {
    margin-bottom: 28px;
  }

  .labs-section-note,
  .course-progress-outcome {
    padding-left: 16px;
  }

  .news-carousel-card {
    min-height: 390px;
  }

  .news-carousel-media,
  .news-carousel-card img {
    height: 168px;
    min-height: 168px;
  }

  .course-choice-card {
    padding: 22px;
  }

  .course-choice-card h3 {
    font-size: 27px;
  }

  .career-promise-head h2 {
    font-size: 29px;
  }

  .career-promise-head h2 .career-heading-line {
    white-space: normal;
  }

  .course-choice-outcome {
    min-height: 0;
  }

  .course-choice-meta,
  .course-format-cycle,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .course-choice-meta span + span {
    border-top: 1px solid var(--labs-line);
    border-left: 0;
  }

  .format-card {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 0;
    padding: 20px;
  }

  .format-icon {
    width: 46px;
    height: 46px;
  }

  .why-card,
  .career-card,
  .course-progress-card {
    min-height: 0;
  }

  .month-header {
    min-height: 0;
  }

  .plan-price {
    font-size: 34px;
  }

  .faq-q {
    min-height: 66px;
  }

  .home-lead-form {
    padding: 22px;
  }

  footer {
    grid-template-columns: 40px 1fr;
    gap: 18px;
    padding: 34px 20px;
  }

  .footer-logo {
    width: 40px;
    height: 40px;
  }

  .legal-hero h1 {
    font-size: 34px;
  }

  .legal-content {
    padding: 22px;
  }

  .support-chat-panel {
    border-radius: 6px;
  }

  .support-chat-form {
    grid-template-columns: minmax(0, 1fr) minmax(118px, auto);
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-choice-card,
  .news-carousel-card img,
  .format-card,
  .career-card,
  .month-card,
  .course-progress-card,
  .price-card {
    transition: none;
  }
}
