/* ══ TIDHAR · the case study ═════════════════════════════════════════════════════
   A light page about the digital product: real screens, plain rounded, on white and a soft grey.
   One accent, the app's own green (#255454, "Main Green" in the Figma styles), and the MVP's own
   palette in its visual-language chapter. Heebo for everything; a small type scale used the same way
   in every chapter. The MVP home is rebuilt from its Figma layers (.lv) and comes in once. Scoped to .cs-td. */
.cs-td {
  --tx-ink: #0f1a18; --tx-body: #3a4643; --tx-mute: #6a7572; --tx-line: #e2e7e5; --tx-soft: #f4f6f5;
  --tx-accent: #255454; --tx-accent-ink: #1d4644; --tx-mint: #e4ebea; --tx-bg: #fff;
  --tx-f: 'Heebo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --tx-ease: cubic-bezier(.22, 1, .36, 1);
  --tx-g: var(--g-margin); --tx-hg: clamp(24px, 4vw, 48px);
  /* where a chapter's text starts: under its headline */
  --tx-col: calc((100% - var(--tx-hg)) * .25 + var(--tx-hg));
  --tx-shadow: 0 0 0 1px rgba(15, 26, 24, .07), 0 28px 56px -32px rgba(15, 40, 36, .32);
  --csi-a: var(--tx-accent); --csi-a2: var(--tx-accent);
  background: var(--tx-bg); color: var(--tx-ink); font-family: var(--tx-f); overflow-x: clip; letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
.cs-td::before { content: none; }
.cs-td[data-lang="he"] { --tx-f: 'Heebo', -apple-system, BlinkMacSystemFont, Arial, sans-serif; }
.cs-td *, .cs-td *::before, .cs-td *::after { box-sizing: border-box; }
.cs-td img, .cs-td video { max-width: 100%; display: block; }
.cs-td :is(button, a, [tabindex]):focus-visible { outline: 2px solid var(--tx-accent); outline-offset: 3px; border-radius: 8px; }
.cs-td button { font: inherit; color: inherit; cursor: pointer; }
.cs-td .tx-btn { color: #fff; }
.cs-td .tx-btn--ghost { color: var(--tx-ink); }
.tx-wrap { position: relative; width: min(var(--g-max), calc(100% - 2 * var(--g-margin))); margin-inline: auto; }

/* ── type: five sizes, used the same way everywhere ── */
.tx-title { margin: 0; max-width: 17ch; font: 700 clamp(2.375rem, 4.3vw, 3.875rem)/1.04 var(--tx-f); letter-spacing: -.032em; color: var(--tx-ink); text-wrap: balance; }
.tx-h { margin: 0; max-width: 22ch; font: 700 clamp(2rem, 3.3vw, 3rem)/1.08 var(--tx-f); letter-spacing: -.026em; color: var(--tx-ink); text-wrap: balance; }
.tx-head--wide .tx-h { max-width: 26ch; }
.tx-h4 { margin: 0 0 14px; max-width: 24ch; font: 700 clamp(1.5rem, 2.1vw, 1.875rem)/1.15 var(--tx-f); letter-spacing: -.018em; color: var(--tx-ink); text-wrap: balance; }
.tx-lead { margin: 0; max-width: var(--g-measure); font: 400 var(--g-lead)/1.6 var(--tx-f); color: var(--tx-body); }
.tx-p { margin: 0 0 16px; max-width: var(--g-measure); font: 400 var(--g-body)/1.7 var(--tx-f); color: var(--tx-body); text-wrap: pretty; }
.tx-p:last-child { margin-bottom: 0; }
.tx-p b { color: var(--tx-ink); font-weight: 600; }
.tx-p--lead { font-size: clamp(1.125rem, 1.45vw, 1.3125rem); line-height: 1.55; }
.tx-small { margin: 0; font: 400 .9375rem/1.6 var(--tx-f); color: var(--tx-mute); text-wrap: pretty; }
.tx-cap { margin: 0; font: 400 .875rem/1.5 var(--tx-f); color: var(--tx-mute); text-wrap: balance; }
.tx-cap b { color: var(--tx-ink); font-weight: 600; }
.tx-label { display: block; margin: 0 0 10px; font: 600 .75rem/1.3 var(--tx-f); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-mute); }
.tx-label--accent { color: var(--tx-accent); }
/* a kicker: the chapter's number and name, in the accent */
.tx-k { display: flex; align-items: baseline; gap: 12px; margin: 0; font: 600 .875rem/1.3 var(--tx-f); color: var(--tx-accent); }
.tx-k b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tx-k b::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-inline-start: 12px; vertical-align: middle; background: currentColor; opacity: .5; }
/* a sub-kicker inside a chapter */
.tx-sk { margin: 0 0 10px; font: 600 .8125rem/1.3 var(--tx-f); letter-spacing: .06em; text-transform: uppercase; color: var(--tx-accent); }

/* ── chapters ── */
.tx-sec { position: relative; padding: var(--g-sec) 0; }
.tx-sec--soft { background: var(--tx-soft); }
.tx-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 16px var(--tx-hg); align-items: baseline; margin: 0 0 clamp(28px, 3.5vw, 44px); }
.tx-head .tx-k { padding-top: .35em; }
.tx-text { margin-inline-start: var(--tx-col); max-width: 760px; }
.tx-block { margin-top: clamp(80px, 9vw, 128px); }

