.pseo-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 48, 79, 0.09), transparent 28rem),
    var(--black);
  color: var(--white);
}

.pseo-page a {
  color: inherit;
}

.pseo-page .button {
  color: var(--ink);
}

.pseo-page .button-primary,
.pseo-page .button-dark {
  color: #fff;
}

.pseo-topbar {
  background: rgba(11, 9, 10, 0.92);
  border-bottom: 1px solid rgba(244, 240, 232, 0.14);
  backdrop-filter: blur(18px);
}

.pseo-hero,
.pseo-hub-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  min-height: calc(100svh - 160px);
  padding-block: 52px 44px;
}

.pseo-hub-hero {
  display: block;
  min-height: auto;
  max-width: 1120px;
}

.pseo-hero-copy h1,
.pseo-hub-hero h1 {
  max-width: 900px;
  margin: 18px 0 28px;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: none;
}

.pseo-hero-copy {
  min-width: 0;
}

.pseo-hub-hero h1 {
  max-width: 1,100px;
}

.pseo-lede,
.pseo-hub-hero > p:last-child {
  max-width: 720px;
  margin: 0 0 34px;
  color: rgba(244, 240, 232, 0.76);
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.45;
}

.pseo-privacy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(244, 240, 232, 0.52);
  font-size: 13px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pseo-breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 36px;
  color: rgba(244, 240, 232, 0.5);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pseo-breadcrumbs a:hover {
  color: var(--red);
}

.pseo-hero-art {
  position: relative;
  margin: 0;
  transform: rotate(2deg);
}

.pseo-hero-art::before,
.pseo-hero-art::after {
  position: absolute;
  content: "";
  inset: 6% -4% -5% 5%;
  border: 1px solid rgba(255, 48, 79, 0.38);
  transform: rotate(-5deg);
  pointer-events: none;
}

.pseo-hero-art::after {
  inset: -4% 5% 5% -5%;
  border-color: rgba(244, 240, 232, 0.2);
  transform: rotate(4deg);
}

.pseo-hero-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(244, 240, 232, 0.16);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.48);
}

.pseo-test-section {
  min-height: 620px;
  margin-bottom: 120px;
  padding: clamp(26px, 5vw, 64px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper-2);
  box-shadow: 16px 18px 0 var(--red-dark);
}

.pseo-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pseo-progress {
  height: 5px;
  margin: 12px 0 clamp(46px, 7vw, 88px);
  overflow: hidden;
  background: rgba(22, 18, 19, 0.14);
}

.pseo-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.pseo-test-section[data-steps="3"][data-step="1"] .pseo-progress i { transform: scaleX(0.3333); }
.pseo-test-section[data-steps="3"][data-step="2"] .pseo-progress i { transform: scaleX(0.6667); }
.pseo-test-section[data-steps="3"][data-step="3"] .pseo-progress i { transform: scaleX(1); }
.pseo-test-section[data-steps="4"][data-step="1"] .pseo-progress i { transform: scaleX(0.25); }
.pseo-test-section[data-steps="4"][data-step="2"] .pseo-progress i { transform: scaleX(0.5); }
.pseo-test-section[data-steps="4"][data-step="3"] .pseo-progress i { transform: scaleX(0.75); }
.pseo-test-section[data-steps="4"][data-step="4"] .pseo-progress i { transform: scaleX(1); }
.pseo-test-section[data-steps="5"][data-step="1"] .pseo-progress i { transform: scaleX(0.2); }
.pseo-test-section[data-steps="5"][data-step="2"] .pseo-progress i { transform: scaleX(0.4); }
.pseo-test-section[data-steps="5"][data-step="3"] .pseo-progress i { transform: scaleX(0.6); }
.pseo-test-section[data-steps="5"][data-step="4"] .pseo-progress i { transform: scaleX(0.8); }
.pseo-test-section[data-steps="5"][data-step="5"] .pseo-progress i { transform: scaleX(1); }
.pseo-test-section[data-steps="6"][data-step="1"] .pseo-progress i { transform: scaleX(0.1667); }
.pseo-test-section[data-steps="6"][data-step="2"] .pseo-progress i { transform: scaleX(0.3333); }
.pseo-test-section[data-steps="6"][data-step="3"] .pseo-progress i { transform: scaleX(0.5); }
.pseo-test-section[data-steps="6"][data-step="4"] .pseo-progress i { transform: scaleX(0.6667); }
.pseo-test-section[data-steps="6"][data-step="5"] .pseo-progress i { transform: scaleX(0.8333); }
.pseo-test-section[data-steps="6"][data-step="6"] .pseo-progress i { transform: scaleX(1); }
.pseo-test-section[data-steps="7"][data-step="1"] .pseo-progress i { transform: scaleX(0.1429); }
.pseo-test-section[data-steps="7"][data-step="2"] .pseo-progress i { transform: scaleX(0.2857); }
.pseo-test-section[data-steps="7"][data-step="3"] .pseo-progress i { transform: scaleX(0.4286); }
.pseo-test-section[data-steps="7"][data-step="4"] .pseo-progress i { transform: scaleX(0.5714); }
.pseo-test-section[data-steps="7"][data-step="5"] .pseo-progress i { transform: scaleX(0.7143); }
.pseo-test-section[data-steps="7"][data-step="6"] .pseo-progress i { transform: scaleX(0.8571); }
.pseo-test-section[data-steps="7"][data-step="7"] .pseo-progress i { transform: scaleX(1); }
.pseo-test-section[data-steps="8"][data-step="1"] .pseo-progress i { transform: scaleX(0.125); }
.pseo-test-section[data-steps="8"][data-step="2"] .pseo-progress i { transform: scaleX(0.25); }
.pseo-test-section[data-steps="8"][data-step="3"] .pseo-progress i { transform: scaleX(0.375); }
.pseo-test-section[data-steps="8"][data-step="4"] .pseo-progress i { transform: scaleX(0.5); }
.pseo-test-section[data-steps="8"][data-step="5"] .pseo-progress i { transform: scaleX(0.625); }
.pseo-test-section[data-steps="8"][data-step="6"] .pseo-progress i { transform: scaleX(0.75); }
.pseo-test-section[data-steps="8"][data-step="7"] .pseo-progress i { transform: scaleX(0.875); }
.pseo-test-section[data-steps="8"][data-step="8"] .pseo-progress i { transform: scaleX(1); }

