/* fline.sh — the landing page.
 *
 * This is the "Fline Landing v2" design, implemented. Three things travel with
 * it and every rule below is checked against them:
 *
 *   1. One accent, and it means one thing. Filament green is the platform
 *      working, and it is the only colour this page uses to say so. Amber
 *      marks a limitation rather than a capability and stays rationed: the
 *      pipeline, the secrets card and the not-measured caveat that used to
 *      carry it were deleted on 29 August 2026, and today it appears in
 *      exactly one place, the status list's Not-yet column header. Blue,
 *      the platform's own machinery, and grey, a step that spent no model
 *      call, went with those same diagrams; nothing on the page is tinted
 *      with either any more.
 *   2. Serif for the argument, sans for the interface, mono for anything read
 *      as an identifier. A hostname, a digest and a tool name are mono because
 *      they are things you would type; a sentence never is.
 *   3. No external request. The three families are served from the binary, so
 *      the page that argues work should happen where it costs least does not
 *      open two connections to a font CDN to say so.
 *
 * Dark is the base. :root paints it, a reader with JavaScript off gets it, and
 * it is what this page has always shown. Light is a single override block,
 * :root[data-theme='light'], further down this file rather than a
 * prefers-color-scheme query, because theme.js already resolves the reader's
 * preference before the first paint and stamps the attribute itself. A media
 * query alongside that would not add a mode, it would add a second copy of the
 * same forty lines for the two to drift out of step on the next edit. The
 * privacy and terms documents ride the same tokens, in both palettes.
 */

/* ------------------------------------------------------------------ fonts - */

/* Space Grotesk ships as a variable face; one file covers 400 through 700 and
 * is smaller than the two static cuts it replaces. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/static/fonts/SpaceGrotesk-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('/static/fonts/InstrumentSerif-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('/static/fonts/InstrumentSerif-400Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/static/fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/static/fonts/JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- tokens - */