/* screens: plain, rounded, a hairline and a soft shadow; corners scale with the screen */
.tx-shot { position: relative; display: block; container-type: inline-size; }
.tx-shot > img, .tx-shot > video { width: 100%; height: auto; border-radius: 8.5cqi; box-shadow: var(--tx-shadow); background: #fff; }

/* ── the hero ── */
.tx-hero { padding: clamp(140px, 17vh, 190px) 0 clamp(72px, 9vw, 128px); }
.tx-hero-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.tx-hero-copy { display: flex; flex-direction: column; gap: 26px; }
.tx-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0; font: 500 .9375rem/1.3 var(--tx-f); color: var(--tx-mute); }
.tx-logo { width: 70px; height: auto; }
.tx-eyebrow span { padding-inline-start: 14px; border-inline-start: 1px solid var(--tx-line); }
.tx-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin: 8px 0 0; padding-top: 24px; border-top: 1px solid var(--tx-line); }
.tx-meta div { min-width: 0; }
.tx-meta dt { margin: 0 0 4px; font: 600 .75rem/1.3 var(--tx-f); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-mute); }
.tx-meta dd { margin: 0; font: 400 .9375rem/1.5 var(--tx-f); color: var(--tx-ink); }
.tx-hero-fig { margin: 0; }
.tx-hero-fig .tx-cap { margin-top: 26px; text-align: center; }
/* the home in front, two screens fanning out from behind it */
.tx-fan { position: relative; width: 100%; max-width: 540px; aspect-ratio: 540 / 600; margin-inline: auto; direction: ltr; }
.tx-fan-front { position: absolute; left: 50%; top: 0; z-index: 2; width: 53%; translate: -50% 0; }
.tx-fan-side { position: absolute; top: 9%; width: 41%; container-type: inline-size; transition: none; }
.tx-fan-side img { width: 100%; height: auto; border-radius: 9cqi; background: #fff; box-shadow: 0 0 0 1px rgba(15, 26, 24, .07), 0 30px 60px -34px rgba(15, 40, 36, .45); }
.tx-fan-side--0 { left: 1%; rotate: -8deg; }
.tx-fan-side--1 { right: 1%; rotate: 8deg; }

/* a phone: light and thin, the screen inside it */
.tx-phone, .tx-device { position: relative; aspect-ratio: 354 / 750; border-radius: 14.4% / 6.8%; background: #fff; box-shadow: 0 0 0 1px rgba(15, 26, 24, .09), 0 34px 70px -38px rgba(15, 40, 36, .42); }
.tx-phone-screen, .tx-device-screen { position: absolute; inset: .93% 1.98%; overflow: hidden; border-radius: 12.9% / 5.98%; background: #fafbfb; direction: ltr; isolation: isolate; }
.tx-nav { position: absolute; z-index: 3; left: 6.8%; width: 86.4%; bottom: 2%; height: auto; pointer-events: none; filter: drop-shadow(0 6px 12px rgba(0, 11, 21, .12)); }

/* ── the brief: the four stages, as a plain row ── */
.tx-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.tx-stages li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; gap: 4px 14px; padding-top: 22px; border-top: 1px solid var(--tx-line); }
.tx-stages img { grid-row: 1 / 4; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 1px var(--tx-line); background: #fff; }
.tx-stages-n { font: 600 .8125rem/1.4 var(--tx-f); color: var(--tx-accent); font-variant-numeric: tabular-nums; }
.tx-stages b { font: 600 1.1875rem/1.25 var(--tx-f); color: var(--tx-ink); }
.tx-stages-x { font: 400 .9375rem/1.5 var(--tx-f); color: var(--tx-mute); text-wrap: balance; }

/* ── process: four steps ── */
.tx-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.tx-text + .tx-process { margin-top: clamp(40px, 5vw, 64px); }
.tx-process > li { padding-top: 22px; border-top: 1px solid var(--tx-ink); }
.tx-process-n { display: block; margin-bottom: 18px; font: 600 .875rem/1 var(--tx-f); color: var(--tx-accent); font-variant-numeric: tabular-nums; }
.tx-process b { display: block; margin-bottom: 0; font: 600 1.25rem/1.25 var(--tx-f); color: var(--tx-ink); }
.tx-process ul { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tx-process ul li { font: 400 .9375rem/1.5 var(--tx-f); color: var(--tx-mute); }

/* ── the MVP ── */
.tx-sketches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); max-width: 980px; margin: clamp(40px, 5vw, 64px) auto 0; }
.tx-sketch { margin: 0; border-radius: 6px; overflow: hidden; background: #f4f3ef; box-shadow: 0 1px 2px rgba(15, 26, 24, .08), 0 24px 48px -30px rgba(15, 26, 24, .35); }
.tx-sketch:nth-child(1) { rotate: -1.2deg; }
.tx-sketch:nth-child(2) { rotate: .9deg; margin-top: 26px; }
.tx-sketch img { width: 100%; height: auto; }
.tx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(80px, 9vw, 128px); }
.tx-split-copy { display: flex; flex-direction: column; gap: clamp(36px, 4.5vw, 56px); }
/* a decision in Daniel's own words, under its heading (the same move as Hapoalim's flows) */
.tx-why { display: grid; gap: 4px; max-width: var(--g-measure); margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--tx-mint); font: 500 1.0625rem/1.5 var(--tx-f); color: var(--tx-ink); text-wrap: pretty; }
.tx-why-k { font: 600 .75rem/1.3 var(--tx-f); letter-spacing: .06em; text-transform: uppercase; color: var(--tx-accent); }
.cs-td[data-lang="he"] .tx-why-k { letter-spacing: 0; font-size: .8125rem; }
.tx-p + .tx-why { margin: 16px 0 0; }
/* what doesn't work: a thin line in the MVP's own signal red, before the change it led to */
/* the finding sits on a pale warm tint, no side bar (Daniel removed decorative bars elsewhere) */
.tx-rv-f, .tx-uh-f { margin: 0 0 20px; padding: 12px 16px; border-radius: 14px; background: #fbf1ef; }
.tx-rv-copy .tx-rv-f .tx-label, .tx-uh-f .tx-label { margin-bottom: 4px; }
.tx-rv-fx, .tx-uh-f p:not(.tx-label) { margin: 0; font: 400 1rem/1.55 var(--tx-f); color: var(--tx-body); text-wrap: pretty; }
.tx-demo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.tx-demo { container-type: inline-size; }
.tx-demo .tx-device { width: min(100%, 354px); }
.tx-demo-img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .45s var(--tx-ease); }
.tx-demo-img.is-on { opacity: 1; }
.tx-demo-hits { position: absolute; z-index: 4; inset: 25% 0 auto; height: 27%; display: flex; }
.tx-demo-hits i { flex: 1; cursor: pointer; }
.tx-demo .tx-cap { text-align: center; max-width: 34ch; }
/* a segmented control */
.tx-seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tx-soft); box-shadow: inset 0 0 0 1px var(--tx-line); }
.tx-seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 500 .875rem/1 var(--tx-f); color: var(--tx-body); transition: background .25s, color .25s; }
.tx-seg button:hover { color: var(--tx-ink); }
.tx-seg button[aria-checked="true"] { background: var(--tx-accent); color: #fff; }
.tx-seg--sm button { min-height: 34px; padding: 0 12px; font-size: .8125rem; }
/* stage by stage */
.tx-block-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.tx-bystage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); margin: 0; padding: 0; list-style: none; }
.tx-bystage li { display: flex; flex-direction: column; gap: 12px; }
.tx-bystage-k { display: flex; gap: 8px; margin: 0 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--tx-line); font: 600 .875rem/1.3 var(--tx-f); color: var(--tx-ink); }
.tx-bystage-k span { color: var(--tx-accent); font-variant-numeric: tabular-nums; }
.tx-bystage .tx-shot { margin-bottom: 8px; max-width: 260px; }
.tx-bystage p:not(.tx-bystage-k) { margin: 0; font: 400 .9375rem/1.55 var(--tx-f); color: var(--tx-mute); text-wrap: pretty; }
.tx-also { margin: clamp(32px, 4vw, 44px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--tx-line); font: 400 .9375rem/1.5 var(--tx-f); color: var(--tx-mute); text-wrap: pretty; }
/* filling the wait */
.tx-wait { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .8fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.tx-wait-copy { max-width: 460px; }
.tx-wait-fig { margin: 0; }
.tx-wait-fig .tx-cap { margin-top: 16px; }
/* launch */
.tx-launch { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(80px, 9vw, 128px); padding: clamp(32px, 4.5vw, 56px); border-radius: 24px; background: var(--tx-soft); }
.tx-launch .tx-h4 { max-width: 20ch; }
.tx-score { display: flex; align-items: center; gap: 24px; }
.tx-score-n { margin: 0; font: 700 clamp(4.5rem, 8vw, 6.5rem)/.9 var(--tx-f); letter-spacing: -.04em; color: var(--tx-accent); font-variant-numeric: tabular-nums; }
.tx-score-stars { display: flex; gap: 4px; margin: 0 0 10px; }
.tx-score-stars { direction: ltr; }
.tx-score-stars i { position: relative; width: 18px; height: 18px; background: rgba(37, 84, 84, .2); clip-path: polygon(50% 0, 61.8% 35.4%, 100% 38.2%, 69.1% 61.8%, 80.9% 100%, 50% 76.4%, 19.1% 100%, 30.9% 61.8%, 0 38.2%, 38.2% 35.4%); }
.tx-score-stars i b { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--tx-accent); }
.tx-score-stars i:nth-child(5) b { width: calc((var(--r, 5) - 4) * 100%); }
.tx-score-l { margin: 0 0 4px; font: 600 .9375rem/1.3 var(--tx-f); color: var(--tx-ink); }
.tx-score-stores { display: flex; gap: 6px; margin: 0; font: 400 .875rem/1.4 var(--tx-f); color: var(--tx-mute); }
.tx-score-stores span + span::before { content: '·'; margin-inline-end: 6px; }

