.diytest-page {
  --diy-ink: #173d5c;
  --diy-muted: #637d91;
  --diy-teal: #079eaa;
  --diy-orange: #f36a43;
  color: var(--diy-ink);
  overflow: hidden;
}
.diytest-page *, .diytest-page *::before, .diytest-page *::after { box-sizing: border-box; }
.diytest-page .diytest-hero { position: relative; isolation: isolate; overflow: hidden; padding: 36px 0 40px; background: linear-gradient(112deg, #eef9fc 0%, #f5f7ff 59%, #e8f8f6 100%); }
.diytest-page .diytest-hero::before { position: absolute; z-index: -1; top: -240px; right: -100px; width: 520px; height: 520px; border: 1px solid rgba(7, 158, 170, .15); border-radius: 50%; content: ""; }
.diytest-page .diytest-hero__container, .diytest-page .diytest-tests-container { width: min(100% - 40px, 1520px); max-width: 1520px; margin-right: auto; margin-left: auto; padding: 0; }
.diytest-page .diytest-hero__container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 55px; align-items: center; }
.diytest-page .diytest-hero__copy { max-width: 600px; }
.diytest-page .diytest-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #078b98; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.diytest-page .diytest-eyebrow > span { color: #e9ac2e; font-size: 15px; }
.diytest-page .diytest-hero h1 { margin: 16px 0 14px; color: var(--diy-ink); font-size: clamp(40px, 5vw, 62px); font-weight: 760; letter-spacing: -.04em; line-height: 1.02; text-align: left; }
.diytest-page .diytest-hero h1 em { color: var(--diy-teal); font-style: normal; }
.diytest-page .diytest-hero__copy p { max-width: 560px; margin: 0; color: var(--diy-muted); font-size: 15px; line-height: 1.7; }
.diytest-page .diytest-hero__copy .diytest-hero__lead { margin-bottom: 9px; color: #385a76; font-size: 18px; font-weight: 550; line-height: 1.55; }
.diytest-page .diytest-hero__button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; padding: 0 21px; border-radius: 999px; background: linear-gradient(100deg, #ff7548, #f35a32); box-shadow: 0 9px 22px rgba(236, 91, 50, .22); color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.diytest-page .diytest-hero__button:hover { transform: translateY(-2px); box-shadow: 0 13px 26px rgba(236, 91, 50, .29); color: #fff; text-decoration: none; }
.diytest-page .diytest-hero__button:focus-visible, .diytest-page .diytest-item:focus-visible { outline: 3px solid rgba(7, 158, 170, .42); outline-offset: 4px; }
.diytest-page .diytest-hero__button span { font-size: 18px; }
.diytest-page .diytest-hero__note { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 16px; color: #58758b; font-size: 12px; }
.diytest-page .diytest-hero__note span:first-child { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #d9f2e9; color: #168568; font-weight: 900; }
.diytest-page .diytest-hero__visual { position: relative; display: grid; min-height: 345px; place-items: center; }
.diytest-page .diytest-hero__visual > img { position: relative; z-index: 1; display: block; width: min(100%, 440px); max-height: 360px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(54, 47, 92, .13)); }
.diytest-page .diytest-hero__orb { position: absolute; display: block; border-radius: 50%; }
.diytest-page .diytest-hero__orb--one { width: 275px; height: 275px; background: rgba(255,255,255,.68); }
.diytest-page .diytest-hero__orb--two { right: 8%; bottom: 7%; width: 75px; height: 75px; background: #ffe7c9; }
.diytest-page .diytest-hero__caption { position: absolute; z-index: 2; right: 0; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #e0eaf0; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 8px 20px rgba(32, 83, 110, .09); color: #506d83; font-size: 12px; font-weight: 650; line-height: 1.4; }
.diytest-page .diytest-hero__caption > span { font-size: 23px; }

.diytest-page .diytest-tests-section { padding: 48px 0 54px; background: #fff; }
.diytest-page .diytest-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 21px; }
.diytest-page .diytest-section-heading > div { max-width: 610px; }
.diytest-page .diytest-section-heading h2 { margin: 8px 0 0; color: var(--diy-ink); font-size: clamp(27px, 3vw, 37px); font-weight: 760; letter-spacing: -.025em; line-height: 1.15; }
.diytest-page .diytest-section-heading > p { max-width: 415px; margin: 0 0 3px; color: var(--diy-muted); font-size: 13px; line-height: 1.65; }
.diytest-page .diytest-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #dfe9ed; border-bottom: 1px solid #dfe9ed; }
.diytest-page .diytest-item { display: flex; min-width: 0; min-height: 275px; flex-direction: column; align-items: flex-start; padding: 22px 21px; color: inherit; text-decoration: none; transition: background-color .18s ease; }
.diytest-page .diytest-item + .diytest-item { border-left: 1px solid #dfe9ed; }
.diytest-page .diytest-item:hover { background: #f7fbfc; text-decoration: none; }
.diytest-page .diytest-item__number { color: #8299aa; font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.diytest-page .diytest-item__icon { display: grid; width: 62px; height: 62px; margin: 14px 0 16px; place-items: center; border-radius: 18px; background: #e9f7f7; }
.diytest-page .diytest-item:nth-child(4n + 2) .diytest-item__icon { background: #fff4e5; }
.diytest-page .diytest-item:nth-child(4n + 3) .diytest-item__icon { background: #f0edff; }
.diytest-page .diytest-item:nth-child(4n + 4) .diytest-item__icon { background: #eaf3ff; }
.diytest-page .diytest-item__icon img { display: block; width: 39px; height: 39px; object-fit: contain; }
.diytest-page .diytest-item__copy { display: block; }
.diytest-page .diytest-item__copy strong { display: block; margin-bottom: 7px; color: var(--diy-ink); font-size: 16px; font-weight: 750; line-height: 1.35; }
.diytest-page .diytest-item__copy > span { display: block; color: var(--diy-muted); font-size: 12px; line-height: 1.6; }
.diytest-page .diytest-item__button { display: inline-flex; min-height: 41px; align-items: center; justify-content: center; gap: 10px; margin-top: auto; padding: 0 15px; border: 1px solid var(--diy-teal); border-radius: 999px; background: var(--diy-teal); box-shadow: 0 6px 14px rgba(7, 142, 156, .16); color: #fff; font-size: 12px; font-weight: 800; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.diytest-page .diytest-item__button > span { font-size: 17px; transition: transform .18s ease; }
.diytest-page .diytest-item:hover .diytest-item__button { transform: translateY(-1px); background: #087f8e; box-shadow: 0 9px 18px rgba(7, 142, 156, .22); }
.diytest-page .diytest-item:hover .diytest-item__button > span { transform: translateX(3px); }
.diytest-page .diytest-closing { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 19px 0 0; color: #62788c; font-size: 13px; text-align: center; }
.diytest-page .diytest-closing > span { color: #e6aa27; }

@media (max-width: 991px) {
  .diytest-page .diytest-hero__container { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 25px; }
  .diytest-page .diytest-hero__visual { min-height: 290px; }
  .diytest-page .diytest-hero__visual > img { max-height: 300px; }
  .diytest-page .diytest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diytest-page .diytest-item:nth-child(odd) { border-left: 0; }
  .diytest-page .diytest-item:nth-child(n + 3) { border-top: 1px solid #dfe9ed; }
}
@media (max-width: 767px) {
  .diytest-page .diytest-hero { padding: 25px 0 29px; }
  .diytest-page .diytest-hero__container { grid-template-columns: 1fr; gap: 0; }
  .diytest-page .diytest-hero__copy { text-align: center; }
  .diytest-page .diytest-hero h1 { font-size: clamp(37px, 10vw, 50px); }
  .diytest-page .diytest-hero__copy p { margin-right: auto; margin-left: auto; }
  .diytest-page .diytest-hero__note { justify-content: center; }
  .diytest-page .diytest-hero__visual { min-height: 210px; }
  .diytest-page .diytest-hero__visual > img { width: min(78%, 320px); max-height: 230px; }
  .diytest-page .diytest-hero__orb--one { width: 190px; height: 190px; }
  .diytest-page .diytest-hero__caption { right: 4px; bottom: 0; }
  .diytest-page .diytest-tests-section { padding: 36px 0 43px; }
  .diytest-page .diytest-section-heading { display: block; margin-bottom: 16px; }
  .diytest-page .diytest-section-heading > p { margin-top: 8px; }
}
@media (max-width: 480px) {
  .diytest-page .diytest-hero__container, .diytest-page .diytest-tests-container { width: min(100% - 28px, 440px); }
  .diytest-page .diytest-list { grid-template-columns: 1fr; }
  .diytest-page .diytest-item { display: grid; grid-template-columns: 28px 52px minmax(0, 1fr); gap: 0 12px; min-height: 0; padding: 18px 3px; }
  .diytest-page .diytest-item + .diytest-item { border-top: 1px solid #dfe9ed; border-left: 0; }
  .diytest-page .diytest-item__number { grid-row: 1 / span 2; padding-top: 3px; }
  .diytest-page .diytest-item__icon { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
  .diytest-page .diytest-item__icon img { width: 32px; height: 32px; }
  .diytest-page .diytest-item__copy { grid-column: 3; }
  .diytest-page .diytest-item__copy strong { font-size: 15px; }
  .diytest-page .diytest-item__button { grid-column: 3; justify-self: start; min-height: 37px; margin-top: 11px; }
  .diytest-page .diytest-closing { align-items: flex-start; font-size: 12px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .diytest-page *, .diytest-page *::before, .diytest-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
