:root {
  --bg: #07080b; --text: #f5f5f7; --dim: rgba(245, 245, 247, .62); --line: rgba(255, 255, 255, .12);
  --blue: #0a84ff; --sky: #64d2ff; --violet: #8e5cf7; --gold: #ffd60a;
  --glass: rgba(255, 255, 255, .045); --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
code { font: 600 .92em ui-monospace, Menlo, monospace; background: rgba(255, 255, 255, .08); padding: .1em .4em; border-radius: 6px; }
.hidden { display: none !important; }
[hidden] { display: none !important; } /* components with their own display (form, menus) still hide */

/* Background: near-solid dark with a faint cool-blue glow at the top (no violet, so the blue Buy button stands out) */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 60% at 50% -10%, #0d1524, var(--bg) 60%); }

.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 20px 60px rgba(0, 0, 0, .3);
}

/* Nav */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 10; width: min(1080px, calc(100% - 28px));
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(10, 10, 16, .6); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; margin-right: auto; }
.mark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--violet), var(--blue) 55%, var(--sky));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 4px 14px rgba(10, 132, 255, .4); }
.links { position: relative; display: flex; gap: 2px; }
.nav-pill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; opacity: 0; pointer-events: none;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .55s cubic-bezier(.34, 1.3, .64, 1), width .55s cubic-bezier(.34, 1.3, .64, 1), opacity .3s; }
.links a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--dim); transition: color .2s, background .2s; }
.links a:hover, .links a.on { color: var(--text); }
.langpick { position: relative; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-weight: 600; font-size: 12px; color: var(--dim);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; cursor: pointer; transition: color .2s, background .2s; }
.lang svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang:hover, .lang[aria-expanded=true] { color: var(--text); background: rgba(255, 255, 255, .07); }
.chev2 { width: 6px; height: 6px; margin: -3px 1px 0 2px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
  transition: transform .45s cubic-bezier(.34, 1.45, .64, 1), margin .45s; }
.lang[aria-expanded=true] .chev2 { transform: rotate(-135deg); margin-top: 3px; }
/* Glass menu that unfolds in 3D from the button (app.js) */
.langmenu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 20; min-width: 200px; margin: 0; padding: 6px; list-style: none;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); transform-origin: 70% 0;
  background: linear-gradient(160deg, rgba(60, 40, 110, .55), rgba(20, 40, 90, .45)), rgba(22, 22, 30, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 70px rgba(0, 0, 0, .55); }
.langmenu li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 11px; font-size: 14px; color: var(--dim);
  cursor: pointer; outline: none; transform-origin: 50% 0; transition: background .2s, color .2s; }
