/* Course campaign theme; responsive layout constraints live in styles.css. */
:root {
  --ink: #17233c;
  --muted: #617089;
  --blue: #4658e8;
  --line: #e3e8f2;
  --shadow: 0 1.25rem 3.5rem rgba(34, 50, 95, .09);
}
body {
  background: #fcfdff;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
}
button, input, select, .primary-button, .header-cta {
  font-family: inherit;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: .9375rem;
  letter-spacing: -.025em;
}
.brand-mark {
  background: var(--ink);
}
.hero {
  padding-block: 3.5rem 4rem;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero:before {
  left: 0;
  top: 1rem;
  background: radial-gradient(circle, rgba(100, 111, 241, .1), transparent 68%);
}
.eyebrow {
  font-size: .6875rem;
  line-height: 1.6;
}
.hero-fast {
  padding: .5rem .875rem;
  border-color: #dce0fb;
  background: #f0f2ff;
  font-size: .6875rem;
  line-height: 1.6;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.25vw, 3.75rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero h1 em {
  background-image: linear-gradient(100deg, #3562e8, #7045db, #3562e8);
}
.hero-copy > p {
  font-size: 1rem;
  line-height: 1.85;
}
.primary-button {
  min-height: 3.125rem;
  border-radius: .75rem;
  background: linear-gradient(110deg, #4658e8, #6350da);
  box-shadow: 0 .5rem 1.25rem rgba(70, 88, 232, .18);
  font-size: .875rem;
}
.primary-button:after, .header-cta:after {
  animation-duration: 7s;
  pointer-events: none;
}
.hero-assurances {
  font-size: .6875rem;
}
.hero-proof {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.hero-proof strong {
  font-size: 1.75rem;
}
.hero-proof span {
  margin-top: .25rem;
  font-size: .6875rem;
}
.hero-visual {
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.hero-visual img {
  aspect-ratio: 16 / 9;
}
.hero-visual figcaption strong {
  font-size: .75rem;
}
.quiz-card, .demo-panel, .path-board, .video-card, .calculator-card, .apply-form {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}
.quiz-card {
  padding: 1.75rem;
}
.quiz-head small {
  font-size: .75rem;
}
.quiz-quick, .quiz-foot {
  font-size: .6875rem;
  line-height: 1.6;
}
.quiz-options button {
  min-height: 3.75rem;
  border-radius: .75rem;
  font-size: .8125rem;
  line-height: 1.65;
}
.quiz-foot {
  margin: 1.375rem -1.75rem -1.75rem;
}
.method-strip {
  background: #f0f3fb;
  border-block: 1px solid var(--line);
  color: #3f506b;
}
.method-strip b {
  color: var(--blue);
}
.method-strip i {
  background: #d8dfed;
}
.method-strip:after {
  background: linear-gradient(100deg, transparent 30%, rgba(70, 88, 232, .06) 50%, transparent 70%);
}
.section {
  padding-block: 5rem;
}
.video-section {
  padding-bottom: 0;
}
.kit {
  padding-top: 0;
}
.section-title h2, .calculator-copy h2, .kit-card h2, .apply-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  line-height: 1.18;
  text-wrap: balance;
}
.video-copy p, .path-summary > p, .compare-grid li {
  font-size: .8125rem;
  line-height: 1.8;
}
.path-steps p, .demo-note {
  font-size: .75rem;
  line-height: 1.75;
}
.path-summary {
  background: #f2f4fc;
}
.path-summary h3 {
  font-size: 1.5rem;
}
.calculator-section, .apply-section {
  padding-block: 5rem;
  background: #14213e;
}
.kit-card {
  background: linear-gradient(125deg, #182746, #2a3866);
}
.form-step small, .region-hint, .privacy {
  font-size: .6875rem;
}
.apply-form label {
  font-size: .75rem;
}
.apply-form input, .apply-form select {
  min-height: 3rem;
  font-size: 1rem;
}
footer {
  background: #101a30;
}
.mobile-cta {
  box-shadow: 0 -.375rem 1.5rem rgba(23, 35, 60, .05);
}
.mobile-cta a {
  background: var(--blue);
}

@media (max-width: 920px) {
  .hero {
    padding-block: 2.5rem 3rem;
  }
  .hero-copy {
    max-width: 44rem;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 4.375rem;
    padding: .75rem 1.125rem .5rem;
    border-bottom: 0;
  }
  .site-header .brand {
    flex-direction: row;
    gap: .5rem;
    font-size: .8125rem;
  }
  .site-header .brand > span:last-child {
    display: none;
  }
  .hero {
    padding-block: .875rem 3rem;
    gap: 2rem;
  }
  .hero h1 {
    font-size: clamp(2rem, 8.75vw, 2.625rem);
    margin-block: 1.125rem 1.25rem;
  }
  .hero-copy > p {
    font-size: .9375rem;
    line-height: 1.8;
  }
  .hero-actions {
    margin-top: 1.5rem;
  }
  .hero-proof {
    margin-top: 1.5rem;
  }
  .hero-proof strong {
    font-size: 1.375rem;
  }
  .hero-proof span {
    font-size: .625rem;
  }
  .hero-visual {
    margin-top: 1.5rem;
  }
  .quiz-card {
    padding: 1.25rem;
  }
  .quiz-foot {
    margin: 1.25rem -1.25rem -1.25rem;
  }
  .section, .calculator-section, .apply-section {
    padding-block: 3.5rem;
  }
  .section-title h2, .calculator-copy h2, .kit-card h2, .apply-copy h2 {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }
  .video-section {
    padding-bottom: 0;
  }
  .kit {
    padding-top: 0;
  }
}

/* Language controls and text direction work at every viewport size. */
.site-header {
  gap: 1rem;
}
.header-actions, [dir="rtl"] .header-actions {
  margin-left: 0;
  margin-right: 0;
  margin-inline-start: auto;
}
.language-picker select {
  max-width: 100%;
  font-family: inherit;
}
#contact-input {
  direction: ltr;
  unicode-bidi: isolate;
}
.quiz-options button, .demo-note, .path-summary, .path-steps {
  text-align: start;
}
[dir="rtl"] .video-duration {
  left: auto;
  right: .9375rem;
}
[dir="rtl"] .hero-proof div {
  padding-right: 0;
  padding-left: 1rem;
  border-right: 0;
  border-left: 1px solid var(--line);
}
[dir="rtl"] .hero-proof div:last-child {
  border-left: 0;
}
[dir="rtl"] .primary-button svg, [dir="rtl"] .header-cta svg {
  transform: scaleX(-1);
}
@media (min-width: 641px) {
  [dir="rtl"] .transform-arrow svg {
    transform: scaleX(-1);
  }
}
@media (max-width: 640px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    min-height: 4.375rem;
  }
  .site-header .header-actions {
    display: flex;
    min-width: 0;
  }
  .language-picker select {
    width: 8.75rem;
    height: 2.625rem;
  }
}
