:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f3ff;
  background: #141318;
  --muted: #b9b5c5;
  --line: #373440;
  --accent: #d5baff;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid #b7ffd6; outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.nav { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.hero { padding-block: clamp(42px, 7vw, 76px) 30px; }
.platform { color: var(--accent); }
h1, h2 { margin: 0; line-height: 1.06; letter-spacing: -0.04em; }
h1 { font-size: clamp(3.15rem, 7vw, 6rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); }
.lede { color: var(--muted); font-size: 1.2rem; max-width: 42ch; }
.actions, .filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button, .filters button { border: 1px solid var(--line); border-radius: 9px; padding: 9px 14px; font: inherit; font-weight: 600; color: inherit; text-decoration: none; background: #222029; }
.primary, .filters button[aria-pressed="true"] { color: #241733; background: var(--accent); border-color: var(--accent); }
.button:hover, .filters button:hover { filter: brightness(1.17); }
.filters button { cursor: pointer; }
.dock-stage { position: sticky; top: 0; z-index: 2; display: grid; justify-items: center; gap: 4px; padding: 10px 0 14px; background: #141318; }
.color-demo button { scroll-margin-top: 122px; }
#dock-label { margin: 0; color: var(--muted); font-weight: 600; }
.dock { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; width: min(100%, 578px); padding: 5px clamp(4px, 2vw, 16px); border: 1px solid #ffffff32; border-radius: 20px; background: linear-gradient(180deg, #83818d4a, #57546245); box-shadow: inset 0 1px 0 #ffffff12, 0 14px 32px #0005; }
.dock img { display: block; justify-self: center; width: min(100%, 72px); height: auto; aspect-ratio: 1; }
.palette { border-top: 1px solid var(--line); padding-block: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
figure { margin: 0; }
figure button { width: 100%; height: 100%; font: inherit; color: inherit; border: 1px solid var(--line); border-radius: 14px; padding: 10px 4px; background: #1b1921; cursor: pointer; }
figure button:hover, figure button[aria-pressed="true"] { border-color: var(--accent); }
figure img { display: block; margin-inline: auto; }
figure span { font-size: .875rem; }
.section-head p { color: var(--muted); margin: 8px 0 0; }
.usage { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 35px; border-top: 1px solid var(--line); }
.usage p, .footer { color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding-block: 20px; }
@media (max-width: 720px) {
  .usage { grid-template-columns: 1fr; }
}
