/* ============================================================
   The State of Linux Apps — 2026
   Shared stylesheet · editorial Linux report system
   ============================================================ */

:root {
  --paper: #f2f5ef;
  --sheet: #fffdf8;
  --sheet-2: #e7f0ff;
  --ink: #111318;
  --muted: #565d66;
  --faint: #7b828b;
  --line: #111318;
  --blue: #2458ff;
  --blue-2: #1230a8;
  --green: #20d68f;
  --coral: #ff5d42;
  --yellow: #ffd84a;
  --violet: #775cff;
  --panel: #fffdf8;
  --panel-2: #f7f9ff;
  --border: #111318;
  --border-strong: #111318;
  --shadow: 7px 7px 0 #111318;
  --shadow-soft: 0 18px 36px rgba(17, 19, 24, 0.14);
  --radius: 8px;
  --radius-sm: 6px;
  --maxw: 1180px;
  --display: "Instrument Serif", Georgia, serif;
  --font: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 19, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 24, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(36, 88, 255, 0.12) 18% 18.7%, transparent 18.7%),
    linear-gradient(160deg, transparent 0 68%, rgba(255, 93, 66, 0.12) 68% 68.7%, transparent 68.7%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(17, 19, 24, 0.09) 49%, rgba(17, 19, 24, 0.09) 51%, transparent 52%);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 74%, transparent);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  /* horizontal only — must NOT reset the vertical padding that
     `section { padding: 48px 0 }` sets on `section.wrap` elements */
  padding-left: 24px;
  padding-right: 24px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 3px solid var(--blue);
  color: var(--sheet);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand .dot {
  width: 25px;
  height: 25px;
  border: none;
  border-radius: 0;
  background: url("favicon.svg") center / contain no-repeat;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 253, 248, 0.74);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sheet);
  border-color: rgba(255, 253, 248, 0.32);
  background: rgba(255, 253, 248, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 253, 248, 0.36);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--sheet);
  font-size: 20px;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 70px 24px 42px;
}

.hero-home {
  min-height: calc(100svh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 44px;
  padding-top: 56px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--green);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow .pulse {
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.72);
  }
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(54px, 10vw, 124px);
  font-weight: 600;
  line-height: 0.86;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 8vw, 90px);
}

.grad-text {
  position: relative;
  display: inline;
  color: var(--ink);
  background: linear-gradient(transparent 55%, rgba(255, 216, 74, 0.78) 55%);
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.lede {
  max-width: 690px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.35;
}

.hero-meta {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: var(--ink);
  background: var(--sheet);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: 160ms ease;
}

.button.primary {
  background: var(--blue);
  color: var(--sheet);
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero-board {
  position: relative;
  min-height: 510px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 19, 24, 0.08) 1px, transparent 1px),
    var(--sheet);
  background-size: 20px 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-board::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 70px;
  width: 148px;
  height: 34px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  transform: rotate(-8deg);
}

.hero-board::after {
  content: "foss first";
  position: absolute;
  right: 20px;
  bottom: 24px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  background: var(--coral);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(5deg);
}

.board-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.window-dots {
  display: inline-flex;
  gap: 6px;
  margin-right: 10px;
}

