/* DoubleQ: site styles.
   Palette "warm paper + yellow marker", with dark sections (.dark) for rhythm.
   The base rules are a complete static site. Rules under .motion (added by js/motion.js unless the
   visitor prefers reduced motion) add the scroll choreography. */

/* ---------- Tokens ---------- */
:root {
  --bg: #FAF6EE; --bg-2: #F3EDE1; --surface: #FFFFFF;
  --text: #1A1916; --muted: #5C584E; --line: #DDD5C4;
  --accent: #FFD04A; --accent-ink: #1A1916; --accent-muted: #4A4537;
  --cta-bg: #1A1916; --cta-fg: #FFD04A;
  --glow: rgba(255, 208, 74, .28);
  --marker: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%);
  --ink-ui: #15171D; /* text inside white "device" surfaces */
  --f-ui: 'Heebo', Arial, sans-serif;
  --f-brand: 'Outfit', 'Heebo', Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
  --container: 1200px;
}
.dark {
  --bg: #1A1916; --bg-2: #22201C; --surface: #2A2723;
  --text: #F6F1E6; --muted: #B3AC9C; --line: #3A362F;
  --cta-bg: #FFD04A; --cta-fg: #1A1916;
  --glow: rgba(255, 208, 74, .14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); scrollbar-color: var(--line) var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--f-ui);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
section { position: relative; background: var(--bg); color: var(--text); }

