:root {
  --paper: #f7f7ef;
  --white: #fffef8;
  --ink: #202e28;
  --muted: #5d665f;
  --green: #173f35;
  --lime: #e5edc7;
  --orange: #b8472c;
  --line: #d9ddd0;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--orange);
}
button {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
::selection {
  background: var(--lime);
  color: var(--green);
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
}
h3 {
  font-weight: 600;
}
p {
  margin-bottom: 1.2em;
}
code,
pre {
  font-family: var(--mono);
}
.site-header {
  height: 92px;
  max-width: 1440px;
  padding: 0 5%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1.1px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-dot {
  color: var(--orange);
  margin-left: -6px;
}
.brand-mark {
  display: inline-block;
  width: 22px;
  height: 32px;
  border: 3px solid var(--green);
  border-radius: 15px;
  transform: rotate(35deg);
  position: relative;
  margin-right: 6px;
  overflow: hidden;
}
.brand-mark:after {
  content: "";
  position: absolute;
  left: -2px;
  top: 11px;
  width: 24px;
  border-top: 3px solid var(--green);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 550;
}
.site-header nav a {
  text-decoration: none;
}
.site-header nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 9px;
}
.nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--ink);
  border-radius: 5px;
}
.nav-cta span {
  margin-left: 14px;
}
.nav-cta:hover {
  background: var(--green);
  color: var(--white);
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--green);
  color: white;
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
main:focus {
  outline: none;
}
.eyebrow,
.tiny-caps {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 500;
  line-height: 1.7;
}
.eyebrow {
  display: block;
  color: var(--muted);
}
.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #76a27a;
  margin-right: 7px;
  vertical-align: middle;
}
.home {
  max-width: 1440px;
  margin: auto;
}
.hero {
  padding: 80px 5% 66px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 6%;
}
.hero h1 {
  font-size: clamp(3rem, 5.1vw, 4.8rem);
  line-height: 1.04;
  font-weight: 550;
  margin: 25px 0 27px;
  max-width: 650px;
  letter-spacing: -0.055em;
}
.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 28px 0 19px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-decoration: none;
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  border-radius: 5px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
}
.button:hover {
  background: #285447;
  color: white;
}
.button.secondary {
  background: transparent;
  color: var(--green);
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.hero-platform {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.hero-platform span {
  padding: 0 5px;
}
.workspace-figure {
  background: #edf0e2;
  border: 1px solid #d4dbca;
  border-radius: 9px;
  padding: 21px 23px 17px;
  transform: rotate(-1deg);
  box-shadow: 0 22px 60px -45px #294338;
}
.figure-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}
.tiny-caps {
  font-size: 9px;
  color: #52684f;
}
.figure-dots {
  font-size: 8px;
  letter-spacing: 3px;
  color: #879879;
}
.workspace-scene {
  border: 1px solid #496053;
  border-radius: 6px;
  overflow: hidden;
  background: #1d362f;
  color: #e9eee2;
  box-shadow: 7px 9px 0 #d7deca;
}
.project-tab {
  padding: 12px 14px;
  background: #29473c;
  font: 11px var(--mono);
  display: flex;
  gap: 10px;
  align-items: center;
}
.project-tab > span:first-child {
  color: #c7dda2;
  font-size: 16px;
}
.tab-branch {
  margin-left: auto;
  color: #ced9c8;
  border: 1px solid #58705f;
  border-radius: 3px;
  padding: 2px 7px;
  font-size: 9px;
}
.scene-body {
  display: flex;
  min-height: 192px;
}
.file-tree {
  padding: 22px 12px;
  font: 9px/2.3 var(--mono);
  border-right: 1px solid #3d5547;
  min-width: 35%;
  color: #becdc1;
}
.file-tree > span {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  color: #9ab39e;
  margin-bottom: 10px;
}
.file-indent {
  padding-left: 12px;
}
.selected {
  background: #324f40;
  border-radius: 3px;
  color: #e3f0ce;
}
.scene-editor {
  padding: 24px 18px;
  flex: 1;
  overflow: hidden;
}
.editor-label {
  font: 9px var(--mono);
  color: #9ab39e;
  margin-bottom: 26px;
  white-space: nowrap;
}
.code-line {
  font: 10px/2.4 var(--mono);
  white-space: nowrap;
}
.code-line i {
  font-style: normal;
  font-size: 9px;
  color: #a7b9aa;
  margin-right: 14px;
}
.code-line b {
  font-weight: 500;
  color: #e4c993;
}
.code-line > span {
  color: #c9dfb1;
}
.editor-rule {
  margin-top: 20px;
  border-top: 1px solid #3d5547;
}
.terminal-prompt {
  margin-top: 12px;
  font: 8px/1.8 var(--mono);
  white-space: nowrap;
}
.terminal-prompt > span:first-child {
  color: #b3cf91;
  margin-right: 8px;
}
.cursor {
  display: inline-block;
  width: 5px;
  height: 10px;
  background: #cbddaf;
  margin-left: 4px;
  vertical-align: middle;
}
.scene-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: #29473c;
  font: 8px var(--mono);
  color: #d2ddcc;
}
.scene-status .status-dot {
  width: 5px;
  height: 5px;
}
.capsule-parts {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 29px 0 21px;
}
.capsule-parts > span {
  font: 9px var(--mono);
  border: 1px solid #cad3bb;
  border-radius: 20px;
  padding: 5px 9px;
  background: #f7f8ef;
}
.boundary-line {
  border-top: 1px dashed #a8b69a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 0 9px;
  font: 10px var(--mono);
  color: #52614d;
}
.boundary-line strong {
  font-weight: 500;
  color: var(--green);
}
.boundary-switch {
  height: 13px;
  width: 25px;
  border: 1px solid #a5b496;
  border-radius: 12px;
  position: relative;
}
.boundary-switch:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52684f;
}
.figure-caption {
  font: 8px var(--mono);
  color: #4e6047;
  text-align: center;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.health-strip {
  margin: 0 5%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.health-strip > a {
  margin-left: auto;
  font-size: 12px;
}
.badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.badges a {
  height: 20px;
}
.badges img {
  height: 20px;
  max-width: none;
}
.intro-section,
.philosophy {
  padding: 74px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11%;
}
.intro-section h2 {
  margin-top: 15px;
}
.motto {
  font-size: 21px;
  max-width: 330px;
  color: var(--muted);
  line-height: 1.5;
}
.intro-prose h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.intro-prose {
  padding-top: 8px;
}
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 5%;
}
.feature {
  position: relative;
  background: #eeefe5;
  border: 1px solid var(--line);
  padding: 30px 34px 40px;
  border-radius: 5px;
  overflow: hidden;
}
.feature-number {
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.feature-content {
  font-size: 15px;
  color: var(--muted);
  position: relative;
  z-index: 1;
  margin-top: 28px;
}
.feature-content strong:first-child {
  display: block;
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 17px;
  color: var(--ink);
  max-width: 380px;
}
.feature-content p {
  margin-bottom: 0;
}
.feature-symbol {
  position: absolute;
  right: 18px;
  top: 9px;
  color: #d6ddca;
  font-size: 72px;
  line-height: 1;
}
.boundary-section {
  margin: 24px 5% 0;
  padding: 25px 34px;
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.boundary-section > .eyebrow {
  color: var(--green);
  padding-top: 4px;
}
.boundary-section .prose {
  font-size: 14px;
}
.boundary-section .prose p:last-child {
  margin-bottom: 0;
}
.philosophy {
  padding-top: 88px;
  padding-bottom: 58px;
}
.philosophy h2 {
  margin-top: 20px;
  font-size: clamp(2.4rem, 3.4vw, 3.5rem);
  max-width: 410px;
}
.philosophy .prose {
  padding-top: 20px;
  font-size: 17px;
}
.philosophy strong {
  font-weight: 600;
}
.comparison {
  margin: 0 5%;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11%;
}
.comparison h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
}
.comparison .prose {
  font-size: 14px;
}
.comparison .prose p:last-child {
  margin-bottom: 0;
}
.journal-section {
  padding: 65px 5% 80px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}
.section-heading h2 {
  margin: 12px 0 0;
  font-size: 32px;
}
.section-heading .text-link {
  white-space: nowrap;
}
.post-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.post-card {
  position: relative;
  border-top: 2px solid #293e31;
  padding: 22px 0 0;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.post-card .eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  font-size: 9px;
  letter-spacing: 0.02em;
}
.post-card h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 20px 0 14px;
  letter-spacing: -0.035em;
}
.post-card h3 a {
  text-decoration: none;
}
.post-card h3 span {
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}
.post-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}
.post-read {
  font: 11px var(--mono);
  margin-top: auto;
  text-decoration: none;
}
.post-read span {
  margin-left: 16px;
}
.closing {
  background: var(--lime);
  padding: 55px 5% 62px;
  text-align: center;
  margin: 0 5%;
  border-radius: 5px;
}
.closing .eyebrow {
  color: #43533d;
}
.closing h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 12px 0 25px;
}
.site-footer {
  max-width: 1440px;
  margin: 72px auto 0;
  padding: 40px 5% 25px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.site-footer .brand {
  font-size: 21px;
}
.site-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  font-size: 12px;
  align-content: start;
}
.site-footer nav a {
  text-decoration: none;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font: 11px/1.7 var(--mono);
  color: var(--muted);
}
.build-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 16px;
}
.reading-layout {
  max-width: 1510px;
  padding: 48px 4% 0;
  margin: auto;
  display: grid;
  grid-template-columns: 200px minmax(0, 740px) 180px;
  gap: 45px;
  justify-content: center;
}
.reading-main {
  min-width: 0;
}
.docs-sidebar {
  font-size: 12px;
}
.docs-sidebar nav {
  position: sticky;
  top: 30px;
}
.docs-sidebar .eyebrow {
  margin-bottom: 14px;
  font-size: 10px;
}
.docs-sidebar a {
  display: block;
  padding: 8px 10px;
  margin: 2px -10px;
  border-radius: 4px;
  text-decoration: none;
  line-height: 1.5;
}
.docs-sidebar a[aria-current] {
  background: var(--lime);
  color: var(--green);
  font-weight: 600;
}
.docs-sidebar details {
  margin: 22px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  line-height: 1.6;
}
.docs-sidebar details a {
  font-size: 11px;
  margin: 8px 0 0;
  padding: 5px 0;
}
.docs-sidebar .sidebar-source {
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-top: 18px;
  margin-top: 24px;
  font-size: 11px;
}
.breadcrumbs {
  display: flex;
  gap: 9px;
  font: 10px var(--mono);
  color: var(--muted);
  margin: 0 0 30px;
}
.breadcrumbs a {
  text-decoration: none;
}
.reading-main > h1 {
  font-size: clamp(2.3rem, 3.5vw, 3.5rem);
  font-weight: 550;
  line-height: 1.09;
  margin: 16px 0 32px;
  letter-spacing: -0.045em;
}
.reading-main > .eyebrow {
  font-size: 10px;
  color: var(--orange);
}
.prose {
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.prose h2 {
  font-size: 26px;
  margin: 48px 0 20px;
  font-weight: 600;
  padding-top: 4px;
  letter-spacing: -0.025em;
}
.prose h3 {
  font-size: 20px;
  margin: 30px 0 15px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.prose h4 {
  margin-top: 24px;
}
.prose > p:first-child {
  font-size: 18px;
  color: #4f5e53;
  line-height: 1.75;
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
.prose li {
  margin-bottom: 9px;
}
.prose a {
  color: #28604a;
  text-decoration-color: #9db99c;
}
.prose a:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}
.prose strong {
  font-weight: 650;
}
.prose code {
  background: #e9ecdf;
  border-radius: 3px;
  padding: 2px 5px;
  font-size: 0.84em;
  color: #2a503c;
}
.prose pre {
  position: relative;
  background: #1f342e;
  color: #e2e9de;
  border-radius: 5px;
  padding: 25px 24px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.8;
  margin: 24px 0;
  tab-size: 2;
}
.prose pre:has(.copy-button) {
  padding-top: 48px;
}
.prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  border-radius: 0;
  white-space: pre;
}
.copy-button {
  position: absolute;
  top: 8px;
  right: 9px;
  padding: 4px 10px;
  border: 1px solid #597160;
  background: #304c3f;
  color: #e6eddf;
  font: 10px var(--mono);
  border-radius: 3px;
  cursor: pointer;
}
.copy-button:hover {
  background: #42614f;
}
.table-scroll {
  overflow-x: auto;
  margin: 25px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.6;
}
.prose th {
  text-align: left;
  background: #e9edde;
  color: #3f513f;
  font-size: 11px;
  font-weight: 600;
}
.prose th,
.prose td {
  padding: 13px 15px;
  min-width: 125px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose blockquote {
  border-left: 3px solid #899e79;
  margin: 28px 0;
  padding: 2px 0 2px 22px;
  color: var(--muted);
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.notice {
  background: #f2e9d9;
  border-left: 3px solid #b9894b;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 13px;
  color: #624b2b;
}
.toc-desktop {
  font-size: 11px;
  align-self: start;
  position: sticky;
  top: 35px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  margin-top: 15px;
  max-height: 85vh;
  overflow: auto;
}
.toc-desktop .eyebrow {
  font-size: 9px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.55;
}
.toc-list li {
  margin: 0 0 12px;
}
.toc-list a {
  text-decoration: none;
  color: var(--muted);
}
.toc-list a:hover,
.toc-list a[aria-current] {
  color: var(--orange);
}
.toc-sub {
  padding-left: 10px;
}
.mobile-toc {
  display: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  margin-bottom: 25px;
  font-size: 13px;
}
.article-end {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 10px/1.6 var(--mono);
}
.article-end a {
  text-decoration: none;
}
.doc-next {
  background: #ecefe2;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 22px;
  margin-top: 10px;
}
.doc-next a {
  display: block;
  text-decoration: none;
  font-size: 13px;
  padding-top: 12px;
}
.doc-next a span {
  float: right;
}
.journal-layout {
  grid-template-columns: minmax(0, 760px);
  padding-top: 48px;
}
.journal-layout .toc-desktop {
  display: none;
}
.journal-layout .mobile-toc {
  display: block;
}
.journal-layout .prose {
  font-size: 18px;
  line-height: 1.9;
}
.journal-layout .prose > p:first-child {
  font-size: 17px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 32px;
  font-style: italic;
}
.journal-layout .prose strong {
  color: var(--green);
}
.post-meta {
  display: flex;
  gap: 20px;
}
.journal-index {
  max-width: 1300px;
  margin: auto;
  padding: 75px 5% 60px;
}
.journal-intro {
  margin-bottom: 65px;
}
.journal-intro h1 {
  font-size: clamp(3rem, 6vw, 5.3rem);
  font-weight: 550;
  margin: 20px 0 27px;
  line-height: 1.03;
}
.journal-intro p {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
}
.journal-index .post-card h3 {
  font-size: 29px;
}
.journal-index .post-card p {
  font-size: 15px;
}
.journal-footnote {
  margin-top: 65px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.not-found {
  max-width: 900px;
  margin: 90px auto;
  padding: 0 5%;
}
.not-found h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  margin: 20px 0;
}
.not-found .text-link {
  margin-left: 25px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.hljs-string,
.hljs-attr {
  color: #cee6a9;
}
.hljs-keyword,
.hljs-built_in {
  color: #efc791;
}
.hljs-comment {
  color: #a5bca9;
}
.hljs-number,
.hljs-literal {
  color: #d6c1ec;
}
.hljs-title {
  color: #b0dcd6;
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 76px;
  }
}
@media (max-width: 1180px) {
  .reading-layout {
    grid-template-columns: 180px minmax(0, 740px);
    gap: 35px;
  }
  .toc-desktop {
    display: none;
  }
  .mobile-toc {
    display: block;
  }
  .journal-layout {
    grid-template-columns: minmax(0, 740px);
  }
  .hero {
    gap: 4%;
    padding-top: 60px;
  }
  .hero h1 {
    font-size: 4.5vw;
  }
  .hero-actions {
    gap: 15px;
  }
  .workspace-figure {
    padding: 17px;
  }
  .figure-top {
    margin-bottom: 24px;
  }
  .scene-editor {
    padding: 20px 12px;
  }
  .code-line {
    font-size: 9px;
  }
  .editor-label {
    font-size: 8px;
  }
  .capsule-parts > span {
    font-size: 8px;
    padding: 5px 6px;
  }
  .intro-section,
  .philosophy,
  .comparison {
    gap: 7%;
  }
}
@media (max-width: 850px) {
  .site-header {
    height: 78px;
  }
  .site-header nav {
    gap: 20px;
  }
  .github-link {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 48px;
  }
  .hero h1 {
    font-size: clamp(3.5rem, 8.5vw, 4.6rem);
    max-width: 650px;
  }
  .hero-lead {
    max-width: 580px;
  }
  .workspace-figure {
    width: 100%;
    max-width: 580px;
    margin: auto;
    padding: 25px;
  }
  .scene-body {
    min-height: 200px;
  }
  .scene-editor {
    padding: 25px;
  }
  .code-line {
    font-size: 12px;
  }
  .editor-label {
    font-size: 10px;
  }
  .file-tree {
    font-size: 11px;
  }
  .terminal-prompt {
    font-size: 10px;
  }
  .capsule-parts > span {
    font-size: 10px;
    padding: 5px 10px;
  }
  .reading-layout {
    grid-template-columns: 150px minmax(0, 1fr);
    padding-left: 4%;
    padding-right: 4%;
    gap: 26px;
  }
  .journal-layout {
    grid-template-columns: minmax(0, 700px);
  }
  .post-cards {
    grid-template-columns: 1fr;
  }
  .post-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
    padding: 25px 0;
  }
  .post-card > .eyebrow {
    grid-column: 1/-1;
  }
  .post-card h3 {
    grid-column: 1;
    margin-top: 16px;
  }
  .post-card p {
    grid-column: 2;
    grid-row: 2/4;
    margin-top: 16px;
    margin-bottom: 0;
  }
  .post-read {
    grid-column: 1;
    margin-top: 5px;
  }
  .boundary-section {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .feature {
    padding: 25px;
  }
  .feature-content strong:first-child {
    font-size: 23px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
}
@media (max-width: 620px) {
  .site-header {
    padding: 0 6%;
    height: 76px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 21px;
    gap: 7px;
  }
  .brand-mark {
    width: 18px;
    height: 27px;
    border-width: 2px;
    margin-right: 3px;
  }
  .brand-mark:after {
    top: 10px;
    border-width: 2px;
  }
  .site-header nav {
    gap: 20px;
    font-size: 13px;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    padding: 39px 6% 40px;
    gap: 34px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
    margin-top: 20px;
    margin-bottom: 23px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-actions {
    align-items: flex-start;
    gap: 20px;
    margin-top: 23px;
  }
  .hero-platform {
    font-size: 9px;
  }
  .workspace-figure {
    padding: 17px 15px;
    transform: none;
  }
  .figure-top {
    margin-bottom: 22px;
  }
  .scene-body {
    min-height: 180px;
  }
  .file-tree {
    font-size: 8px;
    padding: 18px 9px;
    min-width: 32%;
  }
  .file-indent {
    padding-left: 6px;
  }
  .scene-editor {
    padding: 20px 10px;
  }
  .editor-label {
    font-size: 7px;
    margin-bottom: 22px;
  }
  .code-line {
    font-size: 9px;
  }
  .code-line i {
    font-size: 8px;
    margin-right: 9px;
  }
  .terminal-prompt {
    font-size: 7px;
  }
  .scene-status {
    font-size: 7px;
  }
  .capsule-parts {
    gap: 5px;
  }
  .capsule-parts > span {
    font-size: 8px;
    padding: 4px 7px;
  }
  .health-strip {
    margin: 0 6%;
    gap: 13px;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .health-strip > .eyebrow {
    font-size: 9px;
  }
  .health-strip > a {
    font-size: 11px;
  }
  .badges {
    gap: 5px;
  }
  .intro-section,
  .philosophy {
    padding: 44px 6%;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .intro-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .motto {
    font-size: 18px;
    max-width: none;
  }
  .intro-prose {
    padding-top: 0;
  }
  .intro-prose h3 {
    font-size: 19px;
  }
  .features {
    grid-template-columns: 1fr;
    padding: 0 6%;
    gap: 16px;
  }
  .feature {
    padding: 25px;
  }
  .feature-content {
    margin-top: 24px;
  }
  .feature-content strong:first-child {
    font-size: 26px;
  }
  .boundary-section {
    margin: 16px 6% 0;
    padding: 24px;
  }
  .boundary-section .prose {
    font-size: 14px;
  }
  .boundary-section .prose > p:first-child {
    font-size: 16px;
  }
  .philosophy {
    padding-top: 50px;
    padding-bottom: 28px;
  }
  .philosophy h2 {
    font-size: 36px;
    margin-top: 15px;
    margin-bottom: 0;
  }
  .philosophy .prose {
    font-size: 16px;
    padding-top: 10px;
  }
  .comparison {
    grid-template-columns: 1fr;
    margin: 0 6%;
    gap: 16px;
  }
  .comparison h2 {
    font-size: 22px;
  }
  .journal-section {
    padding: 35px 6% 48px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading h2 {
    font-size: 29px;
    line-height: 1.15;
  }
  .post-cards {
    gap: 6px;
  }
  .post-card {
    display: flex;
    padding: 24px 0;
    gap: 0;
  }
  .post-card h3 {
    font-size: 25px;
    margin-top: 17px;
    margin-bottom: 14px;
  }
  .post-card p {
    margin: 0 0 18px;
    font-size: 14px;
  }
  .post-read {
    margin-top: 0;
  }
  .closing {
    margin: 0 6%;
    padding: 35px 18px 40px;
  }
  .closing h2 {
    font-size: 32px;
  }
  .site-footer {
    margin-top: 45px;
    padding: 30px 6% 22px;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .site-footer nav {
    font-size: 12px;
    gap: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .build-details {
    justify-content: flex-start;
  }
  .reading-layout {
    display: block;
    padding: 25px 6% 0;
  }
  .docs-sidebar {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .docs-sidebar nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .docs-sidebar .eyebrow {
    flex-basis: 100%;
    margin-bottom: 6px;
  }
  .docs-sidebar a {
    font-size: 11px;
    margin: 0;
    padding: 6px 9px;
  }
  .docs-sidebar details {
    flex-basis: 100%;
    margin: 8px 0 0;
    padding: 10px 0 0;
    font-size: 11px;
  }
  .docs-sidebar details a {
    margin-top: 8px;
  }
  .docs-sidebar .sidebar-source {
    display: none;
  }
  .breadcrumbs {
    margin-bottom: 25px;
  }
  .reading-main > h1 {
    font-size: 36px;
    margin-bottom: 27px;
  }
  .reading-main > .eyebrow {
    font-size: 9px;
  }
  .prose {
    font-size: 15px;
    line-height: 1.8;
  }
  .prose > p:first-child {
    font-size: 17px;
  }
  .prose h2 {
    font-size: 24px;
    margin-top: 36px;
  }
  .prose h3 {
    font-size: 20px;
  }
  .prose pre {
    font-size: 11px;
    padding: 22px 16px;
    margin: 20px 0;
  }
  .prose th,
  .prose td {
    padding: 12px;
    min-width: 145px;
  }
  .prose table {
    font-size: 12px;
  }
  .article-end {
    font-size: 9px;
    margin-top: 35px;
  }
  .journal-layout {
    padding-top: 30px;
  }
  .journal-layout .prose {
    font-size: 16px;
    line-height: 1.85;
  }
  .journal-layout .prose > p:first-child {
    font-size: 15px;
  }
  .journal-index {
    padding: 40px 6% 20px;
  }
  .journal-intro {
    margin-bottom: 40px;
  }
  .journal-intro h1 {
    font-size: 43px;
  }
  .journal-intro p {
    font-size: 17px;
  }
  .journal-index .post-card h3 {
    font-size: 27px;
  }
  .journal-footnote {
    margin-top: 25px;
  }
  .not-found {
    margin: 55px auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition:
      color 0.15s,
      background 0.15s;
  }
  .workspace-figure {
    transition: transform 0.3s;
  }
  .workspace-figure:hover {
    transform: rotate(0deg);
  }
}
@media print {
  .site-header,
  .site-footer,
  .docs-sidebar,
  .toc-desktop,
  .mobile-toc,
  .copy-button,
  .article-end,
  .doc-next {
    display: none;
  }
  .reading-layout {
    display: block;
    padding: 0;
  }
  .prose pre {
    white-space: pre-wrap;
    background: #eee;
    color: #111;
  }
  .prose pre code {
    white-space: pre-wrap;
  }
  body {
    background: white;
    color: black;
  }
}
