/* oda-i.com. Jacob's Orbit Lattice on its own ink ground; Esc, or a long press on touch, re-forms it as the tool
   names (Re-form, Mesh treatment, chosen 2026-10-29). The ground and the hint ink are the page's only values outside
   the system, recorded in design-proposals/Landing.md. Text uses the system's overlay family, the one set it tests on
   dark, and its type tokens (odai/tokens.css, copied from the pin, never edited). */

@font-face { font-family: Manrope; src: url("/landing/fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("/landing/fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/landing/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ground-ink: #0e0e0e;  /* the lattice's ground */
  --hint-ink: #4a4a4a;    /* the lattice's quiet hint */
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --pad: clamp(24px, 5vw, 64px);
  /* the page is one dark ground in either OS theme, so the browser's own parts follow it */
  color-scheme: dark;
}

html { height: 100%; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; height: 100%; background: var(--ground-ink); color: var(--overlay-ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; overflow: hidden; }
a { color: inherit; text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.c { position: fixed; inset: 0; overflow: hidden; isolation: isolate;
  padding-block: var(--pad); padding-left: max(var(--pad), var(--gutter-l)); padding-right: max(var(--pad), var(--gutter-r));
  padding-bottom: calc(var(--pad) + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-rows: auto 1fr auto; }
.c canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.c.dragging canvas { cursor: grabbing; }
.c.menu canvas { cursor: default; }
.c.pick canvas { cursor: pointer; }

.top, .foot { position: relative; z-index: 1; pointer-events: none; }
.foot { align-self: end; display: flex; justify-content: flex-end; align-items: end; gap: var(--space-5); }
/* Sign in (Jacob, 2026-11-12: "A, larger, with no Stay tuned"). One word top right from the first frame, at the size
   Stay tuned had, in the overlay's second ink (10.2:1 on the ground); the padding makes a 44 px target. It stays put
   while the tools are open. */
.signin { position: absolute; z-index: 3; top: var(--pad); right: max(var(--pad), var(--gutter-r));
  padding: 9px 12px; margin: -9px -12px; border-radius: var(--radius-1);
  font-size: var(--type-title-2-size); line-height: var(--type-title-2-line); font-weight: var(--type-body-md-weight);
  color: var(--overlay-ink-2); white-space: nowrap; transition: color var(--duration-state) ease; }
.signin:hover { color: var(--overlay-ink); }
.signin:focus-visible { outline: 2px solid var(--overlay-blue); outline-offset: 0; }
.hint { font-size: var(--type-label-size); line-height: var(--type-label-line); font-weight: var(--type-label-weight); color: var(--hint-ink); transition: opacity 900ms ease; }
.hint.gone { opacity: 0; }

/* The tool labels: one column beside the names on a wide screen, under each name on a phone. The names themselves
   are drawn on the canvas, so .n is for screen readers' sake only (and the page without script). */
.layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; display: grid; gap: var(--space-1); opacity: 0; pointer-events: none; white-space: nowrap; will-change: transform, opacity; }
.tag .n { display: none; }
.menu .tag.live { pointer-events: auto; cursor: pointer; }
.tag .w { font-size: var(--type-body-md-size); line-height: var(--type-body-md-line); font-weight: var(--type-body-md-weight); color: var(--overlay-ink); }
.tag .h { font-family: var(--font-mono); font-size: var(--type-caption-size); line-height: var(--type-caption-line); color: var(--overlay-ink-2); transition: color var(--duration-state); }
.tag.on .h { color: var(--overlay-blue); }
.tag:focus-visible { outline: 2px solid var(--overlay-blue); outline-offset: 6px; }
.narrow .tag { gap: 2px; }
.narrow .tag .w { font-size: var(--type-body-sm-size); line-height: var(--type-body-sm-line); font-weight: var(--type-body-md-weight); color: var(--overlay-ink-2); }
.narrow .tag .h { font-size: var(--type-data-sm-size); line-height: var(--type-data-sm-line); }
