@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");

:root {
  --paper: #f5f4ef;
  --ink: #20231f;
  --muted: #686c62;
  --line: #d9dbd1;
  --green: #d3ed9c;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #66843f;
  outline-offset: 5px;
}
.shell {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}
.header {
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.logo-crop {
  display: block;
  width: 156px;
  height: 34px;
  position: relative;
  overflow: hidden;
}
.logo-crop img {
  position: absolute;
  width: 210px;
  height: 105px;
  max-width: none;
  left: -28px;
  top: -34px;
}
.header nav {
  display: flex;
  gap: 38px;
  font-size: 13px;
  font-weight: 600;
}
.header nav a:hover,
.text-link:hover,
.footer > a:last-child:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header nav span {
  margin-left: 9px;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 52px;
  padding-block: 83px 77px;
  align-items: center;
}
.eyebrow {
  font: 10px/1.6 var(--mono);
  letter-spacing: 1.5px;
  font-weight: 500;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 27px;
}
.status-dot {
  height: 7px;
  width: 7px;
  background: #749844;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e7ecd9;
}
h1,
h2,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Manrope, sans-serif;
}
h1 {
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1.07;
  letter-spacing: -4.3px;
  font-weight: 650;
  margin-bottom: 27px;
}
h1 > span {
  color: #7b8270;
}
.intro {
  font-size: 18px;
  line-height: 1.5;
  max-width: 370px;
  margin-bottom: 13px;
}
.description {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 370px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: #fff;
  padding: 16px 21px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #414b32;
  transform: translateY(-2px);
}
.button span {
  font-size: 18px;
}
.text-link {
  font-size: 12px;
  font-weight: 500;
}
.text-link span {
  margin-left: 7px;
}
.hero-note {
  font: 10px var(--mono);
  color: #777c70;
  margin: 23px 0 0;
}
.story-art {
  height: 488px;
  position: relative;
  isolation: isolate;
}
.art-grid {
  position: absolute;
  inset: -20px -20px;
  background-image: radial-gradient(#bfc4b6 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse, #000 40%, transparent 73%);
  z-index: -1;
}
.source-label {
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
  position: absolute;
  top: 12px;
  left: 26px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.tiny-square {
  width: 6px;
  height: 6px;
  border: 1px solid #92998a;
}
.log-slip {
  position: absolute;
  background: #fafbf6;
  border: 1px solid #d9ddcf;
  box-shadow: 0 4px 8px #20231f04;
  border-radius: 4px;
  padding: 15px 16px;
  white-space: nowrap;
  font: 10px var(--mono);
  display: flex;
  gap: 14px;
  color: #676c61;
  right: 2px;
  left: 24px;
}
.log-slip span {
  color: #959b8c;
}
.log-slip b {
  margin-left: auto;
  font-weight: 400;
  color: #9aa18f;
}
.slip-one {
  top: 49px;
  transform: rotate(-5deg);
  opacity: 0.65;
}
.slip-two {
  top: 89px;
  left: 6px;
  transform: rotate(-2deg);
  z-index: 1;
}
.slip-three {
  top: 131px;
  left: 38px;
  transform: rotate(2deg);
  opacity: 0.7;
}
.thread {
  position: absolute;
  left: 53%;
  top: 165px;
  height: 62px;
  border-left: 1px dashed #8a9878;
}
.thread:after {
  content: "↓";
  position: absolute;
  bottom: -4px;
  left: -5px;
  color: #8a9878;
  font-size: 16px;
}
.book {
  position: absolute;
  top: 220px;
  left: 20px;
  right: 32px;
  background: #e5eccf;
  border: 1px solid #b8c59e;
  border-radius: 4px 12px 12px 4px;
  transform: rotate(-5deg);
  box-shadow:
    4px 5px 0 -1px #f4f5e9,
    5px 6px 0 #bcc5ae,
    9px 10px 0 -1px #f4f5e9,
    10px 11px 0 #bcc5ae,
    14px 24px 34px #34451c17;
  overflow: hidden;
}
.book:before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #b8c59e;
}
.book-top {
  padding: 13px 18px 12px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #bfcaac;
  font: 8px var(--mono);
  letter-spacing: 0.8px;
}
.book-top > span:last-child {
  margin-left: auto;
}
.book-symbol {
  font-size: 17px;
}
.book-content {
  padding: 20px 24px 16px 33px;
}
.book-content .eyebrow {
  font-size: 8px;
  margin: 0 0 9px;
}
.book h2 {
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 11px;
  font-weight: 600;
}
.book-content > p:not(.eyebrow) {
  font-size: 11px;
  line-height: 1.7;
  color: #5b6450;
}
.book-rule {
  height: 1px;
  background: #bfcaac;
  margin-top: 15px;
}
.book-bottom {
  font: 8px var(--mono);
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
}
.book-bottom i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #627641;
  border-radius: 50%;
  margin-right: 5px;
}
.margin-note {
  position: absolute;
  right: -14px;
  bottom: 23px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.35;
  transform: rotate(6deg);
  background: var(--paper);
  padding: 7px;
}
.art-caption {
  position: absolute;
  bottom: -47px;
  left: 22px;
  right: 0;
  display: flex;
  justify-content: space-between;
  font: 8px var(--mono);
  letter-spacing: 0.8px;
  color: #858b7c;
}
.principles {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-block: 23px;
  color: #666d5d;
  font-size: 12px;
}
.principles span:before {
  content: "✳";
  margin-right: 12px;
  color: #899d6a;
}
.idea {
  padding-block: 91px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.eyebrow {
  color: var(--muted);
  margin-bottom: 22px;
}
h2 {
  font-size: 37px;
  line-height: 1.22;
  letter-spacing: -1.6px;
  font-weight: 600;
  margin-bottom: 0;
}
.idea-copy {
  padding-top: 34px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}
.idea-copy p:last-child {
  color: var(--ink);
  margin-bottom: 0;
}
.demo {
  padding: 44px 44px 42px;
  background: #eeefe7;
  border: 1px solid #dcdfd2;
  border-radius: 10px;
}
.demo-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.demo .eyebrow {
  margin-bottom: 13px;
}
.demo h2 {
  font-size: 31px;
}
.example-label {
  font: 8px var(--mono);
  color: #7a826e;
  letter-spacing: 1px;
  padding-bottom: 4px;
}
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 38px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.steps button {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  padding: 20px 17px;
  color: var(--muted);
  border-radius: 5px;
  cursor: pointer;
}
.steps button[aria-selected="true"] {
  background: #fffefa;
  border-color: #d8ddcc;
  color: var(--ink);
  box-shadow: 0 3px 7px #20231f04;
}
.steps button:hover {
  background: #f8f9f1;
}
.step-number {
  font: 10px var(--mono);
  align-self: flex-start;
  padding-top: 3px;
  color: #89927a;
}
.steps strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
}
.steps small {
  font-size: 11px;
  display: block;
  margin-top: 7px;
  color: #757b6d;
}
.step-arrow {
  margin-left: auto;
  opacity: 0;
}
.steps button[aria-selected="true"] .step-arrow {
  opacity: 1;
}
.example-panel {
  background: #fcfcf7;
  border: 1px solid #d5dbc9;
  border-radius: 6px;
  overflow: hidden;
  min-height: 255px;
}
.panel-chrome {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e5da;
  font: 9px var(--mono);
  letter-spacing: 0.7px;
  color: #77816b;
}
.panel-dots {
  letter-spacing: 3px;
  color: #a4ae96;
}
#panel-content {
  padding: 23px 22px;
}
.panel-kicker {
  font-size: 14px;
  margin-bottom: 22px;
}
.code-line {
  font: 10px/1.6 var(--mono);
  display: flex;
  gap: 16px;
  padding: 9px 8px;
  white-space: nowrap;
}
.code-line time {
  color: #8d9680;
}
.highlighted {
  background: #e9efd9;
  border-radius: 3px;
}
.panel-footnote {
  font-size: 10px;
  color: #838b77;
  margin: 19px 0 0;
}
.panel-title {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 13px;
}
.panel-body {
  font-size: 13px;
  line-height: 1.7;
  color: #69745e;
  margin-bottom: 17px;
}
.tag {
  display: inline-block;
  padding: 6px 9px;
  border: 1px solid #d7dfc9;
  border-radius: 3px;
  font: 9px var(--mono);
  color: #667951;
}
.closing {
  text-align: center;
  padding-block: 95px;
}
.closing .eyebrow {
  margin-bottom: 18px;
}
.closing h2 {
  font-size: 46px;
  margin-bottom: 28px;
}
.closing .button {
  background: var(--green);
  color: #27311e;
  border: 1px solid #bbd288;
}
.closing .button:hover {
  background: #c7e58c;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}
.footer .logo-crop {
  width: 111px;
  height: 25px;
}
.footer .logo-crop img {
  width: 150px;
  height: 75px;
  left: -20px;
  top: -24px;
}
.footer p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.footer > a:last-child {
  font-size: 11px;
}
.skip {
  position: fixed;
  left: 20px;
  top: -80px;
  background: var(--ink);
  color: #fff;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 100px;
  }
  .story-art {
    max-width: 510px;
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 25px;
  }
  h1 {
    font-size: 57px;
    letter-spacing: -3px;
  }
  .actions {
    gap: 15px;
    flex-wrap: wrap;
  }
  .log-slip {
    font-size: 8px;
    gap: 8px;
  }
  .book h2 {
    font-size: 26px;
  }
  .margin-note {
    right: -8px;
    font-size: 13px;
  }
  .idea {
    gap: 40px;
  }
  h2 {
    font-size: 31px;
  }
  .demo {
    padding: 30px;
  }
  .demo-layout {
    gap: 20px;
  }
  .code-line {
    font-size: 9px;
    gap: 8px;
  }
  .example-label {
    display: none;
  }
  .steps button {
    padding: 19px 10px;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header {
    height: 86px;
  }
  .logo-crop {
    width: 128px;
    height: 29px;
  }
  .logo-crop img {
    width: 174px;
    height: 87px;
    left: -23px;
    top: -28px;
  }
  .header nav {
    gap: 20px;
    font-size: 11px;
  }
  .header nav a:first-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 62px;
    gap: 25px;
  }
  h1 {
    font-size: clamp(46px, 10.7vw, 68px);
    letter-spacing: -2.8px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .intro {
    font-size: 17px;
  }
  .description {
    max-width: 410px;
  }
  .hero-note {
    font-size: 9px;
  }
  .story-art {
    max-width: 440px;
    width: 100%;
    height: 485px;
    justify-self: center;
    margin-top: 18px;
  }
  .log-slip {
    font-size: 9px;
  }
  .book h2 {
    font-size: 30px;
  }
  .art-caption {
    bottom: -22px;
    font-size: 7px;
  }
  .margin-note {
    bottom: 35px;
    right: 0;
  }
  .principles {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 11px;
    justify-content: center;
    padding-block: 20px;
  }
  .idea {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 57px;
  }
  .idea-copy {
    padding-top: 0;
    font-size: 14px;
  }
  .idea .eyebrow {
    margin-bottom: 17px;
  }
  h2 {
    font-size: 32px;
  }
  .demo {
    padding: 28px 18px;
  }
  .demo h2 {
    font-size: 27px;
  }
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .demo-heading {
    margin-bottom: 22px;
  }
  .steps button {
    padding: 16px 13px;
  }
  .steps small {
    font-size: 11px;
  }
  .example-panel {
    min-height: 262px;
  }
  .code-line {
    font-size: 9px;
  }
  .closing {
    padding-block: 63px;
  }
  .closing h2 {
    font-size: 36px;
  }
  .footer {
    flex-wrap: wrap;
    padding-block: 24px;
  }
  .footer p {
    order: 3;
    flex-basis: 100%;
    font-size: 10px;
  }
  .footer > a:last-child {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
