:root {
  --navy: #000618;
  --navy-soft: #07132d;
  --ink: #10203b;
  --muted: #5d6b82;
  --line: #d8dfeb;
  --paper: #f6f7f3;
  --stone: #e9edf2;
  --white: #ffffff;
  --blue: #6ca8ff;
  --blue-deep: #1f5da8;
  --cyan: #74e6df;
  --cyan-deep: #118b88;
  --violet: #b59bff;
  --max: 1180px;
  --reading: 720px;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8effb;
  --muted: #adbad0;
  --line: #34445f;
  --paper: #071020;
  --stone: #0e1a30;
  --blue: #83b6ff;
  --blue-deep: #8abaff;
  --cyan-deep: #61d9d1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.narrow-content {
  max-width: 980px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 300;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 0.2rem;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(0, 6, 24, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(0, 6, 24, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.menu-open .site-header,
body.menu-open .site-header.is-scrolled,
body:has(.mobile-nav[open]) .site-header,
body:has(.mobile-nav[open]) .site-header.is-scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-shell {
  height: 88px;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

/* Keep the header navigation comfortably spaced. */
.site-header .shell.nav-shell {
  width: min(calc(100% - 2rem), 1280px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.brand-wordmark {
  width: clamp(240px, 22.6vw, 266px);
  height: auto;
  aspect-ratio: 1024 / 341;
  object-fit: contain;
}

.brand:not(.footer-brand) > img:not(.brand-wordmark) {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand {
  justify-self: start;
  width: fit-content;
  gap: 1rem;
  padding: 0.5rem 1rem;
}

.footer-brand > img:first-child {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.footer-wordmark {
  width: auto;
  height: 68px;
  aspect-ratio: 1024 / 341;
  object-fit: contain;
  transform: translateY(10%);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer nav a,
.footer-pending {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-pending {
  cursor: default;
  opacity: 0.6;
}

.site-footer nav a,
.footer-pending {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.82;
}

.desktop-nav > a:not(.nav-action):hover,
.desktop-nav > a:not(.nav-action):focus-visible {
  color: var(--cyan);
}

.site-footer nav a {
  color: #727c8c;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--cyan);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.nav-action,
.button-dark {
  border: 1px solid rgba(108, 168, 255, 0.35);
  color: var(--white);
  background: rgba(108, 168, 255, 0.07);
}

/* Keep desktop navigation rhythm restrained. */
.desktop-nav > a {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.desktop-nav > .nav-action {
  color: var(--white);
}

.desktop-nav a[target="_blank"]::after,
.mobile-nav-panel a[target="_blank"]::after {
  color: var(--cyan);
  content: "↗";
}

.mobile-nav-panel a[target="_blank"]::after {
  margin-left: 0.4rem;
}

.nav-action:hover,
.nav-action:focus-visible,
.button-dark:hover,
.button-dark:focus-visible {
  color: var(--white);
  background: rgba(108, 168, 255, 0.12);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.theme-toggle[hidden] {
  display: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(116, 230, 223, 0.1);
  border-color: var(--cyan);
}

.theme-toggle-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.mobile-nav {
  display: none;
  position: relative;
  margin-left: auto;
  z-index: 2;
}

.mobile-nav summary {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary:hover,
.mobile-nav[open] summary {
  background: transparent;
}

.mobile-nav summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 12px;
}

.menu-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.menu-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 22px;
  height: 1px;
  margin: 0;
  background: var(--white);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-icon i:first-child {
  transform: translate(-50%, calc(-50% - 6px));
}

.menu-icon i:nth-child(2) {
  transform: translate(-50%, -50%);
}

.menu-icon i:last-child {
  transform: translate(-50%, calc(-50% + 6px));
}

.mobile-nav[open] .menu-icon i:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav[open] .menu-icon i:nth-child(2) {
  opacity: 0;
}

.mobile-nav[open] .menu-icon i:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-panel {
  position: fixed;
  inset: 88px 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  overflow-y: auto;
  padding: 2rem 1rem 2.5rem;
  border: 0;
  border-radius: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 6, 24, 0.96),
    rgba(7, 19, 45, 0.78) 62%,
    rgba(0, 6, 24, 0.4)
  );
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  will-change: opacity, transform;
}

details.mobile-nav:not([open]) > .mobile-nav-panel {
  display: flex;
}

.mobile-nav-panel a {
  display: block;
  width: 100%;
  padding: 1.15rem 1rem;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.35rem, 5.8vw, 1.55rem);
  font-weight: 650;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.mobile-nav-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    visibility 0s linear 200ms;
}

.mobile-nav[open] .mobile-nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
  animation: philosophers-mobile-nav-open 200ms ease both;
}

.mobile-nav[open] .mobile-nav-panel.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(-10px);
  transition-delay: 0s;
  animation-name: philosophers-mobile-nav-close;
}

@keyframes philosophers-mobile-nav-open {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes philosophers-mobile-nav-close {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible,
.mobile-nav-panel a:active {
  background: transparent;
  color: var(--cyan);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(24, 89, 157, 0.3), transparent 28rem),
    radial-gradient(circle at 7% 100%, rgba(104, 56, 178, 0.18), transparent 28rem), var(--navy);
  color: var(--white);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 13rem;
  background: linear-gradient(transparent, rgba(0, 6, 24, 0.42));
  content: "";
  pointer-events: none;
}

.hero-grid {
  min-height: min(720px, calc(100vh - 84px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding-block: 4.5rem 5.25rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(4rem, 6.8vw, 6.8rem);
  line-height: 0.94;
}

.hero-headline-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-outline-word {
  color: rgba(255, 255, 255, 0.92);
}

@supports (-webkit-text-stroke: 1px white) {
  .hero-outline-word {
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(238, 242, 250, 0.78);
  }
}

.hero-description {
  max-width: 610px;
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
  line-height: 1.65;
}

.current-stage {
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-style: normal;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.2rem;
}

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

.button-light:hover,
.button-light:focus-visible {
  background: var(--cyan);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--cyan);
}

.network-visual {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  justify-self: end;
  pointer-events: none;
}

.network-aura {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 161, 255, 0.18), rgba(0, 6, 24, 0) 68%);
  filter: blur(12px);
}

.network-orbit {
  position: absolute;
  border: 1px solid rgba(116, 230, 223, 0.36);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orbit-one {
  inset: 12% 0;
  animation: orbit-sway 18s ease-in-out infinite alternate;
}

.orbit-two {
  inset: 0 12%;
  transform: rotate(55deg);
  border-color: rgba(108, 168, 255, 0.36);
  animation: orbit-sway-reverse 23s ease-in-out infinite alternate;
}

.network-lines {
  position: absolute;
  inset: 16%;
}

.network-lines i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(116, 230, 223, 0.8), transparent);
}

.network-lines i:nth-child(1) {
  transform: rotate(12deg);
}

.network-lines i:nth-child(2) {
  transform: rotate(78deg);
}

.network-lines i:nth-child(3) {
  transform: rotate(145deg);
}

.network-lines i:nth-child(4) {
  transform: rotate(214deg);
}

.network-lines i:nth-child(5) {
  transform: rotate(278deg);
}

.network-lines i:nth-child(6) {
  transform: rotate(334deg);
}

.network-mark {
  position: absolute;
  z-index: 2;
  inset: 16.4%;
  width: 67.2%;
  height: 67.2%;
  margin: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.38));
}

.network-node {
  position: absolute;
  z-index: 3;
  width: 13px;
  height: 13px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(116, 230, 223, 0.16);
  animation: node-pulse 4s ease-in-out infinite;
}

.node-public {
  left: 10%;
  top: 29%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(108, 168, 255, 0.16);
}

.node-confidential {
  right: 7%;
  top: 22%;
  animation-delay: -1.1s;
}

.node-thinker {
  left: 13%;
  bottom: 14%;
  background: var(--violet);
  box-shadow: 0 0 0 5px rgba(181, 155, 255, 0.16);
  animation-delay: -2.1s;
}

.node-receipt {
  right: 12%;
  bottom: 32%;
  animation-delay: -3.2s;
}

.node-routing {
  left: calc(50% - 6.5px);
  top: 5%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(108, 168, 255, 0.16);
  animation-delay: -0.6s;
}

.node-evidence {
  left: 61.5%;
  bottom: 12%;
  background: var(--violet);
  box-shadow: 0 0 0 5px rgba(181, 155, 255, 0.16);
  animation-delay: -2.7s;
}

section[id] {
  scroll-margin-top: 90px;
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  color: var(--blue-deep);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label span:first-child {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.section-label-light {
  color: var(--cyan);
}

.section h2 {
  max-width: 850px;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  line-height: 0.98;
}

.section-lede {
  max-width: var(--reading);
  margin: 2.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.why-section {
  background: linear-gradient(90deg, rgba(0, 6, 24, 0.03) 1px, transparent 1px), var(--paper);
  background-size: 8rem 8rem;
}

.why-section h2 {
  max-width: 780px;
}

.why-section .section-lede {
  max-width: 780px;
  margin-top: 3rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.38;
}

.roles-section {
  background: var(--stone);
}

.roles-intro {
  max-width: 540px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 59, 0.12);
  background: rgba(16, 32, 59, 0.12);
}

.role-card {
  --role-accent: var(--blue-deep);
  position: relative;
  min-height: 270px;
  padding: 1.8rem 2rem 3.4rem;
  background: var(--paper);
}

.role-card::after {
  position: absolute;
  left: 2rem;
  bottom: 1.45rem;
  width: min(36%, 7rem);
  height: 1px;
  background: var(--role-accent);
  content: "";
}

.role-card::before {
  position: absolute;
  bottom: calc(1.45rem - 2px);
  left: 2rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--role-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--role-accent) 14%, transparent);
  content: "";
}

.role-card:nth-child(2) {
  --role-accent: var(--cyan-deep);
  background: #f0f3f5;
}

.role-card:nth-child(3) {
  --role-accent: #6f59b5;
  background: #e4ebee;
}

.role-number {
  display: block;
  margin-bottom: 2.15rem;
  color: var(--role-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.role-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.role-card p {
  max-width: 280px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.trust-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(16, 139, 136, 0.23), transparent 27rem),
    radial-gradient(circle at 4% 88%, rgba(31, 93, 168, 0.35), transparent 31rem), var(--navy);
  color: var(--white);
}

.trust-section::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(116, 230, 223, 0.04) 1px, transparent 1px);
  background-size: 100% 5rem;
  content: "";
  pointer-events: none;
}

.trust-section .shell {
  position: relative;
}

.trust-section h2 {
  max-width: 900px;
}

.trust-intro {
  max-width: 800px;
  color: rgba(255, 255, 255, 0.78);
}

.trust-map {
  position: relative;
  min-height: 410px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto 2.3rem auto 4rem auto auto;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 5rem auto 4rem;
  max-width: 920px;
}

.map-step {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  align-items: center;
  max-width: 390px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.07);
}

.map-step span {
  grid-row: span 2;
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.map-step strong,
.map-output strong {
  font-size: 0.92rem;
}

.map-step small,
.map-output small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.73rem;
}

.map-request {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
}

.map-router {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: center;
  border-color: rgba(116, 230, 223, 0.5);
  background: rgba(116, 230, 223, 0.1);
}

.connector-down {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  width: 1px;
  height: 100%;
  background: linear-gradient(var(--cyan), rgba(116, 230, 223, 0.1));
}

.map-branches {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 4;
  align-self: start;
  justify-self: center;
  width: 50%;
  height: calc(100% + 1rem);
  border-top: 1px solid rgba(116, 230, 223, 0.42);
  pointer-events: none;
}

.map-branches i {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(116, 230, 223, 0.42);
}

.map-branches i:first-child {
  left: 0;
  transform: rotate(34deg);
  transform-origin: top center;
}

.map-branches i:last-child {
  right: 0;
  transform: rotate(-34deg);
  transform-origin: top center;
}

.map-output {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.2rem;
  padding: 1.3rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
}

.map-public {
  grid-row: 5;
  border: 1px solid rgba(108, 168, 255, 0.56);
  background: linear-gradient(135deg, rgba(31, 93, 168, 0.52), rgba(31, 93, 168, 0.13));
}

.map-confidential {
  grid-row: 5;
  border: 1px solid rgba(116, 230, 223, 0.56);
  background: linear-gradient(135deg, rgba(17, 139, 136, 0.45), rgba(17, 139, 136, 0.12));
}

.map-return {
  grid-column: 1 / -1;
  grid-row: 6;
  justify-self: center;
  color: var(--cyan);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.lane-card {
  min-height: 425px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.055);
}

.lane-public {
  background: linear-gradient(145deg, rgba(31, 93, 168, 0.44), rgba(255, 255, 255, 0.035));
}

.lane-confidential {
  background: linear-gradient(145deg, rgba(17, 139, 136, 0.36), rgba(255, 255, 255, 0.035));
}

.lane-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.lane-dot {
  flex: 0 0 auto;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(108, 168, 255, 0.13);
}

.lane-confidential .lane-dot {
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(116, 230, 223, 0.13);
}

.lane-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.lane-heading p {
  margin: 0.15rem 0 0;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lane-card > p:not(.lane-heading p) {
  margin: 2.2rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.trust-closing {
  max-width: 820px;
  margin: 3rem 0 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.35;
}

.thinkers-section {
  background: var(--paper);
}

.thinkers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.thinkers-grid h2 {
  max-width: 660px;
  font-size: clamp(2.75rem, 5.6vw, 5.8rem);
}

.thinkers-grid .section-lede {
  color: var(--ink);
}

.thinkers-grid p:not(.section-lede) {
  max-width: 610px;
  margin-top: 1.8rem;
  color: var(--muted);
}

.thinker-quote {
  margin: 2.25rem 0 0;
  padding-left: 1.3rem;
  border-left: 3px solid var(--blue-deep);
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.thinker-note {
  margin-top: 2.5rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--white);
}

.thinker-note p {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: 1.05rem;
}

.thinker-loop {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.thinker-loop span {
  position: relative;
  z-index: 1;
  padding: 0.15rem 0;
  color: var(--blue-deep);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thinker-loop b {
  position: relative;
  display: block;
  width: 1px;
  height: 1.65rem;
  padding: 0;
  border: 0;
  background: rgba(116, 230, 223, 0.48);
  color: transparent;
  font-size: 0;
}

.thinker-loop b::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border: solid var(--cyan-deep);
  border-width: 0 1px 1px 0;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.evidence-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(181, 155, 255, 0.1), transparent 26rem), var(--stone);
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: end;
}

.evidence-grid .section-lede {
  margin-top: 0;
  color: var(--ink);
}

.evidence-statement {
  margin: 2.2rem 0 0;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.7vw, 2.4rem);
  line-height: 1.2;
}

.evidence-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: 2.75rem;
  padding: 0;
  list-style: none;
}

.evidence-path::before {
  position: absolute;
  top: 1.15rem;
  right: 0.6rem;
  left: 0.6rem;
  border-top: 1px solid rgba(31, 93, 168, 0.35);
  content: "";
}

.evidence-path > li {
  position: relative;
  min-height: 112px;
  padding: 0.2rem 1.2rem 1.2rem 0;
}

.evidence-path span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  background: var(--stone);
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.evidence-path strong,
.evidence-path small {
  display: block;
}

.evidence-path strong {
  margin-top: 1.45rem;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.3vw, 2.2rem);
  font-weight: 400;
}

.evidence-path small {
  max-width: 240px;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.qa-section {
  background:
    radial-gradient(circle at 90% 18%, rgba(116, 230, 223, 0.12), transparent 24rem), var(--paper);
}

.qa-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.qa-heading .section-lede {
  max-width: 430px;
  margin-top: 1.65rem;
  color: var(--ink);
}

.qa-list {
  margin-top: 3.6rem;
  border-top: 1px solid var(--line);
}

.qa-item {
  border-bottom: 1px solid var(--line);
}

.qa-item summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  color: var(--ink);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.25;
  list-style: none;
  transition: color 180ms ease;
}

.qa-item summary:hover,
.qa-item summary:focus-visible {
  color: var(--blue-deep);
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  flex: 0 0 auto;
  color: var(--blue-deep);
  content: "+";
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.qa-item[open] summary::after {
  transform: rotate(45deg);
}

.qa-answer {
  max-width: 650px;
  padding: 0 2.5rem 1.45rem 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.qa-answer p {
  margin: 0;
}

.paper-section {
  background: var(--white);
}

.paper-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.paper-grid .section-lede {
  color: var(--ink);
}

.paper-invitation {
  max-width: 570px;
  margin: 2rem 0 0;
  color: var(--blue-deep);
  font-size: 1rem;
}

.paper-card {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(0.625rem, 1.25vw, 0.85rem);
  align-items: start;
  margin-top: 3.6rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.paper-preview {
  width: min(100%, 410px);
  aspect-ratio: 745 / 1053;
  justify-self: center;
  align-self: start;
  overflow: hidden;
  border-radius: 0.16rem;
  background: var(--paper);
  box-shadow: 0 12px 25px rgba(0, 6, 24, 0.16);
}

.paper-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.paper-card-content {
  width: 100%;
  text-align: center;
}

.paper-meta {
  width: min(100%, 410px);
  max-width: 100%;
  margin-inline: auto;
  padding: 0.4rem 1.15rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.artifact-label {
  margin: 0;
  color: var(--blue-deep);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.artifact-current,
.artifact-target {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.35;
  max-width: 38rem;
}

.artifact-target {
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.button-outline {
  border: 1px solid rgba(31, 93, 168, 0.48);
  background: transparent;
  color: var(--blue-deep);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--blue-deep);
  background: rgba(31, 93, 168, 0.09);
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.sibling-section {
  background: var(--stone);
}

.sibling-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 8vw, 8rem);
}

.sibling-copy {
  max-width: 650px;
  margin-top: 3.6rem;
}

.sibling-copy .section-lede {
  margin-top: 0;
  color: var(--ink);
}

.sibling-copy > p:not(.section-lede) {
  margin-top: 1.6rem;
  color: var(--muted);
}

.boundary-sentence {
  padding: 1.2rem 1.3rem;
  border-left: 3px solid var(--blue-deep);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink) !important;
  font-size: 0.9rem;
}

.sibling-link {
  display: flex;
  width: fit-content;
  margin: 1.4rem auto 0;
}

.follow-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(181, 155, 255, 0.2), transparent 25rem), var(--navy);
  color: var(--white);
}

.follow-section::before {
  position: absolute;
  left: 50%;
  bottom: -21rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(116, 230, 223, 0.2);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.follow-inner {
  position: relative;
}

.follow-section h2 {
  max-width: 700px;
}

.follow-section .section-lede {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
}

.communication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.2rem;
}

.communication-link {
  position: relative;
  display: flex;
  min-height: 80px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  padding: 1rem 3.4rem 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.communication-link.communication-active {
  border-color: rgba(116, 230, 223, 0.58);
  background: rgba(116, 230, 223, 0.08);
}

.communication-link:not(:disabled):hover,
.communication-link:not(:disabled):focus-visible {
  border-color: var(--cyan);
  background: rgba(116, 230, 223, 0.1);
  transform: translateY(-2px);
}

.nav-action:active,
.button:active,
.communication-link:not(:disabled):active {
  transform: translateY(0);
}

.communication-link:disabled {
  border-color: rgba(255, 255, 255, 0.12);
  border-style: solid;
  background: rgba(255, 255, 255, 0.02);
  cursor: not-allowed;
  opacity: 0.72;
}

.communication-link.communication-pending span {
  color: rgba(255, 255, 255, 0.58);
}

.communication-link.communication-pending small {
  color: rgba(116, 230, 223, 0.62);
}

.communication-link span {
  font-size: 0.92rem;
  font-weight: 800;
}

.communication-link small {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.communication-arrow {
  position: absolute;
  top: 50%;
  right: 1.2rem;
  color: var(--cyan);
  font-size: 1.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.signature {
  margin: 7rem 0 0;
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 6.7rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.site-footer {
  padding: 2.2rem 0 1.2rem;
  background: #00030f;
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-signature {
  margin: 0;
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

/* Keep the footer frame compact and stable. */
.site-footer { min-height: 239px; }
@media (max-width: 980px) { .site-footer { min-height: 266px; } }
@media (max-width: 680px) { .site-footer { min-height: 247px; } }
@media (max-width: 560px) { .site-footer { min-height: 283px; } }
@media (max-width: 380px) { .site-footer { min-height: 300px; } }

@keyframes orbit-sway {
  from {
    transform: rotate(-25deg) scale(0.98);
  }
  to {
    transform: rotate(-19deg) scale(1.03);
  }
}

@keyframes orbit-sway-reverse {
  from {
    transform: rotate(55deg) scale(1.03);
  }
  to {
    transform: rotate(48deg) scale(0.98);
  }
}

@keyframes node-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(116, 230, 223, 0.03);
    transform: scale(1.12);
  }
}

html[data-theme="dark"] .why-section {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

html[data-theme="dark"] .role-grid {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .role-card:nth-child(2) {
  background: #101c32;
}

html[data-theme="dark"] .role-card:nth-child(3) {
  background: #14233c;
}

html[data-theme="dark"] .thinker-note {
  background: #101d34;
}

html[data-theme="dark"] .paper-section {
  background: var(--paper);
}

html[data-theme="dark"] .paper-meta {
  background: rgba(16, 29, 52, 0.72);
}

html[data-theme="dark"] .button-outline {
  border-color: rgba(116, 230, 223, 0.42);
  color: var(--cyan);
}

html[data-theme="dark"] .button-outline:hover,
html[data-theme="dark"] .button-outline:focus-visible {
  border-color: var(--cyan);
  background: rgba(116, 230, 223, 0.1);
  color: var(--cyan);
}

html[data-theme="dark"] .boundary-sentence {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .evidence-statement {
  color: #b8c4da;
}

html[data-theme="dark"] .evidence-path > li > strong {
  color: var(--blue-deep);
}

html[data-theme="dark"] .thinker-quote {
  color: var(--blue-deep);
  border-left-color: #93a6cd;
}

html[data-theme="dark"] .thinker-loop span {
  color: #93a6cd;
}

@media (min-width: 941px) and (max-width: 1100px) {
  .desktop-nav {
    gap: 0.7rem;
  }

  .desktop-nav > a {
    font-size: 0.79rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .nav-action {
    display: none;
  }

  .nav-shell {
    position: relative;
    justify-content: center;
  }

  .brand {
    margin-inline: auto;
  }

  .mobile-nav {
    display: block;
    position: absolute;
    right: 0;
    margin-left: 0;
  }

  .theme-toggle {
    position: absolute;
    left: 0;
    margin-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "copy";
    min-height: auto;
    padding-block: 4rem 4.5rem;
  }

  .hero-copy {
    grid-area: copy;
    max-width: 760px;
  }

  .network-visual {
    grid-area: visual;
    justify-self: center;
    width: min(100%, 500px, 47svh);
  }

  .role-grid,
  .lane-grid,
  .communication-grid {
    grid-template-columns: 1fr;
  }

  .role-card {
    min-height: 200px;
  }

  .role-number {
    margin-bottom: 2rem;
  }

  .thinkers-grid,
  .evidence-grid,
  .qa-grid,
  .paper-grid,
  .sibling-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .thinker-note {
    margin-top: 0;
  }

  .paper-grid {
    align-items: start;
  }

  .paper-card {
    margin-top: 0;
  }

  .qa-list,
  .sibling-copy {
    margin-top: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1.2rem;
  }

  .site-footer nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 2rem), var(--max));
  }

  .nav-shell {
    height: 88px;
    min-height: 88px;
    gap: 0.5rem;
  }

  .brand {
    flex: 0 0 auto;
    min-width: 0;
    gap: 0.4rem;
    font-size: 0.76rem;
  }

  .brand-wordmark {
    width: min(240px, calc(100vw - 8rem));
  }

  .brand:not(.footer-brand) > img:not(.brand-wordmark) {
    width: 26px;
    height: 26px;
  }

  .footer-brand {
    gap: 0.8rem;
    padding: 0.4rem 0.7rem;
  }

  .footer-brand > img:first-child {
    width: 52px;
    height: 52px;
  }

  .footer-wordmark {
    height: 52px;
  }

  .brand span {
    min-width: 0;
  }

  .theme-toggle {
    flex: 0 0 44px;
    width: 44px;
    padding-inline: 0;
  }

  .mobile-nav {
    flex: 0 0 52px;
  }

  .menu-icon i {
    width: 20px;
  }

  .mobile-nav-panel {
    top: 88px;
  }

  .hero-grid {
    gap: 2.25rem;
    padding-block: 3rem 3.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.875rem, 9.4vw, 4.2rem);
    line-height: 0.96;
  }

  .hero-description {
    margin-top: 1.5rem;
    font-size: 1rem;
  }

  .current-stage {
    max-width: 290px;
    margin: 0.75rem auto 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
    line-height: 1.35;
    text-align: center;
  }

  .hero-actions {
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .hero-actions .button-light {
    border: 1px solid rgba(116, 230, 223, 0.46);
    background: rgba(116, 230, 223, 0.12);
    color: var(--white);
  }

  .hero-actions .button-light:hover,
  .hero-actions .button-light:focus-visible {
    background: var(--cyan);
    color: var(--navy);
  }

  .hero-actions,
  .paper-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .paper-actions .button {
    width: 100%;
  }

  .network-visual {
    width: min(88%, 320px, 40svh);
  }

  section[id] {
    scroll-margin-top: 90px;
  }

  .section {
    padding-block: 4.5rem;
  }

  .section h2 {
    font-size: clamp(2.8rem, 12.5vw, 3.7rem);
    line-height: 1;
  }

  .why-section .section-lede {
    font-size: 1.45rem;
  }

  .roles-section {
    padding-block: 4.25rem;
  }

  .role-grid {
    margin-top: 2.5rem;
  }

  .role-card {
    min-height: 182px;
    padding: 1.35rem 1.4rem 3rem;
  }

  .role-card::after {
    left: 1.4rem;
    bottom: 1.25rem;
  }

  .role-card::before {
    bottom: calc(1.25rem - 2px);
    left: 1.4rem;
  }

  .role-number {
    margin-bottom: 1.4rem;
  }

  .trust-map {
    min-height: 0;
    margin: 2.75rem auto 4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 2rem auto 2.8rem auto auto;
    gap: 0.75rem 0.65rem;
  }

  .map-request,
  .map-router,
  .map-return {
    grid-column: 1 / -1;
  }

  .map-request,
  .map-router {
    width: min(100%, 30rem);
    justify-self: center;
  }

  .map-request {
    grid-row: 1;
  }

  .connector-down {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .map-router {
    grid-row: 3;
  }

  .map-branches {
    display: block;
    grid-column: 1 / -1;
    grid-row: 4;
    width: calc(50% + 0.325rem);
    height: calc(100% + 0.75rem);
    align-self: stretch;
    justify-self: center;
    border-top: 0;
  }

  .map-branches::before,
  .map-branches::after {
    position: absolute;
    background: rgba(116, 230, 223, 0.42);
    content: "";
  }

  .map-branches::before {
    top: 0;
    left: 50%;
    width: 1px;
    height: 50%;
  }

  .map-branches::after {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
  }

  .map-branches i {
    top: 50%;
    height: 50%;
    transform: none;
  }

  .map-branches i:first-child {
    left: 0;
    transform: none;
  }

  .map-branches i:last-child {
    right: 0;
    transform: none;
  }

  .map-output {
    grid-row: 5;
    width: 100%;
    min-width: 0;
    min-height: 7rem;
    align-self: stretch;
    align-content: center;
    padding: 1rem;
  }

  .map-public {
    grid-column: 1;
  }

  .map-confidential {
    grid-column: 2;
  }

  .map-return {
    grid-row: 6;
    justify-self: center;
    margin-top: 0.35rem;
    padding-bottom: 0;
    text-align: center;
  }

  .lane-card {
    min-height: 0;
  }

  .thinker-loop {
    gap: 0;
    margin-top: 1.6rem;
    padding-top: 1.2rem;
  }

  .evidence-section {
    padding-block: 4.25rem;
  }

  .evidence-path {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 2.4rem;
    padding-left: 3rem;
  }

  .evidence-path::before {
    top: 1.2rem;
    bottom: 1.2rem;
    left: 1.15rem;
    width: 1px;
    height: auto;
    border-top: 0;
    background: rgba(31, 93, 168, 0.35);
  }

  .evidence-path > li {
    display: flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0 0 1.5rem 0.5rem;
  }

  .evidence-path > li:last-child {
    padding-bottom: 0;
  }

  .evidence-path span {
    position: absolute;
    top: 0;
    left: -3rem;
    background: transparent;
  }

  .evidence-path strong {
    margin-top: 0;
  }

  .paper-card {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .paper-preview,
  .paper-meta {
    width: min(100%, 280px);
  }

  .paper-preview {
    min-height: 0;
    aspect-ratio: 745 / 1053;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (min-width: 941px) and (max-width: 980px) {
  .desktop-nav {
    display: flex;
  }

  .nav-action {
    display: inline-flex;
  }

  .nav-shell {
    justify-content: initial;
  }

  .brand {
    margin-inline: 0;
  }

  .mobile-nav {
    display: none;
  }

  .theme-toggle {
    position: static;
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    width: min(calc(100% - 2rem), var(--max));
    height: 88px;
    min-height: 88px;
  }

  .mobile-nav-panel {
    inset: 88px 0 0;
  }
}

@media (max-height: 600px) and (max-width: 980px) {
  .hero-grid {
    gap: 1.25rem;
    padding-block: 1.5rem 2rem;
  }

  .network-visual {
    width: min(88%, 320px, 38svh);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep the logo-first hero and parallax shift restrained. */
@media (min-width: 981px) {
  .hero {
    --hero-parallax-reserve: 180px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "copy";
    gap: clamp(1.5rem, 2.6vw, 2.5rem);
    min-height: min(900px, calc(100vh - 84px));
    padding-block: 2.25rem calc(3rem + var(--hero-parallax-reserve));
  }

  .hero-copy {
    grid-area: copy;
    max-width: 1000px;
    margin-inline: auto;
    text-align: center;
    will-change: transform;
  }

  .network-visual {
    grid-area: visual;
    width: min(100%, 640px, 44svh);
    justify-self: center;
    will-change: transform;
  }

  .hero h1 {
    max-width: 940px;
    margin-inline: auto;
    font-size: clamp(3.8rem, 6vw, 5.8rem);
  }

  .hero-description {
    max-width: 760px;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .network-visual {
    container-type: inline-size;
  }

  .network-aura {
    animation: philosophers-intro-aura 5.4s linear both;
    transform-origin: center;
    will-change: opacity, scale;
  }

  .network-orbit {
    transform-origin: center;
    will-change: opacity, transform, rotate, scale;
  }

  .orbit-one,
  .orbit-two {
    animation-duration: 18s, 5.4s;
    animation-timing-function: ease-in-out, linear;
    animation-iteration-count: infinite, 1;
    animation-direction: alternate, normal;
    animation-fill-mode: none, both;
  }

  .orbit-one {
    --intro-orbit-start: -26deg;
    --intro-orbit-surge: 38deg;
    --intro-orbit-settle: -10deg;
    --intro-orbit-fine: 3deg;
    --intro-orbit-tail: -1.2deg;
    animation-name: orbit-sway, philosophers-intro-orbit;
  }

  .orbit-two {
    --intro-orbit-start: 26deg;
    --intro-orbit-surge: -38deg;
    --intro-orbit-settle: 10deg;
    --intro-orbit-fine: -3deg;
    --intro-orbit-tail: 1.2deg;
    animation-name: orbit-sway-reverse, philosophers-intro-orbit;
  }

  .network-lines {
    animation: philosophers-intro-lines 5.4s linear both;
    transform-origin: center;
    will-change: opacity, transform;
  }

  .network-node {
    --intro-node-spin-start: -46deg;
    --intro-node-spin-mid: 8deg;
    --intro-node-origin-x: 50%;
    --intro-node-origin-y: 50%;
    --node-pulse-delay: 0s;
    --intro-node-delay: 0s;
    animation-name: node-pulse, philosophers-intro-node;
    animation-duration: 4s, 5.4s;
    animation-timing-function: ease-in-out, linear;
    animation-iteration-count: infinite, 1;
    animation-delay: var(--node-pulse-delay), var(--intro-node-delay);
    animation-fill-mode: none, both;
    will-change: opacity, transform, rotate, scale;
  }

  .node-public {
    --intro-node-spin-start: -46deg;
    --intro-node-spin-mid: 8deg;
    --intro-node-origin-x: calc(50% + 40cqw - 6.5px);
    --intro-node-origin-y: calc(50% + 21cqw - 6.5px);
  }

  .node-confidential {
    --intro-node-spin-start: 42deg;
    --intro-node-spin-mid: -8deg;
    --intro-node-origin-x: calc(50% - 43cqw + 6.5px);
    --intro-node-origin-y: calc(50% + 28cqw - 6.5px);
    --node-pulse-delay: -1.1s;
    --intro-node-delay: 0.28s;
  }

  .node-thinker {
    --intro-node-spin-start: -58deg;
    --intro-node-spin-mid: 10deg;
    --intro-node-origin-x: calc(50% + 37cqw - 6.5px);
    --intro-node-origin-y: calc(50% - 36cqw + 6.5px);
    --node-pulse-delay: -2.1s;
    --intro-node-delay: 0.52s;
  }

  .node-receipt {
    --intro-node-spin-start: 48deg;
    --intro-node-spin-mid: -10deg;
    --intro-node-origin-x: calc(50% - 38cqw + 6.5px);
    --intro-node-origin-y: calc(50% - 18cqw + 6.5px);
    --node-pulse-delay: -3.2s;
    --intro-node-delay: 0.72s;
  }

  .node-routing {
    --intro-node-spin-start: -38deg;
    --intro-node-spin-mid: 7deg;
    --intro-node-origin-x: 50%;
    --intro-node-origin-y: calc(50% + 45cqw - 6.5px);
    --node-pulse-delay: -0.6s;
    --intro-node-delay: 0.16s;
  }

  .node-evidence {
    --intro-node-spin-start: 44deg;
    --intro-node-spin-mid: -8deg;
    --intro-node-origin-x: calc(50% - 11.5cqw - 6.5px);
    --intro-node-origin-y: calc(50% - 38cqw + 6.5px);
    --node-pulse-delay: -2.7s;
    --intro-node-delay: 0.62s;
  }

  @media (min-width: 981px) {
    @supports (animation-timeline: scroll()) {
      .network-visual,
      .hero-copy {
        animation: philosophers-hero-parallax linear both;
        animation-timeline: scroll(root block);
        animation-range: 0px 620px;
      }
    }
  }

  @keyframes philosophers-hero-parallax {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(0, var(--hero-parallax-reserve), 0);
    }
  }

  @keyframes philosophers-intro-aura {
    0% {
      opacity: 0;
      scale: 0.74;
    }
    8% {
      opacity: 0.18;
      scale: 0.92;
    }
    16% {
      opacity: 0.44;
      scale: 1.08;
    }
    27% {
      opacity: 0.68;
      scale: 0.98;
    }
    40% {
      opacity: 0.82;
      scale: 1.03;
    }
    55% {
      opacity: 0.91;
      scale: 1;
    }
    70% {
      opacity: 0.96;
      scale: 1.015;
    }
    84% {
      opacity: 0.985;
      scale: 0.998;
    }
    94% {
      opacity: 1;
      scale: 1.003;
    }
    100% {
      opacity: 1;
      scale: 1;
    }
  }

  @keyframes philosophers-intro-orbit {
    0% {
      opacity: 0;
      scale: 0.88;
      rotate: var(--intro-orbit-start);
    }
    8% {
      opacity: 0.18;
      scale: 0.94;
      rotate: calc(var(--intro-orbit-start) * 0.86);
    }
    16% {
      opacity: 0.5;
      scale: 1.08;
      rotate: var(--intro-orbit-surge);
    }
    27% {
      opacity: 0.72;
      scale: 0.96;
      rotate: var(--intro-orbit-settle);
    }
    40% {
      opacity: 0.9;
      scale: 1.04;
      rotate: var(--intro-orbit-fine);
    }
    54% {
      opacity: 0.96;
      scale: 0.99;
      rotate: var(--intro-orbit-tail);
    }
    68% {
      opacity: 1;
      scale: 1.015;
      rotate: calc(var(--intro-orbit-tail) * -0.7);
    }
    80% {
      opacity: 1;
      scale: 1.005;
      rotate: calc(var(--intro-orbit-tail) * 0.42);
    }
    91% {
      opacity: 1;
      scale: 1.002;
      rotate: calc(var(--intro-orbit-tail) * -0.16);
    }
    100% {
      opacity: 1;
      scale: 1;
      rotate: 0deg;
    }
  }

  @keyframes philosophers-intro-lines {
    0% {
      opacity: 0;
      transform: rotate(-46deg) scale(0.62);
    }
    8% {
      opacity: 0.18;
      transform: rotate(-28deg) scale(0.8);
    }
    17% {
      opacity: 0.46;
      transform: rotate(26deg) scale(1.1);
    }
    29% {
      opacity: 0.68;
      transform: rotate(-12deg) scale(0.95);
    }
    42% {
      opacity: 0.86;
      transform: rotate(7deg) scale(1.04);
    }
    56% {
      opacity: 0.95;
      transform: rotate(-3deg) scale(0.99);
    }
    70% {
      opacity: 1;
      transform: rotate(1.5deg) scale(1.01);
    }
    82% {
      opacity: 1;
      transform: rotate(-0.7deg) scale(1.005);
    }
    92% {
      opacity: 1;
      transform: rotate(0.25deg) scale(1.002);
    }
    100% {
      opacity: 1;
      transform: rotate(0deg) scale(1);
    }
  }

  @keyframes philosophers-intro-node {
    0% {
      opacity: 0;
      transform-origin: var(--intro-node-origin-x) var(--intro-node-origin-y);
      rotate: var(--intro-node-spin-start);
      scale: 0.8;
    }
    8% {
      opacity: 0.12;
      transform-origin: var(--intro-node-origin-x) var(--intro-node-origin-y);
      rotate: calc(var(--intro-node-spin-start) * 0.96);
      scale: 0.92;
    }
    18% {
      opacity: 0.42;
      transform-origin: var(--intro-node-origin-x) var(--intro-node-origin-y);
      rotate: calc(var(--intro-node-spin-start) * 0.82);
      scale: 1.08;
    }
    30% {
      opacity: 0.66;
      transform-origin: var(--intro-node-origin-x) var(--intro-node-origin-y);
      rotate: var(--intro-node-spin-mid);
      scale: 0.94;
    }
    43% {
      opacity: 0.84;
      transform-origin: var(--intro-node-origin-x) var(--intro-node-origin-y);
      rotate: calc(var(--intro-node-spin-mid) * -0.75);
      scale: 1.04;
    }
    56% {
      opacity: 0.94;
      transform-origin: var(--intro-node-origin-x) var(--intro-node-origin-y);
      rotate: calc(var(--intro-node-spin-mid) * 0.5);
      scale: 0.99;
    }
    68% {
      opacity: 0.98;
      transform-origin: 50% 50%;
      rotate: calc(var(--intro-node-spin-mid) * 0.3);
      scale: 1.01;
    }
    80% {
      opacity: 1;
      transform-origin: 50% 50%;
      rotate: calc(var(--intro-node-spin-mid) * 0.18);
      scale: 1.005;
    }
    90% {
      opacity: 1;
      transform-origin: 50% 50%;
      rotate: calc(var(--intro-node-spin-mid) * 0.08);
      scale: 1.002;
    }
    96% {
      opacity: 1;
      transform-origin: 50% 50%;
      rotate: 0deg;
      scale: 1;
    }
    98% {
      opacity: 1;
      transform-origin: 50% 50%;
      rotate: 0deg;
      scale: 1;
    }
    100% {
      opacity: 1;
      transform-origin: 50% 50%;
      rotate: 0deg;
      scale: 1;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-aura,
  .network-orbit,
  .network-lines,
  .network-mark,
  .network-node {
    animation: none;
  }
}
