/* Home page only (11-11 redesign): the chain from the first click to the order in the system.
   Hero with a live four-step flow, the three services on one line, work index, quotes,
   about + process. Light display weight, one accent, lines instead of cards. */

/* ---------- shared headings ---------- */
.sec-head { display: grid; gap: 16px; margin-bottom: 52px; }
.sec-head p { color: var(--muted); font-size: 1.06rem; max-width: 56ch; }
.sec-head p a { color: var(--accent); text-underline-offset: 3px; }
.sec-title { font-size: clamp(1.7rem, 1vw + 1.25rem, 2.15rem); line-height: 1.22; font-weight: 300; letter-spacing: -0.01em; }
.sec-title > span { display: block; }
.sec-title > span + span { font-weight: 500; }
:lang(en) .sec-title { letter-spacing: -0.03em; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; gap: 64px; }
}

/* ---------- hero ---------- */
.fx-hero { position: relative; padding-top: 56px; }
.fx-grid { display: grid; gap: 44px; align-items: center; padding-bottom: 64px; }
.fx-copy { display: grid; gap: 24px; justify-items: start; }
.fx-eyebrow { font-family: var(--mono); font-size: 0.8rem; color: var(--faint); letter-spacing: 0.02em; }
:lang(he) .fx-eyebrow { font-family: var(--font); font-size: 0.86rem; }
.fx-title { font-size: clamp(2.1rem, 2vw + 1.35rem, 3rem); line-height: 1.12; font-weight: 300; letter-spacing: -0.01em; }
:lang(en) .fx-title { letter-spacing: -0.035em; }
.fx-title > span { display: block; }
.fx-title > span + span { font-weight: 500; }
.fx-lead { font-size: clamp(1.06rem, 0.4vw + 1rem, 1.2rem); line-height: 1.65; color: var(--muted); max-width: 38ch; }
:lang(en) .fx-lead { max-width: 44ch; }
.fx-examples { list-style: none; margin: -10px 0 0; padding: 0; display: grid; gap: 8px; max-width: 46ch; }
.fx-examples li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); line-height: 1.5; }
.fx-examples .i { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.fx-copy .cta-row { margin-top: 4px; }
.fx-copy .btn-ghost .i { width: 18px; height: 18px; }
.fx-me { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.fx-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }
.fx-me p { display: grid; font-size: 0.9rem; line-height: 1.45; color: var(--faint); }
.fx-me b { color: var(--text); font-weight: 500; }
@media (min-width: 1000px) {
  .fx-hero { padding-top: 80px; }
  .fx-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; padding-bottom: 88px; }
}

/* ---------- the live flow ---------- */
.flow {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 50px 100px -50px rgb(0 0 0 / 0.95);
}
.flow-head, .flow-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; }
.flow-head { border-bottom: 1px solid var(--line); }
.flow-label { font-size: 0.8rem; color: var(--faint); }
.flow-status {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-block: -6px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--muted);
  font: inherit; font-size: 0.8rem; white-space: nowrap; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.flow-status:hover { color: var(--text); border-color: var(--faint); }
.flow-status[hidden] { display: none; }
.flow-status i { width: 7px; height: 7px; border-radius: 50%; background: #6fd39b; }
.flow-status.is-stopped i { background: var(--faint); animation: none; }
.flow-foot { border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--faint); }
.flow-body { display: grid; }

/* steps: a row of four on phones, a column with a track from 720px */
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 12px; border-bottom: 1px solid var(--line); }
.flow-track { display: none; }
.flow-step {
  position: relative; display: grid; gap: 8px; align-content: start; padding: 10px 6px 8px; min-height: 44px;
  border: 0; border-radius: 10px; background: transparent; color: var(--faint); font: inherit; text-align: start; cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.flow-dot { display: block; height: 3px; border-radius: 2px; background: var(--line-2); transition: background-color 0.4s; }
.flow-step-copy { display: grid; gap: 1px; }
.flow-k { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); }
.flow-step b { font-size: 0.8rem; font-weight: 500; line-height: 1.3; }
.flow-s { display: none; }
.flow-step:hover { color: var(--text); }
.flow-step[aria-pressed="true"] { color: var(--text); background: rgb(255 255 255 / 0.04); }
.flow-step[aria-pressed="true"] .flow-dot, .flow-step.is-done .flow-dot { background: var(--accent); }
.flow-step.is-done { color: var(--muted); }