.langmenu li b { width: 24px; font-size: 11px; letter-spacing: .04em; color: var(--sky); }
.langmenu li i { margin-left: auto; font-style: normal; font-weight: 700; color: var(--blue); opacity: 0; transform: scale(.4); transition: all .4s cubic-bezier(.34, 1.45, .64, 1); }
.langmenu li:hover, .langmenu li:focus-visible, .langmenu li:focus { background: rgba(255, 255, 255, .09); color: var(--text); }
.langmenu li[aria-selected=true] { color: var(--text); }
.langmenu li[aria-selected=true] i { opacity: 1; transform: none; }
.launch { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #8fc0ff; background: rgba(10, 132, 255, .1); border: 1px solid rgba(10, 132, 255, .38); }
.launch::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(10, 132, 255, .6); animation: ping 2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(10, 132, 255, 0); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 1px solid rgba(255, 255, 255, .2); cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .2s; }
.btn:hover { filter: brightness(1.08); }
.btn, .lang { position: relative; overflow: hidden; }
.btn.primary:hover, .btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn.buy:hover { box-shadow: 0 0 0 1px rgba(140, 195, 255, .75), 0 18px 54px rgba(10, 132, 255, .65); }
/* Buy buttons: a band of light sweeps across every few seconds */
.btn.buy::before { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%); animation: shimmer 5s ease-in-out infinite; }
@keyframes shimmer { 0%, 62% { transform: translateX(-130%); } 88%, 100% { transform: translateX(130%); } }
/* Ring of light from the click point (app.js) */
.burst { position: absolute; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 62%); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
/* Free download: quiet glass, so Buy Pro is the one button that stands out */
.btn.primary { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn.buy { color: #fff; font-weight: 700; border-color: rgba(150, 200, 255, .55); background: linear-gradient(180deg, #45a3ff, #0a6cff);
  box-shadow: 0 0 0 1px rgba(120, 180, 255, .45), 0 12px 40px rgba(10, 132, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .35); animation: breathe 3.2s ease-in-out infinite; }
/* Buy Pro glow swells and settles, slowly */
@keyframes breathe { 50% { box-shadow: 0 0 0 1px rgba(140, 195, 255, .6), 0 14px 58px rgba(10, 132, 255, .68), inset 0 1px 0 rgba(255, 255, 255, .35); } }
.btn.ghost { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }

/* Sections */
main > section { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0; }
.head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
h1, h2, h3 { letter-spacing: -.02em; margin: 0; font-weight: 600; }
h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; }
.head p, .lead { color: var(--dim); font-size: 19px; margin: 14px 0 0; }
.eyebrow { color: var(--sky); font-weight: 600; font-size: 15px; margin: 0 0 14px; }
.fine { color: var(--dim); font-size: 13px; }
.center { text-align: center; }
.grad { color: #7cb0ff; } /* the highlighted phrase: one solid accent, no gradient */
/* Small section label with two accent bars, above each heading */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 600; color: rgba(245, 245, 247, .85); }
.kicker::before, .kicker::after { content: ""; width: 3px; height: 14px; border-radius: 2px; background: #7cb0ff; }

/* Hero */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding-top: 120px !important; }
h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.06; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.hero-stage { position: relative; height: 560px; transform-style: preserve-3d; }
.hero-stage video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.phone { position: absolute; left: 50%; top: 46%; width: 340px; height: 340px; transform: translate(-50%, -50%); border-radius: 46px; padding: 10px; animation: float 7s ease-in-out infinite; }
.phone video { border-radius: 36px; }
.tile { position: absolute; width: 140px; height: 140px; padding: 6px; border-radius: 30px; animation: float 6s ease-in-out infinite; transform: translateZ(70px); }
.tile video { border-radius: 24px; }
.t1 { left: 0; bottom: 20px; animation-delay: -2s; }
.t2 { right: 0; bottom: 70px; animation-delay: -4s; }
.t3 { right: 10px; top: 0; width: 120px; height: 120px; animation-delay: -1s; }
@keyframes float { 50% { translate: 0 -14px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; padding: 0 !important; }
.stat { text-align: center; padding: 22px 6px; }
.stat b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--dim); font-size: 13px; }

