/* ZumiScribe landing page. Dark, like the app: the same colours and the same type. */
:root {
  --bg: #080c14;
  --bg-2: #0b111e;
  --card: #131c2e;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #a9b6c9;
  --blue: #1881ff;
  --blue-2: #38bdf8;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --gutter: clamp(1rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue-2); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--blue); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.35rem; border-radius: 999px; font: 700 0.95rem/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #04101f; box-shadow: 0 8px 24px rgba(24, 129, 255, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-small { padding: 0.6rem 1.05rem; font-size: 0.88rem; }
.btn-big { padding: 1.05rem 2rem; font-size: 1.1rem; }

/* Header */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 1.5rem; padding: 1rem var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.15rem; }
.brand b { color: var(--blue-2); font-weight: 800; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.92rem; opacity: 0.88; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* The carousel */
.hero { position: relative; background: var(--bg-2); }
.hero-intro { position: relative; padding: clamp(6rem, 13vh, 7.5rem) var(--gutter) clamp(1.8rem, 4vh, 2.8rem); background: radial-gradient(120% 140% at 15% 0%, #12263f 0%, var(--bg-2) 60%); }
.eyebrow { font: 700 0.78rem/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 0.8rem; }
.hero-intro h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.08; color: #fff; max-width: 18ch; }
.hero-sub { margin-top: 1.1rem; max-width: 40rem; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: #dbe4f0; }
.hero-tagline { margin-top: 0.9rem; font-weight: 700; font-size: 1.05rem; color: var(--blue-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.hero-benefits { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.4rem; padding: 0; color: var(--muted, #aab6c8); font-weight: 600; font-size: 0.95rem; }
.hero-benefits li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--blue-2); margin-right: 0.55rem; vertical-align: 0.1em; }

.scroller { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.scroller::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; min-height: clamp(32rem, 78vh, 44rem); display: grid; align-items: end; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--a), var(--b)); }
/* The photograph (when the file is not there the colours above still make a slide) */
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% 50%); z-index: -2; }
/* Calm darkness where the words are, so they can always be read */
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 12, 20, 0.92) 0%, rgba(8, 12, 20, 0.7) 38%, rgba(8, 12, 20, 0.15) 75%), linear-gradient(0deg, rgba(8, 12, 20, 0.85) 0%, transparent 38%); }
.slide-copy { padding: clamp(3rem, 8vh, 5rem) var(--gutter) clamp(5.5rem, 12vh, 7rem); max-width: 44rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.tag { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--text); display: flex; flex-wrap: wrap; gap: 0.5rem 0.7rem; align-items: center; }
.tag span { font-weight: 600; font-size: 0.74rem; padding: 0.22rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); }
.tag span.needs { background: rgba(245, 158, 11, 0.2); border-color: rgba(245, 158, 11, 0.55); }
.slide h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 800; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #e2e8f0; max-width: 36rem; }
.slide ul { list-style: none; display: grid; gap: 0.45rem; max-width: 36rem; color: #dbe4f0; font-size: 0.98rem; }
.slide li { position: relative; padding-left: 1.5rem; }
.slide li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.7rem; height: 0.38rem; border-left: 2.5px solid var(--blue-2); border-bottom: 2.5px solid var(--blue-2); transform: rotate(-45deg) translateY(-50%); }
.slide .btn { margin-top: 0.4rem; }