:root {
  color-scheme: dark;

  --void: #07090a;
  --deep: #080a0b;
  --sunk: #060809;
  --panel: #0c1012;
  --panel-2: #0a0d0e;
  --input: #080b0c;
  --track: #12181a;

  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.09);
  --line-3: rgba(255, 255, 255, 0.12);

  /* Translucent, and answerable to whichever ground sits behind them: the
   * scrim behind the sticky bar, the hero's drifting grid, and the ambient
   * drop the film frame casts. Each is a wash of the palette's own ink over
   * whatever is beneath it, not an opaque colour, so it has no ink-ramp
   * contrast ratio of its own; the text and lines painted on top of it do,
   * and are checked where they are declared. */
  --scrim: rgba(7, 9, 10, 0.72);
  /* Dropped to zero here 2026-08-29, dark only: the product owner called the
   * dark hero busy and asked for it calmer. Compared side by side at half
   * this alpha (0.0175) against fully off and could not tell them apart in
   * either a screenshot or the composited pixel math (a grid line composites
   * to rgb(9,11,12) against a rgb(7,9,10) ground at half-alpha, a
   * difference of 2, on a periodic pattern that reads as "graph paper" only
   * because it repeats, not because any one line is visible). A texture that
   * quiet isn't doing anything at half strength; it wasn't worth keeping at
   * a quarter either. The rule and the markup are still here, untouched.
   * gridDrift itself is still declared the same way too; a separate
   * dark-only rule beside .hero-mesh below stops it from running, since a
   * transparent line has nothing to drift. Light keeps its own value below
   * and was not touched; put a number back here if a future pass wants the
   * grid back in dark, rather than re-adding the rule. */
  --mesh-line: rgba(255, 255, 255, 0);
  --drop: rgba(0, 0, 0, 0.9);

  --text: #e6eae8;
  --dim: #a6b0aa;
  --mute: #8b958f;
  /* Lifted from #6e7975 on 29 August 2026, and found only because the light
   * palette's --faint was being measured against the ground it is actually set
   * on rather than the two somebody had checked. The same seven footer
   * elements fail here for the same reason: #6e7975 measured 4.42 on --void,
   * 4.24 on --panel and 4.45 on --sunk, so it cleared AA on nothing it was set
   * on, at 11.5px and up. #737e7a clears 4.75 on --void, 4.72 on --deep, 4.77
   * on --sunk, 4.55 on --panel, 4.64 on --panel-2 and 4.70 on --input, which
   * is every ground this token is set on in this file. It is not set on
   * --track; only --dim is (.inline), at 6.12 in light and far above it here.
   *
   * The ramp keeps its order: --mute is 6.18 on --panel and --ghost is exempt
   * for the reason the light palette's comment gives. */
  --faint: #737e7a;
  --ghost: #4a5450;

  /* The filament — the platform acting. */
  --fil: #00e08a;
  --fil-bright: #00e08a;
  --fil-lit: #6bffc0;
  --fil-ink: #07090a;
  --fil-line: rgba(0, 224, 138, 0.3);
  --fil-edge: rgba(0, 224, 138, 0.25);
  --fil-wash: rgba(0, 224, 138, 0.06);
  --fil-sheen: rgba(255, 255, 255, 0.55);
  /* One shared ambient wash for the three big radial backgrounds (hero,
   * film-section, join-section). They shipped with three slightly different
   * alphas (0.05/0.09/0.1) that were never a deliberate ramp, just three
   * numbers picked once each; unifying them loses nothing a reader would
   * notice; each section is still visually distinct by its own gradient size
   * and position.
   *
   * Dark's alpha was cut from 0.08 to 0.03 on 2026-08-29, roughly a third,
   * on the product owner's call that the dark hero read busy. Looked at 0.08
   * (visible green vignette bleeding past the CTAs), 0.0175/half (already
   * gone in a screenshot next to the grid removal above, so not tried alone)
   * and settled here: enough left at 375/920/1400px that the hero, film and
   * join sections still read as this page's own accent rather than plain
   * black, not enough to compete with the headline or read as a wash. Light
   * is unchanged below. It was never the complaint, and this token already
   * carries a separate value per palette. */
  --fil-glow: rgba(0, 224, 138, 0.03);

  /* A person is required. */
  --needs: #f0b429;
  --needs-dim: #b9a87c;
  --needs-line: rgba(240, 180, 41, 0.34);
  --needs-wash: rgba(240, 180, 41, 0.06);

  /* The platform's own machinery, and a step with no model in it. */
  --plat: #5d8cff;
  --plat-line: rgba(93, 140, 255, 0.28);
  --plat-wash: rgba(93, 140, 255, 0.05);
  --idle: #39423e;

  /* Something is wrong: a rejected field, a form that did not save. --danger
   * is the border/UI tone (checked for the 3:1 non-text minimum against
   * --void and --panel); --danger-dim is what small error text is actually
   * set in and is checked at 4.5:1 against both grounds, same as the ink
   * ramp. Dark's values are the page's original error red, now named rather
   * than inlined: #ff8a96 clears 8.87:1 on --void and 8.49:1 on --panel, both
   * comfortably past the ink ramp's floor. That floor is --faint's worst
   * ground: 4.55 here and 4.56 in light, both on --panel and --sunk
   * respectively. The number this sentence used to give, 4.66, was light
   * --faint's ratio on --void alone, and --void was not the ground either
   * palette's --faint was in trouble on. */
  --danger: #ff5c6e;
  --danger-dim: #ff8a96;
  --danger-line: rgba(255, 92, 110, 0.4);
  --danger-wash: rgba(255, 92, 110, 0.08);

  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-ui: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;

  --r-card: 13px;
  --r-panel: 11px;
  --r-ctrl: 9px;
  --r-pill: 99px;

  --t: 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1200px;
  --pad: 28px;
  --measure: 66ch;
}

