*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #080910;
  --ink-soft: #0b0d15;
  --surface: #0f111c;
  --surface-raised: #141725;
  --surface-hover: #181b2b;
  --line: #272b3d;
  --line-strong: #3b4058;
  --text: #b7bbd4;
  --text-bright: #e0e3f4;
  --text-muted: #858aa6;
  --text-dim: #5e637e;
  --violet: #8d88e8;
  --violet-soft: rgba(141, 136, 232, 0.12);
  --green: #62f08b;
  --green-soft: rgba(98, 240, 139, 0.1);
  --cyan: #6ab9d5;
  --amber: #d6aa67;
  --font-display: "SF Mono", "Cascadia Code", "Roboto Mono", ui-monospace, monospace;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% -15%, rgba(105, 99, 188, 0.12), transparent 32rem),
    var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image: radial-gradient(rgba(141, 136, 232, 0.11) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 42rem);
}

::selection {
  background: rgba(141, 136, 232, 0.35);
  color: var(--text-bright);
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 8px 12px;
  border: 1px solid var(--violet);
  background: var(--surface-raised);
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 12px;
  transform: translateY(-180%);
}

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

.site-nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(39, 43, 61, 0.75);
}

.wordmark {
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 450;
  letter-spacing: 0.08em;
  text-decoration: none;
}

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

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 12px;
}

.site-nav nav a {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav nav a:hover,
.site-nav nav a[aria-current="page"] {
  color: var(--text-bright);
}

.site-nav nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--violet);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.umbrella-hero {
  min-height: 580px;
  padding-block: 96px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: 72px;
}

.hero-copy h1,
.page-hero h1,
.tool-hero h1 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-weight: 380;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 88px);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

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

.button {
  min-height: 43px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 12px;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.button.primary {
  border-color: var(--violet);
  background: var(--violet-soft);
  color: var(--text-bright);
}

.button.primary:hover {
  background: rgba(141, 136, 232, 0.2);
}

.button.secondary {
  color: var(--text-muted);
}

.button.secondary:hover {
  border-color: var(--text-muted);
  color: var(--text-bright);
}

.scope-plate {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background:
    linear-gradient(rgba(141, 136, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 136, 232, 0.055) 1px, transparent 1px),
    rgba(13, 15, 24, 0.92);
  background-size: 28px 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.scope-plate::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, var(--violet), transparent);
  opacity: 0.6;
  animation: scan 6s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { left: 18%; opacity: 0.2; }
  50% { left: 82%; opacity: 0.8; }
}

.scope-label {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scope-label span:last-child {
  color: var(--green);
}

.scope-row {
  position: relative;
  z-index: 1;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 16, 0.52);
}

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

.scope-row i {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: var(--green-soft);
  box-shadow: 0 0 16px rgba(98, 240, 139, 0.42);
}

.scope-row strong {
  display: block;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
}

.scope-row span {
  display: block;
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 13px;
}

.home-section,
.catalog-section,
.world-section {
  padding-block: 88px;
  border-top: 1px solid var(--line);
}

.home-tools-quiet {
  margin-bottom: 88px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-tools-quiet .eyebrow {
  margin-bottom: 7px;
  color: var(--text-dim);
}

.home-tools-quiet h2 {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 420;
  line-height: 1.35;
}

.home-tools-quiet > p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
}

.home-tools-quiet > a {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 11px;
  white-space: nowrap;
  text-decoration: none;
}

.home-tools-quiet > a:hover {
  color: var(--text-bright);
}

.section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.bench-feature h2,
.research-notes h2,
.detail-section h2,
.detail-columns h2,
.related-section h2 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.section-heading > a {
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 12px;
  text-decoration: none;
}

.section-heading > a:hover {
  color: var(--text-bright);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.tool-card {
  min-width: 0;
  min-height: 302px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(20, 23, 37, 0.88), rgba(12, 14, 23, 0.92));
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.tool-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-raised);
  transform: translateY(-2px);
}

.tool-card-compact {
  min-height: 250px;
}

.tool-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-card h2 {
  margin: 28px 0 12px;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 450;
  letter-spacing: -0.02em;
}

.tool-card h2 a {
  text-decoration: none;
}

.tool-card h2 a::after {
  content: " ↗";
  color: var(--text-dim);
  font-size: 12px;
}

.tool-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.tool-card code,
.research-notes code {
  max-width: 100%;
  margin-top: auto;
  padding-top: 24px;
  overflow-wrap: anywhere;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 11px;
}

.card-actions {
  margin-top: 20px;
  padding-top: 14px;
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.card-actions a {
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 11px;
  text-decoration: none;
}

.card-actions a:hover {
  color: var(--text-bright);
}

.research-preview {
  padding-block: 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  border-top: 1px solid var(--line);
}

.research-copy h2 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 390;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.research-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--text-muted);
}

.research-copy .button {
  margin-top: 28px;
}

