/* צוות AI landing page, 6 Dec 2026.
   UI modelled on Rani's reference (an AI chip in the middle with lines out to task tiles, a light beam from the corner).
   Colours (6 Dec, Rani's palette pin): swamp #0B1C1E, pomegranate #FF5321, teal #6CABC8, alice blue #E1EFFA. Same palette as the VSL.
   Font: Rubik. Orange fills carry dark swamp text (5.4:1, WCAG AA); orange and teal text on swamp pass AA too. */

:root {
  --bg: #0B1C1E;
  --surface: rgba(36, 70, 76, 0.30);
  --line: rgba(225, 239, 250, 0.08);
  --line-strong: rgba(225, 239, 250, 0.15);
  --line-accent: rgba(255, 83, 33, 0.30);
  --text: #ffffff;
  --text-2: #D4E3EC;
  --muted: #9FB4BE;
  --accent: #FF5321;
  --accent-hi: #FF8A5C;
  --accent-fill: #FF5321;
  --on-accent: #0B1C1E;
  --teal: #6CABC8;
  --sky: #E1EFFA;
  --glow: rgba(255, 83, 33, 0.45);
  --inner-glow: inset 0 -10px 28px rgba(108, 171, 200, 0.08);
  --r-lg: 22px;
  --r-md: 14px;
  --wrap: 1140px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 900px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.nw { white-space: nowrap; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--accent-fill); color: var(--on-accent); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 28, 30, 0.74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 700; text-decoration: none; }
.brand-mark { order: 2; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--glow); }
.main-nav ul { display: flex; gap: 26px; list-style: none; }
.main-nav a { font-size: 15px; color: var(--text-2); text-decoration: none; }
.main-nav a:hover { color: #fff; }
@media (max-width: 900px) { .main-nav { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
  color: #fff; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn .arrow { font-size: 18px; line-height: 1; }
.btn-primary {
  color: var(--on-accent); background: var(--accent-fill); border-color: #FF7A4D;
  box-shadow: 0 0 26px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 40px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.45); transform: translateY(-1px); }
.btn-ghost { background: rgba(225, 239, 250, 0.05); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--line-accent); transform: translateY(-1px); }
.btn-small { padding: 9px 16px; font-size: 15px; }
.play-dot {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 83, 33, 0.18); position: relative; flex: none;
}
.play-dot::after {
  content: ""; position: absolute; left: 8px; top: 6px;
  border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--accent);
}

