/* The "How it works" scenes (scenes.js), shared by the landing page and the options page. A scene is drawn in a 560×400
   canvas; the page scales it to its stage with --k. */
.canvas { position: absolute; top: 0; left: 0; width: 560px; height: 400px; transform-origin: 0 0; scale: var(--k, 1); direction: rtl; font: 400 12px/18px var(--font-he); color: var(--text); }
.canvas .s, .canvas .a { position: absolute; box-sizing: border-box; }
.canvas .a { left: 0; top: 0; transform-origin: center; }
.canvas p { margin: 0; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.c-center { text-align: center; }
.c-cap { font-size: 12px; line-height: 18px; color: var(--text-2); }
.c-cap.small { font-size: 10px; line-height: 14px; }
.c-title { font: 600 12.5px/18px var(--font-he); }
.c-title.on-green { color: #FFFFFF; font-size: 14px; }
.c-say { font: 500 14px/26px var(--font-he); display: flex; align-items: center; justify-content: center; gap: 6px; }
.c-say .ic { color: var(--amber); }

.c-chip { display: flex; align-items: center; gap: 8px; height: 40px; padding-inline: 8px 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; font: 500 13px/1 var(--font-he); white-space: nowrap; }
.c-ini { inline-size: 24px; block-size: 24px; border-radius: 50%; background: var(--tile-on); color: var(--accent); display: grid; place-items: center; font: 600 9.5px/1 var(--font-latin); flex: none; direction: ltr; }
.c-ghost { border: 1.5px dashed color-mix(in srgb, var(--text-2) 35%, transparent); border-radius: 20px; }
.c-ghost.sq { border-radius: 10px; }
.c-phone { background: var(--mark-back); border-radius: 28px; }
.c-screen { background: var(--bg); border-radius: 21px; }
.c-row { display: flex; align-items: center; gap: 7px; padding-inline: 8px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; font: 500 11.5px/1 var(--font-he); white-space: nowrap; overflow: hidden; }
.c-row .ok { margin-inline-start: auto; color: var(--green); display: flex; }
.c-done { display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 12px/1 var(--font-he); color: var(--accent); }
.c-done .ic { color: var(--green); }
.c-guide { fill: none; stroke: var(--amber); stroke-width: 1.75; stroke-dasharray: 4 5; stroke-linecap: round; }
.c-cursor { width: 22px; height: 22px; transform-origin: 2px 2px; }
.c-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.c-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; }
.c-forest { background: var(--accent); color: #FFFFFF; border-radius: 14px; }
.c-badge { border-radius: 50%; background: var(--green); color: #FFFFFF; display: grid; place-items: center; }
.c-badge .ic { stroke-width: 2.4; }

/* 1b */
.c-hub { background: #FFFFFF; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.c-ring { border: 2px solid var(--amber); border-radius: 50%; }
.c-link { stroke: var(--text-2); stroke-opacity: 0.5; stroke-width: 1.5; stroke-dasharray: 3 5; }
.c-link-on { stroke: var(--green); stroke-width: 2; stroke-linecap: round; }

/* 1c */
.c-scard { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.c-scard-head { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--font-he); white-space: nowrap; }
.c-scard i { display: block; height: 5px; border-radius: 3px; background: var(--tile); }
.c-scard i.short { width: 60%; }
.c-one { padding: 16px; display: grid; gap: 2px; align-content: start; }
.c-one-title { font: 600 16px/24px var(--font-he); }
.c-one-sub { font-size: 12px; color: var(--on-green-2); }
.c-one-row { display: flex; gap: 6px; margin-block-start: 12px; }
.c-forest .c-ini { background: color-mix(in srgb, #FFFFFF 14%, transparent); color: #FFFFFF; }

/* 2a */
.c-bizhead { background: var(--amber-soft); border-radius: 14px 14px 0 0; }
.c-bizlogo, .c-minilogo { border-radius: 50%; background: var(--amber); color: var(--amber-deep); display: grid; place-items: center; font: 600 18px/1 var(--font-he); }
.c-minilogo { inline-size: 22px; block-size: 22px; font-size: 11px; flex: none; }
.c-src { display: flex; align-items: center; gap: 7px; padding-inline: 8px; border-radius: 8px; font-size: 12px; white-space: nowrap; }
.c-quote { display: grid; gap: 4px; align-content: start; padding: 8px 10px; background: var(--tile); line-height: 18px; white-space: normal; }
.c-sw { inline-size: 14px; block-size: 14px; border-radius: 50%; display: inline-block; flex: none; }
.c-scan { background: color-mix(in srgb, var(--amber-soft) 80%, transparent); border-block-end: 2px solid var(--amber); }
.c-typed { font-size: 11px; line-height: 18px; white-space: nowrap; }
.c-typed.big { font-size: 14px; line-height: 22px; }
.c-voice { display: flex; align-items: center; gap: 4px; font-size: 10px; line-height: 16px; color: var(--amber-ink); }

/* people (2b, 3a) and the robot (2c) */
.p-eyes, .r-eyes, .r-prog, .r-armL, .r-armR { transform-box: fill-box; }
.p-eyes, .r-eyes { transform-origin: center; }
.r-prog { transform-origin: right center; }
.r-armL, .r-armR { transform-origin: 50% 8px; }
.c-owner { transform-origin: 50% 100%; }
.c-arc { fill: none; stroke: var(--text-2); stroke-opacity: 0.4; stroke-width: 1.5; stroke-dasharray: 1 6; stroke-linecap: round; }
.c-bubble { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; font: 500 13px/1 var(--font-he); }
.c-bubble::after { content: ""; position: absolute; inset-block-end: -6px; inset-inline-start: calc(50% - 5px); width: 10px; height: 10px; background: #FFFFFF; border-inline-start: 1px solid var(--line); border-block-end: 1px solid var(--line); transform: rotate(-45deg); }
.c-nametag { background: #FFFFFF; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; font: 600 9.5px/1 var(--font-he); }
.c-post { padding: 10px 12px; display: grid; gap: 6px; font-size: 13px; line-height: 20px; }
.c-ready { display: flex; align-items: center; gap: 5px; color: var(--green); font: 600 11px/1 var(--font-he); }

/* 2d */
.c-past { padding: 10px 12px; }
.c-past p { margin-block-start: 4px; font-size: 12px; line-height: 19px; }
.c-past mark { color: inherit; border-radius: 3px; background: linear-gradient(var(--amber-line), var(--amber-line)) no-repeat right center / 0% 100%; }
.c-voicecard { background: var(--amber-soft); border: 1px solid var(--amber-line); border-radius: 12px; padding: 10px 12px; }
.c-voicetitle { font: 600 12px/18px var(--font-he); color: var(--amber-ink); }
.c-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 8px; }
.c-tags span { background: #FFFFFF; border: 1px solid var(--amber-line); border-radius: 999px; padding: 2px 10px; font-size: 12px; line-height: 18px; }
.c-arrow { fill: none; stroke: var(--amber); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.c-btn { background: var(--btn); color: #FFFFFF; border-radius: 6px; display: grid; place-items: center; font: 500 11px/1 var(--font-he); }
.c-btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }

/* the week (3a, 3b, 3c) */
.c-col { background: color-mix(in srgb, #FFFFFF 7%, transparent); border-radius: 8px; }
.c-day { font-size: 10.5px; line-height: 14px; color: var(--on-green-2); text-align: center; }
.c-foot { display: flex; align-items: center; gap: 6px; color: #FFFFFF; font: 600 13px/1 var(--font-he); }
.c-foot .ic { color: var(--amber); }
.c-mini { background: var(--bg); border-radius: 6px; padding: 4px; display: grid; gap: 3px; align-content: start; }
.c-mini i { display: block; height: 3px; border-radius: 2px; background: var(--tile); }
.c-mini i.thumb { height: 14px; background: var(--tile-on); }
.c-mini i.short { width: 60%; }
.c-mini b { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-block-start: 3px; }
.c-mini.ad { box-shadow: inset 0 0 0 1.5px var(--amber); }
.c-pcard { background: color-mix(in srgb, #FFFFFF 10%, transparent); color: #FFFFFF; border-radius: 8px; padding: 6px; display: grid; gap: 2px; align-content: start; }
.c-pcard.ad { box-shadow: inset 0 0 0 1px var(--amber); }
.c-time { font-size: 11px; font-weight: 600; justify-self: start; }
.c-ptext { font-size: 10px; line-height: 14px; }
.c-state { position: absolute; inset-block-end: 6px; inset-inline-start: 6px; display: flex; align-items: center; gap: 3px; font-size: 9.5px; line-height: 12px; color: var(--on-green-2); }
.c-state b { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.c-state.out { color: #FFFFFF; font-weight: 600; }
.c-state.out .ic { color: var(--amber); stroke-width: 2.4; }
.c-now span { display: block; margin-inline: auto; width: max-content; padding: 1px 7px; border-radius: 999px; background: var(--amber); color: var(--amber-deep); font: 600 10px/16px var(--font-he); }
.c-now i { position: absolute; left: 23px; top: 22px; bottom: 0; width: 2px; background: var(--amber); }
.c-dcard { display: flex; align-items: center; gap: 8px; padding: 8px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; font-size: 11.5px; white-space: nowrap; }
.c-dcard i, .c-mini2 i { display: block; width: 30px; height: 36px; border-radius: 6px; background: var(--tile-on); flex: none; }
.c-mini2 { background: var(--bg); border-radius: 6px; padding: 4px; display: grid; gap: 3px; justify-items: center; }
.c-mini2 i { width: 28px; height: 18px; border-radius: 3px; }
.c-mini2 span { font-size: 9.5px; line-height: 12px; font-weight: 600; color: var(--accent); }
.c-mini2 b { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.c-cta { background: var(--btn); color: #FFFFFF; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 14px/1 var(--font-he); }
.c-cta.done .ic { color: var(--amber); }

/* ---------- more options ---------- */
.c-side { display: grid; gap: 6px; align-content: start; }
.c-side b { font: 600 20px/30px var(--font-he); color: var(--text); }

/* 1d: a home screen */
.c-app { border-radius: 11px; background: var(--tile); color: var(--text-2); display: grid; place-items: center; font: 600 11px/1 var(--font-latin); }
.c-app.social { background: var(--tile-on); color: var(--accent); }
.c-app.mk { overflow: hidden; border-radius: 12px; background: var(--mark-back); }
.c-app.mk img { display: block; width: 100%; height: 100%; }
.c-nbadge { position: absolute; inset-block-start: -6px; left: -6px; min-width: 17px; height: 17px; padding-inline: 4px; border-radius: 999px; background: var(--amber); color: var(--amber-deep); font: 600 9.5px/17px var(--font-latin); text-align: center; }
.c-applabel { font-size: 10px; line-height: 14px; text-align: center; color: var(--text); }

/* 1e: plugs and a socket strip */
.c-socket { border-radius: 50%; background: color-mix(in srgb, #FFFFFF 88%, var(--accent)); display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.c-socket i { width: 12px; height: 4px; border-radius: 2px; background: var(--mark-back); }
.c-lamp { border-radius: 50%; background: color-mix(in srgb, #FFFFFF 25%, transparent); }
.c-cable { background: var(--text-2); opacity: 0.55; border-radius: 2px; transform-origin: right center; }
.c-plug { display: flex; align-items: center; gap: 8px; padding-inline: 8px 12px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; font: 500 12.5px/1 var(--font-he); white-space: nowrap; }
.c-plug b { position: absolute; left: -12px; width: 12px; height: 5px; border-radius: 1px; background: var(--text-2); }
.c-plug b:first-child { top: 11px; }
.c-plug b:nth-child(2) { top: 23px; }

/* 2e: a chat */
.c-live { display: flex; align-items: center; gap: 5px; font-size: 10px; line-height: 16px; color: var(--text-2); direction: rtl; }
.c-live b { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.c-chatview { overflow: hidden; border-radius: 0 0 21px 21px; }
.c-bub { display: flex; align-items: center; gap: 4px; padding: 7px 10px; border-radius: 14px; font-size: 11.5px; line-height: 17px; }
.c-bub.in { background: #FFFFFF; border: 1px solid var(--line); border-start-start-radius: 4px; transform-origin: 100% 0; }
.c-bub.out { background: var(--tile-on); color: var(--accent); font-weight: 600; justify-content: center; border-start-end-radius: 4px; transform-origin: 0 0; }
.c-bub.out .ic { color: var(--green); }
.c-bub.reply { justify-content: center; border: 1px solid var(--accent); color: var(--accent); background: #FFFFFF; border-radius: 999px; font-weight: 600; }
.c-typing { justify-content: center; gap: 4px; }
.c-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); }
.c-info { display: grid; gap: 4px; align-content: start; padding: 8px 10px; }
.c-info div { display: flex; align-items: center; gap: 6px; font-size: 11px; line-height: 18px; }
.c-info .ic { color: var(--text-2); }
.c-quotebub { background: var(--amber-soft); border-color: var(--amber-line); font-size: 12px; line-height: 18px; }
.c-tap { border-radius: 50%; background: var(--accent); }

/* 2f: dials for the voice */
.c-sl-label { font-size: 12px; line-height: 18px; color: var(--text-2); }
.c-sl-label.end { text-align: left; }
.c-sl-track { background: var(--tile); border-radius: 2px; }
.c-sl-fill { background: var(--amber); border-radius: 2px; transform-origin: right center; }
.c-sl-knob { border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 5px var(--amber); }
.c-version { font-size: 14px; line-height: 22px; }

/* 2g: a form */
.c-input { border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.c-fieldval { display: flex; align-items: center; gap: 6px; padding-inline: 10px; font-size: 12.5px; white-space: nowrap; }
.c-fieldval span { display: inline-block; }
.c-fieldok { color: var(--green); display: grid; place-items: center; }
.c-fieldok .ic { stroke-width: 2.2; }
.c-cta.small { font-size: 13px; border-radius: 6px; }

/* 3d: paper planes */
.c-ring.pill { border-radius: 22px; }
.c-brow { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, #FFFFFF 8%, transparent); color: #FFFFFF; }
.c-brow .when { display: grid; font-size: 10px; line-height: 14px; color: var(--on-green-2); }
.c-brow .when .latin { font-size: 12.5px; line-height: 16px; font-weight: 600; color: #FFFFFF; justify-self: start; }
.c-btext { font-size: 12px; line-height: 16px; padding-inline-end: 56px; }
.c-st { position: absolute; inset-inline-end: 10px; top: 19px; display: flex; align-items: center; gap: 4px; font-size: 10.5px; line-height: 16px; color: var(--on-green-2); }
.c-st b { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.c-st.out { color: #FFFFFF; font-weight: 600; }
.c-st.out .ic { color: var(--amber); stroke-width: 2.4; }

/* 3e: suggestions to approve */
.c-daydot { border-radius: 50%; display: grid; place-items: center; font-size: 10px; line-height: 1; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); background: #FFFFFF; }
.c-daydot.on { background: var(--amber); color: var(--amber-deep); box-shadow: none; font-weight: 600; }
.c-sug { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; align-content: start; }
.c-sug p { font-size: 12.5px; line-height: 19px; }
.c-sug-btns { display: flex; gap: 6px; margin-block-start: 6px; }
.c-sug-btns .c-btn { width: 62px; height: 24px; }

/* 3f: a to-do list */
.c-padtop { background: var(--amber); border-radius: 12px 12px 0 0; }
.c-title.big { font-size: 17px; line-height: 24px; }
.c-checkbox { border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--text-2); color: var(--green); display: grid; place-items: center; }
.c-checkbox .ic { stroke-width: 2.4; }
.c-todo { font-size: 14px; line-height: 24px; }
.c-todo span { position: relative; display: inline-block; }
.c-todo i { position: absolute; left: -2px; right: -2px; top: 12px; height: 2px; border-radius: 1px; background: var(--amber); transform-origin: right center; }
.c-by { border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font: 600 10px/18px var(--font-he); text-align: center; }
