/* ==========================================================================
   The brand page only (index.html). Everything it shows comes from
   atlas.css and colors.js in this folder; the margins come from
   atlas.css (the page frame).
   ========================================================================== */

body { text-align: left; }
h1, h2 { font-family: 'ADLaM Display', 'Varela Round', sans-serif; font-weight: 400; color: var(--text-primary); }
h1 { font-size: 2rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.4rem; margin: 3rem 0 0.5rem; }
p { color: var(--text-secondary); line-height: 1.55; max-width: 70ch; }
.note { font-size: 0.9rem; color: var(--text-muted); }
code { font-size: 0.88em; background: var(--bg-tertiary); padding: 0.05em 0.3em; border-radius: 4px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: 12px; margin-top: 1rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border-color); vertical-align: top; text-align: left; }
th { background: var(--bg-secondary); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
.chip { display: inline-block; width: 2.25rem; height: 2.25rem; border-radius: 8px; border: 1px solid rgba(0,0,0,0.08); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; white-space: nowrap; }
.pill { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 9999px; font-weight: 700; white-space: nowrap; }
.pass { color: #166534; font-weight: 700; }
.fail { color: #B91C1C; font-weight: 700; }
.ratio { white-space: nowrap; }

.checks li { margin: 0.35rem 0; line-height: 1.45; }
.checks ul { margin: 0.25rem 0 0.5rem; }

@media (max-width: 760px) {
  h1 { font-size: 1.6rem; }
}

.wheel-box { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 2rem; align-items: start; margin-top: 1rem; }
.wheel-controls fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.4rem; color: var(--text-secondary); }
.wheel-controls legend { font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.75rem; }

@media (max-width: 760px) {
  .wheel-box { grid-template-columns: 1fr; }
}
