@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #f5f3ee; --bg-2: #eeebe3; --panel: #fbfaf7; --raise: #ffffff;
  --ink: #15140f; --ink-2: #3b3930; --muted: #6e6a5f; --faint: #a8a396;
  --line: #dcd8cd; --line-2: #e8e4da;
  --accent: #157a49; --accent-ink: #0f5d38; --accent-bg: #d6ebdd; --accent-hi: #8fd3a8;
  --work: #a8670d; --work-bg: #f5e5c6; --open: #dedace; --tried: #cfc6a8;
  --term: #141310; --term-2: #1c1b17; --term-ink: #ebe9e1; --term-muted: #8f8b80; --term-line: #2b2a25;
  --btn-ink: #f5f3ee;
  --shadow: 0 1px 0 var(--line-2), 0 40px 80px -48px rgba(20, 18, 10, .5);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c0a; --bg-2: #121210; --panel: #131311; --raise: #191916;
    --ink: #edece6; --ink-2: #c7c5bc; --muted: #8f8b80; --faint: #57544c;
    --line: #272621; --line-2: #1d1c19;
    --accent: #4fcf8c; --accent-ink: #86e3b0; --accent-bg: #10301f; --accent-hi: #23774a;
    --work: #e5b04b; --work-bg: #33260e; --open: #24231f; --tried: #463f2f;
    --term: #0f0f0d; --term-2: #161613; --term-line: #252520;
    --btn-ink: #0c0c0a;
    --shadow: 0 1px 0 var(--line-2), 0 40px 90px -40px rgba(0, 0, 0, .85);
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ol, ul, dl, figure { margin: 0; }
a { color: inherit; }
code, pre, kbd { font-family: var(--mono); }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent-bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ header */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line-2); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 15.5px/1 var(--mono); letter-spacing: -.01em; }
.brand svg { width: 18px; height: 18px; fill: var(--accent); flex: none; }
.brand svg .hollow { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.brand b { font-weight: 500; color: var(--accent); }
.links { display: flex; align-items: center; gap: 2px; }
.links a { text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 7px 11px; border-radius: 8px; transition: background .15s, color .15s; }
.links a:hover { color: var(--ink); background: var(--bg-2); }
.links .cta { margin-left: 6px; background: var(--ink); color: var(--btn-ink); font-weight: 500; }
.links .cta:hover { background: var(--ink-2); color: var(--btn-ink); }
@media (max-width: 640px) { .links a:not(.cta) { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero { padding: 72px 0 0; position: relative; }
@media (min-width: 900px) { .hero { padding-top: 104px; } }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 760px; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 55% at 50% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 72%); }
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font: 500 12.5px/1 var(--mono); color: var(--muted); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.hero h1 { margin-top: 24px; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { margin-top: 20px; font-size: clamp(16.5px, 1.5vw, 19px); color: var(--ink-2); max-width: 33em; text-wrap: balance; }
.hero .install { margin-top: 34px; width: min(540px, 100%); justify-items: center; }
.hero .install .cmd { width: 100%; text-align: left; }
.install { display: grid; gap: 9px; }
.os { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); justify-self: start; }
.hero .os { justify-self: center; }
.os button { font: 500 13px/1 var(--sans); color: var(--muted); padding: 7px 11px; border-radius: 7px; transition: background .15s, color .15s; }
.os button.on { background: var(--ink); color: var(--btn-ink); }
.os button .st { font-weight: 400; font-size: 11px; margin-left: 4px; }
.cmd { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 15px; border-radius: 12px; background: var(--term); color: var(--term-ink); font: 13px/1.4 var(--mono); box-shadow: var(--shadow); min-width: 0; border: 1px solid var(--term-line); }
.cmd span { color: var(--term-muted); user-select: none; }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding: 10px 0; }
.cmd code::-webkit-scrollbar { display: none; }
.copy { flex: none; border: 1px solid var(--term-line); color: var(--term-ink); font: 500 12.5px/1 var(--sans); padding: 10px 13px; border-radius: 8px; transition: background .15s; }
.copy:hover { background: var(--term-line); }
.install small { font-size: 13px; color: var(--muted); }
.install small a { text-underline-offset: 3px; }

/* ------------------------------------------------------------------ sections */
section.band { padding: 72px 0; }
@media (min-width: 900px) { section.band { padding: 96px 0; } }
section.band + section.band { border-top: 1px solid var(--line-2); }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h2 { margin-top: 14px; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; max-width: 20em; text-wrap: balance; }
.head p:not(.kicker) { margin-top: 14px; color: var(--ink-2); max-width: 38em; font-size: 16.5px; }
.head { margin-bottom: 44px; }

.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; list-style: none; padding: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--panel); padding: 26px 26px 28px; display: grid; gap: 8px; align-content: start; }
.steps .n { font: 500 12.5px/1 var(--mono); color: var(--accent); }
.steps h3 { font-size: 18px; letter-spacing: -.02em; margin-top: 6px; }
.steps p { color: var(--ink-2); font-size: 15px; }

.rule { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .rule { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; } }
.pipe { display: grid; gap: 10px; }
.pipe-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.pipe-row i { width: 22px; height: 22px; border-radius: 6px; background: var(--bg-2); display: grid; place-items: center; font: 600 11px/1 var(--mono); font-style: normal; color: var(--muted); }
.pipe-row b { font-weight: 600; font-size: 15px; }
.pipe-row span { font-size: 14px; color: var(--muted); }
.pipe-row code { font-size: 12.5px; color: var(--muted); }
.pipe-row.ok { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent-bg) 55%, var(--panel)); }
.pipe-row.ok i { background: var(--accent); color: var(--btn-ink); }
.pipe-row.ok code { color: var(--accent-ink); font-weight: 500; }
.points { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
.points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.points b { color: var(--ink); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 15px; font-weight: 500; }
.chip small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 46em; }

.trio { display: grid; gap: 14px; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio div { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.trio h3 { font-size: 16.5px; letter-spacing: -.015em; margin-bottom: 8px; }
.trio p { font-size: 15px; color: var(--ink-2); }

.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 22px; color: var(--ink-2); font-size: 15.5px; max-width: 46em; }

.final { text-align: center; padding: 88px 0 96px; border-top: 1px solid var(--line-2); }
.final h2 { margin: 0 auto; }
.final .install { max-width: 520px; margin: 30px auto 0; justify-items: center; }
.final .cmd { width: 100%; }

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line-2); padding: 28px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 13.5px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot p { max-width: 44em; }

/* ------------------------------------------------------------------ simple pages (legal, 404) */
.doc { padding: 64px 0 96px; }
.doc article { max-width: 720px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1; margin-top: 12px; }
.doc h2 { font-size: 19px; letter-spacing: -.015em; margin: 36px 0 10px; max-width: none; }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.doc .updated { margin-top: 40px; font-size: 13px; color: var(--muted); }
.nf { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 14px; padding: 40px 20px; }
.nf h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.04em; }
.nf a { justify-self: center; margin-top: 10px; text-decoration: none; background: var(--ink); color: var(--btn-ink); padding: 10px 16px; border-radius: 10px; font-weight: 500; font-size: 14.5px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
#public .chips { margin-bottom: 26px; }

.ask { max-width: 640px; }
.cmd.say { background: var(--panel, transparent); color: inherit; box-shadow: none; }
.cmd.say span { color: var(--muted); }
.ask small code { font: 12.5px var(--mono); }

/* the discontinued notice */
.gone { min-height: calc(100vh - 170px); padding-top: 96px; }
.gone .head { margin-bottom: 0; }
.gone .head p a { color: var(--ink); text-underline-offset: 3px; }
