:root {
  --navy: #172a55;
  --ink: #0e1726;
  --brass: #c99545;
  --mist: #f4f6f8;
  --line: #d7dee8;
  --green: #2f7d5a;
  --white: #ffffff;
  --soft: #eef2f6;
  --muted: #5b687c;
  --shadow: 0 18px 48px rgba(14, 23, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Aptos", "Segoe UI", Arial, sans-serif;
  background: var(--white);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #273955;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-color: var(--brass);
}

.hero {
  position: relative;
  min-height: 500px;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/material-board-hero.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 23, 38, 0.92), rgba(14, 23, 38, 0.68) 43%, rgba(14, 23, 38, 0.18) 100%),
    linear-gradient(0deg, rgba(14, 23, 38, 0.42), rgba(14, 23, 38, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 38px;
  max-width: 1260px;
  min-height: 500px;
  margin: 0 auto;
  padding: 56px 48px 38px;
}

.hero-copy {
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 13px;
  color: #e8edf5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--brass);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions,
.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.58);
}

.button.compact {
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
}

.button.full {
  width: 100%;
  color: var(--navy);
  background: var(--white);
}

.button.quote-action {
  margin-top: 8px;
  color: var(--white);
  background: var(--brass);
  border-color: var(--brass);
}

.button.quote-action:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  line-height: 1;
}

.secondary .button-icon,
.full .button-icon {
  background: var(--mist);
}

.hero-board {
  align-self: end;
  padding: 20px;
  color: var(--white);
  background: rgba(14, 23, 38, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.board-topline,
.rail-head,
.library-toolbar,
.card-head,
.card-actions,
.chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.board-topline span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.board-topline strong {
  color: var(--white);
  font-size: 34px;
  line-height: 1;
}

.mini-stack {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.mini-swatch {
  display: block;
  height: 64px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.mini-swatch.powder {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.45), transparent 22%),
    linear-gradient(145deg, #f3f5f6, #172a55);
}

.mini-swatch.rope {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.24) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 8px),
    linear-gradient(135deg, #d8c7ac, #2a3342);
}

.mini-swatch.wood {
  background:
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 13px),
    linear-gradient(110deg, #7f4f2c, #d3a36f 42%, #3a2317);
}

.mini-swatch.stainless {
  background:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, #eef2f3, #6e777a);
}

.mini-swatch.fabric {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, #d9cfbd, #1d3150);
}

.mini-swatch.stone {
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.48), transparent 24%),
    repeating-linear-gradient(132deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #ede9df, #33363a);
}

.board-metrics {
  display: grid;
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.board-metrics div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px;
  padding: 12px;
  background: rgba(14, 23, 38, 0.55);
}

.board-metrics dt,
.board-metrics dd {
  margin: 0;
  font-size: 13px;
}

.board-metrics dt {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 800;
}

.board-metrics dd {
  color: var(--white);
  font-weight: 900;
}

.browser-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 0;
  background: var(--white);
}

.control-rail {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 16px;
  min-height: calc(100vh - 76px);
  max-height: calc(100vh - 76px);
  overflow: auto;
  padding: 28px;
  background: var(--mist);
  border-right: 1px solid var(--line);
}

.rail-block {
  display: grid;
  gap: 12px;
}

.field-label {
  margin: 0;
  color: #34445d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.search-wrap span {
  color: var(--brass);
  font-weight: 900;
}

.search-wrap input {
  min-width: 0;
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 3px;
  background: #e2e8f0;
  border-radius: 7px;
}

.segment {
  min-height: 38px;
  color: #41516b;
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}

.segment.active {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(14, 23, 38, 0.12);
}

.selected-panel {
  margin-top: 6px;
  padding: 16px;
  background: var(--navy);
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(14, 23, 38, 0.12);
}

.selected-panel .field-label {
  color: rgba(255, 255, 255, 0.82);
}

.selected-count {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font-weight: 900;
}

.selected-list {
  display: grid;
  gap: 8px;
  min-height: 88px;
  max-height: min(40vh, 360px);
  overflow: auto;
  padding-right: 2px;
}

.selected-group {
  display: grid;
  gap: 7px;
}

.selected-group p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.selected-empty,
.status-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.selected-chip {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
}

.selected-chip.design-detail-chip {
  background: rgba(201, 149, 69, 0.16);
  border-color: rgba(201, 149, 69, 0.34);
}

.selected-chip strong,
.selected-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-chip strong {
  display: block;
  font-size: 13px;
}

.selected-chip span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.chip-swatch {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(135deg, var(--color), var(--accent));
}

.chip-swatch.image-swatch {
  background: var(--image) center / cover no-repeat;
}

.chip-swatch.powder {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(135deg, var(--color), var(--accent));
}

.chip-swatch.rope {
  background:
    repeating-linear-gradient(43deg, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-43deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, var(--color), var(--accent));
}

.chip-swatch.wood {
  background:
    repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 8px),
    linear-gradient(112deg, var(--color), var(--accent));
}

.chip-swatch.fabric,
.chip-swatch.vinyl,
.chip-swatch.weave {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.13) 0 1px, transparent 1px 6px),
    linear-gradient(135deg, var(--color), var(--accent));
}

.chip-swatch.tabletop,
.chip-swatch.ceramic,
.chip-swatch.glass,
.chip-swatch.care,
.chip-swatch.detail {
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.32), transparent 24%),
    repeating-linear-gradient(132deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, var(--color), var(--accent));
}

.remove-chip {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 900;
}

.remove-chip:hover {
  background: rgba(255, 255, 255, 0.13);
}

.library {
  padding: 36px 48px 64px;
}

