@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/jetbrains-mono-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* MATERIAL landing. Dark only, like the app: near-black surfaces, one signal yellow, one teal for what is modulated. */
:root {
  --bg: #08090a;
  --s1: #0d0f11;
  --s2: #121416;
  --s3: #181a1d;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: rgba(255, 255, 255, 0.92);
  --text-2: rgba(255, 255, 255, 0.62);
  --text-3: rgba(255, 255, 255, 0.4);
  --signal: #ffd800;
  --signal-hi: #ffe238;
  --mod: #4fb3bf;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --max: 82rem;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--signal);
  color: #000;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
code,
.kicker,
.eyebrow,
.tag,
.chip,
.n,
.sub,
.ctl,
.cmd,
.langs {
  font-family: var(--mono);
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 50;
  top: 1rem;
  left: 1rem;
  padding: 0.6rem 1rem;
  background: var(--signal);
  color: #000;
}

/* ── Top bar ─────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}
.mark {
  width: 1.9rem;
  height: 1.9rem;
}
.top nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
}
.links {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
}
.links a,
.langs a {
  text-decoration: none;
  color: var(--text-2);
  transition: color 0.15s;
}
.links a:hover,
.langs a:hover,
.langs a[aria-current] {
  color: var(--text);
}
.langs {
  display: flex;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.langs a {
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  height: 2.5rem;
}
.langs a[aria-current] {
  color: var(--signal);
}
@media (min-width: 52rem) {
  .links {
    display: flex;
  }
}

/* ── Hero ────────────────────────────────────────────────── */
main {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  container-type: inline-size;
}
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}
.wordmark {
  margin-top: 1.25rem;
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.82;
  letter-spacing: -0.045em;
  font-size: calc(100cqw / 6.55);
  white-space: nowrap;
}
.wordmark span {
  display: inline-block;
  animation: rise 0.9s var(--ease) both;
}
@keyframes rise {
  from {
    translate: 0 40%;
    opacity: 0;
  }
}
.hero-row {
  display: grid;
  gap: 2rem;
  margin-top: clamp(1.75rem, 4vw, 3rem);
}
.lead {
  max-width: 38rem;
  font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.6rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--text);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