/* The yellow marker: emphasis drawn like a highlighter over the words */
.hl, mark { background: var(--marker); color: inherit; padding: 0 .05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dark .hl, .dark mark { background: none; color: var(--accent); padding: 0; }

/* ---------- Buttons: feedback on press ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 17px/1 var(--f-ui); padding: 17px 30px; border-radius: 999px; border: 0; cursor: pointer;
  white-space: nowrap; transition: transform .25s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn svg { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn-yellow { background: var(--cta-bg); color: var(--cta-fg); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-dark { background: var(--accent-ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header: translucent material, content scrolls underneath ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  color: var(--text); transition: background-color .35s, color .35s;
}
.site-header::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .3s; }
.site-header.scrolled::after { opacity: .8; }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand-logo { height: 25px; width: auto; transition: filter .35s; }
.dark .brand-logo, .site-header.dark .brand-logo { filter: invert(1); }
.main-nav { display: flex; gap: 2px; margin-inline-start: 8px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--muted); padding: 8px 13px; border-radius: 999px; transition: color .2s, background-color .2s; }
.main-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.main-nav a.active { color: var(--text); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang-btn { display: inline-block; line-height: 1; font: 600 13px var(--f-brand); letter-spacing: .5px; color: var(--text); border-radius: 999px; padding: 10px 13px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.lang-btn[lang="he"] { font-family: var(--f-ui); font-weight: 700; }
.lang-btn:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.login { position: relative; }
.login-btn { display: inline-flex; align-items: center; gap: 8px; font: 500 15px var(--f-ui); color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: background-color .2s; }
.login-btn:hover, .login.open .login-btn { background: color-mix(in srgb, var(--text) 11%, transparent); }
.login-btn svg { font-size: 17px; }
.login-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 220px; padding: 8px;
  background: var(--surface); color: var(--text); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -20px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top left;
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.login.open .login-menu { opacity: 1; visibility: visible; transform: none; }
.login-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 500; transition: background-color .15s; }
.login-menu a:hover { background: var(--bg-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-y { background: var(--accent); } .dot-w { background: var(--text); } .dot-g { background: var(--muted); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--text); }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Eyes (the DoubleQ "QQ") ---------- */
.eyes { display: flex; gap: .1em; pointer-events: none; }
.eye { position: relative; width: 1em; height: 1em; border-radius: 50%; background: #fff; border: .16em solid var(--eye-ring, var(--accent-ink)); animation: eyeblink 6s infinite; }
.pupil { position: absolute; top: 50%; left: 50%; width: .38em; height: .38em; margin: -.19em 0 0 -.19em; border-radius: 50%; background: var(--accent-ink); transition: transform .12s ease-out; }
.pupil::after { content: ''; position: absolute; top: 18%; left: 22%; width: 28%; height: 28%; border-radius: 50%; background: #fff; }
.dark .eyes { --eye-ring: var(--accent); }

/* ==========================================================
   Home
   ========================================================== */
.hero { padding: calc(var(--nav-h) + 60px) 0 80px; background: radial-gradient(800px 520px at 22% 60%, var(--glow), transparent 62%), var(--bg); }
.hero .stage { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; margin-bottom: 26px; }
.hero h1 .line { display: block; }
.lead { font-size: 20px; color: var(--muted); max-width: 34ch; margin-bottom: 34px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-device { position: relative; display: flex; justify-content: center; perspective: 1400px; }

.phone { position: relative; width: 310px; height: 560px; border-radius: 44px; padding: 13px; background: linear-gradient(160deg, #2a2a30, #0b0b0e); box-shadow: 0 0 0 1.5px #3b3b44, 0 50px 90px -40px rgba(0, 0, 0, .55); }
.screen { height: 100%; border-radius: 32px; background: #F6F6F3; color: var(--ink-ui); display: flex; flex-direction: column; overflow: hidden; }
/* Product scenes share the screen; the static page shows the first one */
.scenes { flex: 1; display: grid; min-height: 0; }
.scene { grid-area: 1 / 1; display: flex; flex-direction: column; min-height: 0; }
.scene + .scene { display: none; }
.phead { display: flex; gap: 10px; align-items: center; padding: 48px 16px 12px; background: #fff; border-bottom: 1px solid #e7e7ea; }
.qr { width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: var(--ink-ui); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.ptitle { font-weight: 700; font-size: 14px; line-height: 1.2; }
.psub { font-size: 11.5px; color: #626674; display: flex; gap: 6px; align-items: center; }
.psub i { width: 7px; height: 7px; border-radius: 50%; background: #2BB673; }
.pchat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 14px 12px; font-size: 13.5px; line-height: 1.5; }
.m { max-width: 86%; padding: 10px 13px; border-radius: 17px; }
.m.u { align-self: flex-start; background: var(--ink-ui); color: #fff; border-end-start-radius: 5px; }
.m.b { align-self: flex-end; background: #fff; color: var(--ink-ui); border: 1px solid #e7e7ea; border-end-end-radius: 5px; }
.m.b ol { margin: 4px 0 0; padding-inline-start: 18px; }
.src { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #FFF0BF; color: #6E5100; }
.src svg { font-size: 12px; }
.pchat .typing { display: none; }
.typing { align-self: flex-end; gap: 4px; padding: 12px 15px; background: #fff; border: 1px solid #e7e7ea; border-radius: 17px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b4b8c3; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.acts { align-self: flex-end; display: flex; gap: 6px; }
.acts span { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid #e7e7ea; }
.acts span:last-child { background: var(--accent); border-color: var(--accent); }
.pinput { margin: 0 12px 16px; background: #fff; border: 1px solid #e7e7ea; border-radius: 999px; padding: 10px 14px; font-size: 13px; color: #626674; }
.callout {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; font-size: 14px; font-weight: 500;
  background: color-mix(in srgb, var(--surface) 84%, transparent); color: var(--text);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 18px 36px -18px rgba(0, 0, 0, .45);
}
.callout b { font: 800 22px var(--f-brand); }
.callout .ok { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 15px; }
.c1 { top: 16%; inset-inline-start: -2%; } .c2 { bottom: 14%; inset-inline-end: -6%; } .c3 { top: 46%; inset-inline-end: 0; }
.eyes-hero { position: absolute; top: -26px; inset-inline-end: 12%; z-index: 4; font-size: 70px; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .22)); }
/* The hero eyes are the logo's two Qs: each gets the little tail at its lower right */
.eyes-hero .eye::after, .eyes-q .eye::after {
  content: ''; position: absolute; z-index: -1; right: -.2em; bottom: -.12em;
  width: .42em; height: .17em; border-radius: .09em; background: var(--eye-ring, var(--accent-ink));
  transform: rotate(42deg); transform-origin: center;
}
.cue { display: none; }

/* Statement + stats */
.statement { padding: 140px 0 40px; }
.statement h2 { font-size: clamp(40px, 6vw, 84px); font-weight: 900; max-width: 15ch; }
.statement .sub { font-size: 21px; color: var(--muted); max-width: 52ch; margin-top: 28px; }
.stats { padding: 40px 0 140px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; border-top: 1px solid var(--line); padding-top: 40px; }
.stat-row + .stat-row { margin-top: 64px; }
.stat .num { font: 800 clamp(64px, 7vw, 108px)/1 var(--f-brand); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin-bottom: 14px; direction: ltr; text-align: right; }
.stat .num small { font-size: .45em; letter-spacing: 0; }
.stat .num .hl { padding: 0 .04em; }
.stat p { color: var(--muted); max-width: 30ch; }
.stat p b { color: var(--text); }
.sources { margin-top: 36px; font-size: 13px; color: var(--muted); }

/* Home: how it works (dark) */
.how { padding: 120px 0; }
.how .stage { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.how h2 { font-size: clamp(32px, 3.4vw, 50px); font-weight: 900; margin-bottom: 28px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.how-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.how-steps .n { font: 800 15px var(--f-brand); color: var(--accent); padding-top: 4px; }
.how-steps h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.how-steps p { color: var(--muted); font-size: 16.5px; }
.how-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; border-radius: 36px; background: radial-gradient(70% 70% at 50% 40%, var(--glow), transparent 70%), var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.hv { position: absolute; inset: 0; display: grid; place-items: center; }
.hv:not(.hv-2) { display: none; }
.docs { position: relative; width: 58%; aspect-ratio: .8; }
.doc { position: absolute; inset: 0; border-radius: 18px; background: #fff; color: var(--ink-ui); padding: 22px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.doc b { font: 800 15px var(--f-brand); display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--accent); }
.doc i { display: block; height: 9px; border-radius: 5px; background: #e6e3dc; margin-top: 14px; }
.doc i:nth-child(3) { width: 80%; } .doc i:nth-child(5) { width: 60%; }
.doc:nth-child(1) { transform: rotate(-9deg) translate(-14%, 6%); }
.doc:nth-child(2) { transform: rotate(5deg) translate(12%, 2%); }
.bigqr { width: 52%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6%; padding: 7%; background: #fff; border-radius: 28px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.bigqr i { border-radius: 22%; background: var(--ink-ui); }
.bigqr i.y { background: var(--accent); } .bigqr i.o { background: transparent; }
.hchat { width: 70%; display: grid; gap: 12px; font-size: 16px; }
.hchat .m { max-width: 90%; }
.hv-dash { width: 72%; background: #fff; color: var(--ink-ui); border-radius: 24px; padding: 24px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.hv-dash h4 { margin: 0 0 4px; font-size: 15px; }
.hv-dash small { color: #626674; font-size: 12.5px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 20px; }
.bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: #E8E5DD; transform-origin: bottom; }
.bars i.hot { background: var(--accent); }

/* Eyes band */
.band { padding: 120px 0; background: var(--accent); color: var(--accent-ink); overflow: clip; }
.band .stage { display: flex; align-items: center; justify-content: space-between; gap: 48px; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.band .eyes { font-size: clamp(130px, 17vw, 230px); flex-shrink: 0; }
.band .tag { font: 800 16px var(--f-brand); margin-bottom: 14px; }
.band h2 { font-size: clamp(36px, 4.8vw, 66px); font-weight: 900; margin-bottom: 20px; }
.band p { font-size: 19px; max-width: 46ch; }

/* Audience switcher (js/main.js renders the panel) */
.solutions { padding: 140px 0; background: var(--bg-2); }
.sec-h { font-size: clamp(36px, 4.6vw, 62px); font-weight: 900; max-width: 18ch; margin-bottom: 40px; }
.aud-tabs { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 28px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.aud-tab { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: 700 15px var(--f-ui); padding: 12px 20px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: color .25s; }
.aud-tab.active { color: var(--cta-fg); }
.aud-indicator { position: absolute; top: 6px; bottom: 6px; border-radius: 999px; background: var(--cta-bg); transition: left .45s cubic-bezier(.3, 1.2, .5, 1), width .45s cubic-bezier(.3, 1.2, .5, 1); }
/* The panel is open layout, not a card: the sample conversation is the one raised surface */
.aud-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding: 20px 0 0; }
.aud-panel.swap .aud-copy, .aud-panel.swap .aud-demo { animation: swap .5s var(--ease) both; }
.aud-copy h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; margin-bottom: 14px; }
.aud-copy > p { color: var(--muted); margin-bottom: 20px; }
.aud-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.aud-list li, .check-list li { display: flex; gap: 12px; align-items: flex-start; }
.aud-list li::before, .check-list li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1916' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.aud-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.aud-card { background: #fff; color: var(--ink-ui); border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .5); }
.aud-card-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #ececef; margin-bottom: 14px; }
.aud-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--ink-ui); color: var(--accent); display: grid; place-items: center; font-size: 20px; }
.aud-product { font-weight: 700; font-size: 15px; }
.aud-meta { font-size: 12px; color: #626674; }
.aud-q { background: var(--ink-ui); color: #fff; padding: 10px 14px; border-radius: 16px; border-end-start-radius: 5px; width: fit-content; max-width: 90%; margin-bottom: 10px; font-size: 15px; }
.aud-a { background: #F4F2EC; padding: 12px 14px; border-radius: 16px; border-end-end-radius: 5px; margin-inline-start: auto; width: fit-content; max-width: 92%; font-size: 15px; }
.aud-src { text-align: left; }
.aud-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.aud-kpi { font-size: 13.5px; color: var(--muted); padding-top: 12px; border-top: 2px solid var(--text); line-height: 1.4; }
.aud-kpi b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }

/* Capabilities gallery */
.caps { padding: 140px 0; }
.caps .stage { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 20px; }
.cap { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; min-height: 300px; padding: 32px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.cap:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 50px -36px rgba(0, 0, 0, .4); }
.cap .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--accent); color: var(--accent-ink); margin-bottom: auto; }
.cap h3 { font-size: 26px; font-weight: 800; margin: 48px 0 10px; }
.cap p { color: var(--muted); }

/* Why */
.why { padding: 140px 0; background: var(--bg-2); }
.why .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why-head { position: sticky; top: calc(var(--nav-h) + 48px); }
.why-head p { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 40ch; }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid var(--line); }
.why-item .n { font: 800 15px var(--f-brand); color: var(--muted); padding-top: 6px; }
.why-item h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.why-item p { color: var(--muted); }

/* Pilot */
.pilot { padding: 140px 0; background: var(--accent); color: var(--accent-ink); }
.pilot .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pilot .eyes { font-size: 60px; margin-bottom: 26px; }
.pilot h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 900; margin-bottom: 20px; }
.pilot-copy > p { font-size: 19px; margin-bottom: 22px; max-width: 42ch; color: var(--accent-muted); }
.pilot-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-weight: 700; }
.pilot-points li { display: flex; gap: 10px; align-items: center; }
.pilot-points li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; background: var(--accent-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD04A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---------- Forms (shared) ---------- */
.lead-form, .contact-form { background: #fff; color: var(--ink-ui); border-radius: 28px; padding: 36px; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .4); }
.pilot-form h3 { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.contact-form h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.contact-form > p { color: #5C584E; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: 500 16px var(--f-ui); color: var(--ink-ui); width: 100%;
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid #e2ded4; background: #FBFAF7;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-ui); background: #fff; box-shadow: 0 0 0 4px rgba(255, 208, 74, .4); }
.field input.invalid { border-color: #C93A3A; background: #FFF6F6; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Sent: the form gives way to a thank-you, with the eyes keeping watch */
.lead-form { position: relative; }
.form-done {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: #fff; color: var(--ink-ui);
  display: grid; place-content: center; justify-items: center; gap: 14px; padding: 32px; text-align: center;
  opacity: 0; visibility: hidden; transform: scale(.98);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s;
}
.lead-form.sent .form-done { opacity: 1; visibility: visible; transform: none; }
.form-done .eyes { font-size: 64px; margin-bottom: 10px; --eye-ring: var(--ink-ui); }
.form-done .pupil { background: var(--ink-ui); animation: lookaround 5s ease-in-out infinite; }
.form-done h3 { font-size: 32px; font-weight: 900; margin: 0; }
.form-done p { color: #5C584E; font-size: 17px; max-width: 32ch; }
.form-done .btn-ghost { color: var(--ink-ui); box-shadow: inset 0 0 0 1.5px #e2ded4; margin-top: 6px; }
.form-done .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-ui); }
@keyframes lookaround { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-.08em, -.05em); } 45% { transform: translate(.08em, -.04em); } 70% { transform: translate(.02em, .07em); } }
.form-msg { margin-top: 12px; font-size: 14.5px; font-weight: 600; min-height: 22px; }
.form-msg.err { color: #B42F2F; } .form-msg.ok { color: #1D6E46; } .form-msg.info { color: #6E5100; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 28px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand p { margin-top: 14px; font: 600 18px var(--f-brand); color: var(--muted); direction: ltr; text-align: right; }
.footer-brand .hl { color: var(--text); }
.footer-cols { display: flex; gap: 72px; }
.footer-cols h4 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.footer-cols a { display: block; font-size: 15px; padding: 4px 0; transition: color .2s; }
.footer-cols a:hover { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

.toast { position: fixed; bottom: 24px; left: 50%; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--accent-ink); color: #fff; font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 999px; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .5); transition: opacity .3s, transform .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   Inner pages
   ========================================================== */
.section { padding: 130px 0; }
.alt-bg { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 900; margin-bottom: 20px; }
.section-head p { font-size: 19px; color: var(--muted); }
.kicker:not(.kicker-dark) { display: none; } /* section labels are dropped; the heading carries the section */

.page-hero { overflow: clip; padding: calc(var(--nav-h) + 110px) 0 110px; background: radial-gradient(800px 460px at 20% 30%, var(--glow), transparent 62%), var(--bg); }
.page-hero .container { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 92px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 26px; }
.page-hero .lead { margin-bottom: 0; max-width: 46ch; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--text); }
.page-hero .eyes { font-size: 110px; flex-shrink: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.card { position: relative; overflow: hidden; padding: 32px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.alt-bg .card { background: var(--surface); }
.glow::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 30%, transparent), transparent 45%); }
.glow:hover::before { opacity: 1; }
.cap-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--accent); color: var(--accent-ink); }

/* How page: four steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps-line { position: absolute; top: 31px; inset-inline-start: 32px; inset-inline-end: calc((100% - 66px) / 4 - 32px); height: 2px; background: var(--line); border-radius: 2px; }
.steps-fill { height: 100%; width: 0; background: var(--accent-ink); border-radius: 2px; transition: width .2s linear; }
.step-num { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 800 20px var(--f-brand); color: var(--muted); background: var(--bg-2); box-shadow: inset 0 0 0 2px var(--line); margin-bottom: 26px; transition: background-color .4s, color .4s, box-shadow .4s; }
.step.on .step-num { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.step-body { padding: 28px 24px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-height: 300px; display: flex; flex-direction: column; }
.step h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.mini-qr { margin-top: auto; width: 74px; height: 74px; padding: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mini-qr i { background: var(--ink-ui); border-radius: 3px; }
.mini-qr i:nth-child(2), .mini-qr i:nth-child(6), .mini-qr i:nth-child(8) { background: var(--accent); }
.mini-chat { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.mini-chat .q { align-self: flex-start; background: var(--ink-ui); color: #fff; padding: 6px 12px; border-radius: 14px; }
.mini-chat .a { align-self: flex-end; background: var(--accent); color: var(--accent-ink); padding: 6px 12px; border-radius: 14px; font-weight: 500; }
.mini-bars { margin-top: auto; height: 74px; display: flex; align-items: flex-end; gap: 8px; }
.mini-bars i { flex: 1; height: var(--h); background: var(--bg-2); border-radius: 6px 6px 2px 2px; box-shadow: inset 0 0 0 1px var(--line); }
.mini-bars i:nth-child(4) { background: var(--accent); box-shadow: none; }

/* How page: two views */
.views { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.view-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.view-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.view h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.view > p { color: var(--muted); margin-bottom: 24px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dash { margin-top: 26px; background: #fff; color: var(--ink-ui); border-radius: 18px; padding: 18px; box-shadow: 0 0 0 1px var(--line); }
.dash-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #626674; margin-bottom: 14px; }
.dash-head b { color: var(--ink-ui); font-size: 15px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.dash-kpi { background: #F4F2EC; border-radius: 12px; padding: 10px 12px; font-size: 12px; color: #626674; }
.dash-kpi b { display: block; font: 800 20px var(--f-brand); color: var(--ink-ui); }
.dash-row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 7px 0; border-top: 1px solid #ececef; }
.dash-row span:first-child { flex: 1; }
.dash-bar { width: 90px; height: 6px; border-radius: 6px; background: #F0EDE5; overflow: hidden; }
.dash-bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.demo-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* How page: vertical timeline */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-inline-start: 90px; }
.timeline-line { position: absolute; top: 10px; bottom: 10px; inset-inline-start: 31px; width: 2px; background: var(--line); }
.timeline-fill { width: 100%; height: 0; background: var(--accent); transition: height .15s linear; }
.tl-item { position: relative; padding-bottom: 54px; transition: opacity .5s var(--ease); }
.tl-item:last-child { padding-bottom: 0; }
.motion .tl-item:not(.on) { opacity: .35; }
.tl-dot { position: absolute; inset-inline-start: -90px; top: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 800 19px var(--f-brand); color: var(--muted); background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--ease); }
.tl-item.on .tl-dot { background: var(--accent); color: var(--accent-ink); box-shadow: none; transform: scale(1.06); }
.tl-item .tl-when { font: 700 15px var(--f-brand); color: var(--accent); margin-bottom: 6px; }
html[lang="he"] .tl-item .tl-when { font-family: var(--f-ui); }
.tl-item h3 { font-size: 28px; font-weight: 800; margin-bottom: 10px; padding-top: 4px; }
.tl-item p { color: var(--muted); max-width: 620px; }
.tl-item .chips { margin-top: 16px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq-item.open { box-shadow: inset 0 0 0 1.5px var(--text); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; background: none; border: 0; color: var(--text); cursor: pointer; font: 700 18px var(--f-ui); text-align: right; }
.faq-q .plus { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); position: relative; transition: background-color .3s, transform .4s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; }
.faq-q .plus::after { transform: rotate(90deg); transition: transform .3s; }
.faq-item.open .plus { background: var(--accent); color: var(--accent-ink); transform: rotate(180deg); }
.faq-item.open .plus::after { transform: rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 26px 24px; color: var(--muted); }

/* Solutions page */
.sol-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.sol-nav a { padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15px; transition: box-shadow .2s, background-color .2s; }
.sol-nav a:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.sol { padding: 130px 0; }
.sol:nth-of-type(even):not(.dark) { background: var(--bg-2); }
.sol .split { align-items: start; }
.sol-num { font: 800 15px var(--f-brand); color: var(--muted); margin-bottom: 14px; display: block; }
.sol h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; margin-bottom: 18px; }
.sol .lead { font-size: 18px; margin-bottom: 26px; }
.pain-gain { display: grid; gap: 14px; }
.pg { padding: 22px 24px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pg h4 { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 8px; letter-spacing: 0; }
.pg.gain { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent); }
.pg.gain h4 { color: var(--text); }
.pg p { font-size: 16px; }
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usecase { padding: 26px 22px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.usecase:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line), 0 26px 40px -30px rgba(0, 0, 0, .4); }
.usecase .cap-icon { margin-bottom: 16px; }
.usecase h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.usecase p { color: var(--muted); font-size: 15px; }

/* About page */
.big-quote { font-size: clamp(30px, 3.8vw, 52px); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.story p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value h3 { font-size: 20px; font-weight: 800; margin: 16px 0 8px; }
.value p { color: var(--muted); font-size: 15.5px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { text-align: center; padding: 34px 24px; }
.avatar { width: 128px; height: 128px; margin: 0 auto 20px; border-radius: 50%; background: var(--bg-2); border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 52px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.member .role { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.member p { color: var(--muted); font-size: 14.5px; }
.placeholder-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #6E5100; background: #FFF0BF; padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-slot { height: 90px; border-radius: 18px; border: 1.5px dashed var(--line); display: grid; place-items: center; color: var(--muted); font: 600 14px var(--f-ui); transition: border-color .3s, color .3s; }
.logo-slot:hover { border-color: var(--text); color: var(--text); }
.markets { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.market { display: flex; gap: 20px; align-items: flex-start; }
.market .flag { flex-shrink: 0; font: 800 20px var(--f-brand); width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.market h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.market p { color: var(--muted); font-size: 16px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.contact-side { display: grid; gap: 16px; }
.contact-side .card p { color: var(--muted); }
.contact-item { display: flex; gap: 16px; align-items: center; }
.contact-item .cap-icon { margin: 0; flex-shrink: 0; }
.contact-item h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 2px; letter-spacing: 0; }
.contact-item .val { font-size: 18px; font-weight: 700; }
.contact-item .val.todo { color: var(--muted); font-weight: 500; font-style: italic; }
.next-steps { counter-reset: ns; list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.next-steps li { counter-increment: ns; display: flex; gap: 14px; align-items: flex-start; }
.next-steps li::before { content: counter(ns); flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 800 14px var(--f-brand); }

/* CTA strip */
.cta-strip { background: var(--accent); color: var(--accent-ink); padding: 100px 0; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 900; }
.cta-strip .eyes { font-size: 64px; }
.cta-strip .cta-left { display: flex; align-items: center; gap: 28px; }
.cta-strip .btn-yellow, .pilot .btn-yellow { background: var(--accent-ink); color: var(--accent); }

/* Login page */
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-side { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-ink); padding: 48px 56px; display: flex; flex-direction: column; }
.login-side .brand-logo { height: 28px; filter: none; }
.login-side-body { margin: auto 0; padding: 40px 0; }
.login-side .eyes { font-size: clamp(90px, 10vw, 140px); margin-bottom: 36px; }
.login-side .role-tag { display: inline-block; font: 800 14px var(--f-ui); background: var(--accent-ink); color: var(--accent); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.login-side h1 { font-size: clamp(38px, 4.6vw, 64px); font-weight: 900; margin-bottom: 18px; }
.login-side p { font-size: 18px; color: var(--accent-muted); max-width: 440px; margin-bottom: 22px; }
.login-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 700; }
.login-side li { display: flex; gap: 10px; align-items: center; }
.login-side li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); }
.login-side .back { font-size: 14px; font-weight: 700; color: var(--accent-muted); }
.login-side .back:hover { color: var(--accent-ink); }
.login-main { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--bg); }
.login-lang { position: absolute; top: 24px; inset-inline-end: 24px; font: 700 13px var(--f-ui); border-radius: 999px; padding: 8px 13px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.login-lang:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.login-box { width: 100%; max-width: 430px; }
.role-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 40px; }
.role-tab { font: 700 14.5px var(--f-ui); color: var(--muted); background: none; border: 0; padding: 11px 6px; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s; }
.role-tab.active { background: var(--cta-bg); color: var(--cta-fg); }
.login-box h2 { font-size: 34px; font-weight: 900; margin-bottom: 8px; }
.login-box > p { color: var(--muted); margin-bottom: 30px; }
.login-box .field input { background: var(--surface); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-inline-end: 70px; }
.pw-toggle { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--ink-ui); font: 700 13px var(--f-ui); cursor: pointer; padding: 6px 8px; text-decoration: underline; text-underline-offset: 3px; }
.login-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 24px; font-size: 14.5px; color: var(--muted); }
.login-row label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.login-row input { accent-color: var(--accent-ink); width: 16px; height: 16px; }
.login-row a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.login-help { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); text-align: center; }
.login-help a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.secure-note { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.login-side .eye { transition: transform .25s var(--ease); }
body.peek-off .login-side .eye { animation: none; transform: scaleY(.12); }

/* ==========================================================
   English (LTR)
   ========================================================== */
html[dir="ltr"] .btn:hover svg { transform: translateX(4px); }
html[dir="ltr"] .field input[dir="ltr"] { text-align: left; }
html[dir="ltr"] .faq-q { text-align: left; }
html[dir="ltr"] .stat .num { text-align: left; }
html[dir="ltr"] .footer-brand p { text-align: left; }
html[dir="ltr"] .aud-src { text-align: right; }
html[dir="ltr"] .login-menu { transform-origin: top right; }
html[dir="ltr"] .hero h1 { letter-spacing: -0.035em; font-size: clamp(44px, 6vw, 84px); }

/* ==========================================================
   Scroll choreography (js/motion.js adds .motion)
   ========================================================== */
.motion .pin { height: calc(var(--len, 2) * 100vh); padding: 0; }
.motion .pin > .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.motion [data-at] { transition: opacity .5s var(--ease), transform .6s var(--ease); }

/* Header takes on the dark material over dark sections */
.site-header.dark { --bg: #1A1916; --text: #F6F1E6; --muted: #B3AC9C; --line: #3A362F; --surface: #2A2723; --bg-2: #22201C; }

/* Marker draws itself across the words */
.motion .draw { background-size: 0% 100%; background-repeat: no-repeat; background-position: right; transition: background-size 1.1s .35s cubic-bezier(.65, 0, .35, 1); }
.motion .draw.on { background-size: 100% 100%; }
html[dir="ltr"].motion .draw { background-position: left; }

/* Home hero: the phone tilts up into place, the conversation plays with the scroll */
.motion .hero .stage { align-content: center; padding-top: var(--nav-h); }
.motion .hero { --k: clamp(0, var(--p) / .1, 1); --out: clamp(0, (var(--p) - .94) / .06, 1); }
.motion .scene { display: flex; transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s; }
.motion .scene:not(.on) { opacity: 0; visibility: hidden; transform: translateY(-14px) scale(.98); }
.motion .hero .phone { transform: rotateX(calc((1 - var(--k)) * 18deg)) rotateY(calc((1 - var(--k)) * -14deg)) translateY(calc((1 - var(--k)) * 40px)) scale(calc(.92 + var(--k) * .08)); }
html[dir="ltr"].motion .hero .phone { transform: rotateX(calc((1 - var(--k)) * 18deg)) rotateY(calc((1 - var(--k)) * 14deg)) translateY(calc((1 - var(--k)) * 40px)) scale(calc(.92 + var(--k) * .08)); }
.motion .hero .hero-copy { opacity: calc(1 - var(--out)); transform: translateY(calc(var(--out) * -40px)); }
.motion .hero-device { opacity: calc(1 - var(--out) * .6); }
.motion .hero .pchat [data-at]:not(.on), .motion .callout:not(.on) { opacity: 0; transform: translateY(14px) scale(.97); }
.motion .hero .pchat .typing.on { display: flex; }
.motion .hero .pchat .m.b:not(.on), .motion .hero .pchat .acts:not(.on) { display: none; }
.motion .hero .pchat .src:not(.on) { opacity: 0; }
.motion .cue { display: block; position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--muted); opacity: calc(1 - var(--k)); }
.motion .cue::after { content: ''; display: block; width: 1.5px; height: 28px; margin: 8px auto 0; background: linear-gradient(var(--muted), transparent); animation: cue 1.8s ease-in-out infinite; }

/* Words light up in reading order */
.motion [data-words] .w { opacity: .14; transition: opacity .35s ease-out; }
.motion [data-words] .w.lit { opacity: 1; }
.motion .statement .stage { display: grid; align-content: center; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.motion .statement .sub:not(.on) { opacity: 0; transform: translateY(20px); }

/* Home how: one step at a time, the visual morphs between stages */
.motion .how .stage { align-content: center; padding-top: var(--nav-h); }
.motion .how-steps li { opacity: .32; transition: opacity .4s; }
.motion .how-steps li.on { opacity: 1; }
.motion .hv { display: grid !important; opacity: 0; transform: scale(.94); filter: blur(6px); transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s; }
.motion .hv.on { opacity: 1; transform: none; filter: none; }
.motion .hv-0.on .doc:nth-child(1) { animation: fanL .8s var(--ease) both; }
.motion .hv-0.on .doc:nth-child(2) { animation: fanR .8s var(--ease) both; }
.motion .hv-1.on .bigqr i { animation: pix .5s var(--ease) both; animation-delay: calc(var(--d) * 22ms); }
.motion .hv-2.on .m { animation: pop .5s var(--ease) both; }
.motion .hv-2.on .m.b { animation-delay: .45s; }
.motion .hv-3.on .bars i { animation: grow .8s var(--ease) both; animation-delay: calc(var(--d) * 70ms); }
.motion .how-bar { height: 3px; border-radius: 3px; background: var(--line); margin-top: 28px; overflow: hidden; }
.motion .how-bar i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--accent); }

/* Band: the page turns yellow as the eyes open wide */
.motion .band { background: var(--bg); }
.motion .band .stage { --k: clamp(0, var(--p) / .45, 1); max-width: none; padding: 0 max(32px, calc((100vw - var(--container)) / 2 + 32px)); background: color-mix(in srgb, var(--accent) calc(var(--k) * 100%), var(--bg)); }
.motion .band .eyes { transform: scale(calc(.35 + var(--k) * .65)) rotate(calc((1 - var(--k)) * -20deg)); }
.motion .band-copy:not(.on) { opacity: 0; transform: translateY(30px); }

/* Capabilities: the vertical scroll drives the horizontal gallery */
.motion .caps .stage { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; max-width: none; padding: var(--nav-h) 0 0; }
.motion .caps .stage > .sec-h { width: 100%; max-width: var(--container); margin: 0 auto 40px; padding: 0 32px; }
.motion .caps .track { overflow: visible; padding-inline: max(32px, calc((100vw - var(--container)) / 2 + 32px)); transform: translateX(calc(var(--x, 0) * 1px)); scroll-snap-type: none; }

/* Inner page heroes drift up and soften as you scroll past them */
.motion .page-hero .container { transform: translateY(calc(var(--l, 0) * 90px)); opacity: calc(1 - var(--l, 0) * 1.3); }
.motion .page-hero .eyes { transform: scale(calc(1 + var(--l, 0) * .5)) rotate(calc(var(--l, 0) * 12deg)); }

/* Big quote and section statements: scrubbed by the scroll */
.motion .big-quote[data-words] .w { opacity: .12; }

/* Solutions: copy column stays while the details scroll by */
.motion .sol .split > :first-child { position: sticky; top: calc(var(--nav-h) + 40px); }

/* Flowing reveals (js/main.js adds .in) */
.motion .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }
/* Cards land from a little further back, so a row reads as layers settling into place */
.motion :is(.card, .usecase, .faq-item, .why-item, .stat).reveal:not(.in) { transform: translateY(56px) scale(.95); }

/* Closing strips: the eyes open up and the line settles as the strip scrolls in */
.motion .cta-strip .eyes { --k: min(var(--p, 1) / .8, 1); transform: scale(calc(.55 + var(--k) * .45)) rotate(calc((1 - var(--k)) * -24deg)); }
.motion .cta-strip .btn { translate: 0 calc((1 - min(var(--p, 1) / .8, 1)) * 24px); opacity: calc(var(--p, 1) * 1.5 - .2); } /* translate, not transform: keeps the button's own press feedback */
.motion .step { opacity: .35; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.motion .step.on { opacity: 1; transform: none; }

@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes swap { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pix { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes fanL { from { transform: none; } to { transform: rotate(-9deg) translate(-14%, 6%); } }
@keyframes fanR { from { transform: none; } to { transform: rotate(5deg) translate(12%, 2%); } }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@keyframes eyeblink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 10px; }
  .hide-mobile { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: var(--nav-h); inset-inline: 0; margin: 0; flex-direction: column; gap: 0; padding: 12px 16px 20px; background: var(--bg); box-shadow: 0 1px 0 var(--line); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .main-nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero .stage, .how .stage, .aud-panel, .why .container, .pilot .container, .split, .views, .contact-grid, .markets, .login-page { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .band .stage { flex-direction: column; text-align: center; }
  .band p { margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-line { display: none; }
  .values, .usecases, .team { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .page-hero .eyes { display: none; }
  .login-side { padding: 32px 28px; }
  .login-side-body { padding: 36px 0 10px; }
  .login-side .eyes { font-size: 80px; margin-bottom: 24px; }
  .motion .sol .split > :first-child { position: static; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .container, .hero .stage, .how .stage, .band .stage, .caps .stage { padding-inline: 18px; }
  .header-inner { gap: 10px; }
  .brand-logo { height: 21px; }
  .login-btn { padding: 9px 12px; font-size: 14px; }
  .section, .sol, .solutions, .why, .pilot, .caps { padding: 90px 0; }
  .section-head { margin-bottom: 40px; }
  .hero h1 { font-size: 46px; }
  .lead { font-size: 18px; }
  .stat-row, .steps, .values, .usecases, .team, .dash-kpis, .aud-kpis, .field-row { grid-template-columns: 1fr; }
  .stat-row { gap: 36px; }
  .aud-panel { padding: 8px 0 0; gap: 36px; }
  /* Tabs scroll sideways on narrow phones; the fade at the edge says there is more */
  .aud-tabs { display: flex; -webkit-mask-image: linear-gradient(to right, transparent, #000 36px); mask-image: linear-gradient(to right, transparent, #000 36px); }
  html[dir="ltr"] .aud-tabs { -webkit-mask-image: linear-gradient(to left, transparent, #000 36px); mask-image: linear-gradient(to left, transparent, #000 36px); }
  .aud-tabs.at-end { -webkit-mask-image: none; mask-image: none; }
  .aud-tab { font-size: 14px; padding: 11px 15px; }
  .lead-form, .contact-form, .card { padding: 24px; }
  .callout { font-size: 12.5px; padding: 9px 12px; }
  .callout b { font-size: 18px; }
  .c1 { inset-inline-start: 0; } .c2 { inset-inline-end: 0; } .c3 { display: none; }
  .phone { width: 270px; height: 500px; }
  .eyes-hero { font-size: 54px; }
  .page-hero { padding: calc(var(--nav-h) + 70px) 0 70px; }
  .logos { grid-template-columns: 1fr 1fr; }
  .timeline { padding-inline-start: 70px; }
  .tl-dot { inset-inline-start: -70px; width: 52px; height: 52px; font-size: 16px; }
  .timeline-line { inset-inline-start: 25px; }
  .cta-strip .cta-left { flex-direction: column; align-items: flex-start; gap: 16px; }
  .faq-q { padding: 18px 20px; font-size: 16.5px; }
  .faq-a p { padding: 0 20px 20px; }
  .footer-cols { gap: 40px; }

  /* Mobile choreography: the copy hands the stage to the phone, then the chat plays */
  .motion .hero .stage { display: block; }
  .motion .hero .hero-copy { position: absolute; inset: calc(var(--nav-h) + 28px) 18px auto; opacity: calc(1 - clamp(0, var(--p) / .05, 1)); transform: translateY(calc(clamp(0, var(--p) / .05, 1) * -60px)); }
  .motion .hero .hero-device { position: absolute; inset: auto 0 calc(-58vh + clamp(0, var(--p) / .06, 1) * (58vh + 40px)); opacity: 1; }
  .motion .hero .phone, html[dir="ltr"].motion .hero .phone { transform: scale(calc(.9 + var(--k) * .1)); }
  .motion .cue { display: none; }
  .motion .how .stage { grid-template-rows: auto auto 1fr; gap: 22px; align-content: start; padding-top: calc(var(--nav-h) + 20px); }
  .motion .how h2 { font-size: 30px; margin-bottom: 0; }
  .motion .how-visual { max-width: 320px; order: -1; }
  .motion .how-copy { display: contents; }
  .motion .how-steps { position: relative; min-height: 150px; }
  .motion .how-steps li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s; border: 0; padding: 0; }
  .motion .how-steps li.on:not(.cur) { opacity: 0; }
  .motion .how-steps li.cur { opacity: 1; transform: none; }
  .motion .how-bar { margin-top: 0; }
  .motion .caps { height: auto; padding: 90px 0; }
  .motion .caps > .stage { position: static; height: auto; padding-top: 0; }
  .motion .caps .track { transform: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 18px; }
  .motion .caps .stage > .sec-h { padding: 0 18px; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .callout { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
