.test-landing-page {
  --test-accent: #d99ab3;
  --test-accent-strong: #efb3ca;
  --test-accent-soft: rgba(217, 154, 179, 0.14);
  --test-ink: #fff7fa;
  --test-muted: rgba(231, 213, 221, 0.72);
  --test-line: rgba(239, 203, 217, 0.12);
  background:
    radial-gradient(circle at 20% 8%, rgba(111, 47, 75, 0.18), transparent 34%),
    linear-gradient(180deg, #100b12, #08070b 54%, #07070a);
}

.test-landing-page--ember { --test-accent: #e58e8a; --test-accent-strong: #f0b0a3; --test-accent-soft: rgba(229, 142, 138, 0.14); }
.test-landing-page--violet { --test-accent: #b39bd8; --test-accent-strong: #cbb8e7; --test-accent-soft: rgba(179, 155, 216, 0.14); }
.test-landing-page--blue { --test-accent: #9baed1; --test-accent-strong: #bdc9e2; --test-accent-soft: rgba(155, 174, 209, 0.14); }
.test-landing-page--pink { --test-accent: #d79fc4; --test-accent-strong: #ebbed8; --test-accent-soft: rgba(215, 159, 196, 0.14); }
.test-landing-page--mint { --test-accent: #8ebfb4; --test-accent-strong: #add3ca; --test-accent-soft: rgba(142, 191, 180, 0.14); }
.test-landing-page--gold { --test-accent: #c8ad82; --test-accent-strong: #dec89f; --test-accent-soft: rgba(200, 173, 130, 0.14); }

.test-landing-page .topbar--landing {
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.6fr) minmax(185px, 250px);
}

.test-landing-page .topbar-tabs--landing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: none;
}

.test-landing-page .topbar-tabs--landing .topbar-tab {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 0.72rem;
}

.test-landing {
  display: grid;
  gap: 22px;
  color: var(--test-ink);
}

.test-hero,
.test-section,
.test-flow,
.test-final-cta {
  border: 1px solid var(--test-line);
  box-shadow: 0 24px 70px rgba(3, 2, 6, 0.18);
}

.test-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: 440px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 77% 25%, var(--test-accent-soft), transparent 34%),
    radial-gradient(circle at 7% 82%, rgba(125, 77, 103, 0.12), transparent 32%),
    linear-gradient(140deg, rgba(38, 23, 34, 0.98), rgba(18, 14, 23, 0.98));
}

.test-hero::after {
  content: '';
  position: absolute;
  inset: auto -8% -42% 46%;
  height: 72%;
  border-radius: 50%;
  background: var(--test-accent-soft);
  filter: blur(50px);
  pointer-events: none;
}

.test-hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 15px;
  padding: clamp(34px, 5vw, 68px);
}

.test-back-link,
.test-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--test-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.test-back-link:hover,
.test-back-link:focus-visible,
.test-text-link:hover,
.test-text-link:focus-visible {
  border-color: color-mix(in srgb, var(--test-accent) 50%, transparent);
  color: var(--test-ink);
}

.test-hero .hero-panel__eyebrow,
.test-section .hero-panel__eyebrow,
.test-flow .hero-panel__eyebrow,
.test-final-cta .hero-panel__eyebrow {
  margin: 0;
  color: var(--test-accent-strong);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.test-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--test-ink);
  font-size: clamp(2.05rem, 3.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.test-hub-hero h1 {
  max-width: 18ch;
}

.test-hero--direct {
  min-height: 370px;
}

.test-hub-hero--direct {
  grid-template-columns: 1fr;
  min-height: 0;
}

.test-hub-hero--direct .test-hero__copy {
  min-height: 230px;
  padding-block: clamp(28px, 4vw, 46px);
}

.test-hero__lead {
  max-width: 690px;
  margin: 0;
  color: var(--test-muted);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  line-height: 1.6;
}

.test-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.test-facts span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(244, 229, 235, 0.8);
  font-size: 0.73rem;
  font-weight: 800;
}

.test-primary-cta,
.test-inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 8px 9px 8px 20px;
  border: 1px solid color-mix(in srgb, var(--test-accent) 68%, rgba(255, 255, 255, 0.2));
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--test-accent) 90%, #f7d6e1 10%), color-mix(in srgb, var(--test-accent) 80%, #b47b98 20%));
  color: #251820;
  box-shadow: 0 15px 36px color-mix(in srgb, var(--test-accent) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.test-primary-cta i,
.test-inline-cta i {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.test-primary-cta svg,
.test-inline-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.test-primary-cta:hover,
.test-primary-cta:focus-visible,
.test-inline-cta:hover,
.test-inline-cta:focus-visible {
  transform: translateY(-2px);
  color: #21151d;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--test-accent) 32%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.test-primary-cta--small {
  min-height: 50px;
  margin-top: 8px;
}

.test-hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 420px;
  place-items: center;
}

.test-hero__orbit {
  position: absolute;
  width: min(58%, 250px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--test-accent) 32%, transparent);
  border-radius: 50%;
}

.test-hero__orbit--left { transform: translateX(-18%); }
.test-hero__orbit--right { transform: translateX(18%); }

.test-hero__icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(142px, 17vw, 205px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 34%;
  background: rgba(12, 9, 15, 0.56);
  box-shadow: 0 28px 60px rgba(4, 2, 7, 0.34), 0 0 50px var(--test-accent-soft);
  transform: rotate(-2deg);
}

.test-hero__icon img {
  width: 100%;
  height: 100%;
}

.test-hero__icon--stack::before,
.test-hero__icon--stack::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 8px -24px -8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34%;
  background: rgba(50, 34, 47, 0.62);
}

