/* DataLiq — the product site.
   The page is a sheet: a cell grid behind the hero, cell references as
   section labels, a selection box with its fill handle, "marching ants"
   around the app's icon, the speed figures as cells, the features and the
   downloads as small spreadsheets with sheet tabs. Type is Geist (text and
   headings) with JetBrains Mono for data; both are served from the site. */

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 3.2vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --r: 12px;

  color-scheme: light;
  --page: #f6f7f9;
  --panel: #ffffff;
  --panel-2: #eef0f4;
  --ink: #0b1020;
  --ink-2: #273044;
  --muted: #5b6475;
  --faint: #8a92a3;
  --line: #dde1e8;
  --line-2: #e8ebf0;
  --grid: rgb(79 70 229 / 0.07);
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-ink: #ffffff;
  --accent-soft: rgb(79 70 229 / 0.08);
  --shadow: 0 30px 70px -28px rgb(15 25 60 / 0.35), 0 10px 24px -16px rgb(15 25 60 / 0.2);
  --shadow-sm: 0 8px 24px -14px rgb(15 25 60 / 0.3);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #090c13;
  --panel: #10141e;
  --panel-2: #151a26;
  --ink: #e9edf5;
  --ink-2: #c4cad6;
  --muted: #98a0b0;
  --faint: #6c7486;
  --line: #222938;
  --line-2: #1a2030;
  --grid: rgb(129 140 248 / 0.07);
  --accent: #818cf8;
  --accent-hover: #a5b4fc;
  --accent-ink: #090c13;
  --accent-soft: rgb(129 140 248 / 0.13);
  --shadow: 0 30px 70px -28px rgb(0 0 0 / 0.8), 0 10px 24px -16px rgb(0 0 0 / 0.6);
  --shadow-sm: 0 8px 24px -14px rgb(0 0 0 / 0.7);
}

/* Without scripts, follow the system. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --page: #090c13;
    --panel: #10141e;
    --panel-2: #151a26;
    --ink: #e9edf5;
    --ink-2: #c4cad6;
    --muted: #98a0b0;
    --faint: #6c7486;
    --line: #222938;
    --line-2: #1a2030;
    --grid: rgb(129 140 248 / 0.07);
    --accent: #818cf8;
    --accent-hover: #a5b4fc;
    --accent-ink: #090c13;
    --accent-soft: rgb(129 140 248 / 0.13);
  }
}

/* Light and dark versions of a picture or an icon. */
.only-dark {
  display: none !important;
}
:root[data-theme="dark"] .only-dark {
  display: block !important;
}
:root[data-theme="dark"] .only-light {
  display: none !important;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .only-dark {
    display: block !important;
  }
  :root:not([data-theme]) .only-light {
    display: none !important;
  }
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
svg {
  flex: none;
}
[hidden] {
  display: none !important;
}
code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--ink);
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--page);
  font: 600 14px var(--sans);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.display {
  margin: 0;
  font-weight: 650;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* The version, as a chip. */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 600 12.5px/1.3 var(--mono);
}
.tag--lg {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: clamp(15px, 1.6vw, 20px);
  vertical-align: 0.35em;
}