.library-toolbar {
  display: grid;
  align-items: start;
  gap: 18px;
  margin-bottom: 18px;
}

.library-toolbar h2,
.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: #304158;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.tab.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  color: inherit;
  background: rgba(23, 42, 85, 0.08);
  border-radius: 99px;
  font-size: 11px;
}

.tab.active .tab-count {
  background: rgba(255, 255, 255, 0.16);
}

.active-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.summary-cell {
  min-height: 72px;
  padding: 14px;
  background: var(--mist);
}

.summary-cell span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.summary-cell strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.12;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
}

.sample-card {
  display: grid;
  grid-template-rows: 172px minmax(0, 1fr);
  min-height: 440px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sample-card:hover {
  transform: translateY(-2px);
  border-color: #b9c5d6;
  box-shadow: 0 16px 34px rgba(14, 23, 38, 0.1);
}

.sample-card.selected {
  border-color: var(--brass);
  box-shadow: 0 0 0 2px rgba(201, 149, 69, 0.24);
}

.sample-card.design-detail-card {
  border-color: #d9c6aa;
}

.sample-card.design-detail-card .family-pill {
  color: #7a551c;
  background: #fff8ee;
  border-color: #e8d6bb;
}

.sample-card.design-detail-card .select-button {
  background: #7a551c;
  border-color: #7a551c;
}

.sample-card.design-detail-card.selected .select-button {
  background: var(--green);
  border-color: var(--green);
}

.swatch {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color), var(--accent));
}

.swatch.image-swatch {
  background: var(--image) center / cover no-repeat;
}

.swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 32%, rgba(0, 0, 0, 0.12) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.28), transparent 24%);
  mix-blend-mode: overlay;
}

.swatch.powder {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(135deg, var(--color), var(--accent));
}

.swatch.powder.texture-fine {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.42), transparent 24%),
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, var(--color), var(--accent));
  background-size: auto, 14px 14px, auto;
}

.swatch.rope {
  background:
    repeating-linear-gradient(43deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-43deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, var(--color), var(--accent));
}

.swatch.wood {
  background:
    radial-gradient(ellipse at 30% 22%, rgba(255, 255, 255, 0.18), transparent 30%),
    repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(87deg, rgba(0, 0, 0, 0.1) 0 1px, transparent 1px 22px),
    linear-gradient(112deg, var(--color), var(--accent));
}

.swatch.metal,
.swatch.stainless,
.swatch.ral,
.swatch.hardware {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.38), transparent 24%),
    repeating-linear-gradient(101deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 10px),
    linear-gradient(135deg, var(--color), var(--accent));
}

.swatch.fabric,
.swatch.vinyl,
.swatch.weave,
.swatch.fill {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 12px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 12px),
    linear-gradient(135deg, var(--color), var(--accent));
}

.swatch.tabletop,
.swatch.ceramic,
.swatch.glass,
.swatch.care,
.swatch.detail {
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.32), transparent 24%),
    repeating-linear-gradient(132deg, rgba(255, 255, 255, 0.17) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, var(--color), var(--accent));
}

.swatch.detail.texture-detail {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(135deg, transparent 0 42%, rgba(255, 255, 255, 0.2) 42% 44%, transparent 44% 100%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.13) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, var(--color), var(--accent));
}

.swatch-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--white);
  background: rgba(14, 23, 38, 0.72);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
}

.card-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  padding: 16px;
}

.card-head {
  align-items: start;
  flex-wrap: wrap;
}

.card-title {
  min-width: 0;
  flex: 1 1 170px;
}

.card-title h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.code {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.family-pill {
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 26px;
  padding: 5px 8px;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
}

.note {
  margin: 0;
  color: #46566f;
  font-size: 14px;
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.spec-list div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  background: #fbfcfe;
}

.spec-list dt,
.spec-list dd {
  margin: 0;
  font-size: 12px;
}

.spec-list dt {
  color: var(--muted);
  font-weight: 900;
}

.spec-list dd {
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.card-actions {
  align-items: center;
}

.select-button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.sample-card.selected .select-button {
  background: var(--green);
  border-color: var(--green);
}

.tone {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.empty-results {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-results h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.empty-results p {
  margin: 0;
  color: var(--muted);
}

.standards {
  padding: 68px 48px 76px;
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.standard-panel {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.standard-kicker {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 900;
}

.standard-panel h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 24px;
}

.standard-panel p,
.standard-panel li {
  color: #46566f;
  font-size: 15px;
}

.standard-panel ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 48px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
  }

  .hero-board {
    max-width: 560px;
  }

  .sample-grid,
  .standard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .active-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 58px 20px 32px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .browser-shell {
    grid-template-columns: 1fr;
  }

  .control-rail {
    position: static;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .selected-panel {
    margin-top: 0;
  }

  .library,
  .standards {
    padding: 34px 20px 48px;
  }

  .library-toolbar {
    display: grid;
    align-items: start;
  }

  .library-toolbar h2,
  .section-head h2 {
    font-size: 30px;
  }

  .tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .brand-copy span {
    display: none;
  }

  .hero-actions,
  .request-actions,
  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .select-button {
    width: 100%;
  }

  .hero-board {
    padding: 16px;
  }

  .board-metrics div {
    grid-template-columns: 1fr;
  }

  .active-summary,
  .sample-grid,
  .standard-grid {
    grid-template-columns: 1fr;
  }

  .sample-card {
    grid-template-rows: 148px minmax(0, 1fr);
    min-height: 0;
  }

  .swatch {
    min-height: 148px;
  }

  .site-footer {
    display: grid;
    padding: 22px 20px;
  }
}
