/* The skills list, ported from components/variants/SkillsPage.module.css.
   Loaded after tokens.css and chrome.css. */

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.sectionHead {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.75;
  color: var(--text-2);
  margin: 0;
}

/* Ordered for semantics and for the numbered index; the native marker is suppressed because
   .index already renders the number, and two of them ship as "1. 01". */
.list {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: clamp(1.35rem, 3vw, 2.1rem);
}

/* The index is decoration; it must never be the only thing carrying the ordering. */
.index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: 0.6rem;
}

.headline {
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  line-height: 1.32;
  font-weight: 650;
  color: var(--text-1);
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

.body {
  font-size: 0.985rem;
  line-height: 1.72;
  color: var(--text-2);
  margin: 0 0 1.25rem;
  max-width: 68ch;
}

.rows {
  display: grid;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

@media (max-width: 560px) {
  .row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.rowKey {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
}

.rowVal {
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-2);
  margin: 0;
}

/* The limit is the point of the page, so it is typographically equal to the claim, never
   demoted to a caveat. Only the key is tinted. */
.limitKey {
  color: var(--warning);
}

.evidenceLink {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

.evidenceLink:hover {
  border-bottom-color: var(--accent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.15rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.24rem 0.6rem;
}

.outro {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  border-left: 2px solid var(--border);
  padding: 0.35rem 0 0.35rem clamp(1rem, 2.5vw, 1.6rem);
  max-width: 72ch;
}

.outroTitle {
  font-size: 1.02rem;
  font-weight: 620;
  color: var(--text-1);
  margin: 0 0 0.6rem;
}

.outroBody {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-2);
  margin: 0;
}
