@font-face {
  font-family: "Gabarito";
  src: url("./fonts/gabarito-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fffdf6;
  --ink: #392e33;
  --accent: #9d274b;
  --muted: #716269;
  --hero: #f3e36b;
  --line: #dbd2c3;
  --sheet: #fffdf6;
  --surface: #faf3c2;
  --tab: #e9d965;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #261f24;
  --ink: #faf4e6;
  --accent: #f0a5bc;
  --muted: #c4b5bc;
  --hero: #3a3035;
  --line: #58464f;
  --sheet: #261f24;
  --surface: #3a3035;
  --tab: #514149;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #261f24;
    --ink: #faf4e6;
    --accent: #f0a5bc;
    --muted: #c4b5bc;
    --hero: #3a3035;
    --line: #58464f;
    --sheet: #261f24;
    --surface: #3a3035;
    --tab: #514149;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Gabarito", system-ui, sans-serif;
  font-size: 17px;
  font-synthesis: style;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
a {
  color: var(--accent);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
code,
pre {
  font-family: var(--font-mono);
}
code {
  font-size: 0.83em;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: var(--accent);
  color: var(--paper);
}
.wrap {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 10px 16px;
  background: var(--paper);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  text-decoration: none;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.clip-mark {
  flex: none;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.header-nav a:hover {
  color: var(--accent);
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
}
.theme-toggle:hover {
  color: var(--accent);
}
.hero {
  padding-block: 64px 56px;
  background: var(--hero);
}
.hero-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 56px;
}
h1 {
  font-size: clamp(64px, 8.4vw, 112px);
  letter-spacing: -0.065em;
  line-height: 0.94;
}
.hero-copy {
  max-width: 340px;
  padding-bottom: 4px;
}
.hero-copy > p:first-child {
  font-size: 20px;
  line-height: 1.45;
}
.hero-copy .button {
  margin-top: 24px;
}
.hero-footnote {
  margin-top: 16px;
  font-size: 13px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  color: var(--paper);
  background: var(--accent);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition:
    transform 140ms ease,
    background 140ms ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.button[aria-disabled="true"] {
  cursor: default;
  transform: none;
}
.demo-heading {
  margin-bottom: 20px;
  font-size: 16px;
}
.example-picker {
  display: flex;
  align-items: end;
}
.example-picker button {
  min-height: 44px;
  min-width: 100px;
  padding: 10px 24px;
  border: 0;
  border-radius: 8px 8px 0 0;
  color: var(--ink);
  background: var(--tab);
  font-size: 15px;
}
.example-picker button + button {
  margin-left: 4px;
}
.example-picker button[aria-pressed="true"] {
  background: var(--sheet);
  color: var(--accent);
}
.example-picker button:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sample-sheet {
  position: relative;
  padding: 32px 36px 20px;
  border-radius: 0 8px 8px 8px;
  background: var(--sheet);
}
.sample-sheet::after {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  width: 14px;
  height: 36px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  opacity: 0;
  transform: translateY(-12px);
  transition:
    transform 180ms ease-out,
    opacity 180ms ease-out;
}
.sample-sheet.is-saved::after {
  opacity: 1;
  transform: translateY(0);
}
.sample-clip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 64px;
  min-height: 145px;
}
.sample-source {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}
.sample-clip h2 {
  max-width: 390px;
  font-size: 32px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.sample-clip h2 a {
  color: var(--ink);
  text-decoration: none;
}
.sample-clip h2 a:hover {
  text-decoration: underline;
}
.sample-annotation {
  padding-top: 3px;
  max-width: 370px;
  font-size: 18px;
}
.sample-tag {
  display: block;
  color: var(--muted);
  margin-top: 16px;
  font-size: 13px;
}
.demo-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.demo-command {
  min-width: 0;
  max-width: 60%;
  color: var(--ink);
  overflow-wrap: anywhere;
  font-size: 14px;
}
.demo-save {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}
.demo-save p {
  font-size: 13px;
  color: var(--ink);
}
.save-button {
  min-height: 44px;
  min-width: 104px;
  padding: 8px 14px;
  gap: 8px;
  font-size: 14px;
}
.save-button svg {
  flex: none;
}
.save-button[aria-disabled="true"] {
  background: transparent;
  color: var(--accent);
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-block: 88px;
}
h2 {
  font-size: clamp(32px, 3.5vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.07;
}
.story-copy {
  max-width: 490px;
  color: var(--muted);
  font-size: 18px;
}
.story-copy p + p {
  margin-top: 18px;
}
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 16px;
}
.setup {
  padding-top: 56px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 15px;
}
.setup-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.setup-steps li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 80px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.step-copy {
  display: flex;
  align-items: start;
  gap: 24px;
}
.step-number {
  flex: 0 0 24px;
  padding-top: 3px;
  color: var(--accent);
  font-size: 17px;
}
h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.step-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}
.step-copy a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
}
.command-block {
  position: relative;
  min-width: 0;
  padding: 22px;
  border-radius: 5px;
  background: var(--surface);
}
pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.75;
}
pre code {
  font-size: inherit;
}
.command-block pre {
  padding-right: 36px;
}
.copy-button {
  position: absolute;
  top: 9px;
  right: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 5px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
}
.copy-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.setup-note {
  padding: 4px 0 0 22px;
  border-left: 2px solid var(--accent);
  min-width: 0;
}
.setup-note pre {
  color: var(--accent);
}
.setup-note p {
  max-width: 340px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.setup-footnote {
  max-width: 630px;
  margin: 0 0 0 48px;
  color: var(--muted);
  font-size: 13px;
}
.setup-footnote a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  margin-top: 4px;
}
.questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-block: 100px 88px;
}
.question-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding-block: 12px;
  list-style: none;
  font-size: 18px;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 150ms ease;
}
details[open] summary > span {
  transform: rotate(45deg);
}
details > div {
  padding: 0 20px 24px 0;
  color: var(--muted);
  font-size: 16px;
}
details a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 24px 32px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  text-align: left;
}
.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.site-footer .author-link {
  color: var(--accent);
  text-decoration: underline;
}
.commit-link {
  font-family: var(--font-mono);
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .hero-heading {
    gap: 40px;
    grid-template-columns: 1.3fr 1fr;
  }
  .hero-copy > p:first-child {
    font-size: 18px;
  }
  .sample-clip,
  .story,
  .setup-steps li,
  .questions {
    gap: 40px;
  }
  .demo-save {
    gap: 12px;
  }
  .demo-save p {
    max-width: 95px;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 84px;
    gap: 12px;
  }
  .wordmark {
    font-size: 27px;
    gap: 8px;
  }
  .wordmark svg {
    width: 28px;
    height: 28px;
  }
  .header-nav {
    gap: 14px;
  }
  .header-nav a {
    font-size: 14px;
  }
  .hero {
    padding-block: 44px 32px;
  }
  .hero-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }
  h1 {
    font-size: clamp(64px, 13vw, 88px);
  }
  .hero-copy {
    max-width: 410px;
  }
  .hero-copy .button {
    margin-top: 20px;
  }
  .demo-heading {
    font-size: 15px;
  }
  .sample-sheet {
    padding: 24px 22px 20px;
  }
  .sample-clip {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 280px;
    padding-bottom: 24px;
  }
  .sample-clip h2 {
    font-size: 30px;
    max-width: 400px;
  }
  .sample-annotation {
    font-size: 17px;
  }
  .sample-tag {
    margin-top: 10px;
  }
  .demo-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .demo-command {
    max-width: none;
    font-size: 13px;
  }
  .demo-save {
    justify-content: space-between;
  }
  .demo-save p {
    max-width: none;
  }
  .story,
  .questions {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 56px;
  }
  .story-copy {
    font-size: 17px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading > p {
    margin-top: 24px;
  }
  .setup {
    padding-top: 40px;
  }
  .setup-steps li {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 28px;
  }
  .step-copy {
    gap: 16px;
  }
  .command-block,
  .setup-note {
    margin-left: 40px;
  }
  .setup-footnote {
    margin-left: 40px;
  }
  h2 {
    font-size: 36px;
  }
  .footer-links {
    font-size: 13px;
  }
}
@media (max-width: 370px) {
  .header-nav {
    gap: 10px;
  }
  .header-nav a {
    font-size: 12px;
  }
  .wordmark {
    font-size: 24px;
    gap: 5px;
  }
  .wordmark svg {
    width: 20px;
    height: 20px;
  }
  .theme-toggle {
    width: 36px;
  }
  .command-block,
  .setup-note,
  .setup-footnote {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
