/* Stepdrum — the machine laid out flat.
   Under the name, across the whole page, is the app's own near-black stage, and on it a working
   drawing of the machine: the stepped drum unrolled into a sheet that travels past the eight
   setting columns, the number wheels above. Around it, the site's own sheet: drafting paper, ink,
   Young Serif, and ruby. The stage and the app's screenshots look the same in the light and the
   dark scheme: they are objects, not surfaces. */


@font-face {
  font-family: "Young Serif";
  src: url("/fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/eb-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/eb-garamond-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: oklch(95.5% 0.016 82);
  --paper-deep: oklch(92.4% 0.02 80);
  --ink: oklch(23% 0.018 55);
  --soft: oklch(39% 0.02 58);
  --faint: oklch(47% 0.02 60);
  --rule: oklch(23% 0.018 55 / 0.16);
  --line: oklch(23% 0.018 55 / 0.62);
  --ruby: oklch(50% 0.19 18);
  /* the stage: the app's own near-black, and what stands on it */
  --table: oklch(17% 0.012 50);
  --table-deep: oklch(12.5% 0.012 48);
  --table-ink: oklch(92% 0.016 82);
  --table-soft: oklch(76% 0.02 76);
  --table-faint: oklch(63% 0.02 70);
  --table-line: oklch(92% 0.03 80 / 0.16);
  --lamp: oklch(85% 0.1 78);
  /* the machine's parts: steel, brass, and the white of the counter's wheels */
  --steel: oklch(70% 0.008 250);
  --steel-deep: oklch(30% 0.008 250);
  --brass: oklch(76% 0.1 85);
  --ivory: oklch(93% 0.02 88);
  --serif: "Young Serif", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  --garamond: "EB Garamond", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  --sans: ui-sans-serif, -apple-system, "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* radii: the sheet's square corner, the app's pill, a phone's screen */
  --r-sheet: 2px;
  --r-pill: 999px;
  --r-screen: 30px;
  --grain: 0.05;
  --grain-blend: multiply;
  --shadow: oklch(23% 0.03 55 / 0.28);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: oklch(18.5% 0.012 62);
    --paper-deep: oklch(15.8% 0.012 60);
    --ink: oklch(90% 0.02 82);
    --soft: oklch(75% 0.024 76);
    --faint: oklch(63% 0.024 70);
    --rule: oklch(90% 0.02 82 / 0.13);
    --line: oklch(90% 0.02 82 / 0.6);
    --ruby: oklch(68% 0.17 18);
    --grain: 0.07;
    --grain-blend: screen;
    --shadow: oklch(5% 0.02 50 / 0.7);
  }
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  overflow-x: hidden;
}
/* the homepage's paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--ruby); color: var(--paper); }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--line); }
a, button { transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease); }
@media (hover: hover) {
  a:hover { color: var(--ruby); text-decoration-color: currentColor; }
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ruby);
  outline-offset: 5px;
  border-radius: var(--r-sheet);
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, dl, dd, ol, ul { margin: 0; }
ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(60px, 9.2vw, 128px); line-height: 0.92; letter-spacing: -0.028em; margin-left: -0.04em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.022em; }
h3 { font-size: 20px; line-height: 1.35; letter-spacing: -0.012em; }
p { text-wrap: pretty; }
:lang(zh-Hans) h1 { letter-spacing: 0; line-height: 1.1; margin-left: 0; }
:lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; line-height: 1.4; }
/* Songti at its bold weight stands beside Young Serif; at regular it reads as a different, thinner voice */
:lang(zh-Hans) :is(h1, h2, h3, .lead, .specs dd, .legend b, .questions dt, .more-list dt, .now-title) { font-weight: 700; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute;
  left: 24px;
  top: -100px;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: var(--r-sheet);
}
.skip:focus { top: 12px; }

