:root {
  color-scheme: dark;
  --bg: #050713;
  --bg-2: #080b1d;
  --surface: #0e1428;
  --surface-2: #131a33;
  --surface-3: #1a2346;
  --paper: #f5f7ff;
  --paper-2: #e5ebff;
  --ink: #050713;
  --text: #f7f8ff;
  --muted: #b8c1df;
  --subtle: #7d88aa;
  --line: rgba(229, 235, 255, 0.14);
  --line-strong: rgba(229, 235, 255, 0.26);
  --aqua: #30aad9;
  --cyan: #30aad9;
  --blue: #3d83df;
  --indigo: #4d58dc;
  --violet: #5f27d8;
  --purple: #7a00d9;
  --swiss-red: #da291c;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(70rem 44rem at 8% -14%, rgba(48, 170, 217, 0.18), transparent 62%),
    radial-gradient(58rem 42rem at 92% 8%, rgba(122, 0, 217, 0.2), transparent 64%),
    radial-gradient(64rem 42rem at 52% 112%, rgba(61, 131, 223, 0.14), transparent 68%),
    linear-gradient(rgba(229, 235, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 235, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg) 0%, #070b1a 46%, #040611 100%);
  background-size: auto, auto, auto, 64px 64px, 64px 64px, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::selection {
  color: var(--ink);
  background: var(--cyan);
}

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

code {
  padding: 0.08rem 0.24rem;
  border: 1px solid rgba(229, 235, 255, 0.16);
  border-radius: 4px;
  background: rgba(229, 235, 255, 0.08);
  color: var(--paper);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

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

p,
dd,
small {
  color: var(--muted);
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--aqua), var(--blue), var(--indigo), var(--purple));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(48, 170, 217, 0.08), rgba(122, 0, 217, 0.08)),
    rgba(5, 7, 19, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.2rem;
  font-weight: 850;
}

.brand-logo {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(48, 170, 217, 0.34));
}

.header-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 0.78rem;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0 0.62rem;
  border: 1px solid transparent;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.commons-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.15rem;
  padding: 0 0.68rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--paper-2);
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.commons-brand:hover,
.commons-brand:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.commons-brand-mark {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.18rem;
  height: 1.18rem;
  border-radius: 3px;
  background: var(--swiss-red);
}

.commons-brand-mark-v,
.commons-brand-mark-h {
  position: absolute;
  border-radius: 2px;
  background: #ffffff;
}

.commons-brand-mark-v {
  width: 0.24rem;
  height: 0.74rem;
}

