@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("./assets/newsreader.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #121922;
  --ink-soft: #303a42;
  --paper: #f2efe6;
  --paper-bright: #fbf9f3;
  --paper-deep: #e4dfd2;
  --rule: #bcb7ab;
  --orange: #e6542f;
  --orange-soft: #f3c9ba;
  --teal: #147e78;
  --teal-soft: #b9dbd4;
  --yellow: #e8c84d;
  --blue: #456eaa;
  --display: "Newsreader", Georgia, serif;
  --sans: "Space Grotesk", sans-serif;
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(18, 25, 34, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 25, 34, .035) 1px, transparent 1px);
  background-size: 32px 32px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

::selection { color: var(--paper-bright); background: var(--teal); }
a { color: inherit; }
button, input, select { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 1rem;
  padding: .75rem 1rem;
  color: white;
  background: var(--orange);
  visibility: hidden;
}
.skip-link:focus-visible { top: 1rem; visibility: visible; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: relative;
  z-index: 20;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  color: var(--paper-bright);
  background: var(--ink);
  border-bottom: 4px solid var(--orange);
}
.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: inherit;
  text-decoration: none;
}
.wordmark-mark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.08em;
}
.wordmark-mark span { color: var(--orange); }
.wordmark-copy {
  display: flex;
  flex-direction: column;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}
.wordmark-copy small {
  color: #aeb6bc;
  font-size: .6rem;
  font-weight: 450;
  letter-spacing: .08em;
}
.baseline {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #bec4c8;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.baseline span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #79c68c;
  box-shadow: 0 0 0 4px rgba(121, 198, 140, .15);
}
.source-link {
  justify-self: end;
  color: var(--paper-bright);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-underline-offset: 4px;
  text-transform: uppercase;
}
.source-link span { color: var(--orange); }

.hero {
  position: relative;
  max-width: var(--max);
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: 8rem 2rem 7rem;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 10%;
  right: 2%;
  width: 240px;
  height: 240px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  box-shadow: 0 0 0 35px var(--paper), 0 0 0 36px var(--rule), 0 0 0 85px var(--paper), 0 0 0 86px var(--rule);
  opacity: .55;
}
.hero-index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--rule);
  color: var(--ink-soft);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .22em;
}
.hero-index strong {
  margin: 1.4rem 0;
  color: var(--orange);
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.07em;
}
.eyebrow {
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--teal);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--teal);
}
.hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7.8vw, 8.3rem);
  font-weight: 420;
  line-height: .86;
  letter-spacing: -.065em;
}
.hero h1 em {
  position: relative;
  color: var(--orange);
  font-weight: 370;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -2%;
  bottom: .04em;
  height: .05em;
  background: currentColor;
  transform: rotate(-1.4deg);
}
.hero-lede {
  max-width: 760px;
  margin: 2.4rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.7rem;
}
.primary-action, .plain-action {
  border: 0;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1rem 1.2rem;
  color: white;
  background: var(--ink);
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--orange);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-action:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--orange); }
.primary-action span { color: var(--orange-soft); font-size: 1rem; }
.plain-action {
  padding: .65rem 0;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--ink);
}
.scope-card {
  align-self: end;
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem 1.6rem 1.6rem;
  color: white;
  background: var(--teal);
  box-shadow: 10px 10px 0 var(--teal-soft);
}
.scope-card::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 22px;
  width: 44px;
  height: 28px;
  background: var(--yellow);
  transform: rotate(3deg);
}
.scope-number { color: #bce2dc; font-size: .65rem; font-weight: 700; letter-spacing: .18em; }
.scope-card p { margin: .7rem 0 0; font-size: .88rem; }
.scope-card strong { font-family: var(--display); font-size: 1.55rem; font-weight: 500; }

.tldr {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 2rem 3.5rem;
  border-bottom: 1px solid var(--ink);
}
.tldr h1 {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  font-weight: 480;
  letter-spacing: -.04em;
  line-height: 1;
}
.tldr-copy {
  max-width: 1120px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.architecture {
  max-width: var(--max);
  margin: 0 auto 7rem;
  padding: 1rem 2rem 0;
}
.architecture-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .75fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
  padding-top: 5rem;
  border-top: 1px solid var(--ink);
}
.architecture-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 6.8rem);
  font-weight: 420;
  line-height: .88;
  letter-spacing: -.055em;
}
.architecture-heading h2 em { color: var(--teal); font-weight: 380; }
.architecture-heading > p {
  margin: 0 0 .4rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}
