/* Nxt Imagine Labs. One stylesheet for every page. */

:root {
  color-scheme: light dark;

  --bg: #fbfbfd;
  --surface: #ffffff;
  --sunken: #f2f2f5;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent: #d6244b;
  --on-ink: #ffffff;

  --glass: rgba(251, 251, 253, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.04), 0 24px 60px -12px rgba(0, 0, 0, 0.18);
  --bezel: #1c1c1e;
  --bezel-edge: #3a3a3c;

  --font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1080px;
  --gutter: 20px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #141416;
    --sunken: #1c1c1e;
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --accent: #ff5577;
    --on-ink: #000000;

    --glass: rgba(20, 20, 22, 0.66);
    --glass-edge: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
    --bezel: #2c2c2e;
    --bezel-edge: #48484a;
  }
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection { background: var(--ink); color: var(--bg); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header (glass) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav a:hover { background: var(--sunken); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

@media (max-width: 560px) {
  .nav .nav-wide { display: none; }
  .nav a { padding: 8px 10px; }
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow.is-accent { color: var(--accent); }

.display {
  font-size: clamp(2.75rem, 1.6rem + 5.6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.h2 {
  font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lede {
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem);
  line-height: 1.4;
  letter-spacing: -0.016em;
  color: var(--muted);
  max-width: 34ch;
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.5; }

/* ---------- Buttons and pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.btn:hover { color: var(--bg); opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn-quiet {
  background: var(--sunken);
  color: var(--ink);
}
.btn-quiet:hover { color: var(--ink); }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.soon svg { width: 22px; height: 22px; flex: none; }
.soon small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  opacity: 0.72;
  letter-spacing: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.link-arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- The tick (the brand's check circle) ---------- */

.tick {
  width: 30px;
  height: 30px;
  flex: none;
  overflow: visible;
}
.tick .ring { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.tick .fill { fill: var(--ink); transform-box: fill-box; transform-origin: center; }
.tick .mark {
  fill: none;
  stroke: var(--bg);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 0;
}
.tick.is-open .fill, .tick.is-open .mark { display: none; }

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 640 / 1391;
  padding: 9px;
  border-radius: 46px;
  background: var(--bezel);
  box-shadow: inset 0 0 0 1px var(--bezel-edge), var(--shadow-lg);
  flex: none;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 38px;
  background: #fff;
}
@media (prefers-color-scheme: dark) {
  .phone img { filter: brightness(0.94); }
}

/* ---------- Studio home ---------- */

.studio-hero {
  padding-block: clamp(72px, 12vw, 148px) clamp(48px, 7vw, 88px);
}
.studio-hero .display { max-width: 12ch; }
.studio-hero .lede { margin-top: 22px; }

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.feature-card .copy {
  padding: 32px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-card .app-icon { width: 76px; height: 76px; margin-bottom: 22px; }
.feature-card h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.05; }
.feature-card .copy p { margin-top: 10px; color: var(--muted); font-size: 1.1875rem; line-height: 1.4; max-width: 26ch; }
.feature-card .tag {
  margin-top: 20px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sunken);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
}
.feature-card .link-arrow { margin-top: 24px; }
.feature-card .stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 340px;
  margin-top: 36px;
  overflow: hidden;
}
.feature-card .stage .phone { width: 250px; box-shadow: inset 0 0 0 1px var(--bezel-edge), 0 20px 50px -10px rgba(0, 0, 0, 0.28); }
.feature-card .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

@media (min-width: 820px) {
  .feature-card { grid-template-columns: 1.05fr 1fr; }
  .feature-card .copy { padding: 64px 0 64px 64px; justify-content: center; }
  .feature-card .stage { height: 520px; margin-top: 0; padding-top: 64px; }
  .feature-card .stage .phone { width: 300px; }
}

.values {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: clamp(56px, 8vw, 96px) 0;
  list-style: none;
}
.values li { display: flex; align-items: flex-start; gap: 14px; }
.values strong { display: block; font-family: var(--font-display); font-size: 1.1875rem; letter-spacing: -0.015em; }
.values span { color: var(--muted); }
.values .tick { margin-top: 1px; width: 26px; height: 26px; }
@media (min-width: 820px) {
  .values { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ---------- Eminder product page ---------- */

.hero {
  padding-block: clamp(56px, 9vw, 112px) 0;
  text-align: center;
  overflow: hidden;
}
.hero .app-icon {
  width: clamp(96px, 16vw, 128px);
  height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.18));
}
.hero .lede { margin: 18px auto 0; max-width: 26ch; }
.hero .actions { margin-top: 32px; display: flex; justify-content: center; }
.hero .stage {
  display: flex;
  justify-content: center;
  margin-top: clamp(48px, 7vw, 80px);
  height: clamp(420px, 70vw, 560px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.hero .stage .phone { width: min(300px, 76vw); }

.section {
  padding-block: clamp(80px, 11vw, 140px);
}
.section + .section { padding-block-start: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.split .copy { max-width: 30rem; }
.split .copy p { margin-top: 18px; color: var(--muted); font-size: 1.1875rem; line-height: 1.45; }
.split .media { display: flex; justify-content: center; }
.split .head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.split .head .eyebrow { margin: 0; }

@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .split.flip .copy { order: 2; }
  .split.flip .media { order: 1; }
}

.pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.pair .phone { width: min(240px, 46vw); }
.pair .phone:first-child { z-index: 2; }
.pair .phone + .phone { margin-left: min(-40px, -8vw); margin-top: 72px; z-index: 1; }
@media (min-width: 860px) {
  .pair .phone { width: 250px; }
}

.mode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.mode-list li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sunken);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* Little things grid */
.grid-head { margin-bottom: 36px; }
.tiles {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.tile img { width: 44px; height: 44px; flex: none; }
.tile h3 { font-size: 1.1875rem; letter-spacing: -0.015em; line-height: 1.25; }
.tile p { margin-top: 4px; color: var(--muted); font-size: 0.9875rem; line-height: 1.45; }
@media (min-width: 640px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tile { flex-direction: column; padding: 28px; }
  .tile img { width: 52px; height: 52px; margin-bottom: 8px; }
}

/* Pro */
.pro {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 72px) clamp(24px, 6vw, 72px);
  background: var(--sunken);
  overflow: hidden;
}
.pro-grid { display: grid; gap: 40px; }
.pro .copy p { margin-top: 18px; color: var(--muted); font-size: 1.1875rem; line-height: 1.45; max-width: 26rem; }
.checks {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: var(--radius-md);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow-sm);
}
.checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.012em;
}
.checks li + li { border-top: 1px solid var(--line); }
.checks .tick { width: 24px; height: 24px; }
.pro .free-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); max-width: 40rem; }
@media (min-width: 860px) {
  .pro-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
}

