/* Uses the official website's shared type, colour and interaction tokens. */
.test-page .nav {
  gap: 12px;
}

.test-page .brand {
  flex-shrink: 0;
  min-height: 44px;
  white-space: nowrap;
}

.test-page .nav__cta {
  display: inline-flex;
  margin-left: auto;
  min-height: 44px;
  gap: 8px;
}

.test-main {
  max-width: calc(880px + var(--gutter) * 2);
  margin: 0 auto;
  padding: calc(var(--header-h) + 64px) var(--gutter) 96px;
}

.test-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 64px;
}

.test-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.2;
}

.test-hero .lede {
  max-width: 36ch;
}

.test-requirements {
  font-size: 14px;
  color: var(--ink-mute);
}

.test-main h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
}

.test-account-note {
  margin-top: 14px;
  max-width: 42ch;
  color: var(--ink-soft);
}

.test-account-note strong {
  color: var(--ink);
}

.test-steps {
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.test-steps > li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-strong);
}

.test-step-number {
  padding-top: 2px;
  color: var(--ink-mute);
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.test-step-content h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.45;
}

.test-step-content p {
  max-width: 42ch;
  color: var(--ink-soft);
}

.test-step-content .btn {
  margin-top: 20px;
}

.test-step-content .test-step-hint {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-mute);
}

.test-feedback,
.test-faq {
  margin-top: 72px;
}

.test-feedback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.test-feedback > p:not(.eyebrow) {
  max-width: 42ch;
  color: var(--ink-soft);
}

.test-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.test-faq .faq__list {
  margin-top: 24px;
}

.test-faq {
  max-width: none;
  padding: 0;
}

.test-faq details p + p {
  padding-top: 0;
}

@media (max-width: 620px) {
  .test-main {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 64px;
  }

  .test-hero {
    gap: 18px;
    padding-bottom: 40px;
  }

  .test-hero h1 {
    font-size: clamp(30px, 9vw, 36px);
  }

  .test-steps > li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    padding: 26px 0;
  }

  .test-step-number {
    font-size: 18px;
  }

  .test-step-content h3 {
    font-size: 20px;
  }

  .test-step-content .btn {
    padding: 12px 16px;
    text-align: center;
  }

  .test-feedback,
  .test-faq {
    margin-top: 48px;
  }
}
