/* Orbit website.
   Colours are Orbit's Charcoal theme (colors::applyTheme), the Music accent
   and its derived light step (setAccent), the island ground the Cards layout
   floats on (MainComponent::islandGround). Radii come from uiMetrics and the
   tool tiles (ToolTile.h). Nothing here is picked by eye. */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #08090a;        /* islandGround = windowBg.darker(0.5) */
  --window: #0d0e0f;        /* windowBg */
  --panel: #141516;         /* panel */
  --panel-light: #1a1b1d;   /* panelLight */
  --control: #202122;       /* control */
  --control-hover: #2a2c2e; /* controlHover */
  --outline: #363839;       /* outline */
  --text: #f0f0f0;          /* text */
  --dim: #9a9b9d;           /* textDim */
  --accent: #4f8cff;        /* Music workspace, Charcoal */
  --accent-light: #8cb4ff;  /* accent at text size */
  --record: #ff4d4d;
  --space: #0a0b12;         /* cosmos::space */
  --space-deep: #07080d;    /* cosmos::spaceDeep */

  --r-small: 6px;
  --r-control: 9px;
  --r-panel: 12px;
  --r-tile: 8px;

  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --ui: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;

  --page: min(1240px, 100% - 2 * var(--gutter));
  --gutter: clamp(16px, 4vw, 48px);
  --header: 64px;
}

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

html {
  background: var(--ground);
  color: var(--text);
  font-family: var(--ui);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-padding-top: calc(var(--header) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--accent-light); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }

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

::selection { background: rgba(79, 140, 255, 0.35); color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--panel);
  color: var(--text);
  border-radius: var(--r-control);
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------ typography */

/* The app's label: small capitals in the dim ink, a little tracking. */
.label {
  display: block;
  margin: 0 0 14px;
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
}

.label .dot {
  display: inline-block;
  width: 6px; height: 6px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 0.98; font-weight: 300; }
.section h2 { margin-bottom: 22px; }
.intro h2 { margin-bottom: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.04; font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.6rem); line-height: 1.2; }

p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: #d5d6d8; max-width: 38em; }
.dim { color: var(--dim); }

/* -------------------------------------------------------------- buttons */

/* Tool tile language: a lit tile is a tint of its tone under an ink of the
   same tone; a value sits in a faint well. 0.24 / 0.30 / 0.34 are the
   rest / hover / down alphas from toolTile::paintFace. */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-control);
  font: 600 1rem/1 var(--ui);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
  white-space: nowrap;
}

.button svg { width: 18px; height: 18px; flex: none; }

