.test-landing {
  background: #fff;
}

.test-landing .site-header {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(227, 229, 239, .9);
  box-shadow: 0 8px 32px rgba(31, 33, 67, .05);
}

.test-landing .desktop-nav a[aria-current="page"] {
  color: var(--primary);
}

.test-landing .desktop-nav a[aria-current="page"]::after {
  width: 100%;
}

.test-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 76px;
  background:
    radial-gradient(circle at 84% 22%, color-mix(in srgb, var(--accent, var(--primary)) 14%, transparent), transparent 32%),
    linear-gradient(180deg, #fbfbff 0%, #f6f7fb 100%);
}

.test-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(#c9c5ea 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}

.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 30px;
  color: var(--ink-faint);
  font-size: 12px;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--primary);
}

.breadcrumb span[aria-hidden="true"] {
  color: #b4b8c8;
}

.test-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr);
  align-items: center;
  gap: 82px;
}

.test-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--primary)) 25%, #fff);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--primary)) 8%, #fff);
  color: var(--accent, var(--primary));
  font-size: 13px;
  font-weight: 800;
}

.test-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 12%, transparent);
}

.test-hero h1 {
  max-width: 800px;
  margin: 19px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.36;
  letter-spacing: -.035em;
}

.test-hero-lead {
  max-width: 760px;
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2.05;
}

.test-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 29px;
  padding: 0;
  list-style: none;
}

.test-facts li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .82);
  color: #4e5871;
  font-size: 12px;
  font-weight: 700;
}

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

.test-hero-actions .button-primary {
  background: var(--accent, var(--primary));
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent, var(--primary)) 28%, transparent);
}

.test-hero-actions .button-primary:hover {
  background: color-mix(in srgb, var(--accent, var(--primary)) 84%, #000);
}

.test-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.test-visual::before,
.test-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.test-visual::before {
  width: 390px;
  height: 390px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--primary)) 20%, transparent);
}

.test-visual::after {
  width: 310px;
  height: 310px;
  border: 1px dashed color-mix(in srgb, var(--accent, var(--primary)) 32%, transparent);
}

.test-visual-card {
  position: relative;
  z-index: 1;
  width: 280px;
  min-height: 280px;
  display: grid;
  place-content: center;
  padding: 35px;
  border: 1px solid #e1e2ee;
  border-radius: 34px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.test-visual-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  border-radius: 31px;
  background: color-mix(in srgb, var(--accent, var(--primary)) 12%, #fff);
  color: var(--accent, var(--primary));
  font: 800 35px/1 Arial, sans-serif;
  direction: ltr;
}

.test-visual-mark svg {
  width: 62px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.test-visual-card strong {
  font-size: 19px;
}

.test-visual-card span {
  margin-top: 7px;
  color: var(--ink-faint);
  font-size: 12px;
}

.test-content-section {
  contain: layout paint;
  padding: 86px 0;
}

.test-content-section.alt {
  background: var(--canvas);
}

.content-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.content-heading .section-kicker {
  display: block;
  margin-bottom: 8px;
}

.content-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.5;
}

.content-heading p,
.prose p {
  color: var(--ink-soft);
  line-height: 2.05;
}

.dimension-grid,
.info-grid,
.related-grid {
  display: grid;
  gap: 16px;
}

.dimension-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dimension-card,
.info-card,
.related-card {
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
}

.dimension-card {
  position: relative;
  overflow: hidden;
  padding: 25px 26px;
}

.dimension-card::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 4px;
  background: var(--card-accent, var(--accent, var(--primary)));
}

.dimension-card h3,
.info-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.dimension-card p,
.info-card p,
.related-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.info-card p a,
.prose a,
.notice-card p a,
.test-faq p a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.info-card p a:hover,
.prose a:hover,
.notice-card p a:hover,
.test-faq p a:hover {
  text-decoration-thickness: 2px;
}

.dimension-code {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  margin-inline-end: 7px;
  padding-inline: 7px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--card-accent, var(--accent, var(--primary))) 11%, #fff);
  color: var(--card-accent, var(--accent, var(--primary)));
  font: 800 13px Arial, sans-serif;
  direction: ltr;
}

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