/* Gallery */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.card { padding: 8px; border-radius: 24px; transform-origin: 50% 0; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card .media { position: relative; aspect-ratio: 1; border-radius: 17px; overflow: hidden; background: #000; }
.card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .meta { display: flex; justify-content: space-between; align-items: center; padding: 10px 6px 4px; font-size: 14px; font-weight: 600; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; }
.badge.free { background: rgba(48, 209, 88, .18); color: #30d158; }
.badge.pro { background: rgba(255, 214, 10, .15); color: var(--gold); }

/* Category rows (app.js expand/collapse) */
.rows { display: grid; gap: 12px; }
.cat { border-radius: 26px; }
.cat-head { width: 100%; display: flex; align-items: center; gap: 26px; padding: 16px 26px 16px 18px; background: none; border: 0; color: inherit;
  font: inherit; text-align: left; cursor: pointer; }
.deck { position: relative; flex: none; width: 128px; height: 76px; perspective: 600px; }
.deck i { position: absolute; top: 4px; left: 0; width: 68px; height: 68px; border-radius: 16px; overflow: hidden; background: #000;
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: transform .7s cubic-bezier(.34, 1.45, .64, 1); }
.deck video { width: 100%; height: 100%; object-fit: cover; display: block; }
.deck i:nth-child(1) { transform: translateX(0) rotate(-9deg); z-index: 1; }
.deck i:nth-child(2) { transform: translateX(28px) translateY(-2px); z-index: 3; }
.deck i:nth-child(3) { transform: translateX(56px) rotate(9deg); z-index: 2; }
.cat-head:hover .deck i:nth-child(1) { transform: translateX(-8px) rotate(-14deg) rotateY(18deg); }
.cat-head:hover .deck i:nth-child(3) { transform: translateX(64px) rotate(14deg) rotateY(-18deg); }
.cat-head[aria-expanded=true] .deck i:nth-child(1) { transform: translateX(-4px) translateZ(-60px) rotateY(40deg); }
.cat-head[aria-expanded=true] .deck i:nth-child(2) { transform: translateX(28px) translateZ(30px) translateY(-2px) scale(1.06); }
.cat-head[aria-expanded=true] .deck i:nth-child(3) { transform: translateX(60px) translateZ(-60px) rotateY(-40deg); }
.cat-name { flex: 1; display: grid; gap: 2px; }
.cat-name b { font-size: 22px; letter-spacing: -.02em; }
.cat-name small { color: var(--dim); font-size: 14px; }
.cat-name em { font-style: normal; color: #30d158; font-weight: 600; }
.chev { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 22px;
  color: var(--dim); transition: transform .5s var(--ease), background .3s; }
.cat-head:hover .chev { background: rgba(255, 255, 255, .14); color: var(--text); }
.cat-head[aria-expanded=true] .chev { transform: rotate(90deg); }
.cat-body { height: 0; overflow: hidden; }
.cat.open .cat-body { height: auto; }
.cat-body .grid { padding: 4px 18px 22px; }

/* Roadmap + bug report */
.soon-tag { font-family: inherit; font-weight: 700; font-size: 11px; line-height: 1; font-style: normal; letter-spacing: .04em; vertical-align: middle; margin-left: 6px; padding: 4px 8px;
  border-radius: 999px; color: var(--sky); border: 1px solid rgba(100, 210, 255, .4); }
.more { display: inline-block; margin-top: 14px; color: var(--sky); font-weight: 600; }
.more:hover { text-decoration: underline; }
.report-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px 42px; }
.report-card h2 { font-size: 32px; }
.report-card p { color: var(--dim); margin: 10px 0 0; max-width: 520px; }
.report-card .ctas { margin: 0; flex-wrap: nowrap; }

/* How */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.steps > * { padding: 28px; }
.steps b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(180deg, #45a3ff, #0a6cff); margin-bottom: 16px; }
.steps b svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { color: var(--dim); margin: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 0 auto; }
.plan { position: relative; padding: 34px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; }
.price { font-size: 48px; font-weight: 600; letter-spacing: -.03em; margin: 6px 0 18px; }
.price small { font-size: 16px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; color: var(--dim); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--sky); font-weight: 700; }
.plan.pro { border-color: rgba(10, 132, 255, .5); background: linear-gradient(160deg, rgba(10, 132, 255, .16), rgba(10, 132, 255, .04)); }
.tag { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; color: #8fc0ff; border: 1px solid rgba(10, 132, 255, .5); padding: 4px 10px; border-radius: 999px; }
.plan .fine { margin: 14px 0 0; }

/* Download + install */
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 0 auto; }
.dl-btn { display: flex; align-items: center; gap: 18px; padding: 24px 28px; transition: transform .4s var(--ease), border-color .3s; }
.dl-btn { overflow: hidden; }
.dl-btn:hover { border-color: rgba(100, 210, 255, .5); }
.dl-btn svg { width: 38px; height: 38px; fill: currentColor; flex-shrink: 0; }
.dl-btn b { display: block; font-size: 18px; }
.dl-btn small { color: var(--dim); font-size: 13px; }
.dl-btn.off { opacity: .5; pointer-events: none; }
.soon { margin-top: 14px; }
.install { max-width: 820px; margin: 16px auto 0; padding: 30px 34px; }
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .3); margin-bottom: 18px; }
.seg-pill { position: absolute; left: 0; top: 3px; bottom: 3px; border-radius: 9px; background: rgba(255, 255, 255, .14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .5s cubic-bezier(.34, 1.3, .64, 1), width .5s cubic-bezier(.34, 1.3, .64, 1); }
.seg button { position: relative; font-family: inherit; font-weight: 600; font-size: 14px; color: var(--dim); background: none; border: 0; border-radius: 9px; padding: 8px 22px; cursor: pointer; transition: all .3s var(--ease); }
.seg button.on { color: var(--text); }
.os { margin: 0 0 16px; padding-left: 22px; font-size: 17px; }
.os li { padding: 6px 0; }
.os li::marker { color: var(--sky); font-weight: 700; }

/* FAQ */
.qs { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
details { padding: 0 24px; border-radius: 18px; }
summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--dim); font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--dim); transform-origin: 50% 0; }

