@charset "UTF-8";
:root {
  --paper: #f1efea;
  --ink: #151614;
  --muted: #656660;
  --line: #d0d0c7;
  --orange: #bf4425;
  --blue: #162956;
  --white: #faf9f5;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
figure {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
::selection {
  background: #e8b59b;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
p + p {
  margin-top: 1em;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 5;
  top: -80px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.brand span {
  font-size: 13px;
  font-weight: 400;
  margin-left: 13px;
  color: var(--muted);
  letter-spacing: 1px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
.nav a {
  padding: 10px 0;
}
.nav a[aria-current="page"] {
  color: var(--orange);
}
.nav a:hover,
.text-link:hover,
.article-row:hover h3 {
  color: var(--orange);
}
.eyebrow {
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  margin: 0 10px 1px 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 62px 0 60px;
}
.hero h1 {
  font: 500 clamp(32px, 3.6vw, 49px) / 1.43 var(--serif);
  letter-spacing: -1.6px;
  margin: 22px 0 20px;
  max-width: 780px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero .description {
  color: var(--muted);
  max-width: 540px;
  font-size: 15px;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 27px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 12px 19px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.button:hover {
  background: var(--blue);
}
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.button.light:hover {
  background: white;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.hero-art {
  max-width: 320px;
  justify-self: end;
  position: relative;
}
.hero-art img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
.hero-art figcaption {
  text-align: center;
  margin-top: 18px;
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: var(--muted);
}
.section {
  padding: 44px 0 58px;
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head h2 {
  font: 500 30px/1.3 var(--serif);
  letter-spacing: -0.6px;
  margin-top: 8px;
}
.section-number {
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
  letter-spacing: 2px;
}
.featured {
  display: grid;
  grid-template-columns: 0.83fr 1.25fr;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  min-height: 345px;
}
.featured-copy {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.featured .eyebrow {
  color: #bbbbb1;
}
.featured h3 {
  font-size: 37px;
  font-weight: 500;
  letter-spacing: -1.6px;
  line-height: 1.25;
  margin: 16px 0;
}
.featured p {
  font-size: 15px;
  color: #cfcec5;
  max-width: 370px;
}
.featured .text-link {
  margin-top: 25px;
}
.featured .text-link:hover {
  color: #fbb394;
}
.screen-figure {
  background: #292d28;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0 20px 28px;
  overflow: hidden;
}
.screen-figure img {
  width: 100%;
  border: 1px solid #4b4e47;
  border-right: 0;
}
.screen-figure figcaption {
  font-size: 11px;
  color: #c5c7bc;
  margin-top: 12px;
}
.skill-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  background: #e8e8df;
}
.skill-card h3 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin: 7px 0;
}
.skill-card p {
  font-size: 14px;
  color: var(--muted);
}
.skill-card .text-link {
  margin-top: 14px;
}
.skill-code {
  align-self: center;
  border-left: 1px solid #c6c9bd;
  padding-left: 32px;
}
.skill-code code {
  display: block;
  font:
    13px/2.2 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.skill-code span {
  color: var(--orange);
}
.article-row {
  display: grid;
  grid-template-columns: 160px 1fr 40px;
  gap: 30px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.article-row:last-child {
  border-bottom: 1px solid var(--line);
}
.article-date {
  font:
    12px/1.8 ui-monospace,
    monospace;
  color: var(--muted);
}
.article-row h3 {
  font: 500 27px/1.5 var(--serif);
  margin: 0 0 8px;
}
.article-row p {
  font-size: 14px;
  color: var(--muted);
}
.article-arrow {
  font-size: 25px;
  justify-self: end;
}
.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1px;
  border: 1px solid var(--line);
  padding: 2px 7px;
  margin-top: 8px;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.updates {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.updates li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 14px;
}
.updates time {
  font:
    11px/2 ui-monospace,
    monospace;
  color: var(--muted);
}
.updates a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.short-about {
  color: var(--muted);
  font-size: 15px;
  margin-top: 20px;
}
.short-about + .text-link {
  margin-top: 20px;
}
.site-footer {
  background: var(--ink);
  color: var(--paper);
  margin-top: 15px;
  padding: 45px 0 23px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 37px;
}
.footer-main h2 {
  font: 500 31px var(--serif);
}
.footer-main p {
  font-size: 13px;
  color: #b3b5a9;
  margin-top: 12px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 13px;
}
.copy-button {
  border: 0;
  border-bottom: 1px solid #686a60;
  padding: 4px 0;
  background: transparent;
  cursor: pointer;
}
.copy-status {
  min-height: 22px;
  display: block;
  font-size: 12px;
  color: #d8b8a5;
}
.footer-meta {
  border-top: 1px solid #3c3e36;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: #aeb0a4;
  font-size: 11px;
}
.footer-meta a:hover {
  text-decoration: underline;
}
.filing {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.page-intro {
  padding: 58px 0 46px;
  max-width: 870px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 34px;
}
.breadcrumb a:hover {
  color: var(--orange);
}
.page-intro h1 {
  font: 500 clamp(34px, 4vw, 51px) / 1.4 var(--serif);
  letter-spacing: -1px;
  margin: 16px 0;
}
.page-intro .lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 740px;
}
.page-intro .eyebrow {
  margin-top: 5px;
}
.project-intro h1 {
  font-family: var(--sans);
  font-size: clamp(42px, 6vw, 73px);
  line-height: 1.1;
  letter-spacing: -3px;
}
.project-intro .lead {
  max-width: 650px;
}
.detail-figure {
  border: 1px solid var(--line);
  padding: 18px;
  background: #e1e2d9;
  margin-bottom: 50px;
}
.detail-figure img {
  width: 100%;
}
.detail-figure figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.detail-figure a {
  display: block;
}
.detail-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 70px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.detail-grid h2 {
  font: 500 27px/1.5 var(--serif);
}
.detail-body {
  max-width: 780px;
}
.detail-body > p {
  color: #4e514b;
}
.detail-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}
.step-list li {
  counter-increment: steps;
  position: relative;
  padding: 0 0 28px 45px;
}
.step-list li::before {
  content: "0" counter(steps);
  position: absolute;
  left: 0;
  top: 2px;
  font:
    12px ui-monospace,
    monospace;
  color: var(--orange);
}
.step-list li + li {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.step-list li + li::before {
  top: 28px;
}
.step-list p {
  font-size: 15px;
  color: var(--muted);
}
.note {
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid var(--orange);
  padding: 10px 18px;
  margin-top: 24px;
}
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.capabilities p {
  font-size: 14px;
  color: var(--muted);
}
pre {
  padding: 22px;
  background: #e5e6de;
  border: 1px solid var(--line);
  overflow-x: auto;
  font:
    13px/1.8 ui-monospace,
    monospace;
  border-radius: 2px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.source-line {
  font-size: 12px;
  color: var(--muted);
  margin-top: 25px;
  overflow-wrap: anywhere;
}
.source-line a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.related {
  padding: 35px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.article-header {
  max-width: 860px;
  padding-bottom: 40px;
}
.article-header h1 {
  max-width: 760px;
  font-size: clamp(32px, 4.6vw, 54px);
}
.article-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}
.reading-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 65px;
  padding: 40px 0 70px;
  border-top: 1px solid var(--line);
}
.toc {
  align-self: start;
  position: sticky;
  top: 35px;
  font-size: 13px;
}
.toc h2 {
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 2px;
  margin: 0 0 18px;
}
.toc a {
  display: block;
  color: var(--muted);
  margin: 12px 0;
}
.toc a:hover {
  color: var(--orange);
}
.prose {
  min-width: 0;
  font-size: 17px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.prose h2 {
  font: 600 27px/1.5 var(--serif);
  margin: 45px 0 20px;
  scroll-margin-top: 28px;
}
.prose h3 {
  font-size: 20px;
  margin: 28px 0 16px;
}
.prose p {
  margin: 0 0 20px;
}
.prose a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose ul,
.prose ol {
  padding-left: 25px;
  margin: 20px 0;
}
.prose li {
  margin: 10px 0;
}
.prose strong {
  font-weight: 650;
}
.prose :not(pre) > code {
  background: #e4e4dc;
  padding: 2px 5px;
  font-size: 0.87em;
}
.prose pre {
  margin: 24px 0;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.7;
  margin: 28px 0;
}
.prose th,
.prose td {
  padding: 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.prose th {
  background: #e4e5dc;
}
.prose td:first-child {
  min-width: 95px;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}
.prose hr + p {
  font-size: 13px;
  color: var(--muted);
}
.about-lead {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 80px;
  align-items: center;
}
.about-lead img {
  border-radius: 50%;
  max-width: 240px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.timeline li:first-child {
  padding-top: 0;
}
.timeline time {
  font:
    12px/1.8 ui-monospace,
    monospace;
  color: var(--muted);
}
.timeline h3 {
  font-size: 20px;
  margin-bottom: 7px;
}
.timeline p {
  color: var(--muted);
  font-size: 15px;
}
.empty-page {
  min-height: 50vh;
}
.project-list {
  padding-top: 0;
  border-top: 0;
}
.noscript-note {
  font-size: 12px;
  color: #ccc;
}
.article-header h1 {
  text-wrap: balance;
  max-width: 840px;
}
@media (min-width: 1400px) {
  .hero {
    gap: 100px;
  }
  .hero h1 {
    font-size: 52px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 40px;
    grid-template-columns: 1.7fr 1fr;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero-art {
    max-width: 240px;
  }
  .featured-copy {
    padding: 27px;
  }
  .featured h3 {
    font-size: 30px;
  }
  .featured {
    grid-template-columns: 1fr 1.15fr;
  }
  .bottom-grid {
    gap: 40px;
  }
  .reading-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 32px;
  }
  .detail-grid {
    grid-template-columns: 180px 1fr;
    gap: 35px;
  }
  .nav {
    gap: 20px;
  }
  .brand span {
    display: none;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 78px;
    gap: 12px;
    flex-wrap: wrap;
    padding: 15px 0;
  }
  .brand {
    font-size: 16px;
  }
  .nav {
    gap: 17px;
    font-size: 12px;
  }
  .nav .nav-github {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    padding: 38px 0 38px;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.45;
    letter-spacing: -1px;
    margin-top: 24px;
    max-width: 550px;
  }
  .hero .description {
    font-size: 14px;
    max-width: 80%;
  }
  .hero-art {
    width: 72px;
    position: absolute;
    right: 0;
    bottom: 40px;
    z-index: 0;
  }
  .hero-art figcaption {
    display: none;
  }
  .hero .actions {
    gap: 20px;
    margin-top: 24px;
  }
  .hero .button {
    gap: 20px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .section {
    padding: 30px 0 38px;
  }
  .section-head {
    margin-bottom: 22px;
  }
  .section-head h2 {
    font-size: 27px;
  }
  .section-head .text-link {
    font-size: 12px;
    gap: 8px;
  }
  .featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .featured-copy {
    padding: 28px;
  }
  .featured h3 {
    font-size: 33px;
    margin: 11px 0;
  }
  .screen-figure {
    padding: 0 20px 20px;
    background: var(--ink);
  }
  .screen-figure img {
    border: 1px solid #4b4e47;
  }
  .screen-figure figcaption {
    font-size: 10px;
  }
  .skill-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
    margin-top: 16px;
  }
  .skill-code {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 17px 0 0;
  }
  .skill-code code {
    font-size: 11px;
  }
  .article-row {
    grid-template-columns: 1fr 25px;
    gap: 14px;
    padding: 23px 0;
  }
  .article-date {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
  }
  .article-date .tag {
    margin: 0;
  }
  .article-row h3 {
    font-size: 23px;
  }
  .article-row p {
    font-size: 13px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-main {
    display: block;
    padding-bottom: 23px;
  }
  .footer-links {
    margin-top: 27px;
    gap: 20px;
  }
  .footer-main h2 {
    font-size: 28px;
  }
  .footer-meta {
    font-size: 10px;
  }
  .page-intro {
    padding: 35px 0 32px;
  }
  .breadcrumb {
    margin-bottom: 25px;
  }
  .page-intro .lead {
    font-size: 16px;
  }
  .project-intro h1 {
    font-size: 49px;
    letter-spacing: -2px;
  }
  .detail-figure {
    padding: 9px;
    margin-bottom: 30px;
  }
  .detail-figure figcaption {
    font-size: 11px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0;
  }
  .detail-grid h2 {
    font-size: 25px;
  }
  .capabilities {
    gap: 25px;
    grid-template-columns: 1fr;
  }
  .step-list li {
    padding-left: 34px;
  }
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 25px;
  }
  .toc {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .toc a {
    display: inline-block;
    margin: 4px 15px 5px 0;
    font-size: 12px;
  }
  .toc h2 {
    margin-bottom: 10px;
  }
  .prose {
    font-size: 16px;
    line-height: 1.95;
  }
  .prose h2 {
    font-size: 25px;
    margin-top: 35px;
  }
  .prose pre {
    font-size: 12px;
    padding: 16px;
  }
  .prose th,
  .prose td {
    padding: 10px;
  }
  .article-meta {
    gap: 10px 20px;
    font-size: 11px;
  }
  .about-lead {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-lead img {
    display: none;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .related {
    font-size: 13px;
  }
  .project-list {
    padding-top: 0;
  }
  .source-line {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
