/* VidClean — the site. One sheet for both directions: logical properties throughout,
   and [dir] rules only where motion itself has a direction. */

:root {
  --bg: #05070b;
  --bg-2: #080b11;
  --panel: #0d1118;
  --glass: rgba(15, 19, 27, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-3: rgba(255, 255, 255, 0.2);
  --text: #eef1f6;
  --text-2: #a7b0bf;
  --text-3: #6f7889;
  --blue: #4d8dff;
  --blue-hi: #79a8ff;
  --indigo: #6f6bff;
  --violet: #8b5cf6;
  --pink: #e879f9;
  --shot: #ffc24a;
  --onair: #ff4d5e;
  --ok: #34d399;
  --brand: linear-gradient(135deg, #4d8dff 0%, #6f6bff 55%, #8b5cf6 100%);
  --brand-text: linear-gradient(100deg, #8fb6ff 0%, #8b7dff 45%, #c08bff 75%, #ffb3d9 100%);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif;
  --nav-h: 68px;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.8 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(111, 107, 255, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* A page-wide backdrop: soft light from above, and grain so the dark never bands. */
.backdrop { position: fixed; inset: 0; z-index: -2; pointer-events: none; background:
  radial-gradient(1200px 600px at 50% -10%, rgba(77, 141, 255, 0.13), transparent 70%),
  radial-gradient(900px 500px at 85% 20%, rgba(139, 92, 246, 0.1), transparent 70%),
  var(--bg); }
.backdrop::after { content: ""; position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------ buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.6em; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  font: 600 1rem/1 var(--font-display); text-decoration: none; isolation: isolate; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}
.btn .ico { width: 1.15em; height: 1.15em; transition: transform 0.25s var(--ease); }
.btn-primary { color: #fff; background: var(--brand);
  box-shadow: 0 12px 34px -12px rgba(111, 107, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(111, 107, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn:hover .ico.go { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ico.go { transform: scaleX(-1) translateX(3px); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn-lg { font-size: 1.08rem; padding: 1.1em 1.9em; }
.btn[aria-disabled="true"] { cursor: default; opacity: 0.6; filter: saturate(0.4); box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255, 255, 255, 0.04); }
.btn[aria-disabled="true"]:hover { transform: none; }
.btn[aria-disabled="true"]::after { display: none; }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.nav.scrolled { background: rgba(5, 7, 11, 0.72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.28rem/1 var(--font-display); letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; filter: drop-shadow(0 6px 16px rgba(111, 107, 255, 0.45)); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--text-2); font-size: 0.97rem; font-weight: 500; transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--text-2); font-size: 0.92rem; box-shadow: inset 0 0 0 1px var(--line); transition: color 0.2s, box-shadow 0.2s; }
.lang:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
html[lang="en"] .lang { font-family: "IBM Plex Sans Arabic", var(--font-body); }
.nav .btn { padding: 0.7em 1.25em; font-size: 0.95rem; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, 0.06); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); position: relative; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; inset-inline-start: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 0; text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 0 20%; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 25%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 25%, #000 20%, transparent 75%); }
.aurora { position: absolute; inset: -10% 0 auto; height: 900px; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 520px; height: 520px; background: #3b6fff; inset-inline-start: 12%; top: 8%; }
.aurora i:nth-child(2) { width: 460px; height: 460px; background: #7c4dff; inset-inline-end: 10%; top: 2%; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 260px; height: 260px; background: #ff9a5a; inset-inline-end: 34%; top: 40%; opacity: 0.22; animation-delay: -11s; }
@keyframes drift { from { transform: translate3d(-30px, -10px, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.12); } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); font-size: 0.93rem; font-weight: 500;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.eyebrow b { color: var(--text); font-weight: 600; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.8; } to { transform: scale(3.2); opacity: 0; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; margin: 0; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -0.03em; }
/* Arabic needs room between lines: dots above and tails below meet at display sizes. */
.hero h1 { font-size: clamp(2.7rem, 1.3rem + 6vw, 6.4rem); line-height: 1.45; margin: 22px auto 26px; }
html[lang="en"] .hero h1 { line-height: 1.02; margin: 26px auto 22px; }
.grad { background: var(--brand-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite alternate; padding-block: 0.06em; }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.lead { max-width: 760px; margin: 0 auto; color: var(--text-2); font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem); text-wrap: pretty; }
.lead b { color: var(--text); font-weight: 600; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 22px 0 0; color: var(--text-3); font-size: 0.93rem; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ico { color: var(--ok); width: 1.05em; height: 1.05em; stroke-width: 2.4; }

/* The stage: the app, as it looks, rising flat as it scrolls into view. */
.stage { position: relative; max-width: 1100px; margin: clamp(48px, 7vw, 84px) auto 0; perspective: 2000px; }
.stage-glow { position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 40px; background: var(--brand); filter: blur(90px); opacity: 0.35; }
.stage-inner { position: relative; transform-style: preserve-3d; transform-origin: 50% 0;
  transform: rotateX(var(--rx, 16deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 0.94)) translateY(var(--ty, 0px));
  will-change: transform; }
.window { position: relative; border-radius: 18px; overflow: hidden; background: #0b0e14;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.11), 0 70px 140px -50px rgba(0, 0, 0, 0.95), 0 40px 90px -40px rgba(77, 141, 255, 0.45); }
.titlebar { display: flex; align-items: center; gap: 6px; height: 40px; padding-inline: 12px 0; background: #0d1015; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); direction: inherit; }
.titlebar svg.logo { width: 22px; height: 22px; margin-inline-end: 6px; }
.tb-tab { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 8px; white-space: nowrap; }
.tb-tab.on { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.tb-tab .live { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 8px var(--blue); }
.tb-ctl { margin-inline-start: auto; display: flex; height: 100%; }
.tb-ctl i { width: 46px; height: 100%; display: grid; place-items: center; }
.tb-ctl i::before { content: ""; width: 10px; height: 10px; border: 1.3px solid var(--text-3); border-radius: 2px; }
.tb-ctl i:first-child::before { height: 0; border-width: 1.3px 0 0; border-radius: 0; }
.tb-ctl i:last-child::before { border: 0; width: 12px; height: 12px;
  background: linear-gradient(45deg, transparent 45%, var(--text-3) 45%, var(--text-3) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--text-3) 45%, var(--text-3) 55%, transparent 55%); }

.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; container-type: inline-size; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .kb { transform-origin: 62% 62%; animation: kenburns 34s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.5%, -1%); } }
.scene .tw { animation: twinkle 4s ease-in-out infinite; }
.scene .tw:nth-child(3n) { animation-duration: 5.5s; animation-delay: -2s; }
.scene .tw:nth-child(4n) { animation-duration: 3.2s; animation-delay: -1s; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.scene .shim line { transform-box: fill-box; transform-origin: center; animation: shimmer 3.6s ease-in-out infinite; }
.scene .shim line:nth-child(2n) { animation-delay: -1.2s; }
.scene .shim line:nth-child(3n) { animation-delay: -2.3s; }
@keyframes shimmer { 0%, 100% { transform: scaleX(1); opacity: 0.9; } 50% { transform: scaleX(0.55); opacity: 0.45; } }
.scene .birds { animation: fly 46s linear infinite; }
@keyframes fly { from { transform: translate(-260px, 30px); } to { transform: translate(1900px, -70px); } }
.scene .glow { transform-box: fill-box; transform-origin: center; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.85; } }

.subline { position: absolute; inset-inline: 0; bottom: 19%; text-align: center; color: #fff; font-weight: 600;
  font-size: clamp(9px, 2.3cqi, 22px); text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 2px #000; padding-inline: 10%; }
.pctl { position: absolute; inset-inline: 0; bottom: 0; padding: 7% 2.2% 1.8%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)); font-size: clamp(8px, 1.45cqi, 14px); color: #fff; }
.bar { position: relative; height: 0.36em; border-radius: 1em; background: rgba(255, 255, 255, 0.2); }
.bar .buf, .bar .fill { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: inherit; }
.bar .buf { width: 64%; background: rgba(255, 255, 255, 0.28); }
.bar .fill { width: var(--played, 36%); background: var(--brand); }
.bar .knob { position: absolute; top: 50%; inset-inline-start: var(--played, 36%); width: 1.1em; height: 1.1em; margin-inline-start: -0.55em; margin-top: -0.55em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.3em rgba(111, 107, 255, 0.35); }
.peek { position: absolute; bottom: 1.4em; inset-inline-start: 58%; width: 13em; transform: translateX(-50%); opacity: 0; animation: peek 9s ease-in-out infinite 2.5s; }
[dir="rtl"] .peek { transform: translateX(50%); }
.peek .ph { aspect-ratio: 16 / 9; border-radius: 0.5em; overflow: hidden; box-shadow: 0 0 0 0.14em #fff, 0 0.6em 1.4em rgba(0, 0, 0, 0.6);
  background: linear-gradient(180deg, #120d33 0%, #3d2166 55%, #d36a6f 78%, #1a1233 79%, #0a0818 100%); position: relative; }
.peek .ph::after { content: ""; position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: #ffe2a3; box-shadow: 0 0 2em 0.8em rgba(255, 190, 110, 0.6); inset-inline-start: 30%; top: 50%; }
.peek span { display: block; margin-top: 0.4em; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; text-shadow: 0 1px 3px #000; }
@keyframes peek { 0%, 55%, 100% { opacity: 0; } 62%, 88% { opacity: 1; } }
.prow { display: flex; align-items: center; gap: 1.2em; margin-top: 1em; }
.prow .ico { width: 1.7em; height: 1.7em; stroke-width: 2; }
.prow .play { width: 2em; height: 2em; fill: #fff; stroke: none; }
.prow .time { font-variant-numeric: tabular-nums; opacity: 0.9; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.prow .sp { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.2em 0.6em; border-radius: 0.45em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); font-weight: 600; font-size: 0.92em; white-space: nowrap; }
.pill.hot { background: rgba(139, 92, 246, 0.35); box-shadow: inset 0 0 0 1px rgba(196, 170, 255, 0.6); }
/* A small player keeps the essentials: play, time, subtitles, quality, full screen. */
@container (max-width: 560px) {
  .prow .opt, .peek { display: none; }
  .prow { gap: 1em; }
  .subline { bottom: 24%; }
}

/* The phone, landscape, in the same room as the laptop. */
.phone { position: absolute; width: 34%; inset-inline-end: -4%; bottom: -9%; aspect-ratio: 2.1 / 1; border-radius: 26px; padding: 7px; background: #07090d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 80px -24px rgba(0, 0, 0, 0.95), 0 20px 60px -30px rgba(139, 92, 246, 0.6);
  transform: translateZ(70px) rotate(-3deg); }
[dir="rtl"] .phone { transform: translateZ(70px) rotate(3deg); }
.phone-screen { position: relative; height: 100%; border-radius: 20px; overflow: hidden; background: #000; container-type: inline-size; }
.phone-screen::before { content: ""; position: absolute; z-index: 3; top: 50%; inset-inline-start: 2.5%; width: 2.6%; aspect-ratio: 1; margin-top: -1.3%; border-radius: 50%; background: #05060a; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07); }
.pchat { position: absolute; inset-block: 6%; inset-inline-end: 3%; width: 40%; border-radius: 12px; padding: 5% 4%; display: flex; flex-direction: column; justify-content: flex-end; gap: 5%;
  background: rgba(10, 12, 18, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); font-size: clamp(6px, 3.2cqi, 12px); }
.pchat .m { align-self: flex-start; max-width: 92%; padding: 0.35em 0.7em; border-radius: 0.9em; background: rgba(255, 255, 255, 0.12); line-height: 1.4; opacity: 0; animation: msg 12s var(--ease) infinite; }
.pchat .m.me { align-self: flex-end; background: var(--brand); }
.pchat .m b { display: block; font-size: 0.78em; opacity: 0.7; font-weight: 600; }
.pchat .m:nth-child(1) { animation-delay: 0.5s; }
.pchat .m:nth-child(2) { animation-delay: 2.3s; }
.pchat .m:nth-child(3) { animation-delay: 4.1s; }
@keyframes msg { 0% { opacity: 0; transform: translateY(8px) scale(0.96); } 6%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }

/* Callouts floating around the stage. */
.callout { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; text-align: start;
  background: var(--glass); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -24px rgba(0, 0, 0, 0.9); font-size: 0.9rem; line-height: 1.35; white-space: nowrap;
  animation: bob 7s ease-in-out infinite; transform: translateZ(110px); }
.callout small { display: block; color: var(--text-3); font-size: 0.78rem; }
.callout .ci { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.callout .ci .ico { width: 19px; height: 19px; stroke-width: 2; }
.c1 { top: 13%; inset-inline-start: -5%; }
.c2 { top: -4%; inset-inline-end: 12%; animation-delay: -2s; }
.c3 { bottom: 25%; inset-inline-start: -7%; animation-delay: -4s; }
.c1 .ci { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.c2 .ci { background: rgba(139, 92, 246, 0.2); color: #c4aaff; }
.c3 .ci { background: rgba(255, 194, 74, 0.16); color: var(--shot); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.stage .callout, .stage .phone, .stage .window { opacity: 0; }
.stage.ready .window { animation: rise 1.2s var(--ease) forwards 0.1s; }
.stage.ready .phone { animation: pop 0.9s var(--ease) forwards 0.7s; }
.stage.ready .callout { animation: pop 0.8s var(--ease) forwards, bob 7s ease-in-out infinite 1.6s; }
.stage.ready .c1 { animation-delay: 1s, 1.8s; }
.stage.ready .c2 { animation-delay: 1.2s, 2s; }
.stage.ready .c3 { animation-delay: 1.4s, 2.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; scale: 0.85; } to { opacity: 1; scale: 1; } }

/* ------------------------------------------------------------------ marquee */
.marquee { position: relative; margin-top: clamp(90px, 12vw, 150px); padding-block: 22px; border-block: 1px solid var(--line); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; gap: 0; animation: slide 46s linear infinite; }
[dir="rtl"] .track { animation-name: slide-rtl; }
.track span { display: inline-flex; align-items: center; gap: 22px; padding-inline-end: 22px; font: 600 1.15rem/1 var(--font-display); color: var(--text-2); white-space: nowrap; }
.track span::after { content: "✦"; color: var(--violet); font-size: 0.8em; }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes slide-rtl { to { transform: translateX(50%); } }

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.head { max-width: 780px; margin: 0 auto clamp(44px, 6vw, 76px); text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font: 600 0.88rem/1.2 var(--font-display); color: var(--blue-hi);
  background: rgba(77, 141, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(77, 141, 255, 0.28); }
html[lang="en"] .kicker { letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; }
.head h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.7rem); line-height: 1.45; margin: 16px 0 14px; }
.split h2 { font-size: clamp(1.9rem, 1.1rem + 2.3vw, 3.05rem); line-height: 1.45; margin: 16px 0 14px; }
html[lang="en"] .head h2, html[lang="en"] .split h2 { line-height: 1.08; }
.head p { color: var(--text-2); font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem); margin: 0; text-wrap: pretty; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ compare */
.compare { --pos: 50%; position: relative; max-width: 1040px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; user-select: none;
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 100px -40px rgba(0, 0, 0, 0.9); container-type: inline-size; background: #000; }
.compare > .clean, .compare > .mess { position: absolute; inset: 0; }
.compare > .mess { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
[dir="rtl"] .compare > .mess { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 6; }
.handle { position: absolute; z-index: 5; top: 0; bottom: 0; inset-inline-start: var(--pos); width: 2px; margin-inline-start: -1px; background: #fff; box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); pointer-events: none; }
.handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #111; font-size: 20px; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); }
.compare:focus-within .handle::after { box-shadow: 0 0 0 4px rgba(121, 168, 255, 0.6), 0 8px 24px rgba(0, 0, 0, 0.5); }
.tag { position: absolute; z-index: 4; top: 3.2cqi; padding: 0.45em 0.95em; border-radius: 999px; font: 600 clamp(10px, 1.5cqi, 14px)/1 var(--font-display); pointer-events: none; }
.compare .mess .tag { top: 23%; inset-inline-start: 5%; background: rgba(0, 0, 0, 0.72); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.clean .tag { inset-inline-end: 3cqi; background: var(--brand); color: #fff; box-shadow: 0 8px 20px -6px rgba(111, 107, 255, 0.8); }

/* The cluttered page: light, loud, and in the way. */
.mess { background: #eef0f4; color: #20242c; font-size: clamp(6px, 1.25cqi, 13px); line-height: 1.3; }
.mess .top { height: 9%; display: flex; align-items: center; gap: 2%; padding-inline: 3%; background: #fff; box-shadow: 0 1px 0 #dde1e8; }
.mess .top .lg { width: 9%; height: 42%; border-radius: 0.4em; background: linear-gradient(90deg, #ff3d6e, #ff9a3d); }
.mess .top .ln { width: 6%; height: 16%; border-radius: 1em; background: #cfd4dd; }
.mess .top .bt { margin-inline-start: auto; width: 11%; height: 46%; border-radius: 0.4em; background: #16a34a; }
.mess .strip { height: 6.5%; margin: 1.6% 3% 0; border-radius: 0.5em; background: repeating-linear-gradient(-45deg, #ffd43b 0 12px, #ff6b6b 12px 24px); background-size: 200% 100%; animation: stripes 1.4s linear infinite; }
@keyframes stripes { to { background-position: 34px 0; } }
.mess .body { position: absolute; top: 20%; inset-inline: 3%; bottom: 13%; display: grid; grid-template-columns: 1fr 26%; gap: 2%; }
.mess .vid { position: relative; border-radius: 0.6em; overflow: hidden; background: #000; }
.mess .vid .scene { filter: brightness(0.45) saturate(0.6); }
.mess .vid .big { position: absolute; top: 50%; left: 50%; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, 0.9); }
.mess .vid .big::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 0.9em 0 0.9em 1.5em; border-color: transparent transparent transparent #222; }
.mess .redirect { position: absolute; inset-inline: 22%; bottom: 10%; display: flex; align-items: center; justify-content: center; gap: 0.6em; padding: 0.7em; border-radius: 0.5em; background: rgba(0, 0, 0, 0.75); color: #fff; font-weight: 700; }
.mess .spin { width: 1.2em; height: 1.2em; border-radius: 50%; border: 0.2em solid rgba(255, 255, 255, 0.3); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mess .side { display: grid; grid-template-rows: 1.6fr 1fr 1fr; gap: 6%; }
.mess .side i { border-radius: 0.6em; background: linear-gradient(135deg, #7c3aed, #ec4899, #f59e0b); background-size: 300% 300%; animation: gaudy 3s ease infinite; }
.mess .side i:nth-child(2) { background: linear-gradient(135deg, #06b6d4, #22c55e); background-size: 300% 300%; animation-delay: -1s; }
.mess .side i:nth-child(3) { background: #d4d8e0; animation: none; }
@keyframes gaudy { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.mess .modal { position: absolute; z-index: 2; top: 30%; inset-inline-start: 23%; width: 34%; padding: 2.2% 2.4%; border-radius: 0.8em; background: #fff; box-shadow: 0 1.5em 3em rgba(0, 0, 0, 0.35); animation: nag 4s ease-in-out infinite; }
.mess .modal b { display: block; font-size: 1.15em; margin-bottom: 0.4em; }
.mess .modal .row { display: flex; gap: 0.6em; margin-top: 0.9em; }
.mess .modal .row span { flex: 1; padding: 0.5em; border-radius: 0.4em; text-align: center; font-weight: 700; background: #e5e7eb; }
.mess .modal .row span:first-child { background: #2563eb; color: #fff; }
.mess .x { position: absolute; top: -0.7em; inset-inline-end: -0.7em; width: 1.8em; height: 1.8em; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9em; }
@keyframes nag { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4%); } }
.mess .toast { position: absolute; z-index: 2; top: 12%; inset-inline-end: 3%; display: flex; align-items: center; gap: 0.6em; padding: 0.7em 1em; border-radius: 0.6em; background: #111827; color: #fff; font-weight: 600; box-shadow: 0 0.8em 2em rgba(0, 0, 0, 0.3); animation: toast 5s var(--ease) infinite; }
.mess .toast em { font-style: normal; background: #ef4444; border-radius: 1em; padding: 0.1em 0.55em; font-size: 0.85em; }
@keyframes toast { 0%, 12% { transform: translateY(-160%); opacity: 0; } 20%, 80% { transform: none; opacity: 1; } 90%, 100% { transform: translateY(-160%); opacity: 0; } }
.mess .cookie { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; height: 11%; display: flex; align-items: center; justify-content: space-between; gap: 2%; padding-inline: 3%; background: #1f2937; color: #e5e7eb; }
.mess .cookie span:last-child { padding: 0.45em 1.4em; border-radius: 0.4em; background: #facc15; color: #111; font-weight: 700; }
.mess .bubble { position: absolute; z-index: 3; bottom: 15%; inset-inline-start: 2%; width: 5.4%; aspect-ratio: 1; border-radius: 50%; background: #22c55e; box-shadow: 0 0.6em 1.4em rgba(0, 0, 0, 0.3); animation: nag 1.6s ease-in-out infinite; }
.mess .bubble::after { content: "1"; position: absolute; top: -12%; inset-inline-end: -12%; width: 48%; aspect-ratio: 1; border-radius: 50%; background: #ef4444; color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 0.8em; }
.clean .pctl { font-size: clamp(7px, 1.3cqi, 13px); }

/* ------------------------------------------------------------------ steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.step .n { display: inline-block; margin: 22px 0 -12px; font: 700 0.9rem/1 var(--font-display); letter-spacing: 0.12em; background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.3rem; margin: 22px 0 8px; font-weight: 700; }
.step p { margin: 0; color: var(--text-2); font-size: 0.98rem; }
.mini { position: relative; height: 150px; border-radius: 14px; background: #0a0d13; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; container-type: inline-size; }
.mini-url { position: absolute; top: 16px; inset-inline: 16px; height: 36px; border-radius: 10px; display: flex; align-items: center; gap: 8px; padding-inline: 12px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-3); font-size: 0.85rem; direction: ltr; }
.mini-url .ico { width: 16px; height: 16px; }
.mini-url .typed { color: var(--text); overflow: hidden; white-space: nowrap; width: 0; animation: type 5s steps(18) infinite; }
.mini-url .caret { width: 2px; height: 16px; background: var(--blue-hi); animation: caret 1s steps(1) infinite; }
@keyframes type { 0%, 10% { width: 0; } 55%, 85% { width: 9.5em; } 100% { width: 9.5em; } }
@keyframes caret { 50% { opacity: 0; } }
.mini-lines { position: absolute; top: 66px; inset-inline: 16px; display: grid; gap: 9px; }
.mini-lines i { height: 9px; border-radius: 9px; background: rgba(255, 255, 255, 0.07); }
.mini-lines i:nth-child(2) { width: 82%; }
.mini-lines i:nth-child(3) { width: 64%; }
.mini-lines i:nth-child(4) { width: 74%; }
.scan { position: absolute; inset: 14px; border-radius: 10px; display: grid; grid-template-columns: 1fr 0.55fr; gap: 10px; }
.scan > i { border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.scan .target { position: relative; border-radius: 8px; background: linear-gradient(160deg, #1d1650, #5b2d7e 60%, #ff9a5a); box-shadow: 0 0 0 2px var(--shot); animation: lock 3.2s ease-in-out infinite; }
.scan .target::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(transparent 0%, rgba(255, 194, 74, 0.35) 50%, transparent 52%); background-size: 100% 220%; animation: sweep 2.4s linear infinite; }
@keyframes sweep { from { background-position: 0 -120%; } to { background-position: 0 120%; } }
@keyframes lock { 0%, 100% { box-shadow: 0 0 0 2px rgba(255, 194, 74, 0.9); } 50% { box-shadow: 0 0 0 5px rgba(255, 194, 74, 0.25); } }
.found { position: absolute; bottom: 12px; inset-inline-start: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.found span { padding: 3px 8px; border-radius: 7px; background: rgba(5, 7, 11, 0.8); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.72rem; font-weight: 600; opacity: 0; animation: chip 6s var(--ease) infinite; }
.found span:nth-child(2) { animation-delay: 0.3s; }
.found span:nth-child(3) { animation-delay: 0.6s; }
.found span:nth-child(4) { animation-delay: 0.9s; }
@keyframes chip { 0%, 20% { opacity: 0; transform: translateY(6px); } 30%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
.mini .scene { border-radius: 14px; }
.mini .pctl { font-size: 7.5px; padding: 18px 12px 10px; }
.mini .prow .time, .mini .prow .pill { display: none; }
.mini .badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; }
.mini .badges span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(5, 7, 11, 0.65); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(6px); }
.mini .badges .ico { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ spotlights */
.split { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.split + .split { margin-top: clamp(90px, 12vw, 160px); }
.split.alt .copy { order: 2; }
.split .copy p { color: var(--text-2); font-size: 1.08rem; margin: 0 0 22px; text-wrap: pretty; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.facts li b { color: var(--text); font-weight: 600; }
.facts .ico { margin-top: 0.3em; color: var(--blue-hi); width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.small-note { margin: 22px 0 0 !important; font-size: 0.9rem !important; color: var(--text-3) !important; }
.demo { position: relative; border-radius: 26px; padding: clamp(18px, 3vw, 30px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 100px -50px rgba(0, 0, 0, 0.9); overflow: hidden; isolation: isolate; }
.demo::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; top: -35%; inset-inline-end: -25%; background: radial-gradient(closest-side, rgba(111, 107, 255, 0.28), transparent); }
.demo-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: 0.9rem; color: var(--text-2); }
.demo-label b { color: var(--text); font-family: var(--font-display); font-weight: 600; }
.chip-sm { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: rgba(52, 211, 153, 0.12); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3); }
.chip-sm .ico { width: 14px; height: 14px; stroke-width: 2.4; }

/* Music: two layers, the voice kept, the music turned down. */
.eq { --music: 1; }
.eq[data-eq="1"] { --music: 0.55; }
.eq[data-eq="2"] { --music: 0.28; }
.eq[data-eq="3"] { --music: 0.05; }
.wave { position: relative; height: 170px; border-radius: 18px; background: #070a10; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.wave .row { position: absolute; inset-inline: 16px; display: flex; align-items: center; gap: 4px; }
.wave .row.v { top: 14px; height: 70px; }
.wave .row.m { bottom: 14px; height: 60px; transform: scaleY(var(--music)); opacity: calc(0.35 + var(--music) * 0.65); transition: transform 0.8s var(--ease), opacity 0.8s var(--ease); }
.wave .row i { flex: 1; min-width: 2px; height: 100%; border-radius: 4px; transform-origin: center; animation: level 1.2s ease-in-out infinite alternate; }
.wave .row.v i { background: linear-gradient(180deg, #9fc2ff, #4d8dff); }
.wave .row.m i { background: linear-gradient(180deg, #d2b8ff, #8b5cf6); }
@keyframes level { from { transform: scaleY(var(--a, 0.2)); } to { transform: scaleY(var(--b, 0.9)); } }
.wave .legend { position: absolute; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; color: var(--text-2); z-index: 2; background: rgba(7, 10, 16, 0.8); padding: 2px 8px; border-radius: 6px; }
.wave .legend.v { top: 6px; }
.wave .legend.m { bottom: 6px; }
.wave .legend::before { content: ""; width: 8px; height: 8px; border-radius: 3px; }
.wave .legend.v::before { background: var(--blue); }
.wave .legend.m::before { background: var(--violet); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.levels button { padding: 10px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); cursor: pointer; font-size: 0.9rem; font-weight: 600; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.levels button:hover { color: var(--text); }
.levels button[aria-pressed="true"] { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(111, 107, 255, 0.9); }
.eq-note { margin: 14px 0 0; min-height: 1.8em; color: var(--text-2); font-size: 0.95rem; text-align: center; }

/* Together: people, one clock, a chat nobody else can read. */
.room { display: grid; gap: 14px; }
.room-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.code { font: 600 0.95rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.08em; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); direction: ltr; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.person { padding: 12px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); text-align: center; font-size: 0.82rem; color: var(--text-2); }
.av { width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 0.95rem/1 var(--font-display); position: relative; }
.av::after { content: ""; position: absolute; bottom: 0; inset-inline-end: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px #0d1017; }
.person .dev { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 0.72rem; color: var(--text-3); margin-top: 2px; }
.person .dev .ico { width: 12px; height: 12px; }
.person .mbar { height: 4px; margin-top: 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.person .mbar i { display: block; height: 100%; width: 38%; background: var(--brand); border-radius: inherit; animation: together 14s linear infinite; }
@keyframes together { from { width: 38%; } to { width: 62%; } }
.chat { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: #070a10; box-shadow: inset 0 0 0 1px var(--line); min-height: 170px; align-content: end; }
.chat .m { max-width: 78%; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); font-size: 0.9rem; line-height: 1.45; opacity: 0; animation: msg 13s var(--ease) infinite; justify-self: start; }
.chat .m b { display: block; font-size: 0.74rem; font-weight: 600; color: var(--text-3); margin-bottom: 2px; }
.chat .m.me { justify-self: end; background: var(--brand); }
.chat .m.me b { color: rgba(255, 255, 255, 0.75); }
.chat .m:nth-child(1) { animation-delay: 0.4s; }
.chat .m:nth-child(2) { animation-delay: 1.9s; }
.chat .m:nth-child(3) { animation-delay: 3.4s; }
.chat .m:nth-child(4) { animation-delay: 4.9s; }

/* Offline: a shelf of what is kept, and the house sharing it. */
.shelf { display: grid; gap: 10px; }
.kept { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); }
.kept .th { aspect-ratio: 16 / 10; border-radius: 10px; }
.kept .t1 { background: linear-gradient(180deg, #120d33, #3d2166 55%, #d36a6f 80%, #0a0818 81%); }
.kept .t2 { background: radial-gradient(circle at 70% 35%, #7dd3fc, transparent 40%), linear-gradient(160deg, #0c4a6e, #082f49 60%, #0b1220); }
.kept .t3 { background: radial-gradient(circle at 30% 70%, #fda4af, transparent 45%), linear-gradient(200deg, #3b0764, #1e1b4b 70%); }
.kept b { display: block; font-size: 0.98rem; font-weight: 600; }
.kept small { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 0.8rem; }
.kept .st { font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.kept .ok { background: rgba(52, 211, 153, 0.12); color: var(--ok); }
.kept .dl { background: rgba(77, 141, 255, 0.14); color: var(--blue-hi); font-variant-numeric: tabular-nums; }
.kept .pb { grid-column: 2 / 4; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.kept .pb i { display: block; height: 100%; width: 64%; border-radius: inherit; background: var(--brand); animation: fillup 6s var(--ease) infinite; }
@keyframes fillup { from { width: 12%; } 80%, to { width: 100%; } }
.lan { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 8px; padding: 18px 10px 6px; }
.lan .node { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }
.lan .node .ico { width: 24px; height: 24px; }
.lan .node.hub { width: 68px; height: 68px; background: none; box-shadow: none; }
.lan .node.hub svg { width: 68px; height: 68px; filter: drop-shadow(0 10px 24px rgba(111, 107, 255, 0.7)); }
.lan .link { position: relative; flex: 0 1 70px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0 6px, transparent 6px 12px); overflow: visible; }
.lan .link::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 10px var(--blue-hi); animation: packet 2.2s linear infinite; }
.lan .link.r::after { animation-direction: reverse; animation-delay: -1.1s; }
@keyframes packet { from { inset-inline-start: 0; } to { inset-inline-start: calc(100% - 8px); } }
.lan-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 0; color: var(--text-3); font-size: 0.82rem; }
.lan-note .ico { width: 15px; height: 15px; }

/* Snapshot: the shutter, and the file it leaves. */
.shot { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px var(--line); container-type: inline-size; }
.shot .flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 6s ease-out infinite; z-index: 3; }
@keyframes flash { 0%, 58% { opacity: 0; } 60% { opacity: 0.85; } 72%, 100% { opacity: 0; } }
.shot .frame { position: absolute; inset: 7%; border: 2px solid rgba(255, 255, 255, 0.0); border-radius: 12px; z-index: 2; animation: framing 6s ease-in-out infinite; }
.shot .frame::before, .shot .frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--shot); }
.shot .frame::before { top: -3px; inset-inline-start: -3px; border-inline-end: 0; border-bottom: 0; border-start-start-radius: 10px; }
.shot .frame::after { bottom: -3px; inset-inline-end: -3px; border-inline-start: 0; border-top: 0; border-end-end-radius: 10px; }
@keyframes framing { 0%, 100% { transform: scale(1.04); opacity: 0.4; } 45%, 62% { transform: scale(1); opacity: 1; } }
.saved { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); animation: saved 6s var(--ease) infinite; }
.saved .ci { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 194, 74, 0.14); color: var(--shot); flex: none; }
.saved .ci .ico { width: 20px; height: 20px; }
.saved b { display: block; font-size: 0.92rem; font-weight: 600; direction: ltr; unicode-bidi: isolate; text-align: left; overflow-wrap: anywhere; }
[dir="rtl"] .saved b { text-align: right; }
.saved small { display: block; color: var(--text-3); font-size: 0.8rem; }
@keyframes saved { 0%, 60% { opacity: 0.35; transform: translateY(4px); } 68%, 96% { opacity: 1; transform: none; } 100% { opacity: 0.35; } }
.stepper { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.stepper > span { padding: 6px 12px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.8rem; font-weight: 600; color: var(--text-2); }

/* ------------------------------------------------------------------ grid of the rest */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(111, 107, 255, 0.16), transparent 45%); }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.card:hover::before { opacity: 1; }
.card .ci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(77, 141, 255, 0.28), rgba(139, 92, 246, 0.28)); box-shadow: inset 0 0 0 1px rgba(160, 150, 255, 0.35); }
.card .ci .ico { width: 22px; height: 22px; }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.card p { margin: 0; color: var(--text-2); font-size: 0.96rem; line-height: 1.7; }
.card .only { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 6px; font: 600 0.72rem/1.6 var(--font-body); color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line-2); vertical-align: middle; }

/* ------------------------------------------------------------------ numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: clamp(28px, 4vw, 44px); border-radius: 28px;
  background: linear-gradient(135deg, rgba(77, 141, 255, 0.1), rgba(139, 92, 246, 0.1)); box-shadow: inset 0 0 0 1px rgba(150, 140, 255, 0.22); }
.stat { text-align: center; }
.stat b { display: block; font: 800 clamp(2.4rem, 1.6rem + 3vw, 4rem)/1.1 var(--font-display); background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--text-2); font-size: 0.98rem; }

/* ------------------------------------------------------------------ download */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.platform { position: relative; padding: clamp(26px, 4vw, 40px); border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; isolation: isolate; }
.platform::after { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; inset-inline-end: -18%; bottom: -40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(77, 141, 255, 0.25), transparent); }
.platform:nth-child(2)::after { background: radial-gradient(closest-side, rgba(139, 92, 246, 0.28), transparent); }
.platform .pi { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 20px; }
.platform .pi .ico { width: 30px; height: 30px; }
.platform h3 { font-size: 1.7rem; margin-bottom: 4px; }
.platform .req { color: var(--text-3); font-size: 0.95rem; margin: 0 0 24px; }
.platform ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; color: var(--text-2); font-size: 0.97rem; }
.platform li { display: flex; gap: 10px; align-items: flex-start; }
.platform li .ico { color: var(--ok); margin-top: 0.35em; width: 1em; height: 1em; stroke-width: 2.4; }
.platform .meta { margin-top: 12px; color: var(--text-3); font-size: 0.85rem; }
.note { margin: 28px auto 0; max-width: 760px; text-align: center; color: var(--text-3); font-size: 0.95rem; }

/* ------------------------------------------------------------------ pricing */
.pricing { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: stretch; }
.trial { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 44px); border-radius: 28px; overflow: hidden; isolation: isolate; background: #0b0e16; }
.trial::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; padding: 1.5px; background: var(--brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.trial::after { content: ""; position: absolute; z-index: -1; inset: -40% -20% auto; height: 80%; background: radial-gradient(closest-side, rgba(111, 107, 255, 0.35), transparent); }
.trial .big { font: 800 clamp(4.5rem, 3rem + 6vw, 7rem)/1 var(--font-display); background: var(--brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trial h3 { font-size: 1.6rem; margin: 6px 0 12px; }
.trial p { color: var(--text-2); margin: 0 0 26px; }
.plans { padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line-2); }
.plans h3 { font-size: 1.35rem; margin-bottom: 18px; }
.plan-list { display: grid; gap: 10px; margin-bottom: 24px; }
.plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); }
.plan b { font: 700 1.08rem/1.3 var(--font-display); }
.plan .pr { font: 700 1.15rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.plan .pr small { display: block; color: var(--text-3); font: 500 0.8rem/1.4 var(--font-body); text-align: end; }
.plan .best { margin-inline-start: 10px; padding: 3px 10px; border-radius: 999px; font: 600 0.75rem/1.5 var(--font-body); color: #fff; background: var(--brand); vertical-align: middle; }
.plan .soon { color: var(--text-3); font-size: 0.9rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 10px; color: var(--text-2); font-size: 0.97rem; }
.ticks li .ico { flex: none; margin-top: 0.35em; width: 1.05em; height: 1.05em; color: var(--ok); stroke-width: 2.4; }

/* ------------------------------------------------------------------ faq */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.3s, box-shadow 0.3s; }
.faq details[open] { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font: 600 1.08rem/1.5 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .ans { padding: 0 24px 22px; color: var(--text-2); }
.faq .ans p { margin: 0; }
.faq .ans a { color: var(--blue-hi); }

/* ------------------------------------------------------------------ closing */
.final { position: relative; padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px); border-radius: 36px; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 50% 0%, rgba(111, 107, 255, 0.35), transparent 60%), #0a0d16; box-shadow: inset 0 0 0 1px rgba(150, 140, 255, 0.25); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%); }
.logo-big { width: 84px; height: 84px; margin: 0 auto 26px; filter: drop-shadow(0 16px 40px rgba(111, 107, 255, 0.7)); }
.final .logo-big { animation: hover 5s ease-in-out infinite; }
@keyframes hover { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-3deg); } }
.final h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.9rem); line-height: 1.45; }
html[lang="en"] .final h2 { line-height: 1.1; }
.final p { color: var(--text-2); font-size: 1.15rem; margin: 14px 0 30px; }

/* ------------------------------------------------------------------ footer */
.foot { margin-top: clamp(80px, 10vw, 130px); padding-block: 56px 40px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.93rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand { margin-bottom: 14px; color: var(--text); }
.foot p { margin: 0; max-width: 420px; }
.foot h4 { margin: 0 0 12px; font: 600 0.95rem/1.4 var(--font-display); color: var(--text); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--text-2); transition: color 0.2s; }
.foot a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.86rem; }

/* ------------------------------------------------------------------ legal pages */
.doc { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px)); }
.doc-head { max-width: 820px; margin: 0 auto 40px; }
.doc-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); line-height: 1.45; margin: 16px 0 8px; }
html[lang="en"] .doc-head h1 { line-height: 1.1; }
.doc-head p { color: var(--text-3); margin: 0; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; max-width: 820px; margin: 0 auto 36px; }
.doc-tabs a { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.93rem; }
.doc-tabs a[aria-current="page"] { color: #fff; background: var(--brand); box-shadow: none; }
.prose { max-width: 820px; margin: 0 auto; padding: clamp(24px, 4vw, 48px); border-radius: 26px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
.prose h2 { font-size: 1.35rem; font-weight: 700; color: var(--text); margin: 38px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.01rem; }
.prose ul { padding-inline-start: 1.3em; display: grid; gap: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--blue-hi); }
.prose .callbox { margin: 22px 0; padding: 18px 20px; border-radius: 16px; background: rgba(77, 141, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(77, 141, 255, 0.25); color: var(--text); }
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.lost h1 { font-size: clamp(4rem, 3rem + 8vw, 9rem); line-height: 1; }
.lost p { color: var(--text-2); margin: 14px 0 28px; }

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1100px) {
  .c3 { inset-inline-start: -2%; }
  .c1 { inset-inline-start: -2%; }
}
@media (max-width: 960px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px var(--gutter) 22px; margin: 0;
    background: rgba(5, 7, 11, 0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line), 0 30px 60px rgba(0, 0, 0, 0.6);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s; }
  .nav-links a { padding: 14px; font-size: 1.05rem; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .menu-open .nav { background: rgba(5, 7, 11, 0.96); }
  .burger { display: inline-flex; }
  .nav-end { margin-inline-start: auto; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .split, .split.alt { grid-template-columns: 1fr; }
  .split.alt .copy { order: 0; }
  .split .copy { text-align: center; }
  .split .copy .facts { max-width: 520px; margin-inline: auto; text-align: start; }
  .grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .pricing, .platforms { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav .btn { display: none; }
  .callout { font-size: 0.78rem; padding: 7px 10px 7px 7px; gap: 8px; border-radius: 13px; }
  .callout small { display: none; }
  .callout .ci { width: 28px; height: 28px; border-radius: 9px; }
  .callout .ci .ico { width: 15px; height: 15px; }
  .c1 { top: auto; bottom: -14%; inset-inline-start: 2%; }
  .c2 { top: -9%; inset-inline-end: 2%; }
  .c3 { display: none; }
  .phone { width: 42%; bottom: -18%; inset-inline-end: -2%; border-radius: 18px; padding: 5px; }
  .phone-screen { border-radius: 14px; }
  .stage { margin-bottom: 40px; }
  .titlebar { height: 30px; font-size: 10px; }
  .titlebar .tb-tab:not(.on) { display: none; }
  .tb-ctl i { width: 30px; }
  .grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .levels button { font-size: 0.8rem; padding: 9px 2px; }
  .kept { grid-template-columns: 60px 1fr auto; gap: 10px; }
  .foot-in { grid-template-columns: 1fr; }
  .trust { gap: 6px 16px; font-size: 0.86rem; }
  .handle::after { width: 38px; height: 38px; margin: -19px 0 0 -19px; font-size: 17px; }
  .compare { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .stage .callout, .stage .phone, .stage .window { opacity: 1; }
  .chat .m, .pchat .m, .found span { opacity: 1; }
  .mini-url .typed { width: auto; }
}
