/* Orbi's website pages beside the film (about, privacy, terms, legal): the
   film's space, type and halftone dots, round a plain reading column. */

:root {
  color-scheme: dark;
  --ink: #ece9e2;
  --text: #d9d5ce;
  --muted: #aaa7a1;
  --focus: #c6b4f0;
  --box: #0a090c;
  --box-line: #343137;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  /* The film's dotted line, as on its scrubber. */
  --dotted: radial-gradient(circle, rgba(235, 228, 214, 0.3) 0.9px, transparent 1.2px) 0 0 / 6px 2px repeat-x;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #000; }
body {
  position: relative; isolation: isolate; margin: 0; min-height: 100vh;
  background: radial-gradient(110% 55% at 50% -12%, rgba(70, 56, 150, 0.32), transparent 62%), #000;
  color: var(--text); font: 15px/1.7 var(--font);
}
/* Orbi's horizon over the top of every page: lavender halftone dots, fading out from the middle. */
body::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 440px; pointer-events: none;
  background: radial-gradient(circle, rgba(198, 180, 240, 0.5) 1px, transparent 1.6px) 0 0 / 7px 7px;
  mask-image: radial-gradient(55% 100% at 50% 0, #000, transparent 72%);
}
a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(198, 180, 240, 0.55); text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a:hover { color: #fff; text-decoration-color: var(--focus); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; z-index: 2; top: 8px; left: 16px; padding: 10px 14px; border-radius: 7px; background: var(--ink); color: #141312; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* The film's header: the wordmark home, and the pages. */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; padding: 12px 24px 12px 36px; }
.wordmark { color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: -1px; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 13px; }
.site-nav a { padding-block: 12px; color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
/* The page you are on: lit, with a lavender dot under it. */
.site-nav a[aria-current="page"] { color: var(--ink); background: radial-gradient(circle, var(--focus) 1.6px, transparent 2.1px) 50% 100% / 6px 6px no-repeat; }

.page { width: min(680px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 88px; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 { margin: 0; font-size: clamp(32px, 4.2vw, 46px); font-weight: 550; line-height: 1.12; letter-spacing: -0.03em; }
.lede { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.updated { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
/* Each section starts under a dotted line. */
h2 { margin: 56px 0 0; padding-top: 26px; background: var(--dotted); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
h3 { margin: 28px 0 0; font-size: 15px; font-weight: 600; }
p, ul { margin: 12px 0 0; }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
li::marker { color: var(--focus); }
b { color: var(--ink); font-weight: 600; }
.note { margin: 32px 0 0; padding: 16px 18px; border: 1px solid var(--box-line); border-radius: 10px; background: var(--box); }
code { padding: 1px 6px; border: 1px solid var(--box-line); border-radius: 5px; background: var(--box); font: 13px var(--mono); overflow-wrap: anywhere; }

/* Tables scroll sideways on a phone rather than squeezing their paths. */
.table { margin: 18px 0 0; overflow-x: auto; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; background: radial-gradient(circle, rgba(235, 228, 214, 0.3) 0.9px, transparent 1.2px) 0 100% / 6px 2px repeat-x; }
th { color: var(--muted); font-size: 12px; font-weight: 600; }

.site-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px;
  width: min(680px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 40px;
  background: var(--dotted); color: var(--muted); font-size: 12px;
}
.site-foot a { color: var(--muted); }

@media (max-width: 719px) {
  .site-header { padding: 10px 12px 10px 20px; }
  .page { padding-top: 40px; }
}
@media (forced-colors: active) {
  .site-nav a[aria-current="page"] { text-decoration: underline; }
}