.architecture-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.2rem;
  padding: 4px;
  background: var(--paper-deep);
  border: 1px solid var(--ink);
}
.architecture-option {
  min-width: 260px;
  padding: .8rem 1rem;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.architecture-option + .architecture-option { border-left: 1px solid var(--rule); }
.architecture-option span { display: block; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.architecture-option small { display: block; margin-top: .2rem; color: #687074; font-size: .62rem; }
.architecture-option.active { color: white; background: var(--teal); }
.architecture-option.active small { color: #d1ebe7; }
.architecture-scroll {
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  background: #e9e5da;
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  scrollbar-color: var(--orange) var(--paper-deep);
}
.architecture-scroll:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.arch-canvas {
  position: relative;
  min-width: 1180px;
  width: 1180px;
  height: 975px;
  color: var(--ink);
  background-color: var(--paper-bright);
  background-image: radial-gradient(rgba(18, 25, 34, .16) .7px, transparent .7px);
  background-size: 16px 16px;
  overflow: hidden;
}
.architecture-view[hidden] { display: none !important; }
.arch-lines { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.namespace-lines { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.arch-lines path, .namespace-lines path { fill: none; stroke-width: 1.7; }
.auth-line path { stroke: var(--orange); marker-end: url(#arrow-auth); }
.control-line path { stroke: var(--teal); marker-end: url(#arrow-control); }
.data-line path { stroke: var(--blue); stroke-dasharray: 5 4; marker-end: url(#arrow-data); }
#arrow-auth path { fill: var(--orange); }
#arrow-control path { fill: var(--teal); }
#arrow-data path, #job-arrow-data path { fill: var(--blue); }
#job-arrow-auth path { fill: var(--orange); }
#job-arrow-control path { fill: var(--teal); }
.job-auth-line path { marker-end: url(#job-arrow-auth); }
.job-control-line path { marker-end: url(#job-arrow-control); }
.job-data-line path { marker-end: url(#job-arrow-data); }
.line-labels text { fill: #6d706e; font-family: var(--sans); font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }
.arch-zone, .cluster-zone, .tenant-zone, .aws-zone { position: absolute; }
.identity-zone {
  z-index: 0;
  top: 18px;
  left: 244px;
  width: 835px;
  height: 122px;
  background: rgba(230, 84, 47, .06);
  border: 1px dashed rgba(230, 84, 47, .55);
}
.arch-zone > span, .cluster-zone > span {
  position: absolute;
  top: 8px;
  left: 10px;
  color: #6e716f;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cluster-zone {
  z-index: 0;
  top: 170px;
  left: 20px;
  width: 1140px;
  height: 600px;
  background: rgba(20, 126, 120, .035);
  border: 1px solid #88908c;
  box-shadow: inset 0 0 0 6px rgba(20, 126, 120, .04);
}
.cluster-zone > span { color: var(--teal); }
.arch-node {
  position: absolute;
  z-index: 4;
  padding: 14px 16px;
  background: var(--paper-bright);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--paper-deep);
}
.arch-node small, .zone-title small, .ray-node small, .s3-node small {
  display: block;
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.arch-node strong, .zone-title strong, .ray-node strong, .s3-node strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 550;
  line-height: 1.05;
}
.arch-node > span, .zone-title > span, .ray-node > span, .s3-node > span {
  display: block;
  margin-top: 5px;
  color: #555d60;
  font-size: 9px;
  line-height: 1.35;
}
.users-node { top: 38px; left: 34px; width: 180px; height: 64px; background: var(--ink); color: white; box-shadow: 4px 4px 0 var(--orange); }
.users-node small { color: var(--orange-soft); }
.users-node strong { font-size: 18px; }
.users-node > span { color: #cbd0d3; }
.keycloak-node { top: 38px; left: 302px; width: 200px; height: 72px; border-color: var(--orange); }
.catalog-node { top: 38px; left: 780px; width: 255px; height: 72px; border-color: var(--blue); }
.catalog-node small { color: var(--blue); }
.system-node { top: 205px; height: 137px; }
.ui-api-node { left: 50px; width: 250px; }
.dsp-node { left: 330px; width: 250px; height: 155px; }
.packs-node { left: 610px; width: 180px; }
.packs-node strong { font-size: 18px; }
.packs-node p { max-width: 150px; }
.control-node { top: 380px; left: 460px; width: 260px; height: 110px; }
.node-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.node-chips span { padding: 3px 6px; color: var(--ink); background: var(--paper-deep); font-size: 7px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.node-chips span.diff-chip { color: #74301f; background: var(--orange-soft); outline: 1px solid rgba(230, 84, 47, .38); }
.system-node p { margin: 10px 0 0; color: #656a6c; font-size: 8px; line-height: 1.35; }
.control-node-style { color: white; background: var(--teal); border-color: var(--teal); box-shadow: 5px 5px 0 var(--teal-soft); }
.control-node-style small { color: #bfe5df; }
.control-node-style > span { color: white; }
.control-chips { margin-top: 10px; }
.control-chips span { color: var(--teal); background: white; }
.tenant-zone {
  z-index: 3;
  top: 535px;
  height: 210px;
  background: rgba(251, 249, 243, .96);
  border: 1px solid var(--teal);
}
.tenant-a { left: 60px; width: 805px; }
.tenant-b { left: 900px; width: 190px; background: repeating-linear-gradient(-45deg, #f8f5ee, #f8f5ee 8px, #efebe0 8px, #efebe0 16px); }
.zone-title { position: absolute; top: 14px; left: 16px; }
.zone-title small { color: var(--teal); }
.zone-title strong { font-size: 18px; }
.ray-node {
  position: absolute;
  z-index: 4;
  top: 66px;
  width: 215px;
  min-height: 82px;
  padding: 11px 12px;
  background: white;
  border: 1px solid var(--rule);
}
.ray-node::before { content: ""; position: absolute; top: -1px; left: -1px; width: 5px; height: calc(100% + 2px); background: var(--orange); }
.ray-node strong { font-size: 16px; }
.ray-node small { color: #777; }
.interactive-ray { left: 16px; padding-top: 9px; }
.cluster-users { display: flex; gap: 4px; margin-top: 6px; }
.cluster-users span { flex: 1; padding: 2px 4px; color: white; background: var(--teal); font-size: 7px; font-weight: 750; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.interactive-ray > span { margin-top: 4px; font-size: 8px; }
.job-ray { left: 257px; }
.service-ray { left: 498px; }
.service-ray::before { background: var(--blue); }
.batch-job-node::before { background: var(--teal); }
.single-job-node { left: 16px; width: 456px; }
.config-node::before { background: var(--orange); }
.runner-node::before { background: var(--blue); }
.identity-rail {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}
.identity-rail span { padding: 3px 8px; color: #3e5656; background: var(--teal-soft); font-size: 7px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tenant-b .zone-title { position: static; padding: 14px 15px 0; }
.tenant-b p { margin: 18px 15px 0; color: #535a5c; font-size: 9px; line-height: 1.5; }
.repeat-lines { display: grid; gap: 6px; margin: 22px 15px 0; }
.repeat-lines i { height: 8px; background: var(--teal-soft); border-left: 4px solid var(--teal); }
.aws-zone {
  z-index: 3;
  top: 810px;
  left: 30px;
  width: 1120px;
  height: 130px;
  background: #e7ecf4;
  border: 1px solid var(--blue);
}
.aws-zone > .zone-title { top: 18px; }
.aws-zone .zone-title small { color: var(--blue); }
.aws-zone .zone-title strong { font-size: 17px; }
.role-grid {
  position: absolute;
  top: 27px;
  left: 280px;
  width: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.role-grid span { padding: 7px 9px; color: #314967; background: white; border-left: 3px solid var(--blue); font-size: 8px; font-weight: 700; }
.s3-node {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 275px;
  min-height: 94px;
  padding: 12px 14px;
  color: white;
  background: var(--blue);
  box-shadow: 5px 5px 0 #aabbd2;
}
.s3-node small, .s3-node > span { color: #d9e4f3; }
.s3-node strong { font-size: 25px; }
.architecture-legend {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem .2rem 1rem;
  border-bottom: 1px solid var(--rule);
}
.architecture-legend > span { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); font-size: .65rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.architecture-legend i { display: inline-block; width: 28px; height: 2px; background: var(--orange); }
.architecture-legend i.control { background: var(--teal); }
.architecture-legend i.data { height: 1px; background: repeating-linear-gradient(90deg, var(--blue) 0 5px, transparent 5px 8px); }
.architecture-legend p { display: none; margin: 0 0 0 auto; color: #666; font-size: .65rem; }
.signal-strip {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 190px)) 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
}
.signal-strip > div {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem 2rem;
  border-right: 1px solid var(--rule);
}
.signal-strip strong {
  font-family: var(--display);
  font-size: 2.7rem;
  font-weight: 450;
  line-height: 1;
}
.signal-strip span { margin-top: .5rem; color: var(--ink-soft); font-size: .63rem; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.signal-strip > p {
  align-self: center;
  max-width: 600px;
  margin: 0;
  padding: 2rem 3rem;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.4;
}
.signal-dot { display: inline-block; width: 9px; height: 9px; margin: 0 .6rem .05rem 0; border-radius: 50%; background: var(--orange); }

.foundation {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  padding: 8rem 2rem;
}
.section-label {
  color: var(--ink-soft);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-left: 1px solid var(--rule);
  padding-left: 1rem;
}
.foundation h2, .register-intro h2, .sequence h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 430;
  line-height: .95;
  letter-spacing: -.045em;
}
.foundation-copy p {
  max-width: 620px;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.foundation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.foundation-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  padding: .95rem .2rem;
  border-bottom: 1px solid var(--rule);
  font-size: .88rem;
  font-weight: 600;
}
.foundation-list span { color: var(--orange); font-size: .66rem; letter-spacing: .1em; }

.register-shell {
  max-width: var(--max);
  margin: 0 auto 8rem;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  background: var(--paper-bright);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
}
.register-intro {
  min-height: 100%;
  padding: 3rem 2.2rem;
  color: var(--paper-bright);
  background: var(--ink);
}
.register-intro .eyebrow { color: var(--orange-soft); }
.register-intro .eyebrow::before { background: var(--orange); }
.register-intro h2 { font-size: clamp(3.2rem, 4vw, 4.8rem); }
.register-intro > p:not(.eyebrow) { margin: 2rem 0 0; color: #bfc4c8; font-size: .88rem; }
.register-main { min-width: 0; padding: 2.2rem; }
.toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 260px);
  gap: 1rem;
  align-items: stretch;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ink);
}
.filter-group { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter {
  padding: .55rem .72rem;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule);
  cursor: pointer;
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.filter:hover, .filter.active { color: white; background: var(--teal); border-color: var(--teal); }
.search-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 .75rem;
  background: white;
  border: 1px solid var(--rule);
}
.search-wrap span { color: var(--teal); font-size: 1.2rem; }
.search-wrap input { min-width: 0; width: 100%; padding: .55rem 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: .78rem; }
.filter:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.result-line {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 1.35rem .2rem .8rem;
  color: #676c70;
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.result-line strong { color: var(--ink); font-size: .85rem; }
.result-line button {
  margin-left: auto;
  padding: 0 0 .2rem;
  color: var(--teal);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.task-list { border-top: 1px solid var(--rule); }
.task-card { border-bottom: 1px solid var(--rule); opacity: 0; transform: translateY(8px); }
.task-card.arrive { animation: card-in .38s ease forwards; animation-delay: var(--delay); }
@keyframes card-in { to { opacity: 1; transform: translateY(0); } }
.task-card summary {
  min-height: 108px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 145px 24px;
  gap: 1rem;
  align-items: center;
  padding: 1rem .4rem;
  cursor: pointer;
  list-style: none;
}
.task-card summary::-webkit-details-marker { display: none; }
.task-card summary:hover .task-heading > strong { color: var(--teal); }
.task-number { align-self: start; padding-top: .4rem; color: var(--orange); font-size: .64rem; font-weight: 700; letter-spacing: .1em; }
.task-heading { min-width: 0; display: flex; flex-direction: column; gap: .6rem; }
.task-heading > strong { max-width: 690px; font-family: var(--display); font-size: clamp(1.35rem, 2vw, 1.85rem); font-weight: 520; line-height: 1.08; transition: color .2s ease; }
.task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.path-tag {
  display: inline-block;
  padding: .23rem .44rem;
  color: var(--ink-soft);
  background: var(--paper-deep);
  font-size: .51rem;
  font-weight: 750;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}
.task-state { justify-self: end; color: #6d7275; font-size: .57rem; font-weight: 650; letter-spacing: .08em; line-height: 1.3; text-align: right; text-transform: uppercase; }
.disclosure { position: relative; width: 20px; height: 20px; }
.disclosure::before, .disclosure::after { content: ""; position: absolute; top: 9px; left: 3px; width: 14px; height: 1px; background: var(--ink); transition: transform .2s ease; }
.disclosure::after { transform: rotate(90deg); }
.task-card[open] .disclosure::after { transform: rotate(0deg); }
.task-card[open] summary { background: rgba(20, 126, 120, .06); }
.task-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  background: #ece8dd;
}
.task-why, .task-detail { padding: 1.35rem 1.5rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.task-detail:nth-child(even) { border-right: 0; }
.task-body span { display: block; margin-bottom: .55rem; color: var(--teal); font-size: .57rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.task-body p { margin: 0; color: var(--ink-soft); font-size: .81rem; line-height: 1.65; }
.current-gap { background: var(--paper-bright); }
.empty-state { padding: 5rem 1rem; text-align: center; }
.empty-state strong { display: block; font-family: var(--display); font-size: 2rem; font-weight: 500; }
.empty-state button { margin-top: 1rem; padding: .7rem 1rem; color: white; background: var(--teal); border: 0; cursor: pointer; font-size: .68rem; font-weight: 700; text-transform: uppercase; }

.sequence {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr;
  column-gap: clamp(2rem, 5vw, 6rem);
  padding: 2rem 2rem 9rem;
}
.sequence h2 { max-width: 930px; }
.sequence ol {
  grid-column: 2;
  margin: 4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  border-top: 1px solid var(--ink);
}
.sequence li { min-height: 190px; padding: 1.2rem; border-right: 1px solid var(--rule); }
.sequence li:last-child { border-right: 0; }
.sequence li > span { color: var(--orange); font-size: .63rem; font-weight: 700; letter-spacing: .1em; }
.sequence li div { margin-top: 3rem; }
.sequence li strong { font-family: var(--display); font-size: 1.4rem; font-weight: 550; }
.sequence li p { margin: .4rem 0 0; color: var(--ink-soft); font-size: .75rem; }

footer {
  min-height: 210px;
  display: grid;
  grid-template-columns: 90px 1fr 2fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem max(24px, calc((100vw - var(--max)) / 2));
  color: var(--paper-bright);
  background: var(--ink);
  border-top: 6px solid var(--orange);
}
footer .wordmark-mark { font-size: 1.7rem; }
footer p { margin: 0; font-size: .75rem; font-weight: 650; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
footer p span, .footer-note { color: #aeb6bc; }
footer .footer-note { max-width: 500px; font-size: .67rem; font-weight: 450; text-transform: none; }
footer a { color: white; font-size: .7rem; font-weight: 650; text-underline-offset: 4px; text-transform: uppercase; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: 80px 1fr; }
  .scope-card { grid-column: 2; max-width: 420px; margin: 0; }
  .foundation { grid-template-columns: 80px 1fr 1fr; }
  .toolbar { grid-template-columns: 1fr 180px; }
  .register-shell { grid-template-columns: 260px 1fr; margin-left: 1rem; margin-right: 1rem; }
  .sequence { grid-template-columns: 80px 1fr; }
}

@media (max-width: 820px) {
  .topbar { grid-template-columns: 1fr auto; padding: 0 1.2rem; }
  .tldr { padding: 3.5rem 1.3rem; }
  .architecture { padding-left: 1.3rem; padding-right: 1.3rem; }
  .architecture-heading { grid-template-columns: 1fr; gap: 1.3rem; padding-top: 4rem; }
  .architecture-heading h2 { font-size: clamp(3.2rem, 13vw, 5rem); }
  .architecture-heading > p { max-width: 580px; }
  .architecture-toggle { width: 100%; }
  .architecture-option { min-width: 0; }
  .architecture-legend { flex-wrap: wrap; gap: .8rem 1.2rem; }
  .architecture-legend p { display: block; width: 100%; margin-left: 0; }
  .baseline { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding: 5rem 1.3rem; }
  .hero-index { display: none; }
  .hero h1 { font-size: clamp(3.7rem, 15vw, 6.5rem); }
  .scope-card { grid-column: auto; max-width: 500px; }
  .signal-strip { margin: 0 1rem; grid-template-columns: repeat(3, 1fr); }
  .signal-strip > div { min-height: 100px; padding: 1rem; }
  .signal-strip > p { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding: 1.5rem; }
  .foundation { grid-template-columns: 1fr; padding: 6rem 1.3rem; }
  .section-label { writing-mode: initial; transform: none; border: 0; border-bottom: 1px solid var(--rule); padding: 0 0 .6rem; }
  .register-shell { grid-template-columns: 1fr; box-shadow: 7px 7px 0 var(--ink); }
  .register-intro { min-height: auto; }
  .task-card summary { grid-template-columns: 38px 1fr 22px; }
  .task-state { grid-column: 2; justify-self: start; text-align: left; }
  .disclosure { grid-column: 3; grid-row: 1 / span 2; }
  .sequence { grid-template-columns: 1fr; padding: 1rem 1.3rem 6rem; }
  .sequence ol { grid-column: 1; grid-template-columns: 1fr 1fr; }
  .sequence li { border-bottom: 1px solid var(--rule); }
  footer { grid-template-columns: 50px 1fr auto; }
  footer .footer-note { grid-column: 2 / -1; }
}

@media (max-width: 560px) {
  .wordmark-copy { display: none; }
  .source-link { font-size: .64rem; }
  .hero { padding-top: 4rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .tldr { padding: 2.8rem .75rem; }
  .tldr-copy { font-size: .92rem; }
  .architecture { margin-bottom: 5rem; padding-left: .75rem; padding-right: .75rem; }
  .architecture-heading { margin-bottom: 2rem; }
  .architecture-toggle { grid-template-columns: 1fr; }
  .architecture-option + .architecture-option { border-top: 1px solid var(--rule); border-left: 0; }
  .architecture-legend > span { font-size: .56rem; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip > div { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .signal-strip > p { grid-column: 1; }
  .foundation { padding-top: 5rem; }
  .register-shell { margin-left: .5rem; margin-right: .5rem; }
  .register-intro, .register-main { padding: 1.5rem 1rem; }
  .toolbar { grid-template-columns: 1fr; }
  .task-card summary { min-height: 120px; grid-template-columns: 28px 1fr 20px; gap: .5rem; }
  .task-body { grid-template-columns: 1fr; }
  .task-why, .task-detail { border-right: 0; }
  .sequence ol { grid-template-columns: 1fr; }
  .sequence li { min-height: 130px; border-right: 0; }
  .sequence li div { margin-top: 1.8rem; }
  footer { grid-template-columns: 40px 1fr; padding: 2.5rem 1.3rem; }
  footer > a { grid-column: 2; }
  footer .footer-note { grid-column: 2; }
}

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

@media print {
  body { background: white; font-size: 10pt; }
  .topbar, .hero-actions, .toolbar, .result-line, .sequence, footer { display: none !important; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 1cm 0; }
  .tldr { padding: .8cm 0; }
  .tldr h1 { margin-bottom: .4cm; font-size: 28pt; }
  .architecture { margin: 0 0 1cm; padding: 0; break-after: page; }
  .architecture-heading { grid-template-columns: 1fr; gap: .5cm; margin-bottom: .6cm; padding-top: .8cm; }
  .architecture-heading h2 { font-size: 34pt; }
  .architecture-scroll { overflow: visible; box-shadow: none; }
  .arch-canvas { zoom: .62; }
  .architecture-legend { padding-top: .4cm; }
  .hero-index, .scope-card, .hero::after { display: none; }
  .hero h1 { font-size: 48pt; }
  .signal-strip { grid-template-columns: repeat(3, 1fr); }
  .signal-strip > p { grid-column: 1 / -1; }
  .foundation { grid-template-columns: 1fr 1fr; padding: 1cm 0; }
  .foundation .section-label { display: none; }
  .register-shell { display: block; margin: 0; border: 0; box-shadow: none; }
  .register-intro { padding: 1cm 0; color: var(--ink); background: white; }
  .register-intro .eyebrow, .register-intro > p, .legend { display: none; }
  .register-main { padding: 0; }
  .task-card { break-inside: avoid; opacity: 1; transform: none; }
  .task-card summary { min-height: auto; }
  .task-card .disclosure { display: none; }
  .task-card .task-body { display: grid !important; }
  details:not([open]) > *:not(summary) { display: block; }
}
