@font-face {
  font-family: Bricolage;
  src: url("/assets/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --paper: #f8f8ef;
  --ink: #17231d;
  --quiet: #48554c;
  --rule: #d2d5c7;
  --yellow: #ffef43;
  --forest: #193a2c;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 Bricolage,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #376be3;
  outline-offset: 4px;
}
.skip {
  position: fixed;
  top: -6rem;
  left: 1rem;
  z-index: 9;
  background: white;
  padding: 0.7rem;
}
.skip:focus {
  top: 0.5rem;
}
.wrap {
  max-width: 1432px;
  padding-inline: clamp(22px, 6vw, 96px);
  margin-inline: auto;
}
.site-head,
footer {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-head {
  height: 86px;
  position: relative;
}
.site-head::after {
  content: "";
  position: absolute;
  left: clamp(22px, 6vw, 96px);
  right: clamp(22px, 6vw, 96px);
  bottom: 0;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -1.5px;
}
.brand img,
.by img {
  display: block;
  object-fit: cover;
  background: #ff0;
  border-radius: 8px;
}
.brand img {
  width: 40px;
  height: 40px;
}
.site-head nav {
  display: flex;
  gap: clamp(16px, 2.2vw, 35px);
  margin-left: auto;
}
.site-head nav a,
footer a,
.head-app {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.site-head nav a:hover,
footer nav a:hover,
.text-link:hover,
.site-head nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.head-app {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 7px 15px;
  border: 1px solid var(--ink);
  border-radius: 24px;
}
.head-app:hover {
  background: var(--ink);
  color: white;
}
.hero,
.review-hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding-block: clamp(55px, 6.4vw, 100px);
}
.overline,
.lab figcaption,
.term-heading {
  font: 600 11px/1.4 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.overline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.line {
  display: inline-block;
  width: 25px;
  height: 2px;
  background: currentColor;
}
h1,
h2,
h3,
p,
figure,
pre {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 740;
  line-height: 1.02;
}
h1 {
  font-size: clamp(74px, 7.9vw, 114px);
  letter-spacing: -0.045em;
  word-spacing: 0.035em;
  margin: 22px 0 27px;
  line-height: 0.9;
}
mark {
  color: inherit;
  background: linear-gradient(
    transparent 73%,
    var(--yellow) 73% 92%,
    transparent 92%
  );
}
.lede {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  color: var(--quiet);
  max-width: 475px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 700;
}
.button {
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  min-height: 49px;
  padding: 11px 21px;
  box-shadow: 2px 3px 0 var(--ink);
}
.button:hover {
  background: #fff475;
  transform: translateY(-1px);
}
.text-link span {
  font-size: 20px;
}
.lab {
  min-width: 0;
  position: relative;
  background-color: #dbe5c9;
  background-image:
    linear-gradient(to right, #354b3311 1px, transparent 1px),
    linear-gradient(to bottom, #354b3311 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 30px clamp(18px, 3.1vw, 47px) 25px;
  border: 1px solid #9ba890;
  border-radius: 18px;
  color: var(--ink);
}
.lab figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #415641;
  font-size: 10px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #286a46;
  box-shadow: 0 0 0 3px #286a4619;
}
.lab-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3e4e41;
  font: 12px/1.36 var(--mono);
  margin-bottom: 12px;
}
.branch-icon {
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
}
.lab-body {
  min-height: 292px;
}
.code-frame,
.terminal {
  border-radius: 11px;
  border: 1px solid #192d20;
  background: #20332b;
  color: #f5f6ea;
  overflow: hidden;
  box-shadow: 3px 5px 0 #1e3e2714;
}
.file-head {
  display: flex;
  gap: 4px;
  align-items: center;
  border-bottom: 1px solid #ffffff28;
  padding: 11px 15px;
  color: #d4dfd2;
  font: 11px var(--mono);
}
.file-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8f9f8c;
}
.file-head span {
  margin-left: 8px;
}
pre {
  padding: 13px 0 22px;
  font: clamp(10px, 0.94vw, 14px)/1.65 var(--mono);
  overflow: auto;
}
.code-line {
  display: block;
  padding: 0 13px;
}
.code-line em {
  font-style: normal;
  color: #acb7ad;
}
.code-line strong {
  color: #e6d48c;
  font-weight: normal;
}
.code-line q {
  color: #e0e79d;
  quotes: none;
}
.change {
  background: #34503b;
}
.review-card {
  width: 95%;
  margin: -9px -7px 0 auto;
  position: relative;
  background: #fffffa;
  border: 1px solid #344834;
  border-radius: 11px;
  padding: 16px 19px 18px;
  box-shadow: 3px 4px 0 #51674244;
}
.by {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}
.by img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.by span {
  margin-left: auto;
  color: #586353;
  font: 10px var(--mono);
}
.review-card h3 {
  font-size: clamp(17px, 1.47vw, 22px);
  letter-spacing: -0.035em;
  margin-bottom: 7px;
}
.review-card p {
  font-size: 14px;
  line-height: 1.4;
  color: #415045;
}
.switcher {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
  border: 1px solid #a6b39a;
  background: #eaf0df;
  border-radius: 28px;
  width: max-content;
  max-width: 100%;
  padding: 3px;
  margin: 19px auto 0;
}
.switcher button {
  font-size: 12px;
  font-weight: 700;
  border: 0;
  border-radius: 20px;
  background: none;
  padding: 7px 13px;
  color: #394b3e;
  line-height: 1.2;
}
.switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.switcher button:hover:not([aria-pressed="true"]) {
  background: #dce5d2;
}
.terminal {
  padding: 23px;
}
.term-heading {
  color: #d6dfaf;
  font-size: 10px;
}
.terminal p {
  font: 13px/1.65 var(--mono);
  padding: 16px 0;
}
.terminal button {
  color: #f5f6ea;
  border: 1px solid #92a890;
  border-radius: 5px;
  padding: 5px 10px;
  background: #344f3d;
  font-size: 13px;
}
.copy-feedback {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
.flow {
  color: #f7f9ef;
  background: var(--forest);
  padding: clamp(45px, 5.7vw, 85px) 0;
}
.flow .overline {
  color: #d0e3b4;
}
.section-heading h2,
.endcap h2,
.read-section h2 {
  font-size: clamp(39px, 4.6vw, 70px);
  letter-spacing: -0.035em;
}
.section-heading h2 {
  margin: 17px 0 31px;
}
.steps,
.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(25px, 4vw, 65px);
}
.steps article {
  border-top: 1px solid #93a59077;
  padding-top: 17px;
}
.step-icon {
  color: var(--yellow);
  font: 30px/1 var(--mono);
}
.steps h3,
.guide-cards h3 {
  font-size: clamp(21px, 2.05vw, 31px);
  letter-spacing: -0.025em;
  margin: 15px 0 10px;
}
.steps p {
  color: #d6e2d6;
}
.flow .text-link {
  color: var(--yellow);
  margin-top: 33px;
}
.endcap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: clamp(48px, 6vw, 90px);
}
.endcap h2 {
  max-width: 780px;
}
footer {
  border-top: 1px solid var(--rule);
  justify-content: space-between;
  padding-block: 27px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer .brand {
  font-size: 21px;
}
footer .brand img {
  width: 30px;
  height: 30px;
}
.intro h1 {
  font-size: clamp(58px, 6.7vw, 100px);
  max-width: 850px;
  line-height: 0.97;
}
.review-hero .lede {
  max-width: 495px;
}
.read-section {
  padding-block: 48px;
  background: #edf0e3;
  border-block: 1px solid var(--rule);
}
.read-section h2 {
  margin-bottom: 25px;
}
.guide-cards h3 {
  font-size: 24px;
}
.guide-cards p,
.guide-list p,
.faq-list p,
.subnote {
  color: var(--quiet);
}
.subnote {
  margin-top: 30px;
  max-width: 820px;
  font-size: 15px;
}
.reading {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(32px, 6vw, 100px);
  padding-block: clamp(50px, 6.3vw, 95px);
}
.reading .intro {
  position: sticky;
  top: 32px;
}
.guide-list,
.faq-list {
  border-top: 2px solid var(--ink);
}
.guide-list article,
.faq-list details {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.guide-list h2 {
  font-size: clamp(23px, 2.35vw, 32px);
  letter-spacing: -0.045em;
  margin-bottom: 10px;
}
.guide-list p,
.faq-list p {
  font-size: 17px;
}
.guide-list .button,
.guide-list .text-link {
  margin-top: 16px;
}
.guide-list details {
  margin-top: 13px;
}
.guide-list summary,
.faq-list summary {
  font-weight: 650;
  cursor: pointer;
}
.guide-list details p,
.faq-list details p {
  padding-top: 12px;
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.faq-list summary::after {
  content: "+";
  font: 21px var(--mono);
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
@media (max-width: 940px) {
  .wrap {
    padding-inline: 30px;
  }
  .site-head::after {
    left: 30px;
    right: 30px;
  }
  .hero,
  .review-hero {
    gap: 28px;
    grid-template-columns: 0.94fr 1.06fr;
  }
  .lab {
    padding-inline: 19px;
  }
  h1 {
    font-size: clamp(65px, 8.4vw, 80px);
  }
  .lab-body {
    min-height: 275px;
  }
  .reading {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
@media (max-width: 720px) {
  .wrap {
    padding-inline: 21px;
  }
  .site-head {
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 13px;
    padding-block: 15px 11px;
  }
  .site-head::after {
    left: 21px;
    right: 21px;
  }
  .site-head nav {
    margin: 0;
    grid-column: 1/-1;
    grid-row: 2;
    gap: 22px;
  }
  .site-head nav a,
  .head-app,
  footer a {
    font-size: 14px;
  }
  .head-app {
    grid-column: 2;
    grid-row: 1;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .hero,
  .review-hero,
  .reading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 33px;
    padding-block: 39px;
  }
  .hero h1 {
    font-size: clamp(69px, 13vw, 92px);
  }
  .hero h1 br:first-child {
    display: none;
  }
  .hero h1 br:first-child::after {
    content: " ";
  }
  .hero h1 {
    max-width: 490px;
  }
  .actions {
    gap: 20px;
    margin-top: 22px;
  }
  h1 {
    margin: 18px 0 20px;
  }
  .lab {
    width: 100%;
    max-width: 520px;
    padding: 20px 22px;
  }
  .lab figcaption {
    margin-bottom: 17px;
  }
  .lab-body {
    min-height: auto;
  }
  .lab-body > section {
    min-height: 250px;
  }
  .switcher {
    margin-top: 17px;
  }
  pre {
    font-size: 12px;
  }
  .steps,
  .guide-cards {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .steps article {
    padding-left: 45px;
    position: relative;
  }
  .step-icon {
    position: absolute;
    left: 0;
    top: 24px;
  }
  .steps h3 {
    margin: 2px 0 6px;
  }
  .guide-cards h3 {
    margin-top: 0;
  }
  .endcap {
    align-items: flex-start;
    flex-direction: column;
  }
  .endcap h2 {
    max-width: 500px;
  }
  .reading .intro {
    position: static;
  }
  .reading .intro h1 br {
    display: none;
  }
  .review-hero .intro h1 {
    font-size: 65px;
  }
  .read-section {
    padding-block: 35px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  footer nav {
    gap: 11px 18px;
  }
  .faq-list summary {
    font-size: 18px;
  }
}
@media (max-width: 375px) {
  .wrap {
    padding-inline: 16px;
  }
  .site-head::after {
    left: 16px;
    right: 16px;
  }
  .lab {
    padding-inline: 13px;
  }
  .switcher button {
    padding-inline: 10px;
  }
  .actions {
    gap: 12px;
  }
}

.site-footer {
  display: block;
  background: #14251d;
  color: #f8f8ef;
  padding: 0;
  border: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: clamp(15px, 2.1vw, 40px);
  padding-block: clamp(36px, 5vw, 75px);
}
.footer-intro p {
  max-width: 24ch;
  color: #c6d0bf;
  font-size: 15px;
  margin-top: 14px;
}
.site-footer .brand {
  font-size: 26px;
}
.site-footer .brand img {
  width: 40px;
  height: 40px;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.site-footer nav h2 {
  font: 600 11px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #c6d0bf;
  margin: 6px 0 8px;
}
.site-footer nav a {
  font-size: 15px;
  font-weight: 500;
}
.site-footer a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-wordmark {
  color: #fffc00;
  font-size: clamp(66px, 17.7vw, 250px);
  font-weight: 740;
  line-height: 0.92;
  letter-spacing: -0.05em;
  padding: 6px 0 18px;
  border-top: 1px solid #536358;
}
.footer-wordmark span {
  color: #90aa94;
}
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 17px 26px;
  border-top: 1px solid #536358;
}
.footer-meta,
.footer-meta a {
  font: 500 12px var(--mono);
  color: #d6decd;
}
@media (max-width: 940px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer-intro {
    grid-column: 1/-1;
  }
  .footer-intro p {
    max-width: 40ch;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }
  .site-footer nav {
    gap: 6px;
  }
  .footer-wordmark {
    padding: 12px 0;
  }
  .footer-meta,
  .footer-meta a {
    font-size: 11px;
  }
}