/* The light palette.
 *
 * :root stays dark. That is the brand's ground, it is what a reader with
 * JavaScript off gets, and it is what this page has always painted. Light is an
 * override rather than the base, and there is exactly one of it because
 * theme.js resolves the system preference and stamps the attribute. The
 * alternative, a prefers-color-scheme block plus a data-theme block, is the
 * same forty lines written twice and drifting apart on the third edit.
 *
 * Two greens live here and only one lives in the dark palette. #00e08a is the
 * filament and it is legible on near-black; as 11px type on off-white it is
 * not. So --fil carries a darker green that type can be set in, and
 * --fil-bright keeps the filament for large filled shapes where it still reads.
 * Nothing else about the colour rule changes: green is the platform acting,
 * amber means a person is required and stays rationed, nothing else is tinted.
 *
 * The ink ramp gets the same check. --dim, --mute and --faint are all read at
 * sizes small enough that WCAG's large-text exception never applies, so each
 * is set to clear 4.5:1 at the smallest size it is actually used at in this
 * file, not at the size a mockup would pick.
 *
 * AGAINST EVERY GROUND IT IS SET ON, and that phrase is the correction of 29
 * August 2026 rather than a restatement. The check used to read "against both
 * --void and --panel", and --faint's darkest ground is neither of them: the
 * footer is --sunk, which is where the token is read at 12.5px by both spans
 * and all five links. #6c736f measured 4.30:1 there and failed AA for seven
 * elements, while this comment claimed 4.66:1 and was right only about the two
 * grounds anybody had looked at. Naming the grounds is therefore part of the
 * rule now: a ratio without the ground it was measured against is the kind of
 * claim that passes review and fails a reader.
 *
 * The light palette's text grounds are --void #fbfaf7, --deep #f7f6f2, --sunk
 * #f2f1ec, --panel #ffffff, --panel-2 #fbfaf7 (the same value as --void) and
 * --input #ffffff (the same value as --panel), so --sunk is the darkest and
 * decides every one of these numbers. --track #e8e7e1 is a seventh, and only
 * --dim is ever set on it (.inline).
 *
 * --dim's smallest use is 13px (.tbl td) and its original value is unchanged:
 * 7.27 on --void, 7.01 on --deep, 6.71 on --sunk, 7.59 on --panel, 6.12 on
 * --track. --mute's smallest use is 12.5px (.field label) and #646f6a clears
 * 5.00, 4.83, 4.62 and 5.22 on the four it is set on. --faint's smallest use
 * is 11.5px (.tbl th and .contact-list em) and it is now #686f6b: 4.94 on
 * --void, 4.77 on --deep, 4.56 on --sunk and 5.15 on --panel. #686f6b is the
 * lightest value on this hue line that clears 4.5 on --sunk; the next step up,
 * #69706c, is 4.49 and does not.
 *
 * --mute and --faint now sit within a twentieth of a step of each other on the
 * lighter grounds, which is closer than the dark palette's pair and closer
 * than they were before this change. That is the constraint working rather
 * than a mistake to fix later: AA at 11.5 to 12.5px over a ground as dark as
 * --sunk leaves almost no room below --mute, and a ramp a reader cannot
 * resolve is a smaller fault than type a reader cannot read. (The selector
 * citations moved with the sections that used to carry the smaller examples;
 * the ratios themselves are a function of the colour pair, not the type size,
 * so deleting a section never invalidates the numbers, only the example
 * selector.)
 *
 * --ghost sits outside that check. It marks decoration rather than
 * information, the dash before a not-yet-built status line, never a sentence
 * a reader has to read, and the dark palette's own --ghost is already only
 * around 2.5:1 for the same reason. Chasing AA on a token whose job is to sit
 * quietly under the eye would undo the one thing it is for, so its value here
 * is unchanged and it stays exempt on purpose.
 */
:root[data-theme='light'] {
  color-scheme: light;

  --void: #fbfaf7;
  --deep: #f7f6f2;
  --sunk: #f2f1ec;
  --panel: #ffffff;
  --panel-2: #fbfaf7;
  --input: #ffffff;
  --track: #e8e7e1;

  --line: rgba(20, 23, 26, 0.08);
  --line-2: rgba(20, 23, 26, 0.12);
  --line-3: rgba(20, 23, 26, 0.16);

  /* Same three, and the same reason: a wash of the palette's own ink over
   * whatever ground sits beneath it. The scrim swaps its base from void's
   * dark rgb to void's light rgb so the sticky bar reads as this page's
   * glass rather than a strip of the other palette's; the mesh line and the
   * drop swap from white-on-dark ink to dark-on-light ink for the same
   * reason. See the file comment above for why none of the three carries a
   * contrast ratio of its own. */
  --scrim: rgba(251, 250, 247, 0.72);
  --mesh-line: rgba(20, 23, 26, 0.04);
  --drop: rgba(20, 23, 26, 0.16);

  /* dim/mute/faint each clear 4.5:1 against every ground they are set on at
   * the smallest size that token is actually set at, and the grounds are named
   * in the file comment above along with the sizes, selectors and ratios. Not
   * "against --void and --panel": that was the old wording and it is what let
   * --faint fail in the footer, whose ground is --sunk. --ghost is exempt on
   * purpose: it is decorative, not read as text, matching the dark palette's
   * own low contrast for the same token. */
  --text: #14171a;
  --dim: #4d5652;
  --mute: #646f6a;
  --faint: #686f6b;
  --ghost: #b3bab6;

  --fil: #00734a;
  --fil-bright: #00e08a;
  --fil-lit: #00542f;
  --fil-ink: #ffffff;
  --fil-line: rgba(0, 115, 74, 0.32);
  --fil-edge: rgba(0, 115, 74, 0.26);
  --fil-wash: rgba(0, 115, 74, 0.07);
  --fil-sheen: rgba(255, 255, 255, 0.55);
  --fil-glow: rgba(0, 115, 74, 0.09);

  --needs: #8a5a00;
  --needs-dim: #6f4c12;
  --needs-line: rgba(138, 90, 0, 0.34);
  --needs-wash: rgba(138, 90, 0, 0.07);

  --plat: #2f5bd0;
  --plat-line: rgba(47, 91, 208, 0.28);
  --plat-wash: rgba(47, 91, 208, 0.06);
  --idle: #c2c9c5;

  /* Same shape as dark's, darker so the text tone still clears AA on a light
   * ground: --danger-dim (#c81e3a) is 5.67:1 on --panel and 5.44:1 on
   * --void; --danger (#e0304a), checked against the same two grounds for the
   * 3:1 non-text minimum, clears 4.48:1 and 4.29:1. Same hue as dark's
   * (roughly 350°) so the page reads as one danger colour, not two. */
  --danger: #e0304a;
  --danger-dim: #c81e3a;
  --danger-line: rgba(224, 48, 74, 0.4);
  --danger-wash: rgba(224, 48, 74, 0.09);
}