/* header: the homepage's quiet meta line, with the wordmark set as the logotype */
.site-header {
  min-height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: env(safe-area-inset-top);
}
.wordmark { font-family: "Young Serif", Georgia, serif; font-size: 24px; letter-spacing: -0.028em; text-decoration: none; white-space: nowrap; }
.wordmark span, .wm span { color: var(--ruby); }
.wm { font-family: "Young Serif", Georgia, serif; letter-spacing: -0.012em; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-nav .language { text-transform: none; letter-spacing: 0; color: var(--ink); }

.eyebrow {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soft);
}
/* captions: Garamond italic, as lettered under a plate; the number upright */
figcaption {
  font-family: var(--garamond);
  font-style: italic;
  color: var(--faint);
  font-size: 16px;
  line-height: 1.45;
  margin-top: 16px;
  max-width: 34em;
  text-wrap: pretty;
}
figcaption b { font-style: normal; font-weight: 400; color: var(--ink); margin-right: 0.5em; font-variant-caps: all-small-caps; letter-spacing: 0.04em; font-size: 1.08em; }
:lang(zh-Hans) figcaption { font-style: normal; font-size: 14px; line-height: 1.6; }
:lang(zh-Hans) figcaption b { font-size: 1em; letter-spacing: 0; font-variant-caps: normal; }

/* the head of the sheet: the name large on the left, what it is on the right */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  column-gap: 64px;
  align-items: end;
  padding-block: 56px 64px;
}
.hero h1 { margin-top: 24px; }
.lead { font-family: var(--serif); font-size: clamp(22px, 2.1vw, 27px); line-height: 1.35; letter-spacing: -0.012em; max-width: 19em; }
:lang(zh-Hans) .lead { letter-spacing: 0; line-height: 1.6; }
.description { color: var(--soft); max-width: 31em; margin-top: 16px; }
/* the call to action, once the app is out: inked in, square as the sheet's corner */
.store {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 24px;
  border-radius: var(--r-sheet);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--paper);
  text-decoration: none;
  transition: background-color 180ms var(--ease), transform 160ms var(--ease);
}
:lang(zh-Hans) .store { letter-spacing: 0; font-size: 16px; font-weight: 700; }
@media (hover: hover) {
  .store:hover { color: var(--paper); background: var(--ruby); }
}
.store:active { transform: scale(0.98); }
/* a punched hole, in ruby, before the line that says when */
.availability { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 13px; color: var(--soft); }
.availability::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ruby); flex: none; }


