:root {
  --bg: #08080a;
  --bg-2: #0e0e11;
  --card: #111114;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --fg: #f5f5f6;
  --muted: #9a9aa3;
  --dim: #5f5f68;
  --silver: #c9ced8;
  --fringe-cool: rgba(96, 160, 255, 0.55);
  --fringe-warm: rgba(255, 176, 104, 0.45);
  /* The icon's glass: white core with a cool and a warm chromatic edge. */
  --iris: linear-gradient(100deg, #8fbcff 0%, #ffffff 38%, #ffffff 58%, #ffc89a 100%);
  --star: #ffffff;
  --ok: #9fe0c0;
  --radius: 22px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--sans);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.04em; }
h3 { font-weight: 500; }
p { margin: 0; }

/* Subtle film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 100;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1060px, calc(100% - 2 * var(--gutter)));
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 14, 17, 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-scrolled { background: rgba(14, 14, 17, 0.85); border-color: var(--line-strong); }
.nav-brand { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.02em; }
.nav-brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.nav-buy { margin-right: -18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-light { background: var(--fg); color: #0b0b0d; box-shadow: -1.5px 0 0 var(--fringe-cool), 1.5px 0 0 var(--fringe-warm), 0 8px 30px rgba(255, 255, 255, 0.08); }
.btn-light:hover { transform: translateY(-1px); box-shadow: -2px 0 0 var(--fringe-cool), 2px 0 0 var(--fringe-warm), 0 12px 40px rgba(255, 255, 255, 0.14); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--fg); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); }
.btn.is-disabled, .btn.is-disabled:hover { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.apple { width: 14px; height: 17px; fill: currentColor; margin-top: -2px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font: 500 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 620px; }
.fine { font-size: 13px; color: var(--dim); }
.center { text-align: center; }
.dim { color: var(--dim); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px var(--gutter) 40px; text-align: center; }
.hero-copy { position: relative; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(46px, 7.6vw, 96px); line-height: 1; margin-bottom: 26px; }
.hero .lead { margin: 0 auto 34px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }

.hero-stage {
  position: relative;
  max-width: 1180px;
  margin: 70px auto 0;
  perspective: 1600px;
}
.window {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0b0d;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 40px 120px rgba(0, 0, 0, 0.7);
}
.window { container-type: inline-size; }
/* The size they have in the app's own window, whatever the size of the picture of it. */
.window-bar { position: absolute; top: 0.8cqw; left: 1.25cqw; display: flex; gap: 0.5cqw; z-index: 2; }
.window-bar i { width: 0.78cqw; height: 0.78cqw; border-radius: 50%; background: #3a3a40; }
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.hero-window {
  width: min(1060px, 100%);
  margin: 0 auto;
  transform: rotateX(var(--tilt, 22deg)) scale(var(--scale, 0.94));
  transform-origin: 50% 0;
  transition: transform 0.1s linear;
  z-index: 3;
}
.window img { width: 100%; height: auto; }


/* ---------- Facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1060px;
  margin: 40px auto 0;
  padding: 0 var(--gutter);
}
.facts div { padding: 26px 18px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 300; letter-spacing: -0.04em; }
.facts span { font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- Sections ---------- */
.section { position: relative; max-width: 1180px; margin: 0 auto; padding: 150px var(--gutter) 0; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; margin-bottom: 22px; }

/* ---------- Keyboard flow ---------- */
.flow { position: relative; max-width: 1000px; margin: 0 auto; perspective: 1400px; }
.flow-window { transform: rotateX(8deg); transform-origin: 50% 100%; }
.flow-frames { position: relative; aspect-ratio: 1600 / 1000; }
.flow-frames { overflow: hidden; }
.flow-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; }
.flow-frames img.is-on { opacity: 1; }
/* The picture of the window has an empty photo area, and these fill it to the pixel: the photo gives way as the right panel slides in, as in the app. */
.flow-photo { position: absolute; left: 15.0625%; right: 0.5625%; top: 5.5%; bottom: 4.1%; overflow: hidden; background: rgb(16, 16, 18); transition: right 0.5s cubic-bezier(0.3, 0.7, 0.2, 1); }
.flow-photo img { object-fit: contain; background: rgb(16, 16, 18); }
.is-panel-open .flow-photo { right: 18.8125%; }
.flow-info { position: absolute; right: 0.5625%; width: 18.25%; top: 5.5%; bottom: 4.1%; overflow: hidden; pointer-events: none; }
.flow-info-panel { position: absolute; inset: 0; transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.3, 0.7, 0.2, 1); }
.is-panel-open .flow-info-panel { transform: none; }
.flow-info-button { position: absolute; left: 88.95%; top: 1.7%; width: 2.15%; height: 2.75%; border-radius: 5px; background: rgba(255, 255, 255, 0.14); opacity: 0; transition: opacity 0.25s ease; }
.is-panel-open .flow-info-button { opacity: 1; }
.flow-toast {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translate(-50%, 10px);
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(20, 20, 24, 0.88);
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}
.flow-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.keys {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 16px);
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  perspective: 900px;
}
.key {
  --press: 0px;
  position: relative;
  width: clamp(54px, 9vw, 92px);
  aspect-ratio: 1;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03)), #121216;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 calc(10px - var(--press)) 0 #0c0c0f,
    0 calc(24px - var(--press)) 40px rgba(0,0,0,0.6);
  transform: rotateX(28deg) translateY(var(--press));
  transition: transform 0.12s, box-shadow 0.12s;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
}
.key span { font: 400 clamp(20px, 2.8vw, 30px)/1 var(--sans); color: #e6e8ee; }
.key small { font-size: 9px; color: var(--silver); letter-spacing: 0.06em; opacity: 0.7; }
.key-panel { margin-left: clamp(12px, 2.6vw, 34px); }
@media (max-width: 480px) { .key { width: 46px; } .keys { gap: 6px; } .key-panel { margin-left: 10px; } }
.key.is-pressed { --press: 8px; border-color: rgba(255,255,255,0.35); }
.key.is-pressed::after {
  content: "";
  position: absolute;
  box-shadow: -3px 0 14px var(--fringe-cool), 3px 0 14px var(--fringe-warm);
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  margin: 90px auto 0;
  border-top: 1px solid var(--line);
}
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.specs div:not(:nth-child(3n)) { margin-right: 28px; }
.specs dt { font: 500 11.5px/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); }
.specs dd { margin: 0; font: 500 12.5px/1.6 var(--mono); color: var(--fg); text-align: right; }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 14px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)), var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s;
}
.card:hover { border-color: var(--line-strong); }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card-wide { grid-column: span 2; }
.card-tall { grid-row: span 2; }
.card-media { position: relative; flex: 1; min-height: 190px; overflow: hidden; }
.card-copy { position: relative; z-index: 1; padding: 22px 24px 24px; }
.card-copy h3 { font-size: 20px; margin-bottom: 6px; letter-spacing: -0.025em; }
.card-copy p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.flags-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.flags-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--card)); }
.chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  font: 500 12.5px/1 var(--sans);
  background: rgba(16, 16, 20, 0.78);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  color: var(--fg);
  animation: bob 5s ease-in-out infinite;
}
.chip:nth-of-type(2) { animation-delay: -1.6s; }
.chip:nth-of-type(3) { animation-delay: -3.2s; }
.chip-warn { box-shadow: -1.5px 0 0 var(--fringe-cool), 1.5px 0 0 var(--fringe-warm); }
.chip-ok { color: var(--ok); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.zoom-media { background: var(--img) center / cover no-repeat; cursor: crosshair; min-height: 220px; }
.lens {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(0,0,0,0.3);
  background-image: var(--img-zoom, var(--img));
  background-repeat: no-repeat;
  background-size: var(--bs, 300%) auto;
  background-position: var(--bx, 50%) var(--by, 50%);
  left: var(--lx, 50%);
  top: var(--ly, 45%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.lens::after { content: "100%"; position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); font: 500 11px var(--mono); color: var(--fg); background: rgba(0,0,0,0.6); padding: 3px 7px; border-radius: 6px; }

.goal-media { display: grid; place-items: center; padding: 26px 26px 6px; overflow: visible; }
.goal-media img { width: 84%; border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: rotate(-2deg); }

.bursts-media { display: grid; place-items: center; padding: 34px 0 14px; overflow: visible; }
.stack { position: relative; width: 56%; aspect-ratio: 4 / 3; }
.stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-strong); box-shadow: 0 16px 40px rgba(0,0,0,0.5); transition: transform 0.5s; }
.stack img:nth-child(1) { transform: rotate(-9deg) translate(-14%, 4%); }
.stack img:nth-child(2) { transform: rotate(7deg) translate(14%, 2%); }
.card-bursts:hover .stack img:nth-child(1) { transform: rotate(-14deg) translate(-26%, 6%); }
.card-bursts:hover .stack img:nth-child(2) { transform: rotate(12deg) translate(26%, 4%); }
.badge { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); z-index: 2; padding: 5px 10px; border-radius: 8px; background: rgba(20,20,24,0.85); border: 1px solid var(--line-strong); color: var(--fg); font: 500 12px var(--mono); }