.pseo-question-kicker,
.pseo-card-kicker {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.pseo-quiz-panel h2,
.pseo-result h2 {
  max-width: 960px;
  margin: 0 0 40px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.pseo-result h2:focus {
  outline: none;
}

.pseo-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pseo-answer {
  min-height: 94px;
  padding: 20px 22px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(22, 18, 19, 0.24);
  border-radius: 0;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.pseo-answer:hover,
.pseo-answer:focus-visible {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
  outline: none;
}

.pseo-result {
  max-width: 960px;
}

.pseo-result-badge {
  display: inline-block;
  margin: 0 0 30px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--red-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.pseo-result-value {
  display: block;
  margin: -18px 0 26px;
  color: var(--red-dark);
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: -0.03em;
}

.pseo-result-summary {
  max-width: 740px;
  margin: 0 0 30px;
  font-size: 20px;
  line-height: 1.5;
}

.pseo-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pseo-result-actions .button {
  min-height: 52px;
  padding: 0 22px;
}

.pseo-retry {
  padding: 14px 8px;
  color: var(--red-dark);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.pseo-share-status {
  min-height: 24px;
  margin-top: 14px;
  color: #4f4543;
  font-size: 14px;
}

.pseo-noscript {
  margin-top: 40px;
  color: var(--red-dark);
}

.pseo-copy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 110px);
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid rgba(244, 240, 232, 0.14);
}

.pseo-copy-section h2,
.pseo-faq h2,
.pseo-related > h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.pseo-copy p {
  margin: 0 0 22px;
  color: rgba(244, 240, 232, 0.74);
  font-size: 19px;
  line-height: 1.65;
}

.pseo-faq,
.pseo-related,
.pseo-hub-grid {
  padding-top: 100px;
  padding-bottom: 100px;
}

.pseo-faq-list {
  margin-top: 50px;
  border-top: 1px solid rgba(244, 240, 232, 0.18);
}

.pseo-faq details {
  border-bottom: 1px solid rgba(244, 240, 232, 0.18);
}

.pseo-faq summary {
  padding: 24px 42px 24px 0;
  font-size: 21px;
  font-weight: 780;
  cursor: pointer;
}

.pseo-faq details p {
  max-width: 820px;
  margin: 0 0 26px;
  color: rgba(244, 240, 232, 0.7);
  line-height: 1.6;
}

.pseo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 50px;
}

.pseo-hub-grid .pseo-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 0;
}

.pseo-test-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(244, 240, 232, 0.18);
}

.pseo-test-card-image {
  display: block;
  overflow: hidden;
  background: var(--black-3);
}

.pseo-test-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  transition: transform 220ms ease;
}

.pseo-test-card:hover .pseo-test-card-image img {
  transform: scale(1.025);
}

.pseo-test-card > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.pseo-test-card h2 {
  margin: 0 0 14px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pseo-test-card h2 a {
  text-decoration: none;
}

.pseo-test-card p:not(.pseo-card-kicker) {
  min-height: 78px;
  margin: 0 0 24px;
  color: #514745;
  line-height: 1.5;
}

.pseo-test-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.pseo-footer {
  display: grid;
  grid-template-columns: 0.4fr 1.2fr 0.4fr;
  gap: 30px;
  align-items: start;
  padding-top: 54px;
  padding-bottom: 54px;
  color: rgba(244, 240, 232, 0.56);
  border-top: 1px solid rgba(244, 240, 232, 0.14);
  font-size: 13px;
  line-height: 1.55;
}

.pseo-footer p {
  margin: 0;
}

.pseo-footer p:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  .pseo-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 84px;
  }

  .pseo-hero-art {
    max-width: 620px;
  }

  .pseo-card-grid,
  .pseo-hub-grid .pseo-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pseo-copy-section {
    grid-template-columns: 1fr;
  }

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

  .pseo-footer p:last-child {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .pseo-topbar .navlinks {
    display: none;
  }

  .pseo-topbar .button-small {
    display: none;
  }

  .pseo-hero,
  .pseo-hub-hero {
    padding-top: 80px;
    padding-bottom: 56px;
  }

  .pseo-hero-copy h1,
  .pseo-hub-hero h1 {
    font-size: clamp(40px, 11vw, 58px);
    letter-spacing: -0.055em;
  }

  .pseo-test-section {
    min-height: 560px;
    margin-bottom: 76px;
    box-shadow: 8px 10px 0 var(--red-dark);
  }

  .pseo-answers,
  .pseo-card-grid,
  .pseo-hub-grid .pseo-card-grid {
    grid-template-columns: 1fr;
  }

  .pseo-answer {
    min-height: 76px;
  }

  .pseo-result-actions .button,
  .pseo-result-actions .pseo-retry {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .pseo-copy-section,
  .pseo-faq,
  .pseo-related,
  .pseo-hub-grid {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pseo-progress i,
  .pseo-answer,
  .pseo-test-card-image img {
    transition: none;
  }
}