/* the stage: the app's near-black across the whole page, and the machine laid out flat on it */
.stage {
  position: relative;
  color: var(--table-ink);
  padding-block: 56px 40px;
  background:
    radial-gradient(90% 120% at 50% -20%, oklch(100% 0 0 / 0.07), transparent 60%),
    linear-gradient(180deg, var(--table), var(--table-deep));
  -webkit-user-select: none;
  user-select: none;
}
/* on a narrow screen the drawing keeps its size and scrolls sideways, starting from the units end */
.machine-holder { overflow-x: auto; direction: rtl; scrollbar-width: none; }
.machine-holder::-webkit-scrollbar { display: none; }
.machine { display: block; direction: ltr; width: 100%; min-width: 860px; height: auto; margin-inline: auto; overflow: visible; }
.machine text { font-family: var(--sans); text-anchor: middle; font-variant-numeric: tabular-nums lining-nums; }
/* the result's wheels are black with white figures, the counter's white with black, as on the machine */
.sd-window { stroke: oklch(100% 0 0 / 0.14); stroke-width: 1; }
.sd-result .sd-window { fill: oklch(8% 0.006 60); }
.sd-result text { fill: var(--ivory); font-weight: 600; }
.sd-counter .sd-window { fill: var(--ivory); }
.sd-counter text { fill: oklch(18% 0.01 60); font-weight: 600; }
.sd-word { fill: var(--table-faint); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
:lang(zh-Hans) .sd-word { font-size: 14px; letter-spacing: 0.12em; }
.machine text.sd-start { text-anchor: start; }
.machine text.sd-end { text-anchor: end; }
.sd-place, .sd-number, .sd-layer { fill: var(--table-faint); font-family: var(--garamond); font-size: 17px; }
.sd-arrow { fill: oklch(62% 0.2 20); }
[data-carriage] { transition: transform 260ms var(--ease); }
/* the drum, unrolled: a steel sheet, its teeth standing out; the subtraction plates' teeth are thinner */
.sd-body { fill: oklch(24% 0.008 250); stroke: oklch(100% 0 0 / 0.1); stroke-width: 1; }
.sd-teeth rect { fill: var(--steel); }
.sd-complement rect { fill: oklch(58% 0.07 20); }
.sd-shaft { stroke: oklch(100% 0 0 / 0.16); stroke-width: 2; fill: none; }
.sd-hit { fill: transparent; }
.sd-set { fill: var(--ivory); }
.sd-set-digit { fill: oklch(18% 0.01 60); font-size: 19px; font-weight: 600; }
.sd-reach { fill: oklch(12% 0.01 50 / 0.82); stroke: var(--brass); stroke-width: 1; }
.sd-pinion polygon { fill: var(--brass); }
.sd-pinion .sd-bore { fill: oklch(14% 0.01 50); }
.sd-column { cursor: ns-resize; touch-action: pan-x; outline: none; -webkit-tap-highlight-color: transparent; }
.sd-column:focus-visible .sd-set { stroke: var(--lamp); stroke-width: 3; }
.sd-column:focus-visible .sd-shaft { stroke: var(--lamp); }
@media (hover: hover) {
  main[data-live] .sd-column:hover .sd-shaft { stroke: oklch(100% 0 0 / 0.34); }
}
/* a lock: the part will not move, and says so with one dull knock */
@keyframes knock {
  0%, 100% { transform: none; }
  30% { transform: translateX(-3px); }
  65% { transform: translateX(2px); }
}
[data-refused] { animation: knock 220ms linear; }
.sd-column[data-refused] { animation: none; }
.sd-column[data-refused] .sd-set { fill: oklch(70% 0.1 25); }

/* under the machine: what it reads, the few controls the drawing has no place for, and the crank */
.desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: 40px;
  align-items: center;
  margin-top: 28px;
}
main:not([data-live]) :is(.controls, .crank, .stage-note, .live-only) { display: none; }
main:not([data-live]) .sd-column { cursor: default; }