/* ── visual language: the MVP's own colours, as fields; type on mint, icons on green ── */
.tx-look { background: linear-gradient(180deg, #9ce6fd 0%, #c9f1fd 30%, #eef9fb 64%, #fff 100%); }
.tx-look .tx-k, .tx-look .tx-sk { color: var(--tx-accent-ink); }
.tx-swatches { display: grid; grid-template-columns: 2fr 1.35fr 1.35fr 1fr; gap: clamp(10px, 1.4vw, 16px); margin: 0; padding: 0; list-style: none; }
.tx-sw { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: clamp(180px, 20vw, 260px); padding: clamp(18px, 2vw, 26px); border-radius: 22px; background: var(--c); color: var(--tx-ink); box-shadow: inset 0 0 0 1px rgba(15, 26, 24, .06); }
.tx-sw--d { color: #fff; }
.tx-sw b { font: 700 clamp(1.125rem, 1.6vw, 1.375rem)/1.2 var(--tx-f); }
.tx-sw code { font: 500 .8125rem/1.3 ui-monospace, 'SF Mono', Menlo, monospace; opacity: .78; direction: ltr; align-self: flex-start; }
.tx-sw > span { font: 400 .875rem/1.45 var(--tx-f); opacity: .86; }
.tx-look-p { max-width: 40em; margin: clamp(22px, 2.6vw, 30px) 0 0; margin-inline-start: var(--tx-col); font: 500 clamp(1.0625rem, 1.3vw, 1.1875rem)/1.6 var(--tx-f); color: var(--tx-ink); text-wrap: pretty; }
.tx-look-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(36px, 4vw, 56px); }
.tx-look-card { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 2.8vw, 36px); border-radius: 24px; }
.tx-look-card .tx-sk { margin: 0; }
.tx-look-card--type { background: #e4ebea; }
.tx-look-card--type .tx-small { color: var(--tx-body); }
.tx-kit-type { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(37, 84, 84, .12); }
.tx-look-card--icons { position: relative; overflow: hidden; background: #255454; color: #fff; }
.cs-td .tx-look-card--icons .tx-sk { color: #9ce6fd; }
.tx-look-card--icons .tx-small { margin-top: auto; color: rgba(255, 255, 255, .8); }
/* the four stage buttons on their hill, as in the app; they come up once, and lift under the pointer */
.tx-stageicons { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin: 6px -4px 0; padding: 18px 4px 26px; list-style: none; direction: ltr; }
.tx-stageicons::before { content: ''; position: absolute; inset: 50% -14% 0; border-radius: 50% 50% 0 0 / 70% 70% 0 0; background: linear-gradient(#5db86e, #44a05a 60%, rgba(37, 84, 84, 0)); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .2); }
.tx-look-card--icons .tx-small { position: relative; }
.cs-td[dir="rtl"] .tx-stageicons { direction: rtl; }
.tx-stageicons li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }
.tx-stageicons li:nth-child(2), .tx-stageicons li:nth-child(3) { margin-bottom: -14px; }
.tx-stageicons-i { position: relative; display: block; width: clamp(48px, 5.4vw, 64px); transition: translate .35s var(--tx-ease); }
.tx-stageicons li.is-on .tx-stageicons-i { width: clamp(70px, 7.6vw, 92px); }
.tx-stageicons-i img { width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .22)); }
.tx-stageicons-i::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; box-shadow: 0 0 0 2px #9ce6fd; opacity: 0; pointer-events: none; }
.tx-stageicons li:hover .tx-stageicons-i { translate: 0 -5px; }
.tx-stageicons b { position: relative; font: 600 .8125rem/1.25 var(--tx-f); color: #fff; text-align: center; }

/* ── why now ── */

/* ── the review: tabs, and each screen beside its proposal ── */
.tx-tabs { display: flex; gap: clamp(4px, 1.2vw, 20px); margin: clamp(56px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--tx-line); overflow-x: auto; scrollbar-width: none; }
.tx-tabs::-webkit-scrollbar { display: none; }
.tx-tabs [role="tab"] { flex: none; display: inline-flex; align-items: baseline; gap: 8px; padding: 14px 4px 16px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: 500 .9375rem/1.2 var(--tx-f); color: var(--tx-mute); white-space: nowrap; transition: color .2s, border-color .2s; }
.tx-tabs [role="tab"] span { font: 600 .75rem/1 var(--tx-f); font-variant-numeric: tabular-nums; }
.tx-tabs [role="tab"]:hover { color: var(--tx-ink); }
.tx-tabs [role="tab"][aria-selected="true"] { color: var(--tx-ink); border-bottom-color: var(--tx-accent); }
.tx-tabs [role="tab"][aria-selected="true"] span { color: var(--tx-accent); }
.tx-panel { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 260px); grid-template-areas: "b copy copy a"; gap: clamp(28px, 3.4vw, 48px); align-items: start; }
.tx-panel[hidden] { display: none; }
.tx-rv-fig { margin: 0; min-width: 0; container-type: inline-size; }
.tx-rv-fig--b { grid-area: b; }
.tx-rv-fig--a { grid-area: a; }
.tx-win { aspect-ratio: 360 / 800; overflow-y: auto; overscroll-behavior-y: auto; border-radius: 8.5cqi; background: #fff; box-shadow: var(--tx-shadow); scrollbar-width: thin; scrollbar-color: rgba(15, 26, 24, .25) transparent; }
.tx-win > img { width: 100%; height: auto; }
.tx-rv-copy { grid-area: copy; min-width: 0; max-width: 34em; padding-top: 2px; }
.tx-rv-copy .tx-label { margin-bottom: 14px; }
.tx-rv-h { margin: 0 0 14px; font: 700 clamp(1.25rem, 1.7vw, 1.5rem)/1.2 var(--tx-f); letter-spacing: -.014em; color: var(--tx-ink); text-wrap: balance; }
/* ── the unified home: two screens that follow the text, one component lit at a time ── */
.tx-uh { --wh: min(560px, calc(100svh - 300px)); --ww: calc(var(--wh) * 360 / 760);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "steps stage"; gap: clamp(40px, 6vw, 96px); margin-top: clamp(48px, 6vw, 72px); }
.tx-uh-stage { grid-area: stage; position: sticky; top: max(96px, calc(50svh - var(--wh) / 2 - 64px)); align-self: start; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.tx-uh-phones { display: flex; gap: clamp(16px, 2vw, 28px); align-items: flex-start; }
.tx-uh-fig { margin: 0; width: var(--ww); }
.tx-uh-fig .tx-label { min-height: 2.6em; display: flex; align-items: flex-end; }
.tx-short { display: none; }
.tx-uh-win { position: relative; width: var(--ww); height: var(--wh); overflow: hidden; border-radius: calc(var(--ww) * .085); background: #fff; box-shadow: 0 0 0 1px rgba(15, 26, 24, .09), 0 22px 44px -32px rgba(15, 40, 36, .3); direction: ltr; }
.tx-uh-move { position: absolute; inset: 0 0 auto; transform: translateY(calc(-1 * var(--off, 0%))); transition: transform .8s var(--tx-ease); will-change: transform; }
.tx-uh-move > img, .tx-sh > img { width: 100%; height: auto; }
.tx-uh-mark { position: absolute; z-index: 2; border-radius: 12px; box-shadow: 0 0 0 1.5px rgba(37, 84, 84, .85), 0 0 0 6px rgba(156, 230, 253, .35), 0 0 0 4000px rgba(255, 255, 255, .58); pointer-events: none;
  transition: top .8s var(--tx-ease), height .8s var(--tx-ease), left .8s var(--tx-ease), width .8s var(--tx-ease), opacity .4s; }
.tx-uh-none { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; margin: 0; padding: 16px; background: rgba(255, 255, 255, .72); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tx-uh-none span { max-width: 22ch; padding: 9px 15px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(37, 84, 84, .25), 0 10px 24px -16px rgba(15, 40, 36, .4); font: 600 .8125rem/1.35 var(--tx-f); color: var(--tx-accent-ink); text-align: center; }
.tx-uh-win[data-none] .tx-uh-none { opacity: 1; }
.tx-uh-win[data-none] .tx-uh-mark { opacity: 0; }
.tx-uh-was { min-height: 2.9em; margin: 12px 0 0; font: 400 .8125rem/1.45 var(--tx-f); color: var(--tx-mute); }
.tx-uh-was--a { color: var(--tx-ink); font-weight: 500; }
.tx-uh-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tx-uh-index button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--tx-line); font: 600 .75rem/1 var(--tx-f); color: var(--tx-mute); font-variant-numeric: tabular-nums; transition: background .25s, color .25s, box-shadow .25s; }
.tx-uh-index button:hover { color: var(--tx-ink); box-shadow: inset 0 0 0 1px var(--tx-mute); }
.tx-uh-index button[aria-current] { background: var(--tx-accent); color: #fff; box-shadow: none; }
.tx-uh-steps { grid-area: steps; margin: 0; padding: 14svh 0 26svh; list-style: none; }
.tx-uh-step { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; opacity: .3; transition: opacity .45s; }
.tx-uh-step.is-on { opacity: 1; }
.tx-uh-top { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.tx-uh-n { font: 600 .9375rem/1 var(--tx-f); color: var(--tx-accent); font-variant-numeric: tabular-nums; }
.tx-uh-n small { font-size: .8125rem; color: var(--tx-mute); font-weight: 500; }
.tx-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 .75rem/1 var(--tx-f); }
.tx-tag--new { background: var(--tx-accent); color: #fff; }
.tx-tag--upgraded { box-shadow: inset 0 0 0 1.5px var(--tx-accent); color: var(--tx-accent); }
.tx-tag--changed { box-shadow: inset 0 0 0 1.5px #b9c1bf; color: var(--tx-body); }
.tx-uh-h { margin: 0 0 18px; font: 700 clamp(1.5rem, 2.1vw, 1.875rem)/1.15 var(--tx-f); letter-spacing: -.018em; color: var(--tx-ink); text-wrap: balance; }
.tx-uh-what { margin: 0; max-width: 36em; font: 400 1.125rem/1.6 var(--tx-f); color: var(--tx-ink); text-wrap: pretty; }
/* the pattern from another app that a component borrows */
.tx-uh-from { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.tx-uh-from-k { font: 500 .8125rem/1.3 var(--tx-f); color: var(--tx-mute); }
.tx-uh-from-p { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--tx-soft); box-shadow: inset 0 0 0 1px var(--tx-line); font: 400 .8125rem/1.35 var(--tx-f); color: var(--tx-body); }
.tx-uh-from-p b { font-weight: 600; color: var(--tx-ink); }
.tx-uh-from-p b::after { content: '·'; margin-inline-start: 6px; font-weight: 400; color: var(--tx-mute); }

/* ── the 2027 concept: four questions, beside a phone you can scroll ── */
.tx-concept-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 354px); gap: clamp(36px, 6vw, 110px); align-items: start; }
.tx-qs { display: flex; flex-direction: column; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.tx-qs button { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: transparent; text-align: start; transition: background .25s; }
.tx-qs button:hover { background: var(--tx-soft); }
.tx-qs button[aria-pressed="true"] { background: var(--tx-soft); }
.tx-qs-n { font: 600 .875rem/1.5 var(--tx-f); color: var(--tx-accent); font-variant-numeric: tabular-nums; }
.tx-qs b { font: 600 1.0625rem/1.35 var(--tx-f); color: var(--tx-ink); }
.tx-fold-note { display: flex; flex-direction: column; gap: 2px; max-width: 34em; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--tx-line); }
.tx-fold-note .tx-sk { margin-bottom: 6px; }
.tx-concept-fig { margin: 0; width: 100%; justify-self: end; }
.tx-device--27 { width: 100%; }
.tx-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.tx-scroll::-webkit-scrollbar { display: none; }
.tx-scroll-in { position: relative; width: 100%; }
.tx-scroll-in > img { width: 100%; height: auto; }
.tx-fold27 { position: absolute; z-index: 2; left: 0; top: 0; width: 100%; height: auto; translate: 0 -101%; transition: translate .45s var(--tx-ease); pointer-events: none; }
.tx-device--27.is-folded .tx-fold27 { translate: 0 0; }
.tx-dock27 { position: absolute; z-index: 3; left: 3.72%; width: 92.56%; bottom: 2.19%; height: auto; pointer-events: none; filter: drop-shadow(0 10px 18px rgba(0, 30, 24, .22)); }
.tx-qs-zone { position: absolute; inset-inline: 2.5%; top: var(--t); height: var(--h); border-radius: 14px; box-shadow: 0 0 0 2px var(--tx-accent), 0 0 0 6px rgba(37, 84, 84, .12); background: rgba(37, 84, 84, .05); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tx-qs-zone.is-on { opacity: 1; }
.tx-qs-zone b { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tx-accent); color: #fff; font: 600 .6875rem/1 var(--tx-f); }

/* ── what's next, and the way out ── */
.tx-goal { padding: clamp(28px, 3.4vw, 44px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--tx-line); }
/* measuring it: a signal per decision, what good looks like, and the test to run first */
.tx-sk.tx-measure-k { margin: clamp(36px, 4vw, 48px) 0 14px; }
.tx-sig { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.tx-sig li { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(20px, 2vw, 26px); border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--tx-line); }
.cs-td .tx-sig-to { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 32px; padding: 0; border: 0; background: none; font: 600 .9375rem/1.3 var(--tx-f); color: var(--tx-accent); text-align: start; }
.tx-sig-to b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font: 600 .75rem/1 var(--tx-f); font-variant-numeric: tabular-nums; color: #fff; background: var(--tx-accent); }
.tx-sig-to:hover span { text-decoration: underline; text-underline-offset: 3px; }
.tx-sig-m { margin: 0; font: 500 1rem/1.5 var(--tx-f); color: var(--tx-ink); text-wrap: pretty; }
.tx-sig-r { display: grid; gap: 2px; margin: 0; font: 700 1.375rem/1.25 var(--tx-f); color: var(--tx-accent); }
.tx-sig-r span { font: 600 .75rem/1.3 var(--tx-f); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-mute); }
.tx-sig-g { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--tx-line); }
.tx-sig-g p { margin: 0; font: 400 .9375rem/1.5 var(--tx-f); color: var(--tx-body); text-wrap: pretty; }
.tx-sig-g .tx-sig-gk { margin-bottom: 4px; font: 600 .75rem/1.3 var(--tx-f); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-mute); }
.cs-td[data-lang="he"] :is(.tx-sig-gk, .tx-sig-r span) { letter-spacing: 0; font-size: .8125rem; }
.tx-test { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(48px, 6vw, 72px); }
.tx-tasks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tx-tasks li { display: flex; gap: 16px; align-items: baseline; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--tx-line); }
.tx-tasks-n { flex: none; font: 700 1.125rem/1.2 var(--tx-f); color: var(--tx-accent); font-variant-numeric: tabular-nums; }
.tx-tasks p { margin: 0; font: 400 1rem/1.55 var(--tx-f); color: var(--tx-ink); text-wrap: pretty; }
.tx-tracks li { padding: 20px 22px; }
.tx-tracks b { display: block; margin-bottom: 4px; font: 600 1.0625rem/1.35 var(--tx-f); color: var(--tx-ink); }
.tx-tracks p { color: var(--tx-mute); }
.tx-measure .tx-goal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(56px, 7vw, 88px); }
.tx-measure .tx-goal .tx-h4 { margin: 0; }
.tx-score-src { margin: 8px 0 0; font: 400 .8125rem/1.4 var(--tx-f); color: var(--tx-mute); }
.tx-onb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(72px, 9vw, 120px); }
.tx-onb-copy { max-width: 400px; }
.tx-onb-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.tx-onb-shots .tx-shot > img { border-radius: 7cqi; }
/* the onboarding texts, live in Almoni (the app's font) - placed in the screen's own px (464 wide: 1cqi = 4.64px) */
@font-face { font-family: 'Almoni'; src: url(assets/fonts/Almoni-Regular.woff) format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Almoni'; src: url(assets/fonts/Almoni-Bold.woff) format('woff'); font-weight: 700; font-display: swap; }
.tx-onb-scr { position: relative; }
.tx-onb-ui { position: absolute; inset: 0; display: block; color: #121417; text-align: center; font-family: 'Almoni', 'Heebo', sans-serif; pointer-events: none; }
.tx-onb-t { position: absolute; inset-inline: 4%; top: calc(626 / 4.64 * 1cqi); font: 700 8.5cqi/1.15 'Almoni', 'Heebo', sans-serif; letter-spacing: -.01em; }
.tx-onb-b { position: absolute; inset-inline: 8%; top: calc(686 / 4.64 * 1cqi); font: 400 5.6cqi/1.2 'Almoni', 'Heebo', sans-serif; color: #303539; }
.tx-onb-bar { position: absolute; inset-inline: 5%; top: calc(904 / 4.64 * 1cqi); height: calc(53 / 4.64 * 1cqi); display: flex; align-items: center; justify-content: space-between; }
.tx-onb-skip, .tx-onb-next { display: grid; place-items: center; width: 28.8cqi; height: 100%; border-radius: 99px; font: 700 4.9cqi/1 'Almoni', 'Heebo', sans-serif; }
.tx-onb-skip { box-shadow: inset 0 0 0 .32cqi #07574e; color: #07574e; }
.tx-onb-next { background: #07574e; color: #fff; }
.tx-onb-dots { display: flex; gap: 2.8cqi; }
.tx-onb-dots i { width: 3cqi; height: 3cqi; border-radius: 50%; background: #cdd6d3; }
.tx-onb-dots i.is-on { background: #06534a; }
.tx-onb-shots li:nth-child(2) { translate: 0 22px; }
.tx-icon-lang { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 88px); padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--tx-line); }
.tx-icon-lang-copy .tx-p { margin: 0; }
.tx-icon-set { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tx-icon-set li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.tx-icon-set img { width: 100%; max-width: 72px; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 16px; transition: translate .35s var(--tx-ease); }
.tx-icon-set li:hover img { translate: 0 -4px; }
.tx-icon-set span { font: 500 .75rem/1.3 var(--tx-f); color: var(--tx-mute); text-align: center; }
.tx-end-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(64px, 8vw, 104px); padding-top: 28px; border-top: 1px solid var(--tx-line); }
.tx-end-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.tx-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--tx-accent); color: #fff; font: 600 .9375rem/1 var(--tx-f); text-decoration: none; transition: background .2s; }
.tx-btn:hover { background: var(--tx-accent-ink); }
.tx-btn--ghost { background: transparent; color: var(--tx-ink); box-shadow: inset 0 0 0 1px var(--tx-line); }
.tx-btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--tx-mute); }
.tx-end-by { margin: 0; font: 400 .875rem/1.4 var(--tx-f); color: var(--tx-mute); }

/* ── the MVP home, rebuilt from its Figma layers: 360 design px, scaled by a script (--k) ── */
.lv { position: relative; width: 100%; aspect-ratio: 360 / 1250; overflow: hidden; direction: ltr; background: #fafbfb; }
.tx-phone-screen > .lv, .tx-device-screen > .lv { position: absolute; left: 0; top: 0; }
.lv-in { position: absolute; left: 0; top: 0; width: 360px; height: 1250px; transform: scale(var(--k, 1)); transform-origin: 0 0; }
.cs-td .lv-in img { position: absolute; display: block; max-width: none; height: auto; }
.lv-low { left: 0; top: 321px; width: 360px; }
.lv-top { position: absolute; left: 0; top: 0; width: 360px; height: 321px; overflow: hidden; }
.cs-td .lv-sky { left: 0; top: 0; width: 360px; height: 321px; }
.lv-bclip { position: absolute; left: 67.5px; top: 94.5px; width: 224px; height: 136.5px; overflow: hidden; }
.cs-td .lv-bld { left: 0; top: 0; width: 224px; }
.cs-td .lv-st { left: 0; top: 0; offset-anchor: 50% 50%; offset-rotate: 0deg; offset-distance: 100%; filter: drop-shadow(0 2px 5px rgba(0, 11, 21, .1)); }
.cs-td .lv-st--u { filter: drop-shadow(0 6px 12px rgba(0, 11, 21, .18)); }
.lv-sk { position: absolute; display: none; border-radius: 6px; background: linear-gradient(100deg, #e6ecec 0 40%, #f8fafa 50%, #e6ecec 60% 100%) 100% 0 / 300% 100%; }
.lv-top .lv-sk--t { background-color: transparent; background-image: linear-gradient(100deg, rgba(0, 11, 21, .08) 0 40%, rgba(255, 255, 255, .7) 50%, rgba(0, 11, 21, .08) 60% 100%); }
.lv-sk--pill { border-radius: 99px; }
.lv-sk--dot { border-radius: 50%; }
.lv-veil { position: absolute; display: none; left: 0; top: 321px; width: 360px; height: 480px; background: linear-gradient(#fafbfb, #eef2f1); }
.lv-card { position: absolute; left: 16px; width: 328px; border-radius: 18px; background: #fff; }
/* the entrance: armed by the script, played once when the screen comes into view */
.lv.is-armed .lv-sk, .lv.is-armed .lv-veil { display: block; }
.lv.is-armed .lv-sk { animation: lvShim 1.15s linear both, lvOut .4s ease 1s both; }
.lv.is-armed .lv-veil { animation: lvOut .5s ease 1.05s both; }
.lv.is-armed .lv-low { --dy: 14px; animation: lvUp .8s var(--tx-ease) 1.05s both; }
.lv.is-armed .lv-sun { animation: lvSun 1.3s cubic-bezier(.2, .7, .2, 1) .15s both; }
.lv.is-armed .lv-grass { --dy: 16px; animation: lvUp .75s var(--tx-ease) .05s both; }
.lv.is-armed .lv-bld { animation: lvRise 1.2s cubic-bezier(.2, .75, .2, 1) .3s both; }
.lv.is-armed .lv-birds { animation: lvBirds 1.2s var(--tx-ease) 1.1s both; }
.lv.is-armed .lv-st { animation: lvArc 1.3s cubic-bezier(.3, .65, .2, 1) calc(.55s + var(--d, 0s)) both; }
.lv.is-armed .lv-st--u { animation-name: lvArcBig; }
.lv.is-armed .lv-text { --dy: 6px; animation: lvUp .6s var(--tx-ease) 1.05s both; }
.lv.is-armed .lv-lab { --dy: 5px; animation: lvUp .6s var(--tx-ease) calc(1.6s + var(--d, 0s)) both; }
.lv.is-armed .lv-in * { animation-play-state: paused; }
.lv.is-armed.is-play .lv-in * { animation-play-state: running; }
@keyframes lvShim { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes lvOut { to { opacity: 0; visibility: hidden; } }
@keyframes lvUp { from { opacity: 0; transform: translateY(var(--dy, 14px)); } }
@keyframes lvSun { from { opacity: 0; transform: translateY(36px) scale(.85); } }
@keyframes lvRise { from { transform: translateY(100%); } }
@keyframes lvBirds { from { opacity: 0; transform: translate(-28px, 8px); } }
@keyframes lvArc { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes lvArcBig { from { offset-distance: 0%; scale: .82; } 72% { scale: 1.05; } to { offset-distance: 100%; scale: 1; } }
/* the hero's two screens fan out from behind the home */
.tx-fan.is-armed .tx-fan-side { animation: fanIn 1.1s cubic-bezier(.2, .8, .2, 1) .35s both paused; }
.tx-fan.is-armed .tx-fan-side--0 { --fx: 58%; }
.tx-fan.is-armed .tx-fan-side--1 { --fx: -58%; }
.tx-fan.is-armed.is-play .tx-fan-side { animation-play-state: running; }
@keyframes fanIn { from { translate: var(--fx) 4%; rotate: 0deg; scale: .9; opacity: 0; } 30% { opacity: 1; } }
/* the stage icons in the visual language: up onto their hill, one by one; the stage you're in rings once */
.tx-stageicons.is-armed li { animation: iconIn .8s var(--tx-ease) calc(.15s + var(--i) * .12s) both paused; }
.tx-stageicons.is-armed li.is-on .tx-stageicons-i::after { animation: ringOnce 1.3s ease 1s both paused; }
.tx-stageicons.is-armed.is-play li, .tx-stageicons.is-armed.is-play .tx-stageicons-i::after { animation-play-state: running; }
@keyframes iconIn { from { opacity: 0; transform: translateY(28px) scale(.86); } }
@keyframes ringOnce { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.3); } }
/* a new home screen comes in the same way: a short shimmer, then the screen rises into place */
.tx-sh { position: relative; display: block; }
.tx-sh-veil { position: absolute; inset: 0; z-index: 1; display: none; pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0) 70%) 120% 0 / 260% 100%; }
.tx-sh.is-armed .tx-sh-veil { display: block; animation: shSweep 1.25s ease .15s both paused; }
.tx-sh.is-armed > img { --dy: 18px; animation: lvUp .9s var(--tx-ease) .4s both paused; }
.tx-sh.is-armed.is-play .tx-sh-veil, .tx-sh.is-armed.is-play > img { animation-play-state: running; }
@keyframes shSweep { 0% { background-position: 120% 0; opacity: 1; } 80% { opacity: 1; } 100% { background-position: -20% 0; opacity: 0; } }

/* ── reveal on scroll ── */
@media (prefers-reduced-motion: no-preference) {
  .js .cs-td .cx-rise { opacity: 0; translate: 0 26px; transition: opacity .8s var(--tx-ease) calc(var(--i, 0) * 70ms), translate 1s var(--tx-ease) calc(var(--i, 0) * 70ms); }
  .js .cs-td .cx-rise.is-in { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-td .tx-uh-move, .cs-td .tx-uh-mark, .cs-td .tx-demo-img, .cs-td .tx-fold27 { transition: none; }
}

/* ── tablets ── */
@media (max-width: 1080px) {
  .tx-hero-in { grid-template-columns: 1fr; }
  /* stacked, the title has the full width: two lines instead of three */
  .tx-title { max-width: 24ch; }
  .tx-hero-fig { max-width: 560px; width: 100%; margin-inline: auto; }
  .tx-head { grid-template-columns: 1fr; gap: 14px; }
  .tx-text, .tx-look-p { margin-inline-start: 0; }
  .tx-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "b a" "copy copy"; }
  .tx-rv-copy { max-width: 640px; }
  .tx-rv-fig { max-width: 320px; width: 100%; justify-self: center; }
  .tx-wait { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tx-wait-copy { grid-column: 1 / -1; max-width: 640px; }
  .tx-wait-fig { max-width: 300px; width: 100%; justify-self: center; }
  .tx-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-concept-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
  .tx-onb, .tx-icon-lang { grid-template-columns: 1fr; }
  .tx-sig { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-onb-copy { max-width: 560px; }
  .tx-icon-set { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  /* the unified home: the screens stay on top while the text scrolls under them */
  .tx-uh { --wh: min(440px, 40svh); display: block; }
  .tx-uh-stage { position: sticky; top: 0; z-index: 2; margin: 0 calc(-1 * var(--tx-g)); padding: 84px var(--tx-g) 14px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--tx-line); gap: 12px; }
  .tx-uh-fig .tx-label { margin-bottom: 6px; }
  .tx-uh-was { min-height: 2.9em; margin-top: 8px; font-size: .75rem; }
  .tx-uh-step { min-height: 48svh; padding: 28px 0; }
  .tx-uh-steps { padding: 6svh 0 34svh; }
}
@media (max-width: 900px) {
  /* the review's six screens: pills that wrap, so none hides off the edge */
  .tx-tabs { flex-wrap: wrap; gap: 8px; border-bottom: 0; overflow: visible; }
  .tx-tabs [role="tab"] { padding: 10px 14px; border: 0; margin: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--tx-line); }
  .tx-tabs [role="tab"][aria-selected="true"] { background: var(--tx-accent); color: #fff; box-shadow: none; }
  .tx-tabs [role="tab"][aria-selected="true"] span { color: rgba(255, 255, 255, .7); }
  .tx-rv-fig .tx-label { min-height: 2.6em; display: flex; align-items: flex-end; }
  .tx-split { grid-template-columns: 1fr; }
  .tx-bystage { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .tx-stages, .tx-process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tx-launch { grid-template-columns: 1fr; }
  .tx-test, .tx-measure .tx-goal { grid-template-columns: 1fr; }
  .tx-look-row { grid-template-columns: 1fr; }
  .tx-concept-grid { grid-template-columns: 1fr; }
  .tx-concept-fig { max-width: 340px; justify-self: center; }
  .tx-icon-set { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 18px; }
}

/* ── phones ── */
@media (max-width: 640px) {
  .tx-hero { padding-top: 128px; }
  .tx-hero-copy { gap: 22px; }
  .tx-meta { grid-template-columns: 1fr; gap: 16px; }
  .tx-fan-front { width: 60%; }
  .tx-fan-side { width: 44%; top: 12%; }
  .tx-stages, .tx-process { grid-template-columns: 1fr; row-gap: 32px; }
  .tx-sketches { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tx-sketch:nth-child(2) { margin-top: 14px; }
  .tx-bystage { gap: 36px 14px; }
  .tx-bystage p:not(.tx-bystage-k) { font-size: .875rem; }
  .tx-wait { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tx-seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 340px; border-radius: 18px; }
  .tx-seg button { padding: 0 10px; border-radius: 14px; font-size: .8125rem; }
  .tx-swatches { gap: 10px; }
  .tx-sw { min-height: 150px; border-radius: 18px; }
  .tx-stageicons { padding-inline: 0; }
  .tx-panel { gap: 28px 14px; }
  .tx-uh { --wh: min(calc((100vw - 2 * var(--tx-g) - 14px) / 2 * 760 / 360), 40svh); }
  .tx-uh-stage { padding-top: 70px; }
  .tx-uh-fig .tx-label { min-height: 0; }
  .tx-uh-fig .tx-long, .tx-uh-was { display: none; }
  .tx-uh-fig .tx-short { display: inline; }
  .tx-uh-phones { gap: 14px; }
  .tx-uh-what { font-size: 1.0625rem; }
  .tx-uh-index button { width: 26px; height: 26px; }
  .tx-score { gap: 18px; }
  .tx-onb-shots { gap: 8px; }
  .tx-onb-shots li:nth-child(2) { translate: 0 12px; }
  .tx-icon-set { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tx-sig { grid-template-columns: minmax(0, 1fr); }
  .tx-tasks li { gap: 12px; padding: 14px; }
  .tx-why { font-size: 1rem; }
  /* the steps under the stuck screens have less room on a phone: the finding and the pattern sit tighter */
  .tx-uh-f { margin-bottom: 14px; }
  .tx-uh-f p:not(.tx-label) { font-size: .9375rem; }
  .tx-uh-from { margin-top: 12px; }
  .tx-end-foot { flex-direction: column; align-items: flex-start; }
}
/* a swatch name that would clash with another case's word in the dictionary writes both languages itself */
.tx-l-he { display: none; }
.cs-td[data-lang="he"] .tx-l-he { display: inline; }
.cs-td[data-lang="he"] .tx-l-en { display: none; }

/* ══ 2026-11-02 · the stages on the hill, two states each; the live home switches stage with GSAP ══ */
.cs-td .lv-st { position: absolute; display: block; width: 50px; height: 50px; }
.lv-st-in { position: absolute; inset: 0; display: block; transform-origin: 50% 50%; }
.cs-td .lv-st-in img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transition: opacity .3s ease; }
.lv-st-on { opacity: 0; }
.lv-st.is-on .lv-st-on { opacity: 1; }
.lv-st.is-on .lv-st-off { opacity: 0; }
.cs-td .lv-st.is-on { filter: drop-shadow(0 6px 12px rgba(0, 11, 21, .18)); }
.cs-td .lv-lab { position: absolute; display: block; width: 0; height: 0; }
.lv-lab-in { position: absolute; left: 0; top: 0; display: block; }
.cs-td .lv-lab-in img { position: absolute; top: 0; height: auto; transition: opacity .3s ease; }
.lv-lab-on { opacity: 0; }
.lv-lab.is-on .lv-lab-on { opacity: 1; }
.lv-lab.is-on .lv-lab-off { opacity: 0; }
/* each stage's own content, below the hill; its top fades into the scene */
.cs-td .lv-low--more { left: 0; top: 321px; width: 360px; opacity: 0; -webkit-mask-image: linear-gradient(transparent, #000 22px); mask-image: linear-gradient(transparent, #000 22px); }
/* the entrance is CSS; once a stage changes, GSAP holds every layer */
.lv.is-settled .lv-in * { animation: none !important; }
.lv.is-settled .lv-sk, .lv.is-settled .lv-veil { display: none !important; }
@media (prefers-reduced-motion: reduce) { .cs-td .lv-st-in img, .cs-td .lv-lab-in img { transition: none; } }

/* the visual language: the home's own scene in a window, the stages taking turns on the hill */
.tx-scene { position: relative; margin: 2px 0 0; }
.tx-scene .lv { position: relative; width: 100%; aspect-ratio: 360 / 321; overflow: hidden; border-radius: 18px; box-shadow: 0 18px 36px -22px rgba(0, 20, 16, .6), 0 0 0 1px rgba(255, 255, 255, .08); direction: ltr; }
.lv--top .lv-in { height: 321px; }

/* the scene starts below the phone's status bar: an illustration, not a screen */
.tx-scene .lv { aspect-ratio: 360 / 254; }
.tx-scene .lv-in { top: calc(-78px * var(--k, 1)); }

/* phones (Daniel, 2026-11-02: the screens were huge): the live home and the 2027 phone at a phone's own size */
@media (max-width: 700px) {
  .tx-demo .tx-device { width: min(72vw, 270px); }
  .tx-device--27 { width: min(72vw, 270px); margin-inline: auto; }
  .tx-fan { max-width: 360px; }
  .tx-seg { max-width: 100%; }
}
