/* tabnemo.app — light, fast, no external requests. */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2');
}

:root {
  --ink: #0b1320;
  --ink-2: #16213a;
  --text: #1c2433;
  --muted: #4d5869;
  --faint: #7a8494;
  --line: #e5e8ee;
  --soft: #f5f6f9;
  --bg: #ffffff;
  --nemo: #ff5a1f;
  --nemo-text: #c2410c;
  --nemo-soft: #fff1ea;
  --blue-soft: #eef3ff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 19, 32, 0.06), 0 12px 32px -12px rgba(11, 19, 32, 0.18);
  --shadow-lg: 0 2px 4px rgba(11, 19, 32, 0.05), 0 40px 80px -28px rgba(11, 19, 32, 0.35);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.22, 1.25, 0.36, 1);
  --page: 1180px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--nemo-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(42px, 6.4vw, 76px);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(32px, 4.2vw, 50px);
}

h3 {
  font-size: 21px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

.accent {
  color: var(--nemo);
}

.wrap {
  width: min(var(--page), 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--nemo);
  outline-offset: 3px;
}

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.top {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  transition: border-color 0.3s;
}

.top.is-scrolled {
  border-color: var(--line);
}

.top__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

.brand b {
  color: var(--nemo);
  font-weight: inherit;
}

.nav {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current='page'] {
  background: var(--soft);
  color: var(--ink);
}

.menu-button {
  display: none;
  margin-inline-start: auto;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink);
  font: 600 16px/1 'IBM Plex Sans', system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--spring),
    box-shadow 0.25s,
    background 0.2s;
}

.button:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.button--primary {
  background: var(--nemo);
  box-shadow: 0 14px 30px -12px rgba(255, 90, 31, 0.7);
  color: #fff;
}

.button--primary:hover {
  background: #f04d12;
  color: #fff;
  box-shadow: 0 18px 36px -12px rgba(255, 90, 31, 0.8);
}

.button--small {
  height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 14px;
}

.button--dark {
  background: var(--ink);
  color: #fff;
}

.button--dark:hover {
  background: var(--ink-2);
  color: #fff;
}

.chrome-mark {
  width: 20px;
  height: 20px;
  flex: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto;
  height: 900px;
  background:
    radial-gradient(40% 50% at 78% 40%, rgba(255, 90, 31, 0.13), transparent 70%),
    radial-gradient(35% 45% at 12% 10%, rgba(66, 114, 236, 0.1), transparent 70%);
  pointer-events: none;
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.pill b {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--nemo-soft);
  color: var(--nemo-text);
  font-size: 12px;
  font-weight: 600;
}

.hero__lead {
  max-width: 540px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust .i {
  width: 16px;
  height: 16px;
  color: #16a34a;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid #d9dde5;
  border-bottom-width: 2px;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 600 13px/1 'IBM Plex Sans', system-ui, sans-serif;
  vertical-align: 1px;
}

/* The live popup in the hero: a small HTML copy of the real one. */
.demo {
  position: relative;
}

.demo__card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.demo__search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  margin: 14px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1.5px rgba(255, 90, 31, 0.45);
  color: var(--faint);
}

.demo__query {
  display: flex;
  align-items: center;
  min-height: 24px;
  color: var(--ink);
  font-size: 18px;
}

.demo__placeholder {
  color: var(--faint);
}