.window-dots i {
  width: 11px;
  height: 11px;
  display: block;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.window-dots i:nth-child(1) {
  background: var(--coral);
}

.window-dots i:nth-child(2) {
  background: var(--yellow);
}

.window-dots i:nth-child(3) {
  background: var(--green);
}

.icon-cluster {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.icon-cell {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: 4px 4px 0 rgba(17, 19, 24, 0.22);
  transform: rotate(var(--tilt, 0deg));
}

.icon-cell:nth-child(2n) {
  background: var(--sheet-2);
}

.icon-cell:nth-child(3n) {
  background: #fff4d4;
}

.icon-cell img,
.app-icon-fallback {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  padding: 6px;
}

.app-icon-fallback {
  color: var(--ink);
  font-weight: 800;
}

.cell-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.channel-split {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.channel-split div {
  padding: 13px;
  background: var(--blue);
  color: var(--sheet);
}

.channel-split div + div {
  border-left: 2px solid var(--ink);
  background: var(--green);
  color: var(--ink);
}

.channel-split b {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.channel-split span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- sections ---------- */
section {
  padding: 48px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-head .kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  line-height: 0.95;
}

.section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- cards / report tiles ---------- */
.card {
  position: relative;
  padding: 22px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 5px 5px 0 rgba(17, 19, 24, 0.18);
  transition: 160ms ease;
}

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translate(-2px, -2px);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.14;
}

/* category icon chips */
.cico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  box-shadow: 3px 3px 0 rgba(17, 19, 24, 0.18);
}

.cico svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cico.b { background: var(--blue); }
.cico.b svg { stroke: #fff; }
.cico.y { background: var(--yellow); }
.cico.y svg { stroke: var(--ink); }
.cico.g { background: var(--green); }
.cico.g svg { stroke: var(--ink); }
.cico.c { background: var(--coral); }
.cico.c svg { stroke: #fff; }
.cico.s { background: var(--sheet-2); }
.cico.s svg { stroke: var(--ink); }

.grid {
  display: grid;
  gap: 18px;
}

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

.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden; /* keep the top color bar within the rounded corners */
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 8px;
  background: var(--blue);
  border-bottom: 2px solid var(--ink);
}

.stat:nth-child(2)::before {
  background: var(--green);
}

.stat:nth-child(3)::before {
  background: var(--coral);
}

.stat:nth-child(4)::before {
  background: var(--yellow);
}

.stat .num {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  line-height: 0.9;
}

.stat .lab {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.stat .sub {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.35;
}

/* badges */
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tag.est {
  background: #ffe0d8;
}

.tag.fact,
.tag.free {
  background: #d7ffef;
}

.tag.paid {
  background: #dce6ff;
}

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: 5px 5px 0 rgba(17, 19, 24, 0.18);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(17, 19, 24, 0.18);
}

th {
  background: var(--ink);
  color: var(--sheet);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: 140ms ease;
}

tbody tr:hover {
  background: #fff4d4;
}

td a {
  color: var(--blue);
  text-decoration: none;
}

td a:hover {
  text-decoration: underline;
}

/* bar chart */
.bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bar-row {
  display: grid;
  grid-template-columns: 142px 1fr auto;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.bar-track {
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sheet-2);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  display: block;
  border-right: 2px solid var(--ink);
  background: repeating-linear-gradient(
    45deg,
    var(--blue),
    var(--blue) 8px,
    var(--green) 8px,
    var(--green) 16px
  );
}

.bar-val {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* studio cards */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.studio {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.studio-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.studio-logo {
  width: 50px;
  height: 50px;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  padding: 7px;
}

.studio-name {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.12;
}

.studio-domain {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
}

.studio-apps {
  color: var(--muted);
  font-size: 14px;
}

.studio-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(17, 19, 24, 0.18);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

/* resource list */
a.card.res {
  display: flex;
  gap: 16px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.res-ico {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.res-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

/* monogram fallback tiles keep the coloured look */
.res-ico.mono {
  background: var(--yellow);
}

.res:nth-child(2n) .res-ico.mono {
  background: var(--green);
}

.res:nth-child(3n) .res-ico.mono {
  background: var(--sheet-2);
}

.res h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}

.res p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.res .star {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

/* callout */
.callout {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 20px;
  background:
    linear-gradient(90deg, var(--yellow) 0 12px, transparent 12px),
    var(--sheet);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 16px;
}

.callout strong {
  color: var(--blue-2);
}

/* pill list */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--sheet-2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: 160ms ease;
}

.pill:nth-child(3n) {
  background: #fff4d4;
}

.pill:nth-child(4n) {
  background: #ffe0d8;
}

.pill:hover {
  transform: translateY(-2px);
}

.pill .n {
  margin-left: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

/* lists */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14.5px;
}

.checklist li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 2px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 3px 3px 0 rgba(17, 19, 24, 0.22);
}

.checklist.bad li::before {
  content: "✕";
  background: var(--coral);
}

/* next-page call to action */
.next-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sheet-2);
  box-shadow: 6px 6px 0 rgba(17, 19, 24, 0.18);
  color: inherit;
  text-decoration: none;
  transition: 160ms ease;
}

.next-cta:hover {
  box-shadow: var(--shadow);
  transform: translate(-2px, -2px);
  background: var(--paper);
}

.next-cta .nc-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.next-cta .nc-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue);
}

.next-cta .nc-title {
  font-family: var(--display);
  font-size: clamp(24px, 4.5vw, 32px);
  line-height: 1.04;
}

.next-cta .nc-arrow {
  margin-left: auto;
  flex: none;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease;
}

.next-cta:hover .nc-arrow {
  transform: translateX(5px);
}

/* footer */
footer {
  margin-top: 42px;
  padding: 34px 0 60px;
  border-top: 3px solid var(--ink);
  background: var(--sheet);
  color: var(--muted);
  font-size: 13px;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.foot-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-left: 14px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--blue);
}

.foot-by {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.foot-tw {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(36, 88, 255, 0.32);
}

.foot-tw:hover {
  color: var(--blue);
}

.disclaimer {
  max-width: 860px;
  margin-top: 18px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

a.inline {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(36, 88, 255, 0.32);
}

a.inline:hover {
  border-color: var(--blue);
}

/* source annotations / footnotes */
a.src {
  font-family: var(--mono);
  font-size: 0.62em;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
  padding: 0 3px;
  color: var(--blue);
  text-decoration: none;
  border-radius: 4px;
  background: var(--sheet-2);
  border: 1px solid rgba(36, 88, 255, 0.28);
}
a.src:hover {
  background: var(--blue);
  color: var(--sheet);
}
.sources {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px dashed rgba(17, 19, 24, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.5);
}
.sources h4 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.sources ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sources li {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.sources a {
  color: var(--blue);
  text-decoration: none;
  word-break: break-word;
}
.sources a:hover {
  text-decoration: underline;
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.mt {
  margin-top: 18px;
}

.mt2 {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .hero-home {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-board {
    min-height: 430px;
  }

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

@media (max-width: 760px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-in {
    padding: 0 18px;
  }

  .brand {
    max-width: calc(100vw - 92px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-left: 0;
    padding: 12px 18px 18px;
    border-bottom: 3px solid var(--blue);
    background: var(--ink);
    transform: translateY(-120%);
    transition: 220ms ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  section {
    padding: 34px 0;
  }

  .hero,
  .hero-home {
    padding: 44px 18px 32px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(46px, 17vw, 76px);
  }

  .lede {
    font-size: 18px;
  }

  .hero-board {
    min-height: auto;
  }

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

  .channel-split {
    grid-template-columns: 1fr;
  }

  .channel-split div + div {
    border-left: none;
    border-top: 2px solid var(--ink);
  }

  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .bar-val {
    justify-self: start;
  }

  .foot-links a {
    margin-left: 0;
    margin-right: 14px;
  }
}

@media (max-width: 420px) {
  .icon-cluster {
    gap: 10px;
  }

  .icon-cell {
    min-height: 100px;
    padding: 10px;
  }

  .cell-name {
    font-size: 10px;
  }

  .card {
    padding: 18px;
  }
}
