/* Pro Algorithm OS, product site. Same world as the company site (site-v2): a drawing
   office at night. Ink ground, drafting hairlines, warm-white linework, and one redline
   for the action the agent is taking right now. Tokens are copied from site-v2 on purpose. */
:root {
  --ink: #0a0c0f;
  --ink-2: #101318;
  --ink-3: #171b21;
  --model: #07090b;
  --line: rgba(237, 238, 240, 0.09);
  --line-2: rgba(237, 238, 240, 0.18);
  --text: #edeef0;
  --muted: #a1a7b0;
  --faint: #868d97;
  --red: #ff5b2e;
  --red-soft: rgba(255, 91, 46, 0.14);
  --ok: #7fd1a4;
  --wait: #e8c36b;
  --l-door: #8fb2ff;
  --l-win: #6fd6e6;

  --sans: "IBM Plex Sans", "IBM Plex Sans Hebrew", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 56px);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px;
  color-scheme: dark;
}
html[lang="he"] { --sans: "IBM Plex Sans Hebrew", "IBM Plex Sans", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  background-attachment: fixed;
  overflow-x: clip;
}
::selection { background: var(--red); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 300; letter-spacing: -0.02em; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3 { letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
input { caret-color: var(--red); accent-color: var(--red); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border: 2px solid var(--ink); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #2a3039; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.red { color: var(--red); }
.mono, .num { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 99; background: var(--red); color: var(--ink); padding: 8px 12px; font-weight: 600; }
.skip:focus { inset-inline-start: 8px; }
.ic { width: 14px; height: 14px; flex: none; }
.ic--play { fill: currentColor; }
.ic--s { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
[dir="rtl"] .ic--play { transform: scaleX(-1); }
.arrow { color: var(--faint); }
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
.sel { user-select: all; }
.nb { white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font: 500 15px/1 var(--sans); text-decoration: none; border-radius: 2px; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--red); color: var(--ink); font-weight: 600; }
.btn--solid:hover { background: #ff7650; }
.btn--line { border-color: var(--line-2); color: var(--text); background: rgba(10, 12, 15, .6); }
.btn--line:hover { border-color: var(--text); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--xs { min-height: 30px; padding: 0 12px; font-size: 13px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 12, 15, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top__in { display: flex; align-items: center; gap: var(--s4); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 22px; width: auto; }
.brand__os { font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--ink); background: var(--text); padding: 5px 6px 4px; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.top__end { display: flex; align-items: center; gap: 14px; }
.top__signin { color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 2px; }
.top__signin:hover { text-decoration: underline; text-underline-offset: 4px; }
.lang { background: none; border: 1px solid var(--line-2); color: var(--muted); font: 500 12px/1 var(--mono); padding: 9px 10px; display: inline-flex; gap: 6px; cursor: pointer; border-radius: 2px; min-height: 38px; align-items: center; }
.lang:hover { border-color: var(--text); }
.lang [data-lang] { opacity: .75; }
.lang [data-lang="he"] { font: 500 13px/1 "IBM Plex Sans Hebrew", var(--sans); }
html[lang="en"] .lang [data-lang="en"], html[lang="he"] .lang [data-lang="he"] { opacity: 1; color: var(--text); }

/* Type */
.display { font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 1.02; letter-spacing: -0.035em; }
html[lang="he"] .display { letter-spacing: -0.02em; line-height: 1.1; }
.display .red { display: block; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 50ch; line-height: 1.55; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; }
.h2--xl { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 18ch; }
.h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.15; letter-spacing: -0.02em; }
html[lang="he"] .h2, html[lang="he"] .h2--xl { line-height: 1.16; }
.sub { margin-top: var(--s3); font-size: 1.125rem; color: var(--muted); max-width: 60ch; }
.sec { padding-block: clamp(88px, 11vw, 150px) 0; }

/* ----------------------------------------------------------------- Hero */
.hero { padding-block: clamp(32px, 4.5vw, 60px) 0; }
.hero__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 3vw, 40px); }
.hero__side { display: flex; flex-direction: column; gap: 20px; padding-bottom: 6px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { font: 400 12px/1.5 var(--mono); letter-spacing: .04em; color: var(--faint); }

/* The CAD window: the page's signature. Chrome stays LTR, as in the real application. */
.cad { margin: 0; position: relative; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 12px 30px -18px rgba(0,0,0,.7); }
.cad__bar, .cad__foot { display: flex; align-items: center; gap: 18px; padding: 9px 14px; font: 400 11px/1.3 var(--mono); letter-spacing: .06em; color: var(--faint); }
.cad__bar { border-bottom: 1px solid var(--line-2); }
.cad__file { color: var(--text); }
.cad__tabs { display: inline-flex; gap: 2px; }
.cad__tabs > * { padding: 4px 9px; border: 1px solid var(--line); font-weight: 400; }
.cad__tabs b { color: var(--text); background: var(--model); border-color: var(--line-2); }
.cad__layers { margin-inline-start: auto; display: inline-flex; gap: 12px; }
.cad__layers span { display: inline-flex; align-items: center; gap: 6px; transition: color .4s var(--ease); }
.cad__layers span::before { content: ""; width: 8px; height: 8px; border: 1px solid currentColor; background: transparent; transition: background .4s var(--ease), border-color .4s; }
.cad__layers span.is-on { color: var(--text); }
.cad__layers [data-l="WALLS"].is-on::before, .cad__layers [data-l="TEXT"].is-on::before { background: var(--text); }
.cad__layers [data-l="DOORS"].is-on::before { background: var(--l-door); border-color: var(--l-door); }
.cad__layers [data-l="WINDOWS"].is-on::before { background: var(--l-win); border-color: var(--l-win); }
.cad__layers span.is-hot { color: var(--red); }

.cad__body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; height: clamp(360px, 46vh, 520px); }
.cad__canvas { position: relative; background: var(--model); border-inline-end: 1px solid var(--line-2); overflow: hidden; background-image: radial-gradient(rgba(237,238,240,.13) 1px, transparent 1px); background-size: 24px 24px; }
.scene { position: absolute; inset: 14px 14px 40px; width: calc(100% - 28px); height: calc(100% - 54px); display: block; overflow: visible; }
.cad__cmd { position: absolute; inset-inline: 0; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); background: rgba(16,19,24,.92); font: 400 12px/1.3 var(--mono); color: var(--faint); white-space: nowrap; overflow: hidden; }
.cad__cmd b { font-weight: 400; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cad__cmd b::after { content: ""; display: inline-block; width: 7px; height: 13px; margin-inline-start: 4px; background: var(--muted); vertical-align: -2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cad__read { position: absolute; top: 14px; left: 14px; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--red); background: rgba(255,91,46,.12); padding: 7px 9px; opacity: 0; transform: translateY(-4px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cad__read.is-on { opacity: 1; transform: none; }

/* Scene linework */
.scene .w { fill: none; stroke: #d7dbe0; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.scene .d { fill: none; stroke: var(--l-door); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.scene .g { fill: none; stroke: var(--l-win); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.scene .t { font: 400 13px var(--sans); fill: #d7dbe0; text-anchor: middle; letter-spacing: .04em; }
.scene .new { opacity: 0; }
.scene .new.is-ghost { opacity: .9; stroke: var(--red); stroke-dasharray: 4 4; }
.scene text.new.is-ghost { fill: var(--red); opacity: .6; stroke: none; }
.scene .new.is-draw { opacity: 1; stroke: var(--red); stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw .55s var(--ease-io) forwards; }
.scene text.new.is-draw { stroke: none; fill: var(--red); animation: none; }
.scene .new.is-set { opacity: 1; transition: stroke .9s var(--ease), fill .9s var(--ease); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.scene .old.is-cut { opacity: 0; transition: opacity .3s; }
.scene .grip { fill: var(--model); stroke: var(--red); stroke-width: 1; opacity: 0; transition: opacity .25s; }
.scene .grip.is-on { opacity: 1; }
.scene .scan { stroke: var(--red); stroke-width: 1; opacity: 0; }
.scene .scan.is-on { opacity: .9; animation: scan 1s var(--ease-io) forwards; }
@keyframes scan { from { transform: translateX(0); } to { transform: translateX(var(--scan-to)); opacity: 0; } }
.scene .ucs { stroke: var(--faint); stroke-width: 1; fill: none; }
.scene .ucs-t { font: 400 9px var(--mono); fill: var(--faint); }
.scene .xh { stroke: rgba(237,238,240,.55); stroke-width: 1; fill: none; transition: transform .5s var(--ease); }

/* Palette */
.pal { display: flex; flex-direction: column; min-height: 0; background: var(--ink-2); }
.pal__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 400 11px/1.3 var(--mono); letter-spacing: .06em; color: var(--faint); }
.pal__title { color: var(--text); }
.pal__conn { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.pal__conn i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pal__mode { border: 1px solid var(--line-2); padding: 3px 6px; color: var(--muted); }
html[lang="he"] .pal__head, html[lang="he"] .phases, html[lang="he"] .cad__note { letter-spacing: 0; font-family: var(--sans); font-size: 12px; }
.pal__log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
.pal__log > li { animation: in .5s var(--ease) both; flex: none; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.m--user { align-self: flex-end; max-width: 94%; padding: 8px 10px; background: var(--ink-3); border: 1px solid var(--line-2); }
.m--st { font: 400 12px/1.4 var(--mono); color: var(--faint); display: flex; gap: 8px; align-items: center; }
.m--st::before { content: ""; width: 6px; height: 6px; background: var(--red); flex: none; }
.m--st.is-done::before { background: transparent; border: 1px solid var(--faint); }
.m--ok { font: 400 12px/1.4 var(--mono); color: var(--ok); display: flex; gap: 8px; align-items: center; }
.m--ok::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--ok); flex: none; }
.m--ai { color: var(--text); padding-block: 2px; }
.m--ai small { display: block; margin-top: 6px; font: 400 11px/1.4 var(--mono); color: var(--faint); }
.m--card { border: 1px solid var(--red); background: rgba(255,91,46,.05); }
.m--card.is-ok { border-color: rgba(127,209,164,.5); background: transparent; }
.card__h { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); font: 500 12px/1.3 var(--mono); }
.card__h span { color: var(--faint); font-weight: 400; }
.card__l { padding: 8px 10px; font: 400 11px/1.55 var(--mono); color: var(--muted); direction: ltr; text-align: left; }
.card__l li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__a { display: flex; gap: 6px; padding: 0 10px 10px; }
.card__a .btn { transition: transform .12s, background .2s; }
.card__a .btn.is-press { transform: scale(.94); background: #ff7650; }
.m--card.is-ok .card__a { display: none; }
.pal__in { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px 12px; padding: 8px 8px 8px 10px; min-height: 62px; border: 1px solid var(--line-2); background: var(--model); }
.pal__typed { flex: 1; font-size: 13px; line-height: 1.4; min-height: 2.8em; color: var(--text); }
.pal__typed:empty::before { content: attr(data-ph); color: var(--faint); }
.pal__typed.is-typing::after { content: ""; display: inline-block; width: 1px; height: 1.05em; background: var(--red); margin-inline-start: 1px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.pal__send { font: 500 12px/1 var(--sans); padding: 8px 10px; background: var(--ink-3); border: 1px solid var(--line-2); color: var(--muted); transition: background .2s, color .2s; }
.pal__send.is-hot { background: var(--red); border-color: var(--red); color: var(--ink); }

.cad__foot { border-top: 1px solid var(--line-2); justify-content: space-between; }
.phases { display: flex; gap: 4px; flex-wrap: wrap; }
.phases span { padding: 5px 9px; border: 1px solid var(--line); color: var(--faint); text-transform: uppercase; transition: border-color .4s var(--ease), color .4s var(--ease), background .4s var(--ease); }
.phases span.is-on { border-color: var(--red); color: var(--text); background: var(--red-soft); }
.phases span.is-done { color: var(--muted); }
.cad__note { color: var(--faint); text-align: end; }
.ptr { position: absolute; top: 0; left: 0; width: 20px; height: 20px; z-index: 3; pointer-events: none; fill: var(--text); stroke: var(--ink); stroke-width: 1.2; opacity: 0; transition: transform .75s var(--ease-io), opacity .3s; filter: drop-shadow(0 3px 4px rgba(0,0,0,.6)); }
.ptr.is-on { opacity: 1; }

/* Built-from strip */
.built { margin-top: var(--s5); display: flex; flex-direction: column; gap: 22px; }
.built__label, .wall__label { font: 400 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
html[lang="he"] .built__label, html[lang="he"] .wall__label { font-family: var(--sans); letter-spacing: 0; font-size: 14px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.logos img, .wall__grid img { height: 28px; width: auto; filter: grayscale(1) invert(1) contrast(1.4); mix-blend-mode: screen; opacity: .72; transition: opacity .3s; }
.logos img:hover { opacity: 1; }

/* ---------------------------------------------------------------- Hosts */
.hosts { margin-top: var(--s5); }
.hosts__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.host { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 4px 22px 44px; border-inline-start: 1px solid var(--line-2); }
.host[data-s="soon"] { border-inline-start-style: dashed; }
.host::after { content: ""; position: absolute; bottom: -4px; inset-inline-start: -4px; width: 7px; height: 7px; background: var(--ok); z-index: 1; }
.host[data-s="early"]::after { background: var(--wait); }
.host[data-s="soon"]::after { background: var(--ink); border: 1px solid var(--faint); }
.host__s { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ok); margin-bottom: 10px; }
.host__s i { width: 7px; height: 7px; background: currentColor; }
.host[data-s="early"] .host__s { color: var(--wait); }
.host[data-s="soon"] .host__s { color: var(--faint); }
.host[data-s="soon"] .host__s i { background: none; border: 1px solid currentColor; }
html[lang="he"] .host__s { letter-spacing: 0; font-family: var(--sans); font-size: 13px; }
.host h3 { font-size: clamp(1.4rem, 1.85vw, 1.75rem); line-height: 1.12; }
.host[data-s="soon"] h3 { color: var(--muted); }
.host__v { font: 400 12px/1.5 var(--mono); color: var(--faint); }
.host__d { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-top: 6px; flex: 1; }
.host__a { align-self: flex-start; margin-top: 10px; font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.host__a:hover { border-color: var(--text); }
.host[data-s="live"] .host__a { color: var(--red); border-color: var(--red); }
.engine { display: flex; align-items: center; gap: var(--s3); padding: 16px 22px; border: 1px solid var(--line-2); background: var(--ink-2); }
.engine__name { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
html[lang="he"] .engine__name { letter-spacing: 0; font-family: var(--sans); font-size: 15px; }
.engine ul { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-inline-start: auto; }
.engine li { font: 400 12px/1 var(--mono); padding: 8px 10px; border: 1px solid var(--line-2); color: var(--muted); }
html[lang="he"] .engine li { font-family: var(--sans); font-size: 13px; }

/* ---------------------------------------------------------- Capabilities */
.cap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 84px); border-top: 1px solid var(--line-2); }
.cap:first-of-type { margin-top: var(--s5); }
.cap--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cap--flip .cap__copy { order: 2; }
.cap:last-of-type { padding-bottom: 0; }
.cap__copy { display: flex; flex-direction: column; gap: var(--s2); }
.cap__copy h3 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); line-height: 1.12; max-width: 18ch; }
.cap__copy p { color: var(--muted); max-width: 50ch; font-size: 1.0625rem; }
.cap__copy .cap__st { font-size: 14px; line-height: 1.55; color: var(--faint); padding-top: var(--s2); margin-top: 4px; border-top: 1px solid var(--line); }

.viz { background: var(--ink-2); border: 1px solid var(--line-2); min-width: 0; }
.viz__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line-2); font: 400 11px/1.3 var(--mono); letter-spacing: .05em; color: var(--faint); min-height: 40px; }
.viz__name { color: var(--text); text-transform: uppercase; letter-spacing: .08em; }
html[lang="he"] .viz__bar { font-family: var(--sans); letter-spacing: 0; font-size: 12.5px; }
html[lang="he"] .viz__name { letter-spacing: 0; }
.viz__note { text-align: end; }

/* 1 read */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.seg button { background: none; border: 1px solid var(--line); color: var(--faint); padding: 6px 10px; font: 400 12px/1.2 var(--sans); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; border-radius: 2px; transition: border-color .3s, color .3s, background .3s; }
.seg button i { font: 400 11px/1 var(--mono); font-style: normal; letter-spacing: .06em; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { border-color: var(--red); color: var(--text); background: var(--red-soft); }
.read__body { display: grid; grid-template-columns: minmax(0, 1fr) 210px; }
.read__stage { padding: 18px; border-inline-end: 1px solid var(--line); background: var(--model); display: grid; place-items: center; min-height: 250px; }
.read__plan { width: 100%; height: auto; display: block; }
.read__plan .paper { fill: #e9e6df; opacity: 0; transition: opacity .5s var(--ease); }
.read__plan .ln { fill: none; stroke-width: 1.2; transition: stroke .5s var(--ease), stroke-width .5s var(--ease); }
.read__plan .lb { font: 400 8px var(--sans); text-anchor: middle; letter-spacing: .04em; transition: fill .5s, opacity .5s; }
.read__plan[data-k="0"] .lw, .read__plan[data-k="0"] .lb { stroke: #d7dbe0; }
.read__plan[data-k="0"] .lb { stroke: none; fill: #d7dbe0; }
.read__plan[data-k="0"] .ld { stroke: var(--l-door); }
.read__plan[data-k="0"] .lg { stroke: var(--l-win); }
.read__plan[data-k="1"] .ln { stroke: #8d949e; stroke-width: 1; }
.read__plan[data-k="1"] .lb { fill: #8d949e; }
.read__plan[data-k="2"] .paper { opacity: 1; }
.read__plan[data-k="2"] .ln { stroke: #23272e; stroke-width: .8; }
.read__plan[data-k="2"] .lb { fill: #23272e; }
.read__plan .rm { fill: var(--red); fill-opacity: .14; stroke: var(--red); stroke-width: 1; }
.read__plan[data-k="2"] .rm { fill-opacity: .2; }
.read__plan .rm.is-pulse { animation: reread .9s var(--ease) both; }
@keyframes reread { 0% { fill-opacity: 0; stroke-opacity: 0; } 100% { stroke-opacity: 1; } }
.read__plan .ra { font: 500 9px var(--mono); fill: var(--red); text-anchor: middle; }
.read__plan[data-k="2"] .ra { fill: #c2370f; }
.digest { margin: 0; display: flex; flex-direction: column; }
.digest div { padding: 12px 14px; border-bottom: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.digest div:last-child { border-bottom: 0; }
.digest dt { font: 400 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
html[lang="he"] .digest dt { font-family: var(--sans); letter-spacing: 0; font-size: 12.5px; }
.digest dd { margin: 0; font-size: 15px; color: var(--text); }
.digest dd.num { font-size: 14px; }
.digest.is-pulse dd { animation: tick .9s var(--ease); }
@keyframes tick { 0% { color: var(--red); } 100% { color: var(--text); } }

/* 2 code */
.viz-code { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.code__src { border-inline-end: 1px solid var(--line-2); min-width: 0; text-align: left; }
.code { margin: 0; padding: 16px 14px; font: 400 12px/1.65 var(--mono); color: var(--muted); overflow-x: auto; tab-size: 4; }
.code .k { color: var(--faint); }
.code .s { color: var(--text); }
.code mark { background: var(--red-soft); color: var(--text); box-shadow: 0 0 0 3px var(--red-soft); }
.code__out { display: flex; flex-direction: column; min-width: 0; }
.code__see, .code__land { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.code__see { border-bottom: 1px solid var(--line-2); }
.code__see > span, .code__land > span:first-child { font: 400 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
html[lang="he"] .code__see > span, html[lang="he"] .code__land > span:first-child { font-family: var(--sans); letter-spacing: 0; font-size: 12.5px; }
.code__see code { font: 500 clamp(15px, 1.5vw, 19px)/1.3 var(--mono); color: var(--red); background: var(--red-soft); padding: 12px 14px; align-self: flex-start; white-space: nowrap; }
.code__land { flex: 1; }
#dots { width: 100%; height: auto; background: var(--model); border: 1px solid var(--line); }
#dots circle { fill: none; stroke: #d7dbe0; stroke-width: .7; opacity: 0; transition: opacity .35s var(--ease); }
#dots rect { fill: none; stroke: var(--faint); stroke-width: .8; }
.viz-code.is-on #dots circle { opacity: 1; }
.code__n { font-size: 11px; letter-spacing: .06em; color: var(--muted); }

/* 3 brain */
.viz-brain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.brain__col + .brain__col { border-inline-start: 1px solid var(--line-2); }
.brain__in { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.msg { font-size: 14px; line-height: 1.45; padding: 9px 11px; max-width: 100%; }
.msg--user { background: var(--ink-3); border: 1px solid var(--line-2); align-self: flex-end; }
.msg--ok { border: 1px solid rgba(127,209,164,.4); color: var(--ok); }
.tool { font: 400 12px/1.4 var(--mono); color: var(--faint); display: flex; gap: 8px; align-items: center; }
.tool::before { content: ""; width: 6px; height: 6px; background: var(--red); }
.brain__block { margin: 0; width: 100%; padding: 11px 12px; font: 400 12px/1.6 var(--mono); color: var(--muted); background: var(--model); border: 1px solid var(--line); white-space: pre-wrap; text-align: left; position: relative; }
.brain__block b { color: var(--red); font-weight: 500; }
.brain__draw { position: relative; width: 100%; background: var(--model); border: 1px solid var(--line); padding: 8px 8px 4px; }
.brain__draw svg { width: 100%; height: auto; display: block; }
.brain__draw line { stroke: var(--red); stroke-width: 1; stroke-dasharray: 9 3 2 3; }
.brain__draw circle { fill: var(--model); stroke: var(--red); stroke-width: 1; }
.brain__draw text { font: 500 10px var(--mono); fill: var(--red); text-anchor: middle; }
.brain__draw .dimt { fill: var(--faint); font-weight: 400; font-size: 8.5px; }
.lchip { position: absolute; bottom: 8px; right: 8px; font: 500 11px/1 var(--mono); letter-spacing: .06em; padding: 5px 7px; color: var(--red); background: var(--red-soft); }
.viz-brain .brain__col--next .brain__in > * { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv-ready .viz-brain:not(.is-on) .brain__col--next .brain__in > * { opacity: 0; transform: translateY(8px); }
.viz-brain.is-on .brain__col--next .brain__in > :nth-child(2) { transition-delay: .5s; }
.viz-brain.is-on .brain__col--next .brain__in > :nth-child(3) { transition-delay: 1s; }

/* 4 review */
.viz-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.rvw { border-inline-end: 1px solid var(--line-2); display: flex; flex-direction: column; }
.rvw__list { padding: 12px 14px; font: 400 12px/1.7 var(--mono); color: var(--muted); text-align: left; }
.rvw__list li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rvw__note { margin: auto 14px 0; padding: 9px 10px; border: 1px solid var(--line-2); background: var(--model); color: var(--faint); font-size: 12.5px; }
.rvw__act { display: flex; gap: 6px; padding: 12px 14px 14px; }
.rvw__act .btn { cursor: default; }
.ledger { width: 100%; border-collapse: collapse; font-size: 13px; }
.ledger th { text-align: start; font: 400 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 10px 14px 8px; border-bottom: 1px solid var(--line-2); }
html[lang="he"] .ledger th { font-family: var(--sans); letter-spacing: 0; font-size: 12.5px; }
.ledger td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: start; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td.num { color: var(--faint); font-size: 12px; }
.ledger td:nth-child(2) { white-space: nowrap; }
.ledger td:last-child { font: 400 12px/1.6 var(--mono); color: var(--muted); }
.ledger .ok { color: var(--ok); }
.ledger .no { color: var(--wait); }

/* 5 key */
.viz-key { display: flex; flex-direction: column; }
.key__flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, .6fr) minmax(0, 1fr); align-items: stretch; padding: 18px 16px 14px; gap: 0 0; border-bottom: 1px solid var(--line-2); }
.key__node { border: 1px solid var(--line-2); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; background: var(--ink); }
.key__node span { font: 400 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
html[lang="he"] .key__node span, html[lang="he"] .key__pipe span, html[lang="he"] .key__split h4 { font-family: var(--sans); letter-spacing: 0; font-size: 12.5px; }
.key__node b { font-weight: 400; font-size: 15px; }
.key__node--prov { border-color: var(--red); }
.key__pipe { position: relative; display: grid; place-items: center; }
.key__pipe i { position: absolute; inset-inline: 0; top: 50%; height: 1px; background: var(--line-2); }
.key__pipe i::after { content: ""; position: absolute; inset-inline-end: 0; top: -3px; width: 7px; height: 7px; background: var(--red); }
.key__pipe span { position: relative; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); background: var(--ink-2); padding: 0 8px; transform: translateY(-11px); }
.key__bill { grid-column: 1 / -1; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.key__split { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-2); }
.key__split > div { padding: 14px 16px 16px; }
.key__split > div + div { border-inline-start: 1px solid var(--line-2); }
.key__split h4 { font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.key__split li { font-size: 14px; padding: 7px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: baseline; }
.key__split li::before { content: ""; width: 6px; height: 6px; flex: none; border: 1px solid var(--ok); transform: translateY(-1px); }
.key__split > div + div li::before { border-color: var(--red); background: var(--red); }
.key__line { padding: 12px 16px; font: 400 12px/1.6 var(--mono); color: var(--faint); text-align: left; }
.key__line b { color: var(--text); font-weight: 400; }

/* --------------------------------------------------------------- Skills */
.skills { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-inline-start: 1px solid var(--line-2); }
.skill { border-inline-end: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--ink); padding: 20px 22px 26px; display: flex; flex-direction: column; gap: 12px; }
.skill__d { width: 100%; height: auto; background: var(--ink-2); border: 1px solid var(--line); direction: ltr; margin-bottom: 6px; }
.skill__d .a { fill: none; stroke: #c9ced5; stroke-width: 1; }
.skill__d .b { fill: none; stroke: #6f7680; stroke-width: 1; }
.skill__d .r { fill: none; stroke: var(--red); stroke-width: 1.2; }
.skill__d .rf { fill: var(--red-soft); stroke: var(--red); stroke-width: 1; }
.skill__d .f { fill: rgba(237,238,240,.07); stroke: #c9ced5; stroke-width: 1; }
.skill__d .hx { fill: url(#waste); stroke: #6f7680; stroke-width: .8; }
.skill__d text { font: 400 8px var(--mono); fill: var(--faint); }
.skill__d text.tr { fill: var(--red); }
.skill__d text.tw { fill: #c9ced5; }
.skill__t { display: flex; flex-direction: column; gap: 6px; }
.skill h3 { font-size: 1.3rem; font-weight: 400; line-height: 1.2; }
.skill__s { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); display: inline-flex; gap: 8px; align-items: center; }
.skill__s::before { content: ""; width: 6px; height: 6px; border: 1px solid currentColor; flex: none; }
.skill[data-s="live"] .skill__s { color: var(--ok); }
.skill[data-s="live"] .skill__s::before { background: currentColor; }
html[lang="he"] .skill__s { font-family: var(--sans); letter-spacing: 0; font-size: 13px; }
.skill p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ------------------------------------------- Built, not live yet (#new) */
/* Status scale used on the whole page: live = green (available), early = amber,
   built = blue (built, not released; solid square when also tested), soon = faint outline. */
:root { --built: #8fb2ff; }
.host[data-s="built"] { border-inline-start-style: dashed; }
.host[data-s="built"]::after { background: var(--built); }
.host[data-s="built"] .host__s { color: var(--built); }
.host[data-s="built"] .host__s i { background: none; border: 1px solid currentColor; box-shadow: inset 0 -3px 0 currentColor; }
.skill[data-s="built"] .skill__s { color: var(--built); }
.skill[data-s="built"] .skill__s::before { box-shadow: inset 0 -3px 0 currentColor; }

.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.badge i { width: 7px; height: 7px; flex: none; border: 1px solid currentColor; }
[data-s="tested"] > .badge, [data-s="tested"] .cap__copy > .badge { color: var(--built); }
[data-s="tested"] > .badge i, [data-s="tested"] .cap__copy > .badge i { background: currentColor; }
[data-s="built"] > .badge { color: var(--built); }
[data-s="built"] > .badge i { box-shadow: inset 0 -3px 0 currentColor; }
html[lang="he"] .badge { font-family: var(--sans); letter-spacing: 0; font-size: 13px; }

.feat .cap__copy h3 { max-width: 20ch; }
.shot { margin: 0; min-width: 0; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .8); }
.shot img { width: 100%; height: auto; aspect-ratio: 1200 / 750; background: var(--model); }
.shot figcaption { padding: 9px 14px; border-top: 1px solid var(--line-2); font: 400 11px/1.4 var(--mono); letter-spacing: .05em; color: var(--faint); }
html[lang="he"] .shot figcaption { font-family: var(--sans); letter-spacing: 0; font-size: 12.5px; }

.more { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.more__i { display: flex; flex-direction: column; gap: 10px; padding: 28px clamp(0px, 3vw, 40px) 32px 0; border-bottom: 1px solid var(--line); }
.more__i:nth-child(even) { padding-inline: clamp(20px, 3vw, 40px) 0; border-inline-start: 1px solid var(--line); }
.more__i:nth-child(odd) { padding-inline: 0 clamp(20px, 3vw, 40px); }
.more__i h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); font-weight: 400; line-height: 1.2; margin-top: 4px; }
.more__i p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 58ch; }
.more__i .more__st { color: var(--faint); font-size: 14px; }
.more__i[data-s="soon"] h3 { color: var(--muted); }

/* ---------------------------------------------------------------- Films */
.film-hero { margin-top: var(--s5); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); border: 1px solid var(--line-2); background: var(--ink-2); }
.film-hero__v { border-inline-end: 1px solid var(--line-2); background: #000; display: grid; }
.film-hero__v video { width: 100%; height: auto; aspect-ratio: 1920 / 1228; }
.chapters { display: flex; flex-direction: column; }
.chapters li { flex: 1; border-bottom: 1px solid var(--line); display: flex; }
.chapters li:last-child { border-bottom: 0; }
.chapters button { flex: 1; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: baseline; text-align: start; background: none; border: 0; padding: 10px 16px; cursor: pointer; font-size: 14px; line-height: 1.4; color: var(--muted); transition: background .2s, color .2s; }
.chapters button .num { font-size: 12px; color: var(--faint); }
.chapters button:hover { color: var(--text); background: rgba(237,238,240,.03); }
.chapters button.is-on { color: var(--text); background: var(--red-soft); }
.chapters button.is-on .num { color: var(--red); }
.films-more { margin-top: var(--s5); }
.films-more .h3 { margin-top: var(--s5); }
.films-more .h3:first-child { margin-top: 0; }
.films-more__p { color: var(--muted); margin-top: 10px; max-width: 60ch; }
.films-co { margin-top: var(--s3); display: grid; grid-template-columns: minmax(0, 16fr) minmax(0, 9fr); gap: 16px; align-items: start; }
.film { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.film video { width: 100%; height: auto; background: var(--ink-2); border: 1px solid var(--line-2); }
.film--wide video { aspect-ratio: 16 / 9; }
.film--sq video { aspect-ratio: 1; }
.film figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.film figcaption b { font-weight: 400; color: var(--text); }
.film figcaption span { font: 400 11px/1.6 var(--mono); color: var(--faint); white-space: nowrap; }
html[lang="he"] .film figcaption span { font-family: var(--sans); font-size: 12.5px; }
.slates { margin-top: var(--s3); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); border-top: 1px solid var(--line-2); }
.slates li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.slates li::before { content: ""; grid-row: 1 / span 2; aspect-ratio: 16 / 9; border: 1px dashed var(--line-2); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(237,238,240,.06) 6px 7px); }
.slates li::after { content: "Not recorded yet"; grid-column: 3; grid-row: 1 / span 2; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
html[lang="he"] .slates li::after { content: "טרם צולם"; font-family: var(--sans); letter-spacing: 0; font-size: 13px; }
.slates b { grid-column: 2; font-weight: 400; font-size: 15px; line-height: 1.3; }
.slates span { grid-column: 2; font-size: 13px; color: var(--faint); line-height: 1.3; }

/* ---------------------------------------------------------------- Proof */
.proof__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.proof__top .sub { margin-top: 0; }
.tb { width: 100%; border-collapse: collapse; margin-top: var(--s5); border-top: 1px solid var(--line-2); }
.tb th { text-align: start; font-weight: 400; color: var(--muted); padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.tb td { text-align: end; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 300; font-family: var(--sans); letter-spacing: -0.02em; white-space: nowrap; }
.wall { margin-top: var(--s5); }
.wall__label { max-width: none; }
.wall__grid { margin-top: var(--s2); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-inline-start: 1px solid var(--line-2); }
.wall__grid li { border-inline-end: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 22px 14px 14px; display: flex; flex-direction: column; align-items: center; gap: 16px; background: var(--ink); min-height: 126px; justify-content: space-between; }
.wall__grid img { height: 38px; max-width: 100%; object-fit: contain; opacity: .85; }
.wall__grid span { font-size: 12.5px; line-height: 1.3; color: var(--faint); text-align: center; }
.pressb { margin-top: var(--s5); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); }
.press { border-top: 1px solid var(--line-2); }
.press a { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: color .2s; }
.press a:hover { color: var(--red); }
.press__o { font: 400 12px/1.6 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }

/* ------------------------------------------------------------ Get started */
.start { margin-top: clamp(100px, 12vw, 170px); border-top: 1px solid var(--line-2); padding-block: clamp(72px, 9vw, 130px); background: radial-gradient(120% 70% at 50% 115%, rgba(255,91,46,.16), transparent 60%); }
.steps { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.steps li { position: relative; padding: 24px 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
[dir="rtl"] .steps li { padding: 24px 0 0 28px; }
.steps li::before { content: ""; position: absolute; top: -4px; inset-inline-start: 0; width: 7px; height: 7px; background: var(--red); }
.steps__n { font-size: 12px; color: var(--faint); letter-spacing: .1em; }
.steps h3 { font-size: 1.5rem; font-weight: 400; }
.steps p { color: var(--muted); font-size: 15px; max-width: 40ch; }
.get { margin-top: var(--s5); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line-2); background: var(--ink); }
.get > * { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; }
.get__notify { border-inline-start: 1px solid var(--line-2); margin: 0; }
.get__notify > p { color: var(--muted); max-width: 46ch; margin-top: -10px; }
.get__meta { margin: 0; width: 100%; border-top: 1px solid var(--line-2); }
.get__meta div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.get__meta dt { font: 400 11px/1.9 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
html[lang="he"] .get__meta dt { font-family: var(--sans); letter-spacing: 0; font-size: 13px; }
.get__meta dd { margin: 0; color: var(--text); }
.get__meta dd[dir="ltr"] { font-family: var(--mono); font-size: 13px; text-align: start; }
[dir="rtl"] .get__meta dd[dir="ltr"] { text-align: right; }
.get__all { font-size: 14px; color: var(--muted); }
.get__all:hover { color: var(--text); }
.hostpick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hostpick label { position: relative; cursor: pointer; }
.hostpick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.hostpick span { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); border-radius: 2px; transition: border-color .2s, color .2s, background .2s; }
.hostpick span::before { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; flex: none; transition: background .2s; }
.hostpick label:hover span { color: var(--text); }
.hostpick input:checked + span { border-color: var(--red); color: var(--text); background: var(--red-soft); }
.hostpick input:checked + span::before { background: var(--red); border-color: var(--red); }
.hostpick input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.field { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; color: var(--muted); }
.field__row { display: flex; gap: 8px; }
.field input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; background: var(--model); border: 1px solid var(--line-2); border-radius: 2px; font-size: 15px; transition: border-color .2s; }
[dir="rtl"] .field input { text-align: right; }
.field input::placeholder { color: var(--faint); opacity: 1; }
.field input:hover { border-color: var(--muted); }
.field input:focus-visible { outline: none; border-color: var(--red); }
.field input[aria-invalid="true"] { border-color: var(--wait); }
.get__msg { font-size: 14px; color: var(--muted); min-height: 1.6em; margin-top: -8px; }
.get__msg.is-err { color: var(--wait); }
.get__msg.is-ok { color: var(--ok); }

/* --------------------------------------------------------------- Footer */
.foot { border-top: 1px solid var(--line-2); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); }
.foot__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: var(--s4); padding-block: var(--s5) var(--s4); font-size: 14px; color: var(--muted); }
.foot__brand img { height: 20px; width: auto; }
.foot__brand p { margin-top: 14px; max-width: 34ch; }
.foot__contact li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.foot__contact li > span { color: var(--faint); font-size: 13px; }
.foot__contact a { font: 400 13px/1.7 var(--mono); color: var(--text); text-decoration: none; }
[dir="rtl"] .foot__contact a { text-align: right; }
.foot__contact a:hover, .foot__links a:hover { color: var(--red); }
.foot__links li { padding: 7px 0; }
.foot__links a { text-decoration: none; color: var(--text); }
.foot__legal { grid-column: 1 / -1; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); max-width: 110ch; }

/* Hebrew: IBM Plex Mono has no Hebrew glyphs, so labels that carry Hebrew text use the sans. */
html[lang="he"] .hero__meta, html[lang="he"] .host__v, html[lang="he"] .m--st, html[lang="he"] .m--ok,
html[lang="he"] .m--ai small, html[lang="he"] .card__h, html[lang="he"] .tool, html[lang="he"] .press__o { font-family: var(--sans); letter-spacing: 0; font-size: 12.5px; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .top__end { margin-inline-start: auto; }
  .hosts__row { grid-template-columns: 1fr; }
  .host { padding: 4px 0 30px 22px; padding-inline: 22px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 4px 28px; align-items: start; }
  .host__s { grid-column: 1; margin-bottom: 2px; }
  .host h3 { grid-column: 1; }
  .host__v { grid-column: 1; }
  .host__d { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; align-self: center; }
  .host__a { grid-column: 3; grid-row: 1 / span 3; margin-top: 0; align-self: center; }
  .host::after { bottom: auto; top: 6px; }
  .host:last-child { padding-bottom: 26px; }
  .engine { flex-direction: column; align-items: flex-start; gap: 14px; }
  .engine ul { margin-inline-start: 0; }
  .cap, .cap--flip { grid-template-columns: minmax(0, 1fr); }
  .cap--flip .cap__copy { order: 0; }
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-hero { grid-template-columns: 1fr; }
  .film-hero__v { border-inline-end: 0; border-bottom: 1px solid var(--line-2); }
  .chapters { display: grid; grid-template-columns: 1fr 1fr; }
  .chapters li { border-bottom: 1px solid var(--line); }
  .proof__top, .pressb { grid-template-columns: 1fr; }
  .proof__top .sub { margin-top: 0; }
  .wall__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__head { grid-template-columns: 1fr; align-items: start; }
  .cad__body { grid-template-columns: 1fr; height: auto; }
  .cad__canvas { border-inline-end: 0; border-bottom: 1px solid var(--line-2); aspect-ratio: 680 / 400; }
  .pal { height: 330px; }
  .cad__layers { display: none; }
  .cad__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cad__note { text-align: start; }
  .logos { justify-content: flex-start; gap: 18px 30px; }
  .get { grid-template-columns: 1fr; }
  .get__notify { border-inline-start: 0; border-top: 1px solid var(--line-2); }
  .slates { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .steps li { border-top: 1px solid var(--line-2); padding-bottom: 28px; }
}
@media (max-width: 720px) {
  .top__end .btn { display: none; }
  .brand img { height: 18px; }
  .hero { padding-top: 22px; }
  .display { font-size: 2.3rem; }
  .lead { font-size: 1rem; }
  .hero__side { gap: 16px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .logos { gap: 16px 26px; }
  .logos img { height: 24px; }
  .host { grid-template-columns: 1fr; padding-bottom: 28px; }
  .host__d, .host__a { grid-column: 1; grid-row: auto; align-self: start; }
  .host__d { margin-top: 6px; }
  .read__body { grid-template-columns: 1fr; }
  .read__stage { border-inline-end: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 12px; }
  .digest { display: grid; grid-template-columns: 1fr 1fr; }
  .digest div:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .digest div:nth-last-child(-n+2) { border-bottom: 0; }
  .viz-read .viz__bar { flex-direction: column; align-items: flex-start; }
  .viz-code, .viz-brain, .viz-review { grid-template-columns: minmax(0, 1fr); }
  .trail { overflow-x: auto; }
  .code__src, .rvw { border-inline-end: 0; border-bottom: 1px solid var(--line-2); }
  .brain__col + .brain__col { border-inline-start: 0; border-top: 1px solid var(--line-2); }
  .code__out { flex-direction: column; }
  .ledger th:first-child, .ledger td:first-child { display: none; }
  .key__flow { grid-template-columns: 1fr; }
  .key__pipe { height: 34px; }
  .key__pipe i { inset-inline: auto; inset-inline-start: 22px; top: 0; bottom: 0; width: 1px; height: auto; }
  .key__pipe i::after { inset-inline-end: -3px; top: auto; bottom: 0; }
  .key__pipe span { transform: none; justify-self: start; margin-inline-start: 38px; background: none; padding: 0; }
  .key__split { grid-template-columns: 1fr; }
  .key__split > div + div { border-inline-start: 0; border-top: 1px solid var(--line-2); }
  .skills { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .films-co { grid-template-columns: 1fr; }
  .film figcaption { flex-direction: column; gap: 2px; }
  .wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press a { grid-template-columns: 1fr; gap: 4px; }
  .tb th { font-size: 1rem; padding-inline-end: 12px; }
  .field__row { flex-direction: column; }
  .get__meta div { grid-template-columns: 92px 1fr; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .more { grid-template-columns: 1fr; }
  .more__i, .more__i:nth-child(odd), .more__i:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
}
/* Motion off: the OS setting, or ?motion=off. `none`, not a near-zero duration: a tiny duration
   still makes every property a transition, and flipping dir then animates border widths. */
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
