:root {
  --ink: #17181c;
  --dim: #5d6270;
  --faint: #8a8f9c;
  --line: #e4e5ea;
  --page: #ffffff;
  --panel: #f6f6f8;
  --band: #faf7f5;
  --accent: #e85a2e;
  --accent-ink: #c2441c;
  --accent-soft: rgba(232, 90, 46, .1);
  --code-bg: #fbfbfc;
  --shadow: 0 1px 2px rgba(20, 22, 30, .06), 0 12px 40px rgba(20, 22, 30, .12);

  --t-comment: #8a8f9c;
  --t-separator: #17181c;
  --t-method: #1f9d55;
  --t-directive: #9b3fc7;
  --t-keyword: #d6336c;
  --t-interp: #d9730d;
  --t-string: #c2371b;
  --t-number: #2563eb;
  --t-header: #0f8b8d;
  --t-pass: #1f9d55;
  --t-fail: #d63031;

  --max: 72rem;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceef3;
    --dim: #a3a9b7;
    --faint: #767c8a;
    --line: #272a32;
    --page: #101114;
    --panel: #17191e;
    --band: #141518;
    --accent: #f8734a;
    --accent-ink: #ff9470;
    --accent-soft: rgba(248, 115, 74, .14);
    --code-bg: #15171b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 48px rgba(0, 0, 0, .45);

    --t-comment: #767c8a;
    --t-separator: #eceef3;
    --t-method: #4ad07f;
    --t-directive: #c98cf0;
    --t-keyword: #ff6b9a;
    --t-interp: #ffab5e;
    --t-string: #ff7b63;
    --t-number: #7aa7ff;
    --t-header: #48c9c4;
    --t-pass: #4ad07f;
    --t-fail: #ff6b6b;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
code, pre { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }
:not(pre) > code {
  font-size: .86em;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .08em .35em;
  white-space: nowrap;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; max-width: 22em; }
h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.wrap.wide { max-width: 82rem; }

/* Navigation */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--page) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.top nav { display: flex; align-items: center; gap: 1.5rem; height: 3.5rem; font-size: .92rem; overflow-x: auto; }
.top nav a { color: var(--dim); white-space: nowrap; }
.top nav a:hover { color: var(--ink); text-decoration: none; }
.top .brand { display: inline-flex; align-items: center; gap: .5rem; margin-right: auto; color: var(--ink); font-weight: 650; font-size: 1rem; }
.top .github { color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .8rem; }

/* Hero */
.hero { padding: 4.5rem 0 3rem; background: radial-gradient(60rem 30rem at 50% -8rem, var(--accent-soft), transparent 70%); }
.hero-grid { text-align: center; }
.hero-text { max-width: 46rem; margin: 0 auto; }
.app-icon { margin: 0 auto 1.5rem; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 750; letter-spacing: -.035em; margin-bottom: 1.2rem; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--dim); line-height: 1.55; }
.actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 1rem; }
.button {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.3rem;
  border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; background: var(--page);
}
.button:hover { text-decoration: none; border-color: var(--faint); color: var(--ink); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.fine { font-size: .88rem; color: var(--faint); }
.actions.left { justify-content: flex-start; margin-top: 0; }
.button.disabled { opacity: .85; cursor: default; }
.button.primary.disabled:hover { background: var(--accent); border-color: var(--accent); }
.hero .window { margin-top: 3rem; }

/* Screenshots */
figure { margin: 0; }
.window img, .shot.framed {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
}
.panel { display: flex; align-items: flex-start; }

/* Sections */
section { padding: 5.5rem 0; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lede { color: var(--dim); font-size: 1.1rem; max-width: 44rem; margin-bottom: 2.5rem; }
.label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 0 0 .5rem; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.showcase .copy { max-width: 44rem; margin-bottom: 2.5rem; }
.showcase .two .copy { margin-bottom: 0; }
.showcase .copy p { color: var(--dim); font-size: 1.05rem; }
.window.below { margin-top: 3rem; }
.showcase .two { align-items: center; }
.alt { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Features */
.features h2 { margin-bottom: 2.5rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; }
.feature p { color: var(--dim); font-size: .95rem; margin: 0; }
.glyph {
  width: 2.2rem; height: 2.2rem; border-radius: 10px; display: grid; place-items: center; margin-bottom: .9rem;
  background: var(--accent-soft); color: var(--accent); font: 600 .95rem ui-monospace, "SF Mono", Menlo, monospace;
}

/* Code */
pre.code {
  margin: 0; padding: 1.1rem 1.2rem; overflow-x: auto;
  background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .82rem; line-height: 1.6; tab-size: 2;
}
pre.code.shell { font-size: .78rem; background: #16171b; border-color: #16171b; color: #e6e8ee; }
pre.code.shell .t-dim { color: #7c8190; }
pre.code.shell .t-command { color: #ff9470; font-weight: 600; }
pre.code.shell .t-pass { color: #4ad07f; }
pre.code.shell .t-fail { color: #ff6b6b; }
pre.code.shell .t-strong { color: #ffffff; font-weight: 600; }
.t-comment { color: var(--t-comment); font-style: italic; }
.t-separator { color: var(--t-separator); font-weight: 700; }
.t-method { color: var(--t-method); font-weight: 700; }
.t-directive { color: var(--t-directive); }
.t-keyword { color: var(--t-keyword); font-weight: 600; }
.t-interp { color: var(--t-interp); }
.t-string { color: var(--t-string); }
.t-number { color: var(--t-number); }
.t-header { color: var(--t-header); }
.t-dim { color: var(--faint); }

/* Tables */
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .9rem; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); font-weight: 600; background: var(--panel); }
td:first-child { white-space: nowrap; }
td :not(pre) > code { white-space: nowrap; }

/* Get it */
.get pre.code { max-width: 46rem; margin-bottom: 1.5rem; }

/* Documentation */
.docs { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; padding-top: 3rem; padding-bottom: 5rem; }
.toc nav { position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow-y: auto; padding-right: .5rem; }
.toc ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.toc li a { display: block; padding: .22rem 0; color: var(--dim); }
.toc li a:hover { color: var(--ink); text-decoration: none; }
.toc li.l3 a { padding-left: .9rem; font-size: .85rem; color: var(--faint); }
.prose { min-width: 0; }
.prose h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 750; letter-spacing: -.03em; }
.prose h2 { max-width: none; font-size: 1.7rem; margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.2rem; margin-top: 2.2rem; }
.prose h2 .anchor, .prose h3 .anchor { color: inherit; }
.prose h2 .anchor:hover, .prose h3 .anchor:hover { text-decoration: none; color: var(--accent); }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 88%, var(--dim)); }
.prose pre.code, .prose .table { margin: 1.2rem 0 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose li { margin: .25rem 0; }
.kicker { color: var(--accent); font-weight: 650; font-size: .9rem; margin-bottom: .4rem; }
.narrow { max-width: 42rem; padding-top: 4rem; padding-bottom: 5rem; }
.narrow h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }

/* Footer */
.bottom { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--faint); font-size: .9rem; }
.bottom p { margin: 0; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  section { padding: 3.5rem 0; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .toc nav { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
  .top nav { gap: 1rem; }
  .top nav a:not(.brand):not(.github) { display: none; }
  .hero { padding-top: 3rem; }
}
