/* Caletta public site: Index / Chalk, selected 2026-10-03.
 * Source of truth: packages/caletta-ds/src/styles/landing.css.
 */

:root {
  --background: #f6f7f3;
  --ink: #232923;
  --muted: #596157;
  --line: #cbd1c5;
  --accent: #315c31;
  --panel: #e8eddf;
  --display: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --space: 78px;
  --heading: 1;
  --width: 1200px;
  font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}

body {
  margin: 0;
  background: var(--background);
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

p {
  line-height: 1.65;
  margin: 0 0 20px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  margin: 0;
}

#page {
  max-width: var(--width);
  padding: 0 56px;
  margin: auto;
}

::selection {
  background: var(--accent);
  color: var(--background);
}

.site-header {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.wordmark {
  font-size: 28px;
  letter-spacing: -1.35px;
  font-weight: 650;
  line-height: 1;
}

.wordmark span {
  font-size: 13px;
  letter-spacing: -.2px;
  font-weight: 400;
  margin-left: 7px;
}

.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}

.hero {
  padding: var(--space) 0;
}

.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 28px;
}

h1 {
  font-size: calc(78px * var(--heading));
  line-height: 1.06;
  letter-spacing: -.06em;
  text-wrap: balance;
  max-width: 1010px;
}

.deck {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 390px;
}

.main-action {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  gap: 35px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 10px;
  min-height: 33px;
}

.main-action span {
  font-size: 18px;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 70px;
  margin-top: 48px;
}

.hero-bottom .deck {
  margin: 0;
}

.hero-bottom>div {
  justify-self: end;
  max-width: 340px;
}

.availability {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 18px 0 0;
}

.index-hero h1 span {
  color: var(--accent);
}

.section {
  padding: calc(var(--space) * .72) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 25px;
}

.section-heading h2 {
  font: 500 12px/1.5 -apple-system,BlinkMacSystemFont,sans-serif;
}

.section-heading>span {
  font-size: 11px;
  color: var(--muted);
}

.project {
  display: grid;
  grid-template-columns: 28px 190px 1fr 30px;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.project-number {
  font: 11px/1.5 ui-monospace,monospace;
  color: var(--muted);
  padding-top: 5px;
}

.project-name>a {
  font-size: 24px;
  letter-spacing: -.7px;
  line-height: 1.3;
}

.project-status {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}

.project-body h3 {
  font: 500 16px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;
  letter-spacing: -.1px;
  margin: 3px 0 8px;
}

.project-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 420px;
  margin: 0;
}

.project-arrow {
  font-size: 25px;
  line-height: 1;
}

.research-content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}

.research-copy .eyebrow {
  font-size: 12px;
  margin-bottom: 20px;
}

.research-copy h3 {
  font-size: calc(53px * var(--heading));
  line-height: 1.05;
  letter-spacing: -.045em;
  margin-bottom: 25px;
}

.research-copy p {
  font-size: 15px;
  max-width: 520px;
}

.research-copy .boundary {
  font-size: 12px;
  color: var(--muted);
  max-width: 455px;
}

.inline-link {
  font-size: 13px;
  color: var(--accent);
  display: inline-block;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 5px;
}

.research-index {
  font-size: 62px;
  letter-spacing: -4px;
  line-height: 1.25;
  font-family: ui-monospace,monospace;
  color: var(--line);
  justify-self: end;
  user-select: none;
}

.research-index span {
  font-size: 30px;
  letter-spacing: -2px;
  color: var(--muted);
}

.approach-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.approach-body {
  max-width: 610px;
}

.approach-body p {
  font-size: 15px;
  color: var(--muted);
}

.approach-body .approach-lead {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -.5px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 22px;
}

.site-footer {
  border-top: 1px solid var(--ink);
  padding: 35px 0 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  margin-top: var(--space);
}

.site-footer p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.site-footer>div {
  display: flex;
  gap: 24px;
  font-size: 12px;
}

.footer-wordmark {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.4px;
  grid-column: 1/-1;
}

.skip {
  position: absolute;
  left: -10000px;
  top: 10px;
  background: var(--background);
  padding: 12px;
  z-index: 10;
}

.skip:focus {
  left: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media(min-width:1300px) {
  #page {
    padding: 0 40px;
  }
}

