:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
  background: #fff;
  line-height: 1.5;
}

* { box-sizing: border-box; }

body {
  min-height: 200vh;
  min-height: 200svh;
  margin: 0;
}

.quiz {
  display: grid;
  align-content: center;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 43rem;
  margin-inline: auto;
  padding-block: clamp(3.75rem, 11vw, 8rem);
  padding-inline: clamp(1.5rem, 8vw, 3rem);
}

.question {
  padding: clamp(0.875rem, 3.5vw, 1.25rem);
  border: 1px solid #364153;
  border-radius: 1.25rem;
  background: #202938;
  color: #f4f7fb;
  box-shadow: 0 1rem 3rem #0005;
}

h1 {
  line-height: 1.2;
  margin: 0 0 0.875rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  letter-spacing: -0.02em;
}

.options {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  height: 100%;
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--fill);
  color: #f8fafc;
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.orange { --fill: #653619; --border: #c9814b; }
.yellow { --fill: #574513; --border: #b99a44; }
.green  { --fill: #214b36; --border: #669c78; }
.charcoal { --fill: #323b49; --border: #828e9f; }

.letter {
  display: grid;
  flex: 0 0 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 14%, transparent);
  font-size: 0.875rem;
}

.option:hover { border-color: currentColor; text-decoration: underline; }

.option:focus-visible {
  outline: 3px solid #9cbbff;
  outline-offset: 2px;
}

.details {
  margin: 0.875rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #414d60;
  color: #cbd5e3;
}

.ad-slot:not([hidden]) {
  min-height: 6rem;
  margin-top: 1rem;
}

@media (max-width: 37.99rem) {
  .quiz {
    padding-block: clamp(4rem, 15vw, 5.5rem);
    padding-inline: clamp(1.75rem, 9vw, 3rem);
  }
}

@media (min-width: 38rem) {
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
