:root {
  --ink: #060708;
  --panel: #101416;
  --panel-2: #171b1c;
  --line: rgba(238, 221, 184, 0.15);
  --text: #f4ead5;
  --muted: #a89d8a;
  --dim: #716a5f;
  --accent: #4fb8aa;
  --accent-soft: #d8f1ec;
  --accent-rgb: 79, 184, 170;
  --ochre: #c8913a;
  --petal: #d59b73;
  --leaf: #4c7c35;
  --signal: var(--accent);
  --shadow: rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(var(--accent-rgb), 0.13), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(76, 124, 53, 0.12), transparent 24rem),
    linear-gradient(135deg, #070809 0%, #101315 46%, #050606 100%);
  color: var(--text);
  font-family: "Inter", "Suisse International", "Helvetica Neue", Arial, sans-serif;
}

.experiments {
  --accent: #9b6bd3;
  --accent-soft: #eadcff;
  --accent-rgb: 155, 107, 211;
}

.blog {
  --accent: #b89454;
  --accent-soft: #f1dfbd;
  --accent-rgb: 184, 148, 84;
}

.standards {
  --accent: #6aa7d8;
  --accent-soft: #d9ecfb;
  --accent-rgb: 106, 167, 216;
  --card-bg: #eee9df;
  --card-bg-hover: #f7f2e9;
  --card-ink: #15191b;
  --card-muted: #575650;
  --card-dim: #706b61;
  --card-line: rgba(6, 7, 8, 0.17);
  --card-accent: #245f8d;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 88%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background:
    repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 9px);
  mix-blend-mode: overlay;
}

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

.shell {
  width: min(100%, 1720px);
  margin: 0 auto;
}

.topbar {
  z-index: 20;
  align-items: center;
  width: min(calc(100% - 28px), 1720px);
  height: 58px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 7, 8, 0.72);
  backdrop-filter: blur(18px);
}

.topbar--home {
  position: fixed;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  transform: translateX(-50%);
}

.topbar--page {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.mark,
.nav,
.coordinate {
  padding: 0 18px;
}

.mark {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: 0;
}

.mark::before {
  width: 9px;
  height: 9px;
  content: "";
  background: var(--signal);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.82);
}

.ai-trace {
  color: var(--accent-soft);
  text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.12);
  transition:
    color 520ms ease,
    text-shadow 520ms ease;
}

.mark:hover .ai-trace,
.mark:focus-visible .ai-trace,
h1:hover .ai-trace,
h1:focus-visible .ai-trace {
  color: #fff8ee;
  text-shadow:
    0 0 12px rgba(244, 234, 213, 0.18),
    0 0 30px rgba(var(--accent-rgb), 0.32);
}

.nav {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 100%;
  border-inline: 1px solid var(--line);
}

.nav a,
.topnav a {
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav a {
  min-width: 102px;
  height: 34px;
}

.topnav {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0 18px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.topnav a {
  padding: 10px 12px;
}

.nav a:hover,
.nav a:focus-visible,
.topnav a:hover,
.topnav a:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.44);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 0 18px rgba(var(--accent-rgb), 0.08);
}

.coordinate {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-self: end;
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0;
}

.language-switch {
  color: var(--accent-soft) !important;
}

main {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 88vh;
  padding: 94px 22px 36px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 58px 14px 12px;
  pointer-events: none;
  content: "";
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.04),
    inset 0 -70px 100px rgba(0, 0, 0, 0.38);
}

.signal-field {
  position: absolute;
  inset: 58px 14px 12px;
  width: calc(100% - 28px);
  height: calc(100% - 70px);
  opacity: 0.72;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  min-height: calc(88vh - 130px);
  padding: clamp(22px, 5vw, 76px);
}

.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.kicker::before {
  width: 38px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.64);
}