.button--lit {
  background: rgba(79, 140, 255, 0.24);
  color: var(--accent-light);
}
.button--lit:hover { background: rgba(79, 140, 255, 0.30); color: #b3cdff; }
.button--lit:active { background: rgba(79, 140, 255, 0.34); }

.button--well {
  background: rgba(240, 240, 240, 0.04);
  box-shadow: inset 0 0 0 1px rgba(240, 240, 240, 0.07);
  color: var(--text);
}
.button--well:hover { background: rgba(240, 240, 240, 0.07); color: var(--text); }
.button--well:active { background: rgba(240, 240, 240, 0.10); }
.button--well[aria-pressed="true"] { background: rgba(79, 140, 255, 0.24); box-shadow: none; color: var(--accent-light); }

.button--small { min-height: 36px; padding: 0 14px; font-size: 0.9375rem; }

/* --------------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-solid {
  background: rgba(8, 9, 10, 0.92);
  box-shadow: 0 1px 0 rgba(240, 240, 240, 0.06);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid { background: rgba(8, 9, 10, 0.78); backdrop-filter: blur(14px) saturate(1.2); }
}

.site-header__inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }

.site-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.site-nav a {
  padding: 8px 12px;
  border-radius: var(--r-small);
  color: var(--dim);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); background: rgba(240, 240, 240, 0.05); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .button { margin-left: 8px; color: var(--accent-light); padding: 0 16px; }
.site-nav .button:hover { color: #b3cdff; background: rgba(79, 140, 255, 0.30); }

@media (max-width: 760px) {
  .site-nav a:not(.button) { display: none; }
  .brand img { height: 32px; }
}

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

/* The window rises out of the hero by this much: the first screen shows the
   Reverb's disc AND the app. */
:root { --overlap: clamp(140px, 24vh, 250px); --caption: 172px; }

.hero {
  position: relative;
  background: var(--space-deep);
  isolation: isolate;
  overflow: hidden;
}

.hero__field {
  position: absolute;
  inset: 0;
  z-index: -2;
  cursor: grab;
  touch-action: pan-y;
  outline-offset: -4px;
}
.hero__field.is-dragging { cursor: grabbing; }
.hero__field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* A still frame for browsers without WebGL and for the very first paint */
.hero__poster {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: var(--space-deep) url("../img/hero-desktop.webp") 50% 0 / cover no-repeat;
  transition: opacity 600ms ease;
}
.hero.has-field .hero__poster { opacity: 0; }

/* The sky fades into the page where the window comes up */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: calc(var(--overlap) + 120px);
  z-index: -1;
  background: linear-gradient(to bottom, rgba(8, 9, 10, 0), var(--ground) 92%);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: calc(var(--header) + clamp(36px, 9vh, 104px)) 0 calc(var(--overlap) + clamp(44px, 8vh, 84px));
  pointer-events: none;
}
.hero__copy > * { pointer-events: auto; max-width: 36rem; }
.hero__copy::before {
  content: "";
  position: absolute;
  inset: 0 -30% 0 -30%;
  z-index: -1;
  background: radial-gradient(48% 50% at 22% 42%, rgba(7, 8, 13, 0.78), rgba(7, 8, 13, 0) 72%);
  pointer-events: none;
}

.hero__copy > h1 { margin: 0 0 22px; max-width: 18ch; font-size: clamp(2.4rem, 4.3vw, 3.9rem); line-height: 1.04; }
.hero .lede { color: #d9dae0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__caption {
  position: absolute;
  right: max(var(--gutter), (100% - 1240px) / 2);
  bottom: calc(var(--overlap) + 36px);
  max-width: 17rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #a7abbd;
}

@media (max-width: 960px) {
  :root { --overlap: 0px; }
  /* The disc gets the top of the screen to itself; the copy follows below */
  .hero__field { inset: 0 0 auto 0; height: min(52svh, 480px); }
  .hero__poster { inset: 0 0 auto 0; height: min(52svh, 480px); background-image: url("../img/hero-mobile.webp"); background-position: 50% 50%; }
  .hero__copy { padding: calc(min(52svh, 480px) - 30px) 0 40px; }
  .hero__copy::before { background: linear-gradient(to bottom, rgba(7, 8, 13, 0) 0, rgba(7, 8, 13, 0.92) 70px); inset: 0 -50% 0; top: calc(min(52svh, 480px) - 110px); }
  .hero__caption { position: static; width: var(--page); max-width: none; margin: -16px auto 0; padding-bottom: 32px; }
  .hero::after { display: none; }
}

/* --------------------------------------------------------------- layout */

.section { padding: clamp(80px, 12vw, 160px) 0; }
.wrap { width: var(--page); margin: 0 auto; }

.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.intro h2 { max-width: 14ch; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }


/* --------------------------------------------------------- studio story */

/* The window stays put while the page scrolls past four invisible triggers;
   the caption under the window follows them. */
.story {
  position: relative;
  z-index: 2;
  width: min(1320px, 100% - 2 * var(--gutter));
  margin: calc(-1 * var(--overlap)) auto 0;
}

.story__stage {
  position: sticky;
  top: calc(var(--header) + 12px);
  display: grid;
  gap: 22px;
}