.info-card {
  padding: 25px;
}

.info-number {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 17px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent, var(--primary)) 11%, #fff);
  color: var(--accent, var(--primary));
  font-weight: 800;
}

.notice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  padding: 25px 27px;
  border: 1px solid #eeddbd;
  border-radius: 20px;
  background: #fffaf0;
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: #fff0d2;
  color: #a66417;
  font-size: 22px;
  font-weight: 800;
}

.notice-card h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.notice-card p {
  margin: 0;
  color: #6f604a;
  font-size: 13px;
  line-height: 2;
}

.test-faq {
  display: grid;
  gap: 11px;
  max-width: 900px;
}

.test-faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.test-faq summary {
  padding: 19px 21px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
}

.test-faq details p {
  margin: 0 21px 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
}

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

.related-card {
  display: block;
  padding: 22px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.related-card:hover {
  border-color: color-mix(in srgb, var(--accent, var(--primary)) 32%, #fff);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.related-card strong {
  display: block;
  margin-bottom: 6px;
}

.test-final-cta {
  contain: layout paint;
  padding: 74px 0;
  background: #fff;
}

.test-final-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
  padding: 42px 48px;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
}

.test-final-cta-card h2 {
  margin-bottom: 7px;
  font-size: 29px;
}

.test-final-cta-card p {
  margin: 0;
  color: #bbc2d2;
}

.collection-hero .test-hero-grid {
  grid-template-columns: 1fr;
}

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

.collection-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.collection-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card-accent, var(--primary)) 30%, #fff);
  box-shadow: var(--shadow-md);
}

.collection-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.collection-card p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.collection-card .test-meta {
  position: static;
  margin-top: auto;
}

.collection-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--card-accent, var(--primary)) 11%, #fff);
  color: var(--card-accent, var(--primary));
  font: 800 21px Arial, sans-serif;
  direction: ltr;
}

.simple-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fbfbff, #f2f3f9);
}

.error-page {
  width: min(calc(100% - 32px), 650px);
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.error-page .brand {
  justify-content: center;
}

.error-code {
  margin: 38px 0 0;
  color: var(--primary);
  font: 800 74px/1 Tahoma, sans-serif;
}

.error-page h1 {
  margin: 14px 0 9px;
  font-size: 34px;
}

.error-page > p:not(.error-code) {
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.error-page .hero-actions {
  justify-content: center;
}

@media (max-width: 860px) {
  .test-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .test-visual {
    min-height: 340px;
  }

  .test-visual::before {
    width: 330px;
    height: 330px;
  }

  .test-visual::after {
    width: 270px;
    height: 270px;
  }

  .test-visual-card {
    width: 245px;
    min-height: 245px;
  }

  .info-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .test-hero {
    padding: 104px 0 55px;
  }

  .breadcrumb {
    margin-bottom: 23px;
    font-size: 11px;
  }

  .test-hero h1 {
    font-size: 37px;
  }

  .test-hero-lead {
    font-size: 14px;
  }

  .test-hero-actions {
    display: grid;
  }

  .test-hero-actions .button {
    width: 100%;
  }

  .test-visual {
    min-height: 290px;
  }

  .test-visual::before {
    width: 280px;
    height: 280px;
  }

  .test-visual::after {
    width: 225px;
    height: 225px;
  }

  .test-visual-card {
    width: 215px;
    min-height: 215px;
    padding: 25px;
  }

  .test-visual-mark {
    width: 88px;
    height: 88px;
    margin-bottom: 17px;
    border-radius: 25px;
    font-size: 28px;
  }

  .test-content-section {
    padding: 64px 0;
  }

  .dimension-grid {
    grid-template-columns: 1fr;
  }

  .dimension-card,
  .info-card {
    padding: 21px;
  }

  .notice-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .test-final-cta-card {
    grid-template-columns: 1fr;
    padding: 32px 23px;
    text-align: center;
  }

  .test-final-cta-card .button {
    width: 100%;
  }

  .collection-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 23px;
  }

  .collection-mark {
    order: -1;
  }

  .error-page {
    padding: 38px 21px;
  }
}