.commons-brand-mark-h {
  width: 0.74rem;
  height: 0.24rem;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

#fabric-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background: #040611;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(46rem 32rem at 76% 22%, rgba(122, 0, 217, 0.3), transparent 68%),
    radial-gradient(42rem 30rem at 20% 72%, rgba(48, 170, 217, 0.2), transparent 68%),
    radial-gradient(34rem 28rem at 54% 42%, rgba(77, 88, 220, 0.18), transparent 66%),
    linear-gradient(90deg, rgba(5, 7, 19, 0.97) 0%, rgba(5, 7, 19, 0.74) 45%, rgba(5, 7, 19, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 7, 19, 0.18) 0%, rgba(5, 7, 19, 0.88) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  width: min(var(--max), calc(100% - 2rem));
  min-height: calc(88svh - 122px);
  margin: 0 auto;
  padding: clamp(4.8rem, 10vw, 8rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-copy {
  min-width: 0;
  max-width: 780px;
}

.eyebrow,
.section-kicker,
.hero-metrics span,
.signal-list dt,
.ledger-item span,
.fabric-layer span,
.authority-node span,
.check-row span,
.bound-row span,
.perf-row span,
.scrutiny-card span,
.identity-note span {
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin-bottom: 1rem;
}

h1 {
  margin-bottom: 1.3rem;
  color: var(--text);
  font-size: 7rem;
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 4.4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--paper-2);
  font-size: 1.32rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.74rem 1rem;
  border-radius: 6px;
  font-weight: 850;
}

.primary-action {
  background: linear-gradient(135deg, var(--aqua), var(--blue) 52%, var(--violet));
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(61, 131, 223, 0.28);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(48, 170, 217, 0.08), rgba(122, 0, 217, 0.1)),
    rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.primary-action:hover,
.secondary-action:hover,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(48, 170, 217, 0.5);
  outline-offset: 2px;
}

.hero-panel {
  align-self: center;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(28rem 18rem at 100% 0%, rgba(122, 0, 217, 0.2), transparent 70%),
    radial-gradient(24rem 18rem at 0% 100%, rgba(48, 170, 217, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(9, 13, 31, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.panel-topline span {
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.panel-topline strong {
  color: var(--violet);
  overflow-wrap: anywhere;
}

.signal-list {
  margin-bottom: 0;
}

.signal-list div {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.signal-list div:last-child {
  border-bottom: 0;
}

.signal-list dd {
  margin-left: 0;
  color: var(--text);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto 1rem;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  min-width: 0;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(8, 12, 28, 0.92);
}

.hero-metrics strong {
  display: block;
  margin: 0.32rem 0;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.05;
}

.hero-metrics small {
  display: block;
  line-height: 1.35;
}

.manifesto {
  display: grid;
  place-items: center;
  padding: 3rem clamp(1rem, 5vw, 5rem);
  background:
    radial-gradient(48rem 24rem at 0% 20%, rgba(48, 170, 217, 0.16), transparent 68%),
    radial-gradient(42rem 26rem at 100% 80%, rgba(122, 0, 217, 0.16), transparent 68%),
    linear-gradient(135deg, #eef7ff 0%, #edf0ff 50%, #f6efff 100%);
  color: var(--ink);
}

.manifesto p {
  max-width: 1080px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1.12;
  text-wrap: balance;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.section > * {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.56fr);
  gap: clamp(1.5rem, 5vw, 4.8rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading.wide {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
}

.section-heading p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.value-section {
  background:
    radial-gradient(52rem 32rem at 12% 10%, rgba(48, 170, 217, 0.14), transparent 66%),
    radial-gradient(46rem 34rem at 86% 8%, rgba(95, 39, 216, 0.12), transparent 64%),
    var(--bg-2);
}

.value-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.ledger-item {
  min-width: 0;
  min-height: 255px;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(12, 18, 38, 0.96);
}

.ledger-item span {
  display: block;
  margin-bottom: 3rem;
  color: var(--violet);
}

.ledger-item p {
  margin-bottom: 0;
}

.identity-section {
  background:
    radial-gradient(50rem 34rem at 84% 18%, rgba(122, 0, 217, 0.14), transparent 68%),
    #060918;
}

.identity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 1rem;
}

.verifier-stack,
.grant-checks,
.bounds-grid,
.perf-table {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.verifier-row {
  display: grid;
  grid-template-columns: 70px minmax(170px, 0.46fr) minmax(260px, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(48, 170, 217, 0.055), transparent 42%),
    rgba(12, 18, 38, 0.96);
}

.verifier-row span {
  color: var(--cyan);
  font-weight: 900;
}

.verifier-row strong {
  font-size: 1.12rem;
}

.verifier-row p {
  margin-bottom: 0;
}

.identity-note {
  align-self: stretch;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(22rem 20rem at 100% 0%, rgba(122, 0, 217, 0.22), transparent 72%),
    linear-gradient(180deg, rgba(77, 88, 220, 0.12), rgba(48, 170, 217, 0.045)),
    rgba(12, 18, 38, 0.94);
}

.identity-note span {
  color: var(--violet);
}

.identity-note p {
  margin: 1.2rem 0 0;
  color: var(--paper-2);
  font-size: 1.15rem;
}

.fabric-section {
  background:
    radial-gradient(54rem 34rem at 22% 4%, rgba(48, 170, 217, 0.14), transparent 66%),
    radial-gradient(42rem 30rem at 92% 28%, rgba(77, 88, 220, 0.14), transparent 64%),
    #050817;
}

.fabric-board {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.fabric-layer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) minmax(260px, 0.72fr) minmax(260px, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 96px;
  padding: 1rem 1.2rem;
  background:
    linear-gradient(90deg, rgba(48, 170, 217, 0.045), transparent 48%),
    rgba(11, 17, 36, 0.96);
}

.fabric-layer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--cyan);
}

.fabric-layer:nth-child(2)::before {
  background: var(--blue);
}

.fabric-layer:nth-child(3)::before {
  background: var(--indigo);
}

.fabric-layer:nth-child(4)::before {
  background: var(--purple);
}

.fabric-layer strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.fabric-layer small {
  display: block;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.route-card {
  min-width: 0;
  min-height: 310px;
  padding: 1.25rem;
  background:
    radial-gradient(22rem 18rem at 100% 0%, rgba(95, 39, 216, 0.1), transparent 70%),
    rgba(12, 18, 38, 0.96);
}

.route-card p {
  margin-bottom: 0;
}

.route-line {
  position: relative;
  height: 92px;
  margin-bottom: 1.45rem;
}

.route-line::before,
.route-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--surface);
  transform: translateY(-50%);
}

.route-line::before {
  left: 0;
}

.route-line::after {
  right: 0;
}

.route-line.direct {
  color: var(--cyan);
  background: linear-gradient(90deg, transparent 0 6%, currentColor 6% 94%, transparent 94%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 2px;
}

.route-line.relay {
  color: var(--indigo);
  background:
    radial-gradient(circle at 34% 50%, currentColor 0 0.34rem, transparent 0.36rem),
    radial-gradient(circle at 66% 50%, currentColor 0 0.34rem, transparent 0.36rem),
    linear-gradient(90deg, transparent 0 6%, currentColor 6% 94%, transparent 94%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 2px;
}

.route-line.tunnel {
  color: var(--blue);
  background: repeating-linear-gradient(90deg, currentColor 0 16px, transparent 16px 30px);
  mask-image: linear-gradient(transparent 44%, #000 44% 56%, transparent 56%);
}

.route-line.gossip {
  color: var(--purple);
  background:
    radial-gradient(circle at 22% 32%, currentColor 0 0.34rem, transparent 0.36rem),
    radial-gradient(circle at 42% 68%, currentColor 0 0.34rem, transparent 0.36rem),
    radial-gradient(circle at 64% 34%, currentColor 0 0.34rem, transparent 0.36rem),
    radial-gradient(circle at 82% 62%, currentColor 0 0.34rem, transparent 0.36rem);
}

.authority-section {
  background:
    radial-gradient(48rem 30rem at 2% 8%, rgba(48, 170, 217, 0.16), transparent 68%),
    radial-gradient(48rem 30rem at 100% 86%, rgba(122, 0, 217, 0.16), transparent 68%),
    linear-gradient(135deg, #eef7ff 0%, #edf0ff 50%, #f6efff 100%);
  color: var(--ink);
}

.authority-section .section-kicker,
.authority-section .section-heading p,
.authority-section p,
.authority-section small {
  color: #4c5675;
}

.authority-section h2,
.authority-section h3 {
  color: var(--ink);
}

.authority-section code {
  border-color: rgba(53, 95, 216, 0.28);
  background: rgba(53, 95, 216, 0.08);
  color: #142043;
}

.authority-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(17, 23, 46, 0.16);
  background: rgba(17, 23, 46, 0.16);
}

.authority-node {
  min-width: 0;
  min-height: 250px;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.52)),
    #f6f8ff;
}

.authority-node span,
.check-row span {
  color: #355fd8;
}

.authority-node p {
  margin-bottom: 0;
}

.grant-checks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
  border-color: rgba(17, 23, 46, 0.16);
  background: rgba(17, 23, 46, 0.16);
}

.check-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.52)),
    #f6f8ff;
}

.check-row p {
  margin-bottom: 0;
  color: #4c5675;
}

.bounds-section {
  background:
    radial-gradient(48rem 30rem at 86% 12%, rgba(122, 0, 217, 0.16), transparent 66%),
    radial-gradient(40rem 28rem at 14% 44%, rgba(61, 131, 223, 0.12), transparent 66%),
    #050817;
}

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

.bound-row {
  min-height: 138px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(12, 18, 38, 0.96);
}

.bound-row strong {
  display: block;
  margin-top: 0.8rem;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1.05;
}

.performance-section {
  background:
    radial-gradient(54rem 30rem at 22% 10%, rgba(48, 170, 217, 0.12), transparent 68%),
    #050713;
}

.perf-table {
  grid-template-columns: 1fr;
}

.perf-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.6fr) minmax(220px, 0.52fr) minmax(220px, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem;
  background:
    linear-gradient(90deg, rgba(61, 131, 223, 0.05), transparent 48%),
    rgba(12, 18, 38, 0.96);
}

.perf-row span {
  color: var(--muted);
}

.perf-row strong {
  color: var(--aqua);
  font-size: 2.2rem;
  line-height: 1;
}

.scrutiny-section {
  background:
    radial-gradient(48rem 30rem at 12% 12%, rgba(48, 170, 217, 0.12), transparent 66%),
    radial-gradient(48rem 34rem at 92% 2%, rgba(122, 0, 217, 0.18), transparent 66%),
    var(--bg-2);
}

.scrutiny-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.scrutiny-card {
  min-width: 0;
  min-height: 280px;
  padding: 1.25rem;
  background:
    radial-gradient(22rem 18rem at 100% 0%, rgba(77, 88, 220, 0.08), transparent 70%),
    rgba(12, 18, 38, 0.96);
}

.scrutiny-card span {
  color: var(--aqua);
}

.scrutiny-card.caution span {
  color: var(--violet);
}

.scrutiny-card p {
  margin-bottom: 0;
}

.fit-section {
  background:
    radial-gradient(52rem 34rem at 74% 12%, rgba(95, 39, 216, 0.16), transparent 68%),
    #070b1a;
}

.fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.fit-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.56rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--paper-2);
  font-weight: 750;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
  background:
    linear-gradient(90deg, rgba(48, 170, 217, 0.08), rgba(122, 0, 217, 0.08)),
    #030511;
}

.footer-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}