footer { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 60px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--dim); }
footer a:hover { color: var(--text); }
footer .fine { flex-basis: 100%; }

/* Scroll reveal */
.reveal { opacity: 0; transform: perspective(1200px) translateY(46px) rotateX(-22deg) scale(.96); transform-origin: 50% 0;
  transition: opacity .9s var(--ease), transform 1.2s cubic-bezier(.2, 1.15, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
/* Stats: the row stays put, each tile flips down in turn */
.stats.reveal { opacity: 1; transform: none; }
.stats .stat { opacity: 0; transform: perspective(900px) rotateX(-85deg); transform-origin: 50% 0;
  transition: opacity .5s var(--ease), transform 1s cubic-bezier(.2, 1.25, .3, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.stats.in .stat { opacity: 1; transform: none; }
/* Tilt: cards lean toward the pointer (app.js) with a soft light sheen */
.tilt { position: relative; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .13), transparent 45%); }
.tilt:hover::after { opacity: 1; }
.hero-stage.tilt::after { display: none; }

/* Motion-curve lab (curves.js) */
.lab { display: grid; grid-template-columns: 230px 1fr; overflow: hidden; }
.curve-list { display: grid; gap: 4px; align-content: start; padding: 16px; border-right: 1px solid var(--line); }
.curve-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 14px; background: none;
  color: var(--dim); font-family: inherit; font-weight: 600; font-size: 15px; text-align: left; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.curve-list button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.curve-list button.on { color: var(--text); background: rgba(124, 176, 255, .13); box-shadow: inset 0 0 0 1px rgba(124, 176, 255, .35); }
.curve-list svg { flex: none; width: 40px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.curve-list .on svg { stroke: #7cb0ff; }
.curve-list em { margin-left: auto; font-style: normal; }
.lab-main { display: grid; gap: 16px; padding: 22px 26px 24px; min-width: 0; }
.lab-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cv-seg, .fm-seg { position: relative; display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .3); }
.cv-pill, .fm-pill { position: absolute; left: 0; top: 3px; bottom: 3px; border-radius: 9px; background: rgba(255, 255, 255, .14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .5s cubic-bezier(.34, 1.3, .64, 1), width .5s cubic-bezier(.34, 1.3, .64, 1); }
.cv-seg button, .fm-seg button { position: relative; font-family: inherit; font-weight: 600; font-size: 13px; color: var(--dim); background: none; border: 0; padding: 8px 14px; cursor: pointer; transition: color .3s; }
.cv-seg button.on, .fm-seg button.on { color: var(--text); }
.styles { display: flex; flex-wrap: wrap; gap: 6px; transition: opacity .3s; }
.styles.off { opacity: .3; pointer-events: none; }
.styles button { min-width: 36px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  color: var(--dim); font-family: inherit; font-weight: 600; font-size: 13px; cursor: pointer; transition: all .25s var(--ease); }
.styles button:hover { color: var(--text); }
.styles button.on { color: #0b1020; background: #7cb0ff; border-color: #7cb0ff; }
.lab-view { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.graph { width: 100%; height: auto; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.graph .base, .graph .target { stroke: rgba(255, 255, 255, .1); }
.graph .target { stroke-dasharray: 3 5; }
.graph .lin { fill: none; stroke: rgba(255, 255, 255, .22); stroke-dasharray: 4 5; }
.graph .cv { fill: none; stroke: #7cb0ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.graph .keys circle { fill: rgba(255, 255, 255, .5); transform-box: fill-box; transform-origin: center; }
.graph .dot { fill: #fff; stroke: #7cb0ff; stroke-width: 3; }
.pv { position: relative; min-height: 220px; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #000; }
.pv-shot { position: absolute; inset: 0; opacity: .75; background: linear-gradient(180deg, #2b1b5c, #b2457d 55%, #f59a5b 75%, #3a2140 76%, #1c1226); }
.pv-card { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 10px; min-width: 190px; padding: 12px 16px; border-radius: 18px;
  background: rgba(30, 30, 36, .75); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); }
.pv-card .mk { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.pv-card b { display: block; font-size: 14px; }
.pv-card small { font-size: 12px; color: rgba(255, 255, 255, .75); }
.pv-ease { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: center; gap: 6px; padding: 0 30px; background: rgba(8, 8, 12, .55); }
.pv.ease .pv-ease { display: flex; }
.pv.ease .pv-card { display: none; }
.pv-ease small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.track { position: relative; height: 28px; margin: 0 10px 10px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, .15); }
.kf { position: absolute; top: 50%; width: 10px; height: 10px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.kf.a { left: 0; } .kf.b { left: 100%; }
.ball { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; border-radius: 50%; transform: translate(-50%, -50%); }
.ball.lin { background: rgba(255, 255, 255, .55); }
.ball.cv { background: #7cb0ff; box-shadow: 0 0 14px rgba(124, 176, 255, .7); }
.cv-desc { margin: 0; font-size: 15px; }
.lab-main .fine { margin: -8px 0 0; }
.cv-all-title { margin: 34px 0 14px; text-align: center; font-size: 15px; font-weight: 600; color: var(--dim); }
.cv-all { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cv-tile { margin: 0; padding: 8px; border-radius: 20px; }
.cv-mini { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 13px; background: radial-gradient(circle at 50% 30%, #2a2346, #0d0d14 70%); }
.mini-card { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px;
  background: rgba(40, 40, 48, .85); border: 1px solid rgba(255, 255, 255, .14); transform: translate(-50%, -50%); }
.mini-card .mk { width: 16px; height: 16px; border-radius: 5px; }
.mini-card .ln { display: block; width: 44px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .5); }
.cv-tile.on { border-color: rgba(124, 176, 255, .55); box-shadow: inset 0 0 0 1px rgba(124, 176, 255, .35), 0 20px 60px rgba(0, 0, 0, .3); }
.cv-tile figcaption { padding: 8px 4px 2px; font-size: 13px; font-weight: 600; text-align: center; }

/* Terms page (terms.html + terms.js) */
.terms-seg { margin: 0 6px 0 0; }
.terms { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0 70px; display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; padding: 14px; max-height: calc(100vh - 130px); overflow: auto; }
.toc-title { margin: 2px 10px 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; color: var(--dim); transition: background .3s, color .3s, box-shadow .3s; }
.toc a b { min-width: 16px; color: #7cb0ff; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.toc a.on { color: var(--text); background: rgba(124, 176, 255, .13); box-shadow: inset 0 0 0 1px rgba(124, 176, 255, .3); }
.doc { padding: 42px 48px 30px; min-width: 0; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.doc > .fine { margin: 10px 0 18px; }
.doc section { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.doc h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 20px; }
.doc h2 .no { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font-size: 13px; font-weight: 700;
  color: #7cb0ff; background: rgba(124, 176, 255, .13); box-shadow: inset 0 0 0 1px rgba(124, 176, 255, .3); }
.doc p, .doc li { margin: 0 0 10px; font-size: 15.5px; line-height: 1.7; color: rgba(245, 245, 247, .8); }
.doc ul { margin: 0 0 10px; padding-left: 20px; }
.doc li::marker { color: #7cb0ff; }
.doc p b { color: var(--text); }
.doc a { color: #7cb0ff; word-break: break-all; }
.doc a:hover { text-decoration: underline; }
.todo { color: #ffd60a; border-bottom: 1px dashed rgba(255, 214, 10, .6); }

/* Bug / idea form (form.js): a glass sheet that unfolds in 3D over a dimmed page */
.fm-wrap { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; perspective: 1400px; }
.fm-backdrop { position: absolute; inset: 0; background: rgba(4, 5, 8, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fm { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 22px 24px 24px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(40, 48, 70, .72), rgba(18, 20, 28, .85)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 120px rgba(0, 0, 0, .6); transform-origin: 50% 0; }
.fm-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08);
  color: var(--dim); font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.fm-x:hover { background: rgba(255, 255, 255, .14); color: var(--text); }
.fm-seg { margin-bottom: 18px; }
.fm-body { display: grid; gap: 14px; }
.fm-bug, .fm-idea { display: grid; gap: 14px; }
.f { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dim); }
.f input, .f textarea { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--text);
  font: 400 15px/1.45 inherit; font-family: inherit; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.f input::placeholder, .f textarea::placeholder { color: rgba(245, 245, 247, .3); }
.f input:focus, .f textarea:focus { outline: none; border-color: #7cb0ff; box-shadow: 0 0 0 3px rgba(124, 176, 255, .22); }
.f .bad { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .18); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-os { display: flex; gap: 8px; }
.f-os button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--dim);
  font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s var(--ease); }
.f-os button.on { color: #fff; background: rgba(10, 132, 255, .25); border-color: rgba(10, 132, 255, .7); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-msg { min-height: 1.2em; margin: -4px 0 0; font-size: 13px; color: #ff8a8a; }
.fm-send { justify-self: stretch; }
.fm-send[disabled] { opacity: .7; pointer-events: none; }
.fm-done { display: grid; justify-items: center; gap: 14px; padding: 26px 0 6px; text-align: center; }
.fm-done svg { width: 84px; height: 84px; fill: none; stroke: #4cd97b; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fm-done circle { stroke-dasharray: 145; }
.fm-done path { stroke-dasharray: 34; }
.fm-done p { margin: 0; max-width: 380px; font-size: 17px; font-weight: 600; }

@media (max-width: 880px) {
  .f-row { grid-template-columns: 1fr; }
  .lab { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; padding-top: 100px; }
  .toc { display: none; }
  .doc { padding: 28px 22px 18px; }
  .terms-seg button { padding: 8px 12px; }
  #back { display: none; } /* the logo already links home */
  .curve-list { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .curve-list button { width: auto; flex: none; }
  .lab-view { grid-template-columns: 1fr; }
  .cv-all { grid-template-columns: repeat(3, 1fr); }
  .links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .ctas { justify-content: center; }
  .hero-stage { height: 420px; }
  .phone { width: 260px; height: 260px; }
  .tile { width: 100px; height: 100px; }
  .t3 { width: 90px; height: 90px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .steps, .plans, .dl { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-head { gap: 14px; padding: 12px 16px 12px 10px; }
  .deck { width: 96px; height: 60px; }
  .deck i { width: 52px; height: 52px; border-radius: 13px; }
  .deck i:nth-child(2) { transform: translateX(22px) translateY(-2px); }
  .deck i:nth-child(3) { transform: translateX(44px) rotate(9deg); }
  .cat-name b { font-size: 18px; }
  .report-card { flex-direction: column; align-items: flex-start; padding: 28px; }
  .report-card .ctas { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Showcase: a monitor with a made-up editor and the Glassy panel (driven by showcase.js) */
/* Glass stage: colour sits behind it and shows through, blurred and saturated, with a bright specular rim */
.showcase { position: relative; }
.showcase::before, .showcase::after { content: ""; position: absolute; z-index: 0; aspect-ratio: 1; border-radius: 50%; filter: blur(60px);
  pointer-events: none; }
.showcase::before { width: 46%; left: 0; top: 24%; background: radial-gradient(circle, rgba(40, 110, 230, .45), rgba(40, 110, 230, 0) 65%); }
.showcase::after { width: 44%; right: 0; bottom: 2%; animation-delay: -8s;
  background: radial-gradient(circle, rgba(10, 132, 255, .5), rgba(255, 55, 95, .18) 45%, rgba(255, 55, 95, 0) 68%); }
.showcase .head { position: relative; z-index: 1; }
.stage { position: relative; z-index: 1; padding: 56px 48px 36px; border-radius: 40px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, .1));
  -webkit-backdrop-filter: blur(30px) saturate(190%) brightness(1.08); backdrop-filter: blur(30px) saturate(190%) brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(255, 255, 255, .12), inset 0 22px 44px -26px rgba(255, 255, 255, .35),
    0 40px 100px rgba(0, 0, 0, .45); }
.stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .1) 28%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.monitor { max-width: 900px; margin: 0 auto; transform-origin: 50% 100%; padding: 12px; border-radius: 22px; background: #1c1c1f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(20, 20, 40, .35); }
.fit { position: relative; overflow: hidden; border-radius: 11px; background: #0d0d10; }
.screen { position: absolute; left: 0; top: 0; width: 960px; height: 600px; transform-origin: 0 0; overflow: hidden;
  font: 12px/1.3 -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", sans-serif; color: #e5e5ea; }
.stand { display: grid; justify-items: center; }
.stand i { width: 120px; height: 46px; background: linear-gradient(#c9ccd4, #b4b8c2); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.stand b { width: 260px; height: 10px; border-radius: 6px 6px 3px 3px; background: linear-gradient(#cfd2da, #a9adb8); box-shadow: 0 12px 24px rgba(0, 0, 0, .18); }
.scenes { display: flex; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; counter-reset: sc; }
.scenes li { counter-increment: sc; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .62); background: rgba(255, 255, 255, .06); padding: 8px 16px; border-radius: 999px; transition: all .4s var(--ease); }
.scenes li::before { content: counter(sc) "  "; opacity: .6; }
.scenes li.on { color: #fff; background: linear-gradient(180deg, #45a3ff, #0a6cff); box-shadow: 0 8px 20px rgba(10, 132, 255, .3); }

.ed-win { position: absolute; inset: 0; display: grid; grid-template-rows: 30px 1fr 150px; background: #17171b; } /* not .win: the install steps use that */
.tb { display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #222227; border-bottom: 1px solid #2c2c32; }
.tb i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a41; }
.tb span { flex: 1; text-align: center; color: #8e8e96; font-size: 11px; margin-right: 50px; }
.body { display: grid; grid-template-columns: 300px 1fr; min-height: 0; }

.gp { position: relative; padding: 12px; border-right: 1px solid #2c2c32;
  background: radial-gradient(90% 60% at 0 0, rgba(110, 60, 200, .45), transparent), radial-gradient(80% 60% at 100% 30%, rgba(20, 60, 160, .45), transparent), #121219; }
.gh { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.gh em { margin-left: auto; font-family: inherit; font-weight: 700; font-size: 9px; line-height: 1; letter-spacing: .06em; padding: 4px 7px; border-radius: 6px; background: linear-gradient(90deg, var(--sky), var(--blue)); color: #fff; }
.mk { display: inline-block; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--violet), var(--blue) 55%, var(--sky)); }
.chips { display: flex; gap: 5px; margin-bottom: 10px; }
.chips b { font-weight: 600; font-size: 11px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #c7c7cc; transition: all .3s; }
.chips b.on { background: var(--blue); color: #fff; }
.cards { position: absolute; left: 12px; right: 12px; top: 82px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cards.tr { visibility: hidden; }
.c { border-radius: 12px; padding: 4px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.c video { display: block; width: 100%; aspect-ratio: 2; object-fit: cover; border-radius: 8px; background: #000; }
.c[data-f="Notification"] video { object-position: 50% 8%; }
.c small { display: block; padding: 4px 3px 1px; font-size: 10.5px; font-weight: 600; }
.c.sel { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.qe { position: absolute; left: 12px; right: 12px; bottom: 56px; }
.qe label { font-size: 10px; font-weight: 600; color: #8e8e96; }
.field { display: flex; align-items: center; height: 28px; margin: 4px 0 8px; padding: 0 9px; border-radius: 8px; background: #0b0b10; border: 1px solid #2c2c34; font-size: 12px; transition: border-color .2s; }
.field.focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 132, 255, .25); }
.caret { width: 1px; height: 14px; margin-left: 1px; background: #fff; opacity: 0; }
.field.focus .caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 1; } }
.sw { display: flex; gap: 7px; }
.sw b { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #121219; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.sw b.on { box-shadow: 0 0 0 2px var(--blue); }
.addb { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 34px; border: 0; border-radius: 10px; font-family: inherit; font-weight: 600; font-size: 12px; line-height: 1;
  color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0) 60%), var(--blue); box-shadow: 0 6px 18px rgba(10, 132, 255, .35); }

.vw { display: grid; place-items: center; padding: 16px 20px 6px; background: #101013; min-width: 0; }
.frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 320px; overflow: hidden; border-radius: 4px; background: #000; }
.shot { position: absolute; inset: 0; }
.shot.a { background: linear-gradient(180deg, #2b1b5c, #b2457d 55%, #f59a5b 75%, #3a2140 76%, #1c1226); }
.shot.a i { position: absolute; left: 58%; top: 46%; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(#fff3c4, #ffb35c 60%, transparent 70%); }
.shot.b { transform: translateX(100%); background: linear-gradient(180deg, #7cc8ff, #cfeaff 50%, #1d78c9 51%, #0b3c74); }
.shot.b i { position: absolute; left: 20%; top: 30%; width: 110px; height: 26px; border-radius: 20px; background: rgba(255, 255, 255, .85); box-shadow: 60px 18px 0 -4px rgba(255, 255, 255, .7); }
.note { position: absolute; left: 50%; top: 14px; width: 62%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px;
  background: rgba(30, 30, 36, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .12);
  transform: translate(-50%, -160%); }
.note .mk { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; }
.note span { flex: 1; display: grid; }
.note b { font-size: 12px; }
.note small { font-size: 11px; color: rgba(255, 255, 255, .8); }
.note em { font-style: normal; font-size: 10px; color: rgba(255, 255, 255, .55); align-self: flex-start; }
.ttl { position: absolute; left: 0; right: 0; bottom: 22%; margin: 0; text-align: center; font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
.tc { justify-self: start; margin-top: 4px; font: 600 11px ui-monospace, Menlo, monospace; color: var(--sky); }

.tl { display: grid; grid-template-columns: 44px 1fr; border-top: 1px solid #2c2c32; background: #141418; }
.names { display: grid; grid-template-rows: 22px repeat(3, 1fr); padding-bottom: 10px; border-right: 1px solid #2c2c32; }
.names span { display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #8e8e96; }
.lanes { position: relative; display: grid; grid-template-rows: 22px repeat(3, 1fr); gap: 4px; padding: 0 12px 10px; }
.ruler { background: repeating-linear-gradient(90deg, #3a3a42 0 1px, transparent 1px 24px) bottom / 100% 7px no-repeat; border-bottom: 1px solid #2c2c32; }
.lane { position: relative; border-radius: 6px; background: #1b1b21; }
.clip { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; }
.clip.n { left: 30%; width: 22%; transform: scaleX(0); transform-origin: left; background: linear-gradient(135deg, var(--violet), var(--blue)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.clip.a { left: 2%; width: 48%; background: linear-gradient(90deg, #6a3a8c, #b2457d); }
.clip.b { left: 50%; width: 46%; background: linear-gradient(90deg, #1d6fb8, #2a8fd8); }
.clip.au { left: 2%; width: 94%; background: repeating-linear-gradient(90deg, #1f8f4e 0 2px, #26a65c 2px 4px); opacity: .7; }
.cut { position: absolute; left: 50%; top: 50%; padding: 3px 7px; border-radius: 5px; font-family: inherit; font-weight: 700; font-size: 9px; line-height: 1; font-style: normal; color: #1a1400;
  background: var(--gold); opacity: 0; transform: translate(-50%, -50%); }
.ph { position: absolute; top: 0; bottom: 6px; left: 30%; width: 2px; background: #ff453a; }
.ph::before { content: ""; position: absolute; top: 0; left: -5px; width: 12px; height: 10px; border-radius: 2px 2px 6px 6px; background: #ff453a; }
.toast { position: absolute; left: 50%; bottom: 166px; padding: 8px 14px; border-radius: 999px; font-weight: 600; background: #2c2c31; border: 1px solid rgba(255, 255, 255, .16); opacity: 0; transform: translateX(-50%); }
.drag-ghost { position: absolute; left: 0; top: 0; width: 70px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--violet), var(--blue)); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -3px 0 0 -5px; z-index: 5; fill: #fff; stroke: #000; stroke-width: 1.3; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }

@media (max-width: 880px) {
  .stage { padding: 22px 12px 20px; border-radius: 26px; }
  .monitor { padding: 6px; border-radius: 12px; }
  .stand i { width: 70px; height: 26px; }
  .stand b { width: 150px; height: 7px; }
  .scenes { flex-wrap: wrap; gap: 6px; }
  .scenes li { font-size: 12px; padding: 6px 12px; }
}
