:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #262127;
  --muted: #655e62;
  --rule: #d7d1cc;
  --plum: #462d44;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 100%;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: #743b50;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 3px solid #2d64b6;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3,
.brand {
  font-family: var(--serif);
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.047em;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.95rem, 3.3vw, 3.1rem);
  margin-bottom: 1.15rem;
}
h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-bottom: 0.6rem;
}
small {
  font-size: 0.875rem;
}
code,
.code,
.main-code {
  font-family: var(--mono);
  letter-spacing: -0.025em;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  background: white;
  z-index: 99;
  padding: 0.6rem;
}
.wrap,
.header-in,
.hero-in,
.footer-in {
  width: min(100% - clamp(2rem, 8vw, 9rem), 84rem);
  margin-inline: auto;
}
.wrap {
  padding-bottom: 4rem;
}
.narrow {
  max-width: 55rem;
}
.header-in,
.footer-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
header {
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 4;
  background: var(--paper);
}
.header-in {
  min-height: 5rem;
}
.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  font-weight: bold;
  letter-spacing: -0.066em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brandmark {
  position: relative;
  display: inline-block;
  width: 2.2rem;
  height: 2.25rem;
}
.brandmark i {
  position: absolute;
  bottom: 0.2rem;
  left: 0.7rem;
  width: 0.8rem;
  height: 1.85rem;
  border-radius: 85% 12% 75% 15%;
  background: #ec775b;
  transform: rotate(4deg);
  transform-origin: bottom left;
}
.brandmark i:first-child {
  background: #8496d9;
  height: 1.25rem;
  transform: rotate(-57deg);
  left: 0.72rem;
}
.brandmark i:last-child {
  background: #e7b63d;
  transform: rotate(44deg);
  height: 1.6rem;
  left: 0.8rem;
}
.header-in nav,
.footer-in nav {
  display: flex;
  gap: clamp(1rem, 2.6vw, 2.5rem);
  align-items: center;
}
.header-in nav a,
.footer-in nav a {
  font-weight: 600;
  text-decoration: none;
  font-size: 0.94rem;
}
.header-in nav a:hover,
.header-in nav a[aria-current] {
  text-decoration: underline;
}
.menu {
  display: none;
}
.hero {
  overflow: hidden;
  isolation: isolate;
  position: relative;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(
    106deg,
    #faf8f3 36%,
    #f4eee9 55%,
    #e9e1f3 84%,
    #e3d9eb
  );
}
.hero-in {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  min-height: clamp(29rem, 38vw, 35rem);
  gap: 1.4rem;
}
.hero-copy {
  padding: clamp(2rem, 4vw, 4.2rem) 0;
  z-index: 1;
}
.kicker {
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #604952;
}
.kicker i {
  width: 1.8rem;
  height: 2px;
  background: #b95b49;
}
.hero h1 {
  font-size: clamp(3.3rem, 5.85vw, 6.1rem);
  letter-spacing: -0.069em;
  line-height: 0.99;
  margin-bottom: 1.25rem;
}
.hero-dek {
  max-width: 29rem;
  color: #585058;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}
.lookup {
  display: flex;
  gap: 0.45rem;
  max-width: 41rem;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
  background: #fffdfa;
  border: 1px solid #a69d9f;
  padding: 0 0.9rem;
  border-radius: 0.5rem;
}
.searchbox input {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0.8rem 0;
  width: 100%;
  min-width: 0;
  font-size: 1rem;
}
.searchbox:focus-within {
  outline: 2px solid #2d64b6;
  outline-offset: 2px;
}
.searchbox input:focus {
  outline: 0;
}
.primary,
.link-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  border-radius: 0.5rem;
  font-weight: 650;
  padding: 0.78rem 1.15rem;
  line-height: 1.4;
  text-align: center;
}
.primary:hover {
  background: #4d3a47;
  color: white;
}
.link-button {
  display: inline-block;
  text-decoration: none;
}
.hero-links,
.actions,
.examples,
.sampler-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.3rem;
}
.hero-links {
  margin-top: 1rem;
}
.hero-links a,
.section-title > a {
  display: inline-flex;
  align-items: center;
  gap: 0.43rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.specimen {
  display: grid;
  place-items: center;
  min-width: 0;
  align-self: stretch;
  align-content: center;
  pointer-events: none;
}
.fan {
  position: relative;
  width: min(33vw, 30rem);
  height: min(29vw, 26.5rem);
  margin: 1rem 0 0 -1.3rem;
}
.sheet {
  display: block;
  position: absolute;
  inset: 4% 27% 4% 10%;
  background: linear-gradient(to bottom, var(--card) 72%, #fbf6ef 72%);
  border: 1px solid #29202715;
  border-radius: clamp(0.6rem, 1vw, 1rem);
  box-shadow:
    1px 4px 4px #28192a1b,
    4px 12px 16px -7px #28192a55;
  transform-origin: 50% 88%;
}
.s4 {
  --card: #dbac4d;
  transform: rotate(38deg) translate(12%, -3%);
}
.s3 {
  --card: #694567;
  transform: rotate(27deg) translate(9%, -5%);
}
.s2 {
  --card: #949fdf;
  transform: rotate(15deg) translate(6%, -6%);
}
.s1 {
  --card: #ebacae;
  transform: rotate(3deg) translate(4%, -5%);
}
.front {
  pointer-events: auto;
  text-decoration: none;
  background: #fff9ef;
  color: var(--ink);
  overflow: hidden;
  transform: rotate(-11deg);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s;
}
.front:hover {
  transform: rotate(-9deg) translateY(-3px);
  color: var(--ink);
}
.chip-color {
  flex: 1 1 auto;
  background: #ff7f50;
}
.chip-label {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 1.15rem 1rem;
  line-height: 1.15;
}
.chip-label strong {
  font: 700 clamp(1.7rem, 2.8vw, 2.9rem) / 1.1 var(--serif);
  letter-spacing: -0.05em;
}
.chip-label code {
  font-size: clamp(0.85rem, 1.25vw, 1.1rem);
  margin-top: 0.15rem;
}
.band {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.section-title h2 {
  margin: 0;
}
.section-title > a {
  flex: none;
}
.family-rail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.48rem;
}
.family-rail a {
  overflow: hidden;
  background: #fffcf7;
  border: 1px solid var(--rule);
  border-radius: 0.48rem;
  text-align: center;
  text-decoration: none;
  font: 600 1rem/1.4 var(--serif);
  padding-bottom: 0.4rem;
}
.family-rail i {
  display: block;
  background: var(--sw);
  height: clamp(3.5rem, 6vw, 5.5rem);
  margin-bottom: 0.38rem;
}
.family-rail a:hover,
.tile:hover {
  border-color: #8d7b86;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #efe8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-top: 2.5rem;
}
.feature > div:last-child {
  padding: clamp(1.6rem, 4vw, 4rem);
  align-self: center;
}
.feature h2 {
  font-size: clamp(2rem, 3.6vw, 3.7rem);
}
.feature p:not(.kicker) {
  max-width: 30rem;
}
.photo {
  min-height: 18rem;
  position: relative;
}
.photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tool-list,
.guide-list,
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.tool-list {
  margin-top: 1.5rem;
}
.tool-list a,
.guide-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 0.65rem;
  padding: 1.15rem;
  background: #fffcf8;
}
.tool-list a:hover,
.guide-list a:hover {
  border-color: #8b7987;
}
.tool-list a > svg:last-child,
.guide-list a > svg:last-child {
  margin-left: auto;
  flex: none;
}
.tool-icon,
.guide-list a > span {
  display: grid;
  place-items: center;
  background: #eee4ed;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 0.5rem;
}
.tool-list a:nth-child(2) .tool-icon {
  background: #eee9cf;
}
.tool-list a:nth-child(3) .tool-icon {
  background: #e0e9e2;
}
.tool-list a:nth-child(4) .tool-icon {
  background: #f4e1da;
}
.tool-list strong {
  display: block;
  font: 700 1.4rem var(--serif);
  letter-spacing: -0.035em;
}
.tool-list small,
.definition small,
.match-grid small,
.palette-strip small {
  display: block;
  color: var(--muted);
}
.guide-list p,
.collection p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.guide-list h3 {
  margin-bottom: 0.4rem;
}
.intro {
  padding: 3.2rem 0 1.2rem;
}
.intro p:last-child {
  font-size: 1.15rem;
  max-width: 52rem;
  color: var(--muted);
}
.filters,
.controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.filters label,
.controls label {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 650;
}
.filters input,
.controls input,
select {
  background: #fffdf9;
  border: 1px solid #aaa1a4;
  border-radius: 0.45rem;
  min-height: 2.85rem;
  padding: 0.55rem 0.8rem;
  font-weight: 400;
  max-width: 100%;
}
.controls .primary {
  min-height: 2.85rem;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.tile {
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
  overflow: hidden;
  background: #fffdf8;
}
.tile-link {
  text-decoration: none;
  display: block;
}
.paint {
  display: block;
  height: clamp(4rem, 8vw, 8rem);
  background: var(--sw);
}
.tile-name {
  font: 700 1.35rem/1.15 var(--serif);
  display: block;
  padding: 0.8rem 0.8rem 0.2rem;
  overflow-wrap: anywhere;
  letter-spacing: -0.03em;
}
.tile-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem 0.6rem;
  flex-wrap: wrap;
}
.tile-meta > span {
  font-size: 0.77rem;
  color: var(--muted);
}
.copy,
.pill,
.examples a,
.menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 1px solid #c9c0c4;
  background: #fffdf9;
  border-radius: 0.4rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.55rem 0.75rem;
  min-height: 2.5rem;
}
.copy {
  font-size: 0.88rem;
}
.copy svg {
  flex: none;
}
.copy:hover,
.pill:hover {
  background: #f0e9ec;
}
.tile-meta .copy {
  font: 500 0.81rem var(--mono);
  border: 0;
  padding: 0.4rem 0.15rem;
  background: none;
}
.tile-meta .copy svg {
  width: 0.82rem;
}
.pages,
.crumb {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.crumb {
  font-size: 0.85rem;
  color: var(--muted);
}
.crumb svg {
  flex: none;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: center;
  padding: 1.4rem 0 2rem;
}
.detail h1 {
  overflow-wrap: anywhere;
}
.detail-swatch {
  background: var(--sw);
  border: 1px solid #0002;
  min-height: 20rem;
  border-radius: 0.8rem;
}
.detail p {
  margin: 0.7rem 0;
}
.main-code {
  font-size: 1.65rem;
}
.values {
  margin: 1rem 0;
}
.values > div,
.definition,
.criteria li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid var(--rule);
  padding: 0.65rem 0;
}
.values dt {
  font-weight: bold;
}
.values dd {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.note,
.examples {
  font-size: 0.92rem;
  color: var(--muted);
}
.examples {
  margin: 1rem 0;
}
.examples a {
  min-height: 2rem;
  padding: 0.25rem 0.6rem;
}
.dot,
.input-preview i {
  display: block;
  flex: none;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.45rem;
  background: var(--sw);
  border: 1px solid #0002;
}
.definitions,
.result-block {
  padding: 1.4rem;
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
  margin: 1.5rem 0;
  background: #fffdf9;
}
.definitions h2 {
  font-size: 1.7rem;
}
.definition h2 {
  flex: 1;
  margin: 0;
  overflow-wrap: anywhere;
}
.definition .copy {
  font-family: var(--mono);
}
.definitions > .copy {
  margin-top: 0.75rem;
}
.result-head,
.input-preview {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.result-head h2 {
  margin: 0;
  font-size: 1.9rem;
}
.result-head .copy {
  margin-left: auto;
}
.match-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem 0;
  border-block: 1px solid var(--rule);
}
.match-grid .dot {
  margin-bottom: 0.55rem;
}
.match-grid h3 {
  margin: 0.4rem 0;
}
.actions {
  margin: 1rem 0;
}
.suggestions {
  display: grid;
  gap: 0.4rem;
}
.quick:not(:empty) {
  margin-top: 1rem;
}
.quick .definitions,
.quick .result-block {
  margin: 0;
}
.quick .result-block h2 {
  font-size: 1.5rem;
}
.quick .actions {
  gap: 0.5rem;
}
.error {
  padding: 0.8rem 1rem;
  background: #ffebe4;
  border-left: 3px solid #9a351e;
}
.input-preview {
  padding: 1rem;
  background: #f1eee8;
}
.text-sample,
.contrast-demo {
  border: 1px solid #0002;
  border-radius: 0.6rem;
  padding: 1.25rem 1.6rem;
}
.text-sample {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
.text-sample strong,
.contrast-demo > span {
  font: 700 3.6rem var(--serif);
}
.contrast-demo {
  margin: 1rem 0 1.6rem;
}
.contrast-demo p {
  margin: 0;
}
.criteria {
  list-style: none;
  padding: 0;
}
.criteria small {
  color: var(--muted);
}
.palette-strip,
.mini-strip {
  display: flex;
  overflow: hidden;
  border-radius: 0.55rem;
}
.palette-strip {
  border: 1px solid var(--rule);
  background: white;
}
.palette-strip > div {
  flex: 1;
  min-width: 0;
  padding: 0 0.6rem 0.7rem;
}
.palette-strip i,
.mini-strip i {
  display: block;
  background: var(--sw);
  height: 7rem;
}
.palette-strip i {
  margin: 0 -0.6rem 0.6rem;
}
.palette-strip p,
.palette-strip h3 {
  overflow-wrap: anywhere;
}
.collection {
  background: #fffdf9;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
}
.mini-strip {
  margin: 0.75rem 0;
}
.mini-strip i {
  flex: 1;
  height: 3.5rem;
}
.file-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  cursor: pointer;
}
.file-label input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-label:focus-within {
  outline: 3px solid #2d64b6;
  outline-offset: 3px;
}
.sampler-controls {
  margin-bottom: 1rem;
}
.sampling {
  position: relative;
  display: table;
  max-width: 100%;
  background: repeating-conic-gradient(#ccc 0 25%, white 0 50%) 0/1rem 1rem;
}
.sampling canvas {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 65vh;
  cursor: crosshair;
  object-fit: fill;
}
.crosshair {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  position: absolute;
  border: 2px solid white;
  outline: 2px solid black;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.article section,
.article > h2 {
  margin-top: 2.1rem;
}
.article h2 {
  font-size: 2rem;
}
.article p {
  max-width: 72ch;
}
.toast:not(:empty) {
  position: fixed;
  z-index: 10;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 0.65rem 1.15rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}
.menu {
  display: none;
}
footer {
  border-top: 1px solid var(--rule);
  background: #f2eee7;
}
.footer-in {
  padding: 2rem 0;
  align-items: flex-start;
}
.small {
  font-size: 1.5rem;
}
.footer-in p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.3rem 0;
}
.footer-in nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 62rem) {
  .family-rail {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .family-rail i {
    height: 3.2rem;
  }
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-in {
    min-height: 26rem;
  }
  .fan {
    width: 36vw;
    height: 35vw;
  }
  .hero h1 {
    font-size: clamp(3rem, 6vw, 4rem);
  }
  .palette-strip .copy {
    padding: 0.35rem;
  }
  .hero-dek {
    font-size: 1rem;
  }
  .guide-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 45rem) {
  .wrap,
  .header-in,
  .hero-in,
  .footer-in {
    width: calc(100% - 2rem);
  }
  .header-in {
    min-height: 4.1rem;
  }
  .menu {
    display: inline-flex;
    font-size: 0.9rem;
  }
  .header-in nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.7rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .header-in nav.open {
    display: grid;
    gap: 0.25rem;
  }
  .header-in nav a {
    padding: 0.6rem;
  }
  .hero {
    background: linear-gradient(156deg, #faf8f3 42%, #e9e0ef 96%);
  }
  .hero-in {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-copy {
    padding: 2.25rem 0 0.25rem;
  }
  .hero h1 {
    font-size: clamp(3.05rem, 9.7vw, 4.4rem);
  }
  .hero .kicker {
    margin-bottom: 0.8rem;
  }
  .hero-dek {
    max-width: 30rem;
    margin-bottom: 1.05rem;
  }
  .hero-links {
    gap: 1.2rem;
  }
  .specimen {
    height: clamp(13rem, 46vw, 19rem);
    overflow: hidden;
    margin: 0 -1rem;
  }
  .fan {
    width: 18rem;
    height: 12rem;
    margin: 0 0 0 -1.5rem;
  }
  .sheet {
    inset: 1% 23% 4% 16%;
  }
  .chip-label {
    padding: 0.4rem 0.75rem 0.55rem;
  }
  .chip-label strong {
    font-size: 1.55rem;
  }
  .chip-label code {
    font-size: 0.78rem;
  }
  .brand {
    font-size: 1.7rem;
  }
  .brandmark {
    transform: scale(0.85);
    margin-right: -0.25rem;
  }
  .section-title {
    gap: 0.5rem;
  }
  .section-title > a {
    font-size: 0.8rem;
  }
  .section-title h2 {
    font-size: 1.75rem;
  }
  .band {
    padding: 1.8rem 0;
  }
  .family-rail {
    gap: 0.35rem;
  }
  .family-rail a {
    font-size: 0.84rem;
  }
  .family-rail i {
    height: 2.6rem;
  }
  .feature {
    grid-template-columns: 1fr;
    margin-top: 1.8rem;
  }
  .photo {
    min-height: 13.5rem;
  }
  .tool-list,
  .collection-grid {
    grid-template-columns: 1fr;
  }
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .tile-name {
    font-size: 1.12rem;
    padding: 0.6rem 0.55rem 0.2rem;
  }
  .tile-meta {
    padding: 0.12rem 0.55rem 0.35rem;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .detail-swatch {
    min-height: 11rem;
  }
  .intro {
    padding: 2rem 0 0.7rem;
  }
  .intro p:last-child {
    font-size: 1.03rem;
  }
  .values dd {
    gap: 0.35rem;
    flex-wrap: wrap;
  }
  .values dd code {
    font-size: 0.85rem;
  }
  .values dt {
    font-size: 0.85rem;
    flex: none;
  }
  .values .copy span {
    display: none;
  }
  .result-block,
  .definitions {
    padding: 1rem;
  }
  .result-head {
    flex-wrap: wrap;
  }
  .result-head .copy {
    margin-left: 0;
  }
  .result-head h2 {
    font-size: 1.35rem;
  }
  .palette-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .palette-strip i {
    height: 4rem;
  }
  .footer-in {
    display: block;
  }
  .footer-in nav {
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1.2rem;
  }
  .controls label,
  .filters label {
    max-width: 100%;
  }
  .controls input {
    max-width: 100%;
  }
  .guide-list a {
    padding: 0.9rem;
  }
  .guide-list a > span {
    display: none;
  }
  .wrap {
    padding-bottom: 2.5rem;
  }
  .lookup .primary {
    padding: 0.65rem 0.8rem;
  }
  .searchbox {
    padding: 0 0.6rem;
  }
  .section-title a svg {
    display: none;
  }
  .match-grid {
    gap: 0.6rem;
  }
  .match-grid h3 {
    overflow-wrap: anywhere;
  }
  .quick .definition {
    gap: 0.5rem;
  }
  .quick .dot {
    width: 1.8rem;
    height: 1.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
[hidden] {
  display: none !important;
}

@media (min-width: 45.01rem) {
  .fan {
    transform: scale(0.92);
    margin-top: -0.35rem;
  }
}
@media (max-width: 45rem) {
  .hero h1 br {
    display: none;
  }
  .hero h1 {
    text-wrap: balance;
  }
  .specimen {
    height: 16rem;
    padding-bottom: 1rem;
  }
  .fan {
    margin-top: -0.1rem;
  }
  .family-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem;
  }
  .family-rail a {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.3rem 0 0;
    min-height: 2.75rem;
    text-align: left;
  }
  .family-rail i {
    margin: 0;
    align-self: stretch;
    width: 30%;
    height: auto;
  }
  .hero-links a {
    min-height: 2rem;
  }
  .section-title {
    align-items: center;
  }
}
@media (max-width: 45rem) {
  .fan {
    transform: scale(0.86);
  }
}
@media (max-width: 28rem) {
  .match-grid {
    grid-template-columns: 1fr;
  }
  .match-grid article + article {
    border-top: 1px solid var(--rule);
    padding-top: 1rem;
  }
}