/* ------------------------------------------------------------------ reset - */

/* Every element reset sits inside :where() and contributes zero specificity. A
 * reset that outranks a component class is how a design system silently
 * un-styles its own buttons — this codebase has already paid for that once. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:where(body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol) {
  margin: 0;
}

:where(ul, ol) {
  padding: 0;
  list-style: none;
}

:where(img, svg) {
  display: block;
  max-width: 100%;
}

:where(input, textarea, select, button) {
  font: inherit;
  color: inherit;
}

html {
  scroll-behavior: smooth;
  /* The sticky bar is 60px; an anchor that lands under it is an anchor that
   * looks broken. */
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--fil);
  text-decoration: none;
  transition: color var(--t);
}

a:hover {
  color: var(--fil-lit);
}

:focus-visible {
  outline: 2px solid var(--fil);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 90;
  background: var(--fil);
  color: var(--fil-ink);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-ctrl) 0;
}

.skip:focus {
  left: 0;
  color: var(--fil-ink);
}

/* ------------------------------------------------------------- animation - */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

/* Unused: no selector in this file sets `animation: glow`. Left as literal
 * rather than tokenised because tokenising a rule nothing paints would only
 * dress up dead code; removing it is a Task 6-shaped cleanup, not this
 * one's. */
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 224, 138, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 224, 138, 0.1);
  }
}

/* .pip's pulse ring. The 0% stop is tokenised, since its alpha (0.5) is what
 * a reader actually sees. The 70%/100% stops stay literal on purpose: both
 * are alpha 0, so the rgb channels beside them are unreachable dead weight,
 * not a live colour a theme could get wrong. */
@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 var(--fil-edge);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0, 224, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 224, 138, 0);
  }
}

@keyframes gridDrift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-44px);
  }
}

@keyframes sweep {
  from {
    left: -40%;
  }
  to {
    left: 140%;
  }
}

/* ------------------------------------------------------------------ shell - */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 140px 0 150px;
  border-top: 1px solid var(--line);
}

.section + .section {
  padding-top: 130px;
}

.section-sunk {
  background: linear-gradient(var(--deep), var(--panel-2));
}

.section-head {
  margin-bottom: 56px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fil);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(52px, 9vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 22px 0 0;
}

h2 {
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 10px 0 0;
}

.lede {
  margin-top: 12px;
  max-width: var(--measure);
  font-size: 16px;
  color: var(--dim);
}

.prose {
  max-width: var(--measure);
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.65;
}

.prose p + p {
  margin-top: 14px;
}

.prose strong {
  color: var(--text);
}

.prose-lead {
  max-width: 46ch;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--dim);
}

.prose-lead p + p {
  margin-top: 1.1em;
}

.inline {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--track);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--dim);
}

.dated {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--faint);
}

/* ----------------------------------------------------------------- topbar - */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--scrim);
  border-bottom: 1px solid var(--line);
}

.topbar-in {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

/* The mark. The `f` inherits the brand's text colour; the wire and the terminus
 * are the accent, because they are the half that is not a letter. */
.brand-mark {
  display: block;
  flex: none;
  width: 27px;
  height: 27px;
}

.brand-mark-wire {
  stroke: var(--fil);
}

.brand-mark-disc {
  fill: var(--fil-lit);
}

.topbar-nav {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 500;
}

.topbar-nav a,
.topbar-signin {
  color: var(--mute);
}

.topbar-nav a:hover,
.topbar-signin:hover {
  color: var(--text);
}

.topbar-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 500;
}

