@font-face { font-family: "Outfit"; src: url(Outfit.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --ice: #ECF1F2; --white: #FFFFFF; --slate: #4D5970; --slate-light: #8A9DAF; --navy: #215370;
  --purple: #777AFF; --purple-700: #595BBF; --pink: #FF26A8; --turquoise: #0ED3DF;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ice); color: var(--slate); font: 300 18px/1.55 "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; }
b, strong { font-weight: 700; }
a { color: var(--purple-700); }
code { font: 400 0.9em ui-monospace, Menlo, monospace; }
.muted { color: #6B7A8F; }

.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 32px; padding: 16px 64px 16px 32px; background: var(--white); border-bottom: 1px solid #DCE3E6; }
.top::after { content: ""; position: absolute; right: 0; top: 0; width: 14px; height: 100%; background: var(--purple); }
.brand img { display: block; width: 150px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
nav a { color: var(--slate); text-decoration: none; font-weight: 400; padding: 4px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--purple-700); }
nav a[aria-current="page"] { color: var(--purple-700); border-bottom-color: var(--purple); font-weight: 700; }
nav .nav-guide { color: var(--navy); font-weight: 700; }

main { max-width: 1160px; margin: 0 auto; padding: 56px 32px 80px; }
h1 { margin: 0 0 24px; color: var(--purple); font-weight: 400; font-size: clamp(44px, 7vw, 80px); line-height: 1; letter-spacing: -0.01em; }
h2 { margin: 40px 0 12px; color: var(--navy); font-weight: 700; font-size: 24px; line-height: 1.2; }
.panel h2:first-child, .cols h2:first-child { margin-top: 0; }
.lead { font-size: 22px; max-width: 760px; }
ul { padding-left: 20px; } li { margin: 4px 0; }

.panel { background: var(--white); padding: 28px 32px; margin: 24px 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cols > .panel { margin: 0; }
.cols-list { columns: 2; column-gap: 32px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; font-size: 20px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; background: var(--purple-700); color: var(--white); text-decoration: none; font-weight: 700; }
.btn:hover { background: var(--navy); }
.btn .size { font-weight: 300; opacity: 0.85; font-size: 0.85em; }
.btn.small { padding: 5px 10px; font-size: 15px; }

.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.logo-card { margin: 0; background: var(--white); }
.logo-stage { height: 170px; display: flex; align-items: center; justify-content: center; padding: 28px; border-bottom: 1px solid #DCE3E6; }
.logo-stage img { max-width: 100%; max-height: 100%; }
.logo-card figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.logo-card .row { margin-top: 8px; }

.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.swatch { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 0 14px; background: var(--white); border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; font-size: 15px; line-height: 1.35; }
.swatch .chip { display: block; width: 100%; height: 96px; margin-bottom: 10px; }
.swatch b, .swatch code, .swatch .muted { padding: 0 14px; }
.swatch:hover .chip { outline: 3px solid var(--navy); outline-offset: -3px; }
.swatch:focus-visible { outline: 3px solid var(--purple); }
.swatch.copied code::after { content: "  gekopieerd"; color: var(--purple-700); font-family: "Outfit", sans-serif; font-weight: 700; }

.specimen { margin: 6px 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.2; color: var(--slate); }
.specimen .muted { display: inline-block; min-width: 170px; font-size: 16px; font-weight: 400; vertical-align: middle; }
.scale { width: 100%; border-collapse: collapse; background: var(--white); font-size: 16px; }
.scale th, .scale td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #DCE3E6; }
.scale th { color: var(--navy); font-weight: 700; }
.scale td:first-child span { font-size: 26px; color: var(--purple); }

.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.img-card { margin: 0; background: var(--white); }
.img-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.img-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: 15px; word-break: break-all; }

footer { padding: 32px; text-align: center; font-size: 15px; color: #6B7A8F; }

@media (max-width: 760px) {
  .top { position: static; flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 32px 14px 16px; }
  main { padding: 32px 16px 56px; }
  .cols { grid-template-columns: 1fr; }
  .cols-list { columns: 1; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 20px; }
  .scale td:nth-child(4), .scale th:nth-child(4) { display: none; }
}
