/* Reno Studio, renostudio.trimotech.ca
 *
 * The app's own "daylight studio": a cool pale ground, ink type, and one
 * energetic accent, the blue to violet sweep, kept for what you can touch
 * (the divider, the chosen chips, the step numbers, the contractor panel).
 * Space Mono appears only as annotation: chip legends, before/after tags,
 * labels on the drawing. Charcoal and bone, the app icon's two colours,
 * close the page.
 *
 * Shape rule: anything you press is a pill; surfaces are 24px; media inside
 * a surface is 16px; the phone frames follow their own proportions.
 *
 * Sections, in page order: fonts, tokens, base, nav, store buttons, hero,
 * studio (stage, drawing, picks), how it works, modules, who, faq, closing,
 * footer, doc pages, motion, print.
 */

/* ---- fonts ---- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/apps/reno-studio/fonts/plus-jakarta-sans-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/apps/reno-studio/fonts/space-mono-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/apps/reno-studio/fonts/space-mono-latin-400.woff2') format('woff2');
}

/* ---- tokens ---- */
.app--reno-studio {
  --day: #F3F5FD;
  --surface: #FDFDFF;
  --ink: #161A2E;
  --lead: #4A5068;
  --muted: #646A88;
  --label: #4F5570;
  --line: #E2E5F4;
  --line-strong: #CFD3F0;
  --blue-deep: #1D4ED8;
  --blue: #2563EB;
  --cta: #2F80F5;
  --violet: #7C3AED;
  --blue-soft: #E9EBFB;
  --selected: #EEF0FE;
  --wash: #DDE1FA;
  --sweep: linear-gradient(100deg, #1D4ED8 0%, #2F6BF0 40%, #7C3AED 100%);
  --charcoal: #2C2C2C;
  --charcoal-2: #353535;
  --bone: #F6EDE6;
  --bone-muted: #C9C1BA;

  --sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1320px;
  --nav-h: 68px;
  --r-surface: 24px;
  --r-media: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 30px 60px -36px rgba(29, 52, 140, .32), 0 8px 18px -12px rgba(29, 52, 140, .16);
}

/* ---- base ---- */
/* Zero-specificity resets, so every component's own margins win. */
:where(.app--reno-studio) *,
:where(.app--reno-studio) *::before,
:where(.app--reno-studio) *::after { box-sizing: border-box; }
html:has(.app--reno-studio) { scroll-padding-top: calc(var(--nav-h, 68px) + 16px); -webkit-text-size-adjust: 100%; }
.app--reno-studio {
  margin: 0;
  background: var(--day);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:where(.app--reno-studio) :where(img, svg) { display: block; max-width: 100%; }
:where(.app--reno-studio) img { height: auto; }
:where(.app--reno-studio) :where(h1, h2, h3, p, figure) { margin: 0; }
:where(.app--reno-studio) a { color: inherit; }
:where(.app--reno-studio) :focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.app--reno-studio ::selection { background: #D5DCFB; color: var(--ink); }

.heading {
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---- nav ---- */
.app-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 245, 253, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid rgba(207, 211, 240, .55);
}
.app-nav__bar {
  max-width: calc(var(--max) + 2 * var(--gutter));
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.app-nav__brand { display: inline-flex; padding: 8px 0; border-radius: 6px; }
.app-nav__brand img { width: 137px; height: 26px; }
.app-nav__links { display: flex; gap: 4px; }
.app-nav__links a,
.app-nav__sheet a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: background-color .2s, color .2s;
}
.app-nav__links a:hover,
.app-nav__sheet a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.app-nav__menu { display: none; position: relative; }
.app-nav__menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.app-nav__menu summary::-webkit-details-marker { display: none; }
.app-nav__menu-icon,
.app-nav__menu-icon::before,
.app-nav__menu-icon::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), background-color .2s;
}
.app-nav__menu-icon { position: relative; }
.app-nav__menu-icon::before,
.app-nav__menu-icon::after { content: ''; position: absolute; left: 0; }
.app-nav__menu-icon::before { top: -5px; }
.app-nav__menu-icon::after { top: 5px; }
.app-nav__menu[open] .app-nav__menu-icon { background: transparent; }
.app-nav__menu[open] .app-nav__menu-icon::before { transform: translateY(5px) rotate(45deg); }
.app-nav__menu[open] .app-nav__menu-icon::after { transform: translateY(-5px) rotate(-45deg); }
.app-nav__sheet {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(280px, calc(100vw - 2 * var(--gutter)));
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: var(--r-surface);
  border: 1px solid var(--line);
  background: rgba(253, 253, 255, .96);
  box-shadow: var(--shadow);
}
.app-nav__sheet a { padding: 12px 14px; font-size: 16px; }

@media (max-width: 880px) {
  .app-nav__links { display: none; }
  .app-nav__menu { display: block; }
}

/* ---- store buttons ---- */
.stores {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 9px 20px 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.store__icon { width: 22px; height: 22px; flex: none; }
.store__label { display: grid; line-height: 1.15; }
.store__kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .01em; }
.store__name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }

