:root {
  --blue: #319de0;
  --blue-dark: #167dc0;
  --cyan: #51c7dd;
  --text: #101216;
  --muted: #5c6670;
  --line: #e9edf2;
  --page: #eeeeef;
  --white: #ffffff;
  --green: #28b67a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--page);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(14px, 2.5vw, 34px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-card {
  width: 100%;
  max-width: 1280px;
  min-height: calc(100svh - clamp(28px, 5vw, 68px));
  margin-top: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(16, 18, 22, 0.08);
  display: flex;
  flex-direction: column;
}

.qualified-bar {
  min-height: clamp(74px, 9svh, 104px);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: clamp(0.68rem, 1.75vw, 0.88rem);
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  background: linear-gradient(90deg, #2d83f2 0%, var(--cyan) 100%);
}

.qualified-bar span {
  min-width: 0;
}

.qualified-count {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  line-height: 1;
}

.quiz-content {
  flex: 1;
  padding: clamp(54px, 8vw, 96px) clamp(36px, 8vw, 104px)
    clamp(48px, 7vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

h1 {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.answer-grid {
  width: min(100%, 860px);
  margin: clamp(40px, 6vw, 70px) auto clamp(46px, 6vw, 70px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 32px);
}

.answer-button {
  min-height: clamp(74px, 9svh, 96px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: var(--blue);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(49, 157, 224, 0.18);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.answer-button:hover,
.answer-button:focus-visible {
  background: var(--blue-dark);
  box-shadow: 0 10px 22px rgba(22, 125, 192, 0.22);
  transform: translateY(-1px);
}

.divider {
  height: 6px;
  width: min(100%, 940px);
  margin: 0 auto 22px;
  background: #f0f0f0;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 16px);
  flex-wrap: wrap;
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  line-height: 1;
}

.trust-label {
  font-weight: 800;
}

.stars {
  display: inline-flex;
  gap: 3px;
}

.stars span {
  width: clamp(22px, 4.4vw, 28px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 2px;
  color: var(--white);
  background: var(--green);
  font-size: clamp(0.92rem, 3.2vw, 1.25rem);
  line-height: 1;
}

.stars .half {
  background: linear-gradient(90deg, var(--green) 0 58%, #d5dce3 58% 100%);
}

.trust-brand {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  color: #18212b;
}

.trust-mark {
  color: var(--green);
  font-size: 1.12em;
}

@media (max-width: 560px) {
  .page-shell {
    align-items: flex-start;
    padding: 0;
  }

  .quiz-card {
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    box-shadow: none;
  }

  .qualified-bar {
    min-height: clamp(54px, 8svh, 68px);
    padding-inline: 12px;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .quiz-content {
    padding: clamp(34px, 8svh, 70px) 34px clamp(32px, 7svh, 56px);
    justify-content: center;
  }

  h1 {
    font-size: clamp(1.28rem, 5.1vw, 1.55rem);
    line-height: 1.36;
  }

  .answer-grid {
    margin: clamp(34px, 7svh, 58px) auto clamp(34px, 7svh, 54px);
    gap: 14px;
  }

  .answer-button {
    min-height: clamp(58px, 8svh, 72px);
    font-size: clamp(1.22rem, 5vw, 1.5rem);
  }

  .divider {
    margin-bottom: clamp(24px, 5svh, 42px);
  }

  .trust-row {
    gap: 8px;
    font-size: 0.78rem;
  }

  .stars {
    gap: 2px;
  }
}

@media (max-width: 360px) {
  .quiz-content {
    padding-inline: 22px;
  }

  .answer-grid {
    gap: 12px;
  }

  .answer-button {
    min-height: 50px;
    font-size: 1.05rem;
  }
}
