.test-types-page {
  background: #fff;
}

.test-types-main {
  flex: 1;
  width: 100%;
}

.test-types-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .test-types-inner {
    padding: 0 16px;
  }
}

/* Hero */
.test-types-hero {
  padding: 120px 0 72px;
  text-align: center;
}
.test-types-hero__eyebrow {
  margin: 0 0 14px;
  color: #0080ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.test-types-hero h1 {
  margin: 0 auto 16px;
  max-width: 640px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.04em;
}
.test-types-hero__desc {
  margin: 0 auto;
  max-width: 560px;
  color: #667085;
  font-size: 16px;
  line-height: 1.75;
}
@media (max-width: 768px) {
  .test-types-hero {
    padding: 104px 0 48px;
    text-align: left;
  }
  .test-types-hero h1 {
    font-size: 28px;
  }
  .test-types-hero__desc {
    font-size: 14px;
  }
}

/* Domains */
.tt-domains {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}
.tt-domains__inner {
  max-width: 920px;
}
.tt-domains h2 {
  margin: 0 0 12px;
  color: #0b1f33;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.tt-domains__desc {
  margin: 0 0 24px;
  max-width: 720px;
  color: #475467;
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.tt-domains__groups {
  display: grid;
  gap: 0;
}
.tt-domain-group {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid #eef0f3;
}
.tt-domain-group:last-child {
  padding-bottom: 0;
}
.tt-domain-group__label {
  margin: 0 0 6px;
  color: #0080ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tt-domain-group h3 {
  margin: 0 0 6px;
  color: #0b1f33;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.tt-domain-group__note {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}
.tt-domain-group__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  align-items: flex-start;
}
.tt-domain-group__list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 108px;
  padding: 4px 18px;
  color: #0b1f33;
  text-align: center;
}
.tt-domain-group__list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: #e4e7ec;
}
.tt-domain-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #0080ff;
}
.tt-domain-item__icon svg {
  display: block;
  width: 40px;
  height: 40px;
}
.tt-domain-item__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  word-break: keep-all;
}
@media (max-width: 768px) {
  .tt-domains {
    padding: 56px 0;
  }
  .tt-domains h2 {
    font-size: 22px;
  }
  .tt-domains__desc {
    margin-bottom: 20px;
    font-size: 14px;
  }
  .tt-domain-group {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .tt-domain-group h3 {
    font-size: 16px;
  }
  .tt-domain-group__list {
    gap: 4px 0;
  }
  .tt-domain-group__list li {
    min-width: 96px;
    padding: 4px 12px;
    gap: 10px;
  }
  .tt-domain-group__list li + li::before {
    top: 8px;
    bottom: 8px;
  }
  .tt-domain-item__icon {
    width: 48px;
    height: 48px;
  }
  .tt-domain-item__icon svg {
    width: 34px;
    height: 34px;
  }
  .tt-domain-item__name {
    font-size: 12px;
  }
}

/* Chapters */
.test-types-series {
  padding-bottom: 40px;
}

.tt-chapter {
  padding: 96px 0;
  border-top: 1px solid #eef0f3;
  scroll-margin-top: 88px;
}
.tt-chapter--last {
  padding-bottom: 112px;
}
@media (max-width: 768px) {
  .tt-chapter {
    padding: 72px 0;
  }
  .tt-chapter--last {
    padding-bottom: 88px;
  }
}

.tt-chapter__num {
  margin: 0 0 10px;
  color: #0080ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.tt-chapter h2 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.tt-chapter__lead {
  margin: 0 0 40px;
  max-width: 720px;
  color: #475467;
  font-size: 16px;
  line-height: 1.75;
}
@media (max-width: 768px) {
  .tt-chapter h2 {
    font-size: 24px;
  }
  .tt-chapter__lead {
    margin-bottom: 28px;
    font-size: 14px;
  }
}

.tt-chapter__scope h3 {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tt-scope {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .tt-scope {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.tt-scope li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.tt-scope__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #101828;
}
.tt-scope__icon svg {
  width: 32px;
  height: 32px;
}

.tt-scope__label {
  max-width: 160px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

/* CTA uses shared .landing-wrap .cta-banner from landing.css */
