/* Aesthify — site styles.
   Frutiger Aero, the restrained way: light comes from the top, gradients act as
   light rather than fills, glass is kept for chrome, and the one glossy gel
   element on screen is the primary action. */

/* Hind by Indian Type Foundry, SIL Open Font License 1.1 (assets/fonts/OFL-Hind.txt) */
@font-face {
  font-family: "Hind";
  src: url("../assets/fonts/hind-300.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../assets/fonts/hind-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../assets/fonts/hind-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../assets/fonts/hind-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --ink: #0d2b4a;          /* navy text on sky and glass */
  --ink-soft: #3c5a78;
  --ink-faint: #6f88a2;
  --accent: #0066bf;       /* Color.theme.accentBlue */
  --gel-deep: #004dcc;     /* Color.theme.gelDeep */
  --gel-bright: #00b3e6;   /* Color.theme.gelBright */
  --pale-aqua: #d6f2ff;    /* Color.theme.paleAqua */
  --glass-shadow: 0, 89, 179;
  --page: #f3faff;
  --grass: #74c043;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;

  --font: "Hind", "Segoe UI", "Myriad Pro", "Lucida Grande", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: #9fe0ff; color: var(--ink); }

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

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

h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(38px, 5.4vw, 80px); }
h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; font-weight: 400; letter-spacing: -0.015em; }
p { margin: 0; }

/* Small blue section label: sentence case, like a Vista control panel heading. */
.label {
  color: var(--accent);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.label::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, #6fd6ff 40%, #0a7fd8 100%);
  box-shadow: 0 1px 2px rgba(0, 60, 140, .35);
}

/* ───────────── Gel button (LiquidGelFill, in CSS) ───────────── */
.gel {
  --h: 58px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--h);
  padding: 0 32px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .005em;
  text-shadow: 0 1px 1px rgba(0, 40, 110, .55);
  isolation: isolate;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(80, 255, 140, .40), transparent 70%),
    radial-gradient(60% 100% at 0% 100%, rgba(0, 255, 255, .45), transparent 70%),
    linear-gradient(to bottom, var(--gel-deep), var(--gel-bright));
  box-shadow:
    0 10px 24px -8px rgba(0, 90, 200, .65),
    0 2px 4px rgba(0, 50, 120, .25),
    inset 0 -2px 6px rgba(140, 255, 255, .55),
    inset 0 0 0 1px rgba(0, 40, 140, .35);
  transition: transform .5s var(--ease-spring), box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
/* rim: bright top and bottom, dim sides */
.gel::before {
  content: ""; position: absolute; inset: 1px; border-radius: inherit; z-index: -1;
  padding: 2px;
  background: linear-gradient(to bottom, rgba(255,255,255,.9), rgba(255,255,255,.1) 40%, rgba(255,255,255,.1) 60%, rgba(255,255,255,.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  mix-blend-mode: overlay;
}
/* the specular band over the top half, plus two soft glints */
.gel::after {
  content: ""; position: absolute; inset: 2px 3px auto; height: calc(50% - 2px);
  border-radius: 999px 999px 40% 40% / 999px 999px 18px 18px;
  background:
    radial-gradient(10px 5px at 22% 30%, rgba(255,255,255,.75), transparent),
    linear-gradient(to bottom, rgba(255,255,255,.72), rgba(255,255,255,.12));
  pointer-events: none;
}
.gel__label { position: relative; z-index: 1; }
/* glow that follows the pointer, like an Aero taskbar button */
.gel .gel__glow {
  position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: radial-gradient(90px 60px at var(--gx, 50%) var(--gy, 50%), rgba(190, 255, 255, .55), transparent 70%);
  opacity: 0; transition: opacity .3s;
  mix-blend-mode: screen;
}
.gel:hover .gel__glow { opacity: 1; }
.gel:hover { transform: translateY(-2px) scale(1.02); }
.gel:active { transform: translateY(1px) scale(.97); transition-duration: .12s; }
.gel--big { --h: 66px; padding: 0 40px; font-size: 20px; }

.textlink {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 2px;
}
.textlink::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 5v8m-3.2-3.2L9 13l3.2-3.2' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%,
    radial-gradient(circle at 50% 25%, #6cd2ff, #0a74d1 75%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 3px rgba(0, 60, 150, .35);
  transition: transform .5s var(--ease-spring);
}
.textlink:hover::after { transform: translateY(3px); }

/* ───────────── Taskbar ───────────── */
.taskbar {
  position: fixed; inset: 12px 0 auto; z-index: 50;
  display: flex; justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
  transition: transform .6s var(--ease-out);
}
.taskbar.is-hidden { transform: translateY(-120%); }
.taskbar__glass {
  pointer-events: auto;
  width: min(100%, 980px);
  height: 56px;
  display: flex; align-items: center; gap: 6px;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  position: relative;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.78), rgba(255,255,255,.38) 50%, rgba(220,242,255,.42) 51%, rgba(240,250,255,.55));
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(255,255,255,.4),
    0 0 0 1px rgba(var(--glass-shadow), .14),
    0 12px 30px -12px rgba(var(--glass-shadow), .35);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; font-size: 19px;
  padding: 4px 10px 4px 0; margin-right: auto;
}
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 2px 3px rgba(0, 70, 160, .3)); }
.taskbar__links { display: flex; gap: 2px; }
.taskbar__links a {
  position: relative;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s, background-color .2s;
  overflow: hidden;
}
[data-glow]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(60px 40px at var(--gx, 50%) var(--gy, 50%), rgba(110, 210, 255, .55), transparent 75%);
  opacity: 0; transition: opacity .25s;
  z-index: -1;
}
.taskbar__links a { isolation: isolate; }
.taskbar__links a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
.taskbar__links a:hover::before { opacity: 1; }