/* Live: a solid ink button that lifts on hover. */
a.store {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 28px -16px rgba(22, 26, 46, .6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.store .store__kicker { color: #C9CDE0; }
a.store:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -18px rgba(22, 26, 46, .7); }
a.store:active { transform: translateY(0) scale(.98); }

/* Soon: not a button yet, so it reads as a label: no fill, a dashed
   outline like a part drawn in but not yet built, and an annotation kicker. */
.store.is-soon {
  color: var(--ink);
  background: rgba(253, 253, 255, .55);
  border: 1.5px dashed #AEB6E0;
  cursor: default;
}
.store.is-soon .store__icon { color: var(--muted); }
.store.is-soon .store__kicker {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label);
}
.store.is-soon .store__name { font-weight: 700; }

.stores--dark .store.is-soon {
  color: var(--bone);
  background: rgba(246, 237, 230, .04);
  border-color: rgba(246, 237, 230, .32);
}
.stores--dark .store.is-soon .store__icon { color: var(--bone-muted); }
.stores--dark .store.is-soon .store__kicker { color: var(--bone-muted); }
.stores--dark a.store { background: var(--bone); color: var(--charcoal); }
.stores--dark a.store .store__kicker { color: #6B6560; }

/* ---- hero ---- */
.hero {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(32px, 5.2vw, 72px) var(--gutter) 0;
}
.hero__copy {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 28px;
  align-items: end;
}
.hero__title {
  grid-column: 1 / 8;
  font-size: clamp(2.65rem, 1.1rem + 4.6vw, 5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.hero__side { grid-column: 8 / 13; display: grid; gap: 20px; padding-bottom: 6px; }
.hero__lede { font-size: clamp(1.05rem, .95rem + .4vw, 1.2rem); line-height: 1.5; color: var(--lead); max-width: 40ch; }
.hero__launch {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--label);
}

@media (max-width: 1100px) {
  .hero__title { grid-column: 1 / -1; }
  .hero__side { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; }
  .hero__side .stores { grid-row: span 2; }
}
/* Under 900px three store buttons leave the lede a sliver, so they stack. */
@media (max-width: 899px) {
  .hero__side { grid-template-columns: 1fr; }
  .hero__side .stores { grid-row: auto; }
}

/* ---- studio: the interactive drawing and its picks ---- */
.studio {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 24px;
  align-items: start;
}
.stage { margin: 0; }
.stage__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 5 / 3;
  border-radius: var(--r-surface);
  overflow: hidden;
  background: #E6DCC9;
  box-shadow: var(--shadow);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  isolation: isolate;
}
.js .stage__frame { cursor: ew-resize; }
.stage__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}
.stage__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 0;
  pointer-events: none;
}
.stage__divider::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.5px;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(29, 78, 216, .18), 0 0 24px rgba(47, 107, 240, .45);
}
.stage__handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 10px 24px -8px rgba(29, 52, 140, .45), 0 0 0 4px rgba(255, 255, 255, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stage__handle::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: var(--sweep);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.stage__frame.is-dragging .stage__handle { transform: scale(1.08); }
.stage__frame:has(.stage__range:focus-visible) .stage__handle { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--blue); }
.stage__range {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}
html:not(.js) .stage__range,
html:not(.js) .stage__handle { display: none; }