/* Scroll progress, hairline-thin, sitting on the bar's own bottom border. */
.topbar-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
}

.topbar-progress i {
  display: block;
  height: 100%;
  width: 0;
  /* One hue fading in alpha, not two: --fil-line is the same rgb triplet as
   * --fil at 0.3 in dark (a lossless rename), and the correct rgb triplet in
   * light, where the un-tokenised version used to stay dark's bright mint
   * and fade into light's darker forest green instead. */
  background: linear-gradient(90deg, var(--fil-line), var(--fil));
}

.theme-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-ctrl);
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  transition: color var(--t), border-color var(--t), background var(--t);
}

.theme-btn:hover {
  color: var(--text);
  border-color: var(--line-3);
}

.theme-btn:focus-visible {
  outline: 2px solid var(--fil);
  outline-offset: 2px;
}

/* A ring that fills in when the page is light. Two states, one element, no
 * icon font and no second SVG to keep in step. */
.theme-ico {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(to right, currentColor 50%, transparent 50%);
}

/* --------------------------------------------------------------- controls - */

.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}

.btn-lg {
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--r-ctrl);
}

.btn-fil {
  background: var(--fil);
  color: var(--fil-ink);
}

.btn-fil:hover {
  background: var(--fil-lit);
  color: var(--fil-ink);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-3);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--fil-edge);
}

/* The one lit thing in the bar. It sweeps because the bar is otherwise still,
 * and because this is the page's only conversion. --fil-sheen is white in
 * both palettes on purpose: the button under it is filled with --fil, a
 * saturated green in both (#00e08a dark, #00734a light), never white or
 * near-white, so a translucent white streak reads as a highlight brightening
 * the fill either way. This is the one case in the danger/scrim/mesh/drop
 * batch where the value does not need to change, only the hardcoding. */
.btn-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  background: linear-gradient(90deg, transparent, var(--fil-sheen), transparent);
  animation: sweep 3.4s ease-in-out infinite;
}

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
  border: 1px solid var(--line-2);
  padding: 7px 11px;
  border-radius: 7px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 8px;
  border: 1px solid var(--fil-edge);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fil);
}

.pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fil);
  animation: ripple 2.2s ease-out infinite;
}

/* ------------------------------------------------------------------- hero - */