/* Glass until the hero's button scrolls away; then it becomes the gel. */
.taskbar__cta {
  height: 40px; display: inline-flex; align-items: center;
  padding: 0 18px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 15.5px;
  color: var(--accent);
  background: linear-gradient(to bottom, #fff, #e6f5ff);
  box-shadow: inset 0 0 0 1px rgba(var(--glass-shadow), .22), 0 1px 2px rgba(var(--glass-shadow), .15);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s, box-shadow .4s, transform .4s var(--ease-spring);
}
.taskbar__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.7), rgba(255,255,255,.12) 50%, transparent 51%),
    linear-gradient(to bottom, var(--gel-deep), var(--gel-bright));
  opacity: 0; transition: opacity .4s;
}
.taskbar.is-gel .taskbar__cta {
  color: #fff; text-shadow: 0 1px 1px rgba(0, 40, 110, .5);
  box-shadow: inset 0 -1px 3px rgba(140,255,255,.6), inset 0 0 0 1px rgba(0,40,140,.3), 0 6px 14px -6px rgba(0, 90, 200, .7);
}
.taskbar.is-gel .taskbar__cta::before { opacity: 1; }
.taskbar__cta:active { transform: scale(.96); }

/* ───────────── 1 · Hero ───────────── */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #8fd0ff;
}
.hero__sky { position: absolute; inset: -4% -2% -2%; z-index: -2; will-change: transform; }
.hero__sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* melt the hills into the page so there is no hard edge */
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: -1;
  background: linear-gradient(to bottom, rgba(243,250,255,0), var(--page));
  pointer-events: none;
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__fallback { display: none; }
.no-gl .hero__fallback {
  display: block; position: absolute; z-index: 0;
  right: 12vw; top: 50%; width: min(38vw, 62vh); aspect-ratio: 1; translate: 0 -50%;
  border-radius: 50%; overflow: hidden;
  box-shadow: inset 0 0 40px rgba(255,255,255,.7), 0 0 0 1px rgba(255,255,255,.6);
}
.no-gl .hero__fallback img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }

.hero__copy {
  position: absolute; z-index: 2;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  top: 50%; translate: 0 -54%;
  width: min(600px, 46vw);
}
/* a soft daylight glow behind the copy, so it reads over the city */
.hero__copy::before {
  content: ""; position: absolute; inset: -18% -22% -18% -30%; z-index: -1;
  background: radial-gradient(closest-side, rgba(240, 250, 255, .62), rgba(240, 250, 255, .28) 55%, rgba(240, 250, 255, 0));
  pointer-events: none;
}
.hero__kicker {
  font-weight: 500; font-size: 17px; color: var(--accent);
  margin-bottom: 18px;
  text-shadow: 0 0 12px rgba(255,255,255,.9);
}
.hero__title {
  font-size: clamp(44px, 5.9vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  /* glow behind text on a sky, the Aero way to keep it legible */
  text-shadow: 0 0 30px rgba(255,255,255,.75), 0 0 2px rgba(255,255,255,.6);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__lede {
  margin-top: 26px; max-width: 30em;
  font-size: clamp(18px, 1.45vw, 21px);
  color: var(--ink-soft);
  text-shadow: 0 0 14px rgba(255,255,255,.95);
}
.hero__actions { margin-top: 36px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__hint {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 28%;
  font-size: 15px; color: rgba(13, 43, 74, .55);
  display: flex; align-items: center; gap: 8px;
}
.hero__hint::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.9);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9) 0 15%, rgba(160,230,255,.25) 40%, rgba(255,190,255,.25) 80%);
}

