:root {
  --bg: #050606;
  --panel: #0f1214;
  --panel-soft: #171b1d;
  --text: #f6f7f7;
  --muted: #fff;
  --line: #2b3336;
  --accent: #53d2d6;
  --accent-dark: #149aa2;
  --header-bg: rgba(5, 6, 6, 0.82);
  --cta-text: #061113;
  --icon-color: #041010;
  --option-icon-color: var(--accent);
  --button-text: var(--cta-text);
  --logo-text: #f6f7f7;
  --form-bg: #f8fbfb;
  --form-text: #111719;
  --form-muted: #5a676b;
  --form-panel: #fff;
  --form-line: #d9e1e3;
  --success-bg: #ecfbfc;
  --error-bg: #fff5f3;
  --error-text: #4d2520;
  --warm: #f4b74d;
  --danger: #ff8b8b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --site-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--site-font);
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--logo-text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #2347d8, var(--accent));
  box-shadow: 0 10px 30px rgba(83, 210, 214, 0.25);
}

.brand-logo {
  width: auto;
  height: 42px;
  max-width: 180px;
  object-fit: contain;
}

.small-cta,
.primary-cta,
.ghost-button,
.option-card {
  border: 0;
  border-radius: 8px;
}

.small-cta,
.primary-cta {
  min-height: 48px;
  padding: 0 28px;
  background: var(--accent);
  color: var(--button-text);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.small-cta {
  min-height: 40px;
  padding-inline: 18px;
}

.small-cta:hover,
.primary-cta:hover {
  background: #6fe3e6;
  box-shadow: 0 14px 36px rgba(83, 210, 214, 0.22);
  transform: translateY(-1px);
}

.small-cta:focus-visible,
.primary-cta:focus-visible,
.ghost-button:focus-visible,
.close-button:focus-visible,
.option-card:focus-visible {
  outline: 3px solid rgba(83, 210, 214, 0.42);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(18px, 1fr) minmax(0, 1000px) minmax(18px, 1fr);
  padding: 66px 0 80px;
}

.hero-copy,
.hero-media,
.logo-strip {
  grid-column: 2;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.16;
}

.lead {
  max-width: 720px;
  margin: 20px auto 30px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-media {
  position: relative;
  margin: 50px 0 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: var(--panel);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 6, 6, 0.02), rgba(5, 6, 6, 0.36));
}

.hero-media img,
.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.logo-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #e6eeee;
  font-weight: 900;
  text-transform: uppercase;
}

.job-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  color: var(--muted);
  list-style: none;
}

.job-facts li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.section {
  width: min(1000px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.benefits {
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 70px;
  margin-top: 62px;
}

.benefit-grid article,
.task-list article {
  min-height: 210px;
}

.benefit-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
}

.benefit-grid p,
.task-list p,
.intro-copy p,
.steps span,
.microcopy {
  color: var(--muted);
  line-height: 1.65;
}

.benefit-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--icon-color);
}

.benefit-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.intro {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
}

.intro-media {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: var(--panel);
}

.intro-copy p {
  font-size: 1.03rem;
}

.tasks {
  text-align: center;
}

.task-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  text-align: left;
}

.task-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.task-list h3 {
  color: var(--option-icon-color);
}

.process {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 42px 0 30px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  counter-increment: step;
}

.steps li::before {
  content: counter(step) ".";
  color: var(--accent);
  font-size: 2.4rem;
  font-weight: 900;
}

.microcopy {
  margin: 18px 0 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 18px 44px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer a {
  text-decoration: none;
}

.powered {
  width: 100%;
  text-align: center;
  color: var(--accent);
}

.quiz-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
}

.quiz-shell.is-open {
  display: grid;
}

.quiz-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.quiz-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--form-bg);
  color: var(--form-text);
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--form-line);
  border-radius: 8px;
  background: var(--form-panel);
  color: var(--form-text);
  font-size: 1.6rem;
  line-height: 1;
}