/* ---------- Shared ---------- */
main { display: block; }
.section { padding-block: 88px; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.eyebrow { display: block; color: var(--accent); font-size: 15px; font-weight: 600; margin-bottom: 12px; }
h2 {
  font-size: clamp(30px, 4vw, 46px);
  background: linear-gradient(348deg, rgba(225, 239, 250, 0.62), #ffffff 55%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h3 { font-size: 19px; font-weight: 600; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--inner-glow);
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: 76px; padding-bottom: 40px; overflow: hidden; text-align: center; }
.hero::before {
  /* a faint circuit grid behind everything */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 55%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 55%, #000 30%, transparent 75%);
  pointer-events: none;
}
.beam {
  /* the light from the corner */
  position: absolute; top: -260px; left: -180px; width: 820px; height: 620px;
  background: radial-gradient(closest-side, rgba(255, 83, 33, 0.62), rgba(255, 83, 33, 0.16) 45%, transparent 75%);
  transform: rotate(-32deg); filter: blur(30px); pointer-events: none;
}
.beam::after {
  content: ""; position: absolute; left: 40%; top: 46%; width: 900px; height: 90px;
  background: linear-gradient(90deg, rgba(225, 239, 250, 0.30), rgba(255, 83, 33, 0.12) 40%, transparent 80%);
  transform-origin: 0 50%; transform: rotate(52deg); filter: blur(18px);
}
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: -260px; width: 1300px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(108, 171, 200, 0.16), transparent 75%); pointer-events: none; z-index: -1;
}
.hero-inner { position: relative; max-width: 820px; margin-inline: auto; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 4px 4px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  font-size: 14px; color: var(--text-2);
}
.badge-tag { padding: 4px 12px; border-radius: 999px; color: var(--on-accent); background: var(--accent-fill); font-weight: 600; }
.hero h1 {
  margin-top: 24px;
  font-size: clamp(32px, 5.6vw, 64px);
  line-height: 1.14;
  background: linear-gradient(348deg, rgba(225, 239, 250, 0.66), #ffffff 55%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .line { display: inline-block; }
.lead { margin: 20px auto 0; max-width: 600px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* the hub: drawn on a 1040 x 380 board that scales with the page */
.hub {
  position: relative; max-width: 1040px; margin: 64px auto 0;
  aspect-ratio: 1040 / 380; container-type: inline-size;
}
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines .track path { fill: none; stroke: rgba(108, 171, 200, 0.26); stroke-width: 1.5; }
.hub-lines .joints circle { fill: var(--teal); opacity: 0.7; }
.hub-lines .pulse path {
  fill: none; stroke: var(--accent-hi); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 12 200; stroke-dashoffset: 12;
  filter: drop-shadow(0 0 6px var(--accent));
  animation: pulse 1.7s cubic-bezier(.45, .05, .55, .95) var(--d, 0s) 2 both;
}
@keyframes pulse { from { stroke-dashoffset: 12; } to { stroke-dashoffset: -100; } }

.chip {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 13.5cqw; aspect-ratio: 1; border-radius: 3cqw;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #1E3B40, #0F2427);
  border: 1px solid rgba(108, 171, 200, 0.42);
  box-shadow: 0 0 0 0.8cqw rgba(108, 171, 200, 0.05), 0 0 60px rgba(108, 171, 200, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.chip span { font-size: clamp(22px, 4.2cqw, 46px); font-weight: 700; color: var(--sky); letter-spacing: 0.02em; text-shadow: 0 0 18px rgba(108, 171, 200, 0.5); }
.chip::before {
  content: ""; position: absolute; inset: -30%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(108, 171, 200, 0.22), transparent 70%);
  z-index: -1;
}

.tile {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 0.9cqw;
  padding: 1.1cqw 1.5cqw; border-radius: 1.4cqw;
  background: rgba(19, 42, 46, 0.94); border: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), var(--inner-glow);
  font-size: clamp(12px, 1.55cqw, 16px); font-weight: 500; color: var(--text-2); white-space: nowrap;
}
.tile svg { width: clamp(16px, 2.1cqw, 22px); height: auto; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* positions on the 1040 x 380 board (tile centres) */
.t-r1 { left: 89.4%; top: 18.4%; }
.t-r2 { left: 93.3%; top: 50%; }
.t-r3 { left: 89.4%; top: 81.6%; }
.t-l1 { left: 10.6%; top: 18.4%; }
.t-l2 { left: 6.7%; top: 50%; }
.t-l3 { left: 10.6%; top: 81.6%; }

@media (prefers-reduced-motion: reduce) {
  .hub-lines .pulse { display: none; }
}

/* phones: the chip on top, the tasks as a small grid under it, no lines */
@media (max-width: 760px) {
  .hub { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 44px; }
  .hub-lines { display: none; }
  .chip { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; justify-self: center; width: 96px; border-radius: 22px; margin-bottom: 14px; }
  .chip span { font-size: 30px; }
  .tile { position: static; transform: none; padding: 12px 14px; border-radius: 14px; font-size: 15px; gap: 10px; white-space: normal; text-align: start; }
  .tile svg { width: 20px; }
}

/* ---------- Video + booking ---------- */
.video-section { padding-top: 56px; }
.vsl-frame {
  position: relative; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; container-type: inline-size;
  border: 1px solid rgba(108, 171, 200, 0.38);
  box-shadow: 0 0 0 6px rgba(108, 171, 200, 0.06), 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(108, 171, 200, 0.20);
}
.vsl-frame video { width: 100%; height: 100%; object-fit: cover; }
.vsl-play {
  position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(11, 28, 30, 0.25); border: 0; color: #fff; font: inherit; cursor: pointer;
}
.vsl-frame.has-play .vsl-play { display: flex; }
.vsl-frame.playing .vsl-play { display: none; }
.vsl-play-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); border: 1px solid var(--accent-hi); box-shadow: 0 0 40px var(--glow); position: relative; }
.vsl-play-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--on-accent);
}
.vsl-play-text { font-weight: 600; font-size: 16px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
/* small players (phones): a smaller button, set lower, so the poster's headline stays readable */
@container (max-width: 560px) {
  .vsl-play { gap: 8px; padding-top: 16%; }
  .vsl-play-icon { width: 56px; height: 56px; }
  .vsl-play-icon::after { border-width: 10px 0 10px 16px; }
  .vsl-play-text { font-size: 13px; }
}

.booking {
  margin-top: 28px; padding: 28px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(108, 171, 200, 0.10), var(--surface) 40%);
  border: 1px solid var(--line-accent); box-shadow: var(--inner-glow);
}
.booking-head { text-align: center; }
.booking h3 { font-size: 24px; font-weight: 600; }
.booking-head p { color: var(--muted); margin-top: 6px; }
.booking-cal { min-height: 440px; margin-top: 20px; border-radius: 14px; overflow: hidden; }
.booking-fallback, .booking-note { font-size: 14px; color: var(--muted); margin-top: 12px; text-align: center; }
.booking-fallback a, .booking-note a { color: var(--accent-hi); text-underline-offset: 3px; }

