:root {
  --text: #17202a;
  --muted: #667481;
  --subtle: #8a96a3;
  --border: #d7dee6;
  --border-strong: #aeb9c4;
  --surface: #ffffff;
  --surface-soft: #f7f9fb;
  --surface-tint: #eef4f7;
  --ink: #102638;
  --ink-2: #18384d;
  --accent: #2b6f7f;
  --accent-dark: #184d5a;
  --accent-soft: #dcecef;
  --warn: #8a5a18;
  --max-width: 1180px;
  --content-width: 1080px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #eef2f5 0, #fff 17rem),
    #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(43, 111, 127, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0e3842;
  text-decoration-color: currentColor;
}

.site-header {
  background: var(--ink);
  border-bottom: 4px solid var(--accent);
  color: #fff;
}

.site-header::before {
  display: block;
  height: 0.42rem;
  background: linear-gradient(90deg, #d5a642 0 33.333%, #2b6f7f 33.333% 66.666%, #7d3f38 66.666% 100%);
  content: "";
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.05rem clamp(1.4rem, 4vw, 3rem) 0;
}

.site-title {
  display: block;
  max-width: 100%;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.8vw, 3.05rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: break-word;
  text-decoration: none;
}

.site-title:hover {
  color: #fff;
}

.site-description {
  max-width: 46rem;
  margin: 0.35rem 0 1.05rem;
  color: #c9d3db;
  font-size: 0.98rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a,
.nav-trigger {
  display: inline-flex;
  min-width: 0;
  min-height: 2.75rem;
  align-items: center;
  padding: 0 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  color: #e9eef2;
  text-decoration: none;
}

.main-nav > a:last-child,
.main-nav > .nav-dropdown:last-child .nav-trigger {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.main-nav a:hover,
.nav-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.main-nav a.active,
.nav-trigger.active {
  background: #fff;
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  margin: 0;
}

.nav-trigger {
  position: relative;
  z-index: 2;
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
  background: transparent;
  appearance: none;
  cursor: default;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.nav-trigger::after {
  margin-left: 0.4rem;
  content: "▾";
  font-size: 0.76em;
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: block;
  visibility: hidden;
  min-width: 13rem;
  padding: 0.35rem 0;
  border: 1px solid var(--border-strong);
  background: #fff;
  opacity: 0;
  box-shadow: 0 14px 28px rgba(16, 38, 56, 0.18);
  pointer-events: none;
  text-align: left;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav-menu a {
  display: block;
  min-height: 0;
  padding: 0.55rem 0.85rem;
  border: 0;
  color: var(--ink);
  font-size: 0.82rem;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--surface-tint);
  color: var(--ink);
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem clamp(2rem, 4vw, 4rem) 4.2rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(215, 222, 230, 0.52);
}

.section,
.download-page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.45rem 0;
}

.intro {
  padding: 0 0 2.1rem;
  text-align: left;
}

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

h1,
h2,
h3,
.page-heading,
.chart-title {
  font-family: var(--serif);
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
}

h2,
.page-heading {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(1.42rem, 2.2vw, 1.86rem);
  font-weight: 600;
  line-height: 1.15;
}

h3 {
  margin: 1.85rem 0 0.7rem;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

.lede,
.compact-lede {
  max-width: 46rem;
  color: #2b3640;
  font-size: 1.04rem;
  line-height: 1.62;
}

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

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(15.5rem, 1fr);
  gap: 2.4rem;
  align-items: start;
}

.about-main {
  min-width: 0;
}

.about-news {
  position: sticky;
  top: 1rem;
  padding: 1rem 0 0 1.3rem;
  border-left: 3px solid var(--accent-soft);
}

.news {
  margin-top: 0;
}

.news h3,
.about-news h3 {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.news-list time,
.log-list time {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.archive-link {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

code {
  padding: 0.08rem 0.24rem;
  border: 1px solid #e0e7ed;
  background: #f6f8fa;
  color: #21313d;
  font-family: var(--mono);
  font-size: 0.9em;
}

.release-table,
.download-table {
  width: 100%;
  margin-top: 1.1rem;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  font-size: 0.94rem;
  line-height: 1.48;
}

.release-table th,
.release-table td,
.download-table th,
.download-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.release-table th,
.download-table th {
  background: #f0f4f7;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-table td:first-child {
  font-family: var(--mono);
  white-space: nowrap;
}

.download-accordion {
  display: grid;
  gap: 0;
  min-width: 0;
  margin-top: 1.6rem;
  border-top: 2px solid var(--ink);
  background: #fff;
}

.download-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-top: 0;
  background: #fff;
}

.download-panel summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--surface-soft);
  cursor: pointer;
  list-style: none;
}

.download-panel summary::-webkit-details-marker {
  display: none;
}

.download-panel summary::after {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.download-panel[open] summary::after {
  transform: rotate(225deg);
}

.download-card[open] summary {
  background: #eaf2f5;
}

.download-icon {
  display: inline-grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.download-summary-text {
  min-width: 0;
}

.download-panel summary strong,
.download-panel summary small {
  display: block;
}

.download-panel summary strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.2;
}

.download-panel summary small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.download-release {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.12rem 0.55rem;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.download-panel-body {
  padding: 1.05rem 1.1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.download-panel-body > p {
  margin-bottom: 0.95rem;
  color: #34424e;
  font-size: 0.95rem;
}

.download-form {
  display: grid;
  grid-template-columns: minmax(16rem, 1.1fr) minmax(14rem, 1fr) auto;
  gap: 0.9rem 1rem;
  align-items: end;
  padding: 0.95rem;
  border: 1px solid var(--border);
  background: #fff;
}

.download-form > *,
.download-panel summary > *,
.explorer-controls > * {
  min-width: 0;
}

.download-form label,
.explorer-controls label {
  display: grid;
  gap: 0.34rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.download-form select,
.explorer-controls select {
  width: 100%;
  min-width: 0;
  min-height: 2.45rem;
  padding: 0.42rem 2.1rem 0.42rem 0.62rem;
  border: 1px solid var(--border-strong);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  text-transform: none;
}

.download-meta {
  min-height: 2.45rem;
  padding: 0.05rem 0;
}

.download-meta span {
  display: block;
  margin-bottom: 0.08rem;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.download-meta p {
  margin: 0;
  color: #34424e;
  font-size: 0.91rem;
  line-height: 1.42;
}

.download-button,
.button-link {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.9rem;
  border: 1px solid var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.download-button:hover,
.button-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.file-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  display: grid;
  grid-template-columns: minmax(16rem, 1.2fr) minmax(7rem, 0.45fr) minmax(18rem, 1.35fr);
  gap: 0.8rem 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}

.file-list li:first-child {
  border-top: 0;
}

.file-list a {
  font-weight: 700;
}

.file-list span {
  color: var(--muted);
  font-size: 0.87rem;
}

.file-list em {
  color: #34424e;
  font-style: normal;
  font-size: 0.93rem;
}

.link-list {
  margin: 1rem 0 1.9rem;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.link-list li {
  display: grid;
  grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--border);
}

.link-list a {
  font-weight: 800;
}

.link-list span {
  color: var(--muted);
}

.link-list span::before {
  content: "";
}

.taxonomy-figure {
  margin: 1.35rem 0 2.2rem;
  padding: 0;
}

.taxonomy-core {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: baseline;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
  text-align: left;
}

.taxonomy-core span,
.taxonomy-core small {
  display: block;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.taxonomy-core strong {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  border-left: 1px solid var(--border);
}

.taxonomy-grid::before,
.taxonomy-family::before {
  display: none;
}

.taxonomy-family {
  position: relative;
  min-height: 12rem;
  padding: 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-top: 0;
  background: #fff;
}

.taxonomy-grid-compact .taxonomy-family p {
  min-height: 3.8rem;
}

.taxonomy-family h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.taxonomy-family h3 span {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.taxonomy-family p {
  margin-bottom: 0.75rem;
  color: #34424e;
  font-size: 0.93rem;
  line-height: 1.48;
}

.taxonomy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.taxonomy-tags li {
  margin: 0;
  padding: 0.08rem 0.28rem;
  border: 1px solid #e0e7ed;
  background: #f8fafb;
  color: #263540;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.35;
}

.taxonomy-tags li::after {
  content: "";
}

.taxonomy-figure figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.explorer {
  margin-top: 1.1rem;
  padding-top: 0;
}

.explorer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: end;
  margin-bottom: 0.85rem;
  padding: 0.9rem;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
  font-size: 0.88rem;
}

.explorer-controls select {
  min-width: 12rem;
}

.chart-panel {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
}

.portfolio-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0.8rem 0 0.95rem;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--border);
}

.portfolio-summary div {
  padding: 0.7rem 0.8rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.portfolio-summary strong {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1.02rem;
}

.portfolio-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.about-portfolio {
  margin-top: 0.55rem;
  padding-top: 0;
}

.about-portfolio .explorer-controls {
  gap: 0.7rem 1rem;
  align-items: end;
}

.about-portfolio .explorer-controls select {
  min-width: 10.5rem;
}

.about-portfolio .explorer-controls label:last-of-type select {
  min-width: 9.5rem;
}

.about-portfolio .portfolio-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.7rem;
}

.about-portfolio .portfolio-summary div {
  padding: 0.6rem 0.65rem;
}

.about-portfolio .chart-panel {
  margin-top: 0.65rem;
}

.bond-overview .chart-panel {
  margin-top: 0.4rem;
}

.bar-series rect {
  fill: rgba(43, 111, 127, 0.78);
}

.bar-series rect:nth-child(2n) {
  fill: rgba(24, 77, 90, 0.78);
}

.bar-labels text {
  font-size: 0.76rem;
}

.portfolio-range {
  margin: 0.45rem 0 0.55rem;
  font-family: var(--sans);
}

.portfolio-range-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 0.15rem 0.12rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.portfolio-range-track {
  position: relative;
  height: 42px;
  border: 1px solid var(--border-strong);
  background: #edf3f5;
  overflow: hidden;
}

.portfolio-range-track canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portfolio-range-selection {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  background: rgba(43, 111, 127, 0.16);
  pointer-events: none;
}

.portfolio-range-track input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 42px;
  margin: 0;
  background: transparent;
  appearance: none;
  pointer-events: none;
}

.portfolio-range-track input[type="range"]::-webkit-slider-thumb {
  width: 9px;
  height: 32px;
  border: 1px solid var(--accent-dark);
  border-radius: 0;
  background: #fff;
  appearance: none;
  cursor: ew-resize;
  pointer-events: auto;
}

.portfolio-range-track input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 32px;
  border: 1px solid var(--accent-dark);
  border-radius: 0;
  background: #fff;
  cursor: ew-resize;
  pointer-events: auto;
}

.portfolio-range-track input[type="range"]::-webkit-slider-runnable-track,
.portfolio-range-track input[type="range"]::-moz-range-track {
  height: 42px;
  background: transparent;
}

.portfolio-range-caption {
  margin: 0.16rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: right;
}

.chart-panel svg {
  display: block;
  width: 100%;
  height: auto;
}

.axis {
  stroke: #27333d;
  stroke-width: 1;
}

.gridline {
  stroke: #e5ebef;
  stroke-width: 1;
}

.gridline.vertical {
  stroke: #eef2f4;
}

.zero-line {
  stroke: #8b969f;
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.series-area {
  fill: rgba(43, 111, 127, 0.08);
  stroke: none;
}

.series-line {
  fill: none;
  stroke: var(--accent-dark);
  stroke-width: 2.35;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.series-point {
  fill: #fff;
  stroke: var(--accent-dark);
  stroke-width: 1.5;
}

.hover-layer[hidden] {
  display: none;
}

.hover-line {
  stroke: #777;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.hover-point {
  fill: var(--accent-dark);
  stroke: #fff;
  stroke-width: 2;
}

.hover-tooltip-box {
  fill: #fff;
  stroke: #c8d2db;
  stroke-width: 1;
  filter: drop-shadow(0 3px 5px rgba(16, 38, 56, 0.12));
}

.hover-label {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
}

.hover-value {
  fill: var(--text);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 800;
}

.hit-area {
  fill: transparent;
  cursor: crosshair;
  pointer-events: all;
}

.tick,
.chart-caption {
  color: var(--muted);
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.chart-title {
  fill: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.chart-subtitle {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
}

.chart-caption {
  margin-top: 0.45rem;
}

.log-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.log-list > li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.log-list > li:last-child {
  border-bottom: 0;
}

.log-list p:last-child,
.log-list ul:last-child {
  margin-bottom: 0;
}

.log-list ul {
  margin-bottom: 0.2rem;
}

.resource-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--border);
}

.resource-columns > div {
  padding: 0.95rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.resource-columns h3 {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

ul {
  margin-top: 0.5rem;
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.35rem;
}

.note-list {
  margin: 1rem 0 1.8rem;
  padding-left: 1.35rem;
}

.note-list li + li {
  margin-top: 0.7rem;
}

.note-list strong {
  font-weight: 700;
}

.contact {
  border-bottom: 0;
}

.contact-people,
.contact-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.35rem;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--border);
}

.contact-people article,
.contact-board article {
  padding: 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.contact .contact-people h2,
.contact-board h2 {
  margin-bottom: 0.45rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-people p,
.contact-board p {
  margin-bottom: 0;
  color: #34424e;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-board p {
  margin-bottom: 0.85rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.15rem clamp(1.4rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .main-nav {
    gap: 0;
  }

  .main-nav a,
  .nav-trigger {
    min-height: 2.45rem;
    padding: 0 0.75rem;
    font-size: 0.78rem;
  }

  .page {
    padding: 1.6rem 1.25rem 3.6rem;
    box-shadow: none;
  }

  .about-layout,
  .resource-columns,
  .portfolio-summary,
  .taxonomy-grid,
  .contact-board,
  .contact-people {
    grid-template-columns: 1fr;
  }

  .about-news {
    position: static;
    padding-left: 0;
    border-left: 0;
  }

  .download-panel summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .download-release {
    grid-column: 2 / 3;
    width: fit-content;
  }

  .download-panel summary::after {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
  }

  .download-form,
  .link-list li,
  .taxonomy-core {
    grid-template-columns: 1fr;
  }

  .file-list li {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .portfolio-summary,
  .resource-columns,
  .contact-board,
  .contact-people,
  .taxonomy-grid {
    border-left: 0;
  }

  .resource-columns > div,
  .contact-board article,
  .contact-people article,
  .taxonomy-family {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0.95rem 1rem 0;
  }

  .site-description {
    margin-bottom: 0.8rem;
  }

  .site-title {
    font-size: 1.55rem;
    line-height: 1.12;
  }

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

  .main-nav a,
  .nav-trigger {
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding: 0.55rem 0.45rem;
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .nav-dropdown {
    display: block;
  }

  .nav-trigger {
    width: 100%;
  }

  .nav-menu {
    left: 0;
    right: 0;
    min-width: 0;
  }

  .page {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .download-icon {
    width: 2rem;
    height: 2rem;
  }

  .download-panel summary {
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .download-panel-body,
  .download-form,
  .explorer-controls {
    padding: 0.85rem;
  }

  .download-form select {
    font-size: 0.82rem;
  }
}
