:root {
  --raised: #fff;
  --on-accent: #fff;
  --lilac: #efe3ff;
  --bg: #fbfaff;
  --ink: #111016;
  --ink2: rgba(17, 16, 22, .62);
  --ink3: rgba(17, 16, 22, .4);
  --line: rgba(17, 16, 22, .1);
  --plate: rgba(17, 16, 22, .04);
  --card: #fff;
  --accent: #7341d6;
  --green: #059669;
  --gutter: 20px;
  --column: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.35, .5, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --raised: #24222c;
  --on-accent: #0b0a10;
  --lilac: #1b1527;
  --bg: #0b0a10;
  --ink: #f4f3f8;
  --ink2: rgba(244, 243, 248, .62);
  --ink3: rgba(244, 243, 248, .4);
  --line: rgba(244, 243, 248, .1);
  --plate: rgba(244, 243, 248, .045);
  --card: #15141b;
  --accent: #b38bff;
  --green: #34d399;
  color-scheme: dark;
}

* { 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: 17px/1.5 var(--sans);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2 {
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h3 { font-size: 22px; line-height: 1.2; font-weight: 650; letter-spacing: -.015em; }
.sub { margin-top: 18px; color: var(--ink2); font-size: clamp(17px, 1.5vw, 20px); text-wrap: pretty; }

section { padding: 0 var(--gutter); }

/* Header: a quiet bar that turns into a floating capsule once the page moves. */

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 10px var(--gutter) 0;
  pointer-events: none;
}
.bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1040px;
  height: 56px;
  margin: 0 auto;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  transition: background-color .4s ease, max-width .6s var(--ease);
}
.is-scrolled .bar {
  max-width: 720px;
  background: color-mix(in srgb, var(--raised) 94%, transparent);
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 17px; text-decoration: none; letter-spacing: -.015em; }
.logo img { width: 30px; height: 30px; }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { padding: 8px 12px; border-radius: 999px; color: var(--ink2); text-decoration: none; font-size: 15px; transition: color .25s ease, background-color .25s ease; }
.links a:hover { color: var(--ink); background: var(--plate); }

/* Accent button: lifts a little and its letters roll over one after another. */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s ease;
}
.pill:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--ink) 88%, var(--bg)); }
.pill:active { transform: scale(.98); }

.roll { display: inline-flex; overflow: hidden; line-height: 1.3; }
.roll i { position: relative; display: inline-block; font-style: normal; white-space: pre; transition: transform .45s var(--ease); transition-delay: calc(var(--i) * 16ms); }
.roll i::after { content: attr(data-c); position: absolute; left: 0; top: 110%; }
.pill:hover .roll i { transform: translateY(-110%); }
.pill.small { height: 40px; padding: 0 18px; font-size: 15px; }
.pill .apple { width: 19px; height: 19px; fill: currentColor; margin-top: -2px; }
.bar .pill.small { margin-left: 6px; }

