@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/site/geist.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/site/geist-mono.woff2") format("woff2");
}
/* Dark and quiet. Colour comes only from the assistants' faces and from work
   in progress; the selected assistant's face hue (--hue, set on .app) tints
   its bubbles, focus and run glow. */
:root {
  color-scheme: dark;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --canvas: #08090a;
  --surface: #111214;
  --surface-2: #17191c;
  --surface-3: #1e2024;
  --edge-strong: rgb(255 255 255 / 0.12);
  --lift: inset 0 1px 0 rgb(255 255 255 / 0.04);
  /* Elevation. Surfaces step lighter (canvas, surface, surface-2, surface-3)
     instead of drawing borders; shadows lift what sits above them:
     1 for buttons and chips, 2 for raised panels such as the composer,
     3 for what floats over the page, such as the menu drawer. */
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.5), 0 3px 8px rgb(0 0 0 / 0.35);
  --shadow-2: 0 2px 4px rgb(0 0 0 / 0.45), 0 12px 28px rgb(0 0 0 / 0.45);
  --shadow-3: 0 8px 16px rgb(0 0 0 / 0.5), 0 28px 72px rgb(0 0 0 / 0.65);
  --ink: #ededef;
  /* Kaia's cream: the bear, primary buttons and every dither. */
  --cream: #efe7d4;
  --muted: #8b9099;
  --faint: #5c616a;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  --measure: 700px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Generated by src/brand/render.ts from dither.ts (nix run .#brand). Don't edit. */
:root {
  --dither-50: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4' shape-rendering='crispEdges' fill='%23efe7d4'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3Crect x='2' y='0' width='1' height='1'/%3E%3Crect x='1' y='1' width='1' height='1'/%3E%3Crect x='3' y='1' width='1' height='1'/%3E%3Crect x='0' y='2' width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3Crect x='1' y='3' width='1' height='1'/%3E%3Crect x='3' y='3' width='1' height='1'/%3E%3C/svg%3E");
  --dither-soft-25: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4' shape-rendering='crispEdges' fill='rgba(239,231,212,0.3)'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3Crect x='2' y='0' width='1' height='1'/%3E%3Crect x='0' y='2' width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3C/svg%3E");
  --dither-soft-50: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4' shape-rendering='crispEdges' fill='rgba(239,231,212,0.3)'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3Crect x='2' y='0' width='1' height='1'/%3E%3Crect x='1' y='1' width='1' height='1'/%3E%3Crect x='3' y='1' width='1' height='1'/%3E%3Crect x='0' y='2' width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3Crect x='1' y='3' width='1' height='1'/%3E%3Crect x='3' y='3' width='1' height='1'/%3E%3C/svg%3E");
  --dither-danger-25: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4' shape-rendering='crispEdges' fill='rgba(240,128,112,0.35)'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3Crect x='2' y='0' width='1' height='1'/%3E%3Crect x='0' y='2' width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3C/svg%3E");
  --dither-mask-50: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4' shape-rendering='crispEdges' fill='%23000'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3Crect x='2' y='0' width='1' height='1'/%3E%3Crect x='1' y='1' width='1' height='1'/%3E%3Crect x='3' y='1' width='1' height='1'/%3E%3Crect x='0' y='2' width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3Crect x='1' y='3' width='1' height='1'/%3E%3Crect x='3' y='3' width='1' height='1'/%3E%3C/svg%3E");
  --dither-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4' shape-rendering='crispEdges' fill='rgba(239,231,212,0.3)'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3Crect x='2' y='0' width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3C/svg%3E");
}

/* Buttons for the site and the app, in Kaia's pixel style (docs/brand.md).
   Needs dither.css and tokens.css. Every move is a whole pixel, at once:
   pixel art doesn't ease. */

/* Corners are square everywhere, as in the pixel art; this also undoes
   browsers' rounded form controls. */
button,
input,
select,
textarea {
  border-radius: 0;
}

/* Primary: cream, standing on a dithered extrusion two cells deep. Hover
   lifts it a cell; pressing pushes it down into the extrusion. */