.footer-commons-brand {
  flex: 0 0 auto;
}

.site-footer p {
  max-width: 820px;
  margin-bottom: 0;
}

.site-footer a {
  color: var(--text);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1320px) {
  h1 {
    font-size: 8.25rem;
  }

  h2 {
    font-size: 4.9rem;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 5.9rem;
  }

  h2 {
    font-size: 3.45rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    max-width: 620px;
  }

  .hero-metrics,
  .route-grid,
  .authority-flow,
  .bounds-grid,
  .scrutiny-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .identity-layout,
  .section-heading,
  .section-heading.wide {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .header-links {
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  body {
    background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0.15rem;
  }

  .site-nav a {
    flex: 1 0 auto;
    justify-content: center;
  }

  .commons-brand {
    width: 100%;
    justify-content: center;
  }

  h1 {
    font-size: 4.15rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  h3 {
    font-size: 1.22rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 4.2rem;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .manifesto p {
    font-size: 1.45rem;
  }

  .value-ledger,
  .route-grid,
  .authority-flow,
  .grant-checks,
  .bounds-grid,
  .scrutiny-columns {
    grid-template-columns: 1fr;
  }

  .verifier-row,
  .fabric-layer,
  .check-row,
  .perf-row {
    grid-template-columns: 1fr;
    gap: 0.48rem;
  }

  .hero-metrics {
    display: none;
  }

  .signal-list div {
    grid-template-columns: minmax(7.2rem, 0.68fr) minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.82rem 1rem;
  }

  .ledger-item,
  .route-card,
  .authority-node,
  .scrutiny-card {
    min-height: auto;
  }

  .ledger-item span {
    margin-bottom: 1.8rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-left {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-commons-brand {
    width: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