/* Theme: the sun sets as the moon rises. */
.theme {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: 4px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink2);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .18s ease;
}
@media (hover: hover) { .theme:hover { background: var(--plate); color: var(--ink); } }
.theme:active { transform: scale(.94); }
.theme svg { position: absolute; width: 18px; height: 18px; transition: transform .45s cubic-bezier(.34, 1.4, .64, 1), opacity .3s ease; }
.theme .moon { opacity: 0; transform: translateY(14px) rotate(-40deg); }
:root[data-theme="dark"] .theme .sun { opacity: 0; transform: translateY(-14px) rotate(40deg); }
:root[data-theme="dark"] .theme .moon { opacity: 1; transform: none; }
.retint { position: fixed; top: 0; left: 0; right: 0; height: 8px; z-index: 60; background: var(--bg); pointer-events: none; }

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
  transition: background-color .25s ease;
}
.ghost:hover { background: var(--plate); }

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 92px;
}
.tree { width: 150px; aspect-ratio: 720 / 750; }
.hero .tree { margin-bottom: 6px; }
.hero-title {
  font-size: clamp(54px, 8.4vw, 100px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.02em;
}
.lead {
  max-width: 600px;
  margin-top: 20px;
  color: var(--ink2);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.45;
  text-wrap: pretty;
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.meta { margin-top: 16px; color: var(--ink3); font-size: 14px; }
.meta a { color: var(--ink2); }

.window-stage {
  width: 100%;
  max-width: 1200px;
  margin-top: 48px;
  perspective: 1300px;
}
.window-tilt {
  padding: clamp(14px, 4vw, 56px);
  border-radius: clamp(24px, 4vw, 44px);
  background: var(--lilac);
  transform-origin: 50% 0;
  will-change: transform;
}
/* The window leans back and stands up as it scrolls in. Tied to the scroll by
   the browser itself, so it never trails a frame behind the page. */
@keyframes stand {
  from { transform: rotateX(34deg) scale(.86) translateY(50px); }
  to { transform: none; }
}
@supports (animation-timeline: view()) {
  @media (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .window-tilt { animation: stand ease-out both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
.demo { position: relative; width: 100%; margin: 0 auto; max-width: 1000px; }

/* Statement lit word by word as it scrolls through. */

.statement { padding-top: clamp(140px, 18vw, 240px); padding-bottom: clamp(120px, 14vw, 200px); }
.lit {
  max-width: 1000px;
  margin: 0 auto;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -.02em;
  text-align: center;
  text-wrap: balance;
}
.lit .w { color: var(--ink); opacity: .16; transition: opacity .35s ease; }
.lit .w.is-on { opacity: 1; }

/* Numbers: a pinned stage, the size falls as the page moves. */

.numbers { position: relative; height: 520vh; padding: 0; }
.numbers-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
  overflow: hidden;
}
.numbers-caption, .numbers-foot { color: var(--ink2); font-size: clamp(17px, 1.6vw, 21px); }
.numbers-foot { color: var(--ink3); font-size: 15px; max-width: 440px; text-wrap: balance; }
.numbers-stack { position: relative; width: 100%; height: clamp(120px, 20vw, 270px); margin: 14px 0 6px; overflow: hidden; }
.big {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(96px, 19vw, 260px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0;
  transform: translateY(70%);
  transition: opacity .45s ease, transform .8s var(--ease);
}
.big.is-on { opacity: 1; transform: none; }
.big.is-past { opacity: 0; transform: translateY(-70%); }
.big.is-green { color: var(--green); }
.big small { font-size: .42em; font-weight: 650; margin-left: .18em; letter-spacing: -.01em; }

/* One dot is a tenth of a megabyte. */
.dots { position: relative; display: grid; grid-template-columns: repeat(53, 6px); gap: 5px; justify-content: center; margin: 22px 0 28px; }
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  transition: opacity .7s ease, background-color .5s ease;
  transition-delay: calc(var(--r) * 1ms), 0s;
}
.dots.is-small i { transition-delay: calc(var(--d) * 1ms), 0s; }
.dots.is-small i.is-gone { opacity: .13; }
.dots.is-green i:not(.is-gone) { background: var(--green); }

.spark {
  position: absolute;
  left: var(--l);
  top: var(--t);
  width: var(--size, 2px);
  height: var(--size, 2px);
  border-radius: 50%;
  background: var(--spark, currentColor);
  opacity: 0;
  pointer-events: none;
  animation: spark var(--sd, 900ms) linear var(--delay, 0ms) both;
}
@keyframes spark {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)); }
}

/* Before and after */

.compare { text-align: center; padding-top: clamp(80px, 10vw, 140px); }
.slider {
  position: relative;
  max-width: 1040px;
  margin: 48px auto 0;
  aspect-ratio: 16 / 10;
  border-radius: clamp(18px, 3vw, 32px);
  overflow: hidden;
  background: var(--plate);
  touch-action: pan-y;
  cursor: ew-resize;
  --split: 50%;
}
.slider-page, .slider-after { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slider-after { clip-path: inset(0 0 0 var(--split)); }
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 44px;
  margin-left: -22px;
  display: grid;
  place-items: center;
  outline: none;
}
.slider-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 21px; width: 2px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); }
.slider-handle i {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: transform .3s var(--spring);
}
.slider-handle i::before, .slider-handle i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: solid #111016;
  border-width: 0 0 2px 2px;
}
.slider-handle i::before { left: 12px; transform: translateY(-50%) rotate(45deg); }
.slider-handle i::after { right: 12px; transform: translateY(-50%) rotate(-135deg); }
.slider:active .slider-handle i, .slider-handle:focus-visible i { transform: scale(1.12); }
.slider-tag {
  position: absolute;
  bottom: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, .92);
  color: #111016;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: opacity .25s ease;
}
.slider-tag.is-left { left: 16px; }
.slider-tag.is-right { right: 16px; background: #7341d6; color: #fff; }

/* Bento */

.bento { padding-top: clamp(140px, 16vw, 220px); }
.bento h2 { text-align: center; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: var(--column);
  margin: 56px auto 0;
}
.tile { position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--plate); min-height: 420px; }
.tile-wide { grid-column: span 3; flex-direction: row; align-items: stretch; min-height: 340px; }
.tile-text { padding: 28px 32px 32px; }
.tile-wide .tile-text { flex: 0 0 40%; padding: 48px; align-self: center; }
.tile-text p { margin-top: 10px; color: var(--ink2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }
.tile-art { position: relative; display: grid; place-items: center; overflow: hidden; }
.tile:not(.tile-wide) .tile-art { height: 240px; }
.tile-wide .tile-art { flex: 1; }

.selection { display: grid; gap: 4px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; font-weight: 650; letter-spacing: -.02em; }
.sel-line { position: relative; white-space: nowrap; }
.selection mark {
  color: inherit;
  background: linear-gradient(color-mix(in srgb, var(--accent) 30%, transparent), color-mix(in srgb, var(--accent) 30%, transparent)) no-repeat 0 0 / 0 100%;
  border-radius: 3px;
  transition: background-size 1.1s cubic-bezier(.45, 0, .2, 1) .5s;
}
.tile.is-in .selection mark { background-size: 100% 100%; }
.caret { display: inline-block; width: 2px; height: .95em; margin-left: 1px; vertical-align: -.12em; background: var(--accent); animation: caret 1.1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* The photo, a flat veil over it, and the kept part on top, cut to the frame. */
.art-crop { --crop: 25% 12% 25% 48%; }
.art-crop .crop-photo { position: absolute; inset: 0; background: url(/assets/cover-photo.jpg) center / cover; }
.art-crop .crop-veil { position: absolute; inset: 0; background: var(--bg); opacity: 0; transition: opacity 1.2s ease .6s; }
.art-crop .crop-kept { clip-path: inset(var(--crop) round 4px); }
.art-crop .crop-frame { position: absolute; inset: 25% 12% 25% 48%; border-radius: 4px; box-shadow: 0 0 0 2px #fff; }
.tile.is-in .art-crop .crop-veil { opacity: .86; }

.art-bands { display: grid; gap: 16px; align-content: center; place-items: stretch; padding: 28px; }
.band-row { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; font-size: 13px; color: var(--ink2); }
.band-row i { display: block; height: 64px; border-radius: 8px; background: linear-gradient(90deg, #0d3b2e, #1f8a63 55%, #9be3c2); }
.band-row i.is-banded {
  background: linear-gradient(90deg,
    #0d3b2e 0 12.5%, #135240 12.5% 25%, #186650 25% 37.5%, #1d7a5d 37.5% 50%,
    #1f8a63 50% 62.5%, #45a982 62.5% 75%, #6fc6a2 75% 87.5%, #9be3c2 87.5% 100%);
}

.art-same .same-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--raised);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink2);
  transform: scale(.9);
  opacity: 0;
  transition: transform .7s var(--spring) .3s, opacity .4s ease .3s;
}
.art-same .same-chip svg { width: 18px; height: 18px; fill: var(--green); }
.tile.is-in .art-same .same-chip { transform: none; opacity: 1; }

.art-apps { padding: 48px; place-items: center start; }
.art-apps p { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }

/* Presets */

.presets { text-align: center; padding-top: clamp(140px, 16vw, 220px); }
.preset-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 900px; margin: 48px auto 0; }
.pp {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-items: center;
  text-align: left;
  padding: 18px;
  border: 0;
  border-radius: 20px;
  background: var(--plate);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: box-shadow .3s ease, background-color .3s ease, transform .3s var(--spring);
}
.pp:hover { transform: translateY(-2px); }
.pp i { grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink3); transition: box-shadow .35s var(--spring); }
.pp b { font-size: 16px; font-weight: 650; transition: color .3s ease; }
.pp small { color: var(--ink2); font-size: 14px; }
.pp.is-on { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.pp.is-on i { box-shadow: inset 0 0 0 6px var(--accent); }
.pp.is-on b { color: var(--accent); }

.preset-result { max-width: 900px; margin: 28px auto 0; text-align: left; }
.meter { position: relative; height: 72px; border-radius: 20px; background: var(--plate); overflow: hidden; }
.meter-full span, .meter-fill span { position: absolute; top: 50%; transform: translateY(-50%); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter-full span { right: 20px; color: var(--ink3); text-decoration: line-through; }
.meter-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 18.8%;
  min-width: 120px;
  border-radius: 20px;
  background: var(--accent);
  transition: width .8s var(--spring);
}
.meter-fill span { left: 20px; color: var(--on-accent); }
.preset-note { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: 16px; color: var(--ink2); font-size: 16px; }
.preset-note b { color: var(--green); font-size: 20px; font-variant-numeric: tabular-nums; }
.preset-note span:last-child { color: var(--ink3); }

/* Facts */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--column);
  margin: clamp(120px, 14vw, 180px) auto 0;
  gap: 10px;
}
.fact { min-width: 0; padding: 36px; border-radius: 28px; background: var(--plate); }
@media (max-width: 1000px) and (min-width: 721px) {
  .fact { padding: 28px 24px; }
  .art-engines { gap: 4px; }
  .art-engines i { width: 18px; height: 25px; }
  .fact b { font-size: clamp(24px, 3.4vw, 28px); }
}
.fact-art { display: flex; align-items: flex-end; gap: 4px; height: 36px; margin-bottom: 28px; }