.controls { position: absolute; z-index: 10; left: var(--gutter); right: var(--gutter); bottom: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dots { display: flex; gap: 0.5rem; }
.dot { width: 0.8rem; height: 0.8rem; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.7); background: transparent; padding: 0; cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.dot:hover { background: rgba(255, 255, 255, 0.4); }
.dot[aria-current="true"] { width: 2.2rem; background: #fff; border-color: #fff; }
.arrows { display: flex; gap: 0.5rem; }
.icon-btn { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 999px; color: #fff; background: rgba(8, 12, 20, 0.55); border: 1px solid rgba(255, 255, 255, 0.28); cursor: pointer; backdrop-filter: blur(6px); }
.icon-btn:hover { background: rgba(8, 12, 20, 0.85); }
#pause .i-play { display: none; }
#pause[aria-pressed="true"] .i-play { display: block; }
#pause[aria-pressed="true"] .i-pause { display: none; }

/* A little life as slides move (only where the browser can do it, and not for people who ask for less motion) */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes drift { from { transform: translateX(-5%) scale(1.1); } to { transform: translateX(5%) scale(1.1); } }
    @keyframes rise { 0% { opacity: 0; translate: 48px 0; } 35%, 65% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: -48px 0; } }
    /* One timeline for the whole slide (not each part's own position: the words sit left of centre, so at rest they would be part-way through their fade) */
    .slide { view-timeline: --slide inline; }
    .slide-img { animation: drift linear both; animation-timeline: --slide; }
    .slide-copy { animation: rise linear both; animation-timeline: --slide; }
  }
}