.world-index {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 17, 28, 0.78);
}

.world-index a {
  min-height: 78px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.world-index a:last-child {
  border-bottom: 0;
}

.world-index a:hover {
  background: var(--surface-raised);
}

.world-index strong {
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
}

.world-index span {
  color: var(--text-muted);
  font-size: 13px;
}

.world-index em {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bench-strip {
  margin-bottom: 96px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--green);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
}

.bench-strip:hover {
  border-color: var(--green);
}

.bench-strip h2 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 450;
}

.bench-strip p {
  max-width: 800px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.bench-strip > span {
  align-self: center;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 12px;
}

.page-hero {
  padding-block: 96px 84px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 7vw, 78px);
}

.page-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: 19px;
}

.catalog-section,
.world-section {
  padding-top: 0;
  border-top: 0;
}

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

.catalog-section .tool-card {
  min-height: 286px;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.world-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.world-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.world-card:first-child {
  grid-column: 1 / -1;
}

.world-media {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}

.world-card:first-child .world-media {
  height: 260px;
}

.world-media video,
.world-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.06);
  transition: filter 180ms ease, transform 500ms ease;
}

.world-card:hover .world-media video,
.world-card:hover .world-media img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.012);
}

.world-body {
  padding: 22px 24px 24px;
}

.world-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.world-title h2 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 450;
}

.world-title span {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.world-body p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 9px;
}

.bench-feature {
  margin-block: 88px;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 64px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--green);
  border-radius: 8px;
  background: var(--surface);
}

.bench-feature > div > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--text-muted);
}

.bench-feature .button {
  margin-top: 26px;
}

.bench-proof {
  display: grid;
  align-content: center;
}

.bench-proof span {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13px;
}

.bench-proof span:last-child {
  border-bottom: 0;
}

.bench-proof strong {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-notes {
  margin-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.research-notes article {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.research-notes h2 {
  font-size: 27px;
}

.research-notes p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: 14px;
}

.research-notes code {
  display: block;
  padding-top: 12px;
}

.research-notes a {
  display: inline-block;
  margin-top: 18px;
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 11px;
  text-decoration: none;
}

.tool-detail {
  padding-top: 42px;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 11px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text-bright);
}

.tool-hero {
  padding-block: 68px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 72px;
  border-bottom: 1px solid var(--line);
}

.tool-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  overflow-wrap: anywhere;
}

.tool-summary {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--text-bright);
  font-size: 20px;
  line-height: 1.5;
}

.tool-description {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text-muted);
}

.install-plate {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(rgba(141, 136, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 136, 232, 0.06) 1px, transparent 1px),
    var(--surface);
  background-size: 22px 22px;
}

.install-plate > span {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.install-plate code {
  margin: 28px 0 32px;
  display: block;
  overflow-wrap: anywhere;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.7;
}

.install-plate small {
  display: block;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.5;
}

.detail-section {
  padding-block: 78px;
  border-bottom: 1px solid var(--line);
}

.detail-section h2,
.detail-columns h2,
.related-section h2,
.evidence-section h2,
.action-section h2,
.field-proof h2,
.field-limits h2 {
  font-size: 30px;
}

.evidence-section {
  padding-block: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 64px;
  border-bottom: 1px solid var(--line);
}

.evidence-section h2,
.action-section h2,
.field-proof h2,
.field-limits h2 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-weight: 420;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.evidence-copy > p:not(.eyebrow),
.action-section p:not(.eyebrow),
.field-proof p,
.field-limits li {
  color: var(--text-muted);
}

.evidence-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.evidence-plate {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(rgba(98, 240, 139, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 240, 139, 0.045) 1px, transparent 1px),
    rgba(10, 12, 18, 0.94);
  background-size: 20px 20px;
}

.plate-label {
  padding: 12px 16px;
  display: block;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.evidence-lines {
  padding: 18px 20px;
  display: grid;
  gap: 4px;
}

.evidence-lines span {
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 12px;
  white-space: pre-wrap;
}

.action-section {
  padding-block: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--line);
}

.action-section pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 12px;
}

.field-notes-section {
  padding-block: 78px 96px;
  border-top: 1px solid var(--line);
}

.catalog-section + .field-notes-section {
  margin-top: 12px;
}

.field-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.field-note-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 17, 28, 0.72);
}

.field-note-card h2 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 430;
  line-height: 1.4;
}

.field-note-card h2 a,
.field-note-card > a {
  text-decoration: none;
}

.field-note-card > p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: 14px;
}

.field-note-card > a {
  display: inline-block;
  margin-top: 16px;
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 11px;
}

.field-note {
  padding-top: 42px;
}

.field-note-hero {
  max-width: 900px;
  padding-block: 68px 84px;
  border-bottom: 1px solid var(--line);
}

.field-note-hero h1 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 380;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.field-note-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 19px;
}

