:root {
  color-scheme: light;
  --paper: #f8f6f0;
  --ink: #34392f;
  --muted: #66685e;
  --line: #dcded2;
  --font:
    "LXGW WenKai", "霞鹜文楷", "霞鹜楷体", "PingFang SC", "Iowan Old Style",
    Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.85 var(--font);
  letter-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #6d7459;
}
a:focus-visible {
  outline: 2px solid #697c60;
  outline-offset: 5px;
}
.site-header,
main,
footer {
  width: min(1160px, calc(100% - 96px));
  margin: auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}
.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 27px;
  line-height: 1;
}
.wordmark img {
  border-radius: 11px;
}
.wordmark small {
  margin-left: 8px;
  font-size: 15px;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  user-select: none;
}
.nav-library {
  padding: 7px 15px;
  border: 1px solid #bfc4b4;
  border-radius: 5px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 630px;
  padding: 44px 0 70px;
}
.eyebrow {
  margin: 0 0 25px;
  font-size: 11px;
  color: var(--muted);
}
h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(44px, 4.6vw, 66px);
  line-height: 1.42;
  letter-spacing: 0;
}
.intro {
  margin: 26px 0 34px;
  max-width: 38em;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.primary {
  display: inline-flex;
  gap: 24px;
  padding: 10px 18px;
  border-radius: 5px;
  color: #fffdf8;
  background: #4f614b;
}
.primary:hover {
  background: #3d503a;
  color: #fffdf8;
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid #b8bead;
  padding-bottom: 5px;
}
.platform {
  font-size: 11px;
  color: var(--muted);
  margin-top: 17px;
}
.paper-scene {
  position: relative;
  padding: 18px 14px 14px;
}
.paper-back {
  position: absolute;
  inset: 13px 9px 9px;
  background: #e6e7dc;
  border: 1px solid #d6d9cd;
  transform: rotate(4deg);
}
.sample-paper {
  position: relative;
  padding: 28px 34px 23px;
  background: #fffef9;
  border: 1px solid #dfdfd4;
  box-shadow: 0 13px 40px #373c2910;
  transform: rotate(-2deg);
}
.paper-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.paper-date {
  font-size: 11px;
  color: var(--muted);
  margin: 20px 0 15px;
}
blockquote {
  margin: 0;
  font-size: 22px;
  line-height: 1.95;
  font-weight: 400;
}
mark {
  color: inherit;
  padding: 2px 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-decoration: none;
}
.sage {
  background: color-mix(in srgb, #a9cb9b 42%, transparent);
}
.blue {
  background: color-mix(in srgb, #9fbfe0 42%, transparent);
}
.sample-tag {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: #737767;
  font-size: 11px;
}
.sage-tag {
  color: #70845f;
}
.blue-tag {
  color: #5e7d92;
}
.paper-rule {
  border-top: 1px solid #e8e7dc;
  margin: 25px 0;
}
.english {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 23px;
  line-height: 1.85;
}
.paper-bottom {
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #74766a;
}
.reading-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0;
  border-block: 1px solid var(--line);
}
.step {
  font-size: 12px;
  color: #69775d;
}
.reading-path p {
  margin: 15px 0 0;
  font-size: 16px;
  line-height: 1.85;
}
.installation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 0 95px;
  scroll-margin-top: 35px;
}
h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 400;
}
.installation > div > p:not(.eyebrow) {
  margin: 25px 0;
  line-height: 1.85;
}
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
li {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
}
li > span {
  font-size: 12px;
  color: #69775d;
  padding-top: 4px;
}
li p {
  max-width: 38em;
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: #595f53;
}
code {
  font:
    12px/1.8 ui-monospace,
    monospace;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 950px) {
  .hero {
    gap: 24px;
  }
  .sample-paper {
    padding: 24px;
  }
  blockquote,
  .english {
    font-size: 18px;
  }
  .hero-actions {
    gap: 14px;
  }
}
@media (max-width: 740px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 40px);
  }
  .site-header {
    padding: 20px 0;
  }
  nav {
    gap: 15px;
    font-size: 12px;
  }
  nav > a:first-child {
    display: none;
  }
  .wordmark small {
    display: none;
  }
  .wordmark {
    font-size: 23px;
    gap: 8px;
  }
  .wordmark img {
    width: 34px;
    height: 34px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 44px 0;
    gap: 32px;
  }
  .hero-copy {
    padding: 0 6px;
  }
  .paper-scene {
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
  .reading-path {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 6px;
  }
  .installation {
    grid-template-columns: 1fr;
    padding: 60px 6px;
    gap: 34px;
  }
  h2 {
    font-size: 26px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