@media(max-width:850px) {
  #page {
    padding: 0 35px;
  }

  .site-header {
    height: 86px;
  }

  .site-header nav {
    gap: 22px;
  }

  h1 {
    font-size: calc(63px * var(--heading));
  }

  .hero-bottom {
    gap: 35px;
  }

  .deck {
    font-size: 17px;
  }

  .project {
    grid-template-columns: 22px 145px 1fr 24px;
    gap: 15px;
  }

  .project-name>a {
    font-size: 21px;
  }

  .project-body h3 {
    font-size: 14px;
  }

  .project-body p {
    font-size: 12px;
  }

  .research-content {
    gap: 30px;
  }

  .research-index {
    font-size: 44px;
  }

  .approach-section {
    gap: 30px;
    grid-template-columns: 1fr 2fr;
  }
}

@media(max-width:600px) {
  :root {
    --space: 55px;
  }

  #page {
    padding: 0 24px;
  }

  .site-header {
    min-height: 82px;
    height: auto;
    flex-wrap: wrap;
    padding: 22px 0;
    gap: 18px 20px;
  }

  .wordmark {
    font-size: 24px;
  }

  .wordmark span {
    font-size: 11px;
    margin-left: 4px;
  }

  .site-header nav {
    gap: 14px;
    font-size: 11px;
  }

  h1 {
    font-size: calc(48px * var(--heading));
    line-height: 1.08;
    letter-spacing: -.05em;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 23px;
  }

  .hero-bottom {
    display: block;
    margin-top: 28px;
  }

  .hero-bottom .deck {
    font-size: 16px;
    max-width: 315px;
    margin-bottom: 28px;
  }

  .hero-bottom>div {
    max-width: 100%;
  }

  .main-action {
    font-size: 13px;
  }

  .availability {
    font-size: 12px;
    margin-top: 17px;
  }

  .project {
    grid-template-columns: 1fr 25px;
    gap: 15px;
    padding: 24px 0;
  }

  .project-number {
    display: none;
  }

  .project-name {
    grid-column: 1;
  }

  .project-name>a {
    font-size: 23px;
  }

  .project-status {
    margin-top: 5px;
  }

  .project-body {
    grid-column: 1/-1;
    grid-row: 2;
  }

  .project-arrow {
    grid-row: 1;
    grid-column: 2;
  }

  .project-body h3 {
    font-size: 15px;
  }

  .project-body p {
    font-size: 13px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading>span {
    font-size: 11px;
  }

  .research-content {
    display: block;
  }

  .research-index {
    display: none;
  }

  .research-copy h3 {
    font-size: calc(48px * var(--heading));
  }

  .research-copy p {
    font-size: 14px;
  }

  .research-copy .boundary {
    font-size: 11px;
  }

  .approach-section {
    display: block;
  }

  .approach-body .approach-lead {
    font-size: 26px;
  }

  .approach-body p {
    font-size: 14px;
  }

  .site-footer {
    padding: 25px 0;
    gap: 25px;
  }

  .site-footer>div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
  }

  .site-footer p {
    font-size: 11px;
  }
}

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

.layout-index.type-sans .index-hero h1 {
  letter-spacing: -0.015em;
  font-kerning: normal;
}

.layout-index.type-sans .research-copy h3 {
  letter-spacing: -0.02em;
}

/* Product pages, Groundwork, and documentation share the homepage frame. */
.page-content {
  max-width: 840px;
  margin: 0 auto;
  padding-top: 32px;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.page-content--wide {
  max-width: none;
}

.page-content h1 {
  font-size: 62px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-kerning: normal;
  max-width: 900px;
  margin: 0 0 26px;
}

.page-content h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}

.page-content h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 13px;
}

.page-content strong {
  font-weight: 600;
}

.page-content p,
.page-content li {
  color: var(--muted);
}

.page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-content code {
  font: 0.87em/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
}

.page-content .nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 56px;
  font-size: 12px;
  color: var(--muted);
}

.page-content .nav > :not(:first-child)::before {
  content: "/";
  margin-right: 10px;
  color: var(--muted);
}

.page-content .nav a {
  color: var(--muted);
  text-decoration: none;
}

.page-content .nav a:hover {
  text-decoration: underline;
}

.product-hero,
.writing-hero,
.docs-hero {
  padding: 0 0 44px;
  margin: 0 0 38px;
  border-bottom: 1px solid var(--line);
}