h1,
h2,
.serif {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.home-title {
  max-width: 6ch;
  font-size: 13.8rem;
  hyphens: manual;
  line-height: 0.79;
}

.statement {
  max-width: 760px;
  margin: 28px 0 0;
  color: #e2d4bd;
  font-size: 2.15rem;
  line-height: 1.18;
}

.statement em {
  color: var(--petal);
  font-style: normal;
}

.caption,
.index,
.eyebrow {
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  padding: clamp(70px, 9vw, 140px) 22px;
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(100%, 1510px);
  margin: 0 auto;
}

.section-head {
  max-width: 900px;
  margin-bottom: clamp(34px, 6vw, 86px);
}

.section-head .caption,
.notes-caption,
.contact .caption {
  display: block;
  margin-bottom: 22px;
}

.section-title {
  max-width: 720px;
  font-size: 6.7rem;
  line-height: 0.9;
}

.section-copy {
  margin: 0;
  color: #d4c8b6;
  font-size: 1.55rem;
  line-height: 1.32;
}

.section-copy p {
  margin: 0;
}

.section-copy p + p {
  margin-top: 18px;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.module {
  --module-base: rgba(16, 20, 22, 0.66);
  --module-hover: rgba(23, 28, 30, 0.78);

  min-height: 284px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--module-base);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.module:nth-child(2) {
  --module-base: rgba(31, 20, 34, 0.56);
  --module-hover: rgba(42, 27, 46, 0.68);
}

.module:nth-child(3) {
  --module-base: rgba(36, 28, 17, 0.56);
  --module-hover: rgba(48, 37, 22, 0.68);
}

.module:nth-child(4) {
  --module-base: rgba(17, 29, 18, 0.56);
  --module-hover: rgba(22, 40, 24, 0.68);
}

.module:has(> a) {
  padding: 0;
  cursor: pointer;
}

.module > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 284px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}

.module:has(> a):hover,
.module:has(> a):focus-within {
  border-color: rgba(238, 221, 184, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 44%),
    var(--module-hover);
  box-shadow: inset 0 0 0 1px rgba(238, 221, 184, 0.08);
}

.module > a:focus-visible {
  outline: none;
}

.module .index {
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
}

.module h3 {
  margin: 0 0 14px;
  color: #fbf0d9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.module p {
  max-width: 31ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.notebook {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    rgba(244, 234, 213, 0.045);
  background-size: 100% 32px;
}

.notebook .entry {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(238, 221, 184, 0.12);
}

.notebook .entry:first-child {
  padding-top: 0;
}

.notebook .entry:last-child {
  border-bottom: 0;
}

.notebook p {
  margin: 0;
  color: #decfb8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.12;
}

.notebook a,
.content a,
.site-footer a {
  color: inherit;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.34);
}

.notebook a:hover,
.notebook a:focus-visible,
.content a:hover,
.content a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  border-bottom-color: rgba(var(--accent-rgb), 0.78);
  outline: none;
}

.contact {
  display: block;
}

.contact h2 {
  max-width: 760px;
  font-size: clamp(4rem, 7vw, 5.8rem);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.1);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.1);
}

.button.secondary {
  border-color: rgba(238, 221, 184, 0.18);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(244, 234, 213, 0.58);
  outline: none;
}

.page-main {
  width: min(100% - 44px, 980px);
  margin: 0 auto;
  padding: clamp(68px, 9vw, 132px) 0 clamp(60px, 8vw, 110px);
}

.page-title {
  margin-top: 22px;
  font-size: clamp(4.2rem, 12vw, 9.6rem);
  line-height: 0.82;
}

.blog-list-title {
  margin-top: 22px;
  font-size: clamp(4rem, 11vw, 8rem);
  line-height: 0.88;
}

.lede {
  max-width: 760px;
  margin: 34px 0 0;
  color: #d8c6a9;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.24;
}

.summary,
.notice {
  margin-top: 38px;
  padding: 18px 20px;
  color: #e6d6b7;
  font-size: 16px;
  line-height: 1.55;
}

.summary {
  border: 1px solid rgba(var(--accent-rgb), 0.26);
  background: rgba(var(--accent-rgb), 0.055);
}

.notice {
  border: 1px solid rgba(181, 133, 63, 0.4);
  background: rgba(181, 133, 63, 0.09);
}

.legal .page-main {
  padding: clamp(54px, 7vw, 96px) 0 clamp(60px, 8vw, 100px);
}

.legal .page-title {
  max-width: 12ch;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.92;
}