:is(.primary, .button) {
  --depth: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  /* Room for the extrusion at rest; hover's extra depth is the lift. */
  margin: 0 4px 4px 0;
  padding: 0 var(--space-4);
  border: 0;
  background: var(--cream);
  color: var(--canvas);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  /* A drop shadow follows the extrusion's shape, where a box shadow would not. */
  filter: drop-shadow(0 2px 6px rgb(0 0 0 / 0.55));
}

/* The extrusion: the button's own box, moved down and right, clipped to the
   part that shows. */
:is(.primary, .button)::after {
  content: "";
  position: absolute;
  inset: 0;
  translate: var(--depth) var(--depth);
  background: var(--dither-50);
  clip-path: polygon(
    calc(100% - var(--depth)) 0,
    100% 0,
    100% 100%,
    0 100%,
    0 calc(100% - var(--depth)),
    calc(100% - var(--depth)) calc(100% - var(--depth))
  );
  pointer-events: none;
}

:is(.primary, .button):hover:not(:disabled) {
  --depth: 6px;
  translate: -2px -2px;
}

:is(.primary, .button):active:not(:disabled) {
  --depth: 0px;
  translate: 4px 4px;
  filter: none;
}

:is(.primary, .button):disabled {
  --depth: 0px;
  translate: 4px 4px;
  filter: none;
  opacity: 0.5;
  cursor: default;
}

/* Secondary: a solid face in a dithered frame two cells wide. The frame
   thickens on hover and fills in when pressed; the label stays on clean
   ground. Chips and the sidebar highlight use the same frame. */
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 calc(var(--space-4) - 4px);
  border: 4px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--dither-soft-25) border-box;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-1);
}

.secondary:hover:not(:disabled) {
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--dither-soft-50) border-box;
}

.secondary:active:not(:disabled) {
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--dither-50) border-box;
  translate: 0 1px;
  box-shadow: none;
}

.secondary:disabled {
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
}

/* Danger: a red face in a red dithered frame, brighter on hover. */
.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 calc(var(--space-4) - 4px);
  border: 4px solid transparent;
  background:
    linear-gradient(hsl(8 40% 12%), hsl(8 40% 12%)) padding-box,
    var(--dither-danger-25) border-box;
  color: hsl(8 80% 72%);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-1);
}

.danger:hover,
.danger.solid {
  background:
    linear-gradient(hsl(8 50% 17%), hsl(8 50% 17%)) padding-box,
    var(--dither-danger-25) border-box;
}

.danger:active {
  translate: 0 1px;
  box-shadow: none;
}

:is(.primary, .button, .secondary, .danger):focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

/* A dithered frame two cells wide in any colour (--frame, cream by default)
   around a solid face: for framed things whose colour varies, such as chat
   bubbles in an assistant's hue. The frame is a ring masked to the dither. */
.dither-frame {
  position: relative;
  border: 4px solid transparent;
  background-clip: padding-box;
}

.dither-frame::before {
  content: "";
  position: absolute;
  inset: -4px;
  padding: 4px;
  background: var(--frame, var(--cream));
  mask:
    var(--dither-mask-50) intersect,
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  pointer-events: none;
}

/* The public site. It shares the app's tokens (tokens.css): the same dark
   canvas and type, with colour only from assistants' faces. */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--edge-strong);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -48px;
  padding: var(--space-2) var(--space-3);
  background: var(--ink);
  color: var(--canvas);
}

.skip-link:focus {
  top: var(--space-4);
}

.face {
  display: block;
  flex: none;
}

/* Page frame */

.site-header,
main,
.site-footer {
  width: min(1120px, 100% - 2 * var(--space-5));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-5) 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark-mark {
  display: block;
  width: 32px;
  height: 32px;
  margin: -4px 0;
}

.wordmark-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-nav {
  display: flex;
  gap: var(--space-5);
  font-size: 14px;
}