/* ---------- Pain ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain { padding: 30px 28px; display: grid; gap: 12px; align-content: start; }
.pain-num {
  font-size: clamp(28px, 3vw, 36px); font-weight: 600; line-height: 1.1; color: var(--accent);
  text-shadow: 0 0 30px rgba(255, 83, 33, 0.35);
}
.pain p { color: var(--text-2); font-size: 17px; }
.source-line { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.source-line a { color: var(--muted); text-underline-offset: 3px; }

/* ---------- What you get ---------- */
.gets { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.get { padding: 26px; display: grid; gap: 8px; align-content: start; }
.get .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px;
  background: rgba(108, 171, 200, 0.12); border: 1px solid rgba(108, 171, 200, 0.30);
}
.get .icon svg { width: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.get p { color: var(--muted); font-size: 16px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  /* the line that joins the three steps */
  content: ""; position: absolute; top: 27px; left: 16%; right: 16%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-accent) 15%, var(--line-accent) 85%, transparent);
}
.step { position: relative; text-align: center; display: grid; justify-items: center; gap: 8px; }
.step-num {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 8px;
  background: #122A2E; border: 1px solid rgba(255, 83, 33, 0.45); color: var(--accent);
  font-size: 22px; font-weight: 700; box-shadow: 0 0 28px rgba(255, 83, 33, 0.22);
}
.step p { color: var(--muted); font-size: 16px; max-width: 300px; }

/* ---------- Who ---------- */
.who { padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.who-text h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.who-text p { color: var(--text-2); }
.who-text .not-for { color: var(--muted); font-size: 16px; margin-top: 12px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 7px 13px; border-radius: 999px; font-size: 14px; color: var(--text-2); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.about-line { text-align: center; color: var(--muted); font-size: 16px; margin-top: 22px; }
.about-line a { color: var(--accent-hi); text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-size: 18px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid var(--line-accent); color: var(--accent); font-size: 19px; line-height: 1; transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Closing call ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 32px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 83, 33, 0.08), var(--surface) 50%);
  border: 1px solid rgba(255, 83, 33, 0.32);
  box-shadow: inset 0 -20px 60px rgba(108, 171, 200, 0.12), 0 30px 80px rgba(255, 83, 33, 0.08);
}
.cta::before {
  content: ""; position: absolute; top: -45%; right: -15%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 83, 33, 0.24), transparent 70%);
  pointer-events: none;
}
.cta h2 { position: relative; max-width: 720px; margin-inline: auto; }
.cta > p { position: relative; color: var(--muted); margin: 14px 0 26px; }
.cta .btn { position: relative; }
.contact-links { position: relative; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.chip-link {
  display: inline-flex; padding: 8px 15px; border-radius: 999px; text-decoration: none;
  font-size: 15px; color: var(--text-2); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03);
}
.chip-link:hover { border-color: var(--line-accent); color: #fff; }

/* ---------- Footer (also used by the legal pages) ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding-block: 32px; color: var(--muted); font-size: 15px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-row .brand { color: #fff; font-size: 18px; }
.footer-brand { color: #fff; font-weight: 600; }
.footer-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.disclaimer { font-size: 13px; margin-top: 18px; }
.site-footer > .wrap + .wrap { margin-top: 14px; }

/* ---------- Legal pages ---------- */
.page-head { padding-block: 72px 32px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.page-head h1 {
  font-size: clamp(34px, 5vw, 52px);
  background: linear-gradient(348deg, rgba(255, 255, 255, 0.6), #ffffff 55%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.meta { color: var(--muted); margin-top: 10px; }
.prose { max-width: 760px; color: var(--text-2); }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-inline-start: 22px; }
.prose a { color: var(--accent-hi); text-underline-offset: 3px; }

/* ---------- Scroll reveal (only when motion is allowed; the script adds .fx) ---------- */
.fx .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.fx .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pains, .gets { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .section { padding-block: 60px; }
  .site-header .wrap { height: 60px; }
  .hero { padding-top: 48px; }
  .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .badge { font-size: 13px; }
  .pains, .gets { grid-template-columns: 1fr; }
  .get { grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; padding: 18px; }
  .get .icon { grid-row: span 2; margin-bottom: 0; }
  .pain { padding: 22px 20px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .who { padding: 24px; }
  .booking { padding: 18px 14px; }
  .cta { padding: 44px 20px; border-radius: 22px; }
  .beam { left: -320px; }
}