/* the machine: two whole screens, and what it measures */
.machine-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 88px; align-items: center; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pair .plate:nth-child(2) { margin-top: 72px; }
.pair .plate img { border-radius: 22px; }
.inside, .card { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, 0.74fr); gap: 56px 96px; align-items: center; }
.inside .plate, .card .plate { max-width: 340px; justify-self: end; }
.card { grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr); }
.card .plate { justify-self: start; }
/* the card's six examples, as a ledger */
.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; margin-top: 32px; max-width: 34em; border-bottom: 1px solid var(--rule); }
.examples div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 11px 12px; border-top: 1px solid var(--rule); }
.examples dt { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); }
.examples dd { font-family: var(--garamond); font-size: 19px; line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
/* what 1.0 also holds and this page cannot show yet */
.more { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px 96px; align-items: start; }
.more-list div { padding-block: 22px; border-top: 1px solid var(--rule); }
.more-list div:first-child { border-top: 0; padding-top: 6px; }
.more-list dt { font-family: var(--serif); font-size: 20px; line-height: 1.4; letter-spacing: -0.012em; }
:lang(zh-Hans) .more-list dt { letter-spacing: 0; font-size: 19px; }
.more-list dd { margin-top: 6px; color: var(--soft); font-size: 15px; max-width: 36em; }
.not-yet { display: inline-block; margin-top: 22px; padding: 5px 12px 6px; border: 1px dashed var(--line); border-radius: var(--r-sheet); font-size: 13px; line-height: 1.5; color: var(--soft); }

.now-title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -0.012em; }
:lang(zh-Hans) .now-title { letter-spacing: 0; }
.now-title { font-variant-numeric: tabular-nums lining-nums; }
.now-facts { margin-top: 6px; font-size: 14px; color: var(--table-soft); font-variant-numeric: tabular-nums; min-height: 1.7em; }
.stage-note { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--table-faint); max-width: 36em; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  min-height: 44px;
  min-width: 76px;
  padding: 0 20px;
  border: 1px solid var(--table-line);
  border-radius: var(--r-pill);
  background: oklch(19% 0.014 50 / 0.86);
  color: var(--table-ink);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 160ms var(--ease);
}
.pill:active { transform: scale(0.96); }
.pill[data-on] { background: var(--lamp); border-color: transparent; color: oklch(24% 0.03 60); }
.pill[aria-pressed="false"] { color: var(--table-faint); }
@media (hover: hover) {
  .pill:not([data-on]):hover { background: oklch(14% 0.014 50 / 0.92); }
}
.stage :is(.pill, .crank):focus-visible { outline-color: var(--lamp); border-radius: var(--r-pill); }
.crank {
  position: relative;
  width: 132px;
  height: 132px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.crank:active { cursor: grabbing; }
.crank svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ck-track { fill: none; stroke: var(--lamp); stroke-width: 1.6; stroke-dasharray: 5 5; stroke-linecap: round; opacity: 0.75; }
.ck-head { fill: var(--lamp); opacity: 0.9; }
.ck-arm { transform-box: view-box; transform-origin: 60px 60px; transform: rotate(-52deg); }
.ck-rod { stroke: oklch(80% 0.006 80); stroke-width: 5; stroke-linecap: round; }
.ck-hub { fill: oklch(64% 0.008 80); stroke: oklch(18% 0.01 50); stroke-width: 1; }
.ck-knob { fill: oklch(30% 0.008 60); stroke: oklch(12% 0.01 50); stroke-width: 1; }
.ck-shine { fill: none; stroke: oklch(86% 0.006 80 / 0.7); stroke-width: 1.4; stroke-linecap: round; }
.crank-hint {
  position: absolute;
  right: -6px;
  bottom: -4px;
  padding: 3px 10px 4px;
  border-radius: var(--r-pill);
  background: oklch(19% 0.014 50 / 0.86);
  color: var(--lamp);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.section { padding-block: 104px; border-top: 1px solid var(--rule); }
.section h2 { margin-top: 18px; }
.copy p:not(.eyebrow) { color: var(--soft); margin-top: 18px; max-width: 31em; }

/* the app's own screenshots: whole screens, at a phone's corner radius */
.plate img {
  width: 100%;
  border-radius: var(--r-screen);
  box-shadow: 0 2px 4px -1px var(--shadow), 0 28px 44px -28px var(--shadow);
  outline: 1px solid oklch(100% 0 0 / 0.08);
  outline-offset: -1px;
}

.specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.specs div { padding: 18px 24px 20px 0; }
.specs div + div { padding-left: 24px; box-shadow: inset 1px 0 var(--rule); }
.specs dt { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.specs dd { font-family: var(--serif); font-size: 20px; line-height: 1.35; letter-spacing: -0.012em; }
:lang(zh-Hans) .specs dt { font-size: 12px; letter-spacing: 0.04em; }
:lang(zh-Hans) .specs dd { letter-spacing: 0; }

.copy p a { text-decoration-color: var(--ruby); text-underline-offset: 3px; }

.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 14px; text-decoration-color: var(--ruby); }

/* support: the address is the anchor; the questions are the sheet's notes */
.support { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 96px; align-items: start; }
.support-intro p:not(.eyebrow) { margin-top: 20px; color: var(--soft); font-size: 15px; max-width: 28em; }
.mail {
  display: inline-block;
  margin-top: 6px;
  font-family: "Young Serif", Georgia, serif;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.012em;
  line-height: 1.3;
  text-decoration-color: var(--ruby);
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}
.questions { counter-reset: note; }
.questions div {
  counter-increment: note;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--rule);
}
.questions div:first-child { border-top: 0; padding-top: 6px; }
.questions div::before {
  content: counter(note) ".";
  grid-row: 1 / span 2;
  font-family: var(--garamond);
  font-style: italic;
  font-variant-numeric: lining-nums;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ruby);
}
.questions dt { font-family: var(--serif); font-size: 20px; line-height: 1.4; letter-spacing: -0.012em; }
:lang(zh-Hans) .questions dt { letter-spacing: 0; font-size: 19px; }
.questions dd { margin-top: 8px; color: var(--soft); font-size: 15px; max-width: 36em; }

