/* Rubik, served from this site (SIL Open Font License, /fonts/OFL.txt). */
@font-face { font-family: Rubik; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/rubik-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Rubik; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/rubik-hebrew.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: Rubik; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/rubik-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Rubik; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/rubik-latin.woff2) format("woff2"); 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 {
  --bg: #ffffff;
  --soft: #f6f8fb;
  --ink: #0f1720;
  --text: #374151;
  --muted: #4b5563;
  --line: #e5e9ef;
  --accent: #1d4ed8;       /* 6.7:1 on white */
  --accent-dark: #1e3a8a;
  --accent-soft: #e8eefc;
  --alert: #c2410c;
  --alert-soft: #fff4ec;
  --ok: #15803d;
  --night: #0f1720;
  --night-card: #16212e;
  --night-line: #253244;
  --night-text: #cbd5e1;
  --night-muted: #93a4b8;
  --mono: ui-monospace, Menlo, Consolas, "Courier New", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 Rubik, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
/* For keyboard users: the first Tab shows a way past the header to the page. */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 20; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }
img, video { max-width: 100%; }
img { height: auto; }   /* width/height attributes are for layout; never stretch */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 38px); }
h3 { margin: 0 0 8px; font-size: 20px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 88px; }
.soft { background: var(--soft); }
.intro { margin: 0 0 36px; color: var(--muted); font-size: 19px; max-width: 760px; }
.label { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--accent-dark); color: #fff; }

