/* Do AI with Itay: v2 design system
   Dark, quiet hero + light content. One accent gradient (cyan > blue > violet).
   Logical properties only, so the same file serves RTL (he) and LTR (en). */

:root {
  --ink: #070b1f;
  --ink-2: #0c1233;
  --ink-3: #151c47;
  --text: #0b1230;
  --muted: #5b6784;
  --line: rgba(11, 18, 48, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);
  --bg: #f5f7fc;
  --card: #ffffff;
  --cyan: #19cfe6;
  --blue: #1a73ff;
  --violet: #8a3ffc;
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 45%, var(--violet) 100%);
  --radius: 24px;
  --radius-sm: 16px;
  --wrap: min(1180px, calc(100vw - 40px));
  --shadow: 0 1px 2px rgba(11, 18, 48, 0.04), 0 24px 60px -24px rgba(11, 18, 48, 0.18);
  --font: "Manrope", "Heebo", -apple-system, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="he"] body { font-family: "Heebo", "Manrope", -apple-system, "Segoe UI", Arial, sans-serif; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link {
  position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 700;
  transform: translateY(-150%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* ---------- reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { color: #fff; background: var(--grad); background-size: 140% 100%; box-shadow: 0 10px 30px -8px rgba(26, 115, 255, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(138, 63, 252, 0.6); background-position: 100% 0; }
.btn-ghost { color: #fff; border-color: var(--line-dark); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn-line { border-color: var(--line); background: #fff; }
.btn-line:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 11, 31, 0.78); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line-dark); }
.nav-inner { width: var(--wrap); margin-inline: auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, 0.72); font-weight: 600; font-size: 15px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-dark); }
.lang a { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, 0.6); }
.lang a[aria-current="true"] { background: #fff; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding: 168px 0 0; }
.hero::before { /* grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.hero::after { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(26, 115, 255, 0.22), transparent 60%);
}
.blob { position: absolute; z-index: -3; border-radius: 50%; filter: blur(110px); opacity: 0.42; will-change: transform; }
.blob.b1 { width: 520px; height: 520px; background: #1a73ff; inset-inline-start: -120px; top: -140px; animation: drift1 18s ease-in-out infinite alternate; }
.blob.b2 { width: 460px; height: 460px; background: #8a3ffc; inset-inline-end: -100px; top: 40px; animation: drift2 22s ease-in-out infinite alternate; }
.blob.b3 { display: none; width: 380px; height: 380px; background: #19cfe6; inset-inline-start: 38%; bottom: -180px; opacity: 0.35; animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(90px, 70px, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-110px, 90px, 0) scale(0.9); } }

.hero-copy { text-align: center; max-width: 900px; margin-inline: auto; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { margin-top: 0; font-size: clamp(32px, 3.9vw, 58px); line-height: 1.06; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
html[lang="he"] .hero h1 { line-height: 1.12; letter-spacing: -0.01em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { margin: 24px auto 0; max-width: 640px; font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, 0.72); text-wrap: pretty; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.proof { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.proof-item { padding: 34px 28px 30px 0; }
.proof-item + .proof-item { padding-inline-start: 32px; border-inline-start: 1px solid var(--line-dark); }
.proof-num { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; text-align: start; }
html[lang="he"] .proof-num { text-align: right; }
.proof-label { margin-top: 12px; color: rgba(255, 255, 255, 0.62); font-size: 15px; line-height: 1.45; max-width: 26ch; }
.proof-src { grid-column: 1 / -1; padding: 0 0 26px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.proof-src a { color: rgba(255, 255, 255, 0.75); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="he"] .kicker { letter-spacing: 0.04em; font-size: 14px; }
.h2 { margin-top: 14px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
html[lang="he"] .h2 { line-height: 1.18; letter-spacing: -0.01em; }
.lead { margin-top: 18px; max-width: 620px; color: var(--muted); font-size: 18px; text-wrap: pretty; }
.sec-head { margin-bottom: 52px; }

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
html[dir="rtl"] .card::before { transform-origin: right; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -26px rgba(26, 115, 255, 0.35); }
.card:hover::before { transform: scaleX(1); }
.card-no { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--blue); }
.card h3 { margin-top: 18px; font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.card .what { margin-top: 6px; color: var(--muted); font-weight: 600; font-size: 15px; }
.card p.desc { margin-top: 18px; color: var(--text); opacity: 0.8; }
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 12px; border-radius: 999px; background: #eef3ff; color: #274aa8; font-size: 13px; font-weight: 700; }
.card-link { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue); }
.card-link span { transition: transform 0.25s var(--ease); }
.card-link:hover span { transform: translateX(-5px); }
html[dir="ltr"] .card-link:hover span { transform: translateX(5px); }
.card.feature { background: linear-gradient(160deg, var(--ink-2), var(--ink-3)); color: #fff; border-color: transparent; }
.card.feature .card-no { color: var(--cyan); }
.card.feature .what { color: rgba(255, 255, 255, 0.65); }
.card.feature p.desc { color: #fff; opacity: 0.82; }
.card.feature .chip { background: rgba(255, 255, 255, 0.1); color: #cfe0ff; }
.card.feature .card-link { color: var(--cyan); }
.card.feature::after { content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--violet); filter: blur(80px); opacity: 0.45; pointer-events: none; }
.tag-new { position: absolute; inset-block-start: 22px; inset-inline-end: 22px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--ink); background: var(--cyan); z-index: 1; }

/* process */
.dark { background: var(--ink); color: #fff; overflow: hidden; }
.dark::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: var(--blue); filter: blur(140px); opacity: 0.22; inset-inline-end: -200px; top: -120px; pointer-events: none; }
.dark .lead { color: rgba(255, 255, 255, 0.68); }
.flow { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: stretch; }
.steps { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step { position: relative; flex: 1; display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 22px; text-align: start; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); cursor: pointer; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); overflow: hidden; }
.step:hover { background: rgba(255, 255, 255, 0.08); }
.step[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); border-color: rgba(26, 115, 255, 0.7); transform: translateX(-6px); }
html[dir="ltr"] .step[aria-selected="true"] { transform: translateX(6px); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, 0.08); font-weight: 800; font-variant-numeric: tabular-nums; transition: background 0.3s; }
.step[aria-selected="true"] .step-n { background: var(--grad); }
.step-t { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.step-bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .step-bar { transform-origin: right; }
.step[aria-selected="true"] .step-bar { animation: fill var(--dur, 7s) linear forwards; }
.paused .step[aria-selected="true"] .step-bar { animation: none !important; transform: scaleX(1) !important; opacity: 0.4; }
@keyframes fill { to { transform: scaleX(1); } }
.panel { position: relative; min-height: 360px; padding: 40px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)); border: 1px solid var(--line-dark); backdrop-filter: blur(12px); }
.panel-in { display: none; flex-direction: column; height: 100%; animation: panelIn 0.6s var(--ease); }
.panel-in.on { display: flex; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.panel-big { font-size: clamp(70px, 9vw, 120px); line-height: 0.9; font-weight: 800; letter-spacing: -0.04em; opacity: 0.18; font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
html[lang="he"] .panel-big { text-align: right; }
.panel h3 { margin-top: 8px; font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.panel p { margin-top: 14px; max-width: 520px; color: rgba(255, 255, 255, 0.75); }
.out { margin-top: auto; padding-top: 28px; }
.out small { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); font-weight: 800; }
html[lang="he"] .out small { letter-spacing: 0.03em; font-size: 13px; }
.out span { display: inline-block; margin: 0 0 8px; margin-inline-end: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(25, 207, 230, 0.12); border: 1px solid rgba(25, 207, 230, 0.3); color: #bff4fb; font-size: 14px; font-weight: 600; }

/* proof / openai */
.openai { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.browser { border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(11, 18, 48, 0.35); overflow: hidden; direction: ltr; transform: perspective(1400px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform 0.3s var(--ease); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #f7f8fc; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dbea; }
.browser-bar span { margin-inline-start: 10px; padding: 4px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.browser-body { padding: 28px 28px 30px; text-align: left; }
.browser-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.browser-meta b { padding: 3px 10px; border-radius: 999px; background: #e8f8ff; color: #0a6a85; letter-spacing: 0; text-transform: none; }
.browser h3 { margin-top: 18px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.browser-stats { margin-top: 24px; display: grid; gap: 10px; }
.bstat { display: flex; align-items: baseline; gap: 16px; padding: 14px 18px; border-radius: 14px; background: #f5f7fc; }
.bstat strong { min-width: 84px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bstat span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.meaning { margin-top: 30px; display: grid; gap: 16px; }
.meaning div { padding-inline-start: 20px; border-inline-start: 3px solid; border-image: var(--grad) 1; }
.meaning b { display: block; font-size: 18px; }
.meaning span { color: var(--muted); }
.link-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.src-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* about */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.photo { position: relative; }
.photo img.main { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.photo .badge { position: absolute; inset-inline-start: -14px; bottom: 26px; padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -12px rgba(11, 18, 48, 0.35); font-weight: 800; font-size: 15px; line-height: 1.3; }
.photo .badge small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.thumbs { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.thumbs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.about p { margin-top: 20px; color: var(--muted); font-size: 18px; text-wrap: pretty; }
.about .btn { margin-top: 30px; }

/* topics + faq */
.two { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.acc { display: grid; gap: 12px; }
.acc details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); transition: box-shadow 0.3s, border-color 0.3s; }
.acc details[open] { box-shadow: var(--shadow); border-color: rgba(26, 115, 255, 0.35); }
.acc summary { display: flex; align-items: center; gap: 16px; padding: 20px 24px; list-style: none; cursor: pointer; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .no { font-size: 13px; font-weight: 800; color: var(--blue); min-width: 26px; font-variant-numeric: tabular-nums; }
.acc summary::after { content: "+"; margin-inline-start: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #eef3ff; color: var(--blue); font-size: 20px; font-weight: 700; transition: transform 0.3s var(--ease), background 0.3s; flex: none; }
.acc details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.acc .a { padding: 0 24px 22px; color: var(--muted); margin-inline-start: 42px; }
.acc.plain summary .no { display: none; }
.acc.plain .a { margin-inline-start: 0; }
.alt { background: #fff; border-block: 1px solid var(--line); }

/* contact */
.contact { background: var(--ink); color: #fff; overflow: hidden; text-align: center; }
.contact::before, .contact::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; filter: blur(130px); opacity: 0.35; pointer-events: none; }
.contact::before { background: var(--blue); inset-inline-start: -160px; top: -100px; }
.contact::after { background: var(--violet); inset-inline-end: -160px; bottom: -160px; }
.contact .h2 { margin-inline: auto; max-width: 760px; }
.contact .lead { margin-inline: auto; color: rgba(255, 255, 255, 0.7); }
.contact .hero-cta { position: relative; z-index: 1; }
.launcher { position: relative; z-index: 1; margin: 64px auto 0; max-width: 760px; padding: 32px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(14px); }
.launcher h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.launcher p { margin-top: 8px; color: rgba(255, 255, 255, 0.65); font-size: 15px; }
.llms { margin-top: 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.llm { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark); font-weight: 700; font-size: 14px; transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.llm:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); }
.llm img { width: 40px; height: 40px; filter: invert(1); opacity: .95; }
.fallback { margin-top: 18px; font-size: 14px; }
.fallback summary { cursor: pointer; color: rgba(255, 255, 255, 0.75); }
.fallback textarea { width: 100%; height: 150px; margin-top: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(0, 0, 0, 0.3); color: #dfe8ff; font: 13px/1.5 ui-monospace, Menlo, monospace; direction: ltr; text-align: left; resize: vertical; }
.fallback button { margin-top: 10px; }
.copied { margin-inline-start: 12px; color: #34d399; font-weight: 700; }

/* footer */
.footer { background: #040616; color: rgba(255, 255, 255, 0.6); padding: 44px 0; font-size: 15px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer .brand { font-size: 17px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer nav a:hover { color: #fff; }

/* mobile bar */
.mbar { position: fixed; inset-inline: 14px; bottom: 14px; z-index: 40; display: none; transform: translateY(140%); transition: transform 0.4s var(--ease); }
.mbar.show { transform: none; }
.mbar .btn { width: 100%; min-height: 56px; box-shadow: 0 18px 40px -10px rgba(26, 115, 255, 0.7); }

/* responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .flow, .openai, .about, .two { grid-template-columns: 1fr; }
  .panel { min-height: 320px; padding: 30px; }
  .photo { max-width: 460px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 124px; }
  .proof { grid-template-columns: 1fr; margin-top: 44px; }
  .proof-item, .proof-item + .proof-item { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-inline-start: 0; }
  .proof-item + .proof-item { border-top: 1px solid var(--line-dark); }
  .proof-num { min-width: 110px; font-size: 40px; }
  .proof-label { margin: 0; }
  .btn-sm.cta-nav { display: none; }
  .mbar { display: block; }
  .llms { grid-template-columns: repeat(3, 1fr); }
  .launcher { padding: 22px; }
  .step { padding: 16px 18px; }
  .step-t { font-size: 18px; }
  .photo .badge { inset-inline-start: 10px; }
  .footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .step[aria-selected="true"] .step-bar { transform: scaleX(1); }
}

/* ---------- v2.1: cleaner + more dynamic ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: var(--grad); transform-origin: left; transform: scaleX(var(--sp, 0)); }
html[dir="rtl"] .progress { transform-origin: right; }
.nav { padding-top: env(safe-area-inset-top, 0px); }
.mbar { padding-bottom: env(safe-area-inset-bottom, 0px); }

.hero { padding-bottom: 0; }
.hero-copy { transform: translate3d(0, calc(var(--p, 0) * 46px), 0); opacity: calc(1 - var(--p, 0) * 1.15); will-change: transform, opacity; }
.blob { transform: translate3d(0, calc(var(--p, 0) * -60px), 0); }
.hero p.sub { max-width: 760px; }
.hero h1 .l2 { display: block; }
.hero-copy { max-width: 960px; }
.rot { display: inline-grid; justify-items: center; color: #fff; font-weight: 700; border-bottom: 2px solid var(--cyan); padding-inline: 2px; vertical-align: baseline; }
.rot-w { grid-area: 1 / 1; opacity: 0; transform: translateY(0.45em); transition: opacity 0.4s ease, transform 0.5s var(--ease); white-space: nowrap; }
.rot-w.cur { opacity: 1; transform: none; }
.rot-w.gone { opacity: 0; transform: translateY(-0.45em); }

/* services: one panel opens at a time */
.ladder { display: grid; grid-template-columns: 1fr 1fr 2.3fr; gap: 16px; min-height: 460px; transition: grid-template-columns 0.7s var(--ease); }
.ladder[data-a="0"] { grid-template-columns: 2.3fr 1fr 1fr; }
.ladder[data-a="1"] { grid-template-columns: 1fr 2.3fr 1fr; }
.rung { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 30px 30px 32px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; cursor: pointer; isolation: isolate; outline-offset: -3px; }
.rung::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(26, 115, 255, 0.10), transparent 60%); }
.rung:hover::after { opacity: 1; }
.rung.feature { background: linear-gradient(165deg, var(--ink-2), var(--ink-3)); color: #fff; }
.rung.feature::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(25, 207, 230, 0.16), transparent 60%); }
.rung-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rung .card-no { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--blue); }
.rung.feature .card-no { color: var(--cyan); }
.rung .tag-new { position: static; }
.rung h3 { margin-top: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.rung .what { margin-top: 8px; color: var(--muted); font-weight: 600; }
.rung.feature .what { color: rgba(255, 255, 255, 0.62); }
.more { margin-top: 22px; max-height: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: max-height 0.6s var(--ease), opacity 0.4s, transform 0.5s var(--ease), visibility 0s 0.4s; }
.rung.on .more { max-height: 340px; opacity: 1; visibility: visible; transform: none; transition: max-height 0.7s var(--ease), opacity 0.5s 0.15s, transform 0.6s var(--ease) 0.1s; }
.rung .desc { max-width: 52ch; opacity: 0.85; }
.rung.feature .desc { color: #fff; opacity: 0.85; }
.rung .card-link { margin-top: 0; padding-top: 22px; }
.rung.feature .card-link { color: var(--cyan); }
.rung.feature .chip { background: rgba(255, 255, 255, 0.1); color: #cfe0ff; }
@media (max-width: 980px) {
  .ladder, .ladder[data-a] { grid-template-columns: 1fr; min-height: 0; }
  .rung { gap: 26px; }
  .more, .rung.on .more { max-height: none; opacity: 1; visibility: visible; transform: none; }
}

.llm-note { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.35); color: #b9f5dc; font-size: 14px; line-height: 1.5; }

/* hero background video (desktop only, poster elsewhere) */
.hero-media { position: absolute; inset: 0; z-index: -5; overflow: hidden; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0.5; filter: saturate(0.85); }
.hero-shade { position: absolute; inset: 0; z-index: -4; background: linear-gradient(180deg, rgba(7, 11, 31, 0.62) 0%, rgba(7, 11, 31, 0.7) 45%, rgba(7, 11, 31, 0.94) 82%, var(--ink) 100%); }
.hero .wrap { position: relative; }
.vbtn { position: absolute; inset-inline-end: 0; bottom: 18px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.08); color: #fff; backdrop-filter: blur(8px); cursor: pointer; transition: background 0.2s; }
.vbtn:hover { background: rgba(255, 255, 255, 0.18); }
.vbtn svg { width: 16px; height: 16px; }
.vbtn .i-play { display: none; }
.vbtn[aria-pressed="true"] .i-pause { display: none; }
.vbtn[aria-pressed="true"] .i-play { display: block; }

/* about: conversation video + event photo */
.duo { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 16px; align-items: center; max-width: 620px; }
.duo figure { margin: 0; }
.player { position: relative; border-radius: 26px; overflow: hidden; background: #0b1230; box-shadow: var(--shadow); aspect-ratio: 9 / 16; }
.player-v { width: 100%; height: 100%; object-fit: cover; display: block; }
.player-btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; background: linear-gradient(180deg, rgba(7, 11, 31, 0.05) 40%, rgba(7, 11, 31, 0.7)); color: #fff; cursor: pointer; font-weight: 700; }
.play-ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.5); transition: transform 0.3s var(--ease); }
.play-ic svg { width: 28px; height: 28px; margin-inline-start: 3px; }
.html-rtl .play-ic svg { transform: none; }
.player-btn:hover .play-ic { transform: scale(1.1); }
.player.playing .player-btn { display: none; }
.player figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 14px 18px; font-weight: 700; font-size: 14px; color: #fff; pointer-events: none; background: linear-gradient(0deg, rgba(7, 11, 31, 0.75), transparent); }
.player figcaption small { display: block; font-weight: 500; opacity: 0.7; font-size: 12px; }
.player.playing figcaption { display: none; }
.shots { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.shot img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.shot figcaption { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
@media (max-width: 980px) { .duo { max-width: 520px; } }
@media (max-width: 520px) { .duo { grid-template-columns: 1fr; } .shots { flex-direction: row; } .shots .shot { flex: 1; min-width: 0; } .player { max-width: 340px; margin-inline: auto; } }

/* launcher prompt box (always visible) */
.pbox { margin-top: 18px; }
.pbox-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.7); font-weight: 600; }
.pbox-a { display: inline-flex; align-items: center; gap: 10px; }
.pbox textarea { width: 100%; height: 132px; margin-top: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(0,0,0,.3); color: #dfe8ff; font: 13px/1.55 ui-monospace, Menlo, monospace; direction: ltr; text-align: left; resize: vertical; }

/* logos: brand-gradient glyphs on dark glass tiles; brand mark lifted for dark UI */
.llm img { filter: drop-shadow(0 0 12px rgba(77,141,255,.35)); opacity: 1; }
.brand img { box-sizing: border-box; width: 46px; height: 46px; padding: 7px; border-radius: 14px; background: var(--grad); box-shadow: 0 6px 22px rgba(60,120,255,.45), inset 0 1px 0 rgba(255,255,255,.35); }

.brand img { width: auto; height: 40px; padding: 0; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 0 14px rgba(77,141,255,.45)); }

/* language switch: whisper-quiet */
.lang { padding: 0; background: none; border: 0; gap: 0; align-items: center; opacity: .75; transition: opacity .25s; }
.lang:hover { opacity: 1; }
.lang a { padding: 4px 6px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.45); }
.lang a:hover { color: rgba(255,255,255,.85); }
.lang a[aria-current="true"] { background: none; color: rgba(255,255,255,.8); }
.lang a + a::before { content: "/"; margin-inline-end: 6px; margin-inline-start: -2px; color: rgba(255,255,255,.25); }

/* brand: one uniform light colour for mark and name */
.brand img { width: auto; height: 44px; padding: 0; border-radius: 0; background: none; box-shadow: none; filter: none; }
.brand, .brand b { color: #fff; }
.brand b { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #fff; }

/* about photos: caption inside the image, like the video */
.shot { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.shot img { display: block; border-radius: 0; box-shadow: none; }
.shot figcaption { position: absolute; inset-inline: 0; bottom: 0; margin: 0; padding: 26px 14px 12px; font-size: 13px; font-weight: 700; color: #fff; pointer-events: none; background: linear-gradient(0deg, rgba(7, 11, 31, 0.78), transparent); }

.pbox-t { background: none; border: 0; padding: 6px 4px; font: inherit; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pbox-t:hover { color: #fff; }

/* about: photo column exactly as tall as the video, top and bottom edges aligned */
.duo { grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 660px; }
.shots { gap: 14px; }
.shots .shot { flex: 1 1 0; min-height: 0; }
.shots .shot img { height: 100%; width: 100%; aspect-ratio: auto; object-fit: cover; }
.shots .shot:nth-child(1) img { object-position: 50% 38%; }
.shots .shot:nth-child(2) img { object-position: 62% 45%; }
@media (max-width: 520px) {
  .duo { grid-template-columns: 1fr; }
  .shots .shot { aspect-ratio: 1 / 1; flex: 1; }
}

/* ===================== cinematic open ===================== */
.hero { min-height: 100vh; min-height: 100svh; padding: 0; display: flex; flex-direction: column; }
.hero > .wrap { flex: 1; display: flex; flex-direction: column; padding-top: 28px; }
.hero-copy { margin-block: auto; padding-block: 24px; }
.hero .proof { margin-top: 0; }
.hero .proof-item { padding: 22px 28px 18px 0; }
.hero .proof-item + .proof-item { padding-inline-start: 32px; }
.hero .proof-num { font-size: clamp(34px, 4.4vw, 54px); }
.hero h1 { font-size: clamp(34px, 4.6vw, 68px); }
.hero-video { transform-origin: 50% 30%; animation: kb 22s ease-out both; }
@keyframes kb { from { transform: scale(1.16); } to { transform: scale(1.02); } }

/* nav stays out of sight until the first scroll */
.js .nav.nav-hidden { transform: translateY(-110%); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .5s ease, visibility 0s linear .6s, background .3s, border-color .3s; }
.js .nav.nav-hidden.scrolled, .js .nav.nav-hidden:focus-within { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }

/* tiny language link while the nav is hidden */
.hero-lang { position: absolute; top: max(18px, env(safe-area-inset-top, 0px)); inset-inline-end: 24px; z-index: 7; }
.js .hero-lang { opacity: 0; animation: fadeIn 1s ease 2.9s forwards; }
.js.no-intro .hero-lang { animation-delay: .4s; }

/* intro overlay: logo and name, then it dissolves into the hero */
.intro { position: absolute; inset: 0; z-index: 6; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 26px; pointer-events: none; background: radial-gradient(circle at 50% 46%, #101c52 0%, var(--ink) 64%); }
.js:not(.no-intro) .intro { display: flex; animation: introOut 1s cubic-bezier(.7, 0, .3, 1) 2.45s forwards; }
.intro-mark { position: relative; width: clamp(104px, 17vw, 176px); }
.intro-mark img { position: relative; display: block; width: 100%; height: auto; animation: markIn 1.5s cubic-bezier(.2, .8, .2, 1) both, markGlow 2.6s ease-in-out .4s both; }
.intro-mark::before { content: ""; position: absolute; inset: -70%; background: radial-gradient(circle, rgba(77, 141, 255, .5), rgba(138, 63, 252, .22) 40%, transparent 65%); animation: haloIn 2.2s ease-out both; }
.intro-name { font-size: clamp(22px, 3.2vw, 38px); font-weight: 800; color: #fff; text-align: center; animation: nameIn 1.4s cubic-bezier(.2, .8, .2, 1) .75s both; direction: ltr; }
.intro-line { height: 2px; width: min(280px, 46vw); border-radius: 2px; background: var(--grad); transform-origin: center; animation: lineIn 1.1s cubic-bezier(.6, 0, .2, 1) 1.35s both; }
@keyframes markIn { from { opacity: 0; transform: scale(.62) rotate(-8deg); filter: blur(18px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes markGlow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(77, 141, 255, 0)); } 50% { filter: drop-shadow(0 0 34px rgba(110, 160, 255, .85)); } }
@keyframes haloIn { from { opacity: 0; transform: scale(.4); } 60% { opacity: 1; } to { opacity: .85; transform: scale(1); } }
@keyframes nameIn { from { opacity: 0; letter-spacing: .6em; filter: blur(10px); } to { opacity: 1; letter-spacing: .04em; filter: blur(0); } }
@keyframes lineIn { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes introOut { to { opacity: 0; transform: scale(1.12); visibility: hidden; } }

/* hero copy reveals right after the intro */
.js .hr { animation: heroIn 1.2s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(2.75s + var(--i, 0) * .17s); }
.js.no-intro .hr { animation-duration: .8s; animation-delay: calc(.05s + var(--i, 0) * .1s); }
@keyframes heroIn { from { opacity: 0; transform: translateY(34px); filter: blur(12px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* scroll cue */
.scue { position: absolute; z-index: 7; inset-inline: 0; margin-inline: auto; bottom: 12px; width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; display: block; }
.scue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
.js .scue { opacity: 0; animation: fadeIn 1s ease 4.2s forwards; }
.js.no-intro .scue { animation-delay: 1.2s; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 720px) {
  .hero > .wrap { padding-top: 16px; }
  .hero .proof-item { padding: 16px 14px 14px 0; }
  .hero .proof-item + .proof-item { padding-inline-start: 18px; }
  .scue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  .js .hr, .js .hero-lang, .js .scue { animation: none !important; opacity: 1 !important; filter: none !important; transform: none !important; }
  .hero-video, .scue span { animation: none; }
}
.hero-copy { max-width: 1120px; }
.hero h1 { font-size: clamp(32px, 4.3vw, 62px); }
@media (max-width: 720px) { .hero h1 { font-size: clamp(30px, 8vw, 42px); } }