.site-footer {
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-block: 16px calc(32px + env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--soft);
}
.site-footer .wm { font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* privacy pages */
.legal-header { padding-block: 64px 48px; max-width: 800px; }
.legal-header h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; }
:lang(zh-Hans) .legal-header h1 { line-height: 1.3; letter-spacing: 0; }
.legal-header .lead { font-family: var(--sans); font-size: 18px; line-height: 1.7; letter-spacing: 0; font-weight: 400; max-width: 34em; margin-top: 28px; color: var(--soft); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 72px; padding-bottom: 96px; align-items: start; }
.legal-index { position: sticky; top: 24px; font-size: 14px; }
.legal-index a { display: inline-flex; align-items: center; min-height: 40px; color: var(--soft); text-decoration: none; font-variant-numeric: tabular-nums; }
.legal-body section { border-top: 1px solid var(--rule); padding-top: 32px; margin-top: 40px; }
.legal-body section:first-child { margin-top: 0; }
.legal-body h2 { font-size: 26px; line-height: 1.3; letter-spacing: -0.012em; }
.legal-body p, .legal-body ul { margin-top: 16px; }
.legal-body p, .legal-body li { color: var(--soft); }
.legal-body ul { padding-left: 22px; margin-bottom: 0; }
.legal-body li + li { margin-top: 8px; }
.legal-body li::marker { color: var(--ruby); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { text-decoration-color: var(--ruby); }

/* entrance, as on the homepage */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
.rise { animation: rise 700ms var(--ease) both; }
.hero-name .rise:nth-child(2) { animation-delay: 90ms; }
.hero-what .rise:nth-child(1) { animation-delay: 180ms; }
.hero-what .rise:nth-child(2) { animation-delay: 240ms; }
.hero-what .rise:nth-child(3) { animation-delay: 300ms; }
.hero-what .rise:nth-child(4) { animation-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  .rise, [data-refused] { animation: none; }
  .pill, .store, [data-carriage] { transition: none; }
}

@media (max-width: 1080px) {
  .machine-section, .inside, .card, .more { gap: 48px 56px; }
  .support { gap: 48px; }
  .legal-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 72px; gap: 12px; }
  .wordmark { font-size: 22px; }
  .site-nav { gap: 18px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; row-gap: 28px; padding-block: 24px 44px; }
  .stage { padding-block: 40px 28px; }
  .desk { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 20px; }
  .now { grid-column: 1 / -1; }
  .crank { width: 116px; height: 116px; }
  .section { padding-block: 72px; }
  .machine-section, .inside, .card, .more, .support { grid-template-columns: 1fr; gap: 44px; }
  /* the words first, then what they describe */
  .card .copy { order: -1; }
  .inside .plate, .card .plate { max-width: 300px; justify-self: center; }
  .pair { gap: 16px; }
  .pair .plate:nth-child(2) { margin-top: 44px; }
  .pair .plate img { border-radius: 16px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs div { padding: 16px 12px 16px 0; }
  .specs div + div { padding-left: 0; box-shadow: none; }
  .specs div:nth-child(even) { padding-left: 16px; box-shadow: inset 1px 0 var(--rule); }
  .specs div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .specs dd { font-size: 18px; }
  .examples { grid-template-columns: 1fr; }
  .legal-header { padding-top: 32px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-index { position: static; }
  .legal-index ol { display: flex; flex-wrap: wrap; column-gap: 20px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 0; }
}
