/* Home page (design round v30, 30.10.2026). Built from MentVerse/docs/research/site-direction-2026-10/mockup/home-mockup-v30.html */
.site { position: relative; background: var(--paper); overflow-x: clip; isolation: isolate; }

/* hero (unchanged look) */
.hero { padding-block: 24px 56px; position: relative; overflow: hidden; }
.hero .grid { display: grid; gap: 8px; align-items: center; }
.hero-text { display: grid; gap: 18px; text-align: center; justify-items: center; position: relative; z-index: 2; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--d-muted); border: 1px solid var(--d-line); border-radius: 999px; padding: 5px 12px; background: rgba(11,11,15,.6); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.hero h1 { font-size: var(--h1); line-height: 1.06; margin: 0; font-weight: 700; letter-spacing: -.02em; }
.hero h1 .gi { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #C9C9D1; font-size: var(--lead); margin: 0; max-width: 40ch; }
.visual { position: relative; width: 100%; max-width: 520px; justify-self: center; aspect-ratio: 720 / 899; perspective: 1000px; }
.tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.avatar, .fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: radial-gradient(75% 70% at 50% 46%, #000 62%, transparent 100%); mask-image: radial-gradient(75% 70% at 50% 46%, #000 62%, transparent 100%); }
.avatar { object-fit: cover; opacity: 0; transform: scale(1.05); filter: blur(8px) brightness(.7); transition: opacity 1.6s ease, transform 2.6s cubic-bezier(.2,.7,.1,1), filter 1.8s ease; }
.visual.in .avatar { opacity: 1; transform: scale(1); filter: blur(0) brightness(1); }
.fx { pointer-events: none; mix-blend-mode: screen; }

/* 1. the night: timestamps on a rail */
.night { display: grid; gap: 40px; align-items: start; }
.story { display: grid; gap: 18px; color: var(--text); font-size: 18px; line-height: 1.75; }
.story p { margin: 0; }
/* the night story reads from the right on phones too, like any long text (HQ decision, 1.11); the heading stays centred */
.story .open { color: var(--text); font-size: var(--lead); line-height: 1.55; }
.rail { position: relative; display: grid; gap: 14px; padding-inline-start: 26px; }
.rail::before { content: ""; position: absolute; inset-inline-start: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.ev { position: relative; display: grid; gap: 6px; }
.ev::before { content: ""; position: absolute; inset-inline-start: -25px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); }
.ev time { font-family: var(--mono); font-size: 12.5px; color: var(--faint); letter-spacing: .04em; }
.ev .msg { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 14px; display: grid; gap: 2px; }
.ev .msg b { font-weight: 500; font-size: 12.5px; color: var(--faint); }
.ev.now::before { border-color: var(--text); background: var(--text); }
.ev.now time { color: var(--text); font-weight: 500; }
.ev.now .msg { background: var(--ink); color: #F4F4F6; border-color: transparent; font-size: 18px; }
.ev.now .msg b { color: #9A9AA5; }
.verdict { margin-top: clamp(48px, 7vw, 80px); text-align: center; display: grid; gap: 12px; justify-items: center; }
.verdict h3 { margin: 0; text-wrap: balance; }
.verdict h3 .ln { display: block; }
.verdict .bridge { color: var(--text); margin: 6px 0 0; }

/* 3. answer: rows with an icon */
.turn { font-size: var(--h2); line-height: 1.12; font-weight: 700; margin: 0; letter-spacing: -.015em; }

/* 4. compare: a real matrix */
.mx { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: #fff; }
.mx-row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.mx-row:first-child { border-top: 0; }
.mx-crit { padding: 16px 18px 8px; font-weight: 500; }
.mx-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 18px 18px; }
.cell { display: grid; gap: 4px; font-size: 14px; color: var(--text); padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.cell .who { font-size: 12.5px; color: var(--faint); font-family: var(--sans); }
.cell .v { display: flex; align-items: center; gap: 8px; }
.mx-head { display: none; }
.mx-foot { margin-top: 14px; text-align: center; color: var(--faint); font-size: 12.5px; }

/* 5. product demo (dark) */
.pdemo { display: grid; gap: 32px; align-items: center; }
.steps { display: grid; gap: 6px; }
.step { font: inherit; text-align: start; display: grid; grid-template-columns: 34px 1fr; gap: 14px; background: transparent; border: 1px solid transparent; border-inline-start: 2px solid var(--line); border-radius: 0; padding: 14px; color: var(--muted); cursor: pointer; transition: border-color .2s; }
.step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--text); border: 1px solid var(--line-2); }
.step b { display: block; color: var(--text); font-weight: 500; font-size: 16px; }
.step .d { display: none; font-size: 14px; margin-top: 6px; line-height: 1.6; }
.step[aria-selected="true"] { border-inline-start-color: var(--teal); }
.step[aria-selected="true"] .n { background: var(--grad); color: #030303; border-color: transparent; font-weight: 500; }
.step[aria-selected="true"] .d { display: block; }
.pdemo-cta { display: grid; gap: 14px; justify-items: center; text-align: center; margin-top: clamp(40px, 6vw, 64px); }
.pdemo-cta h3 { margin: 0; font-size: 22px; font-weight: 500; }

/* 6. team (dark, as approved) */
.domains { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; max-width: 820px; }
.domains li { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: #E4E4EA; }
.domains li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }
.team-note { text-align: center; color: var(--muted); max-width: 64ch; margin: 28px auto 0; font-size: 14px; }

/* 8. close (dark) */
.close { position: relative; overflow: hidden; text-align: center; }
.close .inner { position: relative; display: grid; gap: 0; justify-items: center; }
.close h2.t { max-width: 20ch; }
.close .stores { justify-content: center; }
.close .warn { color: var(--muted); font-size: 16px; margin: 40px 0 0; }
/* first light (Ariel, 1.11): a thin horizon in the hero avatar's colours at the bottom, soft light breathing above it,
   and the hero avatar standing on it. Its black backdrop melts into the light */
.close-dawn { position: absolute; left: 0; right: 0; bottom: 0; height: 75%; pointer-events: none; background: radial-gradient(60% 70% at 50% 100%, rgba(50,136,255,.30), rgba(155,92,255,.10) 45%, transparent 75%); animation: close-breathe 7s ease-in-out infinite alternate; }
.close-dawn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #FF32AA 28%, #32EEFF 55%, #3288FF 80%, transparent); box-shadow: 0 0 14px 2px rgba(50,238,255,.35); }
@keyframes close-breathe { from { opacity: .7; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .close-dawn { animation: none; } }
/* the avatar stands at the side, on the horizon, so the whole section is lit and not only its end (Ariel, 1.11).
   Phones: it stays behind the text, faded toward it */
.close-av { position: absolute; bottom: 0; left: -16vw; height: 64%; width: auto; max-width: none; pointer-events: none; opacity: .42; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 92%); mask-image: linear-gradient(to right, #000 45%, transparent 92%); }
@media (min-width: 1000px) {
  /* wide screens: the text stays centred as before, the avatar stands at the left edge and fades toward the text */
  .close-av { left: max(-80px, calc(50% - 740px)); height: min(84%, 600px); opacity: .85; -webkit-mask-image: linear-gradient(to right, #000 58%, transparent 96%); mask-image: linear-gradient(to right, #000 58%, transparent 96%); }
  .close-dawn { background: radial-gradient(40% 75% at 26% 100%, rgba(50,136,255,.32), rgba(155,92,255,.12) 45%, transparent 75%), radial-gradient(50% 60% at 60% 100%, rgba(50,136,255,.12), transparent 70%); }
}
@media (min-width: 1000px) and (max-width: 1299px) { .close-av { left: -130px; height: min(70%, 480px); opacity: .6; } } /* narrower: keep it clear of the text */

@media (min-width: 900px) {
  .hero .grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-text { text-align: start; justify-items: start; }
  .night { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .mx-head { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); border-bottom: 1px solid var(--line-2); background: #fff; }
  .mx-head div { padding: 16px; font-size: 14px; color: var(--faint); font-weight: 500; }
  .mx-head .mv { color: var(--blue-btn); background: #EEF3FD; box-shadow: inset 0 3px 0 var(--blue-btn); }
  .mx-row { grid-template-columns: 1.4fr 3fr; align-items: stretch; }
  .mx-crit { padding: 18px 16px; display: flex; align-items: center; }
  .mx-cells { grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; }
  .cell { border-radius: 0; background: transparent; padding: 18px 16px; align-content: center; }
  .cell .who { display: none; }
  .cell.mv { box-shadow: inset 1px 0 0 rgba(47,102,208,.22), inset -1px 0 0 rgba(47,102,208,.22); }
  .pdemo { grid-template-columns: 1fr 330px; gap: 64px; }
  }
@media (prefers-reduced-motion: reduce) {
  .avatar { transition: none; opacity: 1; transform: none; filter: none; }
  .tilt, .scr, .faq summary::after { transition: none; }
}

/* compare, tuned for the light surface */
.cell.mv { background: #EEF3FD; box-shadow: none; color: var(--text); }
.cell.mv .who { color: var(--blue-btn); }
.yes { color: var(--blue-btn); } .no, .part { color: #9A9AA5; }
@media (min-width: 900px) { .cell { background: transparent; } .cell.mv { background: #EEF3FD; box-shadow: none; } .mx-row:hover .cell:not(.mv) { background: #FAFAFC; } }

/* demo: no box behind the selected step */
.step:not([aria-selected="true"]) b { color: var(--muted); }

/* ---------- one language for the whole page ----------
   1px hairlines for structure, dashed for grids, 16px radius only on bordered modules, no shadows on light,
   blue as the only accent on light, the brand gradient only on dark. */

/* product demo: the live site's own app screens */
.pdemo { --blue: #2F66D0; --night: #030303; }
.pdemo .dev { justify-self: center; width: 276px; }
.pdemo .dev .scr { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.pdemo .dev .scr.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pdemo .dev .scr { transition: none; } }
.dev { position: relative; width: 264px; max-width: 100%; aspect-ratio: 9 / 19; margin-top: 8px; padding: 10px; border-radius: 40px; background: #050506; border: 1px solid rgba(255, 255, 255, 0.14); text-align: start; }
.dev::before { content: ""; position: absolute; top: 19px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 12px; background: #000000; z-index: 2; }
.scr { position: absolute; inset: 10px; display: flex; flex-direction: column; gap: 8px; padding: 44px 12px 14px; overflow: hidden; border-radius: 31px; background: #0E0E12; color: #FFFFFF; font-size: 12px; line-height: 1.45; }
.s-sub { margin: 0; font-size: 11px; color: rgba(255, 255, 255, 0.62); }
.s-title { margin: 4px 0 2px; font-size: 15px; font-weight: 700; }
.s-cta { margin: auto 0 0; height: 36px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; font-weight: 500; }
/* Step 1: the app's intro screen ("בואו נכיר", app/intro.tsx), drawn in the app's own look at phone-mockup scale. */
.s-intro { gap: 9px; }
.s-intro, .s-app { background: linear-gradient(to bottom, rgba(3, 3, 3, 0) 55%, #030303), linear-gradient(225deg, rgba(19, 229, 213, 0.2), rgba(19, 229, 213, 0) 45%), linear-gradient(60deg, rgba(176, 83, 127, 0.3), rgba(60, 60, 60, 0) 55%), linear-gradient(160deg, #1B2733, #221D2B 32%, #0A0A0E 70%, #030303); }
.s-intro .s-title { margin: 0; font-size: 15px; }
.s-intro .s-sub { margin: -6px 0 2px; font-size: 10.5px; color: rgba(255, 255, 255, 0.6); }
.s-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.s-fld { display: grid; gap: 4px; }
.s-lbl { padding-inline: 4px; font-size: 9px; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.s-cnt { margin-top: -4px; text-align: end; font-variant-numeric: tabular-nums; }
.s-qt { font-size: 11px; font-weight: 500; }
.s-in { padding: 7px 10px; border-radius: 5px; border-bottom: 2px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); font-size: 11px; font-weight: 600; line-height: 1.4; }
.s-area { min-height: 34px; }
.s-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 4px; border-radius: 5px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); text-align: center; font-size: 11px; font-weight: 500; }
.s-seg span { padding: 5px 0; border-radius: 3px; }
.s-seg .on { border-bottom: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.33); font-weight: 700; }
.s-cta-app { border-radius: 5px; border-bottom: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.33); font-weight: 700; }
/* Steps 2-5: the app's chat, group chat, tasks and memory screens (app/chat/[id].tsx, (tabs)/tasks.tsx, memory.tsx), same scale. */
.s-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.s-app { padding: 0; gap: 0; }
.s-hd { display: flex; align-items: center; gap: 8px; padding: 38px 12px 9px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); border-radius: 0 0 13px 13px; background: rgba(255, 255, 255, 0.1); }
.s-back { width: 13px; height: 13px; flex: none; fill: none; stroke: #FFFFFF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.s-pic { width: 30px; height: 30px; flex: none; box-sizing: border-box; display: grid; place-items: center; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(229, 231, 235, 0.3); font-size: 12px; font-weight: 700; }
.s-grp { width: 22px; height: 22px; fill: rgba(255, 255, 255, 0.3); }
.s-hd b { display: block; font-size: 12px; font-weight: 700; line-height: 1.3; }
.s-hd small { display: block; margin-top: 2px; font-size: 9.5px; color: rgba(255, 255, 255, 0.7); }
.s-chat { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.s-b { max-width: 82%; padding: 8px; border-radius: 5px; border-bottom: 1px solid; font-size: 10.5px; line-height: 1.5; letter-spacing: -0.1px; }
.s-bu { align-self: flex-start; border-bottom-color: rgba(255, 255, 255, 0.2); border-bottom-right-radius: 2px; background: rgba(255, 255, 255, 0.1); }
.s-bm { align-self: flex-end; border-bottom-color: rgba(255, 255, 255, 0.45); border-bottom-left-radius: 2px; background: rgba(255, 255, 255, 0.33); }
.s-vb { display: flex; align-items: center; gap: 8px; direction: ltr; }
.s-vplay { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #FFFFFF; }
.s-vplay svg { width: 15px; height: 15px; fill: #030303; }
.s-vwave { display: block; width: 112px; height: 22px; }
.s-vwave rect { fill: rgba(255, 255, 255, 0.7); }
.s-mrow { align-self: flex-end; max-width: 94%; display: flex; align-items: flex-end; gap: 6px; }
.s-mrow .s-b { max-width: none; }
.s-mav { width: 23px; height: 23px; flex: none; box-sizing: border-box; display: grid; place-items: center; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(172, 181, 187, 0.3); font-size: 9.5px; font-weight: 700; }
.s-inp { margin-top: auto; display: flex; align-items: center; gap: 7px; padding: 8px 9px 14px; border-top: 1px solid #4D4D4D; background: #212121; }
.s-field { flex: 1; min-height: 27px; box-sizing: border-box; display: flex; align-items: center; padding: 4px 10px; border: 1px solid #FFFFFF; border-radius: 14px; font-size: 9.5px; color: rgba(255, 255, 255, 0.5); }
.s-mic { width: 27px; height: 27px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.s-mic svg { width: 17px; height: 17px; }
.s-mic .f { fill: #FFFFFF; }
.s-mic .s { fill: none; stroke: #FFFFFF; stroke-width: 1.6; stroke-linecap: round; }
.s-tt { display: flex; justify-content: space-between; align-items: flex-start; padding: 40px 14px 12px; }
.s-tth { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; }
.s-plus { width: 15px; height: 15px; margin-top: 3px; fill: none; stroke: #FFFFFF; stroke-width: 1.7; stroke-linecap: round; }
.s-tl { margin: 0; padding: 0 14px; list-style: none; }
.s-tl li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; align-items: start; }
.s-tl li + li { margin-top: 11px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.s-ck { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.5; }
.s-ck.d circle { fill: rgba(255, 255, 255, 0.3); stroke: none; }
.s-ck.d path { fill: #FFFFFF; stroke: none; }
.s-tn { display: block; font-size: 10.5px; font-weight: 500; line-height: 1.35; }
li.done .s-tn { text-decoration: line-through; }
.s-src { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 8px; color: rgba(255, 255, 255, 0.7); }
.s-srci { width: 9px; height: 9px; flex: none; fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-due { display: inline-block; margin-top: 5px; padding: 3px 8px; border-radius: 50px; background: rgba(255, 255, 255, 0.3); font-size: 8.5px; font-weight: 500; line-height: 1.3; }
.s-due.d { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.75); }
.s-tab { margin-top: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 5px 8px 14px; border-top: 1px solid #4D4D4D; background: #212121; }
.s-tab span { display: grid; justify-items: center; gap: 2px; font-size: 7px; color: rgba(255, 255, 255, 0.5); }
.s-tab .on { color: #FFFFFF; }
.s-ti { width: 15px; height: 15px; fill: currentColor; }
.s-mh { display: flex; align-items: center; gap: 8px; padding: 40px 14px 8px; }
.s-mht { margin: 0; font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.s-mi { margin: 0; padding: 0 14px; font-size: 9px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
.s-ms { margin: 14px 14px 5px; font-size: 8px; font-weight: 700; color: rgba(255, 255, 255, 0.6); }
.s-mc { margin: 0 14px; padding: 0 10px; border-radius: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); }
.s-mf { position: relative; padding: 8px 0; padding-left: 18px; font-size: 9.5px; font-weight: 500; line-height: 1.4; }
.s-mf + .s-mf { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.s-mf dt, .s-mf dd { display: inline; margin: 0; }
.s-mf small { display: block; margin-top: 1px; font-size: 7.5px; font-weight: 400; color: rgba(255, 255, 255, 0.5); text-align: right; }
.s-del { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.s-mdel { margin: auto 0 0; padding: 0 14px 18px; display: flex; justify-content: center; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; color: #E98C8C; }
.s-mdeli { width: 11px; height: 11px; fill: none; stroke: #E98C8C; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* founder: story timeline. Rail in the middle fills as you scroll, text and picture swap sides */
.stl { grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; position: relative; display: grid; gap: clamp(56px, 8vw, 96px); padding-top: clamp(24px, 4vw, 40px); }
.stl-i { grid-template-columns: minmax(0, 1fr); display: grid; gap: 22px; justify-items: center; text-align: center; position: relative; }
.stl-i + .stl-i::before { content: ""; position: absolute; top: calc(-1 * clamp(56px, 8vw, 96px) + 12px); inset-inline-start: 50%; width: 1px; height: calc(clamp(56px, 8vw, 96px) - 24px); background: var(--line-2); }
.stl-t { display: grid; gap: 12px; width: 100%; max-width: 46ch; min-width: 0; color: var(--text); }
.stl-t .k { font-size: 14px; color: var(--faint); display: inline-flex; gap: 10px; align-items: baseline; justify-content: center; }
.stl-t .k .num { font-family: var(--mono); font-size: 12.5px; color: var(--label); }
.stl-t h3 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
.stl-t p { margin: 0; font-size: 18px; line-height: 1.75; }
.stl-t blockquote { margin: 6px 0 0; font-size: 22px; line-height: 1.5; font-weight: 500; }
.stl-t blockquote .ln { display: block; }
.stl-t blockquote::before { content: ""; display: block; width: 32px; height: 2px; background: var(--label); margin: 0 auto 14px; }
.stl-m { width: 100%; max-width: 460px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.stl-m.ph { border: 1px dashed var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(17,17,20,.025) 10px 11px), var(--card); display: grid; place-items: center; padding: 20px; }
.stl-m.ph span { font-size: 14px; color: var(--faint); text-align: center; }
.stl-m.app { position: relative; aspect-ratio: 1 / 1; background: #16161C; border: 1px solid var(--line-2); }
.stl-m.app .dev { position: absolute; margin: 0; transform-origin: 50% 0; }
.stl-m.app .ph-c { left: 50%; top: 9%; transform: translateX(-50%) scale(.74); z-index: 3; }
.stl-m.app::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(transparent, #16161C); z-index: 4; }
/* drawn objects from the story instead of photos */
.stl-m.art { aspect-ratio: auto; border-radius: 0; overflow: visible; display: grid; place-items: center; }
.stl .sig { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 8px; }
.stl .sig .av { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-2); background: #E3E3E8; flex: none; }
.stl .sig .av img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 6%; display: block; }
.stl .sig b { display: block; font-size: 16px; font-weight: 500; }
.stl .sig span span { font-size: 14px; color: var(--faint); }
@media (min-width: 900px) {
  .stl::before, .stl::after { content: ""; position: absolute; inset-inline-start: 50%; top: 0; width: 1px; }
  .stl::before { bottom: 0; background: var(--line-2); }
  .stl::after { bottom: 0; background: var(--label); transform: scaleY(var(--p)); transform-origin: top; }
  .stl-i { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: center; justify-items: stretch; text-align: start; }
  .stl-i + .stl-i::before { display: none; }
  .stl-i::after { content: ""; position: absolute; inset-inline-start: 50%; top: 50%; width: 11px; height: 11px; margin-inline-start: -5px; margin-top: -5px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--line-2); transition: background .3s, border-color .3s, box-shadow .3s; z-index: 1; }
  .stl-i.on::after { background: var(--label); border-color: var(--label); }
  .stl-t .k { justify-content: flex-start; }
  .stl-t { padding-inline-end: clamp(40px, 5vw, 64px); justify-self: end; }
  .stl-m { justify-self: start; margin-inline-start: clamp(40px, 5vw, 64px); }
  .stl-i.flip .stl-t { order: 2; padding-inline: clamp(40px, 5vw, 64px) 0; justify-self: start; text-align: start; }
  .stl-i.flip .stl-m { order: 1; justify-self: end; margin-inline: 0 clamp(40px, 5vw, 64px); }
  .stl-t blockquote::before { margin-inline: 0 auto; }
  .stl-i .stl-t .sig { justify-content: flex-start; }
}

/* the team scene: tilted orbit with depth, pinned while you scroll */
.answer5 { padding-bottom: 0; }
.answer5 .head { margin-bottom: 0; gap: 20px; }
.answer5 .turn { color: var(--text); }
.tb { position: relative; height: 360vh; }
@media (min-width: 900px) { .tb { height: 420vh; } }
/* night sky behind the team in the hero avatar's colours (Ariel, 1.11): cyan and electric blue, a touch of magenta,
   deep blue in the middle and black at every edge so it meets the sections around it */
.tb-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(45% 40% at 72% 30%, rgba(50,136,255,.13), transparent 70%), radial-gradient(40% 38% at 26% 72%, rgba(255,50,170,.08), transparent 70%), radial-gradient(75% 65% at 50% 45%, #0B1230 0%, #060818 45%, #030303 100%); }
.tb-sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tb-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the sculptures' black backdrop melts into the sky */
.tb-n { mix-blend-mode: lighten; }
/* a faint wash of the avatar's colours behind each photo (Ariel, 1.11: the stronger rim looked odd) */
/* (on the node, not the photo: the photo is masked and would hide it) */
.tb-n .ph { position: relative; }
.tb-n::before { content: ""; position: absolute; left: 50%; top: 0; width: 124px; height: 124px; margin-left: -62px; margin-top: -3px; border-radius: 50%; pointer-events: none; background: radial-gradient(50% 50% at 56% 46%, rgba(50,204,255,.09), transparent 70%), radial-gradient(46% 46% at 44% 56%, rgba(255,50,170,.06), transparent 70%); }
.tb-me::before { width: 222px; height: 222px; margin-left: -111px; margin-top: -6px; }
.tb-n small, .tb-me b { text-shadow: 0 1px 6px #030303; }
.tb-ring { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; }
.tb-l { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.tb-arc { fill: none; stroke: url(#tbG); stroke-width: 2; stroke-linecap: round; }
.tb-n, .tb-o, .tb-caps, .tb-bar { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; }
.tb-n { display: grid; justify-items: center; gap: 2px; text-align: center; width: 160px; margin-left: -80px; }
.tb-n .ph { display: block; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.tb-n .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-m .ph { width: 118px; height: 118px; }
.tb-m small { font-size: 12.5px; color: #C9C9D1; margin-top: -10px; white-space: nowrap; transition: opacity var(--dur-hover) var(--ease-out); }
.tb-m.back small { opacity: 0; }
.tb-me .ph { width: 210px; height: 210px; }
.tb-me { width: 210px; margin-left: -105px; } /* as wide as Michal's photo, so photo and name sit on the stage centre (Ariel, 1.11) */
.tb-me b { font-size: 16px; font-weight: 500; margin-top: -18px; }
.tb-me small { font-size: 14px; color: var(--muted); }
.tb-m.focus small { color: var(--teal); }
.tb-o { opacity: 0; pointer-events: none; }
.tb-file { width: 300px; margin-left: -150px; background: rgba(22,22,28,.92); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 16px 18px; display: grid; gap: 10px; overflow: hidden; }
.tb-file .hd { display: grid; gap: 2px; } .tb-file .hd b { font-weight: 500; font-size: 14px; } .tb-file .hd span { font-size: 12.5px; color: var(--faint); }
.tb-file ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(255,255,255,.08); }
.tb-file li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; color: rgba(244,244,246,.3); transition: color var(--t-slow) var(--ease-out); display: flex; align-items: center; gap: 10px; }
.tb-file li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.16); flex: none; transition: background var(--t-slow) var(--ease-out); }
.tb-file li.lit { color: #F4F4F6; }
.tb-file li.lit::before { background: var(--teal); }
.tb-task { width: 290px; margin-left: -145px; background: rgba(22,22,28,.95); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.tb-task .ck { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); flex: none; margin-top: 2px; }
.tb-task > span:last-child { display: grid; gap: 5px; }
.tb-task b { font-size: 14px; font-weight: 500; } .tb-task small { font-size: 12.5px; color: var(--faint); }
.tb-task em { font-style: normal; justify-self: start; font-size: 12.5px; color: var(--teal); border: 1px solid rgba(19,229,213,.5); border-radius: 999px; padding: 2px 10px; opacity: 0; transform: scale(.96); transition: opacity .3s var(--ease-out), transform .35s var(--ease-out); }
.tb-task.dated em { opacity: 1; transform: none; }
.tb-q { width: 330px; margin-left: -165px; display: grid; gap: 16px; }
.tb-q p { margin: 0; font-size: 14px; line-height: 1.55; border-radius: 16px; padding: 10px 14px; opacity: 0; transform: translateY(var(--reveal-y)); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.tb-q .mine { justify-self: start; background: rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.2); border-start-start-radius: 4px; }
.tb-q .his { justify-self: end; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); border-start-end-radius: 4px; display: grid; gap: 2px; }
.tb-q .his span { font-size: 12.5px; color: var(--muted); }
.tb-q p.on { opacity: 1; transform: none; }
.tb-q .path { position: relative; height: 44px; opacity: 0; transition: opacity var(--dur-reveal) var(--ease-out); }
.tb-q .path.on { opacity: 1; }
.tb-q .rail { position: absolute; top: 6px; left: 12%; right: 12%; height: 1px; background: rgba(255,255,255,.18); }
.tb-q .st { position: absolute; top: 0; width: 33%; display: grid; justify-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); transition: color var(--dur-reveal) var(--ease-out); }
.tb-q .st[data-s="0"] { right: 0; } .tb-q .st[data-s="1"] { right: 33.5%; } .tb-q .st[data-s="2"] { left: 0; }
.tb-q .st i { width: 13px; height: 13px; border-radius: 50%; background: #030303; border: 1.5px solid rgba(255,255,255,.3); transition: background-color var(--dur-reveal) var(--ease-out), border-color var(--dur-reveal) var(--ease-out); }
.tb-q .st.aim { color: #F4F4F6; } .tb-q .st.aim i { border-color: #FFFFFF; background: #FFFFFF; }
.tb-q .st.start { color: #F4F4F6; } .tb-q .st.start i { border-color: var(--teal); background: var(--teal); }
.tb-q .run { position: absolute; top: 1px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #fff; opacity: 0; }
.tb-caps { width: min(680px, calc(100vw - 40px)); margin-left: calc(min(680px, calc(100vw - 40px)) / -2); text-align: center; }
.tb-c { position: absolute; inset: auto 0 0; display: grid; gap: 8px; justify-items: center; opacity: 0; transform: translateY(10px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.tb-c.on { opacity: 1; transform: none; }
.tb-c .num { font-family: var(--mono); font-size: 12.5px; color: var(--teal); }
.tb-c h3 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; letter-spacing: -.01em; }
.tb-c p { margin: 0; font-size: 16px; line-height: 1.65; color: #E4E4EA; max-width: 54ch; }
.tb-bar { display: flex; gap: 6px; width: 120px; margin-left: -60px; }
.tb-bar i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); transition: background var(--dur-reveal) var(--ease-out); }
.tb-bar i.on { background: var(--teal); }
@media (max-width: 699px) {
  .tb-m .ph { width: 78px; height: 78px; }
  .tb-m small { font-size: 12.5px; margin-top: -6px; }
  .tb-n { width: 120px; margin-left: -60px; }
  .tb-me .ph { width: 140px; height: 140px; }
  .tb-me { width: 140px; margin-left: -70px; }
  .tb-me b { margin-top: -12px; }
  .tb-c p { font-size: 14px; }
}
.tb.side .tb-c { justify-items: start; text-align: start; }
@media (max-height: 740px) {
  .tb-c .num { display: none; }
  .tb-c h3 { font-size: clamp(22px, 2.6vw, 30px); }
  .tb-c p { font-size: 14px; line-height: 1.55; }
}
.tb.still { height: auto; }
.tb.still .tb-stage { position: relative; height: 90vh; }
.tb.still > .tb-caps { position: static; transform: none !important; margin: 0 auto; padding-bottom: 80px; display: grid; gap: 36px; }
.tb.still .tb-c { position: static; opacity: 1; transform: none; }

/* compare: header and rows share one column grid on desktop */
@media (min-width: 900px) {
  .mx-head, .mx-row { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .mx-cells { grid-column: 2 / -1; grid-template-columns: subgrid; }
  .mx-head div, .mx-crit, .cell { padding-inline: 16px; }
}
/* demo (round 30): the step numbers lose their circle and fill, plain mono figures, teal on the selected step */
.step .n, .step[aria-selected="true"] .n { width: auto; height: auto; place-items: start; padding-top: 3px; background: none; border: 0; border-radius: 0; font-size: 14px; font-weight: 500; color: var(--faint); }
.step[aria-selected="true"] .n { color: var(--teal); }

/* ---- site integration (not in the mockup) ---- */
html, body { background: #030303; }
.story .thought { color: var(--text); font-size: 22px; font-weight: 500; }
ol.rail { list-style: none; margin: 0; }
.stl { --p: 0; }
.team-sec { background: #030303; padding-top: var(--sec-tight); }
.close .sub { max-width: 52ch; margin-top: 20px; }
.close .close-facts { margin: 12px 0 0; }
.close .stores { margin-top: 32px; }
.close .note-s { margin-top: 12px; }

/* Founder stations, real-photo slot (Ariel, 30.10: no AI images; real photos of his will replace or join the drawings).
   Put <figure class="stl-photo"><img ...></figure> first inside .stl-m. Alone: the photo fills the station.
   With the drawing: the drawing sits as a small card over the photo's lower corner. Station 03: the phones step aside for the photo. */
.stl-photo { margin: 0; width: min(100%, 380px); border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--card); }
.stl-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.stl-m:has(> .stl-photo) { position: relative; aspect-ratio: auto; overflow: visible; display: grid; place-items: center; background: none; padding-bottom: 36px; }
.stl-m.app:has(> .stl-photo) > .dev, .stl-m.app:has(> .stl-photo)::after { display: none; }

/* Founder stations 01 and 02 as type only (30.10: three-agent panel, Ariel's answers; every word from his story).
   Revealed on scroll once JS runs (.stl.js); without JS or with reduced motion everything shows at once. */
.ty { display: grid; justify-items: center; text-align: center; width: min(100%, 460px); color: var(--text); }
.ty-big { font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.ty1 { gap: 14px; }
.ty1 .ty-big { font-size: clamp(32px, 4vw, 44px); padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.ty1 .ty-ln { font-size: 18px; line-height: 1.45; }
.ty2 .ty-k { font-size: 12.5px; font-weight: 500; color: var(--label); }
.ty2 .ty-big { font-size: clamp(36px, 4.4vw, 46px); margin-top: 6px; }
.ty2 .ty-gap { display: block; position: relative; width: 1px; height: 140px; margin: 18px 0; }
.ty2 .ty-gap::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, var(--line-2) 0 5px, transparent 5px 10px); transform: scaleY(var(--g, 1)); transform-origin: top; }
.ty2 .ty-mid { font-size: clamp(22px, 2.8vw, 28px); font-weight: 500; margin-top: 4px; }
.stl.js .ty > * { opacity: 0; transform: translateY(var(--reveal-y)); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.stl.js .ty.in > * { opacity: 1; transform: none; }
.stl.js .ty.in > :nth-child(2) { transition-delay: calc(1 * var(--stagger)); }
.stl.js .ty.in > :nth-child(3) { transition-delay: calc(2 * var(--stagger)); }
.stl.js .ty.in > :nth-child(4) { transition-delay: calc(3 * var(--stagger)); }
.stl.js .ty.in > :nth-child(5) { transition-delay: calc(4 * var(--stagger)); }
@media (min-width: 900px) { .ty { justify-items: start; text-align: start; } .ty .ty-big { white-space: nowrap; } }
/* the station lines come in slowly enough to be seen, one after another (Ariel, 1.11: "נכנס מהר מדי") */
.stl.js .ty > * { transition-duration: .9s; }
.stl.js .ty.in > :nth-child(2) { transition-delay: .45s; }
.stl.js .ty.in > :nth-child(3) { transition-delay: .9s; }
.stl.js .ty.in > :nth-child(4) { transition-delay: 1.35s; }
.stl.js .ty.in > :nth-child(5) { transition-delay: 1.8s; }
@media (prefers-reduced-motion: reduce) { .stl.js .ty > * { opacity: 1; transform: none; transition: none; } }
html.a11y-still .stl.js .ty > * { opacity: 1; transform: none; transition: none; }
.stl-m.art:has(> .stl-photo) > .ty { position: absolute; bottom: 0; inset-inline-start: 0; width: min(72%, 260px); gap: 6px; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px; justify-items: start; text-align: start; }
.stl-m.art:has(> .stl-photo) > .ty .ty-big { font-size: 28px; padding-bottom: 8px; }
.stl-m.art:has(> .stl-photo) > .ty .ty-ln, .stl-m.art:has(> .stl-photo) > .ty .ty-mid { font-size: 14px; }
.stl-m.art:has(> .stl-photo) > .ty2 .ty-gap { height: 32px; margin: 6px 0; }
@media (max-width: 899px) { .stl-m.art:has(> .stl-photo) > .ty { inset-inline-start: 50%; transform: translateX(50%); } }
/* Station 03: the screens are sample data */
.stl-m.app .sample { position: absolute; z-index: 5; top: 14px; inset-inline-start: 16px; font-size: 12.5px; font-weight: 500; color: #B9B9C2; }
.stl-m.app:has(> .stl-photo) > .sample { display: none; }

/* 30.10 (Ariel): launch video back, official store badges, logo in the nav, LinkedIn by the signature */
.vid { margin: clamp(48px, 7vw, 80px) auto 0; display: grid; justify-items: center; gap: 18px; max-width: 560px; }
.vid-frame { width: min(100%, 300px); border-radius: 28px; overflow: hidden; border: 1px solid var(--d-line); background: #000; line-height: 0; }
.vid-v { width: 100%; height: auto; aspect-ratio: 9 / 16; display: block; background: #000; }
.vid .transcript { width: 100%; border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); }
.vid .transcript summary { cursor: pointer; padding: 14px 0; text-align: center; color: var(--text); font-weight: 500; }
.vid .transcript summary::after { content: "+"; margin-inline-start: 10px; color: var(--teal); }
.vid .transcript[open] summary::after { content: "−"; }
.vid .transcript ol { margin: 0 0 16px; padding-inline-start: 22px; display: grid; gap: 8px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.stl .sig-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 14px; color: var(--blue-btn); }
.stl .sig-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stl .sig > span:last-child { display: grid; justify-items: start; gap: 1px; }

/* body text on light is black */
/* setup, then punch: the verdict, the team heading, the close */
.sp .ln { display: block; }
.sp .su { font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; line-height: 1.3; letter-spacing: 0; color: var(--text); margin-bottom: 8px; }
.dark .sp .su { color: #B9B9C2; }
.sp > .ln:not(.su) { font-size: var(--h2); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; }
/* night: the notifications first on phones, the rail stays in view beside the story on desktop */
@media (max-width: 899px) { .night .rail { order: -1; } }
/* the pain story centred on phones (Ariel, 1.11) */
@media (max-width: 899px) { #pain .story { text-align: center; } }
@media (min-width: 900px) { .night .rail { position: sticky; top: 32px; align-self: start; } }
.night.js .ev { opacity: 0; transform: translateY(var(--reveal-y)); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.night.js .ev.in { opacity: 1; transform: none; }
/* the pain and the founder are two chapters (Ariel, 1.11: "אין הפרדה ברורה... זה יוצר עומס"): the verdict is a dark pause
   between them, and the founder's chapter opens with his face */
#pain { padding-bottom: clamp(72px, 10vw, 120px); }
.divide { padding-block: clamp(88px, 13vw, 150px); }
.divide .verdict { margin-top: 0; }
/* one colour for all three lines, and the last one, "אני יודע, כי הייתי בדיוק שם", is the biggest (Ariel, 1.11) */
.divide .sp .ln, .divide .sp .gi { font-size: clamp(22px, 3vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: 0; margin: 0; color: #F4F4F6; background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.divide .sp .gi { color: var(--teal); } /* "הבעיה היא שאין לך את מי לשאול" in one plain colour (Ariel, 1.11) */
/* the three lines grow: small, medium, biggest (Ariel, 1.11) */
/* equal steps at every width: the last line is the h2 size, each line above is one step smaller (phones 20/25/30, desktop 30/38/46) */
.divide { --vb: var(--fs-h2); --vd: calc(5px + (var(--vb) - 30px) * .1875); }
.divide .sp .su { font-size: calc(var(--vb) - 2 * var(--vd)); }
.divide .sp .gi { font-size: calc(var(--vb) - var(--vd)); font-weight: 600; line-height: 1.2; }
/* the same space between all three lines (Ariel, 1.11) */
.divide .verdict, .divide .sp { display: grid; gap: 18px; justify-items: center; }
.divide .sp .ln, .divide .bridge { margin: 0; }
.divide .bridge { margin: 0; font-size: var(--vb); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; color: #F4F4F6; text-wrap: balance; }
#founder.story-tl { border-top: 0; }
/* compare on phones: MentVerse leads each row at full width */
@media (max-width: 899px) { .cell.mv { grid-column: 1 / -1; order: -1; } }
/* product demo: a visible timer on the selected step; on phones the phone comes first and the steps are a swipe rail */
.step { position: relative; }
.step::after { content: ""; position: absolute; inset-inline-start: -2px; top: 0; bottom: 0; width: 2px; background: var(--teal); transform: scaleY(0); transform-origin: top; }
.step[aria-selected="true"]:not(.run)::after { transform: none; }
.step.run::after { animation: stepfill 11s linear forwards; }
.pdemo.paused .step.run::after { animation-play-state: paused; }
@keyframes stepfill { to { transform: scaleY(1); } }
.step[aria-selected="true"] { border-inline-start-color: var(--line); }
@media (max-width: 899px) {
  .pdemo .dev { order: -1; }
  .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 84%; scroll-snap-align: center; }
  .step .d { display: block; }
}
/* video: our own play button over the poster, native controls once it plays */
.vid-frame { position: relative; }
.vid-play { position: absolute; left: 50%; top: auto; bottom: 20px; width: 64px; height: 64px; margin: 0 0 0 -32px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(3,3,3,.55); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-hover) var(--ease-out); }
.vid-play svg { width: 26px; height: 26px; fill: currentColor; transform: translateX(2px); }
.vid-play:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .vid-play:hover { border-color: rgba(255,255,255,.6); } }
.vid-play[hidden] { display: none; }
.pdemo-foot { display: grid; gap: clamp(40px, 6vw, 64px); margin-top: clamp(48px, 7vw, 80px); }
.pdemo-foot .vid, .pdemo-foot .pdemo-cta { margin-top: 0; }
@media (min-width: 900px) {
  .pdemo-foot { grid-template-columns: 300px 1fr; align-items: center; column-gap: 64px; }
  .pdemo-foot .pdemo-cta { justify-items: start; text-align: start; }
  .pdemo-foot .pdemo-cta .stores { justify-content: flex-start; }
  .pdemo-foot .vid { margin: 0; max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) { .step::after { animation: none !important; } .vid-play, .night.js .ev { transition: none; } }
html.a11y-still .step::after { animation: none !important; }

/* stage 4: hover on the demo steps only with a real pointer */
@media (hover: hover) and (pointer: fine) { .step:not([aria-selected="true"]):hover b { color: var(--text); } }
@media (prefers-reduced-motion: reduce) { .tb-file li, .tb-file li::before, .tb-q p, .tb-q .path, .tb-q .st, .tb-q .st i, .tb-c, .tb-bar i, .tb-m small, .tb-task em { transition: none; } }
html.a11y-still :is(.tb-file li, .tb-q p, .tb-c, .tb-task em, .night.js .ev, .pdemo .dev .scr) { transition: none; }

/* team heading: the h2 lines set it up, "אז בנינו לך צוות" lands */
.answer5 h2.t .ln { font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; line-height: 1.3; letter-spacing: 0; color: #B9B9C2; }
.answer5 h2.t { max-width: 30ch; }
@media (max-width: 899px) {
  .mx-cells { gap: 0; padding-top: 4px; }
  .cell:not(.mv) { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: none; border-radius: 0; border-top: 1px solid var(--line); padding: 10px 2px; }
  .cell.mv { margin-bottom: 6px; }
  .cell:not(.mv) .v { justify-content: flex-end; text-align: end; }
}
@media (max-width: 899px) {
  .steps { align-items: flex-start; }
  .step { flex-basis: 80%; }
  .pdemo-foot .pdemo-cta { order: -1; }
  .pdemo-foot .vid-frame { width: 220px; }
}
.step-count { display: none; font-family: var(--mono); font-size: 12.5px; color: var(--d-muted); text-align: center; margin-top: -16px; }
@media (max-width: 899px) { .step-count { display: block; } }
.sp .ln, .pdemo-cta h3, .verdict h3 { text-wrap: balance; }
.nw { white-space: nowrap; }
html.a11y-still .night.js .ev { opacity: 1; transform: none; transition: none; }

/* ---------- round 4 (HQ critique-r3) ---------- */
/* night on phones: the notifications as a lock-screen stack pinned under the nav (JS adds .stack; reduced motion keeps the list) */
@media (max-width: 899px) {
  .night.stack .rail { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 2; height: 136px; display: block; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter); background: var(--paper); }
  .night.stack .rail::before { display: none; }
  .night.stack .rail::after { content: ""; position: absolute; inset-inline: 0; top: 100%; height: 28px; background: linear-gradient(var(--paper) 35%, rgba(247,247,249,0)); pointer-events: none; }
  .night.stack .ev { position: absolute; inset-inline: var(--gutter); bottom: 6px; opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease-move), transform .3s var(--ease-move); }
  .night.stack .ev::before { display: none; }
  .night.stack .ev time { display: block; text-align: center; margin-bottom: 4px; }
  .night.stack .ev.cur { opacity: 1; transform: none; z-index: 2; }
  .night.stack .ev.prev { opacity: .6; transform: translateY(-16px) scale(.94); z-index: 1; }
  .night.stack .ev.prev2 { opacity: .28; transform: translateY(-30px) scale(.88); z-index: 0; }
  .night.stack .ev.prev2 time { opacity: 0; }
  .night.stack .ev.prev time { opacity: 0; }
}
/* demo on phones: the phone, the 1/5 counter and the step in one screen */
@media (max-width: 899px) {
  .pdemo { gap: 20px; }
  .pdemo .dev { zoom: .8; }
  .step-count { margin-top: -8px; }
}
@media (max-width: 379px) { .pdemo .dev { zoom: .72; } }
/* demo on desktop: the CTA is a real stop, on the video's baseline */
.pdemo-foot .pdemo-cta h3 { font-size: var(--fs-h3-lg); font-weight: 700; line-height: 1.25; }
@media (min-width: 900px) { .pdemo-foot { align-items: end; } .pdemo-foot .pdemo-cta { padding-bottom: 8px; } }
html.a11y-still .night.stack .ev { transition: none; }

/* ---------- round 5 (HQ critique-r4) ---------- */
/* demo phone on phones: the drawn app text stays readable at the smaller phone */
@media (max-width: 899px) {
  .pdemo .s-lbl { font-size: 11px; }
  .pdemo .s-sub, .pdemo .s-in { font-size: 12px; }
}
/* demo on desktop: the video sits under the phone (same side), the CTA beside it, centred */
@media (min-width: 900px) {
  .pdemo-foot { grid-template-columns: 1fr 330px; column-gap: 64px; align-items: center; }
  .pdemo-foot .vid { grid-column: 2; grid-row: 1; justify-self: center; }
  .pdemo-foot .pdemo-cta { grid-column: 1; grid-row: 1; justify-items: start; text-align: start; padding-bottom: 0; }
}
/* night stack: the cards behind the current one keep their shape, their text fades out */
.night.stack .ev .msg, .night.stack .ev .msg b { transition: color .3s var(--ease-move); }
.night.stack .ev:is(.prev, .prev2) .msg, .night.stack .ev:is(.prev, .prev2) .msg b { color: transparent; }
/* night stack: every bubble is as tall as the last one (larger type), so the 02:14 card does not jump when it becomes current */
.night.stack .ev .msg { min-height: 78px; align-content: center; }

/* Ariel's notes on the preview (1.11.2026), the options he picked in the mockups */
/* 2, option B: the night notifications look like phone notifications. Grey card, a dark app tile at the start, the time
   inside the card at the end. The 02:14 card stays the dark one. */
.ev { grid-template-areas: "m"; }
.ev > time, .ev > .msg { grid-area: m; }
.ev > time { position: relative; z-index: 1; justify-self: end; align-self: start; margin: 12px 14px 0; font-size: 12px; color: var(--muted); }
.ev .msg { position: relative; background: #E4E4EA; border-color: transparent; border-radius: 18px; padding: 12px 14px; padding-inline-start: 58px; min-height: 64px; align-content: center; box-shadow: 0 8px 22px rgba(17,17,20,.10); }
.ev .msg::before { content: ""; position: absolute; inset-inline-start: 12px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 9px; background: #0B0B0F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F4F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ev .msg b { color: var(--text); font-size: 13px; padding-inline-end: 52px; }
.ev.now > time { color: #B9B9C2; }
.ev.now .msg { background: var(--ink); box-shadow: none; }
.ev.now .msg::before { background-color: #22222B; }
.night.stack .ev > time { display: block; text-align: end; margin: 12px 14px 0; }
.night.stack .ev .msg::before { transition: opacity .3s var(--ease-move); }
.night.stack .ev:is(.prev, .prev2) .msg::before { opacity: 0; }
/* the grey cards wrap to two lines on most phones; every card in the stack keeps the two-line height so none jumps */
.night.stack .ev .msg { min-height: 96px; }

/* 4, option A: the four bars of the team scene stand upright at the caption's start side (home.js places them), so they
   no longer read as carousel dots */
.tb-bar { flex-direction: column; width: 2px; height: 106px; margin-left: -1px; }
.tb-bar i { width: 2px; }
.tb-bar { transition: opacity var(--dur-reveal) var(--ease-out); }
.tb-bar.done { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .tb-bar { transition: none; } }

/* 5, option A (phones): five dots instead of 1/5, a round next button over the step that peeks in, a hint line above the
   rail, and one small slide of the rail the first time it is in view (home.js) */
.step-dots { display: none; }
.steps-wrap { position: relative; min-width: 0; }
.step-next, .swipe-hint { display: none; }
@media (max-width: 899px) {
  .step-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin: -8px 0 0; }
  .step-dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: #3A3A44; transition: width var(--dur-reveal) var(--ease-out), background var(--dur-reveal) var(--ease-out); }
  .step-dots i.on { width: 22px; background: var(--teal); }
  .step-next { display: grid; place-items: center; position: absolute; inset-inline-end: 4px; top: 92px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #3A3A44; background: #16161C; color: #F4F4F6; cursor: pointer; }
  .step-next[hidden] { display: none; }
  .step-next svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .swipe-hint { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 13px; color: var(--d-muted); }
  .swipe-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .steps.nudge { animation: railnudge .9s var(--ease-move) .3s 1; }
}
@keyframes railnudge { 0%, 100% { transform: none; } 45% { transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) { .steps.nudge { animation: none; } .step-dots i { transition: none; } }
html.a11y-still .steps.nudge { animation: none; }

/* demo foot (Ariel, 1.11): the video in the centre and "רוצה צוות שמכיר את העסק שלך?" under it, on every screen */
.pdemo-foot { grid-template-columns: 1fr; justify-items: center; }
.pdemo-foot .vid { grid-column: auto; grid-row: auto; justify-self: center; order: 0; }
.pdemo-foot .pdemo-cta { grid-column: auto; grid-row: auto; order: 1; justify-items: center; text-align: center; padding-bottom: 0; }
.pdemo-foot .pdemo-cta .stores { justify-content: center; }
/* FAQ answers at a comfortable reading width on desktop, about 70 characters (1.11) */
.faq details > p { max-width: 36em; }
