/* site.css - the one-page site (home.asp): white header with the logo, one dark surface below. Mobile first; Heebo is local (fonts/). */
@font-face { font-family: "Heebo"; src: url(../fonts/heebo-hebrew.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; src: url(../fonts/heebo-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0B1230;
  --navy-deep: #070c22;
  --blue: #1B3687;
  --red: #ED1B24;
  --red-dark: #c8121a;
  --cyan: #06b6d4;
  --text: #fff;
  --muted: rgba(255, 255, 255, .7);
  --line: rgba(255, 255, 255, .12);
  --glass: rgba(255, 255, 255, .045);
  --radius: 20px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; background: var(--navy-deep); }
body { margin: 0; font-family: "Heebo", Arial, sans-serif; font-size: 18px; line-height: 1.6; color: var(--text); background: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 900; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.red { color: var(--red); }
.skip { position: absolute; top: -60px; right: 16px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* one continuous dark surface for all the sections */
main { background:
  radial-gradient(1000px 640px at 90% -4%, rgba(27, 54, 135, .95), transparent 70%),
  radial-gradient(700px 460px at -8% 22%, rgba(237, 27, 36, .16), transparent 70%),
  radial-gradient(900px 600px at 105% 45%, rgba(27, 54, 135, .5), transparent 70%),
  radial-gradient(800px 560px at -6% 70%, rgba(27, 54, 135, .45), transparent 70%),
  radial-gradient(700px 500px at 100% 100%, rgba(237, 27, 36, .12), transparent 70%),
  var(--navy); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* header - dark like the rest of the site; the logo in its white version */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 12, 34, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; direction: ltr; }
.brand { gap: 8px; }
.brand img { height: 38px; width: auto; }
.brand b { font-size: 26px; font-weight: 900; line-height: 1; }
.nav { display: none; margin-inline-start: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 13px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--muted); }
.nav a:hover { color: #fff; }
.header-cta { display: none; min-height: 44px; padding: 0 22px; font-size: 16px; }
.menu-btn { margin-inline-start: auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; right: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; border-top: 1px solid var(--line); }
.menu-open .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 16px 18px; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 19px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; width: 100%; border-bottom: 0; }

/* hero */
.hero { padding: 48px 0 40px; overflow: hidden; }
.hero-brand { white-space: nowrap; font-size: clamp(48px, 13vw, 76px); font-weight: 900; line-height: 1; direction: ltr; text-align: right; letter-spacing: -.02em; }
.hero h1 { margin-top: 14px; font-size: clamp(32px, 7.5vw, 58px); max-width: 15ch; }
.hero .lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions .btn { flex: 1 1 200px; }

/* the devices: a desktop monitor with the dashboard and the phone in front of it - flat, so the screenshots stay sharp */
.stage { position: relative; margin-top: 44px; }
.monitor { width: 84%; margin-inline-end: auto; } /* the monitor on the right, the phone in front of it on the left */
.screen { padding: 10px; border-radius: 16px; background: #0d1124; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .08); }
/* the hero screens change every 2 seconds (site.js): 5 modules on the monitor and the same 5 on the phone */
.screen-inner { position: relative; aspect-ratio: 1882 / 1060; overflow: hidden; border-radius: 8px; background: #f5f7fb; }
.screen-inner .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; opacity: 0; }
.stand { display: block; width: 16%; height: 46px; margin: 0 auto; background: linear-gradient(#1c2347, #10162f); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.base { display: block; width: 34%; height: 8px; margin: 0 auto; border-radius: 6px; background: #1c2347; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .7); }
.phone { position: absolute; left: 0; bottom: 0; width: 24%; padding: 7px; border-radius: 30px; background: #0b0f1e; box-shadow: 0 30px 50px -16px rgba(0, 0, 0, .75), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.phone-screen { position: relative; aspect-ratio: 780 / 1756; overflow: hidden; border-radius: 24px; background: #f5f7fb; }
.phone-screen .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0; } /* real mobile screens (phone-*.png), same proportions as the frame */
.slide.is-on { opacity: 1; }
.anim .slide { transition: opacity .6s ease; }

/* sections */
.section { padding: 64px 0; }
.section h2 { font-size: clamp(32px, 7.5vw, 56px); max-width: 18ch; }
.section .lead { margin-top: 14px; font-size: 19px; color: var(--muted); max-width: 52ch; }

/* AI team - compact: the 3 steps in one line, the agents as a slim list next to the real chat, the tools as a slim row */
.steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.steps li::before { content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-size: 15px; font-weight: 900; }
@media (min-width: 768px) { .steps li:not(:last-child)::after { content: "←"; margin-inline-start: 4px; color: var(--muted); font-weight: 400; } }
.ai-grid { display: grid; gap: 28px; margin-top: 30px; align-items: center; }
.agents { list-style: none; margin: 0; padding: 0; display: grid; }
.agent { display: flex; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.agent:last-child { border-bottom: 0; }
.agent img { width: 48px; height: 48px; flex: none; }
.agent h3 { font-size: 17px; font-weight: 800; }
.agent p { font-size: 15px; color: var(--muted); line-height: 1.4; }
.ai-chat { border-radius: var(--radius); padding: 14px; background: rgba(255, 255, 255, .92); }
.tools { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.tools li { padding-top: 12px; border-top: 2px solid var(--red); }
.tools h3 { font-size: 19px; font-weight: 800; }
.tools p { margin-top: 4px; font-size: 16px; color: var(--muted); }

/* the system - pick a topic on the right, its screen shows on the left; the whole section fits one screen */
.features { display: grid; gap: 18px; margin-top: 28px; }
.feature-list { display: grid; gap: 8px; }
.feature-item { display: grid; gap: 4px; text-align: right; font: inherit; color: #fff; background: var(--glass); border: 1px solid var(--line); border-inline-start: 3px solid transparent; border-radius: 16px; padding: 11px 16px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.feature-item b { font-size: 19px; font-weight: 800; }
.feature-item span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.feature-item:hover { background: rgba(255, 255, 255, .08); }
.feature-item[aria-selected="true"] { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); border-inline-start-color: var(--red); }
/* devices, like the hero: a desktop monitor with the chosen screen, a tablet with the next one, and the phone in front */
.feature-view { position: relative; padding-bottom: 6%; }
.dv-monitor { width: 86%; margin-inline-end: auto; } /* monitor on the right, the phone in front of it on the left (like the hero) */
.dv-monitor .dv-screen { padding: 9px; border-radius: 16px; background: #0d1124; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.dv-screen { position: relative; aspect-ratio: 2560 / 1442; } /* full desktop screens (desk-*.png), never cropped */
.dv-screen .stack-card { position: absolute; inset: 9px; margin: 0; border-radius: 8px; overflow: hidden; background: #f5f7fb; display: flex; align-items: flex-start; justify-content: center; opacity: 0; }
.dv-screen .stack-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; } /* fills the screen to the edges - the frame and the image differ by a few pixels only */
.dv-phone { position: absolute; left: 2%; bottom: 0; width: 21%; padding: 6px; border-radius: 26px; background: #0b0f1e; box-shadow: 0 30px 50px -16px rgba(0, 0, 0, .75), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.dv-phone .stack-card { position: absolute; inset: 0; margin: 0; opacity: 0; }
.dv-phone .stack-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 767px) {
  /* on a phone the topics are small pills (title only), so the topics and the screens fit one screen */
  .feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .feature-item { padding: 8px 14px; border-radius: 999px; border-inline-start-width: 1px; }
  .feature-item b { font-size: 16px; }
  .feature-item span { display: none; }
  .feature-item[aria-selected="true"] { background: #fff; color: var(--navy); border-color: #fff; }
}
.stack-card.is-on { opacity: 1; } /* the topic's current screen (site.js cycles them every 5 seconds) */
.anim .stack-card { transition: opacity .5s ease; }
.shot { margin: 0; padding: 20px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.shot h3 { font-size: 24px; }
.shot p { margin-top: 6px; color: var(--muted); font-size: 17px; }
.shot img { margin-top: 16px; border-radius: 12px; }

/* why */
/* a vertical path of four numbered circles, the text beside each one (reads well on a phone too); a red dot runs down
   the line from circle to circle and lights the one it reaches (site.js) */
.why-orbit { position: relative; margin-top: 34px; max-width: 860px; }
.why { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.why li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; }
.why-circle { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 900; color: rgba(255, 255, 255, .75); background: radial-gradient(circle at 50% 30%, #1d2b63, #0e1638); border: 2px solid rgba(255, 255, 255, .16); transition: border-color .3s, box-shadow .3s, color .3s, transform .3s; }
.why li.is-on .why-circle { color: #fff; border-color: var(--red); box-shadow: 0 0 0 6px rgba(237, 27, 36, .14), 0 14px 36px -14px rgba(237, 27, 36, .7); transform: scale(1.08); }
.why h3 { font-size: 21px; font-weight: 800; transition: color .3s; }
.why p { margin-top: 4px; color: var(--muted); font-size: 16px; line-height: 1.55; transition: color .3s; }
.why li.is-on p { color: rgba(255, 255, 255, .92); }
.why-track { position: absolute; right: 35px; width: 2px; background: rgba(255, 255, 255, .18); z-index: 0; }
.why-dot { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 16px 4px rgba(237, 27, 36, .6); transition: top .35s cubic-bezier(.65, 0, .35, 1); }

/* video - a preview that links to YouTube */
.video-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; aspect-ratio: 16 / 9; max-width: 900px; border-radius: var(--radius); text-decoration: none; background: radial-gradient(70% 90% at 50% 0%, rgba(27, 54, 135, .9), transparent 70%), radial-gradient(50% 60% at 50% 110%, rgba(237, 27, 36, .28), transparent 70%), var(--navy-deep); border: 1px solid var(--line); }
.video-brand { font-size: clamp(28px, 6vw, 50px); font-weight: 900; direction: ltr; }
.video-play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--red); transition: background-color .2s; }
.video-play svg { width: 32px; height: 32px; margin-left: 4px; }
.video-link:hover .video-play { background: var(--red-dark); }
.video-note { font-weight: 700; font-size: 17px; color: var(--muted); }

/* faq */
.faq { margin-top: 28px; display: grid; gap: 10px; max-width: 900px; }
.faq details { border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--red); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 20px 20px; color: var(--muted); }

/* contact */
.contact { display: grid; gap: 30px; margin-top: 32px; }
.form { border-radius: var(--radius); padding: 22px; background: var(--glass); border: 1px solid var(--line); }
.form-fields { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
.form label i { color: var(--red); font-style: normal; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(6, 182, 212, .25); }
.form .invalid { border-color: var(--red); }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .7; cursor: wait; }
.form-msg { min-height: 1.4em; font-weight: 700; color: #ff7b81; }
.recaptcha-note { font-size: 13px; color: var(--muted); }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.grecaptcha-badge { visibility: hidden; }
.success { display: none; text-align: center; padding: 30px 10px; }
.success svg { width: 64px; height: 64px; margin: 0 auto 12px; color: #4ade80; }
.success strong { display: block; font-size: 26px; }
.success p { color: var(--muted); }
.sent .success { display: block; }
.sent .form-fields { display: none; }
.info { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info a, .info > li > span { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 19px; font-weight: 700; }
.info .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.info .ic svg { width: 22px; height: 22px; }
.info small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy-deep); color: var(--muted); padding: 30px 0 96px; font-size: 15px; border-top: 1px solid var(--line); } /* bottom room: the accessibility button sits there */
.site-footer .wrap { display: grid; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* animation start states - only when motion is allowed (html.anim is set in the head) */
.anim .split { visibility: hidden; }
.anim .hero .lead, .anim .actions, .anim .stage, .anim .steps li, .anim .agent, .anim .ai-chat, .anim .tools li,
.anim .feature-item, .anim .feature-view, .anim .why li, .anim .video-link, .anim .faq details, .anim .info li, .anim .form { opacity: 0; }

@media (min-width: 768px) {
  .hero { padding: 80px 0 64px; }
  .actions .btn { flex: 0 0 auto; }
  .section { padding: 96px 0; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .shot { padding: 26px; }
  .form-fields { grid-template-columns: 1fr 1fr; }
  .form-fields .full, .form-fields .btn, .form-fields .form-msg, .form-fields .recaptcha-note { grid-column: 1 / -1; }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer { padding-bottom: 30px; }
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .hero .wrap { display: grid; grid-template-columns: 1fr 1.45fr; gap: 40px; align-items: center; }
  .stage { margin-top: 0; }
  .ai-grid { grid-template-columns: 1fr 1.25fr; gap: 48px; }
  .features { grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; }
  .tools { grid-template-columns: repeat(4, 1fr); }
  .why { gap: 26px; }
  .why li { grid-template-columns: 84px 1fr; gap: 22px; }
  .why-circle { width: 84px; height: 84px; font-size: 30px; }
  .why-track { right: 41px; }
  .why h3 { font-size: 23px; }
  .why p { font-size: 17px; }

  .contact { grid-template-columns: 1fr 1.6fr; align-items: start; }
}

/* the video opens on this page, in a dialog (YouTube is reached only after the click) */
.video-dialog { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: var(--radius); background: #000; overflow: visible; }
.video-dialog::backdrop { background: rgba(3, 6, 20, .85); }
.video-dialog iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.video-close { position: absolute; top: -52px; left: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.nw { white-space: nowrap; }
