.atlas-intro h1 {
  font-size: clamp(2rem, 7.5vw, 4.5rem);
  overflow-wrap: anywhere;
}

.atlas-section,
.atlas-detail {
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.atlas-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.atlas-heading h2 {
  margin: 0;
}

.atlas-heading > p {
  max-width: 36rem;
  color: var(--text-muted);
}

.atlas-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--surface);
}

.atlas-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.atlas-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.atlas-table th,
.atlas-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.atlas-table tbody tr:last-child th,
.atlas-table tbody tr:last-child td {
  border-bottom: 0;
}

.atlas-table thead {
  background: var(--surface-strong);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.atlas-table tbody th {
  font-weight: 650;
}

.atlas-table tbody a {
  color: var(--accent);
}

.atlas-note,
.atlas-source {
  color: var(--text-muted);
}

.atlas-source {
  font-size: 0.9rem;
}

.atlas-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 0.8fr);
  gap: 1.25rem;
  align-items: stretch;
}

.atlas-detail .content-card {
  min-width: 0;
}

.atlas-schematic {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  margin-block: 1.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--background-raised);
  font-weight: 650;
}

.atlas-schematic span:first-child,
.atlas-schematic span:last-child {
  flex: 0 1 auto;
}

.atlas-schematic-line {
  flex: 1 1 2rem;
  min-width: 1.2rem;
  height: 2px;
  background: var(--accent);
}

.atlas-back {
  padding-bottom: 4rem;
}

@media (max-width: 48rem) {
  .atlas-heading,
  .atlas-detail {
    display: block;
  }

  .atlas-heading > p {
    margin-top: 1rem;
  }

  .atlas-detail .content-card + .content-card {
    margin-top: 1.25rem;
  }
}

@media (max-width: 36rem) {
  .atlas-table th,
  .atlas-table td {
    padding: 0.75rem 0.65rem;
  }

  .atlas-schematic {
    padding: 0.8rem;
    gap: 0.5rem;
    font-size: 0.88rem;
  }
}
