/* RunThru site: proof.
   The product's promise is evidence that a pull request works, and the place a buyer meets it is GitHub.
   So the page is a light, GitHub-native surface: ink text, one brand color that means verified (green),
   red only for bugs RunThru catches, and one dark band where the evidence is shown large.
   Type: Host Grotesk (one family, moderate weights), Geist Mono for code and timecodes. Both self-hosted. */

@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/host-grotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #ffffff;
  --canvas: #f6f7f9;
  --ink: #0e1116;
  --ink-2: #474f5b;
  --ink-3: #69707b;
  --line: #e3e6eb;
  --line-2: #d2d7de;
  --green: #0c7d43;
  --green-hi: #0a6b39;
  --green-tint: #e8f5ee;
  --red: #b8312b;
  --red-tint: #fcedec;
  --amber: #8a5a00;
  --amber-tint: #fdf3dd;
  --link: #0b5fcc;
  --night: #0e1116;
  --night-2: #171b21;
  --night-line: rgba(255, 255, 255, .1);
  --night-text: #e8eaed;
  --night-text-2: #a7adb6;

  --sans: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 144px);
  --shadow: 0 1px 2px rgba(14, 17, 22, .05), 0 24px 56px -28px rgba(14, 17, 22, .24);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code, pre, kbd { font-family: var(--mono); font-size: .86em; font-variant-ligatures: none; }