/* Privacy band */
.privacy-band { text-align: center; }
.privacy-band .lede { margin: 18px auto 0; max-width: 30ch; }
.privacy-band .link-arrow { margin-top: 22px; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
.faq h2 { margin-bottom: 28px; }
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.014em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 2px 22px; color: var(--muted); max-width: 60ch; }

/* Closing CTA */
.closing { text-align: center; }
.closing .app-icon { width: 88px; height: auto; margin: 0 auto 22px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.18)); }
.closing .actions { margin-top: 28px; display: flex; justify-content: center; }

/* ---------- Documents (privacy, terms, support) ---------- */

.doc {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 96px) clamp(64px, 9vw, 112px);
}
.doc header { margin-bottom: 40px; }
.doc h1 { font-size: clamp(2.375rem, 1.6rem + 3.4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.03em; }
.doc .meta { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; }
.doc .intro { margin-top: 20px; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); }
.doc h2 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.doc h3 { font-size: 1.0625rem; letter-spacing: -0.012em; margin-top: 24px; }
.doc p, .doc ul { margin-top: 12px; color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--muted); }
.doc strong { color: var(--ink); }
.doc .toc {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--sunken);
  font-size: 0.9375rem;
}
.doc .toc ol { margin: 6px 0 0; padding-left: 1.3em; columns: 2 220px; column-gap: 24px; }
.doc .toc li { margin-top: 4px; break-inside: avoid; }
.doc .toc a { color: var(--ink-2); }
.doc .callout {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.doc .callout p:first-child { margin-top: 0; }

.rules {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.doc .rules { padding: 0; }
.doc .rules li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--surface);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.rules .tick { width: 24px; height: 24px; margin-top: 1px; }
.rules strong { display: block; font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: -0.012em; }
.rules span { display: block; color: var(--muted); margin-top: 2px; }

.contact-card {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: var(--sunken);
}
.contact-card p { margin: 0; color: var(--ink-2); }
.contact-card strong { display: block; font-family: var(--font-display); font-size: 1.125rem; color: var(--ink); }

/* ---------- Small status pages (Pro, 404) ---------- */

.status {
  min-height: calc(100svh - 56px - 120px);
  display: grid;
  place-items: center;
  padding-block: 64px;
  text-align: center;
}
.status-card {
  width: 100%;
  max-width: 440px;
  padding: 44px 28px 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.status-card .app-icon { width: 84px; height: auto; margin: 0 auto 22px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.18)); }