.product-hero__sub,
.writing-hero__sub,
.docs-hero > p {
  font-size: 19px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0;
}

.page-content .section-label,
.product-visual__title,
.landscape-card__eyebrow,
.scenario__eyebrow {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 22px;
}

.status,
.post-draft {
  padding: 20px 0;
  margin: 0 0 44px;
  border-block: 1px solid var(--line);
  font-size: 14px;
}

.status strong {
  color: var(--ink);
}

.post-draft {
  color: var(--muted);
  font-size: 12px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
}

.bullets li {
  padding: 19px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.bullets li:last-child {
  border-bottom: 1px solid var(--line);
}

.bullets strong {
  color: var(--ink);
}

.prose {
  margin: 0 0 30px;
}

.links {
  margin: 52px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13px;
}

.links__row {
  margin: 0 0 12px;
}

.links__label {
  display: inline-block;
  width: 70px;
  color: var(--muted);
}

.page-content .contact {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 24px;
}

.meta,
.post-byline {
  font-size: 12px;
  color: var(--muted);
}

.post-byline {
  margin: -16px 0 38px;
}

.post-body {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
}

.post-body p {
  line-height: 1.8;
  margin-bottom: 24px;
}

.post-body h2 {
  margin: 48px 0 20px;
}

.post-body ul {
  padding-left: 22px;
  margin: 0 0 28px;
}

.post-body li {
  padding-left: 5px;
  margin-bottom: 16px;
}

.post-list {
  margin-bottom: 48px;
}

.page-content .post-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 30px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

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

.post-item__meta {
  font-size: 12px;
  color: var(--muted);
}

.post-item__status {
  display: block;
}

.page-content .post-item__title {
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

.post-item:hover .post-item__title {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Longer product pages use ruled columns and simple run summaries. */
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}

.landing-hero .product-hero {
  border: 0;
  padding: 0;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 30px;
}

.page-content .button {
  display: inline-block;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 5px 0 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.page-content .button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.device-visual {
  padding: 26px;
  background: var(--panel);
}

.device-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.device-line:first-child {
  padding-top: 0;
}

.device-line:last-child {
  border: 0;
  padding-bottom: 0;
}

.device-line span:first-child {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 24px 0;
  margin: 0 0 60px;
  border-block: 1px solid var(--line);
}

.trust-strip__value {
  display: block;
  font-size: 21px;
  letter-spacing: -0.015em;
}

.trust-strip__label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.product-section,
.story-band,
.product-visual {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  margin-bottom: 32px;
}

.story-band__text {
  max-width: 740px;
}

.product-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 28px;
}

.product-flow__step {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.product-flow__kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--accent);
}

.product-flow__text {
  font-size: 14px;
  margin: 0;
}

.page-content .terminal {
  max-width: 100%;
  overflow-x: auto;
  padding: 24px;
  margin: 24px 0;
  background: var(--panel);
  color: var(--ink);
  border: 0;
  font: 13px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
  tab-size: 4;
}

.terminal code {
  font-size: inherit;
}

.product-grid,
.landscape-grid,
.decision-grid,
.signal-grid,
.compare,
.scenario-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
}

.product-grid__item,
.landscape-card,
.decision-card,
.signal-card,
.compare__side,
.scenario {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  min-width: 0;
}

.decision-card--primary h3 {
  color: var(--accent);
}

.page-content .product-grid__item h2 {
  font-size: 20px;
}

.landscape-card p,
.decision-card li,
.signal-card p,
.compare__side li,
.scenario p,
.product-grid__item p {
  font-size: 14px;
  line-height: 1.7;
}

.decision-card ul,
.compare__side ul {
  padding-left: 20px;
  margin: 0;
}

.decision-card li,
.compare__side li {
  margin-bottom: 12px;
}

.scenario__proof {
  font-size: 11px;
  color: var(--accent);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 12px;
  color: var(--muted);
}

.steps p {
  font-size: 15px;
  margin: 8px 0 0;
}

