/* ==========================================================================
   Design system note — extra styles for notas/design-system/index.html.
   Everything else comes from the tokens in ../../styles.css.
   ========================================================================== */

/* Both languages stay in the HTML; the inactive one is hidden. */
html[lang="en"] .pt,
html[lang="pt-BR"] .en {
  display: none !important;
}

.hero-kicker {
  color: var(--muted);
  margin-bottom: 24px;
}

.site-nav a[aria-current="true"] {
  color: var(--ink);
}

.ds-guide a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.ds-guide a:hover {
  text-decoration-color: var(--ink);
}

.ds-guide code {
  font-family: var(--mono);
  font-size: 0.86em;
}

.ds-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.ds-list li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.ds-list li em {
  color: var(--ink);
}

.scroll-x {
  overflow-x: auto;
}

.ds-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.ds-table th,
.ds-table td {
  padding: 10px 14px 10px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.ds-table th {
  font-family: var(--label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  vertical-align: -2px;
}

.ds-specimens {
  margin-top: 24px;
  display: grid;
  gap: 28px;
}

.specimen > .monospace-label {
  color: var(--muted);
  margin-bottom: 8px;
}

.specimen-sans {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.specimen-serif {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1;
}

.specimen-serif em {
  font-size: 1em;
}

.specimen-mono {
  color: var(--ink);
}

.ds-demo {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ds-guide pre {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.55;
}

.icon-gallery {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.icon-gallery li {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 8px 14px;
  background: var(--paper);
}

.icon-gallery .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.4;
}

.icon-gallery .monospace-label {
  font-size: 10px;
  color: var(--muted);
}

.ds-table td:first-child {
  white-space: nowrap;
}

.ds-list + p {
  margin-top: 16px;
}