.legal .lede {
  margin-top: 24px;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.legal .summary,
.legal .notice {
  margin-top: 28px;
}

.legal .sections {
  margin-top: clamp(42px, 6vw, 68px);
}

.sections {
  margin-top: clamp(54px, 8vw, 92px);
  border-top: 1px solid var(--line);
}

.list {
  margin-top: clamp(42px, 6vw, 68px);
  border-top: 1px solid var(--line);
}

.content-section {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: clamp(22px, 5vw, 58px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.content h2,
.post h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 0.95;
}

.content p,
.content li,
.content dd,
.post p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.content p {
  max-width: 68ch;
  margin: 0 0 12px;
}

.content ul {
  display: grid;
  gap: 8px;
  max-width: 68ch;
  margin: 0 0 14px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.content li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 18px;
}

.content li::before {
  position: absolute;
  top: 0.83em;
  left: 0;
  width: 8px;
  height: 1px;
  content: "";
  background: var(--ochre);
}

.content blockquote {
  max-width: 60ch;
  margin: 22px 0;
  padding-left: 18px;
  border-left: 2px solid rgba(var(--accent-rgb), 0.34);
  color: #decfb8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.4;
}

.content blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

.content dl {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px 22px;
  margin: 0;
}

.content dt {
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.content dd {
  margin: 0;
  color: var(--text);
}

.post {
  display: block;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}

.post .eyebrow {
  margin-bottom: 14px;
}

.post h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.post p {
  max-width: 64ch;
  margin: 0;
}

.experiment-with-reference {
  border-bottom: 1px solid var(--line);
}

.experiment-with-reference .post {
  padding-bottom: 10px;
  border-bottom: 0;
}

.experiment-reference {
  margin: 0;
  padding: 0 0 28px;
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.experiment-reference a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-rgb), 0.48);
  text-underline-offset: 3px;
}

.experiment-reference a:hover,
.experiment-reference a:focus-visible {
  color: var(--accent-soft);
}

.changelog {
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
}

.standards-main {
  width: min(100% - 44px, 1180px);
}

.standards-title {
  max-width: none;
  font-size: clamp(3.25rem, 8.2vw, 7.25rem);
  line-height: 0.9;
  text-wrap: balance;
}

.standards-title span {
  white-space: nowrap;
}

.standards-topic-index {
  display: grid;
  margin-top: clamp(58px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.standards-topic {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px) clamp(18px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.standards-topic:hover,
.standards-topic:focus-visible {
  background: rgba(var(--accent-rgb), 0.075);
  outline: none;
  transform: translateX(4px);
}

.standards-topic__number {
  align-self: start;
  padding-top: 3px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.standards-topic .standard-kind {
  color: var(--dim);
}

.standards-topic h2 {
  margin: 10px 0 12px;
  color: var(--text);
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 0.96;
}

.standards-topic p {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.standards-topic__action {
  color: var(--accent-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.standards-landscape {
  margin-top: clamp(58px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.standards-group {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(38px, 6vw, 68px) 0;
  border-bottom: 1px solid var(--line);
}

.standards-group-head {
  position: sticky;
  top: 90px;
  align-self: start;
}

.standards-group-head .index {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
}

.standards-group-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--card-line);
  border-left: 1px solid var(--card-line);
}

.standards-grid--two {
  grid-template-columns: 1fr;
}

.standard-card {
  display: grid;
  grid-template-columns: clamp(116px, 16vw, 164px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  min-height: 188px;
  padding: clamp(20px, 3vw, 30px);
  border-right: 1px solid var(--card-line);
  border-bottom: 1px solid var(--card-line);
  background:
    linear-gradient(150deg, rgba(var(--accent-rgb), 0.1), transparent 48%),
    var(--card-bg);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

a.standard-card:hover,
a.standard-card:focus-visible {
  border-color: rgba(36, 95, 141, 0.5);
  background:
    linear-gradient(150deg, rgba(var(--accent-rgb), 0.16), transparent 54%),
    var(--card-bg-hover);
  outline: none;
  transform: translateX(3px);
}

.standard-kind {
  display: block;
  color: var(--card-dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.standard-card h3 {
  margin: 12px 0 10px;
  color: var(--card-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 0.98;
}

.standard-card p {
  max-width: 46ch;
  margin: 0;
  color: var(--card-muted);
  font-size: 15px;
  line-height: 1.55;
}

.standard-link {
  align-self: end;
  padding-bottom: 2px;
  color: var(--card-accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.standard-logo {
  display: grid;
  width: 100%;
  min-height: 108px;
  place-items: center;
  padding: 12px 22px 12px 0;
  border-right: 1px solid var(--card-line);
  background: transparent;
}

.standard-logo img {
  display: block;
  width: 100%;
  max-width: 128px;
  max-height: 72px;
  object-fit: contain;
}

.standard-copy {
  display: block;
  min-width: 0;
}

.standard-card--feature {
  display: block;
  min-height: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--card-line);
  background:
    radial-gradient(circle at 86% 8%, rgba(var(--accent-rgb), 0.22), transparent 22rem),
    var(--card-bg);
}

.standard-card--feature h3 {
  margin-top: 12px;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.standard-feature-head {
  display: grid;
  grid-template-columns: clamp(148px, 22vw, 230px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 54px);
}

.standard-logo--wide {
  min-height: 154px;
}

.standard-logo--wide img {
  max-width: 190px;
  max-height: 88px;
}

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

.standard-actions a {
  padding: 10px 12px;
  border: 1px solid rgba(36, 95, 141, 0.42);
  color: var(--card-accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.standard-actions a:hover,
.standard-actions a:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.74);
  outline: none;
}

.mcp-note {
  max-width: 72ch;
  margin: 36px 0 0 calc(clamp(148px, 22vw, 230px) + clamp(24px, 5vw, 54px));
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  color: var(--card-muted);
  background: rgba(var(--accent-rgb), 0.13);
  font-size: 14px;
  line-height: 1.55;
}

.mcp-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--card-ink);
  font-weight: 500;
}

.relationship-page {
  padding-bottom: clamp(72px, 10vw, 132px);
}

.inspector-open {
  overflow: hidden;
}

.relationship-back {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.relationship-back:hover,
.relationship-back:focus-visible {
  color: var(--accent-soft);
}

.relationship-title {
  max-width: 12ch;
  font-size: clamp(4rem, 9vw, 8rem);
}

.relationship-title--topic {
  max-width: none;
  font-size: clamp(2.8rem, 5.7vw, 5.5rem);
}

.relationship-title__line {
  display: block;
  white-space: nowrap;
}

.relationship-lede {
  max-width: 66ch;
}

.relationship-map {
  margin: clamp(58px, 8vw, 96px) 0 0;
}

.relationship-map__caption {
  max-width: 68ch;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.relationship-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.relationship-map__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-swatch {
  display: inline-block;
  width: 16px;
  height: 10px;
  border: 1px solid;
}

.legend-swatch--interactive {
  border-color: var(--accent);
  background: var(--card-bg);
}

.legend-swatch--system {
  border-color: #59666c;
  background: #151a1d;
}

.legend-line {
  display: inline-block;
  width: 24px;
  border-top: 1px solid #78868d;
}

.relationship-map__viewport {
  overflow-x: auto;
  border: 1px solid rgba(var(--accent-rgb), 0.23);
  background:
    radial-gradient(circle at 52% 48%, rgba(var(--accent-rgb), 0.09), transparent 25rem),
    rgba(8, 10, 11, 0.74);
  scrollbar-color: rgba(var(--accent-rgb), 0.5) rgba(255, 255, 255, 0.05);
}

.relationship-map__viewport:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.relationship-graph {
  display: block;
  width: 100%;
  min-width: 940px;
  height: auto;
}

.relationship-graph marker path {
  fill: #829098;
}

.graph-cluster rect {
  fill: rgba(var(--accent-rgb), 0.035);
  stroke: rgba(var(--accent-rgb), 0.26);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.graph-cluster text,
.graph-edge-label {
  fill: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.graph-cluster text {
  fill: var(--accent);
}

.graph-edge {
  fill: none;
  stroke: #829098;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.graph-edge--both {
  marker-start: url("#graph-arrow");
  marker-end: url("#graph-arrow");
}

.graph-edge--forward {
  marker-end: url("#graph-arrow");
}

.graph-edge--dashed {
  stroke-dasharray: 5 5;
}

.graph-edge-label {
  paint-order: stroke;
  stroke: #0a0d0f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 10px;
}

.graph-node rect,
.graph-node ellipse {
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.graph-node text {
  fill: var(--text);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  pointer-events: none;
}

.graph-node--actor ellipse,
.graph-node--system rect {
  fill: #111618;
  stroke: #59666c;
}

.graph-node--hub ellipse:first-child {
  fill: rgba(var(--accent-rgb), 0.1);
  stroke: rgba(var(--accent-rgb), 0.72);
}

.graph-node--hub ellipse:nth-child(2) {
  fill: #11181c;
  stroke: rgba(var(--accent-rgb), 0.36);
}

.graph-node--hub text {
  fill: var(--accent-soft);
  font-size: 13px;
}

.graph-node--standard {
  cursor: pointer;
}

.graph-node--standard rect {
  fill: var(--card-bg);
  stroke: rgba(var(--accent-rgb), 0.9);
  transition:
    fill 150ms ease,
    stroke 150ms ease,
    stroke-width 150ms ease;
}

.graph-node--standard text {
  fill: var(--card-ink);
}

.graph-node--standard .graph-node__name {
  font-size: 14px;
  font-weight: 600;
}

.graph-node--standard .graph-node__detail {
  fill: var(--card-muted);
  font-size: 9px;
  font-weight: 400;
}

.graph-node--standard:hover rect,
.graph-node--standard:focus-visible rect {
  fill: var(--card-bg-hover);
  stroke: var(--accent-soft);
  stroke-width: 3;
}

.graph-node--standard:focus {
  outline: none;
}

.relationship-note {
  max-width: 72ch;
  margin: 18px 0 0;
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  line-height: 1.55;
  text-transform: uppercase;
}

.standards-watchlist {
  margin-top: clamp(76px, 10vw, 124px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.standards-watchlist__head {
  display: block;
}

.standards-watchlist h2 {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
}

.standards-watchlist__items {
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.standards-watchlist__item {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.72fr) auto;
  gap: 24px;
  align-items: center;
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.standards-watchlist__item:hover,
.standards-watchlist__item:focus-visible {
  color: var(--accent-soft);
  background: rgba(var(--accent-rgb), 0.06);
  outline: none;
}

.standards-watchlist__name {
  color: var(--text);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.35;
}

.standards-watchlist__item:hover .standards-watchlist__name,
.standards-watchlist__item:focus-visible .standards-watchlist__name {
  color: var(--accent-soft);
}

.standards-watchlist__status,
.standards-watchlist__action {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  line-height: 1.45;
  text-transform: uppercase;
}

.standards-watchlist__status {
  color: var(--dim);
}

.standards-watchlist__action {
  color: var(--accent);
  white-space: nowrap;
}

.standard-inspector {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 620px);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(28px, 6vw, 62px);
  border: 0;
  border-left: 1px solid rgba(var(--accent-rgb), 0.54);
  color: var(--card-ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(var(--accent-rgb), 0.22), transparent 20rem),
    var(--card-bg);
}

.standard-inspector::backdrop {
  background: rgba(3, 5, 6, 0.76);
  backdrop-filter: blur(4px);
}

.standard-inspector__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--card-dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.standard-inspector__close {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--card-line);
  color: var(--card-ink);
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.standard-inspector__close:hover,
.standard-inspector__close:focus-visible {
  border-color: var(--card-accent);
  color: var(--card-accent);
  outline: none;
}

.standard-inspector__brand {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 68px;
  margin-top: clamp(34px, 6vh, 62px);
}

.standard-inspector__brand[hidden] {
  display: none;
}

.standard-inspector__brand img {
  display: block;
  width: auto;
  min-width: 0;
  max-width: 280px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

.standard-inspector__brand img[src$="/openapi.svg"],
.standard-inspector__brand img[src$="/agent-spec.svg"],
.standard-inspector__brand img[src$="/onnx.svg"],
.standard-inspector__brand img[src$="/khronos.svg"] {
  width: 280px;
  max-width: 100%;
}

.standard-inspector__brand img[src$="/agent-skills.svg"] {
  width: 68px;
}

.standard-inspector__brand--dark {
  box-sizing: border-box;
  padding: 12px 16px;
  background: #10161b;
}

.standard-inspector h2 {
  max-width: 100%;
  min-width: 0;
  margin: clamp(48px, 9vh, 92px) 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 500;
  line-height: 0.94;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.standard-inspector__brand:not([hidden]) + h2 {
  margin-top: 28px;
}

.standard-inspector__summary {
  max-width: 48ch;
  margin: 0;
  color: var(--card-muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.standard-inspector__meta {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  border-top: 1px solid var(--card-line);
}

.standard-inspector__meta div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--card-line);
}

.standard-inspector__meta dt {
  color: var(--card-dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.standard-inspector__meta dd {
  margin: 0;
  color: var(--card-muted);
  font-size: 14px;
  line-height: 1.5;
}

.standard-inspector__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.standard-inspector__source {
  display: inline-block;
  padding: 12px 14px;
  border: 1px solid rgba(36, 95, 141, 0.46);
  color: var(--card-accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.standard-inspector__source:hover,
.standard-inspector__source:focus-visible {
  border-color: var(--card-accent);
  outline: none;
}

.standards-footnote {
  max-width: 72ch;
  margin: 34px 0 0;
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.6;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px 28px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  padding: 6px 8px;
  border: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.32);
}

.stack-line {
  width: 100%;
  font-style: italic;
  color: var(--dim, inherit);
  opacity: 0.75;
}

@media (max-width: 1060px) {
  .topbar--home {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-grid {
    align-items: start;
    min-height: auto;
  }

  .home-title {
    font-size: 8.8rem;
  }

  .section-title {
    font-size: 4.9rem;
  }

  .statement {
    font-size: 1.75rem;
  }

  .module h3 {
    font-size: 2.1rem;
  }

  .notebook p {
    font-size: 1.75rem;
  }

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

@media (max-width: 720px) {
  .topbar--page {
    width: calc(100% - 16px);
  }

  .topnav {
    padding: 0 8px;
  }

  .topnav a:not(.language-switch) {
    display: none;
  }

  .page-main {
    width: min(100% - 28px, 980px);
  }

  .content-section,
  .content dl {
    grid-template-columns: 1fr;
  }

  .content-section {
    gap: 12px;
  }

  .standards-group {
    grid-template-columns: 1fr;
  }

  .standards-group-head {
    position: static;
  }

  .standards-grid,
  .standards-grid--two {
    grid-template-columns: 1fr;
  }

  .standard-card {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 0;
  }

  .standard-link {
    grid-column: 2;
    justify-self: start;
  }

  .standard-feature-head {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .mcp-note {
    margin-left: 0;
  }

  .relationship-title {
    max-width: none;
    font-size: clamp(2.5rem, 11vw, 4.75rem);
  }

  .relationship-title--topic {
    font-size: clamp(1.8rem, 9vw, 4.2rem);
  }

  .standards-topic {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .standards-topic__action {
    grid-column: 2;
    justify-self: start;
  }

  .standards-watchlist__item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 18px;
    padding: 17px 8px;
  }

  .standards-watchlist__status {
    grid-column: 1;
  }

  .standards-watchlist__action {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .standard-inspector {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    max-height: 88dvh;
    overflow-y: auto;
    padding: 24px 22px 34px;
    border-top: 1px solid rgba(var(--accent-rgb), 0.54);
    border-left: 0;
  }

  .standard-inspector h2 {
    margin-top: 34px;
    font-size: clamp(2.6rem, 13vw, 4.25rem);
  }

  .standard-inspector__brand {
    min-height: 52px;
    margin-top: 26px;
  }

  .standard-inspector__brand img {
    max-height: 52px;
  }

  .standard-inspector__brand:not([hidden]) + h2 {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .standards-title {
    font-size: clamp(2.65rem, 13.5vw, 4rem);
  }

  .standard-card,
  .standard-feature-head {
    grid-template-columns: 1fr;
  }

  .standard-logo {
    width: min(156px, 54%);
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--card-line);
  }

  .standard-logo--wide {
    width: min(220px, 76%);
  }

  .standard-link {
    grid-column: 1;
  }

  .relationship-map__legend {
    display: grid;
    gap: 10px;
  }

  .standard-inspector__meta div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .standards-watchlist__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .standards-watchlist__status,
  .standards-watchlist__action {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .topbar--home {
    width: calc(100% - 16px);
  }

  .mark,
  .coordinate {
    padding: 0 10px;
  }

  .coordinate .studio-label {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 78px 8px 12px;
  }

  .hero::before,
  .signal-field {
    inset: 58px 8px 8px;
    width: calc(100% - 16px);
    height: calc(100% - 66px);
  }

  .hero-grid {
    padding: 28px 16px 20px;
  }

  .home-title {
    font-size: 4.65rem;
  }

  .section-title {
    font-size: 3.25rem;
  }

  .statement,
  .section-copy {
    font-size: 1.28rem;
  }

  .matrix {
    grid-template-columns: 1fr;
  }

  .module {
    min-height: 236px;
  }

  .module .index {
    margin-bottom: 42px;
  }

  .notebook .entry {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .button {
    width: 100%;
  }
}