/* the app icon, big: its yellow module is the "signal" and walks around the grid (it does that per project in the app) */
.tile {
  flex: 0 0 100%;
}
.tile-mark {
  display: block;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 22.6%;
  box-shadow:
    0 0 0 1px var(--line),
    0 18px 50px -18px rgba(255, 216, 0, 0.35);
}
.sig {
  transition:
    x 0.5s var(--ease),
    y 0.5s var(--ease);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  background: var(--signal);
  color: #000;
  font-weight: 700;
  font-stretch: 112%;
  text-decoration: none;
  border-radius: 2px;
  transition:
    background 0.15s,
    translate 0.2s var(--ease);
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
/* the visitor's own system gets the yellow button */
.btn.alt,
html[data-os="win"] .btn-mac {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn.alt:hover,
html[data-os="win"] .btn-mac:hover {
  background: var(--s3);
}
html[data-os="win"] .btn-win {
  background: var(--signal);
  color: #000;
  box-shadow: none;
  order: -1;
}
html[data-os="win"] .btn-win:hover {
  background: var(--signal-hi);
}
.os-h {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.os-h + .steps {
  margin-top: 1rem;
}
.btn:hover {
  background: var(--signal-hi);
  translate: 0 -2px;
}
.btn svg {
  transition: translate 0.2s var(--ease);
}
.btn:hover svg {
  translate: 0 2px;
}
.sub {
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.quiet {
  font-size: 0.9375rem;
  color: var(--text-2);
  text-underline-offset: 0.3em;
  text-decoration-color: var(--line);
}
.quiet:hover {
  color: var(--text);
  text-decoration-color: var(--signal);
}
@media (min-width: 60rem) {
  .hero-row {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
    justify-self: end;
    gap: 0.75rem;
  }
  .tile-mark {
    width: 8.5rem;
    height: 8.5rem;
    margin-bottom: 0.75rem;
  }
}

/* ── The toy mosaic ──────────────────────────────────────── */
.demo {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  background: var(--s1);
}
.stage {
  position: relative;
  background: #000;
}
canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
}
@media (min-width: 40rem) {
  canvas {
    aspect-ratio: 2.1 / 1;
  }
}
.chip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(8, 9, 10, 0.72);
  border: 1px solid var(--line);
}
.panel {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.ctl {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  min-width: 0;
  margin: 0;
}
.ctl output {
  color: var(--signal);
}
label.ctl:has(input[type="range"]) {
  grid-template-columns: 1fr auto;
  align-items: center;
}
label.ctl output {
  grid-row: 1;
  grid-column: 2;
}
label.ctl input[type="range"] {
  grid-row: 2;
  grid-column: 1 / -1;
}
input[type="range"] {
  width: 100%;
  height: 1.5rem;
  background: transparent;
  appearance: none;
  accent-color: var(--signal);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--line);
}
input[type="range"]::-moz-range-track {
  height: 2px;
  background: var(--line);
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 0.875rem;
  height: 1.25rem;
  margin-top: -0.5rem;
  background: var(--signal);
  border: 0;
  border-radius: 1px;
}
input[type="range"]::-moz-range-thumb {
  width: 0.875rem;
  height: 1.25rem;
  background: var(--signal);
  border: 0;
  border-radius: 1px;
}
.seg {
  grid-template-columns: repeat(3, 1fr);
  align-content: start;
  gap: 0;
}
.seg .lbl {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
}
.seg label {
  display: block;
}
.seg input,
.tog input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg label span {
  display: block;
  padding: 0.55rem 0.4rem;
  text-align: center;
  border: 1px solid var(--line);
  margin-left: -1px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.seg label:hover span {
  color: var(--text);
}
.seg input:checked + span {
  background: var(--signal);
  border-color: var(--signal);
  color: #000;
  position: relative;
}
.seg input:focus-visible + span,
.tog input:focus-visible ~ .sw {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.tog {
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  border-bottom: 0;
}
.sw {
  position: relative;
  width: 2.25rem;
  height: 1.25rem;
  border: 1px solid var(--line);
  background: var(--s3);
  transition: background 0.2s;
}
.sw::after {
  content: "";
  position: absolute;
  inset: 3px auto 3px 3px;
  width: 0.75rem;
  background: var(--text-3);
  transition:
    translate 0.2s var(--ease),
    background 0.2s;
}
.tog input:checked ~ .sw {
  background: color-mix(in oklab, var(--mod) 28%, var(--s3));
  border-color: var(--mod);
}
.tog input:checked ~ .sw::after {
  translate: 1rem 0;
  background: var(--mod);
}
.tog input:checked ~ span:last-child {
  color: var(--mod);
}
figcaption {
  padding: 0.9rem 1rem 1rem;
  max-width: 46rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-3);
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 52rem) {
  .panel {
    grid-template-columns: 1fr 1fr 1.15fr auto;
  }
  .ctl {
    border-bottom: 0;
    border-right: 1px solid var(--line-soft);
  }
  .tog {
    border-right: 0;
    padding-inline: 1.25rem;
  }
}

/* ── Sections ────────────────────────────────────────────── */
.block {
  margin-top: clamp(5rem, 11vw, 9rem);
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.block h2,
.end h2 {
  margin-top: 1rem;
  max-width: 20ch;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2rem, 1rem + 4.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.after {
  margin-top: 2.5rem;
}

/* the real app: a clip, then two screens */
.shots .clip {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.shots video {
  display: block;
  width: 100%;
  aspect-ratio: 1440 / 904;
  background: #000;
  border: 1px solid var(--line);
}
.shots figcaption {
  padding: 0;
  border: 0;
  margin-top: 0.75rem;
  max-width: 46rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-3);
}
.shots .gallery {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--s1);
}
@media (min-width: 52rem) {
  .shots .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .shots .gallery figure:first-child {
    grid-column: 1 / -1;
  }
}

/* the chain: the app's playhead runs through it */
.chain {
  position: relative;
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.chain::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--signal);
  animation: scan-y 9s linear infinite;
}
.chain li {
  position: relative;
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.chain .n {
  font-size: 0.75rem;
  color: var(--signal);
}
.chain h3 {
  margin-top: 0.5rem;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.chain p {
  margin-top: 0.6rem;
  max-width: 34ch;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-2);
}
@keyframes scan-y {
  from {
    top: -1px;
    height: 0;
  }
  50% {
    top: -1px;
    height: 100%;
  }
  to {
    top: 100%;
    height: 0;
  }
}
@media (min-width: 60rem) {
  .chain {
    grid-template-columns: repeat(5, 1fr);
  }
  .chain::before {
    width: 0;
    height: 2px;
    animation: scan-x 9s linear infinite;
  }
  .chain li {
    padding: 1.5rem 1.25rem 2rem 0;
    border-bottom: 0;
  }
  .chain li + li {
    padding-left: 1.25rem;
    border-left: 1px solid var(--line-soft);
  }
}
@keyframes scan-x {
  from {
    left: 0;
    width: 0;
  }
  50% {
    left: 0;
    width: 100%;
  }
  to {
    left: 100%;
    width: 0;
  }
}

/* what it does: an editorial list, not cards */
.things {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.things li {
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.tag {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mod);
}
.things h3 {
  font-weight: 700;
  font-stretch: 108%;
  font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.things p {
  margin-top: 0.9rem;
  max-width: 52ch;
  color: var(--text-2);
}
code {
  padding: 0.1em 0.4em;
  font-size: 0.86em;
  color: var(--mod);
  background: var(--s2);
  border: 1px solid var(--line-soft);
}
@media (min-width: 52rem) {
  .things li {
    grid-template-columns: 11rem 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }
}

/* install */
.steps {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 0;
  max-width: 52rem;
  counter-reset: s;
}
.steps li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.num {
  font-weight: 900;
  font-stretch: 125%;
  font-size: 2.5rem;
  line-height: 0.9;
  color: var(--signal);
}
.steps h3 {
  font-weight: 700;
  font-stretch: 108%;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.steps p {
  margin-top: 0.4rem;
  color: var(--text-2);
}
.cmd {
  display: flex;
  align-items: stretch;
  margin-top: 1rem;
  max-width: 100%;
  border: 1px solid var(--line);
  background: var(--s1);
}
.cmd code {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.8125rem;
  color: var(--text);
  background: none;
  border: 0;
}
.cmd button {
  padding: 0 1rem;
  font: inherit;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--s3);
  border: 0;
  border-left: 1px solid var(--line);
  cursor: pointer;
  min-width: 5.5rem;
}
.cmd button:hover {
  color: #000;
  background: var(--signal);
}

.note {
  max-width: 52rem;
  margin-top: 1.5rem;
  padding-left: 4.5rem;
  color: var(--text-2);
}
@media (max-width: 40rem) {
  .note {
    padding-left: 0;
  }
}

/* limits */
.limits ul {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 46rem;
}
.limits li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.75rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-2);
}
.limits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--text-3);
}

/* end */
.end {
  margin-top: clamp(6rem, 14vw, 12rem);
  padding-block: clamp(3rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}
.end h2 {
  max-width: none;
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2.25rem, 0.5rem + 8vw, 7.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.end .sub {
  margin-top: 1rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.5rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.875rem;
  color: var(--text-3);
}
.foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.foot .by {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.foot .mark {
  width: 1.6rem;
  height: 1.6rem;
}
.foot a {
  color: var(--text-2);
  text-underline-offset: 0.3em;
  text-decoration-color: var(--line);
}
.foot a:hover {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wordmark span {
    animation: none;
  }
  .chain::before {
    display: none;
  }
  .sig,
  .btn,
  .btn svg,
  .sw::after {
    transition: none;
  }
}