.hero {
  position: relative;
  overflow: hidden;
  border-top: 0;
  padding: 92px 0 78px;
  background: radial-gradient(900px 420px at 18% -10%, var(--fil-glow), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 56px;
  max-width: 62ch;
  margin: 0 auto;
  text-align: center;
}

/* The drifting grid. Masked to a soft ellipse so it is texture behind the
 * headline rather than graph paper across the whole section. */
.hero-mesh {
  position: absolute;
  inset: -60px 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: linear-gradient(var(--mesh-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mesh-line) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: gridDrift 9s linear infinite;
  /* #000 here is not a colour, it is a mask stop: mask-image reads the
   * alpha channel only, so the black is fully-opaque-stencil and the
   * "transparent" it fades to is the cutoff, regardless of what palette is
   * active. Theme-independent by construction, not by omission. */
  mask-image: radial-gradient(700px 340px at 30% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(
    700px 340px at 30% 30%,
    #000,
    transparent 75%
  );
}

/* Added 2026-08-29, alongside dark's --mesh-line dropping to zero above:
 * with the grid lines fully transparent in dark, gridDrift was still
 * running there forever, animating a background-position nobody can see.
 * Stopped rather than left spinning for nothing. Light keeps the animation
 * unchanged; its --mesh-line still paints. */
:root:not([data-theme='light']) .hero-mesh {
  animation: none;
}

.hero-lede {
  max-width: 34ch;
  margin-top: 22px;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.5;
  color: var(--dim);
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ------------------------------------------------------------------- film - */

/* The hero loop. It borrows the transcript card's frame on purpose: the two are
 * siblings, one showing what you type and the other showing what happens next.
 *
 * THE SURROUND IS SUNK, AND THAT IS NOT DECORATION. The film's own ground is
 * --void, because its palette is a transcription of the tokens at the top of
 * this file. Dropped straight onto the page — also --void — the two are the
 * same colour to the byte, so a 1px border at 10% white is the only thing
 * separating them and the whole 16:9 rectangle reads as a hole in the page
 * rather than as a screen. Verified in a browser, not assumed.
 *
 * Lifting the SURROUND rather than the film is the fix, and it is the device
 * this stylesheet already owns: section-sunk raises a plane by two or three
 * values of grey. Here it runs the other way round, so the film stays the
 * darkest thing on the page and the section around it reads as the surface it
 * is inset into. */
.film-section {
  border-top: 0;
  padding: 8px 0 76px;
  background:
    radial-gradient(1100px 520px at 50% 120%, var(--fil-glow), transparent 72%),
    linear-gradient(var(--deep), var(--panel-2));
}

.film {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-3);
  border-radius: 14px;
  background: var(--void);
  /* A deep drop, plus a low green ambient. The ambient is what gives the
   * bottom edge somewhere to land: a black rectangle on a near-black ground
   * has no shadow to cast without it. --drop carries the opposite problem
   * for the other palette: the video frame stays a dark rectangle in light
   * mode too (it is a fixed recording, not a themed surface), so it already
   * has all the contrast it needs against a light page and 0.9 of black
   * would be a smear rather than a shadow. Light's --drop is a soft 0.16 of
   * ink instead, the same geometry, sized for grounding rather than hiding
   * the seam.
   *
   * The green ambient stays the literal rgba(0, 224, 138, 0.22) in both
   * palettes, deliberately. Corrected 2026-08-29: this comment used to argue
   * that was safe because the glow has "no light-mode ground to answer to."
   * That is true of a mask, which reads alpha and paints nothing of its own,
   * but a box-shadow is not a mask. It composites against whatever sits
   * behind the element, in both palettes, so that argument does not hold
   * here. The real reason the literal is safe: a 90px blur spreads 0.22
   * alpha thin enough, by the time it lands on either palette's ground, to
   * read as near-neutral rather than as a colour choice. Reviewed and
   * confirmed theme-independent on 29 August 2026; re-derive only if the
   * blur radius or alpha shrinks enough to stop being near-neutral by the
   * time it lands. */
  box-shadow:
    0 30px 80px -30px var(--drop),
    0 0 90px -30px rgba(0, 224, 138, 0.22);
  overflow: hidden;
}

/* The ratio is declared so the frame reserves its height before a byte of video
 * arrives. Without it the form below jumps up the page on load, which is the
 * single most irritating thing a hero video can do. */
.film-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: var(--void);
}

/* One hairline of filament along the top edge, the device the panels already
 * use. It is the only decoration here and it is one pixel tall. */
.film::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--fil-line) 22%,
    var(--fil-line) 78%,
    transparent
  );
  pointer-events: none;
}

@media (max-width: 720px) {
  .film-section {
    padding: 4px 0 56px;
  }
}

/* ------------------------------------------------------------------- join - */

.join-section {
  padding: 74px 0 84px;
  background: radial-gradient(700px 320px at 50% 0%, var(--fil-glow), transparent 70%);
}

.join-grid {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.join-grid h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 46px);
}

.join-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--faint);
}

.join-count b {
  color: var(--fil);
  font-weight: 500;
}

.join-note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--faint);
}

.join-card {
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--panel);
  padding: 22px;
}

.field + .field {
  margin-top: 12px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mute);
  margin-bottom: 6px;
}

.field .opt {
  color: var(--faint);
  font-weight: 400;
}

.input,
.textarea,
.select {
  width: 100%;
  background: var(--input);
  border: 1px solid var(--line-3);
  border-radius: var(--r-ctrl);
  padding: 13px 14px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color var(--t);
}

.textarea {
  resize: vertical;
  min-height: 92px;
}

::placeholder {
  color: var(--faint);
  opacity: 1;
}

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%),
    linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.select option {
  background: var(--panel);
  color: var(--text);
}

/* var(--fil), solid, not a translucent literal: :focus-visible above already
 * uses the same token at full strength for its outline, and a mouse click
 * (which does not trigger :focus-visible in most browsers) needs this border
 * to be the one visible cue, so it should be at least as strong. */
.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--fil);
}

.input[aria-invalid='true'],
.textarea[aria-invalid='true'] {
  border-color: var(--danger);
}

.field-err {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--danger-dim);
}

.join-card .btn {
  width: 100%;
  margin-top: 14px;
  font-size: 15.5px;
  padding: 14px;
  border: 0;
  border-radius: 10px;
}