.site-nav a,
.link-quiet {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.link-quiet:hover {
  color: var(--ink);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: auto;
  font-size: 14px;
}

main {
  flex: 1 0 auto;
  padding-bottom: 96px;
}

/* A page with nothing to say yet, such as teams. */
.soon {
  display: grid;
  place-content: center;
  gap: var(--space-3);
  min-height: 50vh;
  padding: 72px 0;
  text-align: center;
}

.soon h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.soon p {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Shared blocks */

.lede {
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.fine {
  font-size: 13px;
  color: var(--faint);
}

.eyebrow {
  margin-bottom: var(--space-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-head {
  display: grid;
  gap: var(--space-3);
  padding: 72px 0 48px;
}

.page-head h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-head time,
.posts time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

/* A band: a short intro on the left, its content on the right. */
.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: var(--space-6) 64px;
  padding: 64px 0;
  background: var(--dither-rule) repeat-x;
}

.band-intro {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  color: var(--muted);
}

.band-intro h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.band-intro .button {
  justify-self: start;
  margin-top: var(--space-2);
}

.prose {
  display: grid;
  gap: var(--space-4);
  max-width: 68ch;
  color: #c9ccd2;
}

.prose h2 {
  margin-top: var(--space-5);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.prose ul {
  display: grid;
  gap: var(--space-2);
  padding-left: 1.2em;
}

.prose strong {
  color: var(--ink);
  font-weight: 500;
}

/* Home */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 72px 0 96px;
}

.hero-copy {
  display: grid;
  gap: var(--space-5);
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 56px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
}

/* The conversation in the hero, drawn the way the app draws it. */
.product {
  --hue: 28;
  background: var(--surface);
  box-shadow: var(--lift), var(--shadow-2);
  overflow: hidden;
}

.product-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--surface-2);
  font-size: 14px;
}

.product-bar div {
  display: grid;
  line-height: 1.3;
}

.product-bar span {
  font-size: 12px;
  color: var(--faint);
}

.product-thread {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}

/* Bubbles in dithered frames, as in the app: the assistant's in its hue,
   yours in cream. */
.bubble {
  max-width: 86%;
  padding: 6px 10px;
}

.from-assistant {
  --frame: hsl(var(--hue) 55% 62% / 0.75);
  background-color: hsl(var(--hue) 18% 14%);
}

.from-you {
  --frame: color-mix(in srgb, var(--cream) 45%, transparent);
  justify-self: end;
  background-color: var(--surface-3);
}

.bubble-via {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 11px;
  color: hsl(var(--hue) 60% 70%);
}

.jobs {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.jobs li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
}

.jobs-when {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
  color: var(--faint);
}

/* Setting one up: three steps in a row, joined by a dotted line. */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.stepper li {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--space-2);
  counter-increment: step;
  color: var(--muted);
}

.stepper li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-2);
  background: var(--cream);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--canvas);
}

.stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 44px;
  right: calc(12px - var(--space-5));
  border-top: 2px dotted var(--edge-strong);
}

.stepper strong {
  font-weight: 500;
  color: var(--ink);
}

.roster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  padding: 0;
  list-style: none;
}

.roster li {
  display: grid;
  gap: var(--space-1);
  font-size: 14px;
}

.roster .face {
  margin-bottom: var(--space-2);
}

.roster span {
  color: var(--faint);
}

.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-6);
}

.promises dt {
  font-weight: 500;
}

.promises dd {
  color: var(--muted);
}

.catch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 0;
  list-style: none;
}

.catch li {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
}

.catch span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

/* The bust sleeps beside the last call to action, dissolving into the footer. */
.closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
  padding: 48px 0 0;
  background: var(--dither-rule) repeat-x;
}

.closing-copy {
  display: grid;
  justify-items: start;
  gap: var(--space-4);
}

/* Pixel art, shown at whole multiples of its grid. */
.bust {
  display: block;
}

.fish {
  display: block;
  width: 32px;
  height: 16px;
}

.fish svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plans .fish {
  width: 48px;
  height: 24px;
  margin-bottom: var(--space-1);
}

.closing h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding: 0;
  list-style: none;
}

