:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #132033;
  --muted: #58677a;
  --line: #d9e2ec;
  --accent: #ffcc4d;
  --accent-ink: #2b2100;
  --teal: #0f9f94;
  --rose: #ef476f;
  --blue: #2457a6;
  --shadow: 0 16px 40px rgba(19, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 13px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
}

.button {
  background: var(--ink);
  color: #fff;
  border: 0;
}

.button.secondary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button.light {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 36px 0 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(38px, 8vw, 78px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 21px;
}

p {
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 62ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.challenge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.challenge img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #dde7f0;
}

.hero .challenge img {
  aspect-ratio: 16 / 10;
  object-position: top;
}

.challenge-body {
  padding: 18px;
  display: grid;
  gap: 13px;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #eef4f8;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.pill.accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.section {
  padding: 32px 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
  max-width: 70ch;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  min-width: 0;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #dde7f0;
}

.card-body {
  padding: 15px;
  display: grid;
  gap: 10px;
}

.card p,
.muted {
  color: var(--muted);
}

.options {
  display: grid;
  gap: 8px;
}

.option {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px 12px;
  font-weight: 800;
}

.answer {
  border-left: 5px solid var(--teal);
  background: #eefbf8;
  border-radius: 8px;
  padding: 14px;
}

.answer strong {
  color: var(--teal);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  padding: 0 14px;
  font-weight: 900;
}

.content {
  display: grid;
  gap: 22px;
  padding: 34px 0;
}

.content-narrow {
  max-width: 820px;
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: grid;
  gap: 14px;
}

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

.field label {
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fbfdff;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hero-grid,
  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .challenge img {
    aspect-ratio: 16 / 10;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }
}