.join-card .btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* The honeypot. Off-screen rather than display:none, because a bot reading the
 * computed style skips the hidden one and fills this. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.banner {
  border-radius: var(--r-panel);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
}

.banner-ok {
  border: 1px solid var(--fil-line);
  background: var(--fil-wash);
  color: var(--dim);
}

.banner-ok b {
  color: var(--fil);
}

.banner-err {
  margin-bottom: 12px;
  border: 1px solid var(--danger-line);
  background: var(--danger-wash);
  color: var(--dim);
}

.banner-err b {
  color: var(--danger-dim);
}

/* ------------------------------------------------------------- the ledger - */

.ledger-foot {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--faint);
  max-width: var(--measure);
}

/* ------------------------------------------------------------------ table - */

.tbl-wrap {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--panel);
  overflow-x: auto;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.tbl th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}

.tbl td {
  font-size: 13px;
  color: var(--dim);
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.tbl tr:last-child td {
  border-bottom: 0;
}

.tbl td:first-child {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
}

.doc-table {
  margin-top: 20px;
}

.doc-table td:first-child {
  white-space: normal;
}

/* --------------------------------------------------------------- platform - */

.grid {
  display: grid;
  gap: 12px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

.card,
.panel,
.tile {
  border-radius: 18px;
  border-color: var(--line);
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  padding: 30px 28px;
}

/* The shadow is doing nothing on near-black and a soft edge lift is what
 * replaces it. Two palettes, two ways of saying "this sits above the page". */
:root:not([data-theme='light']) .card,
:root:not([data-theme='light']) .panel,
:root:not([data-theme='light']) .tile {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* border-width/style only, as longhand: the shared rule above already set
 * border-color, and the `border` shorthand would silently reset it back to
 * line-2 if used here instead. */
.card {
  border-width: 1px;
  border-style: solid;
  transition: transform var(--t), border-color var(--t);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--fil-edge);
}

.card h3 {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--faint);
}

/* ----------------------------------------------------------------- status - */

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.status-col {
  border-radius: 14px;
  padding: 20px;
}

.status-live {
  border: 1px solid var(--fil-edge);
  background: var(--fil-wash);
}

.status-not {
  border: 1px solid var(--line-2);
  background: var(--panel-2);
}

.status-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.status-live .status-head {
  color: var(--fil);
}

.status-not .status-head {
  color: var(--needs);
}

.status-head .n {
  font-weight: 400;
  color: var(--faint);
}

.status-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.45;
}

.status-col li {
  display: flex;
  gap: 9px;
}

.status-col li::before {
  flex: 0 0 auto;
}

/* var(--dim), not a one-off tint: it is already checked to 4.5:1 against
 * both --void and --panel at 13px (see the ink-ramp comment), and this list
 * is 13.5px on top of --fil-wash, a 6% dark / 7% light wash of --fil that
 * barely moves the ground it was checked against. (Corrected 2026-08-29:
 * this comment previously said "4%", stale since --fil-wash moved to a
 * shared token. Contrast still clears AA at 6.59:1 in light.) */
.status-live li {
  color: var(--dim);
}

.status-live li::before {
  content: '✓';
  color: var(--fil);
}

.status-not li {
  color: var(--mute);
}

.status-not li::before {
  content: '—';
  color: var(--ghost);
}

.status-col .n {
  color: var(--text);
}

/* ---------------------------------------------------------------- connect - */

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.contact-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-ctrl);
  background: var(--panel-2);
  padding: 12px 13px;
  color: var(--text);
  transition: border-color var(--t), background var(--t), color var(--t);
}

.contact-list a:hover {
  border-color: var(--fil-edge);
  background: var(--panel);
  color: var(--text);
}

.contact-list .ico {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--faint);
  transition: color var(--t);
}

.contact-list a:hover .ico {
  color: var(--fil);
}

/* The address is the longest string on the page that cannot be hyphenated at a
 * space. Without this it widens the grid track rather than wrapping. */
.contact-list b {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-list em {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-style: normal;
  color: var(--faint);
}

/* The launch card: the shape Product Hunt's own embed has — icon, name,
 * tagline, one button — drawn in this page's tokens, because that embed cannot
 * run under the policy in web.go. See the note on connect() in page.templ.
 *
 * The button is filament and not Product Hunt's #ff6154. This page rations one
 * warm accent to mean "a person is required", and a second warm accent that
 * means "we launched" is how that rationing stops being believed. The badge is
 * recognisable from its wording and its logo without borrowing the hue. */
.ph-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  background: var(--panel);
  padding: 22px;
  color: var(--text);
  transition: transform var(--t), border-color var(--t);
}

