:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --ink: #272b25;
  --muted: #65695e;
  --line: #d9dbcf;
  --green: #556342;
  --light-green: #e6e9da;
  --orange: #b95d32;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  --mono: "Courier New", monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 6px;
}
::selection {
  background: #d8dfbf;
  color: var(--ink);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
svg {
  display: block;
}
.page-shell {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 24px;
  top: -100px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1.4px;
}
.brand-mark {
  width: 25px;
  height: 25px;
  color: var(--green);
  margin-right: 12px;
}
.wordmark-tld {
  color: var(--muted);
  font-weight: 400;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header nav a {
  font-size: 14px;
  text-decoration: none;
  padding-block: 12px;
}
.site-header nav a:hover {
  color: var(--green);
  text-decoration: underline;
}
.nav-github span {
  margin-left: 5px;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  padding: 89px 0 99px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--green);
  border-radius: 50%;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 6.2vw, 84px);
  letter-spacing: -4px;
  line-height: 1.07;
  margin-top: 26px;
}
h1 em {
  font-weight: 500;
  color: var(--green);
}
.hero-description {
  max-width: 450px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 19px;
  margin-top: 29px;
  text-decoration: none;
  transition:
    background 160ms ease,
    transform 160ms ease;
}
.button:hover {
  background: var(--green);
  transform: translateY(-2px);
}
.button span {
  font-size: 23px;
  line-height: 1;
}
.hero-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 15px;
}
.small-stack {
  padding: 16px 0 0 14px;
  width: 100%;
  max-width: 370px;
  justify-self: end;
  transform: rotate(2deg);
}
.stack-caption {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  margin: 0 8px 25px;
}
.stack-caption span:last-child {
  font-size: 21px;
  line-height: 1;
}
.stack-sheet {
  position: relative;
  height: 94px;
  border: 1px solid #cbd0bd;
  background: #fbfaf5;
  border-radius: 3px;
  padding: 15px 21px;
  box-shadow:
    0 5px 0 -3px var(--paper),
    0 6px 0 -3px #cbd0bd;
  display: grid;
  grid-template-columns: 22px 1fr 28px;
  column-gap: 14px;
}
.sheet-number {
  font-family: var(--mono);
  font-size: 10px;
  align-self: center;
  grid-row: 1 / 3;
  color: var(--muted);
}
.sheet-name {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.sheet-detail {
  font-size: 10px;
  color: var(--muted);
}
.sheet-symbol {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 30px;
  color: var(--green);
}
.sheet-docs {
  z-index: 4;
  transform: rotate(-4deg);
  background: #e9eddf;
}
.sheet-data {
  z-index: 3;
  margin-top: -8px;
  transform: translateX(8px) rotate(1deg);
}
.sheet-ml {
  z-index: 2;
  margin-top: -8px;
  transform: translateX(-5px) rotate(-2deg);
  background: #f1eee1;
}
.sheet-ops {
  z-index: 1;
  margin-top: -8px;
  transform: translateX(5px) rotate(2deg);
}
.stack-footnote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  text-align: right;
  margin-top: 25px;
  margin-right: 5px;
}
.section-heading {
  border-top: 1px solid var(--line);
  padding-top: 27px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading h2 {
  font-size: 16px;
  font-weight: 500;
}
.section-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
}
.featured-project {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 44px;
  background: #fcfbf6;
}
.project-status {
  font-size: 10px;
  color: var(--green);
}
.project-copy h3 {
  font-family: var(--serif);
  font-size: 51px;
  line-height: 1.2;
  letter-spacing: -2px;
  margin-top: 15px;
}
.title-dot {
  color: var(--orange);
}
.project-lede {
  font-size: 18px;
  line-height: 1.5;
  margin-top: 15px;
}
.project-description {
  color: var(--muted);
  margin-top: 17px;
  font-size: 14px;
  line-height: 1.8;
  max-width: 430px;
}
.project-description code {
  font-size: 0.9em;
  font-family: var(--mono);
}
.project-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
  row-gap: 6px;
  margin-top: 23px;
}
.text-link {
  padding-block: 7px;
  font-size: 13px;
  font-weight: 600;
}
.text-link span {
  display: inline-block;
  margin-left: 7px;
}
.text-link:hover {
  color: var(--green);
}
.secondary-link {
  color: var(--muted);
}
.project-demo {
  min-width: 0;
  align-self: center;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}