.field-answer,
.field-takeaway {
  max-width: 860px;
  padding-block: 62px;
  border-bottom: 1px solid var(--line);
}

.field-answer h2,
.field-takeaway h2 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 420;
  letter-spacing: -0.03em;
}

.field-answer p:not(.eyebrow),
.field-takeaway p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
}

.field-step-list {
  padding-block: 24px 58px;
  border-bottom: 1px solid var(--line);
}

.field-step {
  padding-block: 34px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.field-step:last-child {
  border-bottom: 0;
}

.field-step > span {
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 11px;
}

.field-step h2 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 430;
}

.field-step p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--text-muted);
}

.field-step pre {
  max-width: 760px;
  margin: 18px 0 0;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 11px;
}

.field-proof {
  padding-block: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 64px;
  border-bottom: 1px solid var(--line);
}

.field-limits {
  max-width: 760px;
  padding-block: 78px 96px;
}

.field-limits ul {
  margin: 26px 0 0;
  padding-left: 20px;
}

.field-limits li + li {
  margin-top: 12px;
}

.signal-list {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  counter-reset: signals;
}

.signal-list li {
  min-height: 92px;
  padding: 20px 24px 20px 52px;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  counter-increment: signals;
}

.signal-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.signal-list li::before {
  position: absolute;
  top: 22px;
  left: 12px;
  content: "0" counter(signals);
  color: var(--violet);
  font-family: var(--font-display);
  font-size: 10px;
}

.detail-columns {
  padding-block: 78px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.detail-columns section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.detail-columns section.limits {
  border-color: rgba(214, 170, 103, 0.38);
}

.detail-columns section.limits .eyebrow {
  color: var(--amber);
}

.detail-columns ul {
  margin: 26px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.detail-columns li + li {
  margin-top: 12px;
}

.related-section {
  padding-block: 78px 96px;
}

.site-footer {
  min-height: 130px;
  padding-block: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-bright);
}

.site-footer p {
  margin: 0;
  text-align: right;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

#intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}

html.intro-playing #intro {
  display: flex;
}

html.intro-playing body {
  overflow: hidden;
}

#intro.fade {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

#intro-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#intro-skip {
  position: fixed;
  right: 26px;
  bottom: 22px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(15, 17, 28, 0.72);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

#intro-skip:hover {
  border-color: var(--line-strong);
  color: var(--text-bright);
}

@media (max-width: 900px) {
  .umbrella-hero,
  .research-preview,
  .tool-hero,
  .bench-feature,
  .evidence-section,
  .action-section,
  .field-proof {
    grid-template-columns: 1fr;
  }

  .home-tools-quiet {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  }

  .home-tools-quiet > a {
    grid-column: 1 / -1;
  }

  .umbrella-hero {
    gap: 48px;
  }

  .scope-plate {
    max-width: 620px;
  }

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

  .research-preview,
  .tool-hero {
    gap: 44px;
  }

  .install-plate {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 30px, 1120px);
  }

  .site-nav {
    min-height: 72px;
    align-items: flex-start;
    padding-block: 20px;
  }

  .site-nav nav {
    justify-content: flex-end;
    gap: 12px 16px;
    flex-wrap: wrap;
  }

  .site-nav nav a:last-child {
    display: none;
  }

  .umbrella-hero {
    min-height: 0;
    padding-block: 70px;
  }

  .hero-copy h1,
  .page-hero h1,
  .tool-hero h1 {
    letter-spacing: -0.055em;
  }

  .home-section,
  .research-preview,
  .page-hero {
    padding-block: 68px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .tool-grid,
  .tool-grid.compact,
  .catalog-section .tool-grid,
  .field-note-grid,
  .world-grid,
  .research-notes,
  .detail-columns,
  .signal-list {
    grid-template-columns: 1fr;
  }

  .home-tools-quiet {
    margin-bottom: 68px;
    padding-block: 24px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-tools-quiet > a {
    grid-column: auto;
    margin-top: 4px;
  }

  .evidence-section,
  .field-proof {
    padding-block: 60px;
    gap: 38px;
  }

  .action-section {
    gap: 28px;
  }

  .field-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .tool-card {
    min-height: 270px;
  }

  .world-card:first-child {
    grid-column: auto;
  }

  .world-card:first-child .world-media,
  .world-media {
    height: 170px;
  }

  .world-index a {
    grid-template-columns: 72px 1fr;
  }

  .world-index em {
    display: none;
  }

  .bench-strip {
    margin-bottom: 68px;
    grid-template-columns: 1fr;
  }

  .bench-strip > span {
    justify-self: start;
  }

  .bench-feature {
    margin-block: 68px;
    padding: 28px;
  }

  .signal-list li:nth-child(odd) {
    border-right: 0;
  }

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

  .site-footer p {
    text-align: left;
  }
}

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

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

  .world-media video {
    display: none;
  }
}