.stage__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 6px 11px 5px;
  border-radius: 999px;
  background: rgba(22, 26, 46, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}
.stage__tag--before { left: 14px; }
.stage__tag--after { right: 14px; }
.stage__caption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid transparent;
  border-image: var(--sweep) 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 70ch;
}

/* The drawing's colours. Every fill that a pick changes reads a variable;
   whole objects that change are .v groups shown by the chips, with :has(),
   so the room works with JavaScript off. */
.studio {
  --wall: #EFEEEA; --left: #E2E0DB; --right: #E8E6E1; --ceiling: #F8F7F4; --floor: #DAD7D1;
  --trim: #FBFAF7; --wood: #8C5C3B; --counter: #F2F0EB; --towel: #ECE8E1; --towel-band: #D6CFC4;
  --metal: #26282E; --shade: #F8F6F1; --ceilinglight: #FFFFFF; --niche: #D2D0CB; --bottle: #F0EDE7; --accent: #A9B9AE;
}
.studio:has(#pick-spa:checked) {
  --wall: #E4E8DF; --left: #D6DBD0; --right: #DCE0D5; --ceiling: #F2F3ED; --floor: #D6C8B4;
  --wood: #B4865A; --counter: #EAE3D6; --towel: #D9C9B1; --towel-band: #C5B295; --niche: #C9D3C7; --accent: #C9A27A;
}
.studio:has(#pick-classic:checked) {
  --wall: #DAE3EC; --left: #CCD6E0; --right: #D3DCE5; --ceiling: #F4F6F8; --floor: #F1F0EC;
  --counter: #F5F4F1; --towel: #FFFFFF; --towel-band: #2F4A73; --niche: #E3E6E9; --accent: #2F4A73;
}
.studio:has(#pick-brass:checked) { --metal: #B48D45; }
.studio:has(#pick-warm:checked) { --shade: #FFE3B8; --ceilinglight: #EFE9DE; }

.stage__svg--after .f-wall { fill: var(--wall); }
.stage__svg--after .f-left { fill: var(--left); }
.stage__svg--after .f-right { fill: var(--right); }
.stage__svg--after .f-ceiling { fill: var(--ceiling); }
.stage__svg--after .f-floor { fill: var(--floor); }
.stage__svg--after .f-trim { fill: var(--trim); }
.stage__svg--after .f-wood { fill: var(--wood); }
.stage__svg--after .f-counter { fill: var(--counter); }
.stage__svg--after .f-towel { fill: var(--towel); }
.stage__svg--after .f-towel-band { fill: var(--towel-band); }
.stage__svg--after .f-metal { fill: var(--metal); }
.stage__svg--after .f-shade { fill: var(--shade); }
.stage__svg--after .f-ceilinglight { fill: var(--ceilinglight); }
.stage__svg--after .f-niche { fill: var(--niche); }
.stage__svg--after .f-bottle { fill: var(--bottle); }
.stage__svg--after .f-accent { fill: var(--accent); }
.stage__svg--after [class^='f-'],
.stage__svg--after [class*=' f-'] { transition: fill .6s var(--ease); }

.stage__svg--after .v { opacity: 0; transition: opacity .6s var(--ease); }
.studio:has(#pick-minimal:checked) .v-minimal,
.studio:has(#pick-spa:checked) .v-spa,
.studio:has(#pick-classic:checked) .v-classic,
.studio:has(#pick-minimal:checked) .v-float,
.studio:has(#pick-spa:checked) .v-float,
.studio:has(#pick-shower:checked) .v-shower,
.studio:has(#pick-tub:checked) .v-tub,
.studio:has(#pick-bright:checked) .v-bright,
.studio:has(#pick-warm:checked) .v-warm { opacity: 1; }

/* The picks: the app's options, as chips. */
.picks {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 22px 22px 20px;
  border-radius: var(--r-surface);
  border: 1px solid rgba(226, 229, 244, .95);
  background: rgba(253, 253, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow);
}
.picks__title { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.picks__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.picks__group legend {
  padding: 0;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label);
}
.picks__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.picks__chips input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.picks__chips label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease);
}
.picks__chips label:hover { border-color: #A9B4EC; background: #F7F8FF; }
.picks__chips label:active { transform: scale(.97); }
.picks__chips input:checked + label {
  border-color: transparent;
  color: #fff;
  background: var(--sweep);
  box-shadow: 0 8px 18px -10px rgba(79, 70, 229, .7);
}
.picks__chips input:focus-visible + label { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.picks__note { font-size: 13px; line-height: 1.45; color: var(--muted); }

@media (max-width: 1100px) {
  .studio { grid-template-columns: minmax(0, 1fr); }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .picks__title, .picks__note { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .stage__frame { aspect-ratio: 6 / 5; border-radius: 20px; }
  .stage__handle { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .picks { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 14px; }
  .picks__group legend { margin-bottom: 4px; }
  /* On a phone each group is one row that scrolls sideways, so the drawing
     and every pick fit on one screen and a change is seen as it is made. */
  .picks__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -18px;
    padding: 5px 18px;
    scroll-padding-inline: 18px;
    scrollbar-width: none;
    -webkit-mask: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 30px), transparent);
    mask: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 30px), transparent);
  }
  .picks__chips::-webkit-scrollbar { display: none; }
  .picks__chips label { flex: none; white-space: nowrap; font-size: 13px; padding: 7px 11px; }
}

/* ---- how it works ---- */
.how {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(96px, 12vw, 168px) var(--gutter) 0;
}
.how__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
  align-items: end;
}
.how__head .heading { grid-column: 1 / 8; }
.how__lede { grid-column: 8 / 13; color: var(--lead); max-width: 44ch; }
.steps { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}
.step + .step { border-top: 1px solid var(--line); }
.step__text { max-width: 30rem; }
.step__num {
  display: block;
  width: max-content;
  margin-bottom: 14px;
  font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.06em;
  background: var(--sweep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step__title { font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 12px; }
.step__text p { color: var(--lead); }
.step__tips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.step__tips li {
  padding: 6px 12px 5px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.step__shot { margin: 0; justify-self: end; }

/* A drawn phone: a light frame, so the screenshot is the only dark-ish thing. */
.phone {
  position: relative;
  width: min(300px, 72vw);
  padding: 3.4%;
  border-radius: 15.5% / 7.2%;
  background: linear-gradient(150deg, #FFFFFF 0%, #E9ECF8 55%, #F7F8FE 100%);
  box-shadow:
    0 0 0 1px #D3D8EF,
    0 0 0 5px rgba(255, 255, 255, .6),
    0 50px 80px -40px rgba(29, 52, 140, .45),
    0 18px 30px -18px rgba(29, 52, 140, .25);
}
.phone::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 24%;
  width: 3px;
  height: 11%;
  border-radius: 0 3px 3px 0;
  background: #D3D8EF;
}
.phone picture { display: block; }
.phone img { width: 100%; border-radius: 12.4% / 5.8%; }
.step .phone { width: clamp(236px, 22vw, 300px); }
.phone--small { width: min(230px, 60vw); }

/* Annotation pins: a dot on a real part of the screenshot, a leader out to
   the left, and a label, the way a drawing is marked up. */
.pin {
  position: absolute;
  top: var(--y);
  right: calc(100% - var(--x));
  left: -40px;
  height: 0;
  pointer-events: none;
}
.pin::before {
  content: '';
  position: absolute;
  right: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
}
.pin::after {
  content: '';
  position: absolute;
  left: 0;
  right: 5px;
  top: -.75px;
  border-top: 1.5px solid var(--blue);
}
.pin > span {
  position: absolute;
  right: calc(100% + 8px);
  top: 0;
  transform: translateY(-50%);
  padding: 6px 10px 5px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 6px 14px -8px rgba(29, 52, 140, .35);
  width: max-content;
  max-width: 12.5em;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: right;
  color: var(--ink);
}

/* With JavaScript, on a wide screen: one sticky phone that changes screen as
   each step reaches the middle of the viewport. */
@media (min-width: 900px) {
  .js .steps {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    column-gap: clamp(32px, 5vw, 80px);
  }
  .js .step { display: contents; }
  .js .step__shot {
    grid-column: 1;
    grid-row: 1 / 4;
    position: sticky;
    top: calc(var(--nav-h) + max(24px, (100vh - var(--nav-h) - 650px) / 2));
    align-self: start;
    justify-self: end;
    opacity: 0;
    transform: translateY(14px) scale(.985);
    transition: opacity .5s var(--ease), transform .6s var(--ease);
  }
  .js .step__text {
    grid-column: 2;
    max-width: 32rem;
    min-height: min(78vh, 720px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* Steps out of focus dim only their numeral, which is decoration, and
     their title, to a grey that still passes AA: the text stays readable. */
  .js .step__num { opacity: .22; transition: opacity .45s var(--ease); }
  .js .step__title { color: var(--muted); transition: color .45s var(--ease); }
  .js .step:nth-child(1) .step__text { grid-row: 1; }
  .js .step:nth-child(2) .step__text { grid-row: 2; }
  .js .step:nth-child(3) .step__text { grid-row: 3; }
  .js .steps:not([data-active]) .step:first-child .step__shot,
  .js .steps[data-active='1'] .step:nth-child(1) .step__shot,
  .js .steps[data-active='2'] .step:nth-child(2) .step__shot,
  .js .steps[data-active='3'] .step:nth-child(3) .step__shot { opacity: 1; transform: none; }
  .js .steps:not([data-active]) .step:first-child .step__num,
  .js .steps[data-active='1'] .step:nth-child(1) .step__num,
  .js .steps[data-active='2'] .step:nth-child(2) .step__num,
  .js .steps[data-active='3'] .step:nth-child(3) .step__num { opacity: 1; }
  .js .steps:not([data-active]) .step:first-child .step__title,
  .js .steps[data-active='1'] .step:nth-child(1) .step__title,
  .js .steps[data-active='2'] .step:nth-child(2) .step__title,
  .js .steps[data-active='3'] .step:nth-child(3) .step__title { color: var(--ink); }
  .js .step + .step { border-top: 0; }
}
@media (max-width: 899px) {
  .how__head .heading,
  .how__lede { grid-column: 1 / -1; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step__shot { justify-self: center; }
  .phone { width: min(260px, 66vw); }
}
@media (max-width: 699px) {
  .step__shot { justify-self: start; }
  .pin { display: none; }
}

/* ---- modules ---- */
.modules {
  padding: clamp(96px, 12vw, 168px) 0 0;
  overflow: hidden;
}
.modules__head {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto clamp(36px, 5vw, 56px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
  align-items: end;
}
.modules__head .heading { grid-column: 1 / 7; }
.modules__aside { grid-column: 8 / 13; display: grid; gap: 16px; justify-items: start; }
.modules__aside p { color: var(--lead); max-width: 46ch; }
.modules__pause { display: none; }
.js .modules__pause {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.modules__pause input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.modules__pause:has(input:focus-visible) { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.modules__pause-on,
.modules__pause:has(input:checked) .modules__pause-off { display: none; }
.modules__pause:has(input:checked) .modules__pause-on { display: inline; }

.rail { overflow-x: auto; scrollbar-width: none; padding: 4px 0 8px; }
.rail::-webkit-scrollbar { display: none; }
.rail + .rail { margin-top: 18px; }
.rail__track { list-style: none; margin: 0; padding: 0 0 0 var(--gutter); display: flex; width: max-content; }
.mod { width: clamp(236px, 24vw, 330px); margin-right: 18px; }
.mod picture { display: block; border-radius: var(--r-media); overflow: hidden; background: var(--wash); }
.mod img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mod__name { margin-top: 12px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.mod__desc { margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }

@media (max-width: 899px) {
  .modules__head .heading,
  .modules__aside { grid-column: 1 / -1; }
}

/* ---- who it's for ---- */
.who {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(96px, 12vw, 168px) var(--gutter) 0;
}
.who__title { max-width: 16ch; }
.who__grid {
  margin-top: clamp(32px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
}
.who__card { border-radius: var(--r-surface); padding: clamp(26px, 3.4vw, 44px); }
.who__card--home {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.who__tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 14px;
}
.who__head { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 16px; text-wrap: balance; }
.who__card p { color: var(--lead); }
.who__list { list-style: none; margin: auto 0 0; padding: 28px 0 0; display: grid; gap: 0; }
.who__list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--line);
  font-weight: 650;
}
.who__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 19px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
.who__card--pro {
  position: relative;
  overflow: hidden;
  background: var(--sweep);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding-bottom: 0;
}
.who__card--pro .who__tag { color: #fff; }
.who__card--pro p { color: #fff; }
.who__pro-text { padding-bottom: clamp(26px, 3.4vw, 44px); align-self: center; }
.who__phone { margin: 0; align-self: end; margin-bottom: -18%; }
.who__phone .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 40px 60px -30px rgba(10, 10, 60, .55); }
.who__note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--label);
}
@media (max-width: 1020px) {
  .who__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .who__card--pro { grid-template-columns: minmax(0, 1fr); }
  .who__pro-text { padding-bottom: 0; }
  .who__phone { justify-self: center; margin-bottom: -40%; }
}

/* ---- faq ---- */
.faq {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(96px, 12vw, 168px) var(--gutter) clamp(96px, 12vw, 168px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(24px, 5vw, 80px);
  row-gap: 32px;
  align-items: start;
}
.faq__side { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 18px; }
.faq__side p { color: var(--lead); max-width: 34ch; }
.faq__side a { color: var(--blue-deep); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  list-style: none;
  position: relative;
  padding: 22px 52px 22px 0;
  font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem);
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.35;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before,
.faq__item summary::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 2.5px;
  margin-top: -1.25px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform .3s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item summary:hover { color: var(--blue-deep); }
.faq__body { padding: 0 52px 24px 0; }
.faq__body p { color: var(--lead); max-width: 62ch; }
.faq__body a { color: var(--blue-deep); font-weight: 650; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__side { position: static; }
  .faq__body { padding-right: 0; }
}

/* ---- closing ---- */
.closing {
  background: var(--charcoal);
  color: var(--bone);
  padding: clamp(88px, 11vw, 150px) var(--gutter) 0;
  overflow: hidden;
}
.closing__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.closing__text { display: grid; justify-items: start; gap: 22px; padding-bottom: clamp(88px, 11vw, 150px); }
.closing__title {
  font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 14ch;
  text-wrap: balance;
}
.closing__lede { color: var(--bone-muted); max-width: 46ch; font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem); margin-bottom: 8px; }
.closing :focus-visible { outline-color: #A8BCFF; }

/* A home screen, drawn in ghost tiles, with the one real icon on it. */
.homescreen { margin: 0; justify-self: center; width: min(340px, 100%); }
.homescreen__phone {
  position: relative;
  aspect-ratio: 9 / 13.6;
  padding: 19% 9% 0;
  border: 1.5px solid rgba(246, 237, 230, .2);
  border-bottom: 0;
  border-radius: 54px 54px 0 0;
  background: linear-gradient(180deg, rgba(246, 237, 230, .05), rgba(246, 237, 230, 0) 80%);
}
.homescreen__phone::before {
  content: '';
  position: absolute;
  top: 4.5%;
  left: 50%;
  width: 30%;
  height: 4.2%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(246, 237, 230, .1);
}
.homescreen__grid,
.homescreen__dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; }
.homescreen__dock { gap: 18px; }
.homescreen__grid > span:not(.homescreen__app),
.homescreen__dock > span {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24%;
  background: rgba(246, 237, 230, .07);
  border: 1px solid rgba(246, 237, 230, .06);
}
.homescreen__grid > span:not(.homescreen__app)::after {
  content: '';
  position: absolute;
  top: calc(100% + 9px);
  left: 22%;
  right: 22%;
  height: 4px;
  border-radius: 4px;
  background: rgba(246, 237, 230, .07);
}
.homescreen__app { position: relative; }
.homescreen__app img {
  width: 100%;
  border-radius: 24%;
  box-shadow: 0 0 0 1px rgba(246, 237, 230, .25), 0 0 40px 6px rgba(246, 237, 230, .16);
}
.homescreen__name {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: var(--bone);
}
.homescreen__dock {
  margin-top: 40px;
  padding: 14px 12px;
  border-radius: 28px;
  background: rgba(246, 237, 230, .06);
}
@media (prefers-reduced-motion: no-preference) {
  .js .homescreen__app img { transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
  .js .homescreen:not(.is-seen) .homescreen__app img { transform: scale(.6); box-shadow: 0 0 0 1px rgba(246, 237, 230, .25); }
}
@media (max-width: 899px) {
  .closing__inner { grid-template-columns: minmax(0, 1fr); }
  .closing__text { padding-bottom: 56px; }
  .homescreen { width: min(300px, 82vw); }
}

/* ---- footer ---- */
.app-footer {
  background: var(--charcoal);
  color: var(--bone-muted);
  border-top: 1px solid rgba(246, 237, 230, .1);
  font-size: 15px;
}
.app-footer :focus-visible { outline-color: #A8BCFF; }
.app-footer__inner,
.app-footer__base {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.app-footer__inner {
  padding-top: 56px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 32px;
}
.app-footer__brand { display: grid; gap: 14px; justify-items: start; align-content: start; }
.app-footer__brand a { display: inline-flex; border-radius: 6px; }
.app-footer__brand img { width: 137px; height: 26px; }
.app-footer__brand p { max-width: 32ch; }
.app-footer__label {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #A39B94;
}
.app-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--bone);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.app-footer__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.app-footer__base {
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(246, 237, 230, .1);
  display: grid;
  gap: 16px;
  font-size: 13px;
}
.app-footer__base p { color: var(--bone-muted); }
.trimotech-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  width: max-content;
  font-size: 13px;
  line-height: 1;
  color: var(--bone-muted);
  text-decoration: none;
}
.trimotech-credit svg { flex: none; }
.trimotech-credit:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .app-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .app-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .app-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---- doc pages ---- */
.doc {
  max-width: calc(980px + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 9vw, 120px);
  display: grid;
  /* The body is held to about 70 characters a line. The last row takes the
     slack, so the contents list sits right under the page links. */
  grid-template-columns: minmax(0, 250px) minmax(0, 39rem);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.doc__head { grid-column: 1 / -1; margin-bottom: clamp(32px, 4vw, 52px); max-width: 52rem; }
.doc__kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 14px;
}
.doc__title {
  font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  text-wrap: balance;
}
.doc__meta { margin-top: 16px; color: var(--muted); font-size: 15px; }
.doc__nav { grid-column: 1; grid-row: 2; }
.doc__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.doc__nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lead);
  text-decoration: none;
}
.doc__nav a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.doc__nav a[aria-current='page'] { background: var(--ink); color: #fff; }
.doc__toc {
  grid-column: 1;
  grid-row: 3;
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}
.doc__toc::before {
  content: 'On this page';
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--label);
}
.doc__toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.doc__toc li { counter-increment: toc; }
.doc__toc a {
  display: grid;
  grid-template-columns: 2.1em 1fr;
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--lead);
  text-decoration: none;
}
.doc__toc a::before { content: counter(toc); font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 1px; }
.doc__toc a:hover { color: var(--blue-deep); }
.doc__notice {
  grid-column: 2;
  grid-row: 2;
  margin-bottom: 32px;
  padding: 16px 20px 16px 18px;
  border-radius: 16px;
  background: var(--selected);
  border: 1px solid var(--wash);
  border-left: 4px solid var(--blue);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
}
.doc__body { grid-column: 2; grid-row: 3; font-size: 18px; line-height: 1.72; color: #2C3148; min-width: 0; }
.doc:not(:has(.doc__notice)) .doc__body { grid-row: 2 / span 2; }
/* With a notice, the body starts right under it and the page links span
   both, so neither leaves a gap for the other. */
.doc:has(.doc__notice) { grid-template-rows: auto auto auto 1fr; }
.doc:has(.doc__notice) .doc__nav { grid-row: 2 / span 2; }
.doc:has(.doc__notice) .doc__toc { grid-row: 4; }
.doc:has(.doc__notice) .doc__body { grid-row: 3 / span 2; }
.doc__body > :first-child { margin-top: 0; }
.doc__body p,
.doc__body ul,
.doc__body ol,
.doc__body blockquote,
.doc__body .doc__table { margin: 0 0 1.15em; }
.doc__body h2 {
  margin: 2.4em 0 .6em;
  font-size: clamp(1.5rem, 1.3rem + .7vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.doc__body h3 { margin: 1.9em 0 .5em; font-size: 1.2rem; font-weight: 750; letter-spacing: -0.015em; line-height: 1.3; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 20px); }
.doc__body h4 { margin: 1.6em 0 .4em; font-size: 1rem; font-weight: 750; color: var(--ink); }
.doc__body ul,
.doc__body ol { padding-left: 1.4em; }
.doc__body li { margin: .35em 0; padding-left: .2em; }
.doc__body li::marker { color: var(--blue); font-weight: 700; }
.doc__body a { color: var(--blue-deep); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc__body a:hover { text-decoration-thickness: 2px; }
.doc__body strong { font-weight: 750; color: var(--ink); }
.doc__body blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--line-strong); color: var(--lead); }
.doc__body hr { border: 0; height: 1px; background: var(--line-strong); margin: 2.4em 0; }
.doc__body code { font-family: var(--mono); font-size: .82em; padding: .12em .4em; border-radius: 6px; background: var(--blue-soft); color: var(--ink); }
.doc__table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.doc__body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.doc__body th,
.doc__body td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc__body th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--label);
  background: #F7F8FE;
}
.doc__body tr:last-child td { border-bottom: 0; }
@media (max-width: 940px) {
  .doc,
  .doc:has(.doc__notice) { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .doc__nav,
  .doc__toc,
  .doc__notice,
  .doc__body,
  .doc:has(.doc__notice) .doc__nav,
  .doc:has(.doc__notice) .doc__toc,
  .doc:has(.doc__notice) .doc__body,
  .doc:not(:has(.doc__notice)) .doc__body { grid-column: 1; grid-row: auto; }
  .doc__nav { margin-bottom: 28px; }
  .doc__nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .doc__nav a { white-space: nowrap; border: 1px solid var(--line-strong); background: var(--surface); }
  .doc__nav a[aria-current='page'] { border-color: var(--ink); }
  .doc__toc { position: static; margin: 0 0 36px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
  .doc__body { font-size: 17px; }
}

/* ---- motion ---- */
/* The marquee runs only with JavaScript (which doubles the items so the loop
   is seamless) and only when motion is welcome. Without either it is a row
   you can scroll sideways. */
@media (prefers-reduced-motion: no-preference) {
  .js .rail[data-ready] { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .js .rail[data-ready] .rail__track { animation: rail 90s linear infinite; }
  .js .rail--reverse[data-ready] .rail__track { animation-direction: reverse; animation-duration: 80s; }
  .js .rail[data-ready]:hover .rail__track,
  .js .rail[data-ready]:focus-within .rail__track,
  .js .rail.is-offscreen .rail__track,
  .js .modules:has(.modules__pause input:checked) .rail__track { animation-play-state: paused; }
  .hero__title { animation: rise .9s var(--ease) both; }
  .hero__side { animation: rise .9s .08s var(--ease) both; }
  .studio { animation: rise 1s .16s var(--ease) both; }
}
@keyframes rail { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  .app--reno-studio *,
  .app--reno-studio *::before,
  .app--reno-studio *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .modules__pause { display: none; }
  /* The copies exist only to make the loop seamless; a still row lists each job once. */
  .rail__track > [aria-hidden='true'] { display: none; }
}

/* ---- print ---- */
@media print {
  .app--reno-studio { background: #fff; color: #000; font-size: 11pt; }
  .app-nav,
  .app-footer,
  .doc__nav,
  .doc__toc,
  .skip { display: none !important; }
  .doc { display: block; max-width: none; padding: 0; }
  .doc__title { font-size: 26pt; }
  .doc__body { font-size: 11pt; line-height: 1.5; color: #000; }
  .doc__body h2 { break-after: avoid; margin-top: 1.6em; }
  .doc__body h3 { break-after: avoid; }
  .doc__body a { color: #000; text-decoration: underline; }
  .doc__body a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; }
  .doc__notice { border: 1px solid #000; background: none; }
  .doc__table { border: 0; overflow: visible; }
  .doc__body table { min-width: 0; }
  .doc__body tr { break-inside: avoid; }
}