.palette-media img { position: absolute; left: 50%; top: 18px; width: 118%; max-width: none; transform: translateX(-50%); border-radius: 12px; border: 1px solid var(--line-strong); object-fit: cover; object-position: 50% 0; }

.lr-media { display: flex; align-items: center; justify-content: center; gap: 10px; }
.file { display: grid; place-items: center; width: 64px; height: 78px; border-radius: 10px; background: linear-gradient(180deg, #26262c, #18181c); border: 1px solid var(--line-strong); font: 600 13px var(--mono); color: var(--muted); box-shadow: 0 14px 30px rgba(0,0,0,0.45); }
.file-xmp { color: var(--fg); box-shadow: -1.5px 0 0 var(--fringe-cool), 1.5px 0 0 var(--fringe-warm), 0 14px 30px rgba(0,0,0,0.45); }
.file-lr { background: linear-gradient(180deg, #0f2a44, #0a1a2c); color: #67b8ff; border-color: rgba(103, 184, 255, 0.35); }
.arrow { color: var(--dim); }

.done-card { width: min(340px, 100%); padding: 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(255,255,255,0.03); }
.done-row { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 14px; padding: 9px 2px; border-bottom: 1px solid var(--line-strong); font-size: 14px; }
.done-row small { color: var(--dim); font-size: 12.5px; }
.done-row b { font-weight: 500; font-size: 12.5px; color: #7fe0ac; }
.done-button { margin-top: 14px; padding: 9px; border-radius: 9px; background: var(--fg); color: #0b0b0d; font-size: 13.5px; font-weight: 500; text-align: center; box-shadow: -1.5px 0 0 var(--fringe-cool), 1.5px 0 0 var(--fringe-warm); }
.private-media { display: grid; place-items: center; }
.private-media svg { width: 64px; fill: none; stroke: #f2f4f8; stroke-width: 2.5; filter: drop-shadow(-2px 0 3px var(--fringe-cool)) drop-shadow(2px 0 3px var(--fringe-warm)); }

/* ---------- Hero live session ---------- */
.live-card {
  position: absolute;
  z-index: 4;
  left: -1%;
  bottom: -8%;
  width: min(360px, 42%);
  padding: 16px 18px 14px;
  border-radius: 16px;
  text-align: left;
  font-size: 13px;
  background: rgba(22, 22, 26, 0.9);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: -1px 0 0 var(--fringe-cool), 1px 0 0 var(--fringe-warm), 0 40px 90px rgba(0,0,0,0.75);
}
.live-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.live-head b { font-weight: 500; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-head em { font: 400 11.5px var(--mono); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(159, 224, 192, 0.15); animation: pulse 2s ease-in-out infinite; }
.live-split { display: flex; gap: 3px; height: 6px; margin-bottom: 8px; }
.live-split i { width: var(--w); border-radius: 3px; background: rgba(255,255,255,0.6); }
.live-split i:nth-child(2) { background: rgba(255,255,255,0.36); }
.live-split i:nth-child(3) { background: rgba(255,255,255,0.2); }
.live-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; column-gap: 8px; padding: 7px 0 8px; border-top: 1px solid var(--line); }
.live-row small { color: var(--dim); font-size: 12px; }
.live-row em { font: 400 12px var(--mono); font-style: normal; color: var(--fg); font-variant-numeric: tabular-nums; text-align: right; }
.live-row > i { grid-column: 1 / -1; height: 3px; margin-top: 7px; border-radius: 2px; background: rgba(255,255,255,0.07); overflow: hidden; }
.live-row > i b { display: block; height: 100%; width: var(--p, 0%); background: var(--iris); border-radius: 2px; }
.live-toast { margin-top: 8px; font: 400 11.5px var(--mono); color: var(--muted); opacity: 0; transform: translateY(4px); transition: opacity 0.4s, transform 0.4s; }
.live-toast.is-on { opacity: 1; transform: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(159, 224, 192, 0); } }

/* ---------- Together ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1060px; margin: 0 auto 110px; }
.story-num { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--silver); margin-bottom: 16px; }
.story h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 16px; }
.story-copy p:not(.story-num):not(.fine) { color: var(--muted); font-size: 16.5px; }
.story-media { position: relative; min-height: 340px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)), var(--card); overflow: hidden; display: grid; place-items: center; }
.share-media { min-height: 0; border: 0; background: none; overflow: visible; }
.share-panel { width: min(400px, 100%); border-radius: 16px; border: 1px solid var(--line-strong); box-shadow: -1.5px 0 0 var(--fringe-cool), 1.5px 0 0 var(--fringe-warm), 0 40px 90px rgba(0,0,0,0.7); }

.story-wide { grid-template-columns: minmax(0, 1fr); text-align: center; }
.story-wide .story-copy { max-width: 640px; margin: 0 auto; }



/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 14px; }
.price-card { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.price-main { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(100deg, rgba(143,188,255,0.7), rgba(255,255,255,0.25) 45%, rgba(255,200,154,0.7)) border-box; }
.plan { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.amount { font-size: 54px; font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.amount small { font-size: 15px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.plan-note { color: var(--dim); font-size: 13.5px; }
.price-card ul { list-style: none; margin: 14px 0 22px; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.price-card li::before { content: "✓"; color: var(--silver); margin-right: 10px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-actions { display: grid; gap: 10px; margin-top: auto; }
.price-actions .btn { margin-top: 0; }
.pricing .fine { margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); overflow-anchor: none; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 17px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--dim); font-size: 22px; line-height: 1; transition: transform 0.25s; }
.faq-list details[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.faq-answer { overflow: hidden; }
.faq-list p { padding: 0 4px 22px; color: var(--muted); }

/* ---------- Final ---------- */
.final { position: relative; text-align: center; padding: 180px var(--gutter) 160px; display: flex; flex-direction: column; align-items: center; gap: 26px; overflow: hidden; }
.final-icon { position: relative; width: 120px; height: 120px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.8)); animation: float 6s ease-in-out infinite; }
.final h2 { position: relative; font-size: clamp(40px, 6vw, 76px); line-height: 1; }

.footer { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; padding: 30px var(--gutter) 40px; color: var(--dim); font-size: 13px; }
.footer a:hover { color: var(--fg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Changelog page ---------- */
.changelog { max-width: 760px; margin: 0 auto; padding: 150px var(--gutter) 100px; }
.changelog h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.release { padding: 34px 0; border-top: 1px solid var(--line); }
.release-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.release-head h2 { font-size: 26px; }
.release-meta { font: 500 12px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }
.release-current { font: 500 11px var(--mono); padding: 4px 8px; border-radius: 6px; color: var(--fg); border: 1px solid var(--line-strong); box-shadow: -1.5px 0 0 var(--fringe-cool), 1.5px 0 0 var(--fringe-warm); }
.release p { color: var(--muted); margin-bottom: 12px; }
.release ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .nav-buy { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-tall { grid-row: span 1; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs div:not(:nth-child(3n)) { margin-right: 0; }
  .specs div:nth-child(odd) { margin-right: 24px; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .live-card { width: 46%; }
}
@media (max-width: 640px) {
  .hero { padding-top: 120px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div { padding: 18px 12px; }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .specs { grid-template-columns: 1fr; }
  .specs div:nth-child(odd) { margin-right: 0; }
  .section { padding-top: 110px; }
  .price-grid { grid-template-columns: 1fr; }
  .live-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -30px; }
  .story-media { min-height: 280px; }
  .keys { margin-top: -18px; }
  .key { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-window { --tilt: 0deg; --scale: 1; }
}

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 150px var(--gutter) 100px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.legal .updated { font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 48px; }
.legal h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a, .pricing .fine a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.legal a:hover, .pricing .fine a:hover { text-decoration-color: var(--fg); }
.legal .summary { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--fg); }

/* Block 02: the split played out in two app windows (split-demo.js). The windows keep one size inside and are scaled. */
.story-wide .story-copy { max-width: 780px; }
.story-wide h3 { text-wrap: balance; }
.story-wide .story-copy p:not(.story-num) { max-width: 620px; margin-inline: auto; text-wrap: pretty; }
.pv { --pv-gap: clamp(24px, 3.6vw, 64px); --pv-width: min(1800px, calc(100vw - 2 * var(--pv-gap) - 2.65vw)); width: var(--pv-width); margin: 0 0 0 calc(50% - var(--pv-width) / 2); }
.pv-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pv-gap); perspective: 2600px; }
.pv-col { margin: 0; min-width: 0; display: flex; flex-direction: column; transform-style: preserve-3d; }
.pv-label { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 26px; margin-top: 26px; font-size: 13px; color: var(--muted); transition: opacity .4s ease; }
.pv-tag { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.05); }
.pv-tag-host { color: #08080a; border-color: transparent; background: var(--iris); }
.pv-tilt { transition: transform .6s ease; }
.pv-col-a .pv-tilt { transform: rotateY(8deg); transform-origin: 100% 50%; }
.pv-col-h .pv-tilt { transform: rotateY(-8deg); transform-origin: 0 50%; }
.pv-frame { transition: opacity .4s ease; position: relative; aspect-ratio: 860 / 600; border-radius: 14px; overflow: hidden; background: #0a0a0c; box-shadow: 0 0 0 1px var(--line-strong), 0 40px 90px -30px rgba(0,0,0,.9); }
.pv-canvas { position: absolute; left: 0; top: 0; width: 860px; height: 600px; display: flex; transform: scale(var(--pv-scale, .8)); transform-origin: 0 0; background: #0a0a0c; color: #f2f2f3; font: 400 12px/1.35 var(--sans); text-align: left; user-select: none; -webkit-user-select: none; overflow: hidden; }
.pv-caption { transition: opacity .4s ease; margin: 12px auto 0; max-width: 480px; min-height: 48px; text-align: center; font-size: 15.5px; line-height: 1.5; letter-spacing: -0.01em; color: var(--fg); }
.pv-caption.is-in { animation: pv-rise .45s ease both; }
.pv-stage[data-focus="a"] .pv-col-h .pv-frame, .pv-stage[data-focus="h"] .pv-col-a .pv-frame { opacity: .38; }
.pv-stage[data-focus="a"] .pv-col-h .pv-label, .pv-stage[data-focus="a"] .pv-col-h .pv-caption,
.pv-stage[data-focus="h"] .pv-col-a .pv-label, .pv-stage[data-focus="h"] .pv-col-a .pv-caption { opacity: .45; }
.pv-steps { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.pv-step { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; width: 112px; padding: 4px 0 12px; border: 0; background: transparent; color: var(--dim); font: 500 13px var(--sans); cursor: pointer; transition: color .25s; }
.pv-step span { font: 500 11px var(--mono); }
.pv-step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: rgba(255,255,255,.1); }
.pv-step i { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--iris); transform: scaleX(var(--done, 0)); transform-origin: 0 50%; }
.pv-step:hover { color: var(--muted); }
.pv-step.is-active { color: var(--fg); }
.pv-step:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }

.pv [hidden] { display: none !important; }
.pv-instant *, .pv-instant *::before, .pv-instant *::after { transition: none !important; animation-duration: 0s !important; }
.pv-spacer { flex: 1; }
.pv-side { width: 172px; flex: none; display: flex; flex-direction: column; padding: 34px 8px 10px; background: #09090b; gap: 8px; position: relative; }
.pv-side::before { content: ""; position: absolute; left: 12px; top: 12px; width: 44px; height: 10px; background: radial-gradient(circle at 5px 5px, #ff5f57 4.5px, transparent 5px), radial-gradient(circle at 22px 5px, #febc2e 4.5px, transparent 5px), radial-gradient(circle at 39px 5px, #28c840 4.5px, transparent 5px); }
.pv-search { height: 24px; line-height: 24px; padding: 0 8px; border-radius: 7px; background: rgba(255,255,255,.05); color: #6d6d75; font-size: 10.5px; white-space: nowrap; overflow: hidden; }
.pv-card { padding: 9px; border-radius: 9px; background: rgba(255,255,255,.04); display: grid; gap: 4px; font-size: 10.5px; color: #8b8b93; }
.pv-card b { font-weight: 500; color: #c7c7cd; }
.pv-source { display: flex; align-items: center; gap: 7px; padding: 7px; border-radius: 7px; background: rgba(140,156,235,.18); animation: pv-rise .4s ease both; }
.pv-source-icon { width: 14px; flex: none; color: #8c9ceb; display: block; }
.pv-source-icon svg, .pv-found i svg, .pv-empty i svg, .pv-icon svg { display: block; width: 100%; fill: currentColor; }
.pv-source div { min-width: 0; flex: 1; display: grid; }
.pv-source b { font-weight: 500; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-source span { font-size: 9.5px; color: #8b8b93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-source em { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #5fd08f; }
.pv-tree { display: grid; gap: 2px; font-size: 11px; color: #a4a4ab; }
.pv-tree span { padding: 5px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-tree .is-open { background: rgba(255,255,255,.08); color: #f2f2f3; }
.pv-side-foot { margin-top: auto; padding: 4px 6px; font-size: 10.5px; color: #6d6d75; }
.pv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; margin: 6px 6px 6px 0; border-radius: 10px; border: 1px solid rgba(255,255,255,.07); background: #111114; overflow: hidden; }
.pv-head { flex: none; display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 8px 0 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.pv-crumb { color: #7d7d85; font-size: 11.5px; white-space: nowrap; }
.pv-crumb b { font-weight: 500; color: #f2f2f3; }
.pv-chip { padding: 1px 6px; border-radius: 99px; background: rgba(255,255,255,.08); color: #a4a4ab; font-size: 10px; font-variant-numeric: tabular-nums; }
.pv-pill { height: 24px; line-height: 24px; padding: 0 8px; border-radius: 7px; background: rgba(255,255,255,.1); font-size: 10.5px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pv-dim { background: rgba(255,255,255,.05); color: #a4a4ab; font-weight: 400; }
.pv-icon { position: relative; flex: none; display: flex; align-items: center; gap: 4px; height: 24px; min-width: 28px; padding: 0 7px; border: 0; border-radius: 7px; background: rgba(255,255,255,.08); color: #e6e6e8; font: 500 10.5px var(--sans); cursor: default; transition: transform .12s; }
.pv-icon svg { width: 14px; }
.pv-icon em { font-style: normal; }
.pv-icon.is-pressed, .pv-btn.is-pressed, .pv-seg b.is-pressed { animation: pv-press .3s ease; }
.pv-body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.pv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 166px; gap: 4px; padding: 8px 10px; transition: opacity .5s; }
.pv-grid.is-faded { opacity: .32; }
.pv-grid.is-swap .pv-cell { animation: pv-cell .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.pv-cell { min-width: 0; display: flex; flex-direction: column; }
.pv-thumb { position: relative; flex: 1; min-height: 0; border-radius: 7px; overflow: hidden; background: #1a1a1e; box-shadow: 0 0 0 0 transparent; transition: box-shadow .16s; }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-cell.is-selected .pv-thumb { box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(0,0,0,.6); }
.pv-cell.is-selected .pv-thumb::after { content: ""; position: absolute; inset: 0; border-radius: 7px; box-shadow: inset 0 0 0 2px #fff; }
.pv-cell-foot { flex: none; display: flex; align-items: center; justify-content: space-between; height: 22px; font-size: 9.5px; color: #8b8b93; }
.pv-stars { display: flex; gap: 1px; font-style: normal; }
.pv-stars svg { width: 8px; height: 8px; fill: #f5c542; }
.pv-stars.is-in { animation: pv-star .4s cubic-bezier(.2,1.4,.4,1) both; }
.pv-foot { flex: none; display: flex; align-items: center; height: 28px; padding: 0 12px; border-top: 1px solid rgba(255,255,255,.07); color: #7d7d85; font-size: 10px; font-variant-numeric: tabular-nums; }
.pv-keys { display: flex; align-items: center; gap: 3px; }
.pv-keys kbd { padding: 0 4px; border-radius: 3px; background: rgba(255,255,255,.09); font: 500 9px var(--sans); color: #a4a4ab; }
.pv-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 44px; text-align: center; color: #8b8b93; font-size: 11px; }
.pv-empty i { width: 34px; height: 34px; padding: 9px; margin-bottom: 4px; border-radius: 9px; background: rgba(255,255,255,.06); color: #8b8b93; }
.pv-empty b { font-size: 13px; font-weight: 500; color: #f2f2f3; }
.pv-empty .pv-btn { margin-top: 10px; }
.pv-btn { height: 28px; padding: 0 11px; border: 0; border-radius: 8px; background: rgba(255,255,255,.1); color: #d9d9dd; font: 500 11px var(--sans); white-space: nowrap; cursor: default; transition: background .25s, color .25s, opacity .25s; }
.pv-btn:disabled { opacity: .4; }
.pv-primary { background: #e7e7ea; color: #101012; }
.pv-wide { width: 100%; }
.pv-panel { position: absolute; top: 44px; right: 12px; z-index: 3; width: 290px; padding: 14px; border-radius: 12px; background: #1b1b1f; box-shadow: 0 0 0 1px rgba(255,255,255,.11), 0 24px 50px -10px rgba(0,0,0,.8); opacity: 0; transform: translateY(-6px) scale(.985); transform-origin: 90% 0; pointer-events: none; transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1); }
.pv-panel.is-open { opacity: 1; transform: none; }
.pv-panel h5 { margin: 0 0 6px; font: 600 12.5px var(--sans); color: #f2f2f3; }
.pv-panel p { margin: 0 0 10px; font-size: 11px; line-height: 1.45; color: #8b8b93; }
.pv-panel p:last-child { margin-bottom: 0; }
.pv-found { display: flex; align-items: center; gap: 8px; padding: 8px 9px; margin-bottom: 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.pv-found i { width: 15px; flex: none; color: #c7c7cd; }
.pv-found div { display: grid; }
.pv-found b { font-weight: 500; font-size: 11.5px; }
.pv-found span { font-size: 10px; color: #8b8b93; }
.pv-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-bottom: 10px; }
.pv-code i { height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font: 300 17px var(--sans); font-style: normal; color: #f2f2f3; }
.pv-code i.is-in { animation: pv-digit .3s cubic-bezier(.2,1.4,.4,1) both; box-shadow: inset 0 0 0 1px rgba(143,188,255,.55); }
.pv-ok { color: #5fd08f !important; }
.pv-share { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 8px; font-size: 11.5px; color: #a4a4ab; }
.pv-iris { font-size: 32px; font-weight: 300; letter-spacing: -0.03em; background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-track { position: relative; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.08); }
.pv-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--iris); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.pv-thick { height: 5px; }
.pv-codeline { margin-bottom: 11px; padding-bottom: 11px; border-bottom: 1px solid rgba(255,255,255,.08); color: #8b8b93; font-size: 11px; font-variant-numeric: tabular-nums; }
.pv-codeline b { margin-left: 4px; font-size: 15px; font-weight: 500; letter-spacing: .03em; color: #f2f2f3; }
.pv-looking { display: flex; align-items: center; gap: 7px; }
.pv-looking i { width: 7px; height: 7px; border-radius: 50%; background: #8c9ceb; animation: pv-breathe 1.6s ease-in-out infinite; }
.pv-ratio { display: flex; gap: 2px; height: 32px; margin-bottom: 10px; border-radius: 8px; overflow: hidden; }
.pv-ratio i { display: flex; align-items: center; padding-left: 8px; overflow: hidden; background: rgba(255,255,255,.1); transition: width .45s cubic-bezier(.2,.8,.2,1); font-style: normal; }
.pv-ratio i + i { background: rgba(143,188,255,.28); }
.pv-ratio b { font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.pv-person { display: flex; align-items: center; justify-content: space-between; height: 32px; margin-bottom: 4px; font-size: 12px; }
.pv-person strong { font-weight: 600; font-size: 12px; }
.pv-seg { display: flex; padding: 2px; border-radius: 8px; background: rgba(255,255,255,.06); }
.pv-seg b { width: 32px; height: 24px; line-height: 24px; text-align: center; border-radius: 6px; font-size: 11px; font-weight: 500; color: #a4a4ab; transition: background .2s, color .2s; }
.pv-seg b.is-on { background: #e7e7ea; color: #101012; }
.pv-person + .pv-btn { margin-top: 6px; }
.pv-summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 300; font-variant-numeric: tabular-nums; }
.pv-summary b { font-weight: 400; }
.pv-summary u { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 50%; background: #5fd08f; vertical-align: -1px; }
.pv-summary em { font-style: normal; font-size: 11px; color: #a4a4ab; }
.pv-outcome { margin-top: 8px; font-size: 10.5px; color: #a4a4ab; font-variant-numeric: tabular-nums; animation: pv-rise .4s ease both; }
.pv-actions { display: flex; gap: 5px; margin-top: 10px; animation: pv-rise .4s ease both; }
.pv-actions .pv-btn { flex: 1; padding: 0 6px; }
.pv-row { margin-top: 10px; padding: 7px 8px 9px; border-radius: 8px; transition: background .3s; }
.pv-row + .pv-row { margin-top: 2px; }
.pv-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 11.5px; }
.pv-row em { font-style: normal; font-size: 10.5px; color: #a4a4ab; font-variant-numeric: tabular-nums; }
.pv-row.is-pulse { animation: pv-row .9s ease; }
.pv-alert { position: absolute; left: 50%; top: 150px; z-index: 5; display: grid; gap: 6px; width: 272px; margin-left: -136px; padding: 16px; border-radius: 14px; background: #232327; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -10px rgba(0,0,0,.9); text-align: center; opacity: 0; transform: scale(.94); pointer-events: none; transition: opacity .22s, transform .28s cubic-bezier(.2,1.2,.4,1); }
.pv-alert.is-open { opacity: 1; transform: none; }
.pv-alert b { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.pv-alert span { font-size: 10.5px; color: #a4a4ab; }
.pv-alert div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.pv-bar { position: absolute; left: 172px; right: 6px; bottom: 44px; z-index: 3; width: max-content; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 6px 7px 6px 13px; border-radius: 11px; background: rgba(38,38,43,.92); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 14px 30px rgba(0,0,0,.6); font-size: 11.5px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.pv-bar b { font-weight: 500; }
.pv-bar.is-open { opacity: 1; transform: none; }
.pv-toast { position: absolute; left: 172px; right: 6px; bottom: 44px; z-index: 2; width: max-content; margin: 0 auto; padding: 6px 12px; border-radius: 99px; background: rgba(38,38,43,.94); box-shadow: 0 0 0 1px rgba(255,255,255,.1); font-size: 11px; opacity: 0; pointer-events: none; }
.pv-toast.is-on { animation: pv-toast 2.6s ease both; }
.pv-keycap { position: absolute; z-index: 4; width: max-content; min-width: 42px; height: 42px; padding: 0 12px; box-sizing: border-box; margin-top: -21px; translate: -50% 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(20,20,23,.86); box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 6px 18px rgba(0,0,0,.5); font: 500 18px var(--sans); opacity: 0; pointer-events: none; }
.pv-keycap.is-on { animation: pv-key .75s ease both; }
.pv-cursor { position: absolute; left: 0; top: 0; z-index: 9; width: 0; height: 0; transition: transform 0ms cubic-bezier(.45,.05,.25,1); will-change: transform; pointer-events: none; }
.pv-cursor svg { display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); transform-origin: 2px 2px; }
.pv-cursor::before { content: ""; position: absolute; left: -16px; top: -16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.45); opacity: 0; }
.pv-cursor.is-click svg { animation: pv-click .3s ease; }
.pv-cursor.is-click::before { animation: pv-ripple .5s ease-out; }

.pv-work { flex: 1; min-height: 0; display: flex; }
.pv-work .pv-body { flex: 1; min-width: 0; }
.pv-loupe { position: absolute; inset: 0; background: #0b0b0d; animation: pv-fade .3s ease both; }
.pv-photo { position: absolute; inset: 0; overflow: hidden; }
.pv-photo img { position: absolute; inset: 0; width: 100%; height: 100%; background: #0b0b0d; animation: pv-fade .28s ease both; }
.pv-keyspot { position: absolute; left: 50%; bottom: 66px; width: 0; height: 0; }
.pv-strip-box { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0 -2px; }
.pv-strip-view { flex: 1; min-height: 0; overflow: hidden; }
.pv-strip-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: 24px; margin-bottom: 8px; padding: 0 2px; font-size: 10.5px; color: #8b8b93; }
.pv-strip-head span { padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.07); color: #d9d9dd; }
.pv-strip-head span.is-pressed { animation: pv-press .3s ease; }
.pv-strip-head em { font-style: normal; }
.pv-strip { position: relative; display: grid; gap: 2px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pv-strip .pv-cell { height: 112px; padding: 0 2px; }
.pv-rate { display: flex; gap: 2px; margin-left: 10px; }
.pv-rate b { display: block; width: 10px; height: 10px; }
.pv-rate svg { display: block; width: 10px; height: 10px; fill: none; stroke: #6d6d75; stroke-width: .8; }
.pv-rate b.is-lit svg { fill: #f5c542; stroke: #f5c542; }
.pv-rate.is-in { animation: pv-star .35s cubic-bezier(.2,1.4,.4,1); }
.pv-foot span:first-child { white-space: pre; }
.pv-info { flex: none; width: 196px; padding: 12px 12px 0; overflow: hidden; border-left: 1px solid rgba(255,255,255,.07); animation: pv-fade .35s ease both; }
.pv-info h6 { display: flex; align-items: center; gap: 6px; margin: 0; font: 600 12.5px var(--sans); color: #f2f2f3; }
.pv-info h6 span { padding: 1px 5px; border-radius: 4px; background: rgba(255,255,255,.08); font-size: 9px; font-weight: 500; color: #a4a4ab; }
.pv-camera { margin: 3px 0 7px; font-size: 10.5px; color: #8b8b93; }
.pv-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 9px; }
.pv-tags span { padding: 1px 5px; border-radius: 4px; background: rgba(255,255,255,.07); font-size: 9.5px; color: #c7c7cd; font-variant-numeric: tabular-nums; }
.pv-histogram { display: block; width: 100%; height: 50px; margin-bottom: 10px; padding: 5px 6px 0; border-radius: 7px; background: rgba(255,255,255,.04); box-sizing: border-box; }
.pv-info-title { display: flex; justify-content: space-between; align-items: center; margin: 9px 0 5px; font-size: 10.5px; color: #7d7d85; }
.pv-info-title em { padding: 0 5px; border-radius: 99px; background: rgba(95,208,143,.18); color: #5fd08f; font: 600 10px var(--sans); font-style: normal; }
.pv-info-title em.is-low { background: rgba(245,197,66,.16); color: #f5c542; }
.pv-verdict { margin: 0 0 5px; font-size: 10.5px; color: #5fd08f; }
.pv-verdict.is-low { color: #f5c542; }
.pv-info dl { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 3px 6px; margin: 0; font-size: 10px; }
.pv-info dt { color: #7d7d85; }
.pv-info dd { margin: 0; color: #e0e0e3; }

@keyframes pv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pv-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pv-press { 40% { transform: scale(.94); } }
@keyframes pv-click { 40% { transform: scale(.82); } }
@keyframes pv-ripple { from { opacity: .7; transform: scale(.3); } to { opacity: 0; transform: scale(1.2); } }
@keyframes pv-cell { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pv-star { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes pv-digit { from { transform: translateY(4px) scale(.92); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes pv-breathe { 50% { opacity: .35; } }
@keyframes pv-row { 25% { background: rgba(143,188,255,.16); } }
@keyframes pv-toast { 0% { opacity: 0; transform: translateY(6px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pv-key { 0% { opacity: 0; transform: scale(.7); } 25%, 60% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.06); } }

@media (max-width: 860px) {
  .pv { --pv-width: calc(100vw - 2 * var(--gutter)); }
  .pv-stage { grid-template-columns: minmax(0, 1fr); gap: 44px; perspective: none; }
  .pv-col-a .pv-tilt, .pv-col-h .pv-tilt { transform: none; }
  .pv-caption { min-height: 0; margin-top: 10px; font-size: 14.5px; }
  .pv-label { margin-top: 16px; }
  .pv-step { width: 58px; font-size: 11.5px; }
  .pv-step span { display: none; }
  .pv-steps { gap: 8px; }
}

/* The app's field of glass squares (glass-field.js): down from the top of the first screen, up from the bottom of the page. */
body { position: relative; }
.glass-field { position: absolute; left: 0; width: 100%; z-index: -1; pointer-events: none; }
.glass-field-top { top: 0; height: min(85vh, 760px); }
.glass-field-bottom { bottom: 0; height: min(70vh, 600px); }

/* Merging subfolders (merge-demo.js): uses the same window parts as block 02. */
.merge-layout { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.merge-copy { display: grid; gap: 28px; }
.merge-copy .story-num { margin-bottom: 8px; }
.merge-copy p:not(.story-num) { color: var(--muted); font-size: 16px; line-height: 1.55; }
.mg [hidden] { display: none !important; }
.mg-frame { aspect-ratio: 860 / 570; }
.mg-canvas { height: 570px; }
.mg-caption { min-height: 0; margin-top: 16px; }
.mg-body { display: flex; flex-direction: column; }
.mg-folders { position: absolute; inset: 0; z-index: 1; padding: 8px 12px; transition: opacity .5s ease .9s; }
.mg-folders.is-going { opacity: 0; }
.mg-folders-head { display: flex; align-items: center; height: 34px; margin-bottom: 4px; font-size: 11px; color: #7d7d85; }
.mg-merging { display: flex; align-items: center; gap: 6px; color: #a4a4ab; }
.mg-merging i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); border-top-color: #e7e7ea; animation: mg-spin .7s linear infinite; }
.mg-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.mg-tile { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 10px; border-radius: 9px; background: rgba(255,255,255,.045); transition: opacity .35s ease, transform .4s ease; transition-delay: calc(var(--i, 0) * 34ms); }
.mg-tile svg { width: 18px; flex: none; color: #8b8b93; }
.mg-tile div { display: grid; min-width: 0; }
.mg-tile b { font-size: 11px; font-weight: 500; color: #e6e6e8; }
.mg-tile span { font-size: 9.5px; color: #7d7d85; }
.mg-tile.is-going { opacity: 0; transform: scale(.9); }
.mg-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 118px; gap: 4px; padding: 8px 10px; overflow: hidden; }
.mg-grid.is-under .mg-cell { animation: none; opacity: 0; }
.mg-grid.is-arriving .mg-cell { animation: mg-arrive .8s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--i, 0) * 38ms); }
.mg-cell.is-selected .pv-thumb { box-shadow: inset 0 0 0 2px #fff; }
.mg-cell.is-selected .pv-thumb::after { content: ""; position: absolute; inset: 0; border-radius: 7px; box-shadow: inset 0 0 0 2px #fff; }
.mg-alert { top: 140px; width: 320px; margin-left: -160px; }
.mg-toast { left: 172px; }
@keyframes mg-arrive { from { opacity: 0; transform: translate(var(--from-x, 0), var(--from-y, 0)) scale(.35); } 35% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes mg-spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .merge-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Purchase page */
.buy { width: min(520px, calc(100% - 32px)); margin: 0 auto; padding: 120px 0 80px; text-align: center; }
.buy h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 12px; }
.buy .amount { font-size: 34px; font-weight: 300; margin-bottom: 20px; }
.buy .amount small { font-size: 14px; color: var(--muted); }
.buy ul, .buy ol { margin: 0 auto 24px; padding: 0 0 0 20px; width: fit-content; text-align: left; color: var(--muted); }
.buy li { margin-bottom: 6px; }
.buy li b { color: var(--fg); font-weight: 500; }
.buy .btn { justify-content: center; }
.buy .fine { margin-top: 18px; }
.buy-test { margin-bottom: 28px; padding: 10px 14px; border: 1px solid rgba(245, 177, 76, 0.35); border-radius: 10px; background: rgba(245, 177, 76, 0.1); color: #f5c67a; font-size: 13.5px; }
.buy-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,0.03); }
.buy-key code { font-family: "JetBrains Mono", monospace; font-size: 15px; overflow-wrap: anywhere; text-align: left; }
.buy [hidden] { display: none; }
.buy .final-icon { display: block; margin: 0 auto 18px; }