.studio {
  position: relative;
  width: 100%;
  height: clamp(420px, calc(100svh - var(--header) - 12px - var(--caption) - 34px), 740px);
  border-radius: 14px;
  background: var(--ground);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(240, 240, 240, 0.07);
  overflow: hidden;
}
.studio canvas { width: 100%; height: 100%; }

.story__captions { display: grid; min-height: var(--caption); padding: 0 4px; }
.story__caption {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 8px clamp(24px, 4vw, 64px);
  align-content: start;
  opacity: 0;
  transition: opacity 260ms ease;
}
.story__caption.is-current { opacity: 1; }
.story__caption h3 { margin: 0; }
.story__caption .label { margin-bottom: 8px; }
.story__caption p { color: #cfd0d3; max-width: 44em; margin: 0; }

.story__triggers > div { height: 62vh; }
.story__triggers > div:last-child { height: 90vh; }

/* Wide screens: full width at first, then the window glides right (main.js
   scales it) and the captions take the left column. */
@media (min-width: 1100px) {
  .story__stage { height: calc(100svh - var(--header) - 24px); display: block; }
  .studio {
    height: min(calc(100svh - var(--header) - 24px), 760px);
    transform-origin: 100% 0;
    will-change: transform;
  }
  .story__captions {
    position: absolute;
    left: 0;
    top: 50%;
    width: calc(30% - 40px);
    min-height: 0;
    padding: 0;
    transform: translateY(-50%);
    opacity: 0;
  }
  .story:not(.is-split) .story__captions { pointer-events: none; }
  .story__caption { grid-template-columns: 1fr; gap: 0; padding-left: 20px; border-left: 2px solid var(--accent); }
  .story__caption h3 { margin: 0 0 14px; }
  .story__caption p { font-size: 1rem; }
  .story__triggers > div:first-child { height: 80vh; }
}

/* The Reverb's large editor, opened over the studio during step 03 */
.device-window {
  position: absolute;
  right: 2.5%;
  top: 5%;
  width: 64%;   /* refined by main.js so the window always fits */
  border-radius: 10px;
  background: #0a0b12;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(240, 240, 240, 0.1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transform-origin: 30% 100%;
  pointer-events: none;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.device-window.is-open { opacity: 1; transform: none; pointer-events: auto; }
.device-window__title {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #161719;
  color: #9a9b9d;
  font: 600 12px/1 var(--ui);
}
.device-window__body { position: relative; aspect-ratio: 1040 / 760; }
.device-window__body > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.device-window__field { position: absolute; left: 0; right: 0; cursor: grab; touch-action: pan-y; }
.device-window__field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 960px) { .device-window { right: 4%; top: 4%; } }

.themes { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; min-width: 0; }
.themes legend { margin-bottom: 10px; }
.theme-chip { position: relative; }
.theme-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.theme-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px 0 8px;
  border-radius: var(--r-control);
  background: rgba(240, 240, 240, 0.04);
  box-shadow: inset 0 0 0 1px rgba(240, 240, 240, 0.07);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}
.theme-chip i { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.theme-chip input:checked + span { background: rgba(79, 140, 255, 0.24); box-shadow: none; color: var(--accent-light); }
.theme-chip input:focus-visible + span { outline: 2px solid var(--accent-light); outline-offset: 2px; }

@media (max-width: 960px) {
  :root { --caption: 0px; }
  .story { margin-top: 0; }
  .story__stage { top: var(--header); padding-top: 8px; background: var(--ground); box-shadow: 0 18px 24px -12px var(--ground); }
  .studio { height: min(44svh, 420px); min-height: 0; }
  .story__caption { grid-template-columns: 1fr; padding-bottom: 12px; }
  .story__triggers > div { height: 55vh; }
}

/* ---------------------------------------------------------- feature rows */

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 6vw, 96px);
  padding: clamp(56px, 8vw, 104px) 0;
  border-top: 1px solid rgba(240, 240, 240, 0.07);
}
.chapter:first-of-type { border-top: 0; }
/* Behind each chapter: the part of Orbit the text is about, soft and dim */
.chapter { position: relative; isolation: isolate; }
.chapter__scene {
  position: absolute;
  inset: 2% 46% 2% -8%;
  z-index: -1;
  overflow: hidden;
  border-radius: 18px;
  opacity: 0.75;
  pointer-events: none;
  /* fades out towards the text on the right and at top and bottom */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 55%, transparent 96%), linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 55%, transparent 96%), linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-composite: intersect;
}
.chapter__scene canvas {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  transform-origin: 0 0;
  filter: blur(0.8px);
  will-change: transform;
}
@media (max-width: 860px) {
  .chapter__scene { inset: 0 -10% auto -10%; height: 240px; opacity: 0.45; }
  .chapter h3 { padding-top: 40px; }
}

