:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.76);
  --gold: #f0a400;
  --line: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at center, rgba(31, 90, 112, 0.28), transparent 35%),
    linear-gradient(90deg, rgba(16, 44, 56, 0.86), rgba(8, 20, 28, 0.86)),
    repeating-linear-gradient(
      90deg,
      rgba(48, 104, 123, 0.07) 0,
      rgba(48, 104, 123, 0.07) 2px,
      transparent 2px,
      transparent 118px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(48, 104, 123, 0.05) 0,
      rgba(48, 104, 123, 0.05) 2px,
      transparent 2px,
      transparent 96px
    ),
    #091218;
  background-attachment: fixed;
}

a {
  color: var(--gold);
}

.top-bar {
  background: #000;
}

.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px 12px;
}

.top-logo-wrap {
  display: flex;
  justify-content: center;
}

.top-logo-wrap img {
  width: 178px;
  height: auto;
}

.page-shell {
  min-height: calc(100vh - 66px);
  padding: 28px 20px 0;
}

.action-button,
.ghost-button {
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.18s ease;
}

.action-button {
  padding: 12px 22px;
  background: var(--gold);
  color: #1c1300;
}

.ghost-button {
  padding: 12px 22px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.action-button:hover,
.ghost-button:hover {
  opacity: 0.9;
}

.quiz-shell {
  max-width: 940px;
  margin: 0 auto;
  padding: 8px 20px 0;
}

.intro-copy {
  margin: 0 auto 30px;
  max-width: 860px;
  text-align: center;
}

.intro-copy h2,
.intro-copy h3,
.intro-copy h4,
.intro-copy p {
  margin: 0;
}

.intro-copy h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(2.7rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
}

.intro-copy p:first-of-type {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.15rem);
}

.intro-copy h3 {
  font-size: clamp(2.2rem, 4.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.06;
  text-transform: uppercase;
}

.intro-copy h4 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.06;
  text-transform: uppercase;
}

.intro-copy p:last-of-type {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.25rem);
}

.step {
  display: none;
}

.step.is-active {
  display: block;
}

.step-label {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.45;
}

.progress-track {
  max-width: 874px;
  height: 8px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--gold);
}

.progress-fill-step1 {
  width: 10%;
}

.progress-fill-step2 {
  width: 100%;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  max-width: 860px;
  margin: 0 auto;
}

.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.choice-card input {
  margin: 6px 0 0;
  accent-color: #ffffff;
  transform: scale(1.15);
}

.choice-card span {
  display: block;
  color: #ffffff;
  line-height: 1.45;
  font-size: 1rem;
  font-weight: 500;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.page-footer {
  margin-top: 68px;
  padding: 36px 20px 32px;
  background: #000;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.93rem;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
}

.footer-logo-wrap img {
  width: min(100%, 180px);
  height: auto;
}

.page-footer p {
  margin: 0 0 8px;
}

.footer-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-links span {
  color: rgba(255, 255, 255, 0.58);
}

.success-message {
  max-width: 520px;
  margin: 10px auto 0;
  padding: 22px;
  border: 1px solid rgba(255, 180, 27, 0.34);
  border-radius: 20px;
  background: rgba(255, 180, 27, 0.08);
  text-align: center;
}

.success-message h3,
.success-message p {
  margin: 0;
}

.success-message h3 {
  margin-bottom: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .page-shell {
    padding: 20px 12px 0;
  }

  .quiz-shell {
    padding: 0 8px;
  }

  .intro-copy h2 {
    font-size: 2.5rem;
  }

  .actions {
    flex-direction: column;
  }

  .action-button,
  .ghost-button {
    width: 100%;
  }
}