/* One dot is 10 MB: 32 go in, 13 stay. */
.art-mb { flex-wrap: wrap; align-content: flex-end; width: 186px; gap: 5px; }
.art-mb i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transition: opacity .6s ease, background-color .5s ease; transition-delay: calc(var(--d) * 1ms); }
.facts.is-in .art-mb i.is-gone { opacity: .13; }
.facts.is-in .art-mb i:not(.is-gone) { background: var(--green); }

/* Cores: four rows of dots, each row a core working through a file in about
   four seconds, out of step with the others. */
.art-cores { flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 0; }
.art-cores > div { display: flex; gap: 5px; }
.art-cores i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .13; }
.art-cores i.is-on { opacity: 1; background: var(--accent); }
.art-cores i { transition: opacity .25s ease, background-color .25s ease; }

/* Seven engines, seven identical pages, each signed off in turn. */
.art-engines { gap: 7px; }
.art-engines i { position: relative; width: 22px; height: 30px; border-radius: 3px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.art-engines i b { position: absolute; left: 4px; height: 2px; border-radius: 999px; background: var(--ink3); }
.art-engines i b:nth-child(1) { top: 6px; right: 4px; }
.art-engines i b:nth-child(2) { top: 10px; right: 4px; }
.art-engines i b:nth-child(3) { top: 14px; right: 9px; }
.art-engines i::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M2.6 5.2l1.6 1.6 3.2-3.4' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px; transform: scale(0); transition: transform .45s var(--spring); transition-delay: calc(var(--d) * 1ms); }
.facts.is-in .art-engines i::after { transform: none; }

.fact b { display: block; white-space: nowrap; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 10px; color: var(--ink2); font-size: 16px; }

/* Install */

.install { padding-top: clamp(140px, 16vw, 220px); text-align: center; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 900px; margin: 48px auto 0; text-align: left; }
.step { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border-radius: 28px; background: var(--plate); }
.step p { color: var(--ink2); font-size: 16px; flex: 1; }
.command {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 52px;
  padding: 0 8px 0 18px;
  border: 0;
  border-radius: 16px;
  background: var(--plate);
  color: var(--ink);
  font: 600 16px/1 var(--sans);
  cursor: pointer;
  text-align: left;
}
.command span { flex: 1; }
.command em {
  font-style: normal;
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 11px;
  background: var(--raised);
  transition: color .2s ease;
}
.command.is-copied em { color: var(--green); }

/* FAQ */

.faq { max-width: 820px; margin: 0 auto; padding-top: clamp(140px, 16vw, 220px); }
.faq h2 { text-align: center; margin-bottom: 40px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--ink3); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .35s var(--spring); }
details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details p { padding: 0 0 24px; color: var(--ink2); max-width: 680px; }