.plans li {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-5);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.plans h2 {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.plan-price strong {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.start-free {
  margin-top: 64px;
}

.questions {
  display: grid;
  gap: var(--space-5);
}

.questions dt {
  font-weight: 500;
}

.questions dd {
  color: var(--muted);
}

/* Compare */

.table-scroll {
  overflow-x: auto;
  margin-bottom: 32px;
}

.compare {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.compare th,
.compare td {
  padding: var(--space-4);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.compare tbody th {
  width: 170px;
  font-weight: 500;
}

/* Row labels stay in view while the table scrolls sideways. */
.compare tbody th,
.compare thead td {
  position: sticky;
  left: 0;
  background: var(--canvas);
}

/* Rows alternate in surface tones instead of ruling lines; the sticky row
   labels take their row's colour. */
.compare tbody tr {
  background: var(--canvas);
}

.compare tbody tr:nth-child(odd) {
  background: var(--surface);
}

.compare tbody th {
  background: inherit;
}

.compare td {
  color: var(--muted);
}

.compare .is-kaia {
  background: rgb(255 255 255 / 0.05);
  color: var(--ink);
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  font-size: 14px;
}

.source-list h3 {
  margin-bottom: var(--space-2);
  font-size: 14px;
  font-weight: 500;
}

.source-list ul {
  display: grid;
  gap: var(--space-1);
  padding: 0;
  list-style: none;
  color: var(--muted);
}

/* News */

.posts {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.posts li {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-5);
  background: var(--surface);
}

.posts h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.posts h2 a {
  text-decoration: none;
}

.posts p {
  color: var(--muted);
}

.post .prose {
  margin-bottom: var(--space-6);
}

/* Waitlist */

.join {
  display: grid;
  gap: var(--space-2);
  max-width: 560px;
}

.join label {
  font-size: 14px;
  color: var(--muted);
}

.join-row {
  display: flex;
  gap: var(--space-2);
}

.join input {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  padding: 0 var(--space-3);
  border: 0;
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.join input::placeholder {
  color: var(--faint);
}

.join .fine {
  margin-top: var(--space-1);
}

.referral-link {
  justify-self: start;
  padding: var(--space-2) var(--space-3);
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 14px;
  user-select: all;
  overflow-wrap: anywhere;
}

/* Legal */

.legal .page-head {
  padding-bottom: var(--space-5);
}

.processors {
  display: grid;
  gap: var(--space-4);
}

.processors dt {
  color: var(--ink);
  font-weight: 500;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  padding: 48px 0 40px;
  background: var(--dither-rule) repeat-x;
  font-size: 14px;
  color: var(--muted);
}

.footer-maker {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.footer-maker .wordmark {
  color: var(--ink);
}

.footer-links h2 {
  margin-bottom: var(--space-3);
  font-size: 13px;
  font-weight: 500;
  color: var(--faint);
}

.footer-links ul {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
}

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

.footer-legal {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--faint);
}

/* Connectors */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.connector-directory {
  display: grid;
  gap: 2px;
  margin-bottom: 32px;
  padding: 0;
  list-style: none;
}

.connector-directory a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  text-decoration: none;
}

.connector-directory a:hover {
  background: var(--surface-2);
}

.connector-icon {
  display: block;
}

.connector-entry {
  display: grid;
  gap: 2px;
}

.connector-entry-name {
  font-size: 16px;
  font-weight: 600;
}

.connector-entry-meta {
  font-size: 13px;
  color: var(--faint);
}

.connector-entry-summary {
  font-size: 14px;
  color: var(--muted);
}

.score-badge {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.score-badge strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.score-badge.is-unscored {
  color: var(--faint);
}

.connector-title {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.connector-cta {
  justify-self: start;
}

.score-total {
  font-family: var(--mono);
  color: var(--muted);
}

.score-total strong {
  font-size: 40px;
  font-weight: 600;
  color: var(--ink);
}

.score-list {
  display: grid;
  gap: 2px;
}

.score-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.6fr) minmax(0, 1.4fr);
  gap: var(--space-1) var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
}

.score-list dt {
  grid-row: span 2;
  font-weight: 500;
}

.score-list dd {
  font-size: 14px;
  color: var(--muted);
}

.score-rating {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.score-rating.is-meets {
  color: hsl(140 45% 66%);
}

.score-rating.is-partly {
  color: hsl(45 70% 66%);
}

.score-rating.is-doesnt,
.score-rating.is-unknown {
  color: hsl(12 70% 70%);
}

.connector-warning {
  padding: var(--space-3) var(--space-4);
  background: hsl(30 60% 14% / 0.7);
  color: hsl(30 80% 76%);
}

.source-links {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.rubric {
  min-width: 720px;
}

.prose code,
.field-list code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--ink);
}

.field-list {
  display: grid;
  gap: var(--space-3);
}

.field-list dd {
  color: var(--muted);
}

.code-block {
  overflow-x: auto;
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}

/* Small screens */

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: var(--space-4);
    overflow-x: auto;
  }

  .hero,
  .band {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 48px;
    padding: 40px 0 64px;
  }

  .band {
    gap: var(--space-5);
    padding: 48px 0;
  }

  .page-head {
    padding: 48px 0 32px;
  }

  .page-head h1 {
    font-size: 32px;
  }

  .plans,
  .roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare tbody th {
    width: 120px;
  }

  .stepper {
    grid-template-columns: minmax(0, 1fr);
  }

  .stepper li {
    padding-left: 48px;
  }

  .stepper li::before {
    position: absolute;
    top: 0;
    left: 0;
  }

  .stepper li:not(:last-child)::after {
    top: 40px;
    bottom: calc(8px - var(--space-5));
    left: 15px;
    right: auto;
    border-top: 0;
    border-left: 2px dotted var(--edge-strong);
  }

  .score-list div {
    grid-template-columns: minmax(0, 1fr);
  }

  .score-list dt {
    grid-row: auto;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-maker {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .join-row {
    flex-direction: column;
  }

  .site-actions .link-quiet {
    display: none;
  }

  .promises,
  .source-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .jobs li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .connector-directory a {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .connector-directory .score-badge {
    grid-column: 2;
  }
}

/* Kaia's waking bear (wakingMark in bear.ts). It breathes; hovering or
   focusing what holds it (.bear-wake) opens its eyes, blinks twice, yawns
   and sends it back to sleep. Frames swap in steps, as pixel art should. */

.bear-breath {
  animation: bear-breath 4s steps(1, end) infinite;
}

.bear-open,
.bear-squint,
.bear-mouth-small,
.bear-mouth-big {
  opacity: 0;
}

.bear-wake:is(:hover, :focus-visible)
  :is(.bear-closed, .bear-open, .bear-squint, .bear-mouth-small, .bear-mouth-big) {
  animation-duration: 3.6s;
  animation-timing-function: steps(1, end);
  animation-fill-mode: forwards;
}

.bear-wake:is(:hover, :focus-visible) .bear-closed {
  animation-name: bear-closed;
}

.bear-wake:is(:hover, :focus-visible) .bear-open {
  animation-name: bear-open;
}

.bear-wake:is(:hover, :focus-visible) .bear-squint {
  animation-name: bear-squint;
}

.bear-wake:is(:hover, :focus-visible) .bear-mouth-small {
  animation-name: bear-mouth-small;
}

.bear-wake:is(:hover, :focus-visible) .bear-mouth-big {
  animation-name: bear-mouth-big;
}

/* Up a pixel on the breath in, back down on the breath out. */
@keyframes bear-breath {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-1px);
  }
  75% {
    transform: translateY(0);
  }
}

/* Asleep, wakes at 8%, blinks at 26% and 38%, yawns from 52% to 82%. */
@keyframes bear-closed {
  0% {
    opacity: 1;
  }
  8% {
    opacity: 0;
  }
  26% {
    opacity: 1;
  }
  29% {
    opacity: 0;
  }
  38% {
    opacity: 1;
  }
  41% {
    opacity: 0;
  }
  82%,
  100% {
    opacity: 1;
  }
}

@keyframes bear-open {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  26% {
    opacity: 0;
  }
  29% {
    opacity: 1;
  }
  38% {
    opacity: 0;
  }
  41% {
    opacity: 1;
  }
  52%,
  100% {
    opacity: 0;
  }
}

@keyframes bear-squint {
  0% {
    opacity: 0;
  }
  52% {
    opacity: 1;
  }
  82%,
  100% {
    opacity: 0;
  }
}

@keyframes bear-mouth-small {
  0% {
    opacity: 0;
  }
  52% {
    opacity: 1;
  }
  58% {
    opacity: 0;
  }
  76% {
    opacity: 1;
  }
  82%,
  100% {
    opacity: 0;
  }
}

@keyframes bear-mouth-big {
  0% {
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  76%,
  100% {
    opacity: 0;
  }
}

/* The breathing runs on its own, so it stops for reduced motion. Waking
   only swaps still frames, and only when asked. */
@media (prefers-reduced-motion: reduce) {
  .bear-breath {
    animation: none;
  }
}