.caret {
  width: 2px;
  height: 22px;
  margin-inline-start: 2px;
  background: var(--nemo);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.demo__label {
  margin: 4px 24px 6px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Fixed height, so filtering never moves the rest of the page. */
.demo__list {
  height: 290px;
  padding: 0 10px 10px;
  overflow: hidden;
}

.demo__row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 14px;
  overflow: hidden;
  border-radius: 11px;
  color: var(--text);
  font-size: 15px;
  transition:
    height 0.45s var(--out),
    opacity 0.3s,
    background 0.2s;
}

.demo__row.is-out {
  height: 0;
  opacity: 0;
}

.demo__row.is-active {
  background: var(--soft);
  box-shadow: inset 3px 0 0 var(--nemo);
}

.demo__row.is-pressed {
  background: var(--nemo-soft);
}

.demo__row span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.demo__row small {
  color: var(--faint);
  font-size: 13px;
}

.demo__row mark {
  border-radius: 3px;
  background: #ffd9c7;
  color: inherit;
}

.tile {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.demo__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

.demo__foot kbd.is-pressed {
  border-color: var(--nemo);
  background: var(--nemo);
  color: #fff;
}

.demo__toast {
  position: absolute;
  z-index: 3;
  bottom: -22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.35s var(--out),
    transform 0.5s var(--spring);
}

.demo__toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.demo__toast .i {
  width: 16px;
  height: 16px;
  color: #4ade80;
}

/* Tabs drifting behind the demo. */
.floaters {
  position: absolute;
  inset: -40px -30px;
  z-index: 1;
  pointer-events: none;
}

.floater {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  animation: float 9s ease-in-out infinite alternate;
}

@keyframes float {
  to {
    transform: translate(var(--dx, 10px), var(--dy, -14px)) rotate(var(--r, 0deg));
  }
}

/* ------------------------------------------------------------------ sections */

.section {
  padding: 104px 0;
}

.section--soft {
  background: var(--soft);
}

.section--ink {
  background: var(--ink);
  color: rgba(226, 232, 240, 0.82);
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.head--left {
  margin-inline: 0;
  text-align: start;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--nemo-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section--ink .eyebrow {
  color: #ff8a5b;
}

.head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.section--ink .head p {
  color: rgba(226, 232, 240, 0.78);
}

/* The problem: a strip of far too many tabs. */
.overload {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.overload > * {
  min-width: 0;
}

.overload__count {
  color: var(--ink);
  font-size: clamp(48px, 6.2vw, 80px);
  white-space: nowrap;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.overload__count span {
  color: var(--nemo);
}

.strip {
  display: flex;
  gap: 3px;
  height: 46px;
  padding: 8px 10px 0;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #e9ecf2;
}

.strip__tab {
  display: grid;
  flex: 1 1 0;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 9px 9px 0 0;
  background: #f7f8fa;
  container-type: inline-size;
}

/* Like Chrome: squeezed tabs lose their icons. */
@container (max-width: 20px) {
  .strip__tab .tile {
    display: none;
  }
}

.strip__tab:nth-child(7) {
  background: #fff;
}

.browser-page {
  height: 210px;
  padding: 28px;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.browser-page span {
  display: block;
  height: 12px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: var(--soft);
}

/* Feature stories: words beside a real screenshot. */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.story + .story {
  margin-top: 120px;
}

.story--flip .story__text {
  order: 2;
}

/* Whole-page screenshots: words above, picture at full width. */
.story--stacked {
  grid-template-columns: 1fr;
  gap: 40px;
}

.story--stacked .story__text {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.story--stacked .checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
}

.story__text p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.checks {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  color: var(--text);
}

.checks .i {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--nemo);
}

.shot {
  position: relative;
  margin: 0;
}

.shot img {
  display: block;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.shot--framed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.shot--framed img {
  border-radius: 0;
  box-shadow: none;
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.shot__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5dae2;
}

.shot__bar span {
  margin-inline-start: 12px;
  padding: 3px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--faint);
  font-size: 12px;
}

.shot--stack {
  padding-bottom: 60px;
}

.shot--stack .shot__back {
  width: 88%;
}

.shot--stack .shot__front {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
}

.shot--glow::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.22), transparent);
  filter: blur(20px);
}

/* Everything else, at a glance. */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 0.35s var(--spring),
    box-shadow 0.35s,
    border-color 0.35s;
}

.card:hover {
  border-color: #ffd2bf;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--nemo-soft);
  color: var(--nemo-text);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Three steps. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Switching from another tab manager. */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.logos span {
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}

/* Private by design. */
.private {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.private div {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.private .i {
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
  color: #ff8a5b;
}

.private h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.private p {
  margin: 0;
  font-size: 15px;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .i {
  color: var(--faint);
  transition: transform 0.3s var(--out);
}

.faq details[open] summary .i {
  transform: rotate(180deg);
}

.faq details > div {
  padding: 0 0 22px;
  color: var(--muted);
}

/* The last call to action. */
.cta {
  position: relative;
  overflow: hidden;
  padding: 72px 40px;
  border-radius: 28px;
  background: var(--ink);
  color: rgba(226, 232, 240, 0.82);
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 60% at 80% 100%, rgba(255, 90, 31, 0.32), transparent 70%),
    radial-gradient(40% 60% at 10% 0%, rgba(86, 124, 214, 0.25), transparent 70%);
}

.cta > * {
  position: relative;
}

.cta img {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
}

.cta h2 {
  color: #fff;
}

.cta p {
  max-width: 560px;
  margin: 18px auto 30px;
  font-size: 19px;
}

/* ------------------------------------------------------------------ inner pages */

.page-head {
  padding: 72px 0 40px;
  background:
    radial-gradient(50% 120% at 85% 0%, rgba(255, 90, 31, 0.08), transparent 70%),
    linear-gradient(var(--soft), #fff);
}

.page-head p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.crumbs {
  margin-bottom: 18px;
  color: var(--faint);
  font-size: 14px;
}

.crumbs a {
  color: var(--faint);
}

.prose {
  max-width: 760px;
  padding: 48px 0 96px;
}

.prose h2 {
  margin: 56px 0 16px;
  font-size: 30px;
}

.prose h3 {
  margin: 32px 0 10px;
}

.prose p,
.prose li {
  color: #2f3a4c;
}

.prose ul,
.prose ol {
  padding-inline-start: 22px;
}

.prose li {
  margin: 8px 0;
}

.prose figure {
  margin: 32px 0;
}

.prose figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 14px;
  text-align: center;
}

.note {
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--nemo-soft);
  color: #5c2a12;
}

.table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.table th {
  color: var(--ink);
  font-weight: 600;
  background: var(--soft);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact .i {
  width: 28px;
  height: 28px;
  color: var(--nemo-text);
}

.contact div {
  flex: 1;
  min-width: 220px;
}

.contact p {
  margin: 4px 0 0;
  color: var(--muted);
}

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

.foot {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.foot__in {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.foot h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14px;
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot li {
  margin: 8px 0;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

.foot__fine {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--out),
    transform 0.9s var(--out);
  transition-delay: var(--delay, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero .rise {
  animation: rise 0.9s var(--out) both;
  animation-delay: var(--delay, 0s);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* No script: show everything. */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ small screens */

@media (max-width: 980px) {
  .hero__in,
  .overload,
  .story {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story--flip .story__text {
    order: 0;
  }

  .grid,
  .private {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .foot__in {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-button {
    display: grid;
  }

  .top__cta {
    display: none;
  }

  .hero {
    padding: 40px 0 72px;
  }

  .section {
    padding: 72px 0;
  }

  .grid,
  .private {
    grid-template-columns: 1fr;
  }

  .floaters {
    display: none;
  }

  .demo__row small {
    display: none;
  }

  .cta {
    padding: 56px 22px;
  }

  .shot--stack {
    padding-bottom: 0;
  }

  .shot--stack .shot__back {
    width: 100%;
  }

  .shot--stack .shot__front {
    position: static;
    width: 80%;
    margin: -40px 0 0 auto;
  }
}

/* Inner pages: heading and text share one reading column. */
.page-head .wrap {
  width: min(820px, 100% - 40px);
}

.page-head--wide .wrap {
  width: min(var(--page), 100% - 40px);
}

.prose.wrap {
  width: min(820px, 100% - 40px);
  max-width: none;
}