.test-hero__icon--stack::after {
  inset: 17px 24px -17px -24px;
  background: rgba(32, 27, 45, 0.64);
}

.test-hero__note {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(18, 13, 21, 0.84);
  color: rgba(246, 234, 239, 0.82);
  box-shadow: 0 16px 34px rgba(4, 2, 7, 0.26);
  font-size: 0.7rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.test-hero__note--one { top: 24%; left: 3%; }
.test-hero__note--two { right: 2%; bottom: 22%; }

.test-section,
.test-flow {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 30px;
  background: rgba(20, 15, 23, 0.82);
}

.test-section--soft {
  background:
    radial-gradient(circle at 90% 5%, var(--test-accent-soft), transparent 30%),
    rgba(24, 17, 26, 0.9);
}

.test-landing-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(20px, 3vw, 28px);
}

.test-landing-intro .test-hero__lead {
  max-width: 760px;
}

.test-landing-intro .test-facts {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.test-section__heading {
  display: grid;
  max-width: 740px;
  gap: 9px;
}

.test-section__heading h2,
.test-final-cta h2 {
  margin: 0;
  color: var(--test-ink);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.test-section__heading > p:not(.hero-panel__eyebrow),
.test-final-cta p,
.test-guide__note {
  margin: 0;
  color: var(--test-muted);
  line-height: 1.58;
}

.test-outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.test-outcome-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 190px;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.test-outcome-card > span {
  color: var(--test-accent-strong);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.test-outcome-card h3,
.test-dimension h3 {
  margin: 0;
  color: var(--test-ink);
  font-size: 1rem;
  line-height: 1.25;
}

.test-outcome-card p,
.test-dimension p,
.test-guide__text p {
  margin: 0;
  color: var(--test-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.test-dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.test-dimension {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background: rgba(9, 8, 12, 0.28);
}

.test-dimension > i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: var(--test-accent-soft);
  color: var(--test-accent-strong);
}

.test-dimension svg { width: 17px; height: 17px; fill: currentColor; }
.test-dimension div { display: grid; gap: 5px; }

.test-flow__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.test-flow__steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.test-flow__steps b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--test-accent-soft);
  color: var(--test-accent-strong);
}

.test-flow__steps div { display: grid; gap: 5px; }
.test-flow__steps strong { color: var(--test-ink); font-size: 0.9rem; }
.test-flow__steps span { color: var(--test-muted); font-size: 0.78rem; line-height: 1.5; }

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

.test-result-access > div {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.035);
}

.test-result-access > div:last-child {
  border-color: color-mix(in srgb, var(--test-accent) 30%, transparent);
  background: var(--test-accent-soft);
}

.test-result-access span { color: var(--test-accent-strong); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.test-result-access strong { color: var(--test-ink); font-size: 1rem; }
.test-result-access p { margin: 0; color: var(--test-muted); font-size: 0.82rem; line-height: 1.52; }

.test-guide__text {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.test-guide__text p {
  padding: 20px;
  border-left: 2px solid color-mix(in srgb, var(--test-accent) 52%, transparent);
  background: rgba(255, 255, 255, 0.025);
}

.test-catalog-grid,
.test-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.test-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.test-catalog-card {
  --test-accent: #d99ab3;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 25px;
  background:
    radial-gradient(circle at 8% 15%, var(--test-accent-soft), transparent 34%),
    rgba(22, 16, 24, 0.9);
}

.test-catalog-card--ember { --test-accent: #e58e8a; --test-accent-soft: rgba(229, 142, 138, 0.13); }
.test-catalog-card--violet { --test-accent: #b39bd8; --test-accent-soft: rgba(179, 155, 216, 0.13); }
.test-catalog-card--blue { --test-accent: #9baed1; --test-accent-soft: rgba(155, 174, 209, 0.13); }
.test-catalog-card--pink { --test-accent: #d79fc4; --test-accent-soft: rgba(215, 159, 196, 0.13); }
.test-catalog-card--mint { --test-accent: #8ebfb4; --test-accent-soft: rgba(142, 191, 180, 0.13); }
.test-catalog-card--gold { --test-accent: #c8ad82; --test-accent-soft: rgba(200, 173, 130, 0.13); }

.test-catalog-card__main {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}

.test-catalog-card__icon {
  display: grid;
  width: 106px;
  aspect-ratio: 1;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.test-catalog-card__icon img { width: 82px; height: 82px; }
.test-catalog-card__copy { display: grid; gap: 7px; }
.test-catalog-card__copy small { color: color-mix(in srgb, var(--test-accent) 85%, #fff 15%); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.test-catalog-card__copy strong { color: var(--test-ink); font-size: 1.15rem; line-height: 1.2; }
.test-catalog-card__copy > span { display: -webkit-box; overflow: hidden; color: var(--test-muted); font-size: 0.78rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.test-inline-cta {
  width: fit-content;
  min-height: 47px;
  margin: 0 22px 22px 152px;
  padding: 6px 7px 6px 17px;
  font-size: 0.8rem;
}

.test-inline-cta i { width: 32px; height: 32px; }

.test-catalog-card--compact .test-catalog-card__main {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 13px;
  padding: 17px;
}

.test-catalog-card--compact .test-catalog-card__icon { width: 70px; }
.test-catalog-card--compact .test-catalog-card__icon img { width: 58px; height: 58px; }
.test-catalog-card--compact .test-catalog-card__copy > span { -webkit-line-clamp: 2; }
.test-catalog-card--compact .test-inline-cta { margin: 0 17px 17px 104px; }

.test-faq {
  display: grid;
  gap: 9px;
}

.test-faq details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.test-faq summary {
  position: relative;
  padding: 18px 54px 18px 18px;
  color: var(--test-ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  list-style: none;
}

.test-faq summary::-webkit-details-marker { display: none; }
.test-faq summary::after { content: '+'; position: absolute; top: 50%; right: 18px; color: var(--test-accent-strong); font-size: 1.4rem; font-weight: 500; transform: translateY(-50%); }
.test-faq details[open] summary::after { content: '−'; }
.test-faq details p { margin: 0; padding: 0 18px 18px; color: var(--test-muted); font-size: 0.84rem; line-height: 1.55; }

.test-final-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 30%, var(--test-accent-soft), transparent 34%),
    rgba(27, 18, 27, 0.92);
}

.test-final-cta > img { width: 82px; height: 82px; }
.test-final-cta > div { display: grid; gap: 7px; }
.test-final-cta h2 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.test-final-cta p:not(.hero-panel__eyebrow) { font-size: 0.84rem; }

@media (max-width: 1100px) {
  .test-outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .test-related-grid { grid-template-columns: 1fr; }
  .test-related-grid .test-catalog-card--compact .test-catalog-card__copy > span { -webkit-line-clamp: 3; }
}

@media (max-width: 980px) {
  .test-landing { padding-bottom: 100px; }
  .test-hero { grid-template-columns: 1fr; min-height: 0; }
  .test-hero__copy { padding: 30px 26px 12px; }
  .test-hero__visual { min-height: 300px; }
  .test-hero__note--one { left: 12%; }
  .test-hero__note--two { right: 10%; }
  .test-catalog-grid { grid-template-columns: 1fr; }
  .test-guide__text { grid-template-columns: 1fr; }
  .test-final-cta { grid-template-columns: auto minmax(0, 1fr); }
  .test-final-cta .test-primary-cta { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 680px) {
  .test-landing-page .topbar .session-pill__info { display: none; }
  .test-landing-page .topbar .landing-pill { width: auto; min-width: 96px; justify-content: center; padding-left: 7px; }
  .test-landing { gap: 14px; }
  .test-hero,
  .test-section,
  .test-flow,
  .test-final-cta { border-radius: 24px; }
  .test-hero__copy { gap: 12px; padding: 24px 20px 10px; }
  .test-hero h1 { max-width: none; font-size: clamp(1.5rem, 6.4vw, 1.9rem); line-height: 1.09; letter-spacing: -0.027em; }
  .test-hero__lead { font-size: 0.9rem; line-height: 1.55; }
  .test-primary-cta { width: 100%; min-height: 52px; }
  .test-hero__visual { min-height: 240px; }
  .test-hero__icon { width: 132px; border-radius: 30%; }
  .test-hero__orbit { width: 154px; }
  .test-hero__note { padding: 7px 10px; font-size: 0.61rem; }
  .test-hero__note--one { top: 17%; left: 5%; }
  .test-hero__note--two { right: 4%; bottom: 18%; }
  .test-hub-hero--direct .test-hero__copy { min-height: 0; padding: 22px 20px; }
  .test-landing-intro { display: grid; gap: 14px; padding: 18px; }
  .test-landing-intro .test-facts { justify-content: flex-start; }
  .test-section,
  .test-flow { gap: 18px; padding: 22px 18px; }
  .test-section__heading h2 { font-size: 1.35rem; line-height: 1.12; }
  .test-outcome-grid,
  .test-dimension-grid,
  .test-flow__steps,
  .test-result-access { grid-template-columns: 1fr; }
  .test-outcome-card { min-height: 0; padding: 17px; }
  .test-flow__steps li { padding: 15px; }
  .test-catalog-card__main { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding: 17px; }
  .test-catalog-card__icon { width: 76px; }
  .test-catalog-card__icon img { width: 62px; height: 62px; }
  .test-catalog-card__copy strong { font-size: 1rem; }
  .test-catalog-card__copy > span { font-size: 0.72rem; -webkit-line-clamp: 3; }
  .test-inline-cta,
  .test-catalog-card--compact .test-inline-cta { width: calc(100% - 34px); margin: 0 17px 17px; }
  .test-final-cta { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 20px 18px; }
  .test-final-cta > img { width: 58px; height: 58px; }
  .test-final-cta h2 { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .test-primary-cta,
  .test-inline-cta { transition: none; }
}