.status-card .tick { width: 56px; height: 56px; margin: 0 auto 22px; }
.status-card h1 { font-size: clamp(2.125rem, 1.6rem + 2vw, 2.625rem); letter-spacing: -0.03em; line-height: 1.05; }
.status-card p { margin-top: 12px; color: var(--muted); }
.status-card .btn { margin-top: 28px; width: 100%; }
.status-card .fine { margin-top: 18px; font-size: 0.875rem; color: var(--muted); }
.status-card .fine a { color: var(--ink-2); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.footer-grid .about { grid-column: 1 / -1; }
.footer-grid .about .brand { font-size: 1rem; }
.footer-grid .about p { margin-top: 10px; max-width: 28ch; }
.footer-grid h2 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.footer-base a { color: var(--muted); }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
  .footer-grid .about { grid-column: auto; }
}

/* ---------- Motion (calm, optional) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.9s var(--ease) both;
  }
  .rise-2 { animation-delay: 0.08s; }
  .rise-3 { animation-delay: 0.16s; }
  .rise-4 { animation-delay: 0.26s; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }

  /* Scroll-linked reveals, only where the browser supports them. */
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    @keyframes reveal {
      from { opacity: 0; transform: translateY(28px); }
      to { opacity: 1; transform: none; }
    }

    /* The tick checks itself as it scrolls into view. */
    .tick.draws { view-timeline-name: --tick; }
    .tick.draws .fill {
      animation: tick-fill linear both;
      animation-timeline: --tick;
      animation-range: cover 3% cover 12%;
    }
    .tick.draws .mark {
      animation: tick-mark linear both;
      animation-timeline: --tick;
      animation-range: cover 10% cover 19%;
    }
    @keyframes tick-fill {
      from { transform: scale(0); }
      to { transform: scale(1); }
    }
    @keyframes tick-mark {
      from { stroke-dashoffset: 20; }
      to { stroke-dashoffset: 0; }
    }
  }

  /* Status pages: the tick checks once on load. */
  .tick.on-load .fill { animation: tick-fill-once 0.6s 0.25s var(--ease) both; }
  .tick.on-load .mark { animation: tick-mark-once 0.5s 0.6s var(--ease) both; }
  @keyframes tick-fill-once { from { transform: scale(0); } to { transform: scale(1); } }
  @keyframes tick-mark-once { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-footer, .skip { display: none; }
  body { background: #fff; color: #000; }
}

/* Official App Store badge, for launch day. */
.store-badge { display: inline-block; border-radius: 10px; }
.store-badge img { height: 52px; width: auto; }
