@font-face { font-family: "Instrument Sans"; src: url("../../assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../../assets/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #eeeee9;
  --bg-2: #e3e3dc;
  --ink: #0e0e0c;
  --ink-2: #44443e;
  --line: #c9c9c0;
  --lime: #c8f031;
  --ok: #17663a;
  --warn: #8a4b00;
  --code-bg: #0e0e0c;
  --code-ink: #e9e9e2;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --col: calc((min(100vw, 82rem) - 2 * var(--pad)) / 12);
  --pad: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body, h1, h2, h3, p, ul, ol, figure, pre, fieldset { margin: 0; }
ul, ol { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
svg { display: block; }

body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
p, li { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; }
code { font-family: var(--mono); font-size: 0.88em; }
p code, li code { background: var(--bg-2); padding: 0.05em 0.3em; border: 1px solid var(--line); }
.mono { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 99; background: var(--lime); color: var(--ink); padding: 0.75rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }

.shell { max-width: 82rem; margin: 0 auto; padding-inline: var(--pad); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 1.25rem;
  font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; background: none; line-height: 1.2;
}
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: #2c2c27; }
.btn--lime { background: var(--lime); }
.btn--lime:hover { background: #b6dd1f; }
.btn--line:hover { background: var(--ink); color: var(--bg); }

.eyebrow { font-family: var(--mono); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 0.625rem; height: 0.625rem; background: var(--lime); outline: 1.5px solid var(--ink); }

h1, h2 { font-weight: 600; letter-spacing: -0.035em; font-stretch: 85%; }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.02; max-width: 22ch; text-wrap: balance; }
h3 { font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.25; }
section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); border-top: 1.5px solid var(--ink); }
.head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.head > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); max-width: 46ch; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1.5px solid var(--ink); }
.top__bar { display: flex; align-items: center; gap: 2rem; min-height: 4rem; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.375rem; letter-spacing: -0.04em; text-decoration: none; font-stretch: 85%; }
.logo svg { width: 1.75rem; height: 1.75rem; }
.logo rect { fill: var(--ink); }
.logo path { fill: none; stroke: var(--lime); stroke-width: 3; }
.top__nav { display: flex; gap: 1.5rem; }
.top__nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding-block: 0.75rem; }
.top__nav a:hover { text-decoration: underline; }
.top__cta { margin-left: auto; min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
@media (max-width: 52em) { .top nav { display: none; } }

/* hero */
.hero {
  border-top: 0; padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(var(--col) - 1px), rgba(14, 14, 12, 0.07) calc(var(--col) - 1px) var(--col));
  background-position: var(--pad) 0;
}
@media (min-width: 82rem) { .hero { background-position: calc((100vw - 82rem) / 2 + var(--pad)) 0; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 64em) { .hero__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.hero h1 { font-size: clamp(2.75rem, 1.5rem + 5.2vw, 5.5rem); line-height: 0.95; text-wrap: balance; }
.hero__lede { margin-top: 1.5rem; font-size: 1.25rem; line-height: 1.5; max-width: 34ch; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__fine { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); }

.console { background: var(--bg); border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); min-width: 0; }
.console__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.5rem 0.5rem 1rem; border-bottom: 1.5px solid var(--ink); background: var(--lime); font-weight: 600; font-size: 0.9375rem; }
.console__pause { background: var(--bg); border: 1.5px solid var(--ink); padding: 0.375rem 0.75rem; font-size: 0.8125rem; cursor: pointer; min-height: 2.25rem; min-width: 5rem; }
.console__pause[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.console__scroll { overflow: hidden; }
.log { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.8125rem; }
.log th { text-align: left; font-weight: 500; color: var(--ink-2); padding: 0.625rem 1rem 0.5rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.log td { padding: 0.5rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.log .num { text-align: right; }
.log tr.is-new td { animation: arrive 0.6s ease-out; }
@keyframes arrive { from { background: var(--lime); } to { background: transparent; } }
.st { display: inline-block; font-weight: 600; }
.st::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.375rem; vertical-align: 0.05em; }
.st--ok { color: var(--ok); }
.st--ok::before { background: var(--ok); }
.st--retry { color: var(--warn); }
.st--retry::before { background: transparent; border: 1.5px solid var(--warn); }
.console__foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 0.75rem 1rem; font-size: 0.8125rem; color: var(--ink-2); }
.console__foot b { color: var(--ink); font-weight: 700; }
@media (max-width: 40em) {
  .log th:nth-child(3), .log td:nth-child(3), .log th:nth-child(5), .log td:nth-child(5) { display: none; }
  .log th, .log td { padding-inline: 0.75rem; }
  .console { box-shadow: 5px 5px 0 var(--ink); margin-right: 5px; }
}
@media (max-width: 26em) {
  .log th:first-child, .log td:first-child { display: none; }
  .log { font-size: 0.8125rem; }
}

/* how */
.pipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); border: 1.5px solid var(--ink); }
.pipe li { padding: 1.5rem; position: relative; background: var(--bg); }
.pipe li + li { border-top: 1.5px solid var(--ink); }
@media (min-width: 60em) {
  .pipe li + li { border-top: 0; border-left: 1.5px solid var(--ink); }
  .pipe li + li::before { content: ""; position: absolute; left: -0.6rem; top: 1.75rem; width: 1rem; height: 1rem; background: var(--lime); border: 1.5px solid var(--ink); transform: rotate(45deg); }
}
.pipe__n { display: block; font-size: 0.8125rem; margin-bottom: 2.5rem; }
.pipe h3 { margin-bottom: 0.5rem; }
.pipe p { color: var(--ink-2); font-size: 1rem; }