.demo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  letter-spacing: 0.6px;
  color: var(--muted);
  font-size: 9px;
  padding-bottom: 25px;
}
.demo-dot {
  width: 6px;
  height: 6px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.file-icon {
  font-size: 22px;
  color: var(--green);
  line-height: 1;
}
.file-types {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.pipeline-line {
  margin-block: 8px;
  margin-left: 8px;
  color: #a2aa92;
  font-size: 17px;
  line-height: 1;
}
.command {
  display: flex;
  gap: 13px;
  font-size: 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  padding: 14px 15px;
}
.command span {
  color: #bdc8a1;
}
.command code {
  font-family: var(--mono);
}
.install-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.install-line span {
  color: var(--muted);
  font-size: 10px;
}
.install-line code {
  font-size: 11px;
  font-family: var(--mono);
}
.directions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-block: 85px 78px;
}
.directions-intro h2 {
  font-family: var(--serif);
  font-size: 38px;
  letter-spacing: -1.4px;
  line-height: 1.17;
  margin-top: 17px;
}
.directions-intro h2 em {
  color: var(--green);
}
.directions-intro > p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.direction {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.direction:first-child {
  padding-top: 0;
}
.direction-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  padding-top: 5px;
}
.direction h3 {
  font-size: 17px;
  line-height: 1.4;
}
.direction p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
  max-width: 310px;
}
.direction-label {
  font-size: 8px;
  font-family: var(--mono);
  color: var(--muted);
  letter-spacing: 0.6px;
  margin-left: auto;
  padding-top: 6px;
}
.about {
  display: flex;
  align-items: flex-start;
  gap: 29px;
  padding: 37px 40px 39px;
  background: var(--light-green);
  border-radius: 5px;
}
.about-mark {
  color: var(--green);
  font-size: 46px;
  line-height: 1.3;
}
.about h2 {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin-top: 13px;
}
.about p:last-child {
  max-width: 645px;
  margin-top: 14px;
  color: #555f4b;
  font-size: 14px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding-block: 32px 35px;
  font-size: 12px;
}
.site-footer > p {
  font-size: 16px;
  font-weight: 600;
}
.footer-dot {
  color: var(--orange);
}
.footer-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-left: 10px;
}
.site-footer > a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  padding-block: 12px;
}
.site-footer > a:hover {
  text-decoration: underline;
}

@media (max-width: 1050px) {
  .page-shell {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 20px;
  }
  h1 {
    letter-spacing: -3px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 370px;
  }
  .small-stack {
    max-width: 310px;
  }
  .stack-sheet {
    padding-inline: 15px;
    column-gap: 8px;
  }
  .sheet-detail {
    font-size: 9px;
  }
  .featured-project {
    padding: 32px;
    gap: 30px;
  }
  .project-demo {
    padding: 19px;
  }
  .file-row {
    font-size: 11px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .file-types {
    font-size: 8px;
  }
  .directions {
    gap: 44px;
  }
  .direction-label {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 86px;
  }
  .site-header nav {
    gap: 21px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 58px 58px;
    gap: 0;
  }
  h1 {
    font-size: clamp(54px, 9vw, 76px);
  }
  .hero-description {
    max-width: 420px;
  }
  .small-stack {
    display: none;
  }
  .featured-project {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .project-copy h3 {
    font-size: 47px;
  }
  .project-description {
    max-width: 100%;
  }
  .project-demo {
    padding: 24px;
  }
  .file-row {
    font-size: 13px;
  }
  .file-types {
    font-size: 10px;
  }
  .directions {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 54px;
  }
  .directions-intro h2 {
    font-size: 34px;
  }
  .direction-label {
    display: block;
  }
  .about {
    padding: 27px;
    gap: 20px;
  }
  .about h2 {
    font-size: 29px;
  }
  .about-mark {
    font-size: 32px;
  }
  .site-footer {
    align-items: flex-start;
  }
  .footer-note {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }
}
@media (max-width: 480px) {
  .page-shell {
    width: calc(100% - 40px);
  }
  .wordmark {
    font-size: 23px;
  }
  .brand-mark {
    width: 21px;
    height: 21px;
    margin-right: 8px;
  }
  .site-header nav {
    gap: 17px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .nav-github {
    display: none;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .hero {
    padding-top: 46px;
  }
  h1 {
    font-size: clamp(47px, 12.4vw, 59px);
    letter-spacing: -2.8px;
    margin-top: 23px;
  }
  .hero-description {
    font-size: 15px;
    margin-top: 22px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 14px;
  }
  .section-count {
    font-size: 8px;
    padding-top: 4px;
  }
  .featured-project {
    padding: 25px 22px;
  }
  .project-lede {
    font-size: 16px;
  }
  .project-description {
    font-size: 13px;
  }
  .project-demo {
    padding: 18px 15px;
  }
  .file-row {
    font-size: 11px;
  }
  .file-types {
    font-size: 10px;
  }
  .command {
    font-size: 11px;
    padding-inline: 11px;
  }
  .direction-label {
    display: none;
  }
  .direction p {
    font-size: 12px;
  }
  .about {
    gap: 13px;
    padding: 26px 22px;
  }
  .about-mark {
    font-size: 26px;
  }
  .about h2 {
    font-size: 26px;
  }
  .about p:last-child {
    font-size: 13px;
  }
  .site-footer {
    padding-top: 25px;
    gap: 15px;
  }
  .site-footer > a {
    max-width: 110px;
    text-align: right;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