@media (min-width: 720px) {
  .flow-body { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .flow-steps { grid-template-columns: none; align-content: start; gap: 2px; padding: 16px 12px; border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .flow-track { display: block; position: absolute; top: 40px; bottom: 40px; inset-inline-start: 31px; width: 1px; background: var(--line-2); }
  .flow-track i { display: block; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--accent); transition: height 0.6s var(--ease); }
  .flow-step { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 13px 14px; }
  .flow-dot { position: relative; z-index: 1; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 2px var(--line-2) inset; transition: background-color 0.4s, box-shadow 0.4s; }
  .flow-step[aria-pressed="true"] .flow-dot { background: var(--bg); box-shadow: 0 0 0 2px var(--accent) inset, 0 0 0 5px rgb(77 132 255 / 0.14); }
  .flow-step.is-done .flow-dot { background: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
  .flow-step b { font-size: 0.98rem; }
  .flow-s { display: block; font-size: 0.84rem; line-height: 1.45; color: var(--faint); }
  .flow-step[aria-pressed="true"] .flow-s { color: var(--muted); }
}

/* the four views */
.flow-views { position: relative; display: grid; align-items: center; min-height: 380px; padding: 22px 18px; background: #060a14; }
.flow-view[hidden] { display: none; }
.flow:not(.is-live) .flow-view + .flow-view { display: none; }
.flow-view { display: grid; gap: 14px; font-size: 0.9rem; line-height: 1.5; }
@media (min-width: 720px) { .flow-views { min-height: 400px; padding: 28px; } }

/* 1. search ad */
.fv-search { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: #18181b; border: 1px solid var(--line-2); font-size: 0.95rem; }
.fv-search .i { color: var(--faint); }
.fv-adbox { display: grid; gap: 5px; padding: 6px 4px 0; }
.fv-meta { font-size: 0.76rem; color: var(--faint); }
.fv-meta b { color: var(--muted); font-weight: 600; }
.fv-adtitle { font-size: 1.12rem; line-height: 1.35; color: #a9c1ff; }
.fv-adtext { color: var(--muted); font-size: 0.88rem; }
.fv-adlinks { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 2px; color: #a9c1ff; font-size: 0.82rem; }
.fv-click { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 0.84rem; }
.fv-click .i { width: 16px; height: 16px; }

/* 2. landing page */
.fv-page { display: grid; gap: 10px; padding: 20px; border-radius: 14px; background: #f6f3f1; color: #1a1615; }
.fv-lp-title { font-size: 1.08rem; font-weight: 600; }
.fv-lp-text { font-size: 0.82rem; color: #5a514e; }
.fv-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fv-field { display: grid; gap: 3px; font-size: 0.74rem; color: #5a514e; }
.fv-field > span { padding: 7px 11px; border-radius: 9px; background: #fff; border: 1px solid #ddd5d1; font-size: 0.88rem; color: #1a1615; }
.fv-field > span[dir="ltr"] { text-align: end; }
[dir="ltr"] .fv-field > span[dir="ltr"] { text-align: start; }
.fv-wide { grid-column: 1 / -1; }
.fv-send { margin-top: 2px; padding: 10px; border-radius: 9px; background: #1a1615; color: #fff; text-align: center; font-size: 0.88rem; font-weight: 500; }
.fv-ok { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--muted); }
.fv-ok .i { color: #6fd39b; }

/* 3. chat */
.fv-chat { gap: 8px; }
.fv-chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.fv-chat-head > span:last-child { display: grid; line-height: 1.3; }
.fv-chat-head b { font-weight: 500; }
.fv-chat-head > span:last-child span { font-size: 0.72rem; color: var(--faint); }
.fv-ava { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #1f4d3a; font-size: 0.72rem; font-weight: 600; }
.fv-msg { max-width: 82%; padding: 8px 13px; font-size: 0.88rem; }
.fv-bot { justify-self: start; background: #1e1e22; border-radius: 14px 14px 14px 4px; }
.fv-me { justify-self: end; background: #1f4d3a; border-radius: 14px 14px 4px 14px; }
[dir="rtl"] .fv-bot { border-radius: 14px 14px 4px 14px; }
[dir="rtl"] .fv-me { border-radius: 14px 14px 14px 4px; }

/* 4. record in the system */
.fv-card { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.fv-card-head { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; background: #151518; border-bottom: 1px solid var(--line-2); }
.fv-card-head b { font-weight: 500; }
.fv-card-head span { font-family: var(--mono); font-size: 0.76rem; color: var(--faint); }
.fv-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); font-size: 0.88rem; }
.fv-grid span { padding: 8px 16px; border-bottom: 1px solid var(--line); }
.fv-grid span:nth-child(odd) { color: var(--faint); }
.fv-grid span:nth-last-child(-n + 2) { border-bottom: 0; }
.fv-grid span:last-child { color: var(--accent); font-weight: 500; }
.fv-owner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #151518; font-size: 0.82rem; color: var(--muted); }
.fv-owner .i { color: #6fd39b; margin-top: 0.25em; }

@media (prefers-reduced-motion: no-preference) {
  .flow.is-live .flow-view:not([hidden]) > * { animation: fv-in 0.55s var(--ease) both; }
  .flow.is-live .flow-view:not([hidden]) > :nth-child(2) { animation-delay: 0.08s; }
  .flow.is-live .flow-view:not([hidden]) > :nth-child(3) { animation-delay: 0.16s; }
  .flow.is-live .fv-chat:not([hidden]) > :nth-child(3) { animation-delay: 0.45s; }
  .flow.is-live .fv-chat:not([hidden]) > :nth-child(4) { animation-delay: 0.85s; }
  .flow.is-live .fv-chat:not([hidden]) > :nth-child(5) { animation-delay: 1.25s; }
  .flow.is-live .fv-chat:not([hidden]) > :nth-child(6) { animation-delay: 1.7s; }
  .flow-status i { animation: ping 2.4s ease-out infinite; }
}
@keyframes fv-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* tools line */
.fx-tools { border-block: 1px solid var(--line); }
.fx-tools .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; padding-block: 20px; }
.fx-tools p { font-size: 0.88rem; color: var(--faint); }
.fx-tools ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 30px; font-family: var(--mono); font-size: 0.86rem; color: var(--muted); }

/* ---------- three services on one line ---------- */
.chain { padding-block: 96px; }
.chain-list { list-style: none; position: relative; display: grid; gap: 44px; }
.chain-item { position: relative; display: grid; gap: 14px; align-content: start; }
.chain-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--bg); }
.chain-item:nth-child(2) .chain-dot { background: var(--text); }
.chain-item:nth-child(3) .chain-dot { background: #6f6a68; }
.chain-k { padding-top: 6px; font-size: 0.8rem; color: var(--faint); }
:lang(en) .chain-k { font-family: var(--mono); font-size: 0.74rem; }
.chain-item h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.005em; }
.chain-d { color: var(--muted); }
.chain-points { list-style: none; border-top: 1px solid var(--line); font-size: 0.96rem; }
.chain-points li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.chain-more { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 44px; color: var(--accent); text-decoration: none; font-weight: 500; }
.chain-more .i { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.chain-more:hover .i { transform: translateX(4px); }
[dir="rtl"] .chain-more:hover .i { transform: translateX(-4px); }
@media (min-width: 900px) {
  .chain { padding-block: 120px; }
  .chain-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .chain-list::before { content: ""; position: absolute; top: 6px; inset-inline: 0; height: 1px; background: linear-gradient(to right, var(--accent), var(--line-2) 70%); }
  [dir="rtl"] .chain-list::before { background: linear-gradient(to left, var(--accent), var(--line-2) 70%); }
}

/* ---------- work ---------- */
.home-work { background: var(--bg-2); border-block: 1px solid var(--line); padding-block: 96px; }
.home-work .idx-row b { font-weight: 500; font-size: 1.16rem; }
@media (min-width: 900px) { .home-work { padding-block: 110px; } }

/* ---------- quotes ---------- */
.quotes { padding-block: 104px; }
.quotes-label { font-size: 0.86rem; font-weight: 400; color: var(--faint); margin-bottom: 44px; }
.quotes-grid { display: grid; gap: 52px; }
.hq { margin: 0; display: grid; gap: 26px; align-content: space-between; }
.hq blockquote { margin: 0; }
.hq blockquote p { font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.42rem); line-height: 1.6; font-weight: 300; }
.hq blockquote p::before { content: "״"; }
.hq blockquote p::after { content: "״"; }
:lang(en) .hq blockquote p::before { content: "“"; }
:lang(en) .hq blockquote p::after { content: "”"; }
.hq figcaption { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 0.95rem; }
.hq figcaption b { font-weight: 500; }
.hq figcaption span { color: var(--faint); }
@media (min-width: 900px) { .quotes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }

/* ---------- about + process ---------- */
.about-process { border-top: 1px solid var(--line); padding-block: 96px; }
.ap-grid { display: grid; gap: 56px; }
.ap-copy { display: grid; gap: 20px; align-content: start; }
.ap-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }
.ap-copy > p { color: var(--muted); max-width: 48ch; }
.ap-label { font-size: 0.86rem; font-weight: 400; color: var(--faint); margin-bottom: 16px; }
.ap-list { list-style: none; border-top: 1px solid var(--line-2); }
.ap-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.ap-n { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); padding-top: 4px; }
.ap-list li > span:last-child { display: grid; gap: 4px; }
.ap-list b { font-size: 1.14rem; font-weight: 500; }
.ap-list li > span:last-child > span { color: var(--muted); }
.ap-steps .process-note { margin-top: 24px; }
@media (min-width: 960px) {
  .about-process { padding-block: 110px; }
  .ap-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-track i, .flow-dot, .flow-step, .chain-more .i { transition: none; }
}
@media (max-width: 719px) { .flow-hint { display: none; } }

/* ===== 11-19 redesign: control room hero (navy + electric blue) ===== */
.fx-hero { overflow: hidden; isolation: isolate; }
.fx-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 42% at 70% 30%, rgb(77 132 255 / 0.18), transparent 70%),
    radial-gradient(36% 30% at 20% 10%, rgb(56 189 248 / 0.08), transparent 70%);
}
.fx-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgb(130 176 255 / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(130 176 255 / 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 60% 30%, #000 30%, transparent 80%);
}
.fx-title > span + span { color: transparent; background: linear-gradient(90deg, #82b0ff, #4d84ff 60%, #38bdf8); -webkit-background-clip: text; background-clip: text; }

.room {
  margin: 0; position: relative; display: grid; border: 1px solid var(--line-2); border-radius: var(--r-card);
  background: linear-gradient(180deg, rgb(16 26 48 / 0.85), rgb(7 11 21 / 0.92)); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgb(77 132 255 / 0.06) inset, 0 40px 90px -40px rgb(77 132 255 / 0.45);
  overflow: hidden;
}
.room-head, .room-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; }
.room-head { border-bottom: 1px solid var(--line); }
.room-label { font-size: 0.8rem; color: var(--faint); }
.room-live { white-space: nowrap; flex: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; font: inherit; font-size: 0.76rem;
  color: var(--muted); background: rgb(255 255 255 / 0.03); border: 1px solid var(--line-2); cursor: pointer;
}
.room-live:hover { color: var(--text); border-color: var(--faint); }
.room-live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #5eead4; }
.room-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgb(94 234 212 / 0.5); animation: room-ping 2s ease-out infinite; }
.room-live.is-stopped i { background: var(--faint); }
.room-live.is-stopped i::after { animation: none; opacity: 0; }
/* transform/opacity only, so it runs on the compositor (was an animated box-shadow, repainted every frame) */
@keyframes room-ping { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(3); opacity: 0; } }
.room-foot { border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--faint); }

.room-stage { position: relative; aspect-ratio: 400 / 280; margin: 18px 18px 6px; }
.room-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.room-lines path { fill: none; }
.rl { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 3; }
.rp { stroke: #82b0ff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 86; stroke-dashoffset: 100; opacity: 0; }
.rp.is-on { animation: room-pulse 1.1s var(--ease) forwards; }
@keyframes room-pulse { 0% { opacity: 1; stroke-dashoffset: 100; } 85% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }

.room-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px;
  width: 27%; aspect-ratio: 1; place-content: center; border-radius: 50%; text-align: center;
  background: radial-gradient(circle at 50% 35%, #1b3263, #0a1430 70%); border: 1px solid rgb(130 176 255 / 0.35);
  box-shadow: 0 0 40px -6px rgb(77 132 255 / 0.55), 0 0 0 6px rgb(77 132 255 / 0.05);
}
.room-hub .i { width: 22px; height: 22px; color: #82b0ff; }
.room-hub b { font-size: 0.8rem; font-weight: 500; }
.room-hub-ring { position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgb(130 176 255 / 0.25); animation: room-ring 3.2s var(--ease) infinite; }
.room-hub.is-hit { box-shadow: 0 0 60px -2px rgb(77 132 255 / 0.85), 0 0 0 6px rgb(77 132 255 / 0.1); transition: box-shadow 0.3s; }
@keyframes room-ring { 0% { transform: scale(0.92); opacity: 0.9; } 100% { transform: scale(1.18); opacity: 0; } }

.room-node {
  position: absolute; transform: translate(var(--tx, -50%), var(--ty, -50%)) scale(var(--sc, 1)); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 6px 10px; border-radius: 10px; font-size: 0.74rem; color: var(--muted);
  background: #0b1326; border: 1px solid var(--line-2); transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.room-node .i { width: 15px; height: 15px; color: var(--faint); transition: color 0.3s; }
.room-node.is-on { color: var(--text); border-color: #4d84ff; box-shadow: 0 0 22px -4px rgb(77 132 255 / 0.8); --sc: 1.06; }
.room-node.is-on .i { color: #82b0ff; }

.room-side { display: grid; gap: 10px; padding: 8px 18px 16px; }
.room-count { display: flex; align-items: baseline; gap: 10px; }
.room-count b { font-family: var(--mono); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.room-count span { font-size: 0.8rem; color: var(--faint); }
.room-feed { display: grid; gap: 6px; list-style: none; padding: 0; margin: 0; }
.room-feed li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 8px 12px; border-radius: 10px;
  background: rgb(255 255 255 / 0.025); border: 1px solid var(--line); font-size: 0.8rem; line-height: 1.45;
}
.room-feed li:nth-child(n+4) { opacity: 0.55; }
.room-feed li:nth-child(n+5) { display: none; }
.room-feed time { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); padding-top: 2px; direction: ltr; }
.room-feed li > span { display: grid; }
.room-feed b { font-weight: 500; color: var(--text); }
.room-feed li > span > span { color: var(--muted); }
.room-feed li.is-new { animation: room-in 0.6s var(--ease); border-color: rgb(77 132 255 / 0.45); }
@keyframes room-in { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 520px) {
  .room-node { font-size: 0.66rem; padding: 4px 7px; gap: 4px; }
  .room-node .i { width: 12px; height: 12px; }
  .room-hub b { font-size: 0.7rem; }
  .room-stage { margin: 26px 10px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .room-live i, .room-hub-ring { animation: none; }
  .rp.is-on, .room-feed li.is-new { animation: none; }
}

.home-case .case-card {
  position: relative; display: grid; gap: 10px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line-2); background: linear-gradient(135deg, rgb(77 132 255 / 0.12), rgb(10 16 32 / 0.6) 55%);
}
.home-case .case-card::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgb(77 132 255 / 0.25), transparent 70%); pointer-events: none; }
.case-k { font-family: var(--mono); font-size: 0.78rem; color: #82b0ff; }
.home-case h2 { font-size: clamp(1.4rem, 1vw + 1.1rem, 1.9rem); font-weight: 500; letter-spacing: -0.01em; }
.home-case p:last-child { color: var(--muted); max-width: 60ch; line-height: 1.7; }
.room-live[hidden] { display: none; }
.room.is-paused .room-hub-ring, .room.is-paused .room-live i { animation: none; }
@media (max-width: 420px) {
  .room-stage { aspect-ratio: 400 / 360; }
  .room-node[data-room-node="1"] { --ty: -80%; }
  .room-node[data-room-node="4"] { --ty: -20%; }
  .room-node[data-room-node="0"], .room-node[data-room-node="5"] { --tx: -38%; }
  .room-node[data-room-node="2"], .room-node[data-room-node="3"] { --tx: -62%; }
  .room-node { font-size: 0.62rem; }
}

/* ===== 11-19 v2 "Command": work grid + sharper control room ===== */
.cg { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .cg { grid-template-columns: 1fr 1fr; } .cg-lead { grid-column: 1 / -1; } }
.cg-card { display: grid; height: 100%; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); overflow: hidden; color: inherit; text-decoration: none; transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s; }
.cg-card:hover { border-color: rgb(77 132 255 / 0.55); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgb(47 99 245 / 0.45); }
.cg-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.cg-frame { display: grid; border-bottom: 1px solid var(--line); background: #05070d; }
.cg-bar { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }
.cg-st { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); font-family: var(--font); font-size: 0.74rem; }
.cg-st i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.cg-st.is-demo { color: var(--faint); }
.cg-st.is-demo i { background: var(--faint); box-shadow: none; }
.cg-pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0e18; }
.cg-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.8s var(--ease); }
.cg-card:hover .cg-pic img { transform: scale(1.03); }
.cg-body { display: grid; gap: 12px; align-content: start; padding: 20px 22px 22px; }
.cg-ctx { font-family: var(--mono); font-size: 0.74rem; color: var(--accent); }
:lang(he) .cg-ctx { font-family: var(--font); font-size: 0.82rem; }
.cg-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.55rem, 1vw + 1.2rem, 2rem); line-height: 1.04; color: var(--text); text-wrap: balance; }
.cg-ba { display: grid; gap: 8px; }
.cg-ba > span { display: grid; grid-template-columns: 3.4em 1fr; gap: 10px; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.cg-ba b { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; color: var(--faint); padding-top: 3px; text-transform: uppercase; }
.cg-ba > span:last-child b { color: var(--cyan); }
.cg-ba > span:last-child { color: var(--text); }
.cg-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
:lang(he) .cg-tags { justify-content: flex-end; }
.cg-tags span { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); border: 1px solid var(--line-2); border-radius: 3px; padding: 3px 7px; }
.cg-go { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--accent); margin-top: 2px; }
.cg-go .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.cg-card:hover .cg-go .i { transform: translateX(-4px); }
:lang(en) .cg-card:hover .cg-go .i { transform: translateX(4px); }
@media (min-width: 900px) {
  .cg-lead .cg-card { grid-template-columns: 1.25fr 1fr; }
  .cg-lead .cg-frame { border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .cg-lead .cg-body { align-content: center; padding: 32px; }
  .cg-lead .cg-title { font-size: clamp(2rem, 1.4vw + 1.4rem, 2.6rem); }
}
@media (prefers-reduced-motion: reduce) { .cg-card, .cg-pic img, .cg-go .i { transition: none; } .cg-card:hover { transform: none; } }

.room { border-radius: var(--r-card); background: #05070d; box-shadow: 0 0 0 1px rgb(77 132 255 / 0.05) inset, 0 40px 90px -40px rgb(47 99 245 / 0.5); backdrop-filter: none; }
.room-label { font-family: var(--mono); font-size: 0.72rem; }
.room-live { border-radius: 3px; font-family: var(--mono); font-size: 0.7rem; }
.room-node { border-radius: 4px; background: #070b16; }
.room-feed li { border-radius: 4px; grid-template-columns: auto 1fr auto; background: transparent; border-color: var(--line); }
.room-feed s { text-decoration: none; font-family: var(--mono); font-size: 0.66rem; color: var(--cyan); padding-top: 3px; direction: ltr; }
.room-count b { font-family: var(--display); font-size: 2.2rem; font-weight: 700; }
.fx-title > span + span { background: none; color: var(--accent); -webkit-background-clip: border-box; background-clip: border-box; }
.home-case .case-card { border-radius: var(--r-card); background: linear-gradient(135deg, rgb(47 99 245 / 0.14), rgb(5 7 13 / 0.8) 55%); }
.home-case h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 1.2vw + 1.4rem, 2.4rem); }
.case-k { color: var(--cyan); }
/* node positions (CSP blocks inline style attributes); keep in sync with ROOM_POS in build.mjs */
.room-node[data-room-node="0"] { left: 16%; top: 18.57%; }
.room-node[data-room-node="1"] { left: 50%; top: 9.29%; }
.room-node[data-room-node="2"] { left: 84%; top: 18.57%; }
.room-node[data-room-node="3"] { left: 84%; top: 81.43%; }
.room-node[data-room-node="4"] { left: 50%; top: 90.71%; }
.room-node[data-room-node="5"] { left: 16%; top: 81.43%; }
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cl-list li { display: grid; gap: 4px 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 800px) { .cl-list li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; } }
.cl-who { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 0.6vw + 1.15rem, 1.65rem); line-height: 1.1; color: var(--text); }
.cl-what { color: var(--muted); line-height: 1.6; }
.cl-st { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.72rem; color: var(--cyan); white-space: nowrap; }
:lang(he) .cl-st { font-family: var(--font); font-size: 0.8rem; }
.cl-st i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
/* 11-19: hero copy sits at the top of the split, level with the control room; shorter feed on desktop */
@media (min-width: 1000px) {
  .fx-grid { align-items: start; }
  .fx-copy { padding-top: 36px; }
  .room-feed li:nth-child(n+4) { display: none; }
}
.cl-more { margin-top: 18px; color: var(--faint); }

/* ===== 11-26 mobile pass ===== */
@media (max-width: 600px) {
  .fx-hero { padding-top: 24px; }
  .fx-copy { gap: 12px; }
  .fx-examples { gap: 6px; }
  .fx-grid { gap: 36px; padding-bottom: 48px; }
  .fx-copy .cta-row { margin-top: 0; }
  .hero-offer, .hero-trust { margin: 0; }
  .chain, .home-work, .about-process { padding-block: 64px; }
  .quotes { padding-block: 64px; }
  .room-feed li:nth-child(n+4) { display: none; }
  .room-label, .room-live { font-size: 0.75rem; }
  .room-feed time, .room-feed s { font-size: 0.75rem; }
}
@media (max-width: 420px) { .room-node { font-size: 0.7rem; } }
@media (max-width: 959px) { .room-live { min-height: 40px; padding: 8px 12px; } }
/* 11-29: Safari sized the room's auto grid column from the stage's min-content, so the room's insides ran ~50px past its frame (clipped on iPhone) */
.room { grid-template-columns: minmax(0, 1fr); }
.room > *, .fx-grid > * { min-width: 0; }
@media (max-width: 899px) { .fx-grid { grid-template-columns: minmax(0, 1fr); } }