/* header */
header.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
nav.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 15px; }
nav.menu a { color: var(--text); text-decoration: none; }
nav.menu a:hover { color: var(--accent); }
nav.menu .button { min-height: 44px; padding: 0 16px; color: #fff; }
/* On a phone: the logo, the language and a Menu button on one row; the
   section links and the button open below it. */
.menu-toggle, .lang-m { display: none; }
@media (max-width: 860px) {
  .has-menu .wrap { gap: 8px 14px; }
  .has-menu .brand { margin-inline-end: auto; }
  .lang-m { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-size: 15px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #cbd3dd; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .has-menu nav.menu { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .has-menu.open nav.menu { display: flex; }
  .has-menu nav.menu .link { display: block; padding: 12px 2px; border-top: 1px solid var(--line); font-size: 17px; }
  .has-menu nav.menu .lang { display: none; }
  .has-menu nav.menu .button { margin-top: 10px; }
}

/* hero */
.hero { background: linear-gradient(180deg, #f4f7fb 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; padding-block: 64px 96px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .device-wrap { justify-self: center; } }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; font-weight: 500; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.hero .lead { margin: 0 0 28px; font-size: 20px; color: var(--muted); max-width: 580px; }
.small { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* forms */
form.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 540px; }
form.waitlist label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text); flex: 1 1 240px; }
form.waitlist input { min-height: 48px; padding: 0 14px; border: 1px solid #cbd3dd; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
form.waitlist .button { align-self: flex-end; }
.opt { color: var(--muted); font-weight: 400; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: none; margin: 0 0 14px; padding: 12px 16px; border-radius: 10px; background: #e7f3ea; color: #14532d; font-weight: 500; }
html.sent .thanks { display: block; }
html.sent form.waitlist { display: none; }

/* the phone in the hero */
.device-wrap { position: relative; width: 300px; }
.device .shot { display: block; width: 100%; border-radius: 34px; }
.device { width: 300px; padding: 10px; border-radius: 44px; background: var(--night); box-shadow: 0 30px 60px rgba(15,23,32,.22); }
.screen { display: flex; flex-direction: column; height: 100%; border-radius: 34px; overflow: hidden; background: #eef2f6; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 22px 16px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; }
.chat-head b { display: block; font-size: 15px; }
.chat-head span { font-size: 12px; color: var(--muted); }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.bubble { padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,32,.08); font-size: 12.5px; line-height: 1.4; }
.bubble img { display: block; width: 100%; border-radius: 10px; }
.bubble p { margin: 8px 4px 0; }
.bubble .confirmed { color: var(--accent-dark); font-weight: 500; }
.bubble .row { display: flex; gap: 6px; margin-top: 8px; }
.bubble .row span { flex: 1; min-height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid #cbd3dd; border-radius: 8px; background: #f8fafc; font-size: 13px; }
.pill { align-self: center; padding: 3px 10px; border-radius: 999px; background: #e2e8f0; color: var(--muted); font-size: 12px; }
.call-card { position: absolute; inset-inline-start: 50%; bottom: 0; transform: translateX(-50%); width: 270px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(15,23,32,.18); }
[dir="rtl"] .call-card { transform: translateX(50%); }
.call-card .icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--alert); display: flex; align-items: center; justify-content: center; }
.call-card small { display: block; font-size: 12px; color: var(--muted); }
.call-card b { display: block; font-size: 15px; }
.call-card span { font-size: 13px; }

/* protocols strip */
.strip { border-block: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 24px; }
.strip p { margin: 0; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: #f1f4f8; font-size: 14px; font-weight: 500; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { padding: 28px; border-radius: 18px; background: var(--soft); }
.card p { margin: 0; color: var(--text); }
.card.line { background: #fff; border: 1px solid var(--line); padding: 24px; }
.step { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.step .ico.call { background: #fdebe1; }
.step span { font-size: 14px; font-weight: 600; color: var(--muted); }
.kicker { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--accent-dark); }

/* watch it decide: the video, the log and the phone on one screen, so what
   the log says and what the phone shows can be followed together. The phone
   sets the height (as tall as the window allows); the video gives way so the
   log keeps 40% of it (at least 200px), and the log scrolls inside itself.
   Scrolled into view below the sticky header when "Watch" is pressed. */
.stage { --ph: clamp(460px, calc(100vh - 150px), 650px); scroll-margin-top: 76px; scroll-margin-bottom: 8px; display: grid; grid-template-columns: minmax(0, 720px) auto; justify-content: center; gap: 28px; align-items: start; }
.watch { display: flex; flex-direction: column; height: var(--ph); }
.cam { position: relative; flex: none; width: 100%; max-width: calc((var(--ph) - 16px - max(200px, 0.4 * var(--ph))) * 16 / 9); margin-inline: auto; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--night); }
.cam video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cam .tag, .cam .since { position: absolute; top: 12px; padding: 3px 10px; border-radius: 6px; color: #fff; font: 600 13px/1.4 var(--mono); }
.cam .tag { inset-inline-start: 12px; background: rgba(15,23,32,.72); }
.cam .since { inset-inline-end: 12px; background: var(--alert); opacity: 0; transition: opacity .3s; }
.cam .since.on { opacity: 1; }
.cam .since.done { background: var(--ok); }
/* On a phone the badge is as wide as the picture: it replaces the tag. */
@media (max-width: 560px) { .cam:has(.since.on) .tag { opacity: 0; } }
.cam .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; background: rgba(15,23,32,.35); color: #fff; font: inherit; font-size: 18px; font-weight: 600; cursor: pointer; }
.cam .play .btn { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
[dir="rtl"] .cam .play .btn svg { transform: scaleX(-1); }
.cam .play[hidden] { display: none; }
/* What CamCall sees, drawn on the demo video (script in page.html): the named
   place, the person box (amber after the early warning), where the bike was,
   and one big status line, so the story reads without the log. */
.cam .ov { position: absolute; inset: 0; pointer-events: none; }
.cam .ob { position: absolute; border: 2px solid #38bdf8; border-radius: 4px; opacity: 0; transition: opacity .25s; }
.cam .ob.on { opacity: 1; }
.cam .ob span { position: absolute; bottom: 100%; left: -2px; margin-bottom: 3px; padding: 2px 6px; border-radius: 3px; white-space: nowrap;
  background: #38bdf8; color: #04121f; font: 700 12px/1.2 Rubik, sans-serif; }
.cam .ob.place, .cam .ob.gone { left: var(--x); top: var(--y); width: var(--w); height: var(--h); }
.cam .ob.place { border-style: dashed; border-color: #a78bfa; } .cam .ob.place span { background: #a78bfa; }
.cam .ob.person { transition: opacity .25s, border-color .3s; }
.cam .ob.person.warn { border-color: #f59e0b; } .cam .ob.person.warn span { background: #f59e0b; }
.cam .ob.gone { border: 3px dashed #f87171; } .cam .ob.gone span { background: #f87171; }
.cam .cchip { position: absolute; bottom: 12px; inset-inline-start: 12px; max-width: calc(100% - 24px); margin: 0; padding: 8px 14px; border-radius: 999px;
  background: rgba(15,23,32,.86); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; opacity: 0; transition: opacity .25s, background .3s; }
.cam .cchip.on { opacity: 1; }
.cam .cchip::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 8px; border-radius: 50%; background: #38bdf8; vertical-align: 1px; }
.cam .cchip.warn { background: rgba(180,83,9,.94); } .cam .cchip.warn::before { background: #fde68a; }
.cam .cchip.hit { background: rgba(185,28,28,.94); } .cam .cchip.hit::before { background: #fff; }
.cam .cchip.ok { background: rgba(21,128,61,.94); } .cam .cchip.ok::before { background: #fff; }
@media (max-width: 560px) { .cam .cchip { bottom: 8px; padding: 5px 10px; font-size: 12.5px; } .cam .ob span { padding: 1px 4px; font-size: 10px; } }
/* While it plays: the sound off or on, and straight to the end. */
.ctl { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.ctl[hidden] { display: none; }
.ctl button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 13px/1.2 Rubik, sans-serif; cursor: pointer; }
.ctl button:hover { border-color: #94a3b8; }
.ctl .mute .x { display: none; } .ctl .mute[aria-pressed="true"] .x { display: inline; } .ctl .mute[aria-pressed="true"] .w { display: none; }
[dir="rtl"] .ctl .jump svg { transform: scaleX(-1); }
.log { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3b4b60 transparent; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--night); color: #e2e8f0; font: 13px/1.55 var(--mono); }
.log .row { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; margin-bottom: 6px; }
/* A line not reached yet (or a finished "thinking" line) is hidden: display:
   grid above would otherwise override [hidden] and show its time in advance. */
.log .row[hidden] { display: none; }
.log .t { color: #8a9bb0; }
.log .q { display: block; color: #fde68a; }
.log .ok { color: #86efac; font-weight: 700; }
.log .hit { color: #fdba74; font-weight: 700; }
.log .think { color: #8a9bb0; }
.log img { display: block; width: 100%; max-width: 360px; margin-top: 6px; border-radius: 6px; cursor: zoom-in; }
.phone { width: min-content; }
.phone .frame { height: var(--ph); aspect-ratio: 1080 / 2340; padding: 10px; border-radius: 36px; background: var(--night); box-shadow: 0 24px 50px rgba(15,23,32,.2); }
.phone video { display: block; width: 100%; height: 100%; border-radius: 28px; object-fit: cover; background: #eef2f6; transition: opacity .4s, filter .4s; }
.phone video.wait { opacity: .35; filter: grayscale(1); }
@media (max-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage .phone { justify-self: center; }
  .watch { height: auto; }
  .cam { max-width: none; }
  .log { flex: none; height: 320px; }
  .phone .frame { height: auto; width: 300px; }
}
.phone p, .foot { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.phone p { text-align: center; }
dialog.zoom { border: 0; padding: 0; border-radius: 12px; max-width: min(1000px, 94vw); }
dialog.zoom img { display: block; width: 100%; }
dialog.zoom::backdrop { background: rgba(15,23,32,.7); }

/* rules */
.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.exwrap { margin: 0 0 44px; }
/* The examples: two columns of the same small rows; their drawings' words are
   too small to read at this size, so only the box and the motion stay. */
.rule-list.exlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; margin-bottom: 0; }
@media (max-width: 900px) { .rule-list.exlist { grid-template-columns: minmax(0, 1fr); } }
.rule .xv .lb, .rule .xv .ts { display: none; }
.rule .xv .det { stroke-width: 5; }
.rule .where { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
/* The rule assistant: what it does, next to a short chat in the bot's own
   words. Own messages sit at the inline end, as in Telegram (left in Hebrew). */
.asst { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: 8px 0 36px; padding: 26px; border-radius: 20px; background: var(--soft); }
@media (max-width: 900px) { .asst { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px; } }
.asst h3 { margin: 4px 0 10px; font-size: 22px; }
.asst-text p:last-child { margin: 0; color: var(--text); }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: #dfe7ef; font-size: 14px; line-height: 1.45; }
.chat .me { align-self: flex-end; max-width: 85%; margin: 0; padding: 8px 12px; border-radius: 14px; background: #d9f5c5; color: var(--ink); }
.chat .bot { align-self: flex-start; max-width: 94%; padding: 9px 12px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,32,.08); }
.chat .bot p { margin: 2px 0 0; } .chat .bot p:first-child { margin-top: 0; }
.chat .bot .head { color: var(--muted); font-size: 13px; }
.chat .opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.chat .opts span { padding: 5px 10px; border-radius: 8px; background: #eef2f7; color: #1d4ed8; font-size: 13px; font-weight: 600; }
.chat .opts .on { background: #1d4ed8; color: #fff; }
.chat .pic { position: relative; margin: -3px -6px 8px; border-radius: 10px; overflow: hidden; }
.chat .pic img { display: block; width: 100%; height: auto; }
.chat .cell { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 2px dashed #a78bfa; background: rgba(167,139,250,.18); }
.chat .cell i { position: absolute; top: 4px; inset-inline-start: 4px; padding: 1px 6px; border-radius: 3px; background: #a78bfa; color: #160b33; font: 700 11px/1.4 Rubik, sans-serif; }

@media (max-width: 900px) { .rules { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.rule-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.rule-list > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.rule-list p { margin: 0; }
/* What CamCall understood, as the bot reads the sentence: hours, one picture
   or before & after, and the action last (accented). */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.tags span { padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 600; }
.tags span:last-child { background: var(--accent-soft); color: var(--accent-dark); }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.feats div { padding: 18px 20px; border-radius: 14px; background: var(--soft); }
.feats b { display: block; margin-bottom: 4px; }
.feats p { margin: 0; font-size: 15px; color: var(--muted); }

/* prices */
.prices { background: var(--night); color: #f1f5f9; }
.prices .label { color: var(--night-muted); }
.prices h2 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.02em; }
.prices h2 small { font-size: 22px; font-weight: 500; color: var(--night-text); letter-spacing: 0; }
.prices .head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 48px; margin-bottom: 44px; }
.prices .head > div { flex: 1 1 460px; min-width: 0; }
.prices .head p { margin: 0; font-size: 19px; color: var(--night-text); max-width: 620px; }
.prices .chips span { background: #1e2a38; }
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 40px; }
.level { padding: 24px; border: 1px solid var(--night-line); border-radius: 18px; background: var(--night-card); }
.level.busy { border-style: dashed; border-color: #3a4a5e; }
.level small { display: block; color: var(--night-muted); font-size: 14px; }
.level h3 { font-size: 18px; font-weight: 500; margin: 2px 0 14px; }
.level .price { margin: 0; font-size: 34px; font-weight: 700; }
.level.busy .price { font-size: 30px; }
.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; color: #e2e8f0; }
.ticks li { display: flex; gap: 10px; }
.ticks svg { flex: none; margin-top: 4px; }
.share { padding: 24px; border-radius: 18px; background: var(--night-card); }
.share p { margin: 0 0 12px; color: var(--night-text); }
.share p.dim { color: var(--night-muted); font-size: 15px; margin: 0; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { padding: 18px 20px; border-radius: 14px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq p { margin: 10px 0 0; color: var(--text); }

/* who we are */
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.who > div { flex: 1 1 420px; min-width: 0; }
.who p { margin: 0 0 18px; font-size: 19px; color: var(--text); max-width: 680px; }
.avatar { flex: none; width: 96px; height: 96px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; }
.button.wa { gap: 10px; background: #107c41; }   /* 5.3:1 with white (#128c4a was 4.3) */
.button.wa:hover { background: #0e6f3b; }

/* join: "Get set up" — what happens next on one side, the form on the other */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding: 56px 48px; border-radius: 28px; background: var(--accent); color: #fff; }
@media (max-width: 900px) { .join { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 22px; } }
.join h2 { font-size: 40px; margin-bottom: 10px; }
.join p { margin: 0; font-size: 19px; color: #e0e8ff; }
.join .next { list-style: none; counter-reset: next; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.join .next li { counter-increment: next; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; }
.join .next li::before { content: counter(next); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--accent-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.join .next b { font-size: 18px; }
.join .next span { color: #e0e8ff; font-size: 16px; }
.join .alt { margin-top: 26px; font-size: 16px; }
.join .alt a { color: #fff; font-weight: 600; white-space: nowrap; }
.join-form { padding: 28px; border-radius: 20px; background: rgba(15,23,32,.2); }
.join form.waitlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; max-width: none; }
@media (max-width: 560px) { .join form.waitlist { grid-template-columns: minmax(0, 1fr); } }
.join form.waitlist label { color: #fff; font-size: 15px; }
.join form.waitlist label:first-child { grid-column: 1 / -1; }
.join form.waitlist input { border: 0; }
.join form.waitlist .button { grid-column: 1 / -1; min-height: 54px; margin-top: 4px; background: #fff; color: var(--accent-dark); font-size: 18px; }
.join form.waitlist .button:hover { background: #e8eefc; color: var(--accent-dark); }
.join .join-form .small { margin-top: 14px; color: #e0e8ff; }
.join .join-form .small a { color: #fff; }
.join .thanks { margin: 0; }
.join .opt { color: #fff; font-weight: 400; }
.join :focus-visible { outline-color: #fff; }
/* "Watch (with sound)" sits on the bright garage poster: its own dark pill
   (white on the 35% veil alone measured ~3.6:1 over the open door). */
#play-text { padding: 6px 14px; border-radius: 10px; background: rgba(15,23,32,.78); }

/* legal pages (/privacy/, /accessibility/): one readable column */
.legal .wrap { max-width: 780px; padding-block: 40px 72px; }
/* Left-to-right bits inside Hebrew (/account, a phone number) keep their own
   order: without isolation the slash of /account jumps to the end. */
.legal [dir="ltr"] { unicode-bidi: isolate; }
.legal h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 40px); }
.legal h2 { margin: 36px 0 10px; font-size: 22px; }
.legal h3 { margin: 24px 0 8px; font-size: 18px; }
.legal p, .legal li { line-height: 1.7; }
.legal ul, .legal ol { padding-inline-start: 22px; }
.legal li { margin-bottom: 4px; }
.legal .table { overflow-x: auto; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.legal th { background: var(--soft); }

/* the checker (/check/): "Will CamCall work with my cameras?" */
.works-cta { margin: 24px 0 0; }
.check .wrap { max-width: 980px; padding-block: 40px 72px; }
.check h1 { margin: 0 0 12px; font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -0.02em; }
.check .lead { margin: 0 0 32px; font-size: 20px; color: var(--muted); max-width: 720px; }
.check h2.sub { margin: 0 0 14px; font-size: 22px; }
.examples, .ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.notice { margin: 24px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--alert-soft); color: #7c2d12; }
.tool { margin-top: 36px; }
.way { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.way h3 { margin: 0; }
.way .small { margin: 0; }
.field { font-size: 14px; color: var(--text); }
.way select, .way input[type="text"] { min-height: 48px; width: 100%; padding: 0 14px; border: 1px solid #cbd3dd; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.typed { display: flex; flex-direction: column; gap: 6px; }
.typed .button { margin-top: 8px; }
.button.ghost { background: #fff; color: var(--accent); border: 2px solid var(--accent); }
.button.ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }
.button:disabled, .button.off { background: #94a3b8; border-color: #94a3b8; color: #fff; cursor: not-allowed; }
/* The file input stays in the page for keyboards and screen readers; the
   label around it is the button. */
.pick { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.button.file { position: relative; }
/* The camera button is for phones and tablets; on a computer it would only
   open the same file chooser twice, and "Choose a photo" takes its colour. */
@media (hover: hover) and (pointer: fine) {
  .button.file.take { display: none; }
  .button.file.gallery { background: var(--accent); color: #fff; border-color: var(--accent); }
}
.button.file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.button.file:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.button.file.off input { cursor: not-allowed; }
#captcha { margin-top: 14px; }
#captcha:empty { margin: 0; }
.tool.busy .way { opacity: .6; }
.status { margin-top: 20px; }
.status.on { padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.status p { margin: 0; }
.status.info { background: var(--accent-soft); color: var(--accent-dark); }
.status.ok { background: #e7f3ea; color: #14532d; }
.status.warn { background: var(--alert-soft); color: #7c2d12; }
.answer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 760px) { .answer { grid-template-columns: minmax(0, 1fr); } }
.verdict, .known { padding: 24px; border-radius: 18px; }
.verdict { border: 2px solid var(--line); background: #fff; }
.verdict h2 { margin: 0 0 8px; font-size: 30px; }
.verdict p { margin: 0 0 10px; }
.verdict .evidence { color: var(--muted); font-size: 15px; }
.verdict ol { margin: 6px 0 12px; padding-inline-start: 22px; }
.verdict li { margin-bottom: 4px; }
.verdict.direct { border-color: var(--ok); background: #f3faf5; }
.verdict.direct h2 { color: #14532d; }
.verdict.relay { border-color: var(--accent); background: #f5f8ff; }
.verdict.relay h2 { color: var(--accent-dark); }
.verdict.cloud { border-color: var(--alert); background: var(--alert-soft); }
.verdict.cloud h2 { color: #7c2d12; }
.known { background: var(--soft); }
.known dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.known dt { color: var(--muted); font-size: 15px; }
.known dd { margin: 0; font-weight: 600; text-align: start; overflow-wrap: anywhere; }
[dir="rtl"] .known dd[dir="ltr"] { text-align: right; }
.known dd.none { font-weight: 400; color: var(--muted); }
.ask { margin-top: 16px; padding: 18px 22px; border-radius: 16px; border: 1px dashed #9aa7b8; }
.ask ul { margin: 8px 0 0; padding-inline-start: 22px; }
.ask li { margin-bottom: 4px; }
.leadbox { margin-top: 36px; padding: 28px; border-radius: 20px; background: var(--soft); }
.leadbox > p { margin: 0 0 16px; }
.leadbox form.waitlist { max-width: 640px; }
form.waitlist label.tick { flex: 1 1 100%; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 15px; }
form.waitlist label.tick input { min-height: 0; width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.thanks:not([hidden])#lead-thanks { display: block; }
.leadbox form.waitlist label { justify-content: flex-end; }
.linkish { margin-top: 16px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.linkish:hover { color: var(--accent-dark); }
.status, .answer { scroll-margin-top: 84px; }
/* display: grid / flex above would otherwise show what [hidden] hides. */
.check [hidden] { display: none !important; }

/* prices: the extras line under the plans */
.prices .extras { margin: 28px 0 0; padding: 18px 22px; border: 1px solid var(--night-line); border-radius: 16px; color: var(--night-text); }
.prices .extras b { color: #fff; }
/* a label's words on one line, "(optional)" included; the field under them */
form.waitlist label > span:first-child { display: block; }

/* the account page (/account/) and the operator's billing desk (/admin/) */
.account .steps { margin: 0 0 16px; padding-inline-start: 24px; font-size: 18px; }
.account .steps li { margin-bottom: 8px; }
.standing { margin: 0 0 32px; padding: 24px; border: 2px solid var(--line); border-radius: 18px; }
.standing h2 { margin: 0 0 6px; font-size: 28px; }
.standing p { margin: 0; }
.standing.ok { border-color: var(--ok); background: #f3faf5; }
.standing.ok h2 { color: #14532d; }
.standing.warn { border-color: var(--alert); background: var(--alert-soft); }
.standing.warn h2 { color: #7c2d12; }
.standing.off { border-color: #64748b; background: var(--soft); }
.account .table { overflow-x: auto; margin: 0 0 12px; }
.account table { width: 100%; border-collapse: collapse; font-size: 16px; }
.account th, .account td { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; font-weight: 400; }
.account thead th { background: var(--soft); font-weight: 600; font-size: 14px; color: var(--muted); }
.account tbody th { font-weight: 600; }
.account td small { display: block; color: var(--muted); font-size: 14px; }
.account .num { white-space: nowrap; font-weight: 600; }
.account .total { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 24px; margin: 16px 0 4px; }
.account .total dd { margin: 0; }
.account .total .sum { font-size: 20px; font-weight: 700; }
.account h2.sub { margin-top: 36px; }
.account .buttons, .ask-dialog .buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 32px 0 16px; }
.account .buttons .linkish { margin-top: 0; }
.button.danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.button.danger:hover { background: #991b1b; color: #fff; }
.button.ghost.danger { background: #fff; color: #b91c1c; border: 2px solid #b91c1c; }
.button.ghost.danger:hover { background: #fef2f2; color: #991b1b; }
.ask-dialog { max-width: min(520px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(15,23,32,.35); }
.ask-dialog::backdrop { background: rgba(15,23,32,.55); }
.ask-dialog h2 { margin: 0 0 10px; font-size: 24px; }
.ask-dialog p { margin: 0; }
.ask-dialog .buttons { margin: 24px 0 0; }
.desk .acct { margin: 0 0 28px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.desk .acct.paused { background: var(--soft); }
.desk .acct-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.desk .acct-head h2 { margin: 0; font-size: 24px; }
.desk .pill { padding: 4px 12px; border-radius: 999px; background: #e7f3ea; color: #14532d; font-size: 14px; font-weight: 600; }
.desk .pill.grace, .desk .pill.unpaid, .desk .pill.cancelled { background: var(--alert-soft); color: #7c2d12; }
.desk .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; margin: 16px 0; }
.desk .f { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text); }
.desk input:not([type="checkbox"]), .desk select { min-height: 44px; padding: 0 10px; border: 1px solid #cbd3dd; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; width: 100%; }
.desk input[type="checkbox"] { width: 22px; height: 22px; }
.desk td input[type="number"] { width: 80px; }
.desk tr.gone { color: var(--muted); }
.desk th small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.desk .sum { font-weight: 700; margin: 8px 0 0; }
.desk .pays { margin: 8px 0 0; padding-inline-start: 20px; font-size: 15px; color: var(--text); }

/* ---------------------------------------------------------------- HERO SCENE
   Dark header. The scene is a 12 s CSS loop over five real frames of the
   garage demo: frames cross-fade, CamCall's boxes are drawn on them, the
   status line changes, the alert and the call arrive. Every element shares
   one 12 s cycle, so they stay in step without any script. */
.hero.dark { position: relative; overflow: hidden; color: #f1f5f9;
  background: radial-gradient(1100px 600px at 78% 20%, #1c2c42 0%, rgba(15,23,32,0) 70%), var(--night); }
.hero.dark::before { content: ""; position: absolute; inset: -40px; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
  background-size: 40px 40px; animation: drift 30s linear infinite; }
@keyframes drift { to { transform: translate(40px, 40px); } }
.hero.dark .wrap { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.hero.dark h1 { color: #fff; }
.hero.dark .lead { color: var(--night-text); }
.hero.dark .small { color: var(--night-muted); }
.hero.dark a { color: #93c5fd; }
.hero.dark a:hover { color: #bfdbfe; }
.hero.dark .badge { background: rgba(96,165,250,.14); color: #bfdbfe; }
.hero.dark .badge::before { background: #60a5fa; }
.hero.dark form.waitlist label { color: #e2e8f0; }

.scene { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000;
  border: 1px solid #2b3a4f; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 6px rgba(96,165,250,.06); }
.scene .f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: 12s linear infinite both; }
.scene .f1 { animation-name: f1; } .scene .f2 { animation-name: f2; } .scene .f3 { animation-name: f3; }
.scene .f4 { animation-name: f4; } .scene .f5 { animation-name: f5; }
@keyframes f1 { 0%, 18% { opacity: 1; } 22%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes f2 { 0%, 18% { opacity: 0; } 22%, 35% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes f3 { 0%, 35% { opacity: 0; } 38%, 50% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes f4 { 0%, 50% { opacity: 0; } 53%, 63% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes f5 { 0%, 63% { opacity: 0; } 66%, 96% { opacity: 1; } 100% { opacity: 0; } }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 70%, rgba(0,0,0,.55) 100%); }

.scene .hud { position: absolute; z-index: 2; top: 10px; inset-inline: 12px; display: flex; gap: 10px; align-items: center;
  font: 600 12px/1 var(--mono); color: #e2e8f0; letter-spacing: .06em; }
.scene .hud .clock { margin-inline-start: auto; }
.scene .rec::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 50%; background: #ef4444; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.scene .bx { position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  border: 2px solid #38bdf8; border-radius: 4px; opacity: 0; animation: 12s ease-out infinite both; }
.scene .bx span { position: absolute; bottom: 100%; left: -2px; margin-bottom: 3px; padding: 3px 6px; border-radius: 3px; white-space: nowrap;
  background: #38bdf8; color: #04121f; font: 700 11px/1.2 Rubik, sans-serif; }
.scene .place { border-color: #a78bfa; border-style: dashed; animation-name: b-place; }
.scene .place span { background: #a78bfa; }
.scene .pin::before { content: ""; display: inline-block; width: 9px; height: 11px; margin-inline-end: 4px; vertical-align: -1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M9 0a9 9 0 0 0-9 9c0 6.6 9 13 9 13s9-6.4 9-13a9 9 0 0 0-9-9zm0 12.5A3.5 3.5 0 1 1 9 5.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M9 0a9 9 0 0 0-9 9c0 6.6 9 13 9 13s9-6.4 9-13a9 9 0 0 0-9-9zm0 12.5A3.5 3.5 0 1 1 9 5.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.scene .p2 { animation-name: b-p2; } .scene .p3 { animation-name: b-p3; } .scene .p4 { animation-name: b-p4; }
.scene .gone { border-color: #f87171; border-style: dashed; animation-name: b-gone; }
.scene .gone span { background: #f87171; }
@keyframes b-place { 0%, 4% { opacity: 0; transform: scale(1.08); } 8%, 17% { opacity: 1; transform: none; } 20%, 100% { opacity: 0; } }
@keyframes b-p2 { 0%, 22% { opacity: 0; transform: scale(1.12); } 25%, 35% { opacity: 1; transform: none; } 37%, 100% { opacity: 0; } }
@keyframes b-p3 { 0%, 38% { opacity: 0; transform: scale(1.12); } 41%, 50% { opacity: 1; transform: none; } 52%, 100% { opacity: 0; } }
@keyframes b-p4 { 0%, 53% { opacity: 0; transform: scale(1.12); } 56%, 63% { opacity: 1; transform: none; } 65%, 100% { opacity: 0; } }
@keyframes b-gone { 0%, 68% { opacity: 0; transform: scale(1.08); } 71%, 95% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }

.scene .chip { position: absolute; z-index: 2; bottom: 12px; inset-inline-start: 12px; margin: 0; padding: 7px 12px; border-radius: 999px;
  background: rgba(15,23,32,.82); color: #e2e8f0; font-size: 13px; font-weight: 600; opacity: 0; animation: 12s ease infinite both;
  backdrop-filter: blur(4px); }
.scene .chip::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 8px; border-radius: 50%; background: #38bdf8; vertical-align: 1px; }
.scene .s1::before { background: #64748b; }
.scene .s5 { background: rgba(185,28,28,.92); color: #fff; } .scene .s5::before { background: #fff; }
.scene .s1 { animation-name: c1; } .scene .s2 { animation-name: c2; } .scene .s3 { animation-name: c3; }
.scene .s4 { animation-name: c4; } .scene .s5 { animation-name: c5; }
@keyframes c1 { 0%, 18% { opacity: 1; } 21%, 98% { opacity: 0; } 100% { opacity: 1; } }
@keyframes c2 { 0%, 21% { opacity: 0; } 23%, 35% { opacity: 1; } 37%, 100% { opacity: 0; } }
@keyframes c3 { 0%, 37% { opacity: 0; } 39%, 50% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes c4 { 0%, 52% { opacity: 0; } 54%, 63% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes c5 { 0%, 65% { opacity: 0; } 67%, 95% { opacity: 1; } 97%, 100% { opacity: 0; } }

.scene .ping { position: absolute; z-index: 3; inset-inline-end: 12px; bottom: 54px; width: min(62%, 330px); padding: 10px 12px; border-radius: 12px;
  background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.4); font-size: 12.5px; line-height: 1.4;
  opacity: 0; animation: ping 12s cubic-bezier(.2,.8,.2,1) infinite both; }
.scene .ping b { display: block; font-size: 13px; }
.scene .ping b::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-inline-end: 7px; border-radius: 50%; background: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.2); vertical-align: 1px; }
.scene .ping .sev { display: inline-block; margin-top: 3px; padding: 1px 7px; border-radius: 999px; background: #fdebe1; color: #9a3412; font-weight: 700; font-size: 11px; }
.scene .ping p { margin: 4px 0 0; color: var(--text); }
@keyframes ping { 0%, 72% { opacity: 0; transform: translateY(24px) scale(.96); } 76%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
.scene .ring { position: absolute; z-index: 3; top: 36px; inset-inline-end: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  border-radius: 999px; background: #15803d; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 10px 30px rgba(21,128,61,.45);
  opacity: 0; animation: ring 12s ease infinite both; }
.scene .ring .ph { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2) center / 15px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
  animation: shake .5s ease-in-out infinite; }
@keyframes ring { 0%, 80% { opacity: 0; transform: translateY(-10px); } 83%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }

/* More stories in the same 12 s cycle: a last frame held to the end, a box that
   stays, a red "this is the problem" box, a message instead of a call, and an
   "illustration" mark for a scene that is not real footage. */
.scene .f4.hold { animation-name: f4h; }
@keyframes f4h { 0%, 50% { opacity: 0; } 53%, 96% { opacity: 1; } 100% { opacity: 0; } }
.scene .stay { animation-name: b-stay; }
@keyframes b-stay { 0%, 53% { opacity: 0; transform: scale(1.12); } 56%, 95% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.scene .bad { border-color: #f87171; border-width: 3px; animation-name: b-gone; }
.scene .bad span { background: #f87171; }
.scene .ring.msg { background: #1d4ed8; box-shadow: 0 10px 30px rgba(29,78,216,.45); }
.scene .ring.msg .ph { animation: none; background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.scene .hud .ill { margin-inline-start: auto; padding: 3px 6px; border-radius: 4px; background: rgba(15,23,32,.7); color: #fde68a; letter-spacing: .04em; }
.scene .hud .ill + .clock { margin-inline-start: 0; }
.scene .bx.lb span { bottom: auto; top: 100%; margin: 3px 0 0; }
/* Stories that end low in the picture (home, warehouse): the alert card goes
   top right and the call top left (mirrored in Hebrew), clear of them. */
.story.up .ping { bottom: auto; top: 36px; }
.story.up .ring { inset-inline-end: auto; inset-inline-start: 12px; }
.scene .chip .short { display: none; }

/* The stories take turns (script in page.html); one shows at a time, and a
   story that comes back starts its loop from the beginning. */
.story:not(.on) { display: none; }
.story-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.story-tabs[hidden] { display: none; }
.story-tabs button { position: relative; overflow: hidden; padding: 7px 14px; border: 1px solid #2b3a4f; border-radius: 999px;
  background: rgba(148,163,184,.08); color: #cbd5e1; font: 600 13px/1.2 Rubik, sans-serif; cursor: pointer; }
.story-tabs button:hover { border-color: #475569; color: #fff; }
.story-tabs button[aria-pressed="true"] { border-color: #60a5fa; background: rgba(96,165,250,.16); color: #fff; }
.story-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: #60a5fa;
  transform-origin: left; animation: turn 12s linear both; }
[dir="rtl"] .story-tabs button[aria-pressed="true"]::after { transform-origin: right; }
.held .story-tabs button::after { display: none; }
@keyframes turn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 900px) { .hero.dark .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 64px; }
  .hero.dark .stories { order: -1; } }
@media (max-width: 520px) { .scene .ping { width: 64%; bottom: 44px; padding: 7px 9px; font-size: 11px; } .scene .ping b { font-size: 11.5px; }
  .scene .ping p { display: none; } .scene .chip { bottom: 8px; padding: 5px 10px; font-size: 11.5px; }
  .scene .ring { top: 30px; padding: 5px 10px 5px 5px; font-size: 11.5px; } .scene .ring .ph { width: 20px; height: 20px; background-size: 12px; }
  .scene .bx span { font-size: 10px; padding: 2px 4px; } .scene .ring .nocall { display: none; }
  .scene .ping .sev { display: none; } .story.up .ping { display: none; }
  .story.up .bx.lb.p4 span, .story.up .bx.lb.bad span { top: auto; bottom: 100%; margin: 0 0 3px; }
  /* Phone, home: no alert card, and short status lines kept on the left, where
     the floor is empty in both languages, so he stays in view. */
  .story.home .chip { inset-inline-start: auto; left: 12px; }
  .story.home .chip .full { display: none; } .story.home .chip .short { display: inline; }
  .scene .hud { gap: 6px; font-size: 10px; letter-spacing: .03em; } .scene .hud span { white-space: nowrap; } }

/* Less motion: the last moment of the story, still. */
@media (prefers-reduced-motion: reduce) {
  .hero.dark::before, .scene .rec::before, .scene .ring .ph { animation: none; }
  .scene .f, .scene .bx, .scene .chip, .scene .ping, .scene .ring { animation: none; }
  .scene .f5, .scene .gone, .scene .s5, .scene .ping, .scene .ring { opacity: 1; }
  .scene .f4.hold, .scene .stay, .scene .bad { opacity: 1; }
  .story-tabs button[aria-pressed="true"]::after { display: none; }
}

/* ---------------------------------------------------------- SCROLL REVEAL */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--i, 0) * 90ms); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------------------------- RULES: a camera view each */
.rule-list > .rule { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.cv { display: block; width: 112px; height: auto; border-radius: 8px; }
.cv .ts { font: 700 9px var(--mono); fill: #94a3b8; }
.cv .det { fill: none; stroke: #38bdf8; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s ease .45s; }
.reveal-on [data-reveal]:not(.in) .cv .det { stroke-dashoffset: 1; }
.cv .trail { fill: none; stroke: #f59e0b; stroke-width: 2; stroke-dasharray: .035 .03; }
.in .cv .trail { animation: march 1.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -.065; } }
@media (max-width: 420px) { .rule-list > .rule { grid-template-columns: 88px minmax(0, 1fr); } .cv { width: 88px; } }

.feats .fi { display: block; margin-bottom: 10px; color: var(--accent); }
.feats .new { background: #f3effe; } .feats .new .fi { color: #7c3aed; }

/* ---------------------------------------------------------- FIRE AND SMOKE */
.firesec { background: linear-gradient(180deg, #fff 0%, #fff6ef 100%); }
.fire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .fire { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.firesec .label { color: var(--alert); }
.checks { margin: 18px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; margin: 0 0 12px; padding-inline-start: 30px; color: var(--text); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fdebe1; box-shadow: inset 0 0 0 6px #fdebe1; }
.checks li::after { content: ""; position: absolute; inset-inline-start: 6px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--alert); }
.firecam { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #121a24; box-shadow: 0 30px 60px rgba(15,23,32,.25); }
.firecam > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.firecam .flame { position: absolute; left: 49.5%; top: 52%; width: 5%; height: 14%; border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  background: radial-gradient(circle at 50% 75%, #fff7c2 0%, #fbbf24 30%, #f97316 60%, rgba(239,68,68,0) 75%);
  filter: blur(.5px); transform-origin: 50% 100%; animation: flicker .35s ease-in-out infinite alternate; }
@keyframes flicker { from { transform: scaleY(1) skewX(-3deg); } to { transform: scaleY(1.18) skewX(4deg); } }
.firecam .puff { position: absolute; left: 47%; top: 44%; width: 12%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(203,213,225,.55) 0%, rgba(148,163,184,.25) 45%, rgba(148,163,184,0) 70%);
  animation: rise 6s ease-in infinite; opacity: 0; }
.firecam .p2 { animation-delay: 1.5s; } .firecam .p3 { animation-delay: 3s; } .firecam .p4 { animation-delay: 4.5s; }
@keyframes rise { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: .9; }
  100% { opacity: 0; transform: translate(-30%, -230%) scale(2.6); } }
.firecam .fbox { position: absolute; left: 37%; top: 25%; width: 26%; height: 46%; border: 2px dashed #fb923c; border-radius: 4px; animation: fpulse 2.4s ease-in-out infinite; }
.firecam .fbox span { position: absolute; bottom: 100%; left: -2px; margin-bottom: 3px; padding: 3px 6px; border-radius: 3px; background: #fb923c; color: #1c0a00; font: 700 11px/1.2 Rubik, sans-serif; white-space: nowrap; }
@keyframes fpulse { 50% { box-shadow: 0 0 0 6px rgba(251,146,60,.15); } }
.firecam .hud { position: absolute; top: 10px; inset-inline: 12px; display: flex; gap: 10px; font: 600 12px/1 var(--mono); color: #e2e8f0; letter-spacing: .06em; }
.firecam .hud .clock { margin-inline-start: auto; }
.firecam .rec::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 50%; background: #ef4444; animation: blink 1.2s steps(2) infinite; }
.firecam .chip { position: absolute; bottom: 12px; inset-inline-start: 12px; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(194,65,12,.92); color: #fff; font-size: 13px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .firecam .flame, .firecam .puff, .firecam .fbox, .firecam .rec::before, .in .cv .trail { animation: none; }
  .firecam .p1 { opacity: .8; transform: translate(-10%, -80%) scale(1.6); } .firecam .p2 { opacity: .5; transform: translate(-25%, -160%) scale(2.2); }
}

/* The camera checker, as a button people notice: in the menu, and as a card
   under the header's form. */
nav.menu .button.ghost.check { color: var(--accent); }
nav.menu .button.ghost.check:hover { color: var(--accent-dark); }
.checkcta { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: rgba(96,165,250,.12); border: 1px solid rgba(147,197,253,.35); color: #f1f5f9; transition: background .2s, transform .2s; }
.checkcta:hover { background: rgba(96,165,250,.2); transform: translateY(-1px); color: #fff; }
.checkcta .ci { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #2563eb; color: #fff; }
.checkcta b { display: block; font-size: 17px; }
.checkcta small { display: block; margin-top: 2px; color: var(--night-text); font-size: 14px; }
.checkcta .go { margin-inline-start: auto; font-size: 22px; color: #93c5fd; }
[dir="rtl"] .checkcta .go { transform: scaleX(-1); }
.hero.dark a.checkcta, .hero.dark a.checkcta:hover { color: #f1f5f9; }
@media (max-width: 1240px) { nav.menu .button.ghost.check { display: none; } }
@media (max-width: 900px) { .has-menu.open nav.menu .button.ghost.check { display: inline-flex; margin-top: 8px; } }

/* ------------------------------------------------- EXAMPLES: not only theft */
.xv { display: block; width: 100%; height: auto; }
.xv .ts { font: 700 13px var(--mono); fill: #94a3b8; }
.xv .lb { font: 700 12px Rubik, sans-serif; fill: #38bdf8; }
.xv .det { fill: none; stroke: #38bdf8; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s ease .4s; }
.reveal-on [data-reveal]:not(.in) .xv .det { stroke-dashoffset: 1; }
.in .xv .drop { animation: drop 3.4s ease-in-out infinite; }
@keyframes drop { 0%, 10% { transform: translateY(-40px); opacity: 0; } 25%, 85% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.in .xv .walk { animation: walk 4s ease-in-out infinite alternate; }
@keyframes walk { from { transform: translateX(0); } to { transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) { .in .xv .drop, .in .xv .walk { animation: none; } }

/* Drawings are laid out left to right in both languages (their labels start at
   a box's left edge); and a time range in a tag reads 07:00–17:00 in Hebrew too. */
.xv, .cv { direction: ltr; }
.tags span { direction: ltr; unicode-bidi: isolate; }