/* code */
.code { background: var(--bg-2); }
.code__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 64em) { .code__grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.checks { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.checks li { padding: 0.625rem 0 0.625rem 1.75rem; border-bottom: 1px solid var(--line); position: relative; font-size: 1rem; }
.checks li::before { content: ""; position: absolute; left: 0.125rem; top: 1.05em; width: 0.75rem; height: 0.4rem; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

.tabs { border: 1.5px solid var(--ink); background: var(--code-bg); color: var(--code-ink); min-width: 0; }
.tabs__bar { display: flex; justify-content: space-between; align-items: stretch; border-bottom: 1.5px solid var(--ink); background: var(--bg); color: var(--ink); }
[role="tablist"] { display: flex; }
[role="tab"] { background: none; border: 0; border-right: 1.5px solid var(--ink); padding: 0.75rem 1.125rem; font-weight: 600; font-size: 0.9375rem; cursor: pointer; min-height: 2.875rem; }
[role="tab"][aria-selected="true"] { background: var(--ink); color: var(--lime); }
[role="tab"]:hover:not([aria-selected="true"]) { background: var(--bg-2); }
[role="tab"]:focus-visible { outline-offset: -4px; box-shadow: none; outline-color: var(--lime); }
.copy { background: none; border: 0; border-left: 1.5px solid var(--ink); padding: 0 1rem; font-size: 0.8125rem; cursor: pointer; min-width: 4.5rem; }
@media (max-width: 26em) { [role="tab"] { padding-inline: 0.75rem; } .copy { padding-inline: 0.625rem; min-width: 0; } }
.copy:hover { background: var(--lime); }
[role="tabpanel"] { overflow-x: auto; }
[role="tabpanel"]:focus-visible { outline-color: var(--lime); outline-offset: -4px; box-shadow: none; }
pre { padding: 1.5rem; font-family: var(--mono); font-size: 0.875rem; line-height: 1.7; tab-size: 2; }
pre code { font-size: inherit; }
.c { color: #a3a399; }
.k { color: var(--lime); }
.s { color: #f3c98b; }
.n { color: #9fd3ff; }
.copy__status { min-height: 0; padding: 0 1.5rem; font-size: 0.8125rem; color: var(--lime); }
.copy__status:not(:empty) { padding-bottom: 1rem; }

/* compare */
.scroll-x { overflow-x: auto; }
.scroll-x:focus-visible { outline-offset: 0; }
.matrix { width: 100%; border-collapse: collapse; min-width: 44rem; border: 1.5px solid var(--ink); }
.matrix th, .matrix td { text-align: left; vertical-align: top; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.matrix thead th { background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; border: 0; }
.matrix tbody th { font-weight: 600; width: 26%; }
.matrix td:nth-child(2) { color: var(--ink-2); width: 32%; }
.matrix td:nth-child(3) { background: rgba(200, 240, 49, 0.22); }
.yes { display: block; font-family: var(--mono); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.25rem; }

/* pricing */
.head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.billing { display: inline-flex; border: 1.5px solid var(--ink); }
.billing label { position: relative; cursor: pointer; }
.billing input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.billing span { display: block; padding: 0.625rem 1rem; font-weight: 600; font-size: 0.9375rem; min-height: 2.75rem; }
.billing label + label span { border-left: 1.5px solid var(--ink); }
.billing input:checked + span { background: var(--ink); color: var(--bg); }
.billing input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: -5px; }
.billing em { font-style: normal; font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; margin-left: 0.25rem; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); border: 1.5px solid var(--ink); }
.plan { padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; position: relative; }
.plan + .plan { border-top: 1.5px solid var(--ink); }
@media (min-width: 58em) { .plan + .plan { border-top: 0; border-left: 1.5px solid var(--ink); } }
.plan--pick { background: var(--lime); }
.plan__tag { font-size: 0.8125rem; text-transform: uppercase; font-weight: 600; }
.plan h3 { font-size: 1.5rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.25rem; }
.amt { font-size: 3rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-stretch: 85%; font-variant-numeric: tabular-nums; }
.per { color: var(--ink-2); font-size: 0.9375rem; }
.plan--pick .per, .plan--pick .plan__desc { color: var(--ink); }
.plan__desc { color: var(--ink-2); font-size: 1rem; }
.plan ul { border-top: 1px solid var(--line); margin-bottom: 1rem; flex: 1; }
.plan--pick ul { border-color: rgba(14,14,12,.3); }
.plan ul li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.plan--pick ul li { border-color: rgba(14,14,12,.3); }
.plan .btn { width: 100%; }
.plan--pick .btn--line { border-color: var(--ink); }
.pricing__note { margin-top: 1.25rem; color: var(--ink-2); font-size: 1rem; }
.demo-note { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; }

/* cta + footer */
.cta { background: var(--lime); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.cta h2 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); max-width: 16ch; line-height: 0.98; }
.foot { border-top: 1.5px solid var(--ink); padding-block: 2rem; font-size: 0.9375rem; color: var(--ink-2); }
.foot__grid { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.logo--small { font-size: 1.125rem; color: var(--ink); }
.logo--small svg { width: 1.25rem; height: 1.25rem; }
.foot a { color: var(--ink); display: inline-block; padding-block: 0.5rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .eyebrow::before, .plan--pick { forced-color-adjust: none; } }