.ph-card:hover {
  transform: translateY(-4px);
  border-color: var(--fil-edge);
  color: var(--text);
}

.ph-head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ph-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--fil-edge);
  border-radius: 12px;
  background: var(--panel-2);
}

.ph-icon .brand-mark {
  width: 40px;
  height: 40px;
}

.ph-id {
  min-width: 0;
}

.ph-id b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.ph-id em {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  font-style: normal;
  line-height: 1.45;
  color: var(--faint);
}

.ph-go {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  border-radius: var(--r-ctrl);
  padding: 10px 16px;
  background: var(--fil);
  color: var(--fil-ink);
  font-weight: 600;
  font-size: 13.5px;
  transition: background var(--t);
}

.ph-card:hover .ph-go {
  background: var(--fil-lit);
}

.ph-go .ico {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.ph-go i {
  display: inline-block;
  font-style: normal;
  transition: transform var(--t);
}

.ph-card:hover .ph-go i {
  transform: translateX(3px);
}

/* ----------------------------------------------------------------- footer - */

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--sunk);
}

.footer-in {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--faint);
}

.footer-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--faint);
}

.footer-links a:hover {
  color: var(--fil);
}

/* --------------------------------------------------------------- reveal -- */

/* Applied by script and removed by script. An element that is never observed —
 * because JavaScript is off, or because the observer never fired — is simply
 * visible, which is why the class is added at runtime rather than authored. */
.is-hidden {
  opacity: 0;
}

.is-revealed {
  animation: fadeUp 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.is-risen {
  animation: rise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* ----------------------------------------------------- grid minimums -- */

/* A grid item's min-width is `auto`, which means it refuses to shrink below the
 * intrinsic width of its content. One nowrap line — the MCP command beside the
 * form, the psql line, a digest — therefore does not overflow its own box: it
 * widens the whole track, and the column, and the page. At 375px this page
 * scrolled 198px sideways, and the element that caused it was already
 * `overflow-x: auto` and would have scrolled by itself if it had ever been
 * given a width to scroll within.
 *
 * Every multi-column container on the page is listed. A blanket
 * `:where(.wrap *) { min-width: 0 }` would do it in one line and would also
 * silently disarm this in places where the intrinsic minimum is load-bearing,
 * so the containers are named.
 */
.hero-grid > *,
.join-grid > *,
.grid > *,
.grid-2 > *,
.status-grid > *,
.connect-grid > * {
  min-width: 0;
}

/* ------------------------------------------------------------ responsive - */

@media (max-width: 920px) {
  :root {
    --pad: 20px;
  }

  .topbar-nav {
    display: none;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero-grid,
  .join-grid,
  .grid-2,
  .status-grid,
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 76px 0 84px;
  }

  .section + .section {
    padding-top: 72px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  /* The form, sized for the screen it is actually filled in on.
   *
   * At 375x812 the join section was 861px against an 812px viewport, so the one
   * conversion on the page could not be seen whole at any scroll position. The
   * card was 482 of that. Nothing here changes the desktop card, which fits.
   *
   * The type goes UP rather than down: iOS Safari zooms the viewport when a
   * focused control has a font-size below 16px, and that zoom does not undo
   * itself when the field blurs. A 15px input is how a form ends up 20% wider
   * than the screen the moment somebody taps it. The height comes out of the
   * padding instead, which costs nothing legibility owns.
   */
  .join-section {
    padding: 44px 0 48px;
  }

  .join-grid h2 {
    font-size: 30px;
  }

  .join-card {
    padding: 16px;
  }

  .field + .field {
    margin-top: 10px;
  }

  .field label {
    margin-bottom: 4px;
  }

  .input,
  .textarea,
  .select {
    font-size: 16px;
    padding: 10px 12px;
  }

  .select {
    background-position: calc(100% - 19px) 18px, calc(100% - 14px) 18px;
  }

  .textarea {
    min-height: 62px;
  }

  .join-card .btn {
    margin-top: 12px;
    padding: 12px;
    font-size: 15px;
  }

  .join-card .join-note {
    margin-top: 10px;
    font-size: 12px;
  }

  .footer-links {
    margin-left: 0;
  }
}

/* ------------------------------------------------------- reduced motion -- */

/* Everything above that moves is decoration. Nothing here carries a fact the
 * page does not also state in words, so all of it can simply stop. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }

  .is-hidden {
    opacity: 1;
  }
}
