/* Swift Speak - product page v2 (demo). Builds on assets/css/style.css. */

:root {
  --v2-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  --v2-line: rgba(255, 255, 255, 0.09);
  --v2-hi: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --v2-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --v2-out: cubic-bezier(0.16, 1, 0.3, 1);
  --v2-orange: #ff8a1f;
  --v2-violet: #8b5cf6;
  --v2-sky: #33c7f0;
  interpolate-size: allow-keywords;
}

.v2-section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.v2-section--tight { padding-block: clamp(56px, 8vw, 110px); }
.v2-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.v2-head--center { margin-inline: auto; text-align: center; }
.v2-head--center .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.v2-h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; margin-top: 14px; }
.v2-muted { color: #5f6b86; }
.v2-head .lead { max-width: 640px; }
.v2-head--center .lead { margin-inline: auto; }

/* Scroll reveal: blur + rise */
.v2-reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--v2-out), transform 1s var(--v2-out), filter 1s var(--v2-out); }
.v2-reveal--d1 { transition-delay: .1s; }
.v2-reveal--d2 { transition-delay: .2s; }
.v2-reveal.is-in { opacity: 1; transform: none; filter: none; }

.v2-caret { display: inline-block; width: 2px; height: 1.05em; margin-inline-start: 2px; vertical-align: -0.15em; background: var(--v2-orange); border-radius: 2px; animation: v2-blink 1.05s steps(1) infinite; }
@keyframes v2-blink { 50% { opacity: 0; } }
.v2-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(60, 207, 110, .6); animation: v2-ping 2s infinite; flex: none; }
@keyframes v2-ping { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 110, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(60, 207, 110, 0); } }

/* Button sheen */
.v2-shine { position: relative; overflow: hidden; isolation: isolate; }
.v2-shine::after { content: ""; position: absolute; inset: -2px; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%); transform: translateX(120%); animation: v2-sheen 5.5s var(--v2-out) 2s infinite; z-index: -1; mix-blend-mode: soft-light; }
@keyframes v2-sheen { 0% { transform: translateX(120%); } 22%, 100% { transform: translateX(-120%); } }

.kbd { display: inline-flex; gap: 4px; direction: ltr; vertical-align: 1px; }
.kbd kbd { font-family: var(--font); font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--surface-3); border: 1px solid var(--border-strong); border-bottom-width: 2px; color: var(--text); }