/* A section's label: its cell reference, its name, a note. */
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 14.5px;
}
.eyebrow__ref {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--accent);
  font: 700 11.5px/1.2 var(--mono);
}
.eyebrow__name {
  font-weight: 600;
}
.eyebrow__meta {
  color: var(--muted);
}
.eyebrow__meta::before {
  content: "·";
  margin-right: 10px;
  color: var(--faint);
}

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  color: var(--ink);
  font: 600 15px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(15 25 60 / 0.06);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn:hover {
  border-color: var(--faint);
  transform: translateY(-1px);
}
.btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn--primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}
.btn--ghost {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--line);
  background: var(--panel);
}
.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
}
.btn--sm svg {
  width: 16px;
  height: 16px;
}
.btn small {
  font: 500 12px/1 var(--mono);
  opacity: 0.75;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.icon-btn svg {
  width: 19px;
  height: 19px;
}
.icon-btn:hover {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}

/* ------------------------------------------------------- floating header */
.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 12px 12px 0;
  margin-bottom: -72px;
  pointer-events: none;
}
.nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1216px;
  height: 60px;
  margin: 0 auto;
  padding: 0 10px 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 18px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav__links a svg {
  width: 13px;
  height: 13px;
}
.nav__links a:hover {
  background: var(--panel-2);
  color: var(--ink);
}
.nav__links a.is-on {
  background: var(--accent-soft);
  color: var(--accent);
}
.nav__tools {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__menu {
  display: none;
}
.nav__get {
  margin-left: 6px;
}
/* How far down the page, along the bar's bottom edge. */
.nav__progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #67e8f9, #3b82f6 45%, var(--accent));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* The row header: the page's sections as a sheet's rows (wide screens). */
.rail {
  display: none;
}
@media (min-width: 1440px) {
  .rail--rows {
    position: fixed;
    left: 18px;
    top: 50%;
    z-index: 40;
    display: flex;
    flex-direction: column;
    translate: 0 -50%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--panel) 85%, transparent);
    backdrop-filter: blur(10px);
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s,
      visibility 0.3s;
  }
  .rail--rows.is-shown {
    opacity: 1;
    visibility: visible;
  }
  .rail--rows a {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 34px;
    border-bottom: 1px solid var(--line-2);
    color: var(--faint);
    font: 600 11.5px/1 var(--mono);
    text-decoration: none;
  }
  .rail--rows a:first-child {
    border-radius: 11px 11px 0 0;
  }
  .rail--rows a:last-child {
    border-bottom: 0;
    border-radius: 0 0 11px 11px;
  }
  .rail--rows a:hover {
    background: var(--panel-2);
    color: var(--ink);
  }
  .rail--rows a.is-on {
    background: var(--accent);
    color: var(--accent-ink);
  }
  .rail--rows a b {
    position: absolute;
    left: calc(100% + 10px);
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--ink);
    font: 600 13px/1 var(--sans);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
  }
  .rail--rows a:hover b,
  .rail--rows a:focus-visible b {
    opacity: 1;
  }
}

/* ----------------------------------------------------------------- hero */
.sheet {
  --cell: 64px;
  --head: 26px;
  position: relative;
  overflow: hidden;
  padding: 140px var(--pad) clamp(40px, 5vw, 64px) calc(var(--head) + var(--pad));
}
/* The cell grid, under the column letters and beside the row numbers. */
.sheet::before {
  content: "";
  position: absolute;
  inset: var(--head) 0 0 var(--head);
  background-image:
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px),
    linear-gradient(to right, var(--grid) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  pointer-events: none;
}
.sheet__cols,
.sheet__rows {
  position: absolute;
  display: flex;
  color: var(--faint);
  font: 500 10px/1 var(--mono);
  pointer-events: none;
  user-select: none;
}
.sheet__cols {
  top: 0;
  left: var(--head);
  right: 0;
  height: var(--head);
  border-bottom: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--panel-2) 60%, transparent);
}
.sheet__rows {
  top: var(--head);
  left: 0;
  bottom: 0;
  width: var(--head);
  flex-direction: column;
  border-right: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--panel-2) 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.sheet__cols span,
