.tech-overview {
  background: var(--dark);
  color: var(--paper);
  padding-block: clamp(36px, 6vw, 72px);
}

.tech-overview h1,
.tech-hero h1 {
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: .99;
  text-wrap: balance;
}

.tech-overview p {
  margin-top: 20px;
  max-width: 62ch;
  color: #f3e5e8;
  font-size: clamp(16px, 2vw, 20px);
}

.tech-list {
  padding-top: clamp(24px, 4vw, 48px);
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tech-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.tech-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8dfd3;
}

.tech-card-copy {
  padding: 18px;
}

.tech-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.tech-card a:hover h2,
.tech-card a:focus-visible h2 {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tech-card p,
.tech-info p,
.tech-faq p {
  color: var(--muted);
}

.tech-detail {
  padding-block: 22px 54px;
}

.tech-breadcrumb a,
.tech-related a,
.tech-sources a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tech-breadcrumb a {
  display: inline-block;
  padding-block: 8px;
  font-weight: 700;
}

.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  margin-block: 22px 45px;
}

.tech-hero h1 {
  font-size: clamp(38px, 5.4vw, 70px);
  text-wrap: wrap;
  overflow-wrap: break-word;
}

.tech-hero-copy p {
  max-width: 40ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.tech-hero figure {
  margin: 0;
  min-width: 0;
}

.tech-hero img {
  width: 100%;
  height: auto;
  background: #e8dfd3;
  border-radius: var(--radius);
}

.tech-hero figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .875rem;
}

.tech-detail h2 {
  font-size: clamp(26px, 3.2vw, 40px);
}

.tech-process > p {
  max-width: 76ch;
  margin: 12px 0 25px;
  color: var(--muted);
}

.tech-process h3,
.tech-info h3 {
  font-size: 22px;
}

.tech-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tech-steps li {
  position: relative;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 12px;
  background: var(--white);
}

.tech-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 8px;
  height: 8px;
  border: solid var(--green);
  border-width: 2px 2px 0 0;
  transform: translateY(-50%) rotate(45deg);
}

.tech-diagram {
  display: block;
  width: 112px;
  height: auto;
  margin-bottom: 4px;
}

.tech-steps strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.tech-steps p {
  color: var(--muted);
}

.tech-info {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: 26px 52px;
  margin-block: 48px;
}

.tech-info h3 {
  margin-top: 22px;
}

.tech-info p {
  margin-top: 10px;
}

.tech-quote {
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  background: #ffead8;
}

.tech-quote h2 {
  font-size: 25px;
}

.tech-quote .button {
  margin-top: 16px;
}

.tech-faq {
  max-width: 78ch;
}

.tech-faq h2 {
  margin-bottom: 16px;
}

.tech-faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.tech-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.tech-faq summary,
.tech-sources summary {
  cursor: pointer;
  font-weight: 700;
}

.tech-faq summary {
  padding-block: 4px;
}

.tech-faq p {
  margin-top: 8px;
  padding-left: 16px;
}

.tech-related {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-top: 34px;
}

.tech-related h2 {
  font-size: 21px;
}

.tech-sources {
  margin-top: 20px;
  color: var(--muted);
  font-size: .875rem;
}

.tech-sources ul {
  padding-left: 22px;
}

@media (max-width: 980px) {
  .tech-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .tech-hero, .tech-info {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-hero {
    margin-bottom: 34px;
  }

  .tech-hero-copy p {
    max-width: 55ch;
  }
}

@media (max-width: 640px) {
  .tech-overview-break {
    display: none;
  }

  .tech-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .tech-steps li:not(:last-child)::after {
    top: auto;
    bottom: -13px;
    left: 22px;
    right: auto;
    transform: rotate(135deg);
  }

  .tech-info {
    margin-block: 34px;
  }
}

@media (max-width: 520px) {
  .tech-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-card img {
    aspect-ratio: 16 / 9;
  }
}