/* Final */

.final { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(140px, 16vw, 220px); padding-bottom: 72px; position: relative; }
.tree-small { width: 170px; margin-bottom: 8px; }
.final h2 { margin-bottom: 36px; }
.final .meta { margin-top: 28px; }

/* Entrance: the whole block at once. */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .tile:not(.tile-wide):last-of-type { grid-column: span 2; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .links { display: none; }
  .bar { padding-left: 10px; }
  .theme { margin-left: auto; }
  .bar .pill.small { margin-left: 4px; }
  .is-scrolled .bar { max-width: 100%; }
  .hero { padding-top: 96px; }
  .tree { width: 160px; }
  .actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .window-stage { margin-top: 48px; }
  .grid { grid-template-columns: 1fr; }
  .tile, .tile-wide, .tile:not(.tile-wide):last-of-type { grid-column: auto; flex-direction: column; min-height: 0; }
  .tile-wide .tile-text { padding: 32px; }
  .tile-wide .tile-art { min-height: 240px; }
  .tile-text { order: 2; }
  .preset-picker, .steps, .facts { grid-template-columns: 1fr; }
  .slider-tag { bottom: 8px; padding: 4px 9px; font-size: 10.5px; }
  .slider-tag.is-left { left: 8px; }
  .slider-tag.is-right { right: 8px; }
  summary { font-size: 18px; }
  .command { font-size: 14px; }
  .dots { grid-template-columns: repeat(32, 5px); gap: 3px; }
  .dots i { width: 5px; height: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .big, .lit .w, .tile *, .dots i, .fact-art i, .fact-art i::after { transition: none !important; }
  .spark { display: none; }
  .roll i { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* The slide's type sits over both halves: in a PDF it is vector and Bonsai never touches it. */
.slider { container-type: inline-size; user-select: none; -webkit-user-select: none; }
.slide { position: absolute; inset: 0; color: #fff; text-align: left; pointer-events: none; }
.slide-brand { position: absolute; left: 5%; right: 5%; top: 6.5%; display: flex; justify-content: space-between; font-size: 1.3cqw; }
.slide-brand b { font-weight: 650; }
.slide-brand span { opacity: .6; }
.slide-title { position: absolute; left: 5%; top: 17%; width: 46%; font-size: 6cqw; line-height: 1; font-weight: 650; letter-spacing: -.02em; }
.slide-text { position: absolute; left: 5%; top: 47%; width: 28%; font-size: 1.45cqw; line-height: 1.45; opacity: .7; }
.slide-stats { position: absolute; left: 5%; bottom: 9%; display: flex; gap: 4cqw; }
.slide-stats b { display: block; font-size: 2.8cqw; line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.slide-stats span { display: block; margin-top: .7cqw; font-size: 1.15cqw; opacity: .6; }

.callout {
  position: absolute;
  display: flex;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .7s var(--spring);
}
.slider.is-in .callout { opacity: 1; transform: none; }
.slider.is-in .callout.is-wall { transition-delay: .5s; }
.callout i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); flex: none; }
.callout i::after { content: ""; display: block; width: 36px; height: 1px; margin: 4px 0 0 12px; background: rgba(255, 255, 255, .7); }
.callout span {
  margin-left: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #111016;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .14);
}
.callout.is-text { left: 29%; top: 30.5%; }
.callout.is-wall { left: 62%; top: 66%; }
.caption { margin-top: 18px; color: var(--ink3); font-size: 14px; }


@media (max-width: 720px) {
  .callout { display: none; }
  .slider-handle i { width: 34px; height: 34px; }
  .slider-handle i::before { left: 9px; }
  .slider-handle i::after { right: 9px; }
  .callout span { font-size: 12px; }
  .callout i::after { width: 22px; }
  .callout span { margin-left: 24px; }
}
