:root {
  --loom-bg-canvas: #ffffff;
  --loom-bg-surface: #ffffff;
  --loom-bg-surface-muted: #f4f4f5;
  --loom-bg-overlay: #ffffff;
  --loom-fg-default: #0a0a0a;
  --loom-fg-muted: #52525b;
  --loom-fg-subtle: #6e6e78;
  --loom-fg-on-accent: #ffffff;
  --loom-accent: #0a0a0a;
  --loom-accent-strong: #176e44;
  --loom-accent-subtle: #effbf5;
  --loom-brand-secondary: #72e3ad;
  --loom-brand-secondary-strong: #1f985e;
  --loom-border-default: #d4d4d9;
  --loom-border-strong: #0a0a0a;
  --loom-border-subtle: #e6e6ea;
  --loom-border-accent: #72e3ad;
  --loom-accent-chroma: 0.000;
  --loom-accent-strong-chroma: 0.293;
  --loom-accent-subtle-chroma: 0.039;
  --loom-brand-secondary-chroma: 0.356;
  --loom-brand-secondary-strong-chroma: 0.379;
  --loom-scrim: #0a0a0a;
  --loom-scrim-fg: #ffffff;
  --loom-heading-family: Geist, "Geist Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --loom-body-family: Geist, "Geist Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --loom-mono-family: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --loom-heading-weight: 700;
  --loom-body-weight: 400;
  --loom-scale-1: 12px;
  --loom-scale-2: 14px;
  --loom-scale-3: 16px;
  --loom-scale-4: clamp(18.93px, 2.61cqi, 20px);
  --loom-scale-5: clamp(21.68px, 3.39cqi, 26px);
  --loom-scale-6: clamp(24.44px, 4.17cqi, 32px);
  --loom-scale-7: clamp(29.96px, 5.73cqi, 44px);
  --loom-scale-8: clamp(42.84px, 9.38cqi, 72px);
  --loom-radius-sm: 4px;
  --loom-radius-md: 8px;
  --loom-radius-lg: 12px;
  --loom-radius-full: 9999px;
  --loom-spacing-1: 4px;
  --loom-spacing-2: 8px;
  --loom-spacing-3: clamp(9.84px, 1.57cqi, 12px);
  --loom-spacing-4: clamp(13.52px, 2.61cqi, 20px);
  --loom-spacing-5: clamp(19.04px, 4.17cqi, 32px);
  --loom-spacing-6: clamp(26.4px, 6.25cqi, 48px);
  --loom-spacing-7: clamp(37.44px, 9.38cqi, 72px);
  --loom-spacing-8: clamp(55.84px, 14.59cqi, 112px);
  --loom-motion-fast: 120ms;
  --loom-motion-medium: 200ms;
  --loom-motion-slow: 320ms;
  --loom-density: comfortable;
  background-color: #ffffff;
  color: #0a0a0a;
  color-scheme: light;
}

/*
 * Everything this stylesheet is allowed to do.
 *
 * No colour, no type size, no spacing step and no radius is written here: all
 * four come from the theme `SHELL_ROOT_CSS` mounts on `:root` as `--loom-*`
 * custom properties, and a value written in this file would be a second source
 * of truth that no re-theme reaches (0049). The same rule the marketing site's
 * stylesheet keeps, for the same reason, on the one page that has no tree to
 * read it from.
 *
 * Line heights are the exception and are not tokens: the library has no
 * `--loom-leading-*`, because every primitive carries its own — `loom.prose`
 * sets 1.6, a heading 1.25, a control 1.2. The numbers below are those numbers,
 * so this page leads its text the way a Loom page leads it.
 */

html,
body {
  margin: 0;
  padding: 0;
}

/*
 * One centred group rather than a bar and a body.
 *
 * The first build of this page put the wordmark in a bar at the top and centred
 * the message in what was left below it, which is the shape a page with content
 * on it has. Photographed at 1280×760 and on a phone, it was most of a screen
 * of white with two small things at opposite ends of it — and this page is
 * three short lines, so there is no body for a bar to sit above.
 *
 * Stacking them as one group and centring it puts the mark directly over the
 * message, which is also the stronger version of this page's one job: a reader
 * who arrived from a mistyped address or a stale link reads the two together.
 *
 * `100dvh` rather than `100vh` so the ground reaches the bottom of the window
 * under a phone's retracting toolbar, and `min-height` rather than `height` so a
 * reader who has scaled their text up gets a taller page instead of a clipped
 * one.
 */
.not-found {
  box-sizing: border-box;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: var(--loom-spacing-6);
  min-height: 100dvh;
  padding: var(--loom-spacing-5);
  font-family: var(--loom-body-family);
  font-size: var(--loom-scale-3);
  font-weight: var(--loom-body-weight);
  line-height: 1.6;
}

.not-found__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--loom-spacing-2);
  justify-self: start;
  color: var(--loom-fg-default);
  font-family: var(--loom-heading-family);
  font-size: var(--loom-scale-4);
  font-weight: var(--loom-heading-weight);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
}

/*
 * `currentColor` is the reason the arms are drawn inline rather than served as
 * the icon file: an image is opaque to the cascade, so `app/icon.svg` in this
 * position would paint its own ink on whatever paper the palette supplied.
 */
.not-found__mark {
  display: block;
  width: var(--loom-scale-4);
  height: var(--loom-scale-4);
  fill: currentColor;
  flex: none;
}

/*
 * A reading measure, which is what every surface of this product holds its text
 * to. `ch` rather than a spacing step: a measure is a count of characters, and
 * the one step wide enough to stand in for it would stop being right the moment
 * a font pack changed.
 */
.not-found__message {
  max-width: 54ch;
}

.not-found__heading {
  margin: 0;
  color: var(--loom-fg-default);
  font-family: var(--loom-heading-family);
  font-size: var(--loom-scale-6);
  font-weight: var(--loom-heading-weight);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.not-found__prose {
  margin: var(--loom-spacing-3) 0 0;
  color: var(--loom-fg-muted);
}

/*
 * Outlined rather than filled, which is not a preference — `minimal` sets
 * `bg-surface` to the canvas white so that every card, nav and panel in the
 * library is defined by its border instead of by a change of ground. A filled
 * button here would be the one element on the page that did not belong to the
 * palette it is wearing.
 */
.not-found__way-out {
  display: inline-block;
  margin-top: var(--loom-spacing-5);
  padding: var(--loom-spacing-2) var(--loom-spacing-4);
  border: 1px solid var(--loom-border-default);
  border-radius: var(--loom-radius-sm);
  background-color: var(--loom-bg-surface);
  color: var(--loom-fg-default);
  font: inherit;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color var(--loom-motion-fast) ease,
    color var(--loom-motion-fast) ease;
}

/*
 * The green appears as a rule and a ring and never as a fill, which is where
 * `minimal` puts its one accent. Hover and focus are the same treatment because
 * the keyboard reader and the pointer reader are asking the same question.
 */
.not-found__way-out:hover,
.not-found__way-out:focus-visible {
  border-color: var(--loom-border-accent);
  color: var(--loom-accent-strong);
}

.not-found__way-out:focus-visible {
  outline: 2px solid var(--loom-border-accent);
  outline-offset: 2px;
}

.not-found__brand:focus-visible {
  outline: 2px solid var(--loom-border-accent);
  outline-offset: 2px;
  border-radius: var(--loom-radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  .not-found__way-out {
    transition: none;
  }
}