/* ───────────── shared section rhythm ───────────── */
section { position: relative; }
.transform, .styles, .collect { padding: clamp(96px, 14vw, 180px) var(--gutter); }

/* ───────────── 2 · Transform ───────────── */
.transform__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.transform__copy p:not(.label) { margin-top: 26px; font-size: clamp(18px, 1.4vw, 20px); color: var(--ink-soft); max-width: 28em; }
.transform__copy .aside { color: var(--ink-faint); font-size: 16px; display: flex; align-items: center; gap: 10px; }
.transform__copy .aside::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #00b3e6, transparent); }

.compare { margin: 0; }
.compare__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1400 / 1875;
  max-height: 82vh;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  background: #cfe9f7;
  box-shadow:
    0 40px 80px -40px rgba(var(--glass-shadow), .55),
    0 0 0 1px rgba(var(--glass-shadow), .12);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
/* a thin glass bezel with the light on top */
.compare__frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.35);
  background: linear-gradient(160deg, rgba(255,255,255,.2), transparent 26%);
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
/* the divider: a thin lit glass rod with an orb on it */
.compare__divider {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0;
  transform: translate3d(calc(var(--pos-px, 0px)), 0, 0);
  pointer-events: none;
  will-change: transform;
}
.compare__divider::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px;
  background: linear-gradient(to bottom, rgba(255,255,255,.65), #fff 30%, #fff 70%, rgba(255,255,255,.65));
  box-shadow: 0 0 0 .5px rgba(0, 80, 160, .15), 0 0 14px rgba(120, 220, 255, .85);
}
.compare__handle {
  position: absolute; top: 50%; left: 0; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.95) 0 14%, rgba(255,255,255,0) 42%),
    radial-gradient(circle at 50% 110%, rgba(120, 255, 255, .85), rgba(0,0,0,0) 55%),
    linear-gradient(to bottom, var(--gel-deep), var(--gel-bright));
  box-shadow: 0 8px 20px -6px rgba(0, 70, 170, .7), inset 0 0 0 1px rgba(0,40,140,.35), 0 0 0 3px rgba(255,255,255,.85);
  transition: transform .35s var(--ease-out);
}
.compare__handle span::before, .compare__handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px;
  border: 6px solid transparent;
}
.compare__handle span::before { left: 12px; border-right-color: #fff; }
.compare__handle span::after { right: 12px; border-left-color: #fff; }
.compare__frame:hover .compare__handle { transform: scale(1.06); }
.compare.is-dragging .compare__handle { transform: scale(1.14); }
.compare__tag {
  position: absolute; bottom: 18px; z-index: 2;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  padding: 6px 14px; border-radius: 999px;
  color: var(--ink);
  background: linear-gradient(to bottom, rgba(255,255,255,.94), rgba(225,244,255,.84));
  box-shadow: inset 0 1px 0 #fff, 0 2px 10px rgba(0, 60, 140, .18);
  pointer-events: none;
  transition: opacity .25s;
}
.compare__tag--l { left: 18px; }
.compare__tag--r { right: 18px; color: var(--accent); }
.compare__frame[data-side="after"] .compare__tag--l,
.compare__frame[data-side="before"] .compare__tag--r { opacity: 0; }
.compare__range {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.compare__frame:has(.compare__range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ───────────── 3 · Styles / Cover Flow ───────────── */
.styles {
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 0%, #ffffff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(to bottom, #eaf7ff, #dff3ff 55%, #c9ebff 100%);
  padding-bottom: clamp(70px, 9vw, 120px);
}
.swoosh { position: absolute; left: 0; top: 34%; width: 100%; height: 60%; pointer-events: none; opacity: .9; }
.styles__head { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
.styles__head .label { grid-column: 1 / -1; }
.scene-switch {
  display: inline-flex; padding: 4px; border-radius: 999px; margin-bottom: 10px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), rgba(230,245,255,.6));
  box-shadow: inset 0 1px 2px rgba(0, 60, 140, .15), 0 0 0 1px rgba(var(--glass-shadow), .12);
}
.scene-switch button {
  border: 0; background: none; cursor: pointer;
  padding: 8px 18px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
/* Aqua radio dot */
.scene-switch button::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(to bottom, #f6fbff, #d5e6f3);
  box-shadow: inset 0 0 0 1px rgba(0, 50, 110, .3);
  transition: background .3s;
}
.scene-switch button[aria-checked="true"] { background: #fff; color: var(--accent); box-shadow: 0 1px 4px rgba(0, 60, 140, .18), inset 0 0 0 1px rgba(255,255,255,.9); }
.scene-switch button[aria-checked="true"]::before {
  background: radial-gradient(circle at 50% 30%, #fff 0 16%, #5fd0ff 36%, #0062d1 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 40, 120, .45), 0 0 6px rgba(0, 160, 255, .5);
}

.flow {
  --fw: clamp(190px, 20vw, 280px);
  position: relative;
  height: calc(var(--fw) * 1.791 * 1.22 + 30px);
  margin: clamp(30px, 5vw, 60px) calc(var(--gutter) * -1) 0;
  perspective: 1200px;
  perspective-origin: 50% 40%;
  outline: none;
  touch-action: pan-y;
  cursor: grab;
  user-select: none; -webkit-user-select: none;
  overflow: hidden;
}
.flow:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; border-radius: 30px; }
.flow.is-dragging { cursor: grabbing; }
.flow__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.flow__item {
  position: absolute; left: 50%; top: 20px;
  width: var(--fw);
  aspect-ratio: 900 / 1612;
  margin-left: calc(var(--fw) / -2);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
}
.flow__item img, .flow__mirror {
  display: block;
  width: 100%; height: 100%; object-fit: cover; border-radius: 14px;
  -webkit-user-drag: none; pointer-events: none;
}
.flow__item img { background: #d7eefb; box-shadow: 0 0 0 1px rgba(255,255,255,.75); }
/* the wet floor */
.flow__mirror {
  position: absolute; left: 0; top: 100%; margin-top: 4px;
  transform: scaleY(-1);
  opacity: .28;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 20%);
  mask-image: linear-gradient(to top, #000, transparent 20%);
  box-shadow: none !important;
}
.flow__item::after { /* glass sheen */
  content: ""; position: absolute; inset: 0 0 auto; height: 100%; border-radius: 14px; pointer-events: none;
  background: linear-gradient(155deg, rgba(255,255,255,.32), rgba(255,255,255,0) 30%);
}
/* side covers dim a little, like the real thing */
.flow__shade {
  position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  background: linear-gradient(to right, rgba(0, 30, 70, .35), rgba(0, 30, 70, .05));
  opacity: 0;
}
.flow__item .flow__style {
  position: absolute; left: 12px; top: 12px;
  font-size: 13px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.88); color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,40,100,.2);
}
.flow__nav {
  position: absolute; top: calc(20px + var(--fw) * 0.895 - 24px); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  color: var(--accent);
  background: linear-gradient(to bottom, #fff, #dff1fd);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--glass-shadow), .18), 0 6px 16px -6px rgba(var(--glass-shadow), .5);
  display: grid; place-items: center;
  transition: transform .35s var(--ease-out), opacity .3s;
}
.flow__nav svg { width: 22px; height: 22px; }
.flow__nav:hover { transform: scale(1.08); }
.flow__nav:active { transform: scale(.94); }
.flow__nav[disabled] { opacity: .35; cursor: default; transform: none; }
.flow__nav--prev { left: max(var(--gutter), calc(50% - 560px)); }
.flow__nav--next { right: max(var(--gutter), calc(50% - 560px)); }
.flow__dots { display: flex; justify-content: center; gap: 8px; margin: 4px 0 22px; }
.flow__dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: linear-gradient(to bottom, #f6fbff, #cfe2f0);
  box-shadow: inset 0 0 0 1px rgba(0, 50, 110, .25);
  transition: background .3s, transform .3s var(--ease-out);
}
.flow__dots button[aria-current="true"] {
  background: radial-gradient(circle at 50% 30%, #fff 0 16%, #5fd0ff 40%, #0062d1 100%);
  transform: scale(1.3);
}
.flow__caption { position: relative; text-align: center; max-width: 640px; margin: 0 auto; min-height: 120px; }
.flow__caption h3 { margin-bottom: 10px; }
.flow__caption p { color: var(--ink-soft); }

/* ───────────── 4 · Create (pinned day → night) ───────────── */
.create { height: 300vh; background: #071a3a; }
.create__pin { background: linear-gradient(to bottom, #2f86d8, #8cc8f2 60%, #bfe3f7); }
.create__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; isolation: isolate;
}
.create__scene { position: absolute; inset: 0; z-index: -1; }
.create__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; will-change: opacity, transform; }
.create__img--night { opacity: 0; }
.create__nightsky { position: absolute; inset: 0; z-index: -2; opacity: 0; background: linear-gradient(to bottom, #050f2e, #0b2a63 70%, #123d7a); will-change: opacity; }
.create__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.2) 32%, rgba(255,255,255,0) 50%);
  will-change: opacity;
}
.create__shade--night { opacity: 0; background: linear-gradient(90deg, rgba(4, 16, 48, .55) 0%, rgba(4, 16, 48, .2) 34%, rgba(4, 16, 48, 0) 52%); }
.create__copy {
  position: absolute; z-index: 2;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  top: 18vh;
  width: min(520px, 38vw);
  --night: 0;
}
.create__copy .label { transition: color .4s; }
.create__copy h2 { position: relative; font-size: clamp(42px, 5.4vw, 82px); }
.create__h { display: block; transition: opacity .5s, transform .7s var(--ease-out), color .5s; }
.create__h--night { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); color: #fff; text-shadow: 0 0 30px rgba(0, 220, 255, .45); }
.create__body { margin-top: 26px; color: var(--ink-soft); font-size: clamp(18px, 1.4vw, 20px); max-width: 26em; transition: color .5s; }
.create.is-night .create__h--day { opacity: 0; transform: translateY(-24px); }
.create.is-night .create__h--night { opacity: 1; transform: none; }
.create.is-night .create__body { color: rgba(220, 240, 255, .85); }
.create.is-night .create__copy .label { color: #7fe3ff; }

.prompt {
  position: absolute; z-index: 3; left: 50%; bottom: 8vh; translate: -50% 0;
  width: min(760px, calc(100vw - var(--gutter) * 2));
  min-height: 64px;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255,255,255,.88), rgba(240,249,255,.78));
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 2px 6px rgba(0, 60, 140, .10),
    0 0 0 1px rgba(255,255,255,.65),
    0 24px 50px -20px rgba(0, 30, 80, .55);
  transition: background .6s;
}
.create.is-night .prompt { background: linear-gradient(to bottom, rgba(225,240,255,.80), rgba(200,225,250,.66)); }
.prompt__icon { width: 22px; height: 22px; flex: none; color: #18a6f0; }
.prompt__text { flex: 1; min-width: 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink); line-height: 1.35; }
.prompt__caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em;
  background: var(--accent); animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.prompt__chip {
  flex: none; font-size: 14px; font-weight: 600; color: var(--accent);
  padding: 8px 14px; border-radius: 999px;
  background: var(--pale-aqua);
  box-shadow: inset 0 0 0 1px rgba(0, 102, 191, .2);
}

/* ───────────── 3 · Collect ───────────── */
.collect {
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(210, 245, 255, .9), transparent 70%),
    linear-gradient(to bottom, var(--page), #eaf7ff);
}
.collect__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.collect__intro p:not(.label) { margin-top: 24px; color: var(--ink-soft); font-size: clamp(18px, 1.4vw, 20px); max-width: 30em; }
.desk {
  --px: 50%; --py: 50%;
  position: relative;
  margin-top: 44px;
  aspect-ratio: 16 / 10;
  border-radius: 30px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.8), rgba(255,255,255,.35)),
    radial-gradient(120% 90% at 30% 0%, #e3f6ff, #c8e8fa);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -30px 60px -40px rgba(0, 100, 190, .25),
    0 0 0 1px rgba(var(--glass-shadow), .12),
    0 30px 60px -36px rgba(var(--glass-shadow), .5);
  touch-action: pan-y;
  overflow: hidden;
  isolation: isolate;
}
/* a faint reflection band across the glass desk */
.desk::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.55) 32%, transparent 44%);
}
.desk__hint {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 0;
  font-size: 14px; color: var(--ink-faint);
  pointer-events: none;
  transition: opacity .6s;
}
.desk.is-touched .desk__hint { opacity: 0; }
.sticker {
  position: absolute; left: 0; top: 0;
  cursor: grab;
  touch-action: none;
  will-change: transform;
  /* resting shadow; the lifted one is a separate layer so nothing repaints while dragging */
  filter: drop-shadow(0 5px 6px rgba(0, 50, 120, .2));
  -webkit-tap-highlight-color: transparent;
}
.sticker img { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.sticker__holo {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 46%, transparent 58%),
    repeating-linear-gradient(115deg, hsl(330 100% 78%) 0%, hsl(50 100% 72%) 8%, hsl(140 90% 72%) 16%, hsl(195 100% 72%) 24%, hsl(265 100% 80%) 32%, hsl(330 100% 78%) 40%);
  background-size: 300% 300%, 300% 300%;
  background-position: var(--hx, 50%) var(--hy, 50%), var(--hx, 50%) var(--hy, 50%);
  mix-blend-mode: color-dodge;
  opacity: .32;
  transition: opacity .3s;
}
.sticker.is-held { cursor: grabbing; z-index: 10; filter: drop-shadow(0 18px 18px rgba(0, 50, 120, .26)); }
.sticker.is-held .sticker__holo { opacity: .6; }

.collect__card-wrap { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.collect__card-copy { max-width: 360px; }
.collect__card-copy p:not(.label) { margin-top: 14px; color: var(--ink-soft); }

/* Holo card — AeroCardView, in CSS */
.holo {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --hyp: 0; --flip: 0deg; --lift: 0;
  position: relative;
  width: min(330px, 76vw);
  aspect-ratio: 63 / 88;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}
/* floor shadow that slides against the tilt */
.holo::before {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -26px; height: 36px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 50, 120, .32), transparent);
  transform: translateX(calc(var(--ry) * -0.9)) scale(calc(1 - var(--lift) * .1));
  opacity: calc(.9 - var(--lift) * .3);
  filter: blur(4px);
}
.holo:focus-visible .holo__inner { outline: 2px solid var(--accent); outline-offset: 6px; }
.holo__inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: translateY(calc(var(--lift) * -8px)) rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip)));
  border-radius: 6%/4.3%;
  will-change: transform;
}
.holo__face {
  position: absolute; inset: 0; border-radius: inherit;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  overflow: hidden;
  /* CardGelFrame */
  background:
    linear-gradient(to bottom, rgba(255,255,255,.55), rgba(255,255,255,.08) 22%, transparent 23%),
    radial-gradient(90% 60% at 100% 0%, rgba(90, 255, 160, .35), transparent 70%),
    radial-gradient(70% 50% at 0% 100%, rgba(0, 255, 255, .4), transparent 70%),
    linear-gradient(to bottom, #0a7fe0, #004db8);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 0 2px 0 rgba(255,255,255,.6);
}
/* gloss that slides across the whole card with the tilt */
.holo__face::after {
  content: ""; position: absolute; inset: -50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.22) 48%, rgba(255,255,255,.04) 54%, transparent 60%);
  transform: translate(calc((var(--mx) - 50%) * .9), calc((var(--my) - 50%) * .5));
  mix-blend-mode: screen;
}
.holo__front { display: flex; flex-direction: column; gap: 3%; padding: 4.5%; }
.holo__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.holo__title { color: #fff; font-weight: 600; font-size: 20px; letter-spacing: .01em; text-shadow: 0 1px 2px rgba(0, 40, 110, .55); }
.holo__badge {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 600; color: #fff;
  background: radial-gradient(circle at 50% 25%, #9ff0ff, #0a9be8 60%, #0060c0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1.5px rgba(255,255,255,.8);
}
.holo__art {
  position: relative; flex: 1; border-radius: 7px; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9);
  isolation: isolate;
}
.holo__art img {
  position: absolute; inset: -5%; width: 110%; height: 110%; object-fit: cover; max-width: none;
  transform: translate(calc((var(--mx) - 50%) * -0.1), calc((var(--my) - 50%) * -0.1));
}
.holo__foil {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg,
      hsl(330 100% 72%) 0%, hsl(45 100% 66%) 5%, hsl(120 90% 64%) 10%,
      hsl(190 100% 64%) 15%, hsl(260 100% 74%) 20%, hsl(330 100% 72%) 25%),
    repeating-linear-gradient(25deg, rgba(255,255,255,.0) 0 6px, rgba(255,255,255,.35) 7px 8px, rgba(255,255,255,0) 9px 14px);
  background-size: 260% 260%, 100% 100%;
  background-position: calc(var(--mx) * 1.6) calc(var(--my) * 1.6), 0 0;
  mix-blend-mode: color-dodge;
  opacity: calc(.22 + var(--hyp) * .5);
  -webkit-mask-image: radial-gradient(farthest-corner circle at var(--mx) var(--my), #000 10%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15));
  mask-image: radial-gradient(farthest-corner circle at var(--mx) var(--my), #000 10%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15));
}
.holo__glitter {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 9 -6.2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-position: calc(var(--mx) * .6) calc(var(--my) * .6);
  mix-blend-mode: overlay;
  opacity: calc(.2 + var(--hyp) * .7);
}
.holo__glare {
  position: absolute; inset: 0;
  background: radial-gradient(farthest-corner circle at var(--mx) var(--my), rgba(255,255,255,.8) 0%, rgba(255,255,255,.15) 30%, rgba(0,0,0,.22) 90%);
  mix-blend-mode: overlay;
  opacity: calc(.3 + var(--hyp) * .55);
}
.holo__foot { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.95); font-weight: 600; font-size: 10.5px; letter-spacing: .08em; }
.holo__foot span:first-child { margin-right: auto; }
.holo__pill { padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.22); box-shadow: inset 0 0 0 .8px rgba(255,255,255,.6); }
.holo__back {
  transform: rotateY(180deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff;
}
.holo__back::before { /* swooshes + bubbles */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(255,255,255,.35) 0 3%, transparent 3.4%),
    radial-gradient(circle at 78% 70%, rgba(255,255,255,.28) 0 5%, transparent 5.4%),
    radial-gradient(circle at 70% 18%, rgba(255,255,255,.22) 0 2%, transparent 2.4%),
    radial-gradient(circle at 30% 82%, rgba(255,255,255,.25) 0 2.6%, transparent 3%),
    radial-gradient(140% 40% at 50% 120%, rgba(160, 255, 210, .45), transparent 60%),
    radial-gradient(140% 30% at 50% -10%, rgba(255,255,255,.35), transparent 60%);
}
.holo__rule { position: absolute; inset: 4%; border-radius: 5%/3.6%; border: 3.5px solid rgba(255,255,255,.9); }
.holo__rule--in { inset: 7%; border-width: 1px; border-color: rgba(255,255,255,.45); }
.holo__emblem { position: relative; width: 38%; filter: drop-shadow(0 6px 12px rgba(0, 30, 90, .4)); }
.holo__word { position: relative; margin-top: 14px; font-weight: 600; font-size: 16px; letter-spacing: .32em; text-indent: .32em; }
.holo__sub { position: relative; margin-top: 4px; font-size: 8.5px; font-weight: 400; letter-spacing: .22em; opacity: .85; }
.holo__hint { margin-top: -18px; font-size: 14px; color: var(--ink-faint); }