.faq-item {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.faq-item p {
  font-size: 15px;
  margin: 0;
}

.quote-strip {
  border-block: 1px solid var(--line);
  padding: 32px 0;
  margin: 36px 0;
}

.quote-strip p {
  max-width: 740px;
  margin: 0;
  font-size: 20px;
}

.docs-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.docs-toc {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13px;
}

.page-content .docs-toc a {
  text-decoration: none;
}

.page-content .docs-toc a:hover {
  text-decoration: underline;
}

.docs-body {
  min-width: 0;
}

.docs-section {
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 28px;
}

@media (max-width: 850px) {
  .page-content h1 {
    font-size: 52px;
  }
  .landing-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 32px;
  }
  .device-visual {
    padding: 20px;
  }
  .device-line {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .trust-strip,
  .product-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-intro,
  .faq-item {
    gap: 32px;
  }
  .docs-grid {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .page-content {
    padding-top: 24px;
    font-size: 15px;
  }
  .page-content .nav {
    margin-bottom: 36px;
    font-size: 11px;
  }
  .page-content h1 {
    font-size: 40px;
    letter-spacing: -0.015em;
  }
  .page-content h2 {
    font-size: 25px;
  }
  .product-hero,
  .writing-hero,
  .docs-hero {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  .product-hero__sub,
  .writing-hero__sub,
  .docs-hero > p {
    font-size: 17px;
  }
  .landing-hero,
  .section-intro,
  .faq-item,
  .docs-grid,
  .product-grid,
  .landscape-grid,
  .decision-grid,
  .signal-grid,
  .compare,
  .scenario-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .trust-strip {
    gap: 24px 16px;
    margin-bottom: 38px;
  }
  .trust-strip__value {
    font-size: 19px;
  }
  .product-section,
  .story-band,
  .product-visual {
    padding: 30px 0;
  }
  .page-content .post-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .post-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .post-body {
    font-size: 16px;
  }
  .post-body h2 {
    margin-top: 36px;
  }
  .docs-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
  }
  .page-content .terminal {
    padding: 18px;
    font-size: 12px;
  }
  .quote-strip p {
    font-size: 18px;
  }
}

/* Navigation and the complete work index, reviewed at desktop and mobile sizes. */
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-header nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-footer > div {
  flex-wrap: wrap;
  align-items: start;
}

.site-footer > div a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.project-arrow {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: -8px -7px 0;
}

.work-actions,
.work-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.work-actions {
  margin-top: 16px;
}

.work-actions .inline-link {
  padding-top: 10px;
  min-height: 44px;
}

.work-jumps {
  margin: 0 0 28px;
  font-size: 13px;
}

.work-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.page-content .work-group-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 48px 0 20px;
  scroll-margin-top: 28px;
}

.page-content .work-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 24px;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

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

.work-item__name {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.work-item__description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.work-item__arrow {
  color: var(--accent);
  font-size: 21px;
}

.work-item:hover .work-item__name {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 600px) {
  .site-header nav {
    font-size: 12px;
  }
  .site-footer > div {
    gap: 4px;
  }
  .page-content .work-item {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 10px 16px;
  }
  .work-item__description {
    grid-column: 1;
    grid-row: 2;
    font-size: 14px;
  }
  .work-item__arrow {
    grid-column: 2;
    grid-row: 1;
  }
  .work-jumps {
    gap: 4px 20px;
  }
}

@media (max-width: 380px) {
  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }
  .site-header {
    gap: 8px;
    padding-bottom: 12px;
  }
}

.product-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-bottom: 24px;
  font-size: 13px;
}

.product-jumps a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.product-jumps ~ section [id] {
  scroll-margin-top: 28px;
}

.page-content .terminal code {
  font-size: inherit;
}

.page-content .terminal {
  overscroll-behavior-x: contain;
}

.terminal:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .page-content .terminal {
    font-size: 13px;
  }
}

/* Distributed-compute feature: conceptual N-member cohort. */
.mesh-topology {
  width: 100%;
  max-width: 360px;
  margin: 0;
  justify-self: end;
}

.mesh-topology svg {
  display: block;
  width: 100%;
  height: auto;
}

.mesh-topology__edges {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}

.mesh-topology__nodes {
  fill: var(--background);
  stroke: var(--accent);
  stroke-width: 1;
}

.mesh-topology__labels {
  fill: var(--ink);
  font: 13px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-anchor: middle;
  dominant-baseline: middle;
}

.mesh-topology figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.mesh-topology figcaption span {
  font-size: 11px;
}

@media (max-width: 600px) {
  .mesh-topology {
    margin-top: 28px;
    max-width: 320px;
  }
  .research-copy h3 {
    font-size: 40px;
    line-height: 1.12;
  }
}