/* Bands */
.band { padding: clamp(3.5rem, 9vw, 6rem) var(--gutter); }
.band.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.wrap { max-width: 70rem; margin: 0 auto; }
.band h2, .final h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.band-lead { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; margin: 2.2rem 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.steps h3 { font-size: 1.15rem; margin: 0.8rem 0 0.5rem; }
.steps p { color: var(--muted); }
.num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #04101f; font-weight: 800; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.cards h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.cards p { color: var(--muted); font-size: 0.95rem; }
.two { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.ticks { list-style: none; display: grid; gap: 1rem; }
.ticks li { padding-left: 1.8rem; position: relative; color: var(--muted); }
.ticks li strong { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 0.8rem; height: 0.45rem; border-left: 3px solid var(--blue-2); border-bottom: 3px solid var(--blue-2); transform: rotate(-45deg); }
.fine { max-width: 70rem; margin: 2rem auto 0; color: var(--muted); font-size: 0.92rem; }
.final { text-align: center; padding: clamp(4rem, 10vw, 7rem) var(--gutter); background: radial-gradient(60rem 24rem at 50% 0%, rgba(24, 129, 255, 0.22), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.final .band-lead { margin: 0 auto; }
.final .cta-row { justify-content: center; }
.final .fine { text-align: center; }
.site-foot { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; padding: 1.5rem var(--gutter) 2.5rem; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
.site-foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-head { justify-content: space-between; }
  .slide { min-height: 40rem; }
  .slide::before { background: linear-gradient(0deg, rgba(8, 12, 20, 0.95) 0%, rgba(8, 12, 20, 0.8) 55%, rgba(8, 12, 20, 0.25) 100%); }
  .slide-copy { padding-top: 5rem; padding-bottom: 5.5rem; }
  .hero-benefits { gap: 0.4rem 1rem; }
  .slide ul li:nth-child(n+3) { display: none; }
  .two { grid-template-columns: 1fr; }
  .arrows #pause { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dot { transition: none; }
}
@media (forced-colors: active) {
  .dot[aria-current="true"] { background: Highlight; }
}

/* What makes it different: five rows, each a few words and a small picture made of the page's own parts */
.diff .band-lead { margin-bottom: 2.4rem; }
.diff-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem) 0; border-top: 1px solid var(--line); }
.diff-row.flip .diff-copy { order: 2; }
.diff-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; margin-bottom: 0.7rem; }
.diff-copy p { color: var(--muted); font-size: 1.05rem; max-width: 34rem; }
.diff-art { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; display: grid; gap: 0.7rem; font-size: 0.9rem; }
.diff-art b { font-weight: 700; }
.diff-art mark { background: rgba(245, 158, 11, 0.3); color: inherit; border-radius: 3px; padding: 0 2px; }
/* screenshots of the app */
.diff-art.shot { padding: 0; overflow: hidden; margin: 0; gap: 0; }
.shot img, .step-shot { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 0.7rem 1rem; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); }
.shots { grid-template-columns: 1fr; padding: 0; background: none; border: 0; }
.shots .shot { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step-shot { margin-top: 1rem; border-radius: 10px; border: 1px solid var(--line); }


/* the screenshots are wide and detailed: the words come first and the picture gets the full width beneath */
.diff-row, .diff-row.flip { grid-template-columns: 1fr; align-items: start; gap: 1.4rem; }
.diff-row.flip .diff-copy { order: 0; }
.diff-art.shot { max-width: var(--w, 100%); width: 100%; }
.shots { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 1rem; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.9rem; }

/* The offline band: a little set apart from the bands around it */
.offline { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.offline .cta-row { margin-top: 1.4rem; }

/* a tall picture (the exported document) shows its top part */
.shot.crop img { max-height: 36rem; object-fit: cover; object-position: top; }

/* a phone picture is tall and narrow: it sits centred in its card, not stretched to the card's width */
.shot.phone { text-align: center; padding-top: 1rem; }
.shot.phone img { max-width: 15rem; margin: 0 auto; }
.shot.phone figcaption { text-align: left; margin-top: 1rem; }

/* Product highlights: pictures with their words laid over them */
.hl { position: relative; max-width: 62rem; margin: 2rem auto 0; }
.hl-scroller { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 16px; }
.hl-scroller::-webkit-scrollbar { display: none; }
.hl-slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 16 / 9; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #0a0f1a; }
.hl-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit, cover); object-position: var(--pos, top center); }
.hl-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.2rem clamp(1rem, 3vw, 1.8rem) clamp(0.9rem, 2.4vw, 1.4rem); display: grid; gap: 0.3rem; background: linear-gradient(0deg, rgba(8, 12, 20, 0.96) 0%, rgba(8, 12, 20, 0.84) 55%, rgba(8, 12, 20, 0) 100%); }
.hl-cap strong { font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 800; color: #fff; }
.hl-cap span { color: #d3dded; font-size: clamp(0.88rem, 1.5vw, 1.02rem); max-width: 46rem; }
.hl-controls { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 1rem; }
.hl-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; max-width: 30rem; }
.hl-dot { width: 0.7rem; height: 0.7rem; padding: 0; border-radius: 999px; border: 1.5px solid #9fb0c7; background: transparent; cursor: pointer; transition: width 0.2s ease, background 0.2s ease; }
.hl-dot[aria-current="true"] { width: 1.7rem; background: #fff; border-color: #fff; }
.hl-slide.cap-top .hl-cap { top: 0; bottom: auto; padding: clamp(0.9rem, 2.4vw, 1.4rem) clamp(1rem, 3vw, 1.8rem) 3.2rem; background: linear-gradient(180deg, rgba(8, 12, 20, 0.96) 0%, rgba(8, 12, 20, 0.84) 55%, rgba(8, 12, 20, 0) 100%); }
@media (max-width: 640px) { .hl-slide { aspect-ratio: 4 / 3; } .hl-cap span { display: none; } .hl-dots { flex-wrap: nowrap; gap: 0.3rem; } .hl-dot { width: 0.5rem; height: 0.5rem; } .hl-dot[aria-current="true"] { width: 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .hl-dot { transition: none; } }

/* Fixed header, gentle snapping and scroll-driven motion (progressive: browsers without animation-timeline just scroll) */
html { scroll-padding-top: 4.4rem; }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 12, 20, 0.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); opacity: 0; }
.site-head .read { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
  .hero-intro, .hero, .band, .final, .diff-row, .site-foot { scroll-snap-align: start; }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes head-in { to { opacity: 1; } }
    @keyframes read-fill { to { transform: scaleX(1); } }
    @keyframes rise { from { opacity: 0; transform: translateY(2.4rem); } to { opacity: 1; transform: none; } }
    @keyframes pop { from { opacity: 0; transform: translateY(2rem) scale(0.94); } to { opacity: 1; transform: none; } }
    @keyframes hero-away { to { opacity: 0.25; transform: translateY(-2rem) scale(0.98); } }
    .site-head::before { animation: head-in linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
    .site-head .read { animation: read-fill linear both; animation-timeline: scroll(root); }
    .band h2, .band-lead, .final h2, .final .band-lead, .final .cta-row, .offline-copy, .diff-copy, .steps li, .cards li, .hl { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .diff-art, .hl-scroller { animation: pop linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .steps li:nth-child(2), .cards li:nth-child(2n) { animation-range: entry 8% entry 63%; }
    .steps li:nth-child(3), .cards li:nth-child(3n) { animation-range: entry 16% entry 71%; }
    .hero-intro > * { animation: hero-away linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }
  }
}

/* Each section its own backdrop: a tint, a soft glow that drifts as you scroll, and a pattern or two */
.band, .final { position: relative; isolation: isolate; overflow: clip; }
.band::before, .final::before { content: ""; position: absolute; z-index: -1; width: min(60rem, 90vw); aspect-ratio: 1; top: -12rem; right: -14rem; border-radius: 50%; background: radial-gradient(closest-side, var(--glow, rgba(24, 129, 255, 0.16)), transparent); pointer-events: none; }
.band:nth-of-type(even)::before { right: auto; left: -16rem; }
.offline { --glow: rgba(20, 184, 166, 0.2); background: linear-gradient(170deg, #0a1a1f 0%, #0a1420 45%, var(--bg) 100%); }
.diff { --glow: rgba(24, 129, 255, 0.15); background-color: var(--bg); background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1.2px); background-size: 24px 24px; }
#how { --glow: rgba(139, 92, 246, 0.2); background: linear-gradient(180deg, #0d0f24 0%, #0a0e1c 55%, var(--bg-2) 100%); }
.highlights { --glow: rgba(56, 189, 248, 0.17); background: linear-gradient(180deg, var(--bg-2), #0c1330 50%, var(--bg-2)); border-block: 1px solid var(--line); }
.highlights::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
#features { --glow: rgba(245, 158, 11, 0.12); background: linear-gradient(200deg, #121a2b 0%, var(--bg-2) 60%); }
#private { --glow: rgba(52, 211, 153, 0.17); background: linear-gradient(160deg, #09160f 0%, #0a1118 55%, var(--bg) 100%); }
.final { --glow: rgba(24, 129, 255, 0.3); }
.band h2::after { content: ""; display: block; width: 3.2rem; height: 3px; margin-top: 0.7rem; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transform-origin: left; }
.final h2::after { margin-inline: auto; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes glow-drift { from { transform: translate3d(0, 5rem, 0) scale(0.9); } to { transform: translate3d(-3rem, -8rem, 0) scale(1.15); } }
    @keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes ring { from { transform: scale(0.4) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
    @keyframes tint-shift { from { background-position: 0 0; } to { background-position: 24px 48px; } }
    @keyframes grid-pan { from { background-position: 0 0, 0 0; } to { background-position: 0 -56px, 28px 0; } }
    @keyframes slide-left { from { opacity: 0; transform: translateX(-3rem); } to { opacity: 1; transform: none; } }
    @keyframes slide-right { from { opacity: 0; transform: translateX(3rem); } to { opacity: 1; transform: none; } }
    .band::before, .final::before { animation: glow-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .band h2::after { animation: grow-x linear both; animation-timeline: view(); animation-range: entry 20% entry 80%; }
    .steps .num { animation: ring linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
    .diff { animation: tint-shift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .highlights::after { animation: grid-pan linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .diff-row:nth-child(odd of .diff-row) .diff-copy { animation-name: slide-left; }
    .diff-row:nth-child(even of .diff-row) .diff-copy { animation-name: slide-right; }
  }
}

/* The demo video */
#watch { --glow: rgba(56, 189, 248, 0.18); }
.video-frame { margin: 2rem 0 0; max-width: 62rem; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #080c14; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.video-frame .fine { margin-top: 0.8rem; }