.sheet__rows span {
  display: grid;
  place-items: center;
  flex: none;
  transition:
    background 0.12s,
    color 0.12s;
}
.sheet__cols span {
  width: var(--cell);
  border-right: 1px solid var(--line-2);
}
.sheet__rows span {
  height: var(--cell);
  border-bottom: 1px solid var(--line-2);
}
.sheet__cols span.is-on,
.sheet__rows span.is-on {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.sheet__name {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--head);
  height: var(--head);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--accent);
  font: 700 9px/1 var(--mono);
}
.sheet__cell {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--cell) + 1px);
  height: calc(var(--cell) + 1px);
  border: 2px solid var(--accent);
  background: var(--accent-soft);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.14s var(--ease),
    opacity 0.2s;
}
.sheet__cell::after,
.sel::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border: 2px solid var(--page);
}
.sheet.is-live .sheet__cell {
  opacity: 1;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: 1176px;
  margin: 0 auto;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
  box-shadow: 0 1px 2px rgb(15 25 60 / 0.05);
}
.hero__chip .tag {
  border-radius: 999px;
}
.hero__title {
  margin: 26px 0 0;
  font-weight: 650;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
/* "in seconds." as a selected range, with Excel's fill handle. */
.sel {
  position: relative;
  display: inline-block;
  padding: 0 0.1em 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 3px var(--accent);
  white-space: nowrap;
}
.js .hero__title.reveal .sel {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease) 0.35s;
}
.js .hero__title.reveal.in .sel {
  clip-path: inset(-12px -12px -12px -12px);
}
.hero__lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 19.5px);
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.hero__note a {
  color: var(--ink-2);
  font-weight: 500;
  text-underline-offset: 4px;
}
/* The icon in a "copied" cell: Excel's marching ants. */
.hero__art {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: clamp(200px, 22vw, 288px);
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, var(--accent) 50%, transparent 0) repeat-x 0 0 / 14px 2px,
    linear-gradient(90deg, var(--accent) 50%, transparent 0) repeat-x 0 100% / 14px 2px,
    linear-gradient(0deg, var(--accent) 50%, transparent 0) repeat-y 0 0 / 2px 14px,
    linear-gradient(0deg, var(--accent) 50%, transparent 0) repeat-y 100% 0 / 2px 14px,
    var(--accent-soft);
  animation: ants 0.9s linear infinite;
}
@keyframes ants {
  to {
    background-position:
      14px 0,
      -14px 100%,
      0 -14px,
      100% 14px,
      0 0;
  }
}
.hero__art img {
  width: 70%;
  filter: drop-shadow(0 26px 30px rgb(15 25 60 / 0.3));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-8px) rotate(-1.5deg);
  }
}
.hero__ref {
  position: absolute;
  left: -1px;
  top: -26px;
  padding: 4px 8px;
  border-radius: 6px 6px 0 0;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 11px/1 var(--mono);
}

/* The big screenshot. */
.showcase {
  margin: 0 auto;
  padding: clamp(8px, 1.5vw, 24px) var(--pad) 0;
  max-width: 1300px;
  perspective: 2000px;
}
.showcase .window {
  transform-origin: 50% 0;
  transform: rotateX(var(--tilt, 0deg)) scale(var(--zoom, 1));
  will-change: transform;
}
.showcase figcaption {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}
.window {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-2);
  border-radius: 14px 14px 0 0;
  background: var(--panel-2);
}
.window__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}
.window__bar span {
  flex: 1;
  margin-right: 54px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.window__shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0 0 14px 14px;
  background: none;
  overflow: hidden;
  cursor: zoom-in;
}
.window__shot img {
  width: 100%;
}
.callouts {
  position: absolute;
  inset: 40px 0 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.callouts li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: var(--shadow-sm);
  translate: -12px -50%;
  white-space: nowrap;
  font-size: 13px;
  opacity: 0;
  transition:
    opacity 0.5s var(--ease),
    translate 0.5s var(--ease);
}
.callouts li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.callouts li.is-left {
  flex-direction: row-reverse;
  padding: 7px 8px 7px 12px;
  translate: calc(-100% + 12px) -50%;
}
.callouts b {
  font-weight: 650;
}
.callouts span {
  color: var(--muted);
}
.showcase.in .callouts li {
  opacity: 1;
}
.showcase.in .callouts li:nth-child(2) {
  transition-delay: 0.15s;
}
.showcase.in .callouts li:nth-child(3) {
  transition-delay: 0.3s;
}
.showcase.in .callouts li:nth-child(4) {
  transition-delay: 0.45s;
}