:not(pre) > code { padding: .14em .42em; border-radius: 5px; background: var(--canvas); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
::selection { background: #c9ecd8; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 10px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.tc { font-family: var(--mono); font-variant-numeric: tabular-nums; }

h1, h2, h3 { margin: 0; font-family: var(--sans); color: inherit; }
h1 { font-size: clamp(48px, 6.2vw, 80px); font-weight: 640; line-height: .98; letter-spacing: -.042em; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 630; line-height: 1.04; letter-spacing: -.034em; text-wrap: balance; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.012em; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.section { padding: var(--section) 0 0; }
.section-head { display: grid; gap: 18px; max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head p { color: var(--ink-2); font-size: 18px; max-width: 36em; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--h); padding: 0 20px; border-radius: 9px; border: 0;
  font: 600 16px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--green); color: #fff; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2), 0 1px 2px rgba(14, 17, 22, .12);
  transition: background-color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--green-hi); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn-quiet { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(14, 17, 22, .05); }
.btn-quiet:hover { background: var(--canvas); color: var(--ink); }
.btn-small { --h: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- launch banner (inside config.productHuntWindow) ---------- */
.banner { display: flex; justify-content: center; gap: 10px; align-items: center; flex-wrap: wrap; padding: 9px var(--gutter); background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500; text-align: center; }
.banner a { color: #fff; font-weight: 600; }
.banner[hidden] { display: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 650 20px/1 var(--sans); letter-spacing: -.025em; }
.brand:hover { color: var(--ink); }
.brand svg { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a:not(.btn) { display: inline-block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--ink); background: var(--canvas); }
.nav-links .btn { margin-left: 10px; }
@media (max-width: 760px) { .nav-links li:not(.nav-cta) { display: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 92px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.hero-copy { display: grid; gap: 24px; justify-items: start; padding-top: 8px; }
.hero-copy .lede code { font-size: .86em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-note { color: var(--ink-3); font-size: 14.5px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* GitHub-style comments: the two outcomes */
.stage { display: grid; gap: 16px; }
.gh { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; font-size: 14.5px; line-height: 1.5; }
.gh-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--canvas); color: var(--ink-3); font-size: 13.5px; }
.gh-head b { color: var(--ink); font-weight: 600; }
.gh-bot { width: 20px; height: 20px; border-radius: 5px; background: var(--ink); display: grid; place-items: center; flex: none; }
.gh-tag { border: 1px solid var(--line-2); border-radius: 99px; padding: 0 6px; font-size: 11.5px; line-height: 17px; }
.gh-body { padding: 14px; display: grid; gap: 12px; position: relative; }
.caught-card { margin-left: clamp(0px, 8%, 72px); }
.result { display: grid; gap: 12px; }
.eg-shot { width: 100%; height: 96px; object-fit: cover; object-position: center 30%; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 600px) { .caught-card { margin-left: 0; } }

.player { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: #0e1116; }
.player video, .player img { width: 100%; height: 100%; object-fit: cover; }
.player-sound {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 12px; border-radius: 99px; border: 0; cursor: pointer;
  background: rgba(14, 17, 22, .8); color: #fff; font: 600 13.5px/1 var(--sans);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.player-sound:hover { background: rgba(14, 17, 22, .94); }

.verdict { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 15.5px; }
.verdict svg { flex: none; }
.verdict .meta { margin-left: auto; font: 500 13px/1 var(--mono); }
.verdict-ok { background: var(--green-tint); color: var(--green); }
.verdict-bad { background: var(--red-tint); color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips button {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg); color: var(--ink-2); font: 500 13px/1.4 var(--sans); cursor: pointer;
}
.chips button:hover { border-color: var(--line-2); color: var(--ink); }
.chips button[aria-current="true"] { border-color: #a8d8bd; background: var(--green-tint); color: var(--ink); }
.chips .tc { font-size: 12px; color: var(--ink-3); }
.chips button[aria-current="true"] .tc { color: var(--ink-2); }
.caught-why { color: var(--ink-2); }
.caught-why b { color: var(--ink); font-weight: 600; }

/* The one motion: the comment arrives as "filming", then resolves to the video and verdict. Pure CSS, so it
   runs even if scripts fail; reduced motion shows the result at once. */
.filming { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .run .filming {
    display: grid; position: absolute; inset: 0; z-index: 2; place-content: center; gap: 14px; padding: 24px;
    background: var(--bg); animation: run-out .35s ease 2.7s forwards;
  }
  .run .result { animation: run-in .45s ease 2.85s both; }
  .filming p { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; visibility: hidden; animation: step-in .25s ease forwards; }
  .filming p:nth-child(1) { animation-delay: .25s; }
  .filming p:nth-child(2) { animation-delay: .8s; }
  .filming p:nth-child(3) { animation-delay: 1.35s; }
  .filming p:nth-child(4) { animation-delay: 1.9s; }
  .filming p:nth-child(5) { animation-delay: 2.35s; }
  .filming p b { color: var(--ink); font-weight: 600; }
  .filming p i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green); font-style: normal; font-size: 12px; }
}
@keyframes run-out { to { opacity: 0; visibility: hidden; } }
@keyframes run-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Steps appear without a fade so their text is never drawn at partial contrast. */
@keyframes step-in { from { visibility: visible; transform: translateY(5px); } to { visibility: visible; transform: none; } }

/* ---------- preview providers ---------- */
.works-with { margin-top: clamp(44px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; color: var(--ink-3); font-size: 15px; }
.works-with ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; }
.works-with li { color: var(--ink); font-weight: 600; letter-spacing: -.01em; }

/* ---------- the problem ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.problem p { color: var(--ink-2); font-size: 18px; }
.problem p + p { margin-top: 14px; }
.diffs { list-style: none; display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.diffs li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.diffs li b { color: var(--ink); font-weight: 600; }
.diffs svg { margin-top: 3px; color: var(--green); }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; } }

/* ---------- proof: the one dark band ---------- */
.band { margin-top: var(--section); background: var(--night); color: var(--night-text); padding: clamp(72px, 9vw, 120px) 0; }
.band h2 { color: #fff; }
.band :not(pre) > code { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.band .section-head p { color: var(--night-text-2); }
.proof { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.frame { position: relative; margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--night-line), 0 40px 90px -40px rgba(0, 0, 0, .8); }
.frame img { width: 100%; height: auto; }
.frame .hit { position: absolute; border: 2px solid #ff6b62; border-radius: 6px; box-shadow: 0 0 0 4px rgba(255, 107, 98, .25); }
.frame figcaption { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 8px; background: rgba(14, 17, 22, .86); color: #fff; font-size: 13.5px; font-weight: 600; }
.frame figcaption .tc { color: #ff8f88; font-weight: 500; }
.proof-side { display: grid; gap: 18px; }
.proof-side p { color: var(--night-text-2); }
.proof-side p b { color: #fff; font-weight: 600; }
.proof-list { list-style: none; display: grid; gap: 14px; }
.proof-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--night-text-2); }
.proof-list li b { color: #fff; font-weight: 600; }
.proof-list svg { margin-top: 4px; color: #4cc98a; }
.code { margin: 0; border-radius: 10px; overflow: hidden; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); color: #d9dde3; }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--night-line); color: #8b939e; font: 500 12.5px/1 var(--mono); }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-size: 13px; line-height: 1.65; white-space: pre; }
.code pre .k { color: #9cc2ff; }
.code pre .s { color: #96e0b8; }
.code pre .n { color: #f2c46d; }
.code pre .b { color: #4cc98a; }
.code pre .e { color: #ff8f88; }
.code figcaption { padding: 10px 14px; border-top: 1px solid var(--night-line); color: #8b939e; font-size: 13.5px; }
@media (max-width: 960px) { .proof { grid-template-columns: 1fr; } }

/* ---------- how it works: a real sequence ---------- */
.how { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.how li { counter-increment: step; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; padding: 22px; border-radius: 12px; background: var(--canvas); }
.how li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 13.5px/1 var(--mono); }
.how p { color: var(--ink-2); font-size: 16px; }
.how .eg { align-self: end; margin-top: 8px; }
.how .eg code { display: block; padding: 10px 12px; font-size: 13px; line-height: 1.5; white-space: normal; background: var(--bg); }
.how .eg .verdict { font-size: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px #bfe3cf; }
.how-more { margin-top: 18px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }

/* ---------- who watches ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.watch article { display: grid; gap: 14px; align-content: start; padding: 26px; border-radius: 12px; border: 1px solid var(--line); }
.watch h3 { font-size: 24px; font-weight: 630; letter-spacing: -.025em; }
.watch p { color: var(--ink-2); }
.watch ul { list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 15.5px; }
.watch li { position: relative; padding-left: 20px; }
.watch li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.reel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .32fr); gap: 16px; margin-top: 16px; align-items: start; }
.reel figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.reel video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #0e1116; }
.reel .tall video { aspect-ratio: 9 / 16; }
.reel figcaption { font-size: 14px; color: var(--ink-3); }
.reel figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .watch { grid-template-columns: 1fr; }
  .reel { grid-template-columns: minmax(0, 1fr) minmax(0, .4fr); }
  .reel figure:nth-child(2) { display: none; }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; border-radius: 12px; border: 1px solid var(--line); }
.plan-pick { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.plan h3 { font-size: 22px; font-weight: 630; letter-spacing: -.02em; }
.plan .for { color: var(--ink-3); font-size: 14.5px; margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font: 640 46px/1 var(--sans); letter-spacing: -.04em; }
.price span { color: var(--ink-3); font-size: 15px; }
.allow { font-weight: 600; font-size: 15.5px; }
.allow span { display: block; color: var(--ink-3); font-weight: 400; font-size: 14px; }
.plan ul { list-style: none; display: grid; gap: 9px; color: var(--ink-2); font-size: 15px; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li svg { margin-top: 4px; color: var(--green); }
.plan .btn { width: 100%; }
.enterprise { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 16px; padding: 18px 24px; border-radius: 12px; background: var(--canvas); }
.enterprise p { color: var(--ink-2); max-width: 60ch; }
.enterprise b { color: var(--ink); font-weight: 600; }
.price-note { margin-top: 14px; color: var(--ink-3); font-size: 14.5px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .section-head { position: sticky; top: 100px; margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 0; font: 600 18px/1.35 var(--sans); letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .section-head { position: static; } }

/* ---------- close + contact ---------- */
.close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.close-copy { display: grid; gap: 22px; justify-items: start; }
.close-copy p { color: var(--ink-2); font-size: 18px; max-width: 32em; }
.safe { list-style: none; display: grid; gap: 8px; margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.safe li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.safe svg { margin-top: 4px; color: var(--green); }
.form-card { padding: clamp(22px, 3vw, 30px); border-radius: 12px; background: var(--canvas); }
.form-card h3 { font-size: 22px; font-weight: 630; letter-spacing: -.02em; }
.form-card > p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
form { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
label .opt { font-weight: 400; color: var(--ink-3); }
label.wide { grid-column: 1 / -1; }
input, textarea, select { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); }
input::placeholder, textarea::placeholder { color: #8a919b; }
input:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
input[aria-invalid="true"] { border-color: var(--red); }
textarea { resize: vertical; min-height: 84px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14.5px; color: var(--green); font-weight: 500; }
.form-status.err { color: var(--red); }
@media (max-width: 900px) { .close { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--ink-3); font-size: 14.5px; }
.foot-inner { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font: 600 14.5px/1.3 var(--sans); color: var(--ink); letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { margin-bottom: 12px; }
.foot-made { max-width: 34ch; }
@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr 1fr; } .foot-inner > :first-child { grid-column: 1 / -1; } }

/* ---------- tables (docs) ---------- */
.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); }
thead th { border-top: 0; font-weight: 600; font-size: 14px; background: var(--canvas); color: var(--ink); }
tbody th { color: var(--ink); font-weight: 500; }
td { color: var(--ink-2); }
td.us, th.us { background: var(--green-tint); color: var(--ink); }

/* ---------- docs page ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.docs-nav { position: sticky; top: 96px; align-self: start; }
.docs-nav ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.docs-nav a { display: block; padding: 6px 14px; color: var(--ink-2); text-decoration: none; font-size: 15px; margin-left: -1px; border-left: 1px solid transparent; }
.docs-nav a:hover { color: var(--ink); border-left-color: var(--ink-3); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1; max-width: none; }
.prose > p.lede { margin-top: 18px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 64px 0 16px; padding-top: 8px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.prose strong { color: var(--ink); }
.prose .code { margin: 18px 0; }
.prose table { min-width: 560px; }
.prose .table-wrap { margin: 18px 0; }
.prose td code, .prose th code { white-space: nowrap; }
.prose video { width: 100%; border-radius: 10px; background: #0e1116; margin: 18px 0 8px; }
.callout { margin: 20px 0; padding: 16px 18px; border-radius: 10px; background: var(--green-tint); color: var(--ink-2); }
.prose { min-width: 0; }
@media (max-width: 860px) { .docs { grid-template-columns: minmax(0, 1fr); } .docs-nav { position: static; } }

/* steps (install page and docs pipeline) */
.steps { list-style: none; counter-reset: step; display: grid; padding: 0 !important; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(step); grid-row: span 3; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 13px/1 var(--mono); }
.steps h3 { font-size: 19px; margin: 0 !important; }
.steps p { color: var(--ink-2); }
.steps .model { font-size: 14px; color: var(--ink-3); }

/* ---------- installed page ---------- */
.installed { max-width: 780px; padding: clamp(56px, 8vw, 104px) 0 var(--section); display: grid; gap: 26px; }
.installed h1 { font-size: clamp(44px, 6vw, 72px); max-width: 14ch; }
.command { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 20px; border-radius: 12px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); }
.command code { background: none; box-shadow: none; padding: 0; font-size: 20px; color: var(--ink); }
.installed .left { color: var(--green); font-weight: 600; }
.installed .aside { color: var(--ink-3); }