.quiz-header {
  display: grid;
  gap: 12px;
  padding-right: 46px;
}

.quiz-kicker {
  color: var(--accent-dark);
  font-weight: 900;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--form-line);
}

.progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 180ms ease;
}

.quiz-question {
  margin-top: 28px;
}

.quiz-question h2 {
  color: var(--form-text);
  font-size: clamp(1.7rem, 4vw, 2.55rem);
}

.quiz-question p {
  color: var(--form-muted);
  line-height: 1.6;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.option-card {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 18px;
  border: 2px solid var(--form-line);
  background: var(--form-panel);
  color: var(--form-text);
  text-align: left;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.option-card svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.option-chevron,
.option-icon {
  display: grid;
  place-items: center;
}

.option-chevron {
  width: 18px;
  height: 18px;
  color: var(--accent-dark);
  opacity: 0.72;
}

.option-icon {
  width: 38px;
  height: 38px;
  color: var(--option-icon-color);
}

.option-card:hover,
.option-card.is-selected {
  border-color: var(--accent-dark);
  background: var(--success-bg);
  transform: translateY(-1px);
}

.option-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.option-copy strong {
  display: block;
  min-width: 0;
  color: var(--form-text);
  font-size: 1rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.option-copy span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.option-copy span {
  color: var(--form-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--form-text);
  font-weight: 800;
}

.field input {
  min-height: 50px;
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--form-line);
  border-radius: 8px;
  background: var(--form-panel);
  color: var(--form-text);
}

.field input:focus {
  border-color: var(--accent-dark);
  outline: 3px solid rgba(83, 210, 214, 0.22);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  color: var(--form-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.form-error {
  min-height: 24px;
  margin: 18px 0 0;
  color: #9d1c1c;
  font-weight: 800;
}

.career-hint {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--form-line);
  border-radius: 8px;
  background: var(--success-bg);
  color: var(--form-text);
}

.career-hint p {
  margin: 0;
  color: var(--form-muted);
  line-height: 1.45;
}

.career-hint-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--icon-color);
}

.career-hint-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.ghost-button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--form-line);
  background: var(--form-panel);
  color: var(--form-text);
  font-weight: 800;
}

.ghost-button[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}

.success-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 8px;
  background: var(--success-bg);
}

.success-card h2 {
  color: var(--form-text);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.success-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--form-muted);
}

.criterion-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--form-line);
  border-radius: 8px;
  background: var(--error-bg);
  color: var(--error-text);
}

.criterion-box ul {
  display: grid;
  gap: 6px;
  padding-left: 20px;
  margin: 0;
}

.criterion-box span {
  color: var(--error-text);
}

body.quiz-open {
  overflow: hidden;
}

.inactive-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.inactive-card {
  width: min(680px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-align: center;
}

.inactive-card h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.inactive-card p {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 820px) {
  .hero {
    padding-top: 44px;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
  }

  .logo-strip,
  .benefit-grid,
  .intro,
  .task-list,
  .steps,
  .option-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    order: -1;
  }

  .benefit-grid {
    gap: 30px;
  }

  .task-list article,
  .steps li,
  .benefit-grid article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .small-cta {
    padding-inline: 14px;
  }

  .hero {
    padding-bottom: 56px;
  }

  .lead {
    font-size: 1rem;
  }

  .section {
    width: min(100% - 28px, 1000px);
    padding: 62px 0;
  }

  .quiz-shell {
    padding: 10px;
    align-items: end;
  }

  .quiz-panel {
    max-height: calc(100vh - 20px);
    padding: 24px 18px 18px;
  }

  .quiz-actions {
    position: sticky;
    bottom: -18px;
    padding-top: 12px;
    padding-bottom: 18px;
    background: #f8fbfb;
  }

  .quiz-actions .primary-cta,
  .quiz-actions .ghost-button {
    flex: 1 1 0;
    padding-inline: 10px;
  }
}