/* Formats, running past. */
.ticker {
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker li {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 0 20px 32px;
  font-weight: 600;
  font-size: clamp(18px, 1.9vw, 24px);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.ticker li::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 2px;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------------- speed */
.speed {
  --s-fg: #eef1f8;
  --s-muted: #9aa3b6;
  --s-line: rgb(255 255 255 / 0.1);
  --accent: #818cf8;
  --accent-soft: rgb(129 140 248 / 0.14);
  margin-top: clamp(72px, 9vw, 120px);
  background:
    radial-gradient(900px 420px at 85% -10%, rgb(79 70 229 / 0.38), transparent 70%),
    radial-gradient(700px 360px at 0% 110%, rgb(34 211 238 / 0.12), transparent 70%), #080b14;
  color: var(--s-fg);
}
.speed .wrap {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.speed .eyebrow__ref {
  border-color: var(--s-line);
  background: rgb(255 255 255 / 0.04);
  color: #a5b4fc;
}
.speed .eyebrow__meta {
  color: var(--s-muted);
}
.speed__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: end;
}
.speed__intro p {
  margin: 0;
  color: var(--s-muted);
  font-size: 17px;
}
.fx {
  display: flex;
  align-items: stretch;
  margin-top: 56px;
  border: 1px solid var(--s-line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  font: 500 13px/1 var(--mono);
}
.fx > span {
  display: flex;
  align-items: center;
  padding: 14px 16px;
}
.fx__ref {
  min-width: 72px;
  justify-content: center;
  border-right: 1px solid var(--s-line);
  color: #a5b4fc;
  font-weight: 700;
}
.fx__f {
  border-right: 1px solid var(--s-line);
  color: var(--s-muted);
  font-style: italic;
}
.fx__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--s-line);
  border-left: 1px solid var(--s-line);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.cell {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 14px;
  min-height: 220px;
  padding: 44px 24px 26px;
  border-right: 1px solid var(--s-line);
  border-bottom: 1px solid var(--s-line);
  outline: none;
  transition: background 0.2s;
}
.cell::before {
  content: attr(data-ref);
  position: absolute;
  top: 14px;
  left: 16px;
  color: rgb(255 255 255 / 0.38);
  font: 600 10.5px/1 var(--mono);
}
.cell:hover,
.cell:focus-visible,
.cell.is-on {
  background: rgb(255 255 255 / 0.035);
  box-shadow: inset 0 0 0 2px #818cf8;
}
.cell dt {
  color: var(--s-muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.cell dd {
  margin: 0;
  font-weight: 650;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.cell dd small {
  margin-left: 6px;
  color: #a5b4fc;
  font-size: 0.34em;
  font-weight: 600;
  letter-spacing: 0;
}
.cell--sm {
  min-height: 164px;
}
.cell--sm dd {
  font-size: clamp(28px, 2.8vw, 42px);
}

/* ------------------------------------------------------------- features */
.features .wrap {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.features__title {
  max-width: 17ch;
}
.feature {
  margin-top: clamp(72px, 9vw, 132px);
}
.feature__text {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(32px, 5vw, 80px);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.feature__text > .feature__no {
  grid-column: 1;
  grid-row: 1;
}
.feature__text > h3 {
  grid-column: 1;
  grid-row: 2;
}
.feature__text > p:not(.feature__no):not(.feature__stat) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.feature__text > .ticks {
  grid-column: 2;
  grid-row: 3;
}
.feature__text > .feature__stat {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
}
.feature__no {
  justify-self: start;
  margin: 0 0 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
}
.feature h3 {
  margin: 0;
  font-weight: 650;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.ticks {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15.5px;
}
.ticks li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  border: 2px solid var(--accent);
  border-radius: 2px;
}
.feature__stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.feature__stat b {
  color: var(--ink);
  font-weight: 650;
  font-size: 32px;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.feature__shot {
  margin: 0;
  transition: transform 0.6s var(--ease);
}
.feature__shot:hover {
  transform: translateY(-4px);
}

/* "And everything else": a sheet. */
.more {
  margin-top: clamp(88px, 10vw, 150px);
}
.more__title {
  margin: 0 0 26px;
  font-weight: 650;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.04em;
}
.table {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}
.table__head,
.table__row {
  display: grid;
  grid-template-columns: 56px minmax(220px, 0.34fr) minmax(0, 0.66fr);
}
.table__head span,
.table__row span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-right: 1px solid var(--line-2);
}
.table__row {
  border-top: 1px solid var(--line-2);
  transition: background 0.15s;
}
.table__head span {
  padding-block: 11px;
  background: var(--panel-2);
  color: var(--faint);
  font: 500 12px/1 var(--mono);
}
.table__head abbr {
  text-decoration: none;
}
.table__row span:first-child,
.table__head span:first-child {
  justify-content: center;
  padding-inline: 0;
  background: var(--panel-2);
  color: var(--faint);
  font: 500 12px/1 var(--mono);
}
.table__row span:last-child,
.table__head span:last-child {
  border-right: 0;
}
.table__row span:nth-child(2) {
  font-weight: 600;
}
.table__row span:nth-child(2) svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.table__row span:nth-child(3) {
  color: var(--muted);
  font-size: 15px;
}
.table__row:hover {
  background: var(--accent-soft);
}
.table__row:hover span:first-child {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

/* ----------------------------------------------------------- automation */
.automation__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.automation__grid > .eyebrow,
.questions__grid > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}
.automation__text > p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.tools {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.tools > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.tools code {
  justify-self: start;
}
.tools span {
  color: var(--muted);
}
.term {
  position: sticky;
  top: 100px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 14px;
  background: #080b14;
  color: #d9deea;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: #0f1420;
}
.term__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a3142;
}
.term__bar span {
  flex: 1;
  margin-right: 54px;
  color: #8a93a6;
  font-size: 13px;
  text-align: center;
}
.term__body {
  margin: 0;
  padding: 26px 26px 30px;
  overflow-x: auto;
  font: 500 14px/1.85 var(--mono);
}
.term__body code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
.term .c {
  color: #6b7488;
}
.term .p {
  color: #818cf8;
  font-weight: 700;
}
.term [data-type].is-typing::after {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: #818cf8;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* -------------------------------------------------------------- privacy */
.privacy {
  border-top: 1px solid var(--line);
}
.privacy .wrap {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
.privacy__big {
  margin: 0;
  font-weight: 700;
  font-size: clamp(56px, 11vw, 176px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}
.privacy__zero {
  color: var(--accent);
}
.privacy__title {
  margin: 26px 0 0;
  color: var(--ink-2);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.035em;
}
.privacy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}
.pcell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.pcell svg {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  color: var(--accent);
}
.pcell b {
  font-weight: 650;
  font-size: 21px;
  letter-spacing: -0.035em;
}
.pcell span {
  color: var(--muted);
  font-size: 15px;
}
.privacy__small {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ------------------------------------------------------------- download */
.download {
  border-top: 1px solid var(--line);
  background: var(--panel-2);
}
.download .wrap {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.download__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
}
.download__meta {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}
.download__nojs {
  margin: 32px 0 0;
}
html:not(.js) .rec,
html:not(.js) .systems {
  display: none;
}

/* The file for this computer. */
.rec {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 26px;
  align-items: center;
  margin-top: 44px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.rec__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}
.rec__icon svg {
  width: 30px;
  height: 30px;
}
.rec__kicker {
  margin: 0;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
}
.rec__title {
  margin: 2px 0 0;
  font-weight: 650;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.04em;
}
.rec__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}
.rec__meta code {
  background: var(--panel-2);
  color: var(--muted);
}
.rec .btn {
  min-height: 56px;
  padding: 0 26px;
  font-size: 16px;
}
.rec__loading {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

/* Every system in its own column: its recommended file, then the rest. */
.systems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.system {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}
.system.is-yours {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow:
    0 0 0 3px var(--accent-soft),
    var(--shadow-sm);
}
.system__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-2);
}
.system__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--panel-2);
  color: var(--ink);
}
.system.is-yours .system__icon {
  background: var(--accent-soft);
  color: var(--accent);
}
.system__icon svg {
  width: 20px;
  height: 20px;
}
.system__head h3 {
  margin: 0;
  font-weight: 650;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.system__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.system__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.system__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 20px 22px;
}
.system__kind {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.system__kind b {
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.system__chip {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
}
.system__detail {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.system__name {
  align-self: flex-start;
  max-width: 100%;
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 12px;
}
.system__main .btn {
  margin-top: 16px;
  min-height: 48px;
}
.system__wait {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}
.system__more {
  border-top: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--panel-2) 45%, var(--panel));
  flex: 1;
}
.system__label {
  margin: 0;
  padding: 14px 20px 6px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
}
.system__file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-top: 1px solid var(--line-2);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}
.system__label + .system__files .system__file:first-child {
  border-top: 0;
}
.system__file:hover {
  background: var(--accent-soft);
}
.system__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.system__text b {
  font-weight: 600;
  font-size: 15px;
}
.system__text span {
  color: var(--muted);
  font-size: 13.5px;
}
.system__text small {
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--faint);
  font: 500 11.5px/1.5 var(--mono);
}
.system__get {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--muted);
  font: 500 12px/1 var(--mono);
}
.system__get svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.system__file:hover .system__get svg {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}
.dl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 20px 0 0;
  font-size: 14.5px;
}
.dl-links a {
  color: var(--muted);
  font-weight: 500;
  text-underline-offset: 4px;
}
.dl-links a:hover {
  color: var(--accent);
}
.notes {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.notes summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.notes summary::-webkit-details-marker {
  display: none;
}
.notes summary svg,
.faq summary svg {
  width: 18px;
  height: 18px;
  transition: rotate 0.25s var(--ease);
}
.notes[open] summary svg,
.faq details[open] summary svg {
  rotate: 180deg;
}
.notes__body {
  max-height: 420px;
  overflow: auto;
  padding: 0 22px 8px;
  color: var(--ink-2);
  font-size: 15px;
}
.notes__body h4 {
  margin: 18px 0 6px;
  font-size: 15px;
}
.notes__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 22px 20px;
  font-size: 14px;
  font-weight: 600;
}
.notes__link svg {
  width: 14px;
  height: 14px;
}

/* ------------------------------------------------------------ questions */
.questions__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.questions__side {
  position: sticky;
  top: 100px;
  align-self: start;
}
.questions__side p {
  margin: 18px 0 0;
  color: var(--muted);
}
.questions__side a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 4px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 18.5px;
  letter-spacing: -0.025em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--accent);
}
.faq p {
  max-width: 62ch;
  margin: -6px 0 22px;
  color: var(--muted);
}

/* --------------------------------------------------------------- footer */
.footer {
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 48px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px var(--pad) 0;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 420px;
}
.footer__brand p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.footer__links a,
.footer__base a {
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.footer__links a:hover,
.footer__base a:hover {
  color: var(--accent);
}
.footer__mark {
  max-width: 1240px;
  margin: clamp(32px, 5vw, 64px) auto 0;
  padding: 0 var(--pad) 0.1em;
  background: linear-gradient(
    180deg,
    var(--ink) 35%,
    color-mix(in srgb, var(--ink) 8%, transparent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  font-size: clamp(64px, 16vw, 260px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  white-space: nowrap;
  user-select: none;
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px var(--pad) 26px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}
.footer__base a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer__base svg {
  width: 14px;
  height: 14px;
  rotate: -90deg;
}

/* ------------------------------------------------------------- lightbox */
.lightbox {
  width: min(96vw, 1640px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgb(6 9 18 / 0.72);
  backdrop-filter: blur(4px);
}
.lightbox img {
  width: 100%;
  max-height: 94vh;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
.lightbox__close svg {
  width: 20px;
  height: 20px;
}

/* ------------------------------------------------------------ reveals */
/* ---------------------------------------------------------------- motion
   Smooth wheel scrolling is in js/scroll.js; the page keeps native
   scrolling underneath. */
html.is-smooth {
  scroll-behavior: auto;
}

/* Rise into focus. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.8s var(--ease),
    filter 0.7s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
.js .hero__copy > .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.js .hero__copy > .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.js .hero__copy > .reveal:nth-child(4) {
  transition-delay: 0.24s;
}
.js .hero__copy > .reveal:nth-child(5),
.js .hero__art.reveal {
  transition-delay: 0.32s;
}
/* A section's cell reference lights up as it arrives, like a selected cell. */
.js .eyebrow.in .eyebrow__ref {
  animation: ref-select 1s var(--ease) 0.2s backwards;
}
@keyframes ref-select {
  from {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
  }
}

/* Headings: a selection box is dragged across by its fill handle, the
   text fills in behind it, then the selection lets go. */
.js .sweep {
  position: relative;
  width: fit-content;
}
.js .sweep__text {
  display: block;
  clip-path: inset(-0.3em 100% -0.35em -0.15em);
  transition: clip-path 0.8s var(--ease) 0.12s;
}
.js .sweep.in .sweep__text {
  clip-path: inset(-0.3em -0.4em -0.35em -0.15em);
}
.js .sweep::after {
  content: "";
  position: absolute;
  inset: -0.06em calc(-0.12em + var(--gap, 0px)) -0.1em -0.12em;
  border: 2px solid var(--accent);
  background: var(--accent-soft);
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  pointer-events: none;
}
.js .sweep::before {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: calc(-0.1em - 5px);
  left: -0.12em;
  width: 9px;
  height: 9px;
  margin-left: -5px;
  border: 2px solid var(--page);
  background: var(--accent);
  opacity: 0;
  pointer-events: none;
}
.speed .sweep::before {
  border-color: #080b14;
}
.js .sweep.in::after {
  animation: sweep-box 1.6s var(--ease) 0.12s both;
}
.js .sweep.in::before {
  animation: sweep-handle 1.6s var(--ease) 0.12s both;
}
@keyframes sweep-box {
  0% {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }
  50% {
    opacity: 1;
    clip-path: inset(0);
  }
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    clip-path: inset(0);
  }
}
@keyframes sweep-handle {
  0% {
    opacity: 1;
    left: -0.12em;
  }
  50% {
    opacity: 1;
    left: calc(100% + 0.12em - var(--gap, 0px));
  }
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    left: calc(100% + 0.12em - var(--gap, 0px));
  }
}

/* Rows fill in one after another, like a range filling down. */
.js [data-fill] > * {
  opacity: 0;
  transform: translateY(14px);
  clip-path: inset(-24px -24px 100% -24px);
  transition:
    opacity 0.5s var(--ease) calc(var(--i, 0) * 60ms),
    transform 0.7s var(--ease) calc(var(--i, 0) * 60ms),
    clip-path 0.7s var(--ease) calc(var(--i, 0) * 60ms),
    background-color 0.15s;
}
.js [data-fill].in > * {
  opacity: 1;
  transform: none;
  clip-path: inset(-24px);
}
/* ...and each row's number lights up as it lands. */
.js .table.in .table__row > span:first-child {
  animation: row-land 1.1s var(--ease) calc(var(--i, 0) * 60ms + 0.25s) backwards;
}
@keyframes row-land {
  from {
    background: var(--accent);
    color: var(--accent-ink);
  }
}

/* The hero eases away: its copy lags behind the scroll and fades. */
.has-scrollfx .hero__grid {
  transform: translateY(calc(var(--away, 0) * 110px));
  opacity: calc(1 - var(--away, 0) * 1.1);
}

/* Screenshots un-crop and settle with the scroll (--r goes 0 to 1). */
.has-scrollfx [data-scrub] .window {
  transform-origin: 50% 0;
  transform: translateY(calc((1 - var(--r, 0)) * 56px)) scale(calc(0.94 + var(--r, 0) * 0.06));
  clip-path: inset(
    calc((1 - var(--r, 0)) * 9% - var(--r, 0) * 90px)
      calc((1 - var(--r, 0)) * 7% - var(--r, 0) * 90px)
      calc((1 - var(--r, 0)) * 9% - var(--r, 0) * 90px)
      calc((1 - var(--r, 0)) * 7% - var(--r, 0) * 90px) round 14px
  );
}
.has-scrollfx [data-scrub].is-set .window {
  transform: none;
  clip-path: none;
}

/* The header's name box: where you are, as a cell reference. */
.namebox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 14px;
  padding: 4px 11px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}
.namebox b {
  min-width: 28px;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 700 11.5px/1.2 var(--mono);
  text-align: center;
}
.namebox.is-swap > * {
  animation: namebox-in 0.45s var(--ease) both;
}
.namebox.is-swap > span {
  animation-delay: 0.06s;
}
@keyframes namebox-in {
  from {
    opacity: 0;
    transform: translateY(80%);
  }
}
html:not(.js) .namebox {
  display: none;
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav__links a:nth-child(n + 5) {
    display: none;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__art {
    display: none;
  }
  .cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .speed__intro,
  .automation__grid,
  .questions__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .term,
  .questions__side {
    position: static;
  }
  .feature__text {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  .feature__text > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .feature__text > p:not(.feature__no):not(.feature__stat) {
    margin-top: 20px;
  }
}

@media (max-width: 1000px) {
  .systems {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .nav__menu {
    display: grid;
  }
  .nav__links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links a,
  .nav__links a:nth-child(n + 5) {
    display: flex;
    padding: 12px 14px;
    font-size: 15.5px;
  }
  .nav__brand {
    margin-right: 12px;
  }
  .namebox {
    margin-right: auto;
  }
  .callouts {
    display: none;
  }
  .privacy__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rec {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .rec .btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 8px 8px 0;
    top: 8px;
  }
  .nav__bar {
    height: 56px;
    padding: 0 6px 0 12px;
  }
  .nav__get span,
  .namebox > span {
    display: none;
  }
  .namebox {
    padding-right: 4px;
  }
  .nav__get {
    padding: 0 12px;
  }
  .nav .icon-btn[href] {
    display: none;
  }
  .sheet {
    --cell: 48px;
    padding-top: 116px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .nav .btn {
    width: auto;
  }
  .cells {
    grid-template-columns: minmax(0, 1fr);
  }
  .cell {
    min-height: 0;
  }
  .fx__f {
    display: none;
  }
  .table__head {
    display: none;
  }
  .table__row {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .table__row span:nth-child(3) {
    grid-column: 2;
    padding-top: 0;
    border-right: 0;
  }
  .table__row span:nth-child(2) {
    border-right: 0;
  }
  .table__row span:first-child {
    grid-row: span 2;
  }
  .tools > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .term__body {
    padding: 20px;
    font-size: 12.5px;
  }
  .rec {
    padding: 22px 20px;
  }
  .rec__icon {
    width: 52px;
    height: 52px;
  }
  .footer__base {
    flex-direction: column;
  }
  .eyebrow__meta {
    flex-basis: 100%;
  }
  .eyebrow__meta::before {
    content: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .js .sweep__text,
  .js [data-fill] > * {
    clip-path: none;
    opacity: 1;
    transform: none;
  }
  .js .hero__title.reveal .sel {
    clip-path: none;
  }
  .showcase .window {
    transform: none;
  }
  .ticker__track {
    flex-wrap: wrap;
    width: auto;
  }
}