.chapter h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; font-weight: 300; max-width: 13ch; }
.chapter__body p { color: #cfd0d3; max-width: 36em; }

.facts { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 0; max-width: 40em; }
.facts li {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid rgba(240, 240, 240, 0.07);
  font-size: 0.9375rem;
  color: #c8c9cc;
}
.facts li b { font-weight: 600; color: var(--text); }
@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}

.tool-list { columns: 2 16rem; column-gap: 32px; margin: 22px 0 0; padding: 0; list-style: none; }
.tool-list li { break-inside: avoid; padding: 7px 0; border-top: 1px solid rgba(240, 240, 240, 0.07); font-size: 0.9375rem; color: #c8c9cc; }

/* The knob demo: one rotary, one LFO, drawn like the app draws them */
.knob-demo {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--r-panel);
  background: var(--panel);
  max-width: 36rem;
}
.knob-demo canvas { width: 132px; height: 132px; flex: none; touch-action: none; cursor: ns-resize; border-radius: 50%; }
.knob-demo dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 6px 18px; font-size: 0.9375rem; }
.knob-demo dt { color: var(--dim); }
.knob-demo dd { margin: 0; font-variant-numeric: tabular-nums; }
.knob-demo .swatch { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: #aeb8ff; }
.knob-demo__note { margin: 10px 0 0; font-size: 0.8125rem; color: var(--dim); }
@media (max-width: 520px) { .knob-demo { flex-direction: column; align-items: flex-start; } }

.workspaces { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.workspaces li {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 14px 0 10px;
  border-radius: var(--r-control);
  background: rgba(240, 240, 240, 0.04);
  font-weight: 500;
}
.workspaces svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------- devices */

.devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 72px); margin-top: clamp(40px, 6vw, 72px); }
.device-group { margin: 0 0 40px; }
.device-group h3 { font-family: var(--ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.device-list { margin: 0; padding: 0; list-style: none; }
.device-list li {
  display: grid;
  grid-template-columns: 3px 12.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid rgba(240, 240, 240, 0.07);
}
.device-list .rail { align-self: stretch; border-radius: 2px; background: var(--c, var(--accent)); }
.device-list b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; letter-spacing: 0; }
.device-list span { font-size: 0.9375rem; color: #bdbec2; }
@media (max-width: 960px) { .devices { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .device-list li { grid-template-columns: 3px minmax(0, 1fr); row-gap: 2px; }
  .device-list span { grid-column: 2; }
}

/* ----------------------------------------------------------------- spec */

.spec { margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 72px); }
.spec li { padding: 18px 0; border-top: 1px solid rgba(240, 240, 240, 0.07); }
.spec b { display: block; margin-bottom: 4px; font-weight: 600; }
.spec span { color: #bdbec2; font-size: 0.9375rem; }
@media (max-width: 760px) { .spec { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- people part */

.maker {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: start;
}
.maker p { color: #cfd0d3; }
@media (max-width: 860px) { .maker { grid-template-columns: 1fr; } }

.island {
  border-radius: var(--r-panel);
  background: var(--panel);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.early {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.early .button { margin-top: 10px; }
.early__list { margin: 0; padding: 0; list-style: none; }
.early__list li { padding: 10px 0; border-top: 1px solid rgba(240, 240, 240, 0.07); color: #cfd0d3; }
.early__list li:first-child { border-top: 0; }
@media (max-width: 860px) { .early { grid-template-columns: 1fr; } }

.requirements { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--dim); }

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

.site-footer { padding: 56px 0 64px; border-top: 1px solid rgba(240, 240, 240, 0.06); font-size: 0.875rem; color: var(--dim); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.site-footer a { color: var(--dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer img { height: 22px; width: auto; opacity: 0.8; }

/* ----------------------------------------------------------- plain pages */

.page { padding: calc(var(--header) + 64px) 0 96px; min-height: 70vh; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 24px; }
.prose { max-width: 42em; color: #cfd0d3; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 0.6em; color: var(--text); }
.notice {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-radius: var(--r-control);
  background: rgba(227, 195, 90, 0.12);
  color: #f0dc9a;
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------- motion off */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Theme chips: each swatch is that theme's window ground and accent */
.theme-chip input[value="charcoal"] + span i { background: linear-gradient(135deg, #0d0e0f 55%, #4f8cff 55%); }
.theme-chip input[value="nocturne"] + span i { background: linear-gradient(135deg, #0f101b 55%, #9184d9 55%); }
.theme-chip input[value="graphite"] + span i { background: linear-gradient(135deg, #202123 55%, #4f8cff 55%); }
.theme-chip input[value="cosmicBlue"] + span i { background: linear-gradient(135deg, #10121b 55%, #4f8cff 55%); }
.theme-chip input[value="supernova"] + span i { background: linear-gradient(135deg, #d8d6e0 55%, #2f6fd8 55%); }
.theme-chip input[value="kazy"] + span i { background: linear-gradient(135deg, #140b13 55%, #ff4fa0 55%); }

/* generated from style attributes */
.s-38cdbded { --c:#4d9fff }
.s-3fe8a7b3 { --c:#d678c8 }
.s-b0d29789 { --c:#4f91d8 }
.s-1fa6dca2 { --c:#d66a9f }
.s-45682e73 { --c:#d4a35f }
.s-5bd6a746 { --c:#e18f6a }
.s-0e254124 { --c:#b48cff }
.s-7564d9d0 { --c:#e3c35a }
.s-4ae4ff41 { --c:#e2536a }
.s-d9e02c4f { --c:#a8d45c }
.s-28b4c7e5 { --c:#7f8ff2 }
.s-e48467e8 { --c:#aeb8ff }
.s-a9d4e026 { --c:#56d2df }
.s-291a53d4 { --c:#a9aec4 }
.s-10445e2d { --c:#b8bcc6 }
.s-2b883046 { --c:#d99e56 }
.s-108d9f53 { --c:#7dd168 }
.s-e2dfe5d8 { --c:#54c2c8 }
.s-6b74d48e { --c:#afcf62 }
.s-b1bd5411 { --c:#6a96cf }
.s-4619b1a0 { --c:#9a7fd1 }
.s-e935f363 { --c:#c96b5d }
.s-2dfd3058 { --c:#9db054 }
.s-47db31e2 { --c:#7fb4e6 }
.s-b6f28c43 { --c:#cf6f3f }
.s-3c92f76e { --c:#ff7a45 }
.s-d7ef9362 { --c:#e8894a }
.s-b48bf0c9 { --c:#5ec9a8 }
.s-a039d5de { --c:#8a90f0 }
.s-30018107 { --c:#34d399 }
.s-661f3269 { --c:#6fd4e8 }
.s-62be4c82 { --c:#f08fa0 }
.s-16fd2ea4 { --c:#e2cfa0 }
.s-2e3710e2 { --c:#69c5a5 }
.s-1b00cc7a { --c:#d8b45c }