/* ============ Hero ============ */
.v2-hero { position: relative; padding-top: calc(var(--header-h) + clamp(16px, 3vw, 36px)); overflow: hidden; isolation: isolate; background: radial-gradient(55% 60% at 50% 0%, rgba(255, 106, 31, .17), transparent 62%), radial-gradient(60% 55% at 50% 92%, rgba(124, 58, 237, .2), transparent 62%), linear-gradient(180deg, #090e1c, #070b17 70%, var(--bg)); }
.v2-aurora { display: none; }
.v2-aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.v2-aurora i:nth-child(1) { width: 34vw; height: 34vw; background: #4f46e5; top: 6%; inset-inline-end: 10%; animation: v2-drift1 22s ease-in-out infinite alternate; }
.v2-aurora i:nth-child(2) { width: 30vw; height: 30vw; background: #7c3aed; top: 26%; inset-inline-end: 24%; opacity: .8; animation: v2-drift2 26s ease-in-out infinite alternate; }
.v2-aurora i:nth-child(3) { width: 18vw; height: 18vw; background: #c2410c; top: 40%; inset-inline-end: 6%; opacity: .45; animation: v2-drift3 30s ease-in-out infinite alternate; }
@keyframes v2-drift1 { to { transform: translate(-4vw, 5vw) scale(1.1); } }
@keyframes v2-drift2 { to { transform: translate(5vw, -4vw) scale(.9); } }
@keyframes v2-drift3 { to { transform: translate(-3vw, 4vw) scale(1.15); } }
.v2-dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.3px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); }
.v2-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, var(--bg)); z-index: -1; }

.v2-hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.v2-hero__copy .breadcrumbs { margin-bottom: 22px; }
.v2-announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; padding-inline: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--v2-line); box-shadow: var(--v2-hi); font-size: 14.5px; color: var(--text-2); transition: border-color .3s, background-color .3s; }
.v2-announce:hover { border-color: rgba(255, 154, 31, .5); background: rgba(255, 138, 31, .08); color: var(--text); }
.v2-announce .i { width: 16px; height: 16px; transition: transform .3s var(--v2-out); }
.v2-announce:hover .i { transform: translateX(-4px); }
.v2-announce__tag { padding: 2px 10px; border-radius: 999px; background: var(--grad-swift); color: #fff; font-weight: 700; font-size: 13px; }
.v2-hero__name { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: var(--text-2); }
.v2-hero__name img { width: 40px; height: 40px; border-radius: 11px; }
.v2-display { font-size: clamp(46px, 7.4vw, 92px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin-top: 14px; }
/* The hero's <h1> wraps the product name and the headline, so the heading a search engine reads carries
   the name. It adds no look of its own: both parts keep their own classes (README, "כותרת העמוד (H1)"). */
.v2-hero__title { margin: 0; font: inherit; letter-spacing: inherit; }
.v2-hero__title > .v2-display { display: block; }
/* English words are wider than Hebrew ones: the product heroes keep two lines at a smaller size */
html[lang="en"] main:not(.s2) .v2-display { font-size: clamp(38px, 4.2vw, 60px); }
.v2-word { display: inline-block; }
.v2-word--grad { background: linear-gradient(270deg, #ffb547 0%, #ff8a1f 45%, #f2552c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
@keyframes v2-grad { to { background-position: 100% 0; } }
.v2-hero__copy .lead { max-width: 560px; }
.v2-hero__copy .btn-row { margin-top: 34px; }
.v2-hero__meta { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14.5px; }
.v2-hero__meta li { display: flex; align-items: center; gap: 8px; }
.v2-hero__meta .i { width: 17px; height: 17px; color: var(--text-2); }

/* entrance */
.v2-in, .v2-word { opacity: 0; transform: translateY(22px); filter: blur(10px); animation: v2-enter 1.1s var(--v2-out) forwards; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
@keyframes v2-enter { to { opacity: 1; transform: none; filter: none; } }

/* hero stage */
.v2-hero__stage { position: relative; perspective: 1400px; opacity: 0; animation: v2-stage 1.4s var(--v2-out) .5s forwards; }
@keyframes v2-stage { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
.v2-device { position: relative; transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -6deg)); transform-style: preserve-3d; transition: transform .8s var(--v2-out); }
.v2-device::before { content: ""; position: absolute; inset: 8% 6% -8%; background: radial-gradient(closest-side, rgba(255, 106, 43, .35), rgba(124, 58, 237, .25) 55%, transparent); filter: blur(40px); z-index: -1; }
.v2-win { border-radius: 18px; background: linear-gradient(180deg, #121a30, #0b1122); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4), var(--v2-hi); overflow: hidden; }
.v2-win__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--v2-line); font-size: 13.5px; color: var(--muted); }
.v2-win__title { display: flex; align-items: center; gap: 8px; }
.v2-win__title .i { width: 15px; height: 15px; }
.v2-win__ctl { display: flex; gap: 14px; }
.v2-win__ctl i { width: 10px; height: 10px; border: 1.5px solid #5d6884; border-radius: 2px; }
.v2-win__ctl i:first-child { border: 0; border-top: 1.5px solid #5d6884; border-radius: 0; height: 0; margin-top: 5px; }
.v2-win__ctl i:last-child { border: 0; position: relative; }
.v2-win__ctl i:last-child::before, .v2-win__ctl i:last-child::after { content: ""; position: absolute; inset: 4px -1px; height: 1.5px; background: #5d6884; transform: rotate(45deg); }
.v2-win__ctl i:last-child::after { transform: rotate(-45deg); }
.v2-mail { padding: 8px 22px 26px; min-height: 290px; }
.v2-mail__row { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--v2-line); font-size: 15px; }
.v2-mail__row span { color: var(--muted); width: 42px; }
[lang="en"] .v2-mail__row span { width: 58px; flex: none; } /* "Subject" is longer than "נושא" */
.v2-mail__row b { font-weight: 500; }
.v2-type { margin: 18px 0 0; font-size: 17.5px; line-height: 1.75; min-height: 5.4em; }
.v2-type__final { color: var(--text); }
.v2-type__interim { color: #7f8aa6; transition: color .5s; }
.v2-type__final .v2-fresh { animation: v2-settle .7s var(--v2-out); }
@keyframes v2-settle { from { color: #7f8aa6; text-shadow: 0 0 14px rgba(255, 154, 31, .8); } }

.v2-dock { position: absolute; inset-inline-start: -26px; bottom: -30px; display: flex; align-items: center; gap: 2px; flex-direction: row-reverse; transform: translateZ(60px); }

/* The floating button, as the app paints it: a 60px glass disc, every arc on its edge over a faint track,
   the logo at 0.7 of the disc. 68px box = disc + room for the 4px arcs. */
.v2-fb { --top: rgb(29, 41, 68); --bottom: rgb(7, 15, 32); position: relative; width: 68px; height: 68px; flex: none; display: grid; place-items: center; }
.v2-fb__disc { position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle 28px at 50% 26%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .024) 65%, transparent 100%), linear-gradient(180deg, var(--top), var(--bottom)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 2.5px 9px rgba(0, 0, 0, .42), inset 0 1.2px 0 rgba(255, 255, 255, .18); transition: background .3s; }
.v2-fb[data-state="rec"] { --top: rgb(94, 44, 66); --bottom: rgb(72, 18, 30); }
.v2-fb__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.v2-fb__ring circle { fill: none; stroke-linecap: round; transition: opacity .25s; }
.v2-fb__ring .track { stroke: rgba(255, 255, 255, .15); stroke-width: 4; opacity: 0; }
.v2-fb__ring .lvl { stroke: #f47174; stroke-width: 4; stroke-dasharray: 0 188.5; opacity: 0; transition: stroke-dasharray .09s ease-out, stroke-dashoffset .09s ease-out, opacity .2s; }
.v2-fb__ring .arc { stroke: #a77bff; stroke-width: 3.2; stroke-dasharray: 188.5; stroke-dashoffset: 188.5; opacity: 0; transition: stroke-dashoffset .3s linear, opacity .25s; }
.v2-fb__ring .ok { stroke: #3fb950; stroke-width: 4; stroke-dasharray: 188.5; stroke-dashoffset: 188.5; opacity: 0; }
.v2-fb__ring .drop { stroke: #4ca6ff; stroke-width: 2.2; stroke-dasharray: 6.33 5.18; opacity: 0; animation: v2-drop 6s linear infinite; }
@keyframes v2-drop { to { stroke-dashoffset: -207.35; } }
.v2-fb__logo { position: relative; width: 42px; height: 42px; object-fit: contain; transition: opacity .25s, transform .3s var(--v2-out); }
.v2-fb__icon { position: absolute; width: 28px; height: 28px; fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .25s, transform .3s var(--v2-out); }
.v2-fb__icon--ok { stroke-width: 2.6; transform: scale(.6); }
.v2-fb__icon--drop { width: 30px; height: 30px; stroke-width: 1.6; }
.v2-fb[data-state="rec"] .track, .v2-fb[data-state="rec"] .lvl, .v2-fb[data-state="queue"] .track, .v2-fb[data-state="queue"] .arc { opacity: 1; }
.v2-fb[data-state="drop"] .drop, .v2-fb[data-state="drop"] .v2-fb__icon--drop { opacity: 1; }
.v2-fb[data-state="drop"] .v2-fb__logo, .v2-fb[data-state="done"] .v2-fb__logo { opacity: 0; transform: scale(.6); }
.v2-fb[data-state="done"] .ok { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .45s var(--v2-out); }
.v2-fb[data-state="done"] .v2-fb__icon--ok { opacity: 1; transform: none; }
.v2-fb--lg { transform: scale(1.65); margin-block: 26px; }

/* The label beside it (ui/progress_pill.py): 38px, the stage in bold, the detail, Stop, and the fold chevron. */
.v2-pill { display: flex; align-items: center; gap: 8px; height: 38px; padding-inline: 14px 6px; border-radius: 19px; background: rgba(15, 23, 42, .94); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 3px 10px rgba(0, 0, 0, .3), 0 10px 24px -10px rgba(0, 0, 0, .7); color: #e6eaf2; white-space: nowrap; transition: opacity .16s, transform .16s cubic-bezier(.33, 1, .68, 1); }
.v2-pill__title { font-size: 13.5px; font-weight: 600; }
/* English titles are longer: on the smallest phones the title gives way rather than widening the page */
@media (max-width: 400px) { [lang="en"] .v2-pill { min-width: 0; gap: 6px; } [lang="en"] .v2-pill__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; } }
.v2-pill__meta { font-size: 12.5px; color: #9aa5b8; font-variant-numeric: tabular-nums; direction: ltr; }
.v2-pill__stop { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding-inline: 10px; border-radius: 13px; background: #232f45; font-size: 12.5px; font-weight: 600; }
.v2-pill__stop::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: #f85149; }
.v2-pill__fold { width: 26px; height: 26px; display: grid; place-items: center; color: #9aa5b8; }
.v2-pill__fold svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* English: the floating button looks as on the Hebrew pages (button in the window's corner, its label to the left);
   only the label's text reads left to right */
[lang="en"] .v2-dock { inset-inline-start: auto; right: -26px; flex-direction: row; }
[lang="en"] .v2-pill .v2-pill__fold svg { transform: none; }
.v2-dock[data-state="idle"] .v2-pill, .v2-dock[data-state="done"] .v2-pill { opacity: 0; transform: translateX(-8px); }

.v2-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(16, 23, 43, .78); border: 1px solid rgba(255, 255, 255, .11); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .75), var(--v2-hi); font-size: 13.5px; color: var(--text-2); white-space: nowrap; animation: v2-bob 7s ease-in-out infinite; }
.v2-float .i { width: 16px; height: 16px; color: #ffb020; }
.v2-float--a { top: 22%; inset-inline-end: -26px; }
.v2-float--b { top: -20px; inset-inline-start: 12%; animation-delay: -2.4s; }
.v2-float--c { bottom: 16%; inset-inline-end: -40px; animation-delay: -4.6s; }
.v2-float--c .i { color: var(--v2-sky); }
/* English: the top badge stays where it is on the Hebrew page; the side badges sit by the ends of the lines, as in Hebrew */
[lang="en"] .v2-float--b { inset-inline-start: auto; right: 12%; }
@keyframes v2-bob { 50% { transform: translateY(-10px); } }

.v2-stats { margin: clamp(72px, 9vw, 120px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--v2-line); border-bottom: 1px solid var(--v2-line); }
.v2-stats > div { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 30px clamp(14px, 2vw, 28px); border-inline-start: 1px solid var(--v2-line); }
.v2-stats dd { order: -1; }
.v2-stats > div:first-child { border-inline-start: 0; }
.v2-stats dt { color: var(--text-2); font-size: clamp(12.5px, 3.6vw, 15px); line-height: 1.5; white-space: nowrap; }
[lang="en"] .v2-stats dt { font-size: clamp(12px, 3.3vw, 15px); } /* English labels are longer; still one line on small phones */
.v2-stats dt small { display: block; color: #6b7690; font-size: .9em; }
.v2-stats dd { margin: 0; font-size: clamp(34px, 4vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #9aa6c2); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ Scroll story ============ */
.v2-story { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); }
.v2-story__steps { list-style: none; padding: 0; margin: 0; grid-column: 1; grid-row: 1; }
.v2-story__sticky { grid-column: 2; grid-row: 1; position: relative; }
.v2-story__stage { position: sticky; top: calc(var(--header-h) + 6vh); height: min(78vh, 640px); border-radius: 28px; background: radial-gradient(120% 80% at 50% 0%, rgba(124, 58, 237, .14), transparent 60%), linear-gradient(180deg, #0d1427, #080d1b); border: 1px solid var(--v2-line); box-shadow: var(--v2-hi), 0 40px 100px -40px rgba(0, 0, 0, .9); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; align-items: center; justify-items: center; padding: clamp(24px, 4vw, 44px); }
.v2-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--v2-out); }
.v2-step:first-child { min-height: 58vh; justify-content: flex-start; padding-top: 10vh; }
.v2-step:last-child { min-height: 64vh; }
.v2-step.is-active { opacity: 1; }
.v2-step__n { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--v2-orange); }
.v2-step h3 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }
.v2-step p { color: var(--text-2); font-size: clamp(17px, 1.6vw, 19.5px); max-width: 440px; margin: 14px 0 0; }

.v2-keys { direction: ltr; display: flex; align-items: center; gap: 10px; transition: opacity .6s, transform .6s var(--v2-out), filter .6s; }
.v2-key { min-width: 64px; padding: 14px 16px 18px; border-radius: 14px; text-align: center; font-weight: 600; font-size: 16px; direction: ltr; background: linear-gradient(180deg, #232d48, #161e33); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 6px 0 #0a0f1d, 0 10px 24px -6px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .14); transition: transform .18s, box-shadow .18s, background .3s, color .3s; }
.v2-plus { color: #4b5671; }
.v2-keys.is-down .v2-key { transform: translateY(5px); box-shadow: 0 1px 0 #0a0f1d, 0 4px 12px -4px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 26px -4px rgba(255, 138, 31, .7); background: linear-gradient(180deg, #3a2a22, #22171a); color: #ffcf9a; }
.v2-listen { position: relative; width: 100%; display: grid; place-items: center; transition: opacity .6s, transform .6s var(--v2-out), filter .6s; }
.v2-wave { position: absolute; inset-inline: 0; top: 50%; height: 120px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; gap: 4px; z-index: -0; mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.v2-wave i { width: 4px; height: 6%; border-radius: 4px; background: linear-gradient(180deg, #ffb020, #ff5a4e); opacity: .9; transition: height .1s linear; }
.v2-wave i:nth-child(n) { flex: none; }
.v2-listen .v2-fb { z-index: 1; }
.v2-listen .v2-wave .gap { width: 150px; background: none; }
.v2-doc { width: min(100%, 520px); border-radius: 16px; background: #f7f8fb; color: #111827; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); overflow: hidden; position: relative; transition: opacity .6s, transform .6s var(--v2-out), filter .6s; }
.v2-doc__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9ecf3; font-size: 12.5px; color: #4b5563; }
.v2-doc__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd5e1; }
.v2-doc__bar span { margin-inline-start: 8px; }
.v2-doc .v2-type { margin: 0; padding: 18px 20px 22px; font-size: 17px; min-height: 4.6em; color: #111827; }
.v2-doc .v2-type__final { color: #111827; }
.v2-doc .v2-type__interim { color: #9aa3b5; }
.v2-doc .v2-caret { background: #ff6a2b; }
.v2-doc mark { background: none; color: inherit; background-image: linear-gradient(90deg, rgba(255, 176, 32, .5), rgba(139, 92, 246, .45)); background-size: 0 100%; background-repeat: no-repeat; border-radius: 4px; padding: 0 2px; transition: background-size .8s var(--v2-out) .2s; }
.v2-doc mark.is-on { background-size: 100% 100%; }
.v2-doc__done { position: absolute; inset-inline-end: 14px; top: 6px; display: flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--v2-spring); }
.v2-doc__done .i { width: 14px; height: 14px; }
.v2-story__stage[data-step="3"] .v2-doc__done.is-on { opacity: 1; transform: none; }

/* focus: the active part is lit, the rest recedes */
.v2-story__stage > * { opacity: .32; filter: saturate(.4) blur(.5px); transform: scale(.96); }
.v2-story__stage[data-step="0"] .v2-keys,
.v2-story__stage[data-step="1"] .v2-listen,
.v2-story__stage[data-step="2"] .v2-doc,
.v2-story__stage[data-step="3"] .v2-doc { opacity: 1; filter: none; transform: scale(1.04); }
.v2-story__stage[data-step="2"] .v2-listen, .v2-story__stage[data-step="0"] .v2-listen { opacity: .5; }

/* ============ Bento ============ */
.v2-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.v2-card { --mx: 50%; --my: 50%; position: relative; isolation: isolate; border-radius: 26px; padding: 28px; background: var(--v2-glass), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi); overflow: hidden; display: flex; flex-direction: column; gap: 22px; }
.v2-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 154, 31, .7), rgba(139, 92, 246, .45) 35%, transparent 60%); -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); opacity: 0; transition: opacity .4s; pointer-events: none; }
.v2-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 255, 255, .045), transparent 45%); opacity: 0; transition: opacity .4s; }
.v2-card:hover::before, .v2-card:hover::after { opacity: 1; }
.v2-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.v2-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 8px 0 0; }
.v2-card__text { margin-top: auto; }
.v2-card--apps { grid-column: span 2; grid-row: span 2; }
.v2-card--apps .v2-card__text { margin-top: 0; }
.v2-card--translate { grid-column: span 2; }
.v2-card--noise { grid-column: span 2; }
.v2-card--terms { grid-column: span 2; }

.v2-apps { position: relative; flex: 1; min-height: 300px; margin-top: 10px; perspective: 1000px; }
.v2-app { --i: 0; position: absolute; inset-inline: 4%; top: 12%; height: 80%; border-radius: 16px; background: linear-gradient(180deg, #151e36, #0e1528); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); transform: translateY(calc(var(--i) * -26px)) scale(calc(1 - var(--i) * .07)); opacity: calc(1 - var(--i) * .3); z-index: calc(10 - var(--i)); transition: transform .9s var(--v2-out), opacity .9s var(--v2-out); overflow: hidden; }
.v2-app.is-leaving { transform: translateY(60px) scale(.94); opacity: 0; }
.v2-app__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--v2-line); }
.v2-app__bar i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.v2-app__body { padding: 16px; font-size: 16px; line-height: 1.7; color: var(--text); }
.v2-app__body .v2-caret { background: var(--c); }
.v2-app__body { display: flex; flex-direction: column; gap: 11px; height: calc(100% - 44px); }
.v2-sk { display: block; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .07); flex: none; }
.v2-sk--title { height: 14px; background: rgba(255, 255, 255, .14); margin-bottom: 4px; }
.v2-sk--link { background: color-mix(in srgb, var(--c) 45%, transparent); height: 10px; }
.v2-app__line { margin: 6px 0 0; font-size: 17px; }
.v2-msg { display: block; height: 34px; border-radius: 14px 14px 14px 4px; background: rgba(255, 255, 255, .07); flex: none; }
.v2-msg--me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: rgba(34, 197, 94, .22); }
.v2-app__input { margin: auto 0 0; display: flex; align-items: center; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--v2-line); min-height: 46px; }
.v2-app__input b { margin-inline-start: auto; padding: 4px 12px; border-radius: 999px; background: var(--c); color: #04120a; font-size: 13px; }
.v2-app__search { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(245, 158, 11, .35); min-height: 46px; }
.v2-app__search .i { width: 16px; height: 16px; color: var(--muted); flex: none; }
.v2-code { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 22px; font: 14.5px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.v2-code em { font-style: normal; color: #4b5671; width: 16px; text-align: right; font-size: 12.5px; }
.v2-code i { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .12); }
.v2-code--live .v2-app__text { color: #86efac; }

.v2-offline { display: grid; gap: 12px; }
.v2-toggle { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-line); font-size: 15px; }
.v2-toggle .i { width: 18px; height: 18px; color: var(--muted); }
.v2-switch { margin-inline-start: auto; width: 42px; height: 24px; border-radius: 999px; background: var(--green); position: relative; transition: background .4s; }
.v2-switch i { position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: inset-inline-start .4s var(--v2-spring); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.v2-offline.is-off .v2-switch { background: #3a4561; }
.v2-offline.is-off .v2-switch i { inset-inline-start: 21px; }
.v2-offline__status { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2); padding-inline: 4px; }

.v2-marquee { display: grid; gap: 10px; margin-inline: -28px; mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); overflow: hidden; direction: ltr; }
.v2-marquee__row { display: flex; gap: 10px; width: max-content; animation: v2-marq 28s linear infinite; }
.v2-marquee__row--rev { animation-direction: reverse; animation-duration: 34s; }
.v2-marquee__row span { padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .045); border: 1px solid var(--v2-line); font-size: 15px; color: var(--text-2); white-space: nowrap; }
.v2-marquee__row span:nth-child(8n+1) { color: #fff; border-color: rgba(255, 154, 31, .45); background: rgba(255, 138, 31, .1); }
@keyframes v2-marq { to { transform: translateX(-50%); } }

.v2-card--translate { flex-direction: row; align-items: center; gap: 28px; }
.v2-card--translate .v2-card__text { margin: 0; flex: 1; }
.v2-translate { flex: 1.2; display: grid; gap: 12px; }
.v2-bubble { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: rgba(255, 138, 31, .1); border: 1px solid rgba(255, 154, 31, .3); font-size: 15.5px; min-height: 50px; }
.v2-bubble .i { width: 17px; height: 17px; color: #ffb020; flex: none; }
.v2-translate__he { transition: opacity .4s; }
.v2-translate__arrow { width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; justify-self: center; transform: rotate(-90deg); }
.v2-typed { padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-line); font-size: 15.5px; min-height: 50px; text-align: left; }

.v2-card--noise { flex-direction: row; align-items: stretch; gap: 28px; }
.v2-card--noise .v2-card__text { flex: 1; align-self: flex-end; }
.v2-noise { flex: 1.3; display: grid; gap: 12px; align-content: center; }
.v2-noise__bars { display: flex; align-items: center; gap: 3px; height: 70px; }
.v2-noise__bars i { flex: 1; height: 8%; border-radius: 3px; background: #2b3550; transition: height .12s linear, background-color .2s; }
.v2-noise__bars i.is-voice { background: linear-gradient(180deg, #ffb020, #ff5a4e); }
.v2-noise__legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.v2-noise__legend span { display: flex; align-items: center; gap: 6px; }
.v2-noise__legend i { width: 10px; height: 10px; border-radius: 3px; background: #2b3550; }
.v2-noise__legend i.is-voice { background: #ff7a3a; }
.v2-noise__out { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-line); font-size: 15px; min-height: 46px; }

.v2-card--terms { flex-direction: row; align-items: center; gap: 28px; }
.v2-card--terms .v2-card__text { flex: 1; margin: 0; }
.v2-terms { flex: 1.3; display: grid; gap: 14px; }
.v2-terms__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-terms__chips span { padding: 6px 12px; border-radius: 10px; font-size: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-line); color: var(--text-2); transition: border-color .4s, color .4s, background-color .4s, box-shadow .4s; }
.v2-terms__chips span.is-on { border-color: rgba(139, 92, 246, .7); color: #fff; background: rgba(139, 92, 246, .16); box-shadow: 0 0 20px -4px rgba(139, 92, 246, .7); }
.v2-terms__line { margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--v2-line); font-size: 15.5px; min-height: 50px; }
.v2-terms__line mark { background: none; color: #fff; font-weight: 600; background-image: linear-gradient(90deg, #ffb020, #8b5cf6); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; }

/* ============ File transcription film ============ */
.v2-files { overflow: hidden; }
.v2-files__glow { position: absolute; inset: 10% 10% auto; height: 70%; background: radial-gradient(closest-side, rgba(124, 58, 237, .22), transparent), radial-gradient(closest-side at 30% 60%, rgba(255, 106, 31, .14), transparent); filter: blur(30px); z-index: -1; }
.v2-film { position: relative; max-width: 1060px; margin-inline: auto; }
.v2-film__chapters { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.v2-film__chapters button { position: relative; display: grid; gap: 8px; min-width: 120px; padding: 8px 6px; font-size: 14.5px; color: var(--muted); text-align: center; transition: color .3s; }
.v2-film__chapters button.is-on { color: var(--text); }
.v2-film__bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.v2-film__bar i { display: block; height: 100%; width: 0; background: var(--grad-swift); border-radius: inherit; }
.v2-film__chapters button.is-done .v2-film__bar i { width: 100%; }
.v2-film__chapters .v2-film__pause { min-width: 0; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid var(--v2-line); color: var(--text-2); align-self: end; padding: 0; }
.v2-film__pause .i { width: 15px; height: 15px; }
.v2-film__pause .v2-ico-play, .v2-film.is-paused .v2-ico-pause { display: none; }
.v2-film.is-paused .v2-ico-play { display: block; }

.v2-film__stage { position: relative; height: 600px; border-radius: 30px; background: linear-gradient(180deg, #0e1529, #080c19); border: 1px solid var(--v2-line); box-shadow: var(--v2-hi), 0 60px 120px -50px rgba(0, 0, 0, 1); overflow: hidden; }
.v2-tw { position: absolute; top: 26px; bottom: 26px; right: 26px; left: 26px; display: flex; flex-direction: column; gap: 14px; }
.v2-tw__opts { display: flex; flex-wrap: wrap; gap: 8px; transition: opacity .6s, transform .6s var(--v2-out); }
.v2-opt { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .13); font-size: 13.5px; color: var(--text-2); }
.v2-opt small { color: var(--muted); font-size: 12.5px; }
.v2-opt--on i { width: 15px; height: 15px; border-radius: 4px; background: #1a73e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.v2-tw__drop { padding: 16px; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, .16); color: var(--muted); text-align: center; font-size: 14.5px; transition: border-color .4s, background-color .4s, opacity .6s, transform .6s var(--v2-out), max-height .6s var(--v2-out), padding .6s; max-height: 70px; }
.v2-tw__drop.is-hot { border-color: #4aa8ff; background: rgba(74, 168, 255, .07); color: #cfe6ff; }
.v2-tw__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 12px; color: #4f5a76; font-size: 14.5px; transition: opacity .4s; max-height: 340px; }
.v2-tw__empty .i { width: 40px; height: 40px; stroke-width: 1.5; color: #39445f; }
.v2-tw__row.is-in ~ .v2-tw__empty, .v2-film__stage:not([data-act="1"]) .v2-tw__empty { display: none; }
.v2-tw__row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: #131d35; border: 1px solid var(--v2-line); opacity: 0; transform: translateY(-14px) scale(.98); transition: opacity .5s, transform .7s var(--v2-spring), background-color .4s; }
.v2-tw__row.is-in { opacity: 1; transform: none; }
.v2-ext { flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.v2-ext--m4a { background: #1d3557; color: #8ec5ff; }
.v2-ext--srt { background: #3b1d57; color: #d6b4ff; }
.v2-ext--txt { background: #1f2a44; color: #b8c4dd; }
.v2-ext--docx { background: #1b3b8a; color: #fff; font-size: 17px; }
.v2-tw__info { flex: 1; min-width: 0; display: grid; gap: 4px; }
.v2-tw__info b { direction: ltr; text-align: right; font-weight: 600; }
[lang="en"] .v2-tw__info b { text-align: left; }
.v2-tw__status { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.v2-tw__status.is-done { color: var(--green); font-weight: 600; }
.v2-tw__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-top: 6px; }
.v2-tw__bar i { display: block; height: 100%; width: 0; background: #1a73e8; border-radius: inherit; transition: width .3s linear, background-color .4s; }
.v2-tw__row.is-done .v2-tw__bar i { background: var(--green); }

.v2-scribe { display: grid; gap: 14px; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--v2-out), transform .7s var(--v2-out); pointer-events: none; }
.v2-scribe__wave { position: relative; height: 76px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--v2-line); overflow: hidden; }
.v2-scribe__bars { position: absolute; inset: 10px 14px; display: flex; align-items: center; gap: 2px; }
.v2-scribe__bars i { flex: 1; border-radius: 2px; background: #2a3553; transition: background-color .25s; }
.v2-scribe__bars i.is-past { background: linear-gradient(180deg, #a78bfa, #6d28d9); }
.v2-scribe__head { position: absolute; top: 0; bottom: 0; right: 14px; width: 2px; background: #fff; box-shadow: 0 0 14px 2px rgba(167, 139, 250, .9); border-radius: 2px; }
[lang="en"] .v2-scribe__head { right: auto; left: 14px; }
.v2-scribe__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-scribe__lines li { display: flex; gap: 14px; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid transparent; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--v2-out), border-color .4s, background-color .4s; }
.v2-scribe__lines li.is-in { opacity: 1; transform: none; }
.v2-scribe__lines li.is-now { border-color: rgba(167, 139, 250, .35); background: rgba(139, 92, 246, .08); }
.v2-scribe__lines time { flex: none; font-size: 13px; color: #a78bfa; font-variant-numeric: tabular-nums; direction: ltr; }
.v2-scribe__lines p { margin: 0; font-size: 16.5px; color: var(--text); line-height: 1.6; }
.v2-scribe__lines p span { color: #59647f; transition: color .25s; }
.v2-scribe__lines p span.is-said { color: var(--text); }

.v2-outs { position: absolute; inset: 110px 0 70px; pointer-events: none; }
.v2-out { position: absolute; top: 40px; width: 41%; border-radius: 18px; background: #101a31; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95); padding: 14px; opacity: 0; transform: translateY(-80px) scale(.6); transition: opacity .6s, transform 1s var(--v2-spring); }
.v2-out__name { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); direction: ltr; justify-content: flex-end; margin-bottom: 12px; }
[lang="en"] .v2-out__name { justify-content: flex-start; }
.v2-out__name .v2-ext { width: 30px; height: 30px; font-size: 10px; border-radius: 8px; }
.v2-out--video { inset-inline-end: 0; z-index: 3; }
.v2-out--srt { inset-inline-start: 0; width: 30%; z-index: 2; }
.v2-out--word { inset-inline-start: 32%; width: 32%; top: 70px; z-index: 1; display: none; }
.v2-player { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #070a12; }
.v2-player__scene { position: absolute; inset: 0; background: linear-gradient(160deg, #1d2b4f, #0c1226 60%); }
.v2-player__scene i { position: absolute; border-radius: 50%; filter: blur(18px); }
.v2-player__scene i:nth-child(1) { width: 40%; height: 60%; background: #2f6bff55; top: 10%; left: 10%; }
.v2-player__scene i:nth-child(2) { width: 22%; height: 46%; background: #ff8a1f40; top: 22%; right: 26%; border-radius: 40% 40% 10% 10%; filter: blur(6px); }
.v2-player__scene i:nth-child(3) { width: 34%; height: 18%; background: #ff8a1f30; top: 64%; right: 20%; filter: blur(8px); }
.v2-player__sub { position: absolute; inset-inline: 8%; bottom: 20%; display: grid; justify-items: center; gap: 2px; text-align: center; }
.v2-player__sub span { padding: 1px 8px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 14px; font-weight: 500; border-radius: 3px; }
.v2-player__ctl { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); font-size: 11px; color: #cbd5e1; direction: ltr; }
.v2-player__ctl .i { width: 12px; height: 12px; }
.v2-player__track { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.v2-player__track i { display: block; height: 100%; width: 0; background: #ff5a4e; }
.v2-srt { margin: 0; font: 13.5px/1.65 var(--font); color: #cbd5e1; white-space: pre-line; direction: rtl; text-align: right; }
[lang="en"] .v2-srt { direction: ltr; text-align: left; }
.v2-srt__tc { display: inline-block; color: #a78bfa; direction: ltr; white-space: nowrap; font: 11.5px/1.65 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.v2-page { background: #fff; color: #1f2937; border-radius: 6px; padding: 18px 18px 22px; display: block; font-size: 12.5px; line-height: 1.7; box-shadow: inset 0 0 0 1px #e5e7eb; }
.v2-page b { display: block; font-size: 16px; color: #111827; }
.v2-page small { display: block; color: #9ca3af; font-size: 11.5px; margin-bottom: 4px; }
.v2-page p { margin: 4px 0 0; }
.v2-page time { color: #6b7280; font-size: 11px; margin-inline-end: 4px; }

.v2-film__file { position: absolute; z-index: 5; top: 50%; left: 50%; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 14px; background: rgba(23, 33, 60, .9); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); font-weight: 600; direction: ltr; opacity: 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.v2-film__file .v2-ext { width: 36px; height: 36px; font-size: 11px; }
.v2-film__orb { position: absolute; z-index: 4; right: 26px; bottom: 24px; display: flex; align-items: center; gap: 2px; }
.v2-pill--files { opacity: 0; transform: translateX(8px); }
.v2-film__pct { min-width: 30px; }
.v2-film__orb.is-busy .v2-pill--files { opacity: 1; transform: none; }
[lang="en"] .v2-film__orb { flex-direction: row-reverse; } /* button in the corner, label to its left, as in Hebrew */

/* acts */
.v2-film__stage[data-act="2"] .v2-tw__opts, .v2-film__stage[data-act="3"] .v2-tw__opts { opacity: .35; }
.v2-film__stage[data-act="2"] .v2-tw__drop, .v2-film__stage[data-act="3"] .v2-tw__drop { opacity: 0; max-height: 0; padding-block: 0; margin-block: -7px; border-width: 0; }
.v2-film__stage[data-act="2"] .v2-scribe { opacity: 1; transform: none; }
.v2-film__stage[data-act="3"] .v2-scribe { opacity: 0; transform: scale(.94); filter: blur(4px); transition-duration: .5s; }
.v2-film__stage[data-act="3"] .v2-out { opacity: 1; transform: none; }
.v2-film__stage[data-act="3"] .v2-out--video { transform: rotate(-2deg); transition-delay: .05s; }
.v2-film__stage[data-act="3"] .v2-out--srt { transform: rotate(3deg) translateY(30px); transition-delay: .2s; }
@media (min-width: 1101px) {
  .v2-out--word { display: block; inset-inline-start: 30%; width: 31%; }
  .v2-out--video { width: 37%; }
  .v2-out--srt { width: 28%; }
  .v2-film__stage[data-act="3"] .v2-out--word { transform: rotate(-1deg) translateY(10px); transition-delay: .35s; }
}

.v2-points { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) auto 0; max-width: 1060px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.v2-points li { display: grid; gap: 12px; align-content: start; }
.v2-points li > .i { width: 22px; height: 22px; color: #a78bfa; }
.v2-points b { font-size: 16.5px; }
.v2-points p { color: var(--muted); font-size: 15px; margin: 6px 0 0; line-height: 1.6; }
.v2-formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1060px; margin: 40px auto 0; padding-top: 30px; border-top: 1px solid var(--v2-line); }
.v2-formats span { padding: 4px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, .035); border: 1px solid var(--v2-line); letter-spacing: .02em; }

/* ============ Split sections ============ */
.v2-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.v2-split--flip .v2-split__text { order: 2; }
.v2-ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.v2-ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); font-size: 16.5px; line-height: 1.6; }
.v2-ticks .i { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; background: rgba(60, 207, 110, .14); color: var(--green); }

.v2-lanes { border-radius: 26px; padding: 26px; background: var(--v2-glass), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi), 0 40px 100px -40px rgba(0, 0, 0, .9); }
.v2-lanes__track { position: relative; display: grid; gap: 14px; padding-block: 6px; }
.v2-lane { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; }
.v2-lane__who { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.v2-lane__who .i { width: 15px; height: 15px; }
.v2-lane--you .v2-lane__who { color: #ffb020; }
.v2-lane__clips { position: relative; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .025); }
.v2-clip { position: absolute; top: 6px; bottom: 6px; border-radius: 9px; display: flex; align-items: center; gap: 2px; padding-inline: 8px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); transition: background-color .4s, border-color .4s, opacity .4s, box-shadow .4s; }
.v2-clip i { flex: 1; border-radius: 2px; background: #3a4562; transition: background-color .4s; }
.v2-lane--you .v2-clip.is-hit { background: rgba(255, 138, 31, .14); border-color: rgba(255, 154, 31, .5); box-shadow: 0 0 24px -6px rgba(255, 138, 31, .7); }
.v2-lane--you .v2-clip.is-hit i { background: linear-gradient(180deg, #ffb020, #ff5a4e); }
.v2-lane--other .v2-clip.is-live { border-color: rgba(255, 255, 255, .25); }
.v2-lane--other .v2-clip.is-live i { background: #aab4c8; }
.v2-lane--other .v2-clip.is-hit { opacity: .45; }
.v2-lane--other .v2-clip.is-hit::after { content: "דולג"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #cbd5e1; background: rgba(8, 12, 25, .55); direction: rtl; letter-spacing: .02em; }
[lang="en"] .v2-lane--other .v2-clip.is-hit::after { content: "Skipped"; direction: ltr; }
.v2-lanes__head { position: absolute; top: 0; bottom: 0; right: calc(86px + var(--p, 0) * (100% - 86px)); width: 2px; background: #fff; border-radius: 2px; box-shadow: 0 0 12px 2px rgba(255, 255, 255, .5); }
[lang="en"] .v2-lanes__head { right: auto; left: calc(116px + var(--p, 0) * (100% - 116px)); } /* the names column is on the left, and wider */
.v2-heard { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.v2-said { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; background: #0f1729; border: 1px solid var(--v2-line); opacity: .25; transform: translateY(6px); transition: opacity .4s, transform .5s var(--v2-out), border-color .4s, background-color .4s; }
@media (min-width: 701px) {
  [lang="en"] .v2-lane { grid-template-columns: 104px 1fr; }
  [lang="en"] .v2-said { grid-template-columns: 100px 1fr auto; }
}
.v2-said.is-in { opacity: 1; transform: none; }
.v2-said__who { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.v2-said__who .i { width: 15px; height: 15px; }
.v2-said__text { font-size: 15px; color: var(--text); min-height: 1.5em; text-decoration: line-through; text-decoration-color: transparent; transition: color .35s, text-decoration-color .35s; }
.v2-said__tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--v2-spring); }
.v2-said.is-now .v2-said__who .i { animation: v2-pulse .8s ease-in-out infinite; }
@keyframes v2-pulse { 50% { transform: scale(1.25); } }
.v2-said--you .v2-said__who { color: #ffb020; }
.v2-said--you.is-now { border-color: rgba(255, 154, 31, .45); background: rgba(255, 138, 31, .07); }
.v2-said--you.is-done { border-color: rgba(60, 207, 110, .3); }
.v2-said--you .v2-said__tag { color: #7ee2a2; background: rgba(60, 207, 110, .12); }
.v2-said--other.is-done { opacity: .55; }
.v2-said--other.is-done .v2-said__text { color: var(--muted); text-decoration-color: rgba(255, 255, 255, .4); }
.v2-said--other .v2-said__tag { color: var(--muted); background: rgba(255, 255, 255, .07); }
.v2-said.is-done .v2-said__tag { opacity: 1; transform: none; }
.v2-lanes__out { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: #f7f8fb; color: #111827; }
.v2-lanes__label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #6b7280; margin-bottom: 6px; }
.v2-lanes__label .i { width: 14px; height: 14px; }
.v2-lanes__text { margin: 0; font-size: 16px; min-height: 3.3em; line-height: 1.65; }
.v2-lanes__text .v2-caret { background: #ff6a2b; }

.v2-race { border-radius: 26px; padding: 28px; background: var(--v2-glass), #0a1020; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi), 0 40px 100px -40px rgba(0, 0, 0, .9); display: grid; gap: 22px; }
.v2-race__head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.v2-race__again { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--v2-line); color: var(--muted); font-size: 13.5px; font-weight: 400; transition: color .3s, border-color .3s; }
.v2-race__again:hover { color: var(--text); border-color: var(--border-strong); }
.v2-race__again .i { width: 14px; height: 14px; }
.v2-race__lane { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; }
.v2-race__label { display: grid; }
.v2-race__label b { font-size: 16px; }
.v2-race__label span { font-size: 13px; color: var(--muted); }
.v2-race__bar { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.v2-race__bar i { display: block; height: 100%; width: 0; border-radius: inherit; }
.v2-race__lane--gpu .v2-race__bar i { background: linear-gradient(90deg, #ffb020, #ff5a4e); box-shadow: 0 0 20px rgba(255, 106, 43, .7); }
.v2-race__lane--cpu .v2-race__bar i { background: linear-gradient(90deg, #33c7f0, #2f6bff); }
.v2-race.is-run .v2-race__bar i { width: 100%; transition: width var(--dur) cubic-bezier(.4, .1, .4, 1); }
.v2-race__time { min-width: 92px; font-size: 14.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; opacity: .4; transition: opacity .4s, color .4s; }
.v2-race__time.is-done { opacity: 1; color: var(--text); }
.v2-race__note { margin: 0; font-size: 13px; color: #6b7690; }

/* ============ Path ============ */
.v2-path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.v2-path::before { content: ""; position: absolute; top: 27px; inset-inline: 16.6%; height: 2px; background: rgba(255, 255, 255, .08); }
.v2-path::after { content: ""; position: absolute; top: 27px; inset-inline-start: 16.6%; height: 2px; width: 0; background: var(--grad-swift); transition: width 1.6s var(--v2-out) .3s; box-shadow: 0 0 14px rgba(255, 106, 43, .6); }
.v2-path.is-in::after { width: 66.8%; }
.v2-path li { text-align: center; display: grid; justify-items: center; align-content: start; gap: 10px; }
.v2-path__node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: #0d1427; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi); transition: background .6s, border-color .6s, box-shadow .6s; }
.v2-path.is-in li:nth-child(1) .v2-path__node { transition-delay: .2s; }
.v2-path.is-in li:nth-child(2) .v2-path__node { transition-delay: .9s; }
.v2-path.is-in li:nth-child(3) .v2-path__node { transition-delay: 1.6s; }
.v2-path.is-in .v2-path__node { border-color: rgba(255, 154, 31, .6); box-shadow: 0 0 0 6px rgba(255, 138, 31, .08), 0 0 30px -6px rgba(255, 106, 43, .8); }
.v2-path h3 { font-size: 22px; margin-top: 8px; }
.v2-path p { color: var(--muted); max-width: 300px; margin: 0; }

/* ============ Specs ============ */
.v2-specs { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: 22px; overflow: hidden; background: var(--v2-line); border: 1px solid var(--v2-line); }
.v2-specs > div { background: #090f1e; padding: 22px 24px; display: grid; gap: 6px; }
.v2-specs dt { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.v2-specs dt .i { width: 16px; height: 16px; color: #ffb020; }
.v2-specs dd { margin: 0; color: var(--text); font-size: 16px; line-height: 1.6; }

/* ============ FAQ ============ */
.v2-faq-wrap { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.v2-faq-wrap .v2-head { position: sticky; top: calc(var(--header-h) + 30px); }
.v2-faq-more { color: var(--muted); margin-top: 18px; }
.v2-faq-more a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.v2-faq { max-width: none; margin: 0; }
.v2-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--v2-out), content-visibility .45s allow-discrete; }
.v2-faq details[open]::details-content { block-size: auto; }

/* ============ CTA ============ */
.v2-cta { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 60px); border-radius: 36px; background: radial-gradient(80% 70% at 50% 0%, rgba(255, 106, 31, .2), transparent 60%), radial-gradient(70% 60% at 50% 100%, rgba(124, 58, 237, .25), transparent 60%), #090e1c; border: 1px solid var(--v2-line); box-shadow: var(--v2-hi); }
.v2-cta .lead { margin-inline: auto; }
.v2-cta .btn-row { margin-top: 34px; }
.v2-cta__orb { position: relative; width: 112px; height: 112px; margin: 0 auto 28px; border-radius: 50%; padding: 18px; background: radial-gradient(circle at 50% 30%, #1d2742, #0b1020 70%); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 60px -10px rgba(255, 106, 43, .6), inset 0 1px 0 rgba(255, 255, 255, .15); animation: v2-breathe 4s ease-in-out infinite; }
.v2-cta__rings { position: absolute; top: clamp(64px, 9vw, 120px); left: 50%; width: 112px; height: 112px; margin-left: -56px; z-index: -1; }
.v2-cta__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 154, 31, .5); animation: v2-ring 4.5s var(--v2-out) infinite; }
.v2-cta__rings i:nth-child(2) { animation-delay: 1.5s; }
.v2-cta__rings i:nth-child(3) { animation-delay: 3s; }
@keyframes v2-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
@keyframes v2-breathe { 50% { transform: scale(1.05); box-shadow: 0 0 90px -6px rgba(255, 106, 43, .75), inset 0 1px 0 rgba(255, 255, 255, .15); } }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .v2-bento { grid-template-columns: repeat(2, 1fr); }
  .v2-card--apps { grid-row: span 1; }
  .v2-card--apps, .v2-card--translate, .v2-card--noise, .v2-card--terms { grid-column: span 2; }
  .v2-points { grid-template-columns: repeat(2, 1fr); }
  .v2-float--c { inset-inline-end: -10px; }
}
@media (max-width: 960px) {
  .v2-hero__inner { grid-template-columns: 1fr; }
  .v2-hero__stage { max-width: 560px; width: 100%; margin: 20px auto 30px; }
  .v2-stats { grid-template-columns: repeat(2, 1fr); }
  .v2-stats > div:nth-child(3) { border-inline-start: 0; }
  .v2-stats > div:nth-child(n+3) { border-top: 1px solid var(--v2-line); }
  .v2-story { grid-template-columns: 1fr; gap: 0; }
  .v2-story__sticky { grid-column: 1; grid-row: 1; position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; height: 0; }
  .v2-story__stage { position: relative; top: 0; height: 330px; padding: 20px; gap: 6px; }
  .v2-story__sticky::before { content: ""; position: absolute; top: -24px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); height: 376px; background: linear-gradient(var(--bg) 88%, transparent); }
  .v2-story__steps { grid-row: 2; padding-top: 350px; }
  .v2-step, .v2-step:first-child, .v2-step:last-child { min-height: 52vh; justify-content: flex-end; padding: 0 0 8vh; }
  .v2-step { background: linear-gradient(transparent, var(--bg) 30%); }
  .v2-fb--lg { transform: scale(1.3); margin-block: 14px; }
  .v2-key { min-width: 52px; padding: 10px 12px 13px; font-size: 14px; }
  .v2-doc .v2-type { font-size: 15px; padding: 12px 14px 14px; min-height: 4.2em; }
  .v2-split, .v2-faq-wrap { grid-template-columns: 1fr; }
  .v2-split--flip .v2-split__text { order: 0; }
  .v2-faq-wrap .v2-head { position: static; }
  .v2-film__stage { height: 640px; }
  .v2-tw { top: 18px; right: 18px; bottom: 18px; left: 18px; }
  .v2-outs { inset: 120px 0 0; }
  .v2-out--video { width: 70%; }
  .v2-out--srt { width: 58%; top: 260px; }
  .v2-film__orb { right: 14px; bottom: 14px; }
}
@media (max-width: 700px) {
  .v2-hero__copy .breadcrumbs { justify-content: flex-start; }
  .v2-hero__copy .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .v2-hero__stage { margin-top: 36px; }
  .v2-float--a { inset-inline-end: -6px; top: 30%; }
  .v2-float--c { display: none; }
  .v2-float--b { inset-inline-start: 6%; }
  [lang="en"] .v2-float--b { right: 6%; }
  .v2-dock { inset-inline-start: -6px; bottom: -26px; }
  [lang="en"] .v2-dock { inset-inline-start: auto; right: -6px; }
  .v2-mail { min-height: 250px; padding-inline: 16px; }
  .v2-type { font-size: 16px; }
  .v2-bento { grid-template-columns: 1fr; }
  .v2-card--apps, .v2-card--translate, .v2-card--noise, .v2-card--terms { grid-column: auto; }
  .v2-card--translate, .v2-card--noise, .v2-card--terms { flex-direction: column; align-items: stretch; }
  .v2-card--translate .v2-card__text, .v2-card--terms .v2-card__text, .v2-card--noise .v2-card__text { order: 2; }
  .v2-apps { min-height: 230px; }
  .v2-film__chapters button { min-width: 0; flex: 1; font-size: 13.5px; }
  .v2-film__chapters .v2-film__pause { flex: none; }
  .v2-film__stage { height: 620px; border-radius: 22px; }
  .v2-tw__opts .v2-opt:nth-child(n+3) { display: none; }
  .v2-scribe__lines p { font-size: 15px; }
  .v2-scribe__lines li { padding: 10px 12px; gap: 10px; }
  .v2-out--video { width: 88%; }
  .v2-out--srt { width: 74%; top: 250px; }
  .v2-points { grid-template-columns: 1fr; gap: 22px; }
  .v2-race__lane { grid-template-columns: 1fr auto; }
  .v2-race__bar { grid-column: 1 / -1; grid-row: 2; }
  .v2-path { grid-template-columns: 1fr; gap: 30px; }
  .v2-path::before, .v2-path::after { display: none; }
  .v2-specs { grid-template-columns: 1fr; }
  .v2-lane { grid-template-columns: 1fr; gap: 6px; }
  .v2-lanes { padding: 18px; }
  .v2-said { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .v2-said__text { grid-column: 1 / -1; grid-row: 2; }
  .v2-lanes__head { right: calc(var(--p, 0) * 100%); }
  [lang="en"] .v2-lanes__head { right: auto; left: calc(var(--p, 0) * 100%); }
}

@media (max-width: 360px) {
  .v2-stats > div { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-in, .v2-word, .v2-hero__stage, .v2-reveal { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .v2-aurora i, .v2-float, .v2-marquee__row, .v2-shine::after, .v2-cta__rings i, .v2-cta__orb, .v2-dot, .v2-caret { animation: none !important; }
}