/* ───────────── 6 · Dive ───────────── */
.dive {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff;
  background: linear-gradient(to bottom, #0b72b5, #062a6b 70%, #041a48);
  isolation: isolate;
  margin-top: -1px;
}
.dive__surface-wrap { position: absolute; left: 0; right: 0; top: -58px; height: 60px; z-index: 2; overflow: hidden; pointer-events: none; }
.dive__surface { position: absolute; left: 0; top: 0; height: 100%; }
.dive__wave { will-change: transform; }
.dive__wave--back { fill: #52b7ea; opacity: .55; animation: wave 14s linear infinite; }
.dive__wave--front { fill: #0b72b5; animation: wave 9s linear infinite reverse; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.dive__surface { width: 200%; }
.dive__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.dive__content {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 140px var(--gutter) 80px;
}
.dive__icon { position: relative; width: 132px; margin-bottom: 40px; }
.dive__icon img { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 20px 40px -12px rgba(0, 10, 40, .6), 0 0 0 1px rgba(255,255,255,.25); }
.dive__reflect {
  position: absolute; top: 100%; left: 0; margin-top: 4px;
  transform: scaleY(-1); opacity: .28;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 45%); mask-image: linear-gradient(to top, #000, transparent 45%);
  box-shadow: none !important;
}
.dive h2 { font-size: clamp(56px, 9vw, 140px); text-shadow: 0 0 40px rgba(0, 200, 255, .4); }
.dive p { margin: 22px 0 40px; max-width: 30em; color: rgba(220, 240, 255, .85); }
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 26px var(--gutter) calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(220, 240, 255, .65); font-size: 15px;
}
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }

/* ───────────── reveal ───────────── */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }

/* ───────────── responsive ───────────── */
@media (max-width: 980px) {
  .taskbar__links { display: none; }
  .transform__grid, .collect__grid { grid-template-columns: 1fr; }
  .compare__frame { max-height: none; width: min(100%, 520px); }
  .transform__copy { order: -1; }
  .collect__card-wrap { flex-direction: column; }
  .collect__card-copy { text-align: center; }
  .collect__card-copy .label { justify-content: center; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .transform, .styles, .collect { padding-top: 84px; padding-bottom: 84px; }
  .taskbar { top: 8px; }
  .taskbar__glass { height: 52px; padding-right: 6px; }
  .brand { font-size: 18px; }
  .hero { min-height: 600px; }
  .hero__copy { top: 92px; translate: none; width: auto; right: var(--gutter); }
  .hero__copy::before { inset: -10% -10% -6% -20%; }
  .hero__title { font-size: clamp(38px, 10.8vw, 60px); }
  .hero__lede { margin-top: 16px; font-size: 17px; }
  .hero__actions { margin-top: 24px; gap: 12px 18px; }
  .hero__hint { display: none; }
  .gel { --h: 54px; padding: 0 26px; font-size: 17px; }
  .gel--big { --h: 58px; padding: 0 30px; font-size: 18px; }
  h2 { font-size: clamp(36px, 10vw, 52px); }
  .transform__copy p:not(.label) { margin-top: 18px; }
  .compare__frame { border-radius: 22px; }
  .compare__handle { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .styles__head { grid-template-columns: 1fr; }
  .scene-switch { margin-top: 22px; justify-self: start; }
  .flow { --fw: min(52vw, 230px); perspective: 900px; }
  .flow__nav { display: none; }
  .flow__caption { min-height: 150px; padding: 0 4px; }
  .desk { aspect-ratio: 5 / 6; margin-top: 32px; border-radius: 24px; }
  .holo { width: min(300px, 78vw); }

  /* Create: the scene becomes a band under the copy, so the bubble stays whole */
  .create__scene { top: auto; height: 46%; overflow: hidden; }
  .create__pin { background: linear-gradient(to bottom, #e4f4fd 0%, #a9d5f3 30%, #54a7e3 54%); }
  .create__nightsky { background: linear-gradient(to bottom, #030a22, #071740 54%); }
  .create__scene::after { content: ""; position: absolute; inset: 0 0 auto; height: 22%; background: linear-gradient(to bottom, #54a7e3, rgba(84, 167, 227, 0)); opacity: calc(1 - var(--night, 0)); }
  .create__scene::before { content: ""; position: absolute; inset: 0 0 auto; height: 22%; z-index: 1; background: linear-gradient(to bottom, #071740, rgba(7, 23, 64, 0)); opacity: var(--night, 0); }
  .create__img { object-position: 87% 50%; }
  .create__shade, .create__shade--night { display: none; }
  .create__copy { top: 84px; width: auto; right: var(--gutter); }
  .create__copy h2 { font-size: clamp(36px, 10vw, 52px); }
  .create__body { margin-top: 16px; font-size: 16.5px; }
  .prompt { bottom: calc(46% + 14px); flex-wrap: wrap; border-radius: 24px; padding: 14px 16px; gap: 10px; }
  .prompt__text { flex: 1 1 calc(100% - 40px); font-size: 16px; }
  .prompt__chip { margin-left: 34px; padding: 6px 12px; font-size: 13px; }
  .dive__content { padding-top: 120px; }
  .dive__icon { width: 104px; margin-bottom: 30px; }
  .dive__icon img { width: 104px; height: 104px; border-radius: 24px; }
  .footer { justify-content: center; text-align: center; }
}
@media (max-width: 380px) {
  .taskbar__cta { padding: 0 14px; font-size: 14.5px; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
