:root {
  color-scheme: light;
  --ink: #111914;
  --ink-2: #20352b;
  --muted: #67766c;
  --soft: #eff0e6;
  --paper: #f7f3e7;
  --paper-2: #ebe1cb;
  --paper-3: #fffaf0;
  --line: rgba(17, 25, 20, 0.16);
  --line-strong: rgba(17, 25, 20, 0.34);
  --acid: #ccff66;
  --acid-2: #e6ff9f;
  --clay: #bf553e;
  --blue: #204d6d;
  --violet: #51406f;
  --gold: #bf8c39;
  --green: #244d3a;
  --deep: #111914;
  --shadow: 0 28px 90px rgba(17, 25, 20, 0.16);
  --shadow-soft: 0 18px 55px rgba(17, 25, 20, 0.1);
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  background:
    radial-gradient(
      circle at 16% -8%,
      rgba(204, 255, 102, 0.5),
      transparent 24rem
    ),
    radial-gradient(
      circle at 86% 7%,
      rgba(191, 85, 62, 0.2),
      transparent 27rem
    ),
    linear-gradient(180deg, #f5f0e2 0%, #eee6d3 38%, #f7f3e7 100%);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: '';
  background-image:
    linear-gradient(rgba(17, 25, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 25, 20, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: '';
  background:
    repeating-linear-gradient(
      0deg,
      rgba(17, 25, 20, 0.02) 0 1px,
      transparent 1px 7px
    ),
    radial-gradient(
      circle at 50% 10%,
      rgba(255, 250, 240, 0.76),
      transparent 35rem
    );
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--clay);
}

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

p {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 40;
  padding: 0.72rem 1rem;
  color: var(--paper-3);
  background: var(--deep);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  overflow: hidden;
}

.container {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(17, 25, 20, 0.12);
  background: rgba(247, 243, 231, 0.76);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 0.88rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 800;
  background:
    radial-gradient(circle at 30% 20%, #fff, transparent 35%), var(--acid);
  border: 1px solid rgba(17, 25, 20, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 -8px 18px rgba(17, 25, 20, 0.12);
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-caption {
  display: block;
  margin-top: 0.08rem;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.18rem;
}

.nav-links a {
  padding: 0.52rem 0.72rem;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 780;
  text-decoration: none;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--deep);
  background: rgba(255, 250, 240, 0.72);
}

.nav-links .nav-cta {
  margin-left: 0.24rem;
  color: var(--acid-2);
  background: var(--deep);
  border: 1px solid rgba(17, 25, 20, 0.16);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: var(--deep);
  background: var(--acid);
}

.hero {
  position: relative;
  padding: clamp(4.2rem, 9vw, 7rem) 0 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  gap: clamp(2.2rem, 5vw, 5.6rem);
  align-items: center;
}

.issue-tag {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0.55rem;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.72rem 0.38rem 0.42rem;
  margin-bottom: 1.25rem;
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 250, 240, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(17, 25, 20, 0.06);
}

.issue-tag::before {
  width: 0.72rem;
  height: 0.72rem;
  content: '';
  background: var(--acid);
  border: 1px solid rgba(17, 25, 20, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 0.34rem rgba(204, 255, 102, 0.28);
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 11vw, 9.8rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.092em;
}

h1 .accent-wrap {
  white-space: nowrap;
}

h1 .accent {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 500;
}

h1 .accent::after {
  position: absolute;
  right: -0.04em;
  bottom: 0.06em;
  left: -0.02em;
  z-index: -1;
  height: 0.18em;
  content: '';
  background: var(--acid);
}

.hero-copy {
  max-width: 45rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.62;
}

.hero-copy strong {
  color: var(--deep);
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.74rem 1.05rem;
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

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

.button-primary {
  color: var(--acid-2);
  background: var(--deep);
  box-shadow: 0 18px 44px rgba(17, 25, 20, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--deep);
  background: var(--acid);
}

.button-secondary {
  color: var(--deep);
  background: rgba(255, 250, 240, 0.72);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--deep);
  background: var(--paper-3);
  border-color: var(--line-strong);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-quiet {
  color: var(--ink-2);
  background: transparent;
  border-color: transparent;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 45rem;
  margin-top: 2rem;
  overflow: hidden;
  background: rgba(17, 25, 20, 0.18);
  border: 1px solid rgba(17, 25, 20, 0.18);
  border-radius: 24px;
}

.signal {
  padding: 1rem;
  background: rgba(255, 250, 240, 0.62);
}

.signal strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.signal span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.atlas {
  position: relative;
  min-height: 650px;
}

.atlas::before {
  position: absolute;
  inset: 4rem 1rem 5rem;
  content: '';
  background:
    linear-gradient(90deg, rgba(17, 25, 20, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(17, 25, 20, 0.12) 1px, transparent 1px),
    radial-gradient(
      circle at 50% 50%,
      rgba(204, 255, 102, 0.16),
      transparent 52%
    );
  background-size:
    38px 38px,
    38px 38px,
    auto;
  border: 1px solid rgba(17, 25, 20, 0.12);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.orbit {
  position: absolute;
  inset: 4rem 2rem 5rem;
  border: 1px solid rgba(17, 25, 20, 0.16);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.orbit.two {
  inset: 7rem 5.4rem 8rem;
  border-style: dashed;
  transform: rotate(22deg);
}

.orbit.three {
  inset: 10rem 8.4rem 11.2rem;
  transform: rotate(52deg);
}

.atlas-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: min(350px, 58vw);
  min-height: 255px;
  padding: 1.25rem;
  color: var(--paper-3);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.core-label {
  width: fit-content;
  padding: 0.32rem 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--acid-2);
  font-size: 0.66rem;
  font-weight: 880;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(204, 255, 102, 0.08);
  border: 1px solid rgba(204, 255, 102, 0.2);
  border-radius: 999px;
}

.core-title {
  max-width: 10em;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 750;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.core-text {
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.9rem;
  line-height: 1.5;
}

.core-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 1.1rem;
}

.core-pills span {
  padding: 0.26rem 0.46rem;
  color: var(--paper-3);
  font-size: 0.64rem;
  font-weight: 820;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.artifact {
  position: absolute;
  z-index: 5;
  width: 205px;
  padding: 0.9rem;
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid rgba(17, 25, 20, 0.16);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.artifact::before {
  position: absolute;
  top: 0.78rem;
  right: 0.78rem;
  width: 0.56rem;
  height: 0.56rem;
  content: '';
  background: var(--acid);
  border: 1px solid rgba(17, 25, 20, 0.18);
  border-radius: 50%;
}

.artifact h2,
.artifact h3 {
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 880;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.artifact p {
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.42;
}

.artifact .mini-line {
  display: block;
  height: 0.36rem;
  margin-top: 0.58rem;
  background: rgba(17, 25, 20, 0.14);
  border-radius: 999px;
}

.artifact .mini-line.short {
  width: 62%;
}

.artifact-source {
  top: 1.4rem;
  left: 0;
  transform: rotate(-5deg);
}

.artifact-editor {
  top: 4.6rem;
  right: 0;
  width: 225px;
  transform: rotate(4deg);
}

.artifact-search {
  right: 1.8rem;
  bottom: 1.4rem;
  transform: rotate(-4deg);
}

.artifact-agent {
  bottom: 3.5rem;
  left: 1.6rem;
  width: 230px;
  color: var(--paper-3);
  background: var(--green);
  border-color: rgba(255, 255, 255, 0.14);
  transform: rotate(5deg);
}

.artifact-agent p,
.artifact-agent h3 {
  color: var(--paper-3);
}

.artifact-agent::before {
  background: var(--paper-3);
}

.connector {
  position: absolute;
  z-index: 2;
  height: 1px;
  background: rgba(17, 25, 20, 0.22);
  transform-origin: left center;
}

.connector.one {
  top: 10.7rem;
  left: 9.5rem;
  width: 13rem;
  transform: rotate(25deg);
}

.connector.two {
  top: 15.4rem;
  right: 7.7rem;
  width: 10rem;
  transform: rotate(151deg);
}

.connector.three {
  bottom: 9.2rem;
  right: 10rem;
  width: 12rem;
  transform: rotate(205deg);
}

.connector.four {
  bottom: 11.2rem;
  left: 9.5rem;
  width: 10rem;
  transform: rotate(-26deg);
}

.atlas-caption {
  position: absolute;
  right: 0.4rem;
  bottom: 0;
  z-index: 6;
  max-width: 23rem;
  padding: 0.84rem 1rem;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 720;
  background: rgba(255, 250, 240, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Hero workspace visual */
.ws-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
}

.ws-grid {
  position: absolute;
  inset: 1.5rem 0 2.5rem;
  content: '';
  background:
    radial-gradient(
      circle at 50% 46%,
      rgba(204, 255, 102, 0.26),
      transparent 56%
    ),
    linear-gradient(rgba(17, 25, 20, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 25, 20, 0.1) 1px, transparent 1px);
  background-size:
    auto,
    40px 40px,
    40px 40px;
  mask-image: radial-gradient(
    circle at 50% 50%,
    #000 56%,
    transparent 80%
  );
  pointer-events: none;
}

.ws-ring {
  position: absolute;
  inset: 3rem 1.5rem 3.6rem;
  border: 1px solid rgba(17, 25, 20, 0.14);
  border-radius: 50%;
  transform: rotate(-12deg);
  pointer-events: none;
}

.ws-ring.two {
  inset: 6.4rem 5rem 7rem;
  border-style: dashed;
  transform: rotate(16deg);
}

.ws-window {
  position: relative;
  z-index: 3;
  width: min(400px, 84%);
  overflow: hidden;
  background: #0f1611;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: rotate(-1.6deg);
}

.ws-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-dots {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.3rem;
}

.ws-dots i {
  width: 0.52rem;
  height: 0.52rem;
  background: rgba(255, 250, 240, 0.32);
  border-radius: 50%;
}

.ws-path {
  flex: 1;
  overflow: hidden;
  color: rgba(255, 250, 240, 0.62);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-live {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.34rem;
  align-items: center;
  color: var(--acid-2);
  font-size: 0.62rem;
  font-weight: 850;
}

.ws-live::before {
  width: 0.42rem;
  height: 0.42rem;
  content: '';
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 0.2rem rgba(204, 255, 102, 0.24);
}

.ws-tabs {
  display: flex;
  gap: 0.26rem;
  padding: 0.6rem 0.7rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-tabs span {
  flex: 0 0 auto;
  padding: 0.26rem 0.5rem;
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.64rem;
  font-weight: 820;
  border-radius: 999px;
}

.ws-tabs .is-on {
  color: var(--deep);
  background: var(--acid);
}

.ws-body {
  padding: 1.05rem 0.95rem 1.2rem;
}

.ws-h {
  display: block;
  width: 46%;
  height: 0.72rem;
  margin-bottom: 0.74rem;
  background: rgba(255, 250, 240, 0.82);
  border-radius: 999px;
}

.ws-l {
  display: block;
  height: 0.42rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 250, 240, 0.18);
  border-radius: 999px;
}

.ws-l.short {
  width: 60%;
}

.ws-text {
  margin: 0.85rem 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: 0.82rem;
  line-height: 1.5;
}

.ws-text mark {
  padding: 0 0.18rem;
  color: var(--deep);
  background: var(--acid);
  border-radius: 3px;
}

.ws-cite {
  color: var(--acid-2);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.ws-float {
  position: absolute;
  z-index: 4;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.ws-tag {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.57rem;
  font-weight: 880;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ws-graph {
  top: 1.3rem;
  right: -0.4rem;
  width: 188px;
  padding: 0.8rem 0.85rem;
  color: var(--paper-3);
  background: #101722;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(3deg);
}

.ws-graph .ws-tag {
  color: #7dd3fc;
}

.ws-graph-map {
  display: block;
  width: 100%;
  height: auto;
}

.ws-graph-map path {
  fill: none;
  stroke: rgba(125, 211, 252, 0.5);
  stroke-width: 1.4;
}

.ws-graph-map circle {
  stroke: #101722;
  stroke-width: 1.5;
}

.ws-graph-map .n1 {
  fill: #38bdf8;
}

.ws-graph-map .n2 {
  fill: var(--acid);
}

.ws-graph-map .n3 {
  fill: #a78bfa;
}

.ws-graph-map .n4 {
  fill: #34d399;
}

.ws-graph-map .n5 {
  fill: #f59e0b;
}

.ws-graph-meta {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 250, 240, 0.6);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.ws-agent {
  bottom: 1.4rem;
  left: -0.6rem;
  width: 212px;
  padding: 0.82rem 0.88rem;
  color: var(--paper-3);
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(-3deg);
}

.ws-agent .ws-tag {
  color: var(--acid);
}

.ws-agent strong {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 720;
}

.ws-agent strong::before {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  content: '';
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 0.22rem rgba(204, 255, 102, 0.22);
  animation: wsPulse 1.8s ease-in-out infinite;
}

.ws-agent .ws-bar-line {
  display: block;
  height: 0.34rem;
  margin-top: 0.46rem;
  background: rgba(255, 250, 240, 0.2);
  border-radius: 999px;
}

.ws-agent .ws-bar-line.short {
  width: 54%;
  background: rgba(204, 255, 102, 0.55);
}

.ws-source {
  right: 1.1rem;
  bottom: -0.4rem;
  display: inline-flex;
  gap: 0.46rem;
  align-items: center;
  padding: 0.52rem 0.72rem;
  color: var(--deep);
  font-size: 0.72rem;
  font-weight: 820;
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: rotate(-2deg);
}

.ws-source-dot {
  width: 0.56rem;
  height: 0.56rem;
  background: var(--clay);
  border-radius: 50%;
}

.ws-source-logo {
  width: 0.95rem;
  height: 0.95rem;
  object-fit: contain;
  /* Tint the Zotero glyph to its brand red (#cc2936) */
  filter: brightness(0) saturate(100%) invert(24%) sepia(64%)
    saturate(2619%) hue-rotate(335deg) brightness(89%) contrast(94%);
}

@keyframes wsPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0.22rem rgba(204, 255, 102, 0.22);
  }

  50% {
    box-shadow: 0 0 0 0.4rem rgba(204, 255, 102, 0.08);
  }
}

/* Differentiators */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.diff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  overflow: hidden;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.diff-card.is-feature {
  color: var(--paper-3);
  background:
    radial-gradient(
      circle at 86% 6%,
      rgba(204, 255, 102, 0.18),
      transparent 18rem
    ),
    var(--deep);
  border-color: rgba(255, 255, 255, 0.14);
}

.diff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.diff-index {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.55;
}

.diff-badge {
  padding: 0.32rem 0.6rem;
  color: var(--deep);
  font-size: 0.64rem;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--acid);
  border-radius: 999px;
}

.diff-card.is-feature .diff-badge {
  color: var(--acid-2);
  background: rgba(204, 255, 102, 0.12);
  border: 1px solid rgba(204, 255, 102, 0.28);
}

.diff-card h3 {
  max-width: 18ch;
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 2.1vw, 2.05rem);
  line-height: 1.02;
}

.diff-card > p {
  margin-bottom: 1.3rem;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.55;
}

.diff-card.is-feature > p {
  color: rgba(255, 250, 240, 0.78);
}

.diff-visual {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.95rem;
  background: rgba(17, 25, 20, 0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.diff-card.is-feature .diff-visual {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Agentic steps motif */
.diff-steps {
  display: grid;
  gap: 0.46rem;
}

.diff-step {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 720;
  color: rgba(255, 250, 240, 0.82);
}

.diff-step::before {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  content: '✓';
  color: var(--deep);
  font-size: 0.66rem;
  font-weight: 900;
  background: var(--acid);
  border-radius: 50%;
}

.diff-step.is-live::before {
  content: '';
  background: rgba(204, 255, 102, 0.22);
  border: 1px solid rgba(204, 255, 102, 0.5);
  animation: wsPulse 1.8s ease-in-out infinite;
}

.diff-step.is-live {
  color: var(--acid-2);
}

/* Format chips motif */
.diff-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.diff-chips span {
  padding: 0.3rem 0.56rem;
  color: var(--deep);
  font-size: 0.72rem;
  font-weight: 820;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.diff-chips span.is-on {
  color: var(--acid-2);
  background: var(--deep);
  border-color: rgba(17, 25, 20, 0.3);
}

.diff-collab {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
}

.diff-avatars {
  display: inline-flex;
}

.diff-avatars i {
  width: 1.1rem;
  height: 1.1rem;
  margin-left: -0.34rem;
  background: var(--acid);
  border: 1.5px solid var(--paper-3);
  border-radius: 50%;
}

.diff-avatars i:first-child {
  margin-left: 0;
}

.diff-avatars i:nth-child(2) {
  background: var(--clay);
}

.diff-avatars i:nth-child(3) {
  background: var(--blue);
}

/* Notebook motif */
.diff-cell {
  font-family: var(--mono);
  font-size: 0.74rem;
}

.diff-cell-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
}

.diff-run {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  padding: 0.2rem 0.46rem;
  color: var(--deep);
  background: var(--acid);
  border-radius: 999px;
}

.diff-code {
  color: var(--ink-2);
  line-height: 1.55;
}

.diff-code b {
  color: var(--clay);
  font-weight: 700;
}

.diff-chart {
  display: flex;
  gap: 0.28rem;
  align-items: flex-end;
  height: 2.4rem;
  margin-top: 0.6rem;
}

.diff-chart i {
  flex: 1;
  background: var(--green);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

.diff-chart i:nth-child(2) {
  background: var(--acid);
}

.chart-bar-55 { height: 55%; }
.chart-bar-92 { height: 92%; }
.chart-bar-70 { height: 70%; }
.chart-bar-40 { height: 40%; }

/* Graph motif */
.diff-graph {
  position: relative;
  height: 8rem;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(99, 102, 241, 0.16),
      transparent 8rem
    ),
    radial-gradient(
      circle at 78% 72%,
      rgba(16, 185, 129, 0.16),
      transparent 8rem
    ),
    #101722;
  border-color: rgba(255, 255, 255, 0.12);
}

.diff-graph svg {
  display: block;
  width: 100%;
  height: 100%;
}

.diff-graph svg path {
  fill: none;
  stroke: rgba(148, 163, 184, 0.5);
  stroke-width: 1.4;
}

.diff-graph svg circle {
  stroke: #101722;
  stroke-width: 1.6;
}

/* AI dial band */
.ai-dial-card {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(290px, 0.58fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
  padding: clamp(1.6rem, 3.4vw, 3rem);
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(204, 255, 102, 0.42),
      transparent 17rem
    ),
    var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.ai-dial-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.ai-dial-copy p {
  max-width: 42rem;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.6;
}

.ai-dial-copy strong {
  color: var(--deep);
  font-weight: 850;
}

.ai-dial-panel {
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--paper-3);
  background:
    radial-gradient(
      circle at 16% 0%,
      rgba(204, 255, 102, 0.12),
      transparent 16rem
    ),
    var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.ai-dial-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0.5rem;
  margin: 0.9rem 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.ai-dial-fill {
  position: absolute;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--acid);
  border-radius: 999px;
}

.ai-dial-stop {
  position: relative;
  z-index: 1;
  width: 0.6rem;
  height: 0.6rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.ai-dial-stop.is-on {
  background: var(--deep);
  box-shadow: 0 0 0 2px var(--acid);
}

.ai-dial-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 1.45rem;
  height: 1.45rem;
  background: var(--paper-3);
  border: 4px solid var(--acid);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
}

.ai-dial-labels {
  display: flex;
  justify-content: space-between;
  margin: 0 0.2rem 1.2rem;
  color: rgba(255, 250, 240, 0.66);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.ai-dial-labels .is-on {
  color: var(--acid);
}

.ai-dial-works {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-dial-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--acid-2);
  font-size: 0.64rem;
  font-weight: 880;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ai-dial-works ul {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ai-dial-works li {
  display: flex;
  gap: 0.58rem;
  align-items: center;
  color: rgba(255, 250, 240, 0.9);
  font-size: 0.86rem;
  font-weight: 720;
}

.ai-dial-works li::before {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  content: '✓';
  color: var(--deep);
  font-size: 0.66rem;
  font-weight: 900;
  background: var(--acid);
  border-radius: 50%;
}

.section {
  padding: clamp(4.2rem, 8vw, 7rem) 0;
}

.section-tight {
  padding: clamp(3rem, 5.5vw, 4.6rem) 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.kicker {
  margin-bottom: 0.72rem;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
}

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.2vw, 6.2rem);
  font-weight: 780;
  line-height: 0.85;
  letter-spacing: -0.075em;
}

h3 {
  margin-bottom: 0.55rem;
  font-family: var(--serif);
  font-size: 1.48rem;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-copy {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.65;
}

.manifesto {
  position: relative;
}

.manifesto-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.42fr);
  gap: 1px;
  overflow: hidden;
  color: var(--paper-3);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.manifesto-main,
.manifesto-side {
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(204, 255, 102, 0.12),
      transparent 20rem
    ),
    var(--deep);
}

.manifesto-main {
  padding: clamp(1.5rem, 3.2vw, 3rem);
}

.manifesto-main blockquote {
  max-width: 13em;
  margin-bottom: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.2vw, 5rem);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.manifesto-main p {
  max-width: 48rem;
  color: rgba(255, 250, 240, 0.74);
  font-size: 1.05rem;
}

.manifesto-side {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: clamp(1.2rem, 2.3vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row strong {
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1;
}

.ledger-row span {
  color: rgba(255, 250, 240, 0.62);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.system-map {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.system-intro {
  position: sticky;
  top: 6rem;
  align-self: start;
  padding: 1.2rem;
  background: rgba(255, 250, 240, 0.62);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.system-intro p {
  color: var(--ink-2);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.74rem;
}

.module {
  position: relative;
  min-height: 220px;
  padding: 1rem;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.76);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 14px 36px rgba(17, 25, 20, 0.06);
}

.module::after {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 7rem;
  height: 7rem;
  content: '';
  background: rgba(204, 255, 102, 0.3);
  border-radius: 50%;
}

.module:nth-child(2n)::after {
  background: rgba(191, 85, 62, 0.13);
}

.module.large {
  grid-column: span 3;
}

.module.medium {
  grid-column: span 2;
}

.module.tall {
  min-height: 280px;
}

.module-mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 820;
  background: var(--acid);
  border: 1px solid rgba(17, 25, 20, 0.2);
  border-radius: 50%;
}

.module h3 {
  max-width: 12rem;
}

.module p {
  position: relative;
  z-index: 1;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.mode-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1rem;
  overflow: hidden;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: 36px;
  box-shadow: var(--shadow-soft);
}

.mode {
  position: relative;
  min-height: 440px;
  padding: clamp(1.1rem, 2.4vw, 2rem);
  overflow: hidden;
  background: rgba(255, 250, 240, 0.78);
}

.mode:first-child {
  background: var(--deep);
  color: var(--paper-3);
}

.mode:nth-child(2) {
  background: #f1eadb;
}

.mode:nth-child(3) {
  background: #e7eddd;
}

.mode-number {
  margin-bottom: 1.25rem;
  color: inherit;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  opacity: 0.68;
}

.mode h3 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.mode p {
  color: inherit;
  opacity: 0.78;
}

.mode ul {
  display: grid;
  gap: 0.52rem;
  padding: 0;
  margin: 1.3rem 0 0;
  list-style: none;
}

.mode li {
  position: relative;
  padding-left: 1rem;
  color: inherit;
  font-size: 0.92rem;
  opacity: 0.82;
}

.mode li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.34rem;
  height: 0.34rem;
  content: '';
  background: currentColor;
  border-radius: 50%;
}

.mode-visual {
  position: relative;
  min-height: 188px;
  margin-top: 1.4rem;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(17, 25, 20, 0.14);
  border-radius: 22px;
}

.mode:first-child .mode-visual {
  color: var(--paper-3);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.mini-doc {
  position: absolute;
  inset: 1rem 1rem 1rem 1.15rem;
  padding: 0.9rem;
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid rgba(17, 25, 20, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(17, 25, 20, 0.12);
}

.mode:first-child .mini-doc {
  background: rgba(255, 250, 240, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.mini-heading {
  width: 62%;
  height: 0.74rem;
  margin-bottom: 0.72rem;
  background: currentColor;
  border-radius: 999px;
  opacity: 0.86;
}

.mini-line {
  height: 0.42rem;
  margin-bottom: 0.48rem;
  background: currentColor;
  border-radius: 999px;
  opacity: 0.22;
}

.mini-line.short {
  width: 56%;
}

.mini-cursor {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  padding: 0.32rem 0.48rem;
  color: var(--deep);
  font-size: 0.64rem;
  font-weight: 850;
  background: var(--acid);
  border-radius: 999px;
}

.mini-source {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  width: 34%;
  padding: 0.55rem;
  color: var(--deep);
  background: rgba(204, 255, 102, 0.9);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(17, 25, 20, 0.14);
}

.mini-source strong,
.mini-agent strong {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-source span,
.mini-agent span {
  display: block;
  height: 0.34rem;
  margin-top: 0.28rem;
  background: currentColor;
  border-radius: 999px;
  opacity: 0.24;
}

.kg-mode-visual {
  min-height: 260px;
  color: rgba(255, 250, 240, 0.92);
  background:
    radial-gradient(
      circle at 28% 24%,
      rgba(99, 102, 241, 0.24),
      transparent 9rem
    ),
    radial-gradient(
      circle at 78% 78%,
      rgba(16, 185, 129, 0.2),
      transparent 9rem
    ),
    #101722;
  border-color: rgba(255, 255, 255, 0.12);
}

.kg-mini-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.kg-mini-map::before {
  position: absolute;
  inset: 0;
  content: '';
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    );
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 54%, black, transparent 86%);
  pointer-events: none;
}

.kg-mini-query,
.kg-mini-stats {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.kg-mini-query {
  top: 0.68rem;
  left: 0.72rem;
  gap: 0.48rem;
  max-width: calc(100% - 7.8rem);
  padding: 0.38rem 0.5rem;
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.62rem;
  background: rgba(30, 30, 46, 0.72);
  border-radius: 999px;
}

.kg-mini-query span {
  padding: 0.2rem 0.34rem;
  color: #111914;
  font-family: var(--mono);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #22d3ee;
  border-radius: 999px;
}

.kg-mini-query strong {
  overflow: hidden;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kg-mini-stats {
  top: 0.74rem;
  right: 0.72rem;
  gap: 0.28rem;
  padding: 0.42rem 0.52rem;
  color: rgba(255, 250, 240, 0.76);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 850;
  background: rgba(17, 25, 20, 0.5);
  border-radius: 12px;
}

.kg-mini-stats strong {
  color: var(--acid);
}

.kg-mini-links {
  position: absolute;
  inset: 1.4rem 0.25rem 0.2rem;
  z-index: 1;
  width: calc(100% - 0.5rem);
  height: calc(100% - 1.6rem);
  overflow: visible;
}

.kg-mini-link {
  fill: none;
  stroke: var(--edge-color, #94a3b8);
  stroke-linecap: round;
  stroke-width: 1.4;
  opacity: 0.38;
  transition:
    opacity 180ms ease,
    stroke-width 180ms ease,
    filter 180ms ease;
}

.kg-mini-link.is-active {
  filter: url(#kg-mini-glow);
  stroke-width: 2.8;
  opacity: 1;
}

.kg-mini-link.supports {
  --edge-color: #10b981;
}

.kg-mini-link.about {
  --edge-color: #6366f1;
}

.kg-mini-link.references {
  --edge-color: #06b6d4;
}

.kg-mini-link.derived {
  --edge-color: #f59e0b;
}

.kg-mini-link.contains {
  --edge-color: #8b5cf6;
}

.kg-mini-node {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: clamp(6.85rem, 32%, 8.25rem);
  min-height: 3.75rem;
  padding: 0.48rem 0.54rem 0.48rem 0.78rem;
  appearance: none;
  overflow: hidden;
  color: #fffaf0;
  font: inherit;
  text-align: left;
  background: #1e1e2e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    opacity 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.kg-mini-node::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.32rem;
  content: '';
  background: var(--node-color);
}

.kg-mini-node::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    transparent 46%
  );
  pointer-events: none;
}

.kg-node-paper { --x: 20%; --y: 30%; --node-color: #3b82f6; }
.kg-node-claim { --x: 62%; --y: 38%; --node-color: #f59e0b; }
.kg-node-method { --x: 84%; --y: 58%; --node-color: #10b981; }
.kg-node-source { --x: 24%; --y: 67%; --node-color: #8b5cf6; }
.kg-node-dataset { --x: 55%; --y: 72%; --node-color: #06b6d4; }
.kg-node-code { --x: 76%; --y: 86%; --node-color: #ef4444; }

.kg-mini-node.is-search-match {
  border-color: rgba(34, 211, 238, 0.42);
}

.kg-mini-map.is-filtering
  .kg-mini-node:not(.is-active):not(.is-neighbor) {
  opacity: 0.28;
  transform: translate(-50%, -50%) scale(0.96);
}

.kg-mini-map.is-filtering .kg-mini-link:not(.is-active) {
  opacity: 0.1;
}

.kg-mini-node.is-active {
  border-color: #fbbf24;
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.5),
    0 0 26px rgba(251, 191, 36, 0.24),
    0 18px 38px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%) scale(1.04);
}

.kg-mini-node.is-neighbor {
  border-color: rgba(34, 211, 238, 0.74);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.28),
    0 14px 32px rgba(0, 0, 0, 0.26);
}

.kg-node-type,
.kg-node-title,
.kg-node-meta {
  position: relative;
  z-index: 1;
  display: block;
}

.kg-node-type {
  width: fit-content;
  max-width: 100%;
  padding: 0.12rem 0.28rem;
  margin-bottom: 0.26rem;
  overflow: hidden;
  color: #fff;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--node-color);
  border-radius: 4px;
}

.kg-node-title {
  overflow: hidden;
  font-size: 0.64rem;
  font-weight: 860;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kg-mini-node:nth-of-type(2) {
  animation: kgDriftOne 7s ease-in-out infinite;
}

.kg-mini-node:nth-of-type(3) {
  animation: kgDriftTwo 8s ease-in-out infinite;
}

.kg-mini-node:nth-of-type(4) {
  animation: kgDriftThree 7.5s ease-in-out infinite;
}

@keyframes kgDriftOne {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -0.22rem;
  }
}

@keyframes kgDriftTwo {
  0%,
  100% {
    margin-left: 0;
  }

  50% {
    margin-left: 0.22rem;
  }
}

@keyframes kgDriftThree {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: 0.2rem;
  }
}

.kg-node-meta {
  margin-top: 0.2rem;
  overflow: hidden;
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.52rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-code {
  position: absolute;
  inset: 1rem 1rem auto 1rem;
  min-height: 6.8rem;
  padding: 0.78rem;
  color: rgba(255, 250, 240, 0.82);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.65;
  background: var(--deep);
  border-radius: 16px;
}

.mini-agent {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.72rem;
  color: var(--deep);
  background: var(--acid);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(17, 25, 20, 0.14);
}

.format-lab {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2.6vw, 2rem);
  background:
    radial-gradient(
      circle at 82% 8%,
      rgba(204, 255, 102, 0.22),
      transparent 18rem
    ),
    rgba(255, 250, 240, 0.76);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow-soft);
}

.format-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.format-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.format-tabs label {
  cursor: pointer;
  padding: 0.5rem 0.68rem;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.format-tabs label:hover,
.format-radio:focus-visible + label {
  transform: translateY(-1px);
}

#format-md:checked ~ .format-tabs label[for='format-md'],
#format-typst:checked ~ .format-tabs label[for='format-typst'],
#format-latex:checked ~ .format-tabs label[for='format-latex'],
#format-python:checked ~ .format-tabs label[for='format-python'],
#format-rmd:checked ~ .format-tabs label[for='format-rmd'],
#format-jupyter:checked ~ .format-tabs label[for='format-jupyter'] {
  color: var(--acid-2);
  background: var(--deep);
  border-color: rgba(17, 25, 20, 0.3);
}

.format-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.72fr);
  gap: 1rem;
  align-items: stretch;
}

.format-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 360px;
  padding: 1.1rem;
  color: var(--paper-3);
  background: var(--deep);
  border-radius: 26px;
}

.format-note h3 {
  max-width: 8em;
  font-size: clamp(2rem, 3vw, 3.3rem);
}

.format-note p {
  color: rgba(255, 250, 240, 0.72);
}

.artifact-placeholder {
  padding: 0.7rem 0.82rem;
  color: var(--acid-2);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(204, 255, 102, 0.08);
  border: 1px dashed rgba(204, 255, 102, 0.34);
  border-radius: 16px;
}

.format-window {
  overflow: hidden;
  background: #111914;
  border: 1px solid rgba(17, 25, 20, 0.22);
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(17, 25, 20, 0.16);
}

.format-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0.9rem;
  color: rgba(255, 250, 240, 0.68);
  font-family: var(--mono);
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.format-bar span:last-child {
  color: var(--acid-2);
}

.format-panel {
  display: none;
  min-height: 302px;
  padding: 1.05rem;
  color: rgba(255, 250, 240, 0.86);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.65;
}

.format-panel strong {
  color: var(--acid-2);
  font-weight: 850;
}

.format-panel em {
  color: #f0b7a5;
  font-style: normal;
}

#format-md:checked ~ .format-stage .panel-md,
#format-typst:checked ~ .format-stage .panel-typst,
#format-latex:checked ~ .format-stage .panel-latex,
#format-python:checked ~ .format-stage .panel-python,
#format-rmd:checked ~ .format-stage .panel-rmd,
#format-jupyter:checked ~ .format-stage .panel-jupyter {
  display: block;
}

.agent-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.agent-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 1rem;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.agent-step::before {
  position: absolute;
  top: 1.3rem;
  right: -2rem;
  width: 7rem;
  height: 7rem;
  content: '';
  background: rgba(204, 255, 102, 0.26);
  border-radius: 50%;
}

.agent-step:nth-child(2n)::before {
  background: rgba(191, 85, 62, 0.13);
}

.agent-index {
  width: fit-content;
  padding: 0.3rem 0.48rem;
  margin-bottom: 0.9rem;
  color: var(--deep);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 900;
  background: var(--acid);
  border: 1px solid rgba(17, 25, 20, 0.18);
  border-radius: 999px;
}

.agent-step h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.agent-step p {
  position: relative;
  z-index: 1;
  color: var(--ink-2);
  font-size: 0.86rem;
}

.agent-artifact {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
  padding: 0.78rem;
  margin-top: auto;
  color: rgba(255, 250, 240, 0.78);
  background: var(--deep);
  border-radius: 18px;
}

.agent-artifact span {
  display: block;
  height: 0.46rem;
  background: rgba(255, 250, 240, 0.18);
  border-radius: 999px;
}

.agent-artifact span:nth-child(2) {
  width: 72%;
}

.agent-artifact span:nth-child(3) {
  width: 48%;
  background: rgba(204, 255, 102, 0.42);
}

.agent-caption {
  margin-top: 0.35rem;
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.routing-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 1.2rem;
  align-items: stretch;
}

.route-card,
.provider-wall {
  padding: clamp(1.2rem, 2.6vw, 2rem);
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.route-diagram {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  align-items: center;
  margin-top: 1.3rem;
}

.route-node {
  display: grid;
  min-height: 6rem;
  place-items: center;
  padding: 0.8rem;
  color: var(--paper-3);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  background: var(--deep);
  border-radius: 999px;
}

.route-node:nth-child(2n) {
  color: var(--deep);
  background: var(--acid);
}

.route-line {
  height: 1px;
  background: var(--line-strong);
}

.deploy-map {
  position: relative;
  min-height: 360px;
  margin-top: 1.4rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 25, 20, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 25, 20, 0.08) 1px, transparent 1px),
    rgba(255, 250, 240, 0.58);
  background-size: 34px 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.deploy-map::before,
.deploy-map::after {
  position: absolute;
  inset: 4rem;
  content: '';
  border: 1px solid rgba(17, 25, 20, 0.12);
  border-radius: 50%;
}

.deploy-map::after {
  inset: 7rem 5.2rem;
  border-style: dashed;
  transform: rotate(18deg);
}

.deploy-center,
.deploy-node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(17, 25, 20, 0.1);
}

.deploy-center {
  top: 50%;
  left: 50%;
  width: 8.4rem;
  height: 8.4rem;
  color: var(--acid-2);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 820;
  line-height: 0.98;
  background: var(--deep);
  border: 1px solid rgba(17, 25, 20, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.deploy-node {
  width: 9.4rem;
  min-height: 4.4rem;
  padding: 0.72rem;
  color: var(--deep);
  font-size: 0.8rem;
  font-weight: 880;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.node-public {
  top: 1.2rem;
  left: 1.2rem;
}

.node-private {
  top: 1.2rem;
  right: 1.2rem;
}

.node-onprem {
  bottom: 1.2rem;
  left: 1.2rem;
}

.node-baremetal {
  right: 1.2rem;
  bottom: 1.2rem;
}

.node-models {
  top: 50%;
  left: 0.8rem;
  transform: translateY(-50%);
}

.node-storage {
  top: 50%;
  right: 0.8rem;
  transform: translateY(-50%);
}

.provider-wall {
  color: var(--paper-3);
  background: var(--green);
}

.provider-wall p {
  color: rgba(255, 250, 240, 0.72);
}

.provider-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
  margin-top: 1.35rem;
}

.provider-logo {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  min-height: 4.25rem;
  padding: 0.7rem 0.78rem;
  color: var(--paper-3);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
}

.provider-symbol {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.provider-name {
  display: block;
  font-size: 1rem;
  font-weight: 880;
  line-height: 1.1;
}

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

.deploy-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 1.25rem;
  background: rgba(255, 250, 240, 0.76);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.deploy-card.highlight {
  color: var(--paper-3);
  background: var(--deep);
}

.deploy-label {
  width: fit-content;
  padding: 0.34rem 0.55rem;
  margin-bottom: 1rem;
  color: var(--deep);
  font-size: 0.66rem;
  font-weight: 880;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--acid);
  border-radius: 999px;
}

.deploy-card.highlight .deploy-label {
  color: var(--acid-2);
  background: rgba(204, 255, 102, 0.1);
  border: 1px solid rgba(204, 255, 102, 0.22);
}

.deploy-card p {
  color: var(--ink-2);
}

.deploy-card.highlight p {
  color: rgba(255, 250, 240, 0.76);
}

.deploy-card ul {
  display: grid;
  gap: 0.54rem;
  padding: 0;
  margin: 1.2rem 0 1.4rem;
  list-style: none;
}

.deploy-card li {
  position: relative;
  padding-left: 1rem;
  color: inherit;
  font-size: 0.9rem;
  opacity: 0.78;
}

.deploy-card li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.34rem;
  height: 0.34rem;
  content: '';
  background: currentColor;
  border-radius: 50%;
}

.deploy-card .button {
  width: fit-content;
  margin-top: auto;
}

.comparison-card {
  margin-top: 1rem;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.comparison-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.5fr);
  gap: 1rem;
  align-items: end;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border-bottom: 1px solid var(--line);
}

.comparison-intro h3 {
  max-width: 14em;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.comparison-intro p {
  color: var(--ink-2);
  font-size: 0.94rem;
}

.comparison-scroll {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  width: 25%;
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(17, 25, 20, 0.1);
}

.comparison-table th {
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(17, 25, 20, 0.04);
}

.comparison-table th:not(:first-child) {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.4vw, 1.35rem);
  letter-spacing: -0.035em;
  text-transform: none;
}

.comparison-table td:first-child {
  color: var(--deep);
  font-weight: 880;
}

.comparison-table td:not(:first-child) {
  color: var(--ink-2);
  font-size: 0.92rem;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table strong {
  color: var(--deep);
  font-weight: 900;
}

.comparison-note {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.button-light {
  color: var(--deep);
  background: var(--paper-3);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--deep);
  background: var(--acid);
}

.quote-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.35fr);
  gap: 1.2rem;
  align-items: stretch;
}

.quote-main,
.quote-side {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.quote-main blockquote {
  margin-bottom: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 5.4rem);
  font-weight: 760;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.quote-main p,
.quote-side p {
  color: var(--ink-2);
}

.quote-side {
  color: var(--paper-3);
  background: var(--clay);
}

.quote-side p {
  color: rgba(255, 250, 240, 0.78);
}

.final-cta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(204, 255, 102, 0.45),
      transparent 16rem
    ),
    var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 10em;
  margin-bottom: 0.7rem;
}

.final-cta p {
  max-width: 44rem;
  color: var(--ink-2);
}

.waitlist-card {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 28rem);
  padding: clamp(1rem, 2vw, 1.25rem);
  background: rgba(17, 25, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 22px 52px rgba(17, 25, 20, 0.18);
}

.waitlist-card h3 {
  color: var(--paper-3);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.waitlist-card .kicker {
  color: var(--acid);
}

.waitlist-card p {
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.9rem;
}

.waitlist-form {
  display: grid;
  gap: 0.65rem;
}

.waitlist-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.waitlist-field {
  display: grid;
  gap: 0.28rem;
}

.waitlist-field span,
.waitlist-consent {
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.72rem;
  font-weight: 820;
}

.waitlist-field input,
.waitlist-field textarea {
  width: 100%;
  color: var(--paper-3);
  font: inherit;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  outline: 0;
}

.waitlist-field input {
  min-height: 2.8rem;
  padding: 0 0.82rem;
}

.waitlist-field textarea {
  min-height: 5rem;
  padding: 0.75rem 0.82rem;
  resize: vertical;
}

.waitlist-field input::placeholder,
.waitlist-field textarea::placeholder {
  color: rgba(255, 250, 240, 0.42);
}

.waitlist-field input:focus,
.waitlist-field textarea:focus {
  border-color: rgba(204, 255, 102, 0.72);
  box-shadow: 0 0 0 3px rgba(204, 255, 102, 0.14);
}

.waitlist-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-consent {
  display: flex;
  gap: 0.52rem;
  align-items: flex-start;
  line-height: 1.35;
}

.waitlist-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.13rem;
  accent-color: var(--acid);
}

.waitlist-status {
  min-height: 1.4rem;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.82rem;
  font-weight: 760;
}

.waitlist-status.is-success {
  color: var(--acid);
}

.waitlist-status.is-error {
  color: #fda4af;
}

.site-footer {
  padding: 3.5rem 0 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}

.footer-note {
  max-width: 38rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(204, 255, 102, 0.74);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-header,
  .comparison-intro,
  .system-map,
  .routing-board,
   .quote-strip,
   .ai-dial-card {
     grid-template-columns: 1fr;
   }

   .final-cta {
     flex-direction: column;
     align-items: stretch;
   }

   .final-cta .waitlist-card {
     width: 100%;
   }

  .hero-visual,
  .atlas,
  .ws-stage {
    min-height: 560px;
  }

  .system-intro {
    position: relative;
    top: auto;
  }

  .mode-panel,
  .deployment-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .mode,
  .deploy-card {
    min-height: auto;
  }

  .format-stage,
  .agent-flow {
    grid-template-columns: 1fr;
  }

  .agent-step {
    min-height: 0;
    padding: 0.9rem;
  }

  .agent-step p {
    font-size: 0.82rem;
  }

  .agent-artifact {
    display: none;
  }

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

  .module.large,
  .module.medium {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1220px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.62rem;
    padding: 0.72rem 0;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.12rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-caption {
    font-size: 0.6rem;
  }

  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.12rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 0.46rem 0.58rem;
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 5.7rem);
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .hero {
    padding-top: 2.7rem;
  }

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

  .waitlist-card {
    width: 100%;
  }

  .waitlist-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .ws-stage {
    min-height: auto;
  }

  .ws-stage {
    display: grid;
    gap: 0.7rem;
    padding: 0.4rem 0 1rem;
  }

  .ws-grid,
  .ws-ring {
    display: none;
  }

  .ws-window {
    order: -1;
    width: 100%;
    transform: none;
  }

  .ws-float {
    position: static;
    width: auto;
    transform: none;
  }

  .ws-graph {
    right: auto;
  }

  .ws-source {
    right: auto;
    bottom: auto;
    width: fit-content;
  }

  .manifesto-card,
  .module-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-side {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .mode-panel,
  .quote-main,
  .quote-side,
  .final-cta,
  .manifesto-card {
    border-radius: 26px;
  }

  .module {
    min-height: 190px;
  }

  .route-diagram {
    grid-template-columns: 1fr;
  }

  .route-line {
    width: 1px;
    height: 1.6rem;
    margin: 0 auto;
  }

  .route-node {
    min-height: 4.8rem;
  }

  .format-tabs {
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .format-tabs::-webkit-scrollbar {
    display: none;
  }

  .format-tabs label {
    flex: 0 0 auto;
  }

  .format-note,
  .format-panel {
    min-height: auto;
  }

  .deploy-map {
    display: grid;
    gap: 0.7rem;
    min-height: auto;
    padding: 0.9rem;
    background: rgba(255, 250, 240, 0.58);
  }

  .deploy-map::before,
  .deploy-map::after {
    display: none;
  }

  .deploy-center,
  .deploy-node {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    min-height: 4rem;
    border-radius: 18px;
    transform: none;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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