/* page CSS: the Co Sketch screens drawn as live HTML, the team pages, and the Hebrew (RTL) fixes */
.nav__logo svg { width: 28px; height: 28px; flex: none; }
.cs-svg { display: block; width: 100%; height: 100%; }
.cs { font: 400 13px/1.35 var(--font-text); color: #0f1a24; }
.cs b { font-weight: 500; }
.cs-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid #cfd8e0; border-radius: 6px; background: #fff; white-space: nowrap; }
.cs-chip.is-on { background: #0b5c8a; border-color: #0b5c8a; color: #fff; }
.cs-sw { width: 12px; height: 12px; border-radius: 3px; border: 1px solid #0f1a24; flex: none; }
.cs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #e3e9ee; }
.cs-row > span:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cs-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.cs-muted { color: #4d5b68; }

/* the hero's button keeps the one button height of the page (one action, one look) */
.hero--triptych .hero__words .hero__cta { justify-content: flex-start; margin-top: var(--s-6); }
.hero--triptych .hero__cta .btn { height: var(--btn-h); font-size: var(--t-body); padding-inline: var(--s-5); }
/* the client's review: the product UI large, the button under the words (the kit's tablet order, from 1024 up) */
@media (min-width: 1024px) {
  .hero--triptych .hero__grid > .hero__words { grid-column: 1 / span 5; align-self: start; }
  .hero--triptych .ly-collage { grid-column: 7 / span 6; }
}
.close__word { font-size: calc(min(100vw - 2 * var(--gut), 1280px) * 0.215); line-height: 1.05; }
/* the collage pieces: sized in % of the collage, text in container units with a 13px floor */
.ly-collage { container-type: inline-size; }
.ly-collage .ly-piece { background: #fff; box-shadow: 0 1px 2px rgb(15 26 36 / .1), 0 22px 48px -22px rgb(15 26 36 / .38); }
.ly-collage .pc-pad { padding: 3cqw 3.4cqw; display: grid; align-content: start; gap: 1.4cqw; font-size: max(13px, 2cqw); }
.pc-pad .cs-row { padding: 1.2cqw 0; }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.pc-field { display: flex; align-items: center; justify-content: space-between; border: 1px solid #cfd8e0; border-radius: 1.2cqw; padding: 1.4cqw 1.8cqw; }
.pc-levels { display: flex; flex-wrap: wrap; gap: 1.4cqw; }
.pc-doc { padding: 4cqw 4cqw 6cqw; display: grid; align-content: start; gap: 1.2cqw; font-size: max(13px, 1.9cqw); }
.pc-doc h4 { margin: 0; font: 500 max(16px, 3.4cqw)/1.1 var(--font-display); letter-spacing: -0.02em; }
.pc-doc .cs-row.is-total { border-top: 2px solid #0f1a24; font-weight: 500; }
.pc-format { display: grid; gap: 1.2cqw; }
.pc-format > div { display: grid; grid-template-columns: auto 1fr; gap: .2cqw 1.6cqw; align-items: center; border: 1px solid #cfd8e0; border-radius: 1.2cqw; padding: 1.4cqw 1.8cqw; }
.pc-format i { grid-row: span 2; font-style: normal; font: 500 max(13px, 1.8cqw)/1 var(--font-mono); padding: 1cqw 1.2cqw; border-radius: .8cqw; background: #0b5c8a; color: #fff; }
.pc-format i.dxf { background: #e4572e; }
.pc-sheet { padding: 2.4cqw; display: grid; grid-template-rows: auto 1fr; gap: 1.2cqw; font-size: max(13px, 1.7cqw); }
@media (max-width: 639px) { .pc-hide-sm { display: none !important; } }

/* app-frame (sections-library.md, app-frame: the recipe's own page CSS) */
.app.ui { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); overflow: hidden; }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-inline-start: 1px solid var(--u-line); }
.app > .app__pane--list::after { content: ""; position: absolute; inset: auto 0 0 0; height: 96px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app .cs-item:nth-of-type(n+5) { display: none; }
  .app > .app__pane--list::after { display: none; }
  .app > .app__pane + .app__pane { border-inline-start: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}
.cs-list { padding: 16px; display: grid; align-content: start; gap: 4px; }
.cs-list__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; }
.cs-list__head b { font-size: 16px; }
.cs-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 8px; }
.cs-item.is-open { background: #eaf0f5; }
.cs-item svg { width: 56px; height: 36px; border: 1px solid #cfd8e0; border-radius: 4px; background: #fff; }
.cs-item span { min-width: 0; }
.cs-ed { display: grid; grid-template-rows: auto auto minmax(0, 1fr); height: 100%; }
.cs-ed__bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #e3e9ee; }
.cs-ed__bar b { font-size: 15px; }
.cs-ed__tools { display: flex; gap: 6px; padding: 8px 16px; border-bottom: 1px solid #e3e9ee; overflow: hidden; }
.cs-ed__body { display: grid; grid-template-columns: minmax(0, 1fr) 210px; min-height: 0; }
.cs-ed__canvas { position: relative; min-height: 0; background: #f4f6f8; overflow: hidden; }
.cs-ed__canvas .cs-svg { position: absolute; inset: 0; }
.cs-ed__levels { position: absolute; inset-inline-start: 12px; bottom: 12px; display: flex; gap: 6px; }
.cs-ed__counts { border-inline-start: 1px solid #e3e9ee; padding: 12px 14px; display: grid; align-content: start; gap: 2px; }
.cs-ed__counts .t { font-weight: 500; padding: 6px 0 4px; }
@media (max-width: 1279px) { .cs-ed__body { grid-template-columns: minmax(0, 1fr) 180px; } .cs-ed__tools .cs-chip:nth-child(n+6) { display: none; } }
@media (max-width: 639px) { .cs-ed__body { grid-template-columns: minmax(0, 1fr); } .cs-ed__counts, .cs-ed__tools .pc-hide-sm { display: none; } }

/* the four feature panels */
#features .panel { --p-h: 280px; }
@media (min-width: 640px) and (max-width: 1023px) { #features .card { grid-column: 1 / -1; } #features .panel { --p-h: clamp(190px, calc(100vh - 900px), 280px); } }
@media (max-width: 639px) {
  #features .panel { --p-h: 128px; }
  #features .cs-mini { padding: 10px 12px; gap: 6px; }
  #features .stage { --fade-h: 20px; }
  #features .cs-mini > b, .cs-mini--levels > .cs-radio { display: none; }
  .cs-hide-sm { display: none !important; }
  #features .cs-mini--units { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  #features .cs-mini--units .cs-radio { border-top: 0; }
  #features .cs-table :is(th, td) { padding: 3px 0; }
  #features .cs-mini .cs-svg { height: 90px; }
  #features .cs-radio { padding: 4px 0; }
}
.cs-mini { width: min(100%, 440px); padding: 16px; display: grid; gap: 10px; }
.cs-mini .cs-svg { height: 240px; border: 1px solid #e3e9ee; border-radius: 6px; background: #fff; }
.cs-radio { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #e3e9ee; }
.cs-radio i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #6b7c8b; flex: none; }
.cs-radio.is-on i { border: 5px solid #0b5c8a; }
.cs-table { width: 100%; border-collapse: collapse; }
.cs-table th { text-align: start; font-weight: 500; color: #4d5b68; padding: 6px 0; }
.cs-table td { padding: 7px 0; border-top: 1px solid #e3e9ee; }
.cs-table :is(th, td) + :is(th, td) { text-align: end; }

/* the offer on the dark band */
#offers .panel { --p-h: 600px; }
#offers .cs-offer { --u-bg: #fff; background: #fff; color: #0f1a24; }
.cs-offer { width: 100%; padding: 28px; display: grid; gap: 10px; font-size: 14px; }
.cs-offer h4 { margin: 0; font: 500 24px/1.1 var(--font-display); letter-spacing: -0.02em; }
.cs-offer .cs-row.is-total { border-top: 2px solid #0f1a24; font-weight: 500; font-size: 16px; }
.cs-offer .grp { padding-top: 10px; font-weight: 500; color: #4d5b68; }
.cs-files { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px; width: fit-content; max-width: 100%; }
.cs-files > div { display: flex; align-items: center; gap: 10px; padding-block: 8px; padding-inline: 8px 12px; border: 1px solid #cfd8e0; border-radius: 8px; }
.cs-files > div > span { display: grid; }
.cs-files i { font: 500 13px/1 var(--font-mono); font-style: normal; padding: 8px; border-radius: 6px; background: #0b5c8a; color: #fff; }
.cs-files i.dxf { background: #c2410c; }
#questions .q-b .faq > :first-child { padding-top: var(--s-5); }
@media (min-width: 640px) and (max-width: 1023px) {
  #offers .panel { --p-h: clamp(240px, calc(100vh - 480px), 600px); }
  #offers .facts, #offers .link { display: none; }
  #questions .q-text { grid-column: 1 / -1; }
  #questions .faq { grid-column: 1 / -1; }
  .close__word { font-size: calc((100vw - 2 * var(--gut)) * 0.16); }
}
.app .cs-item:nth-of-type(n+9) { display: none; }
@media (max-width: 1279px) { .app .cs-item:nth-of-type(n+6) { display: none; } }
@media (max-width: 380px) { .nav__actions .btn { display: none; } }

@media (max-width: 639px) { #offers .panel { --p-h: 300px; } #offers .facts, #offers .link, .cs-ed__bar .cs-hide-sm { display: none; } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.facts li { padding-top: var(--s-3); border-top: 1px solid var(--line); }

/* live demo motion: the hero plan builds itself, two people edit the editor sketch, the 3D blocks land on scroll */
.cs-who { display: inline-flex; }
.cs-who i { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; margin-inline-start: -6px; border: 2px solid #fff; border-radius: 999px; color: #fff; font: 500 11px/1 var(--font-text); }
.cs-who i:first-child { margin-inline-start: 0; }
@media (prefers-reduced-motion: no-preference) {
  .cs-build .cs-pc { animation: cs-drop .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(500ms + var(--i) * 70ms); }
  .cs-build .cs-sel { animation: cs-fade .4s ease 2.1s both; }
  .mo-js .cs-rise:not(.is-in) .cs-blk { opacity: 0; }
  .cs-rise.is-in .cs-blk { animation: cs-land .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 55ms); }
  .cs-live .cs-cur--a { animation: cs-a 9s ease-in-out infinite; }
  .cs-live .cs-drag { animation: cs-piece 9s ease-in-out infinite; }
  .cs-live .cs-cur--b { animation: cs-b 9s ease-in-out infinite; }
  .cs-live .cs-note { animation: cs-note 9s ease-in-out infinite; }
  .cs-live.is-off * { animation-play-state: paused; }
}
@keyframes cs-drop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes cs-fade { from { opacity: 0; } }
@keyframes cs-land { from { opacity: 0; transform: translateY(-30px); } }
@keyframes cs-a {
  0%, 100% { transform: translate(820px, 500px); }
  18%, 22% { transform: translate(755px, 427px); }
  55%, 70% { transform: translate(665px, 180px); }
  90% { transform: translate(820px, 500px); }
}
@keyframes cs-piece {
  0%, 10% { opacity: 0; transform: translate(90px, 247px); }
  18%, 22% { opacity: 1; transform: translate(90px, 247px); }
  55%, 85% { opacity: 1; transform: translate(0, 0); }
  95%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes cs-b {
  0%, 100% { transform: translate(200px, 300px); }
  25%, 35% { transform: translate(470px, 440px); }
  60% { transform: translate(300px, 150px); }
  85% { transform: translate(150px, 260px); }
}
@keyframes cs-note { 0%, 28% { opacity: 0; } 34%, 80% { opacity: 1; } 88%, 100% { opacity: 0; } }

/* drawings are plans, never mirrored: the SVG keeps left-to-right in Hebrew */
.cs-svg, .cs-item svg { direction: ltr; }
.cs-ed__canvas, .ly-collage { direction: ltr; }
.ly-collage .ly-piece { direction: var(--page-dir, ltr); }
.cs-ed__levels { direction: var(--page-dir, ltr); }

/* language switch */
.lang-switch { font-weight: 500; }

/* team pages */
.eyebrow { color: var(--muted); font: 500 var(--t-small)/1.2 var(--font-text); letter-spacing: .02em; }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); color: var(--muted); font-size: var(--t-small); }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--action); }
.sub-hero .hero__cta { margin-top: var(--s-6); }
.sub-hero .panel { --p-h: 440px; background: #fff; border: 1px solid var(--line); }
.sub-hero .panel .cs-svg { position: absolute; inset: 0; }
.sub-cards .panel { --p-h: 240px; background: #eef1f4; }
.sub-cards .panel .cs-svg { position: absolute; inset: 0; }
.what { font-size: var(--t-lead); line-height: 1.5; max-width: 62ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding-top: var(--s-4); border-top: 2px solid var(--ink); display: grid; gap: var(--s-2); }
.steps li::before { content: counter(step); font: 500 var(--t-small)/1 var(--font-mono); color: var(--muted); }
.steps h3 { margin: 0; }
@media (max-width: 767px) { .steps { grid-template-columns: minmax(0, 1fr); } .sub-hero .panel { --p-h: 260px; } }
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--t-body); }
.compare :is(th, td) { padding: var(--s-3) var(--s-3); border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.compare thead th { font-weight: 500; color: var(--muted); }
.compare thead th:nth-child(2), .compare td:nth-child(2) { background: color-mix(in oklab, var(--p-accent) 8%, transparent); font-weight: 500; }
.team-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 900px) { .team-links--3 { grid-template-columns: repeat(3, 1fr); } }
.team-links a { display: grid; gap: var(--s-1); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 500; transition: transform var(--dur, .2s) var(--ease, ease), border-color var(--dur, .2s) var(--ease, ease); }
.team-links a:hover { transform: translateY(-2px); border-color: var(--ink); }
.team-links a span { font-weight: 400; color: var(--muted); font-size: var(--t-small); }

/* Hebrew: right to left; Geist has no Hebrew glyphs, so Hebrew text falls back to the system font */
[dir="rtl"] { --page-dir: rtl; --display-tracking: 0; --display-tracking-xl: 0; }
[dir="rtl"] :is(h1, h2, h3, .t-stat, .close__word) { letter-spacing: 0; }
[dir="rtl"] .m-arrow { transform: scaleX(-1); margin-right: 0; margin-left: -2px; }
[dir="rtl"] .section-head--center { text-align: right; }
[dir="rtl"] .cs-num, [dir="rtl"] .price { unicode-bidi: plaintext; }
[dir="rtl"] :is(.btn--primary, .btn--secondary)::after { transform: scaleX(-1); margin-right: 0; margin-left: -2px; }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .btn:hover::after { transform: translateX(-3px) scaleX(-1); } }
[dir="rtl"] .btn--arrow::after { content: "\2190"; }
[dir="rtl"] .link::after { content: "\2190"; }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .link:hover::after { transform: translateX(-3px); } }
html[dir="rtl"]:not([data-motion="off"]) .link, html[dir="rtl"]:not([data-motion="off"]) .link:is(:hover, :focus-visible) { background-position: 100% 100%, 100% 100%; }
/* team pages are reading pages: each section is as tall as its content, not a full screen */
main > section.sub.section:not(.hero) { height: auto; min-height: 0; padding: var(--s-9, 96px) 0 0; }
main > section.sub.section:not(.hero) > .wrap { height: auto; }
main > section.sub.section:not(.hero):last-child { padding-bottom: var(--s-9, 96px); }
.sub-hero h1 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; }
