/* Style guide specific styles */
/* ------------------------------------- */

/* Color Reference */

.color-reference-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.color-reference-table-wrap {
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--card);
}

.color-reference-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.color-reference-table th,
.color-reference-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  text-align: left;
}

.color-reference-table th {
  color: var(--slate);
  font-family: var(--font-functional);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--bg-soft);
}

.color-reference-table td {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.color-reference-table tr:last-child td {
  border-bottom: 0;
}

.color-reference-table code {
  color: var(--text);
  font-size: .86rem;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: .18rem .36rem;
}

.color-swatch {
  display: inline-block;
  width: 74px;
  height: 34px;
  background: var(--swatch-color);
  border: 1px solid rgba(17, 21, 19, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
/* ------------------------------------- */

/* Typography Reference */

.typography-reference-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.typography-reference-table-wrap {
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--card);
}

.typography-reference-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.typography-reference-table th,
.typography-reference-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  text-align: left;
}

.typography-reference-table th {
  color: var(--slate);
  font-family: var(--font-functional);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--bg-soft);
}

.typography-reference-table td {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.typography-reference-table tr:last-child td {
  border-bottom: 0;
}

.typography-reference-table strong {
  color: var(--text);
  font-weight: 600;
}

.typography-reference-table code {
  display: inline-block;
  color: var(--text);
  font-size: .82rem;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: .18rem .36rem;
  margin-bottom: .22rem;
}

.typography-sample {
  display: block;
  color: var(--text);
  max-width: 280px;
}

.sample-playfair {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 600;
}

.sample-lora {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -.035em;
  font-style: italic;
}

.sample-montserrat {
  font-family: var(--font-functional);
  font-size: .76rem;
  line-height: 1.35;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}

.sample-manrope {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .98rem;
  line-height: 1.5;
  font-weight: 400;
}

/* ------------------------------------- */