
:root {
  color-scheme: light;
  --ink: #17120e;
  --paper: #fffaf0;
  --canvas: #f2ead8;
  --line: rgba(23,18,14,.16);
  --gold: #f4c64a;
  --teal: #257f88;
  --rose: #c84f62;
  --shadow: 0 18px 44px rgba(33,24,15,.13);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Verdana, sans-serif;
  background:
    radial-gradient(circle at 7% 2%, rgba(244,198,74,.34), transparent 28rem),
    radial-gradient(circle at 92% 0%, rgba(37,127,136,.2), transparent 24rem),
    linear-gradient(135deg, #fffaf0 0%, #efe4ce 62%, #e4d2ad 100%);
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img, svg { display: block; }
button, input { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid rgba(23,18,14,.14);
  background: rgba(255,250,240,.9);
  backdrop-filter: blur(18px);
}
.header-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  min-width: 100%;
  padding: 12px 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(23,18,14,.28);
  background: conic-gradient(from 20deg, #c84f62, #f4c64a, #257f88, #7a5aa6, #c84f62);
  box-shadow: 0 0 0 4px rgba(255,255,255,.72);
}
.nav-scroll,
.locale-scroll,
.footer-links,
.object-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.locale-scroll {
  padding-left: 14px;
  border-left: 1px solid rgba(23,18,14,.16);
}
.nav-scroll a,
.locale-scroll a,
.chip,
.object-tabs a,
button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid rgba(23,18,14,.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.42);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.nav-scroll a:hover,
.locale-scroll a:hover,
.locale-scroll a[aria-current="true"],
.chip:hover,
.object-tabs a:hover,
.object-tabs a[aria-current="true"],
button:hover {
  background: #17120e;
  color: #fffaf0;
}
.locale-scroll a { min-height: 34px; font-size: 13px; }
.shell { width: min(calc(100% - 36px), 1220px); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1;
}
h1 { margin-top: 12px; font-size: 76px; }
h2 { font-size: 46px; }
h3 { font-size: 28px; }
p { line-height: 1.72; font-size: 17px; }
.lead { margin-top: 20px; font-size: 20px; line-height: 1.62; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5d3f18;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c84f62, var(--gold), #257f88);
  border: 1px solid rgba(23,18,14,.24);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 34px;
  align-items: center;
  padding: 52px 0 36px;
}
.hero-copy { padding: 10px 0; }
.hero-panel,
.tool-panel,
.soft-panel,
.intel-panel,
.scheme-card,
.preview-panel,
.game-card,
.compare-panel,
.compare-score {
  border: 1px solid rgba(23,18,14,.16);
  background: rgba(255,250,240,.72);
  box-shadow: var(--shadow);
  border-radius: 8px;
}
.hero-panel { overflow: hidden; transform: rotate(.4deg); }
.hero-panel img,
.object-preview img { width: 100%; height: auto; background: #eadcc1; }
.hero-card-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  background: #17120e;
  color: #fffaf0;
  font-weight: 900;
}
.swatch-pill { display: inline-flex; align-items: center; gap: 8px; }
.swatch-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8);
}
.search-box,
.compare-form {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
}
.compare-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; }
.search-box input,
.compare-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(23,18,14,.3);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255,255,255,.82);
  color: var(--ink);
  font-weight: 800;
}
.compare-form label { display: grid; gap: 8px; font-weight: 900; }
.search-box button,
.compare-form button {
  min-height: 54px;
  border-radius: 8px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 28px;
}
.stat,
.spec,
.language-item {
  padding: 14px;
  border: 1px solid rgba(23,18,14,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.46);
}
.stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}
.section { padding: 38px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}
.content-page { padding: 34px 0; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(23,18,14,.7);
}
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.color-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(23,18,14,.18);
  padding: 14px;
  color: var(--card-text);
  background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(0,0,0,.16)), var(--card-color);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(23,18,14,.13);
}
.color-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.42), transparent 28%),
    repeating-linear-gradient(-12deg, rgba(255,255,255,.09) 0 1px, transparent 1px 18px);
  opacity: .82;
}
.color-card > * { position: relative; }
.color-card strong { font-size: 18px; line-height: 1.15; }
.color-card span span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 800;
  opacity: .84;
}
.color-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  font-size: 13px;
  font-weight: 900;
}
.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.family-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(23,18,14,.16);
  color: #fffaf0;
  background: linear-gradient(135deg, var(--family-color), rgba(23,18,14,.82));
  text-decoration: none;
  box-shadow: var(--shadow);
}
.family-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}
.family-card span { font-weight: 900; }
.paint-lab {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr);
  gap: 24px;
  align-items: start;
}
.object-preview {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(23,18,14,.16);
  box-shadow: var(--shadow);
  background: rgba(255,250,240,.72);
}
.object-tabs {
  padding: 12px;
  overflow-x: auto;
  border-top: 1px solid rgba(23,18,14,.12);
  background: rgba(255,250,240,.78);
}
.tool-panel,
.soft-panel,
.intel-panel,
.scheme-card,
.preview-panel,
.compare-panel,
.compare-score,
.game-card {
  padding: 18px;
}
.tool-panel h1 {
  font-size: 68px;
  overflow-wrap: anywhere;
}
.spec-list,
.language-list,
.palette-row {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.spec-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.language-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.palette-row { grid-template-columns: repeat(4, minmax(0,1fr)); }
.spec span,
.language-item span {
  color: rgba(23,18,14,.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.spec strong,
.language-item strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.palette-swatch {
  min-height: 116px;
  display: flex;
  align-items: end;
  padding: 12px;
  border-radius: 8px;
  color: var(--palette-text);
  background: var(--palette-color);
  text-decoration: none;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.color-intel .intel-grid,
.intel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 16px;
}
.intel-panel,
.scheme-card,
.preview-panel { overflow: hidden; }
.intel-panel h3,
.scheme-card h3,
.preview-panel h3 { margin-bottom: 14px; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.data-table th,
.data-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(23,18,14,.12);
  text-align: left;
  overflow-wrap: anywhere;
}
.data-table th { font-weight: 900; }
.bar-list { display: grid; gap: 10px; }
.bar-row {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  font-weight: 900;
}
.bar-row div {
  position: relative;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(23,18,14,.14);
  border-radius: 6px;
  background: rgba(23,18,14,.08);
}
.bar-row i { position: absolute; inset: 0 auto 0 0; }
.bar-row b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-left: 10px;
  color: #17120e;
}
.swatch-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(23,18,14,.14);
}
.swatch-strip a {
  min-height: 82px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 10px 6px;
  color: var(--strip-text);
  background: var(--strip-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}
.scheme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 16px;
}
.preview-panel div {
  min-height: 230px;
  display: grid;
  place-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 18px;
}
.preview-panel span {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--preview-color);
  border: 1px solid rgba(255,255,255,.36);
}
.preview-panel p { color: var(--preview-text); font-weight: 800; }
.black-preview div { background: #000; }
.white-preview div { background: #fff; border: 1px solid rgba(23,18,14,.12); }
.code-panel pre {
  overflow-x: auto;
  border-radius: 8px;
  padding: 14px;
  background: rgba(23,18,14,.08);
  font-size: 14px;
}
.css-demo {
  margin-top: 14px;
  min-height: 92px;
  display: grid;
  place-items: center;
  color: var(--demo-color);
  border: 3px solid var(--demo-color);
  border-radius: 8px;
  box-shadow: 0 8px 28px var(--demo-shadow);
  font-weight: 900;
}
.access-list { display: grid; gap: 10px; }
.access-list div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(23,18,14,.06);
}
.access-list strong,
.access-list em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  font-style: normal;
  font-weight: 900;
}
.compare-board {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 28px;
}
.compare-swatch {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
  padding: 18px;
  color: var(--compare-text);
  background: linear-gradient(145deg, rgba(255,255,255,.32), rgba(0,0,0,.18)), var(--compare-color);
}
.compare-swatch strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}
.compare-swatch span { font-size: 20px; font-weight: 900; }
.compare-score {
  display: grid;
  place-content: center;
  text-align: center;
  gap: 8px;
  padding: 18px;
}
.compare-score strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 28px;
}
.game-card { display: grid; gap: 14px; }
.game-swatch {
  min-height: 210px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--game-text);
  background: radial-gradient(circle at 24% 18%, rgba(255,255,255,.42), transparent 28%), linear-gradient(145deg, rgba(255,255,255,.22), rgba(0,0,0,.2)), var(--game-color);
  font-size: 28px;
  font-weight: 900;
}
.game-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(23,18,14,.15);
  background: #17120e;
  color: #fffaf0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  padding: 34px 0;
}
.footer-links { flex-wrap: wrap; }
.footer-links a { color: #fffaf0; }
.empty {
  padding: 36px;
  border: 1px dashed rgba(23,18,14,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.42);
}
.prose {
  display: grid;
  gap: 16px;
}
@media (width <= 860px) {
  .hero,
  .paint-lab,
  .footer-grid,
  .intel-grid,
  .scheme-grid,
  .compare-form,
  .compare-board,
  .game-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 32px; }
  .section-head {
    display: grid;
    align-items: start;
  }
  .stats,
  .language-list,
  .spec-list,
  .palette-row {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 54px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
  .tool-panel h1 { font-size: 52px; }
  .lead { font-size: 18px; }
}
@media (width <= 520px) {
  .shell { width: min(calc(100% - 20px), 1220px); }
  .search-box { grid-template-columns: 1fr; }
  h1 { font-size: 42px; }
  h2 { font-size: 31px; }
  h3 { font-size: 22px; }
  .tool-panel h1 { font-size: 38px; }
  .color-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .color-card { min-height: 168px; padding: 12px; }
  .bar-row { grid-template-columns: 1fr; }
  .access-list div { grid-template-columns: 1fr; }
}
