:root {
  color-scheme: light;
  --primary: #00339f;
  --primary-dark: #1c244b;
  --secondary: #dfabcd;
  --accent-warm: #ff4949;
  --accent-cool: #9ec7d5;
  --support-ink: #687484;
  --support-charcoal: #102039;
  --success: #085229;
  --error: #661d1d;
  --neutral-050: #f5f6f2;
  --neutral-100: #ecebe6;
  --neutral-200: #f3f5f8;
  --neutral-400: #999999;
  --surface: #ffffff;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-pill: 0px;
  --shadow-soft: 0 12px 30px rgba(7, 23, 55, 0.12);
  --shadow-card: 0 20px 45px rgba(0, 30, 91, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Cera Pro", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  background: var(--neutral-050);
  color: var(--primary);
}

header {
  position: sticky;
  top: 0;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2rem clamp(1.5rem, 6vw, 4rem);
  z-index: 10;
}

header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

header p {
  margin-top: 0.35rem;
  font-family: "Cera Pro", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
}

main {
  padding: clamp(1.5rem, 6vw, 4rem);
  display: grid;
  gap: 2rem;
}

section {
  background: var(--surface);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-soft);
}

section h2 {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: var(--primary);
}

.split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .split.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

ul.token-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

ul.token-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--neutral-100);
  padding-bottom: 0.35rem;
}

.swatches {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.swatch {
  position: relative;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 180px;
  box-shadow: var(--shadow-card);
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--primary);
}

.swatch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tone, var(--neutral-200));
  opacity: 0.35;
}

.swatch > * {
  position: relative;
  z-index: 1;
}

.swatch span {
  font-size: 0.85rem;
  opacity: 0.85;
}

.swatch-chip {
  width: 56px;
  height: 56px;
  background: var(--tone, var(--primary));
  border: 2px solid #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  text-align: left;
  font-size: 0.95rem;
  padding: 0.65rem;
  border-bottom: 1px solid var(--neutral-200);
}

table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.component-row {
  display: grid;
  gap: 1.1rem;
}

.component {
  padding: 1rem;
}

.component h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--primary);
}

.button-set {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border: 1px solid var(--primary);
  border-radius: 0;
  padding: 10px 20px;
  font-family: "Cera Pro", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-soft);
}

.card-example {
  padding: 1.25rem;
  background: var(--neutral-200);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.input-example {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.input-example input {
  border: 1.5px solid var(--primary);
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  font-family: inherit;
}

footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--primary);
}
