/* markiz landing page: the owner's design canvas (2026-11-18), its look as it is, in Inbar's palette and the canvas's own
   shades of it. The brand's fonts (branding/fonts) at the canvas's weights, up to 700. Right to left, logical properties.
   How it works and the motion at the end come from the first landing page (owner: "the animations in the steps, and
   animations in general"). */

/* The brand's variable fonts, declared here for 400 to 700 (branding/tokens/fonts.css stops at 600). The web files
   first (branding/fonts/web: the same fonts, compressed and cut to the letters each one serves here), the full ones
   after, for a browser without WOFF2. */
@font-face {
  font-family: 'Noto Sans Hebrew';
  src: url('../branding/fonts/web/NotoSansHebrew-Variable-hebrew.woff2') format('woff2'),
       url('../branding/fonts/NotoSansHebrew-Variable.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Inter';
  src: url('../branding/fonts/web/Inter-Variable-latin.woff2') format('woff2'),
       url('../branding/fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AA, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Arabic (owner, 2026-11-27): the brand's fonts have no Arabic letters, so the Arabic page (ar/) takes Noto Sans Arabic,
   the Hebrew face's sibling (open license, landing/fonts/OFL-NotoSansArabic.txt), cut to the Arabic letters. Digits and
   Latin stay in Inter, Hebrew (the app's screens) in Noto Sans Hebrew. */
@font-face {
  font-family: 'Noto Sans Arabic';
  src: url('fonts/NotoSansArabic-Variable-arabic.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  /* Inbar's palette (the names the scenes use too) */
  --bg: #FCFBF9;          /* cream: the page */
  --tile: #F0EEE9;        /* How it works' ground, hairlines in cards */
  --tile-on: #E6EEE7;     /* pale green tint */
  --text: #1F2622;        /* charcoal green: words, titles */
  --text-2: #6E736F;
  --accent: #234A3D;      /* forest: links */
  --btn: #2D5A48;         /* the filled button, green titles */
  --green: #3B7558;       /* published */
  --line: #E4E1DB;        /* hairlines */
  --amber: #D99A3D;
  --amber-soft: #FBF1E2;
  --amber-line: #EED3A8;
  --amber-ink: #8A5712;   /* amber words on light grounds */
  --amber-deep: #2E1F08;
  --mark-back: #1B3A32;   /* the logo's deep green: the problem, the contact, the footer */
  --on-green-2: color-mix(in srgb, var(--tile-on) 75%, var(--accent));
  /* The canvas's own shades */
  --body: #3F4540;        /* running text on cream and white */
  --muted: #5F655F;       /* small notes */
  --faint: #A3A19B;       /* past days in the sample week */
  --hair: #ECE9E3;
  --chip-line: #E1DED8;
  --field-line: #8C887F;  /* field borders, the menu's switches: 3.5:1 on white (non-text contrast) */
  --deep-line: #3C5E52;   /* hairlines on the deep green */
  --on-deep: #DCE5DF;     /* words on the deep green */
  --on-deep-2: #C9D6CE;
  --amber-on-deep: #E9B766;
  --amber-body: #5E4520;  /* words on the amber tint */
  --shadow-1: 0 1px 2px rgba(31, 38, 34, .05), 0 3px 10px rgba(31, 38, 34, .05);

  --font-he: 'Noto Sans Hebrew', 'Inter', 'Arial Hebrew', Arial, sans-serif; /* digits and punctuation in Inter */
  --font-latin: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}
:root:lang(ar) { --font-he: 'Noto Sans Arabic', 'Noto Sans Hebrew', 'Inter', Tahoma, sans-serif; }
/* Arabic letters join: tightened headings would pull them apart. */
:lang(ar) { letter-spacing: normal !important; }
/* and their marks (shadda, tanween) sit above and below the letters: tight headings would let them touch the next line. */
:root:lang(ar) :is(h1, h2, h3):lang(ar) { line-height: 1.35; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font-he); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--mark-back); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.problem :focus-visible, .contact-text :focus-visible, .foot :focus-visible { outline-color: #FFFFFF; }
/* Fixed at the bottom: what has the focus scrolls clear of the buttons there. */
html { scroll-padding-bottom: 104px; }
.latin { font-family: var(--font-latin); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 16px; top: 12px; z-index: 7; background: var(--bg); padding: 8px 12px; border-radius: 8px; }
/* Words for screen readers only. */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
p, li, h2, h3 { text-wrap: pretty; }

/* Section titles, one size across the page. */
.big { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
/* A detail still to fill in. */
.ph { border: 1.5px dashed var(--amber-ink); color: var(--amber-ink); border-radius: 8px; padding: 2px 10px; font-weight: 500; }
.icon-stroke, .thumb svg, .idea-head svg, .approve svg, .chip svg, .ticks svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
/* Stays at the top while the page scrolls (owner, 2026-11-26). landing.js keeps --head at its height, for How it works
   and for where a link or the focus lands under it. */
.top { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 0 24px; border-bottom: 1px solid var(--line); }
html { scroll-padding-top: calc(var(--head, 80px) + 8px); }
.top-in { max-width: 1160px; margin: 0 auto; min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); }
.brand img { width: 34px; height: 34px; }
.brand span { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav .nav-cta { background: var(--btn); color: #FFFFFF; padding: 11px 20px; border-radius: 10px; font-weight: 600; }

/* Languages (owner, 2026-11-26): the flag of the page's language and "Language"; it opens the languages, each a page of
   its own. A <details>, so it opens without the script too; lang.js closes it on Escape or a click elsewhere. */
/* A quiet pill: a round flag, the word, a small chevron that turns when open. The list: round flags, the current
   language checked. */
.lang { position: relative; font-size: 14px; font-weight: 600; }
.lang summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--text); cursor: pointer; list-style: none; user-select: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; flex: none; width: 6px; height: 6px; margin-inline-start: 2px; border-right: 1.75px solid var(--text-2); border-bottom: 1.75px solid var(--text-2); transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease); }
.lang[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang summary:hover, .lang[open] summary { border-color: var(--field-line); box-shadow: var(--shadow-1); }
.flag { flex: none; width: 26px; height: 26px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px rgba(31, 38, 34, .14); }
.flag[src$="us.svg"] { object-position: 0 50%; } /* the stars show */
.lang-list { position: absolute; z-index: 1; top: calc(100% + 8px); inset-inline-end: 0; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(31, 38, 34, .16); }
.lang-list a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px 0 10px; border-radius: 10px; color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; }
.lang-list a:hover { background: var(--tile); color: var(--text); }
.lang-list a[aria-current] { background: var(--tile-on); color: var(--accent); font-weight: 600; }
.lang-list a[aria-current]::after { content: ""; width: 5px; height: 10px; margin-inline-start: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }

/* On a phone (and a narrow tablet) the bar is one line: the mark, the app and the languages. Leaving details is at hand
   below (.reach). */
/* French and Spanish words are longer: on a small computer the bar tightens to stay one line. */
@media (min-width: 980px) and (max-width: 1199px) {
  :root:is(:lang(fr), :lang(es)) .top-in { column-gap: 16px; }
  :root:is(:lang(fr), :lang(es)) .nav { column-gap: 16px; font-size: 14px; }
}
@media (max-width: 979px) {
  .top-in { flex-wrap: nowrap; min-height: 60px; padding: 8px 0; gap: 12px; }
  .top { padding: 0 16px; }
  .nav { flex-wrap: nowrap; gap: 16px; }
  .nav > a:not(.nav-app) { display: none; }
  .nav-app { white-space: nowrap; }
}
/* Where the bar can't hold the name too (a small phone, or larger text), the mark alone stands for it; the name stays
   the link's accessible name. */
@media (max-width: 359px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 459px) {
  html.a11y-text .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 420px) {
  .lang .lang-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .lang summary { padding: 0 12px 0 8px; }
}

/* ---------- the opening ---------- */
.hero { background: var(--bg); padding: 72px 24px 96px; }
.hero-in { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 56px 48px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-weight: 600; color: var(--amber-ink); }
.eyebrow .dot { color: var(--amber); }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; color: var(--text); }
.hero h1 span { color: var(--btn); }
.hero-lead { max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--body); }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.button { text-decoration: none; background: var(--btn); color: #FFFFFF; padding: 16px 30px; border-radius: 12px; font-size: 18px; font-weight: 600; transition: filter 160ms ease, transform 160ms ease; }
.button:hover { color: #FFFFFF; filter: brightness(1.1); }
.button:active { transform: translateY(1px); }
.hero-act .note { font-size: 15px; color: var(--muted); }

/* The app, with a sample business. */
.mock-wrap { flex: 0 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.mock { position: relative; width: 100%; height: 600px; }
.phone { position: absolute; top: 0; inset-inline-start: 0; width: 292px; height: 580px; border: 9px solid var(--text); border-radius: 42px; background: var(--bg); overflow: hidden; box-shadow: 0 30px 60px rgba(31, 38, 34, .18); }
.phone-in { padding: 26px 18px 0; display: flex; flex-direction: column; gap: 16px; }
.app-brand { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 15px; font-weight: 600; }
.app-brand img { width: 22px; height: 22px; }
.greet { display: flex; flex-direction: column; gap: 2px; }
.greet .date { font-size: 12px; font-weight: 500; color: var(--amber-ink); }
.greet .hello { font-size: 25px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.week { display: flex; flex-direction: column; gap: 8px; }
.week > span { font-size: 14px; font-weight: 600; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; background: #FFFFFF; border-radius: 14px; box-shadow: var(--shadow-1); padding: 6px 4px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; color: var(--faint); }
.day .l { font-size: 10px; }
.day .n { font-family: var(--font-latin); font-size: 14px; }
.day i { width: 5px; height: 5px; border-radius: 50%; }
.day i.past { background: var(--line); }
.day i.due { background: var(--amber); }
.day.today { border-radius: 10px; background: var(--tile-on); color: var(--accent); font-weight: 600; }
.day.next { color: var(--text); }
.day.next .l { color: var(--text-2); }
.feed { background: #FFFFFF; border-radius: 14px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.feed-item { display: flex; gap: 10px; padding: 12px; }
.feed-item + .feed-item { border-top: 1px solid var(--tile); }
.thumb { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--tile-on); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.thumb svg { width: 18px; height: 18px; stroke-width: 1.75; }
.feed-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feed-text > span:first-child { font-size: 12.5px; line-height: 1.45; }
.status { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.status.out { color: var(--accent); }
.status.out i { background: var(--green); }
.stat { position: absolute; top: 44px; inset-inline-end: 0; width: 196px; background: #FFFFFF; border-radius: 16px; padding: 16px; box-shadow: 0 18px 40px rgba(31, 38, 34, .14); display: flex; flex-direction: column; gap: 2px; }
.stat .k, .stat .when { font-size: 12.5px; color: var(--muted); }
.stat .when { font-size: 11.5px; }
.stat .v { font-family: var(--font-latin); font-variant-numeric: tabular-nums; font-size: 30px; line-height: 1.15; font-weight: 500; color: var(--text); }
.idea { position: absolute; bottom: 0; inset-inline-end: 0; width: 262px; background: #FFFFFF; border-radius: 18px; padding: 18px; box-shadow: 0 24px 50px rgba(31, 38, 34, .2); display: flex; flex-direction: column; gap: 12px; }
.idea-head { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--amber-ink); }
.idea-head svg { width: 16px; height: 16px; flex: none; stroke-width: 1.75; }
.idea-text { font-size: 14.5px; line-height: 1.55; }
.idea-act { display: flex; align-items: center; gap: 14px; }
.approve { background: var(--btn); color: #FFFFFF; font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 10px; display: flex; align-items: center; gap: 6px; }
.approve svg { width: 15px; height: 15px; stroke-width: 2.2; }
.later { font-size: 13.5px; color: var(--muted); }
.mock-note { font-size: 13px; color: var(--muted); }

/* ---------- the problem, on the deep green ---------- */
.problem { background: var(--mark-back); color: var(--bg); padding: 96px 24px; }
.problem-in { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.problem-head { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.problem-head p { font-size: 19px; line-height: 1.65; color: var(--on-deep-2); max-width: 36em; }
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 48px; }
/* The line above each column is drawn, so that with motion it can draw itself from the start of the line. */
.pain { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 0; }
.pain::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: var(--deep-line); transform-origin: 100% 50%; }
[dir="ltr"] .pain::before { transform-origin: 0 50%; }
.pain h3 { font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--amber-on-deep); }
.pain p { color: var(--on-deep); }

/* ---------- the decisions and the work ---------- */
.way { background: var(--bg); padding: 96px 24px; }
.way-in { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.way-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.way-head p { font-size: 19px; color: var(--body); max-width: 34em; }
.sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.side { border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.side.yours { background: #FFFFFF; border: 1px solid var(--line); }
.side.its { background: var(--tile-on); }
.side-head { display: flex; flex-direction: column; gap: 4px; }
.side-head span { font-size: 14px; font-weight: 600; color: var(--amber-ink); }
.side.its .side-head span { color: var(--accent); }
.side h3 { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.ticks { padding: 0; list-style: none; font-size: 18px; }
.yours .ticks { display: flex; flex-direction: column; gap: 14px; }
.yours .ticks li { display: flex; gap: 12px; }
.yours .ticks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 11px; border-radius: 50%; background: var(--amber); }
.its .ticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px 24px; }
.its .ticks li { display: flex; gap: 10px; }
.its .ticks svg { flex: none; width: 20px; height: 20px; margin-top: 5px; stroke: var(--btn); stroke-width: 2.2; }

/* ---------- three steps ----------
   As the canvas has them: three white cards side by side on the warm grey, a large amber number, the words and a small
   piece of the app. That is how the page is without the script, and with less motion asked for or a short screen
   (`stills`). With motion and a tall enough screen (`scrolly`, landing.js) the section holds the screen while the page
   scrolls on: the step cards on the right (under the scene on a phone), the current one open, the others quiet; its
   scene (scenes.js) in a large white card beside them. */
.how { background: var(--tile); }
.how-band { padding: 96px 24px; }
.how-in { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.steps { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.step { background: #FFFFFF; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.step .num { font-family: var(--font-latin); font-size: 64px; line-height: 1; font-weight: 600; color: var(--amber-ink); }
.step h3 { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; margin-block-end: -12px; }
.step p { color: var(--body); }
.more, .more-in { display: contents; }
.step-ui { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.chip { background: #FFFFFF; font-size: 14px; padding: 9px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--chip-line); }
.chip.on { display: flex; align-items: center; gap: 6px; background: var(--tile-on); color: var(--accent); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--btn); }
.chip svg { width: 14px; height: 14px; stroke-width: 2.4; }
.mini { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.mini .when { font-size: 13px; font-weight: 600; color: var(--amber-ink); }
.mini .what { font-size: 14.5px; line-height: 1.5; }
.sched { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; display: flex; flex-direction: column; }
.sched > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; }
.sched > span + span { border-top: 1px solid var(--hair); }
.sched .status { font-size: 14px; }
.sched .status i { width: 7px; height: 7px; }
.how-stages { display: none; }

.how.scrolly .how-band { position: sticky; top: var(--head, 0px); height: calc(100svh - var(--head, 0px)); display: grid; align-items: center; padding: 16px 24px; }
.how.scrolly .how-in { gap: 24px; inline-size: 100%; }
.how.scrolly .how-body { display: grid; gap: 16px; }
.how.scrolly .how-stages { display: block; position: relative; order: -1; box-sizing: content-box; aspect-ratio: 560 / 400; padding: 14px; inline-size: min(100% - 28px, calc((100svh - var(--head, 0px) - 390px) * 1.4)); justify-self: center; background: #FFFFFF; border-radius: 20px; }
.how-stage { position: absolute; inset: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
/* The current scene; the others fade out and then leave entirely, so nothing invisible lies over it. */
.how-stage.current { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease), visibility 0s; }
.how.scrolly .steps { grid-template-columns: none; gap: 10px; }
.how.scrolly .step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 18px; gap: 0 14px; opacity: 0.7; transition: opacity 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.how.scrolly .step.current { opacity: 1; box-shadow: 0 14px 34px rgba(31, 38, 34, .10); }
.how.scrolly .step .num { font-size: 30px; min-inline-size: 22px; text-align: center; }
.how.scrolly .step h3 { font-size: 19px; line-height: 1.3; margin: 0; }
.how.scrolly .more { display: grid; grid-column: 1 / -1; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.how.scrolly .step.current .more { grid-template-rows: 1fr; }
.how.scrolly .more-in { display: flex; flex-direction: column; gap: 14px; overflow: hidden; min-block-size: 0; }
.how.scrolly .more-in > p { padding-block-start: 8px; font-size: 16px; line-height: 1.55; }
.how.scrolly .step-ui { display: none; }
@media (max-width: 899px) and (max-height: 700px) {
  /* A short phone: a smaller title and tighter cards, so the open step still fits under the scene. */
  .how.scrolly .how-in { gap: 14px; }
  .how.scrolly .how-in h2 { font-size: 26px; }
  .how.scrolly .steps { gap: 8px; }
  .how.scrolly .step { padding: 10px 14px; }
}
@media (min-width: 900px) {
  /* On a computer: the step cards on the right, the scene as large as the screen allows on the left. */
  .how.scrolly .how-band { padding: 24px; }
  .how.scrolly .how-in { gap: 32px; }
  .how.scrolly .how-body { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); column-gap: 48px; align-items: center; }
  .how.scrolly .how-stages { order: 0; padding: 20px; inline-size: min(100% - 40px, calc((100svh - var(--head, 0px) - 280px) * 1.4)); }
  .how.scrolly .how-stage { inset: 20px; }
  .how.scrolly .steps { gap: 14px; }
  .how.scrolly .step { padding: 22px 26px; }
  .how.scrolly .step .num { font-size: 44px; min-inline-size: 30px; }
  .how.scrolly .step h3 { font-size: 22px; }
  .how.scrolly .more-in > p { font-size: 17px; }
  .how.scrolly .step-ui { display: flex; margin: 0; }
  .how.scrolly .step-ui.chips { padding-top: 0; }
}

/* ---------- what stays with the owner ---------- */
.save { background: var(--bg); padding: 96px 24px; }
.save-in { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 56px 72px; }
.save-main { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row h3 { flex: 0 0 110px; font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--btn); }
.row p { flex: 1 1 260px; color: var(--body); }
.dict { flex: 1 1 400px; min-width: 0; background: var(--amber-soft); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 24px; align-self: flex-start; }
.dict-head { display: flex; flex-direction: column; gap: 6px; }
.dict h3 { font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--amber-deep); }
.dict-head p { font-size: 16px; color: var(--amber-body); }
.terms { display: flex; flex-direction: column; font-size: 17px; }
.term { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--amber-line); }
.term .en { position: relative; font-family: var(--font-latin); font-size: 14px; font-weight: 500; color: var(--amber-ink); text-decoration: line-through; }
.term .he { font-weight: 600; color: var(--amber-deep); }

/* ---------- early days ---------- */
.early { background: var(--tile-on); padding: 88px 24px; }
.early-in { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.early h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; color: var(--mark-back); }
.early p { font-size: 20px; line-height: 1.7; color: var(--text); }
.early .sign { font-size: 16px; font-weight: 600; color: var(--accent); }
.early .sign .ph { padding: 3px 10px; }

/* ---------- questions ---------- */
.faq { background: var(--bg); padding: 96px 24px; }
.faq-in { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.qs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 0 64px; }
.q { display: flex; flex-direction: column; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line); }
.q h3 { font-size: 20px; line-height: 1.35; font-weight: 600; }
.q p { color: var(--body); }

/* ---------- leaving details, and the footer ---------- */
.contact { background: var(--mark-back); color: var(--bg); padding: 96px 24px 88px; }
.contact-in { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.contact-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; }
.contact-text p { font-size: 19px; line-height: 1.65; color: var(--on-deep-2); max-width: 30em; }
/* Starting alone, in the app (owner, 2026-11-18): sign-in and sign-up are one path there. */
.contact-text .self { font-size: 17px; color: var(--on-deep); }
.contact-text .self a { color: var(--bg); font-weight: 600; text-underline-offset: 4px; }
.contact-text .self a:hover { color: #FFFFFF; }
.lead-form { flex: 1 1 400px; min-width: 0; background: var(--bg); color: var(--text); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input { height: 52px; border: 1px solid var(--field-line); border-radius: 12px; background: #FFFFFF; padding: 0 16px; font: inherit; color: inherit; }
.field input[type="tel"] { text-align: right; }
[dir="ltr"] .field input[type="tel"] { text-align: left; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input[aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.send { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 12px; background: var(--btn); color: #FFFFFF; font-size: 18px; font-weight: 600; text-decoration: none; transition: filter 160ms ease, transform 160ms ease; }
.send:hover { color: #FFFFFF; filter: brightness(1.1); }
.send:active { transform: translateY(1px); }
.form-note { font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
/* What's missing, in words and in ink (brand: no red). */
.form-error { font-size: 15px; font-weight: 600; color: var(--text); }
.form-error:empty { display: none; }

/* On a phone: talk to us on WhatsApp, always at hand once the opening is past (landing.js adds `on`). Without the script
   it stays away; the form and the header's button are there. */
.reach { position: fixed; z-index: 4; inset-inline: 16px 82px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 20px; border-radius: 14px; background: var(--btn); color: #FFFFFF; font-size: 17px; font-weight: 600; text-decoration: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 12px 30px rgba(27, 58, 50, .28); visibility: hidden; opacity: 0; transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s; }
.reach.on { visibility: visible; opacity: 1; transition: opacity 0.3s var(--ease), visibility 0s; }
.reach:focus-visible { box-shadow: 0 0 0 2px var(--bg), 0 12px 30px rgba(27, 58, 50, .28); }
.reach:hover { color: #FFFFFF; }
.reach svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; }
@media (min-width: 980px) { .reach { display: none; } } /* below it the bar drops "להשאיר פרטים" (the header) */

.foot { background: var(--mark-back); color: var(--on-deep-2); padding: 0 24px 96px; }
.foot-in { max-width: 1160px; margin: 0 auto; border-top: 1px solid var(--deep-line); padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; font-size: 14px; }
.foot .name { font-size: 18px; font-weight: 700; color: var(--bg); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--on-deep-2); }
.foot a:hover { color: #FFFFFF; }

/* ---------- the accessibility statement (accessibility.html) ---------- */
.doc { background: var(--bg); padding: 64px 24px 96px; }
.doc-in { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.doc-head { display: flex; flex-direction: column; gap: 12px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.doc .updated { font-size: 15px; color: var(--muted); }
.doc section { display: flex; flex-direction: column; gap: 12px; }
.doc h2 { font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc li::marker { color: var(--amber); }
.doc .ask { background: var(--tile-on); border-radius: 20px; padding: 28px; }
.doc .ask p { color: var(--text); }
.doc .back { font-weight: 600; }

/* ---------- accessibility ----------
   The menu (a11y.js; owner, 2026-11-18): a round button in the bottom corner, its panel above it. The choices are
   classes on <html>: larger text (the page at 120%; How it works becomes the cards), higher contrast (every soft grey
   to the text's colour, stronger lines), no motion (nothing moves; with `js` off everything is simply there), links
   marked. */
.a11y { position: fixed; z-index: 6; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.a11y-open { width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; background: var(--mark-back); color: #FFFFFF; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 2px var(--bg), 0 8px 22px rgba(27, 58, 50, .3); }
.a11y svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.a11y-open svg { width: 28px; height: 28px; }
.a11y-open svg circle { fill: currentColor; stroke: none; }
.a11y-panel { position: absolute; bottom: 64px; inset-inline-end: 0; width: min(300px, calc(100vw - 32px)); background: #FFFFFF; color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(31, 38, 34, .22); padding: 14px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.4; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; padding-inline-start: 4px; font-size: 18px; font-weight: 700; }
.a11y-close { width: 44px; height: 44px; border: 0; padding: 0; border-radius: 10px; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.a11y-close:hover { background: var(--tile); }
.a11y-close svg { width: 20px; height: 20px; }
.a11y-list { display: flex; flex-direction: column; gap: 8px; }
.a11y-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-weight: 600; text-align: start; cursor: pointer; }
.a11y-choice i { position: relative; flex: none; width: 42px; height: 24px; border-radius: 12px; background: var(--field-line); }
.a11y-choice i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.a11y-choice[aria-pressed="true"] { border-color: var(--btn); background: var(--tile-on); }
.a11y-choice[aria-pressed="true"] i { background: var(--btn); }
.a11y-choice[aria-pressed="true"] i::after { inset-inline-start: 21px; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 0; font-size: 15px; }
.a11y-reset { border: 0; padding: 10px 0; background: transparent; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.a11y-foot a { padding: 10px 0; font-weight: 600; text-underline-offset: 3px; }

/* Larger text: the page's content at 120%; the buttons fixed at the bottom stay as they are, so they keep to the screen. */
html.a11y-text :is(.top, main, .foot) { zoom: 1.2; }
/* The app's picture in the opening keeps its size: it's a drawing of a phone, fixed in width, and enlarged it would be
   wider than a narrow screen. */
html.a11y-text .mock { zoom: 0.8334; }
/* With larger text the opening's side margins stay at 16px, so the picture still fits a 320px screen. */
html.a11y-text .hero { padding-inline: 16px; }
html.a11y-contrast {
  --body: var(--text); --muted: var(--text); --text-2: var(--text); --faint: #4A4F4C;
  --on-deep: #FFFFFF; --on-deep-2: #FFFFFF; --amber-on-deep: #F6CF8E; --amber-ink: #6B420B; --amber-body: var(--amber-deep);
  --line: #8F8B84; --hair: #A9A59D; --chip-line: #8F8B84; --field-line: #6E6A63; --deep-line: #8FB3A4;
}
html.a11y-contrast .how.scrolly .step { opacity: 1; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-links a:not(.button, .send, .nav-cta, .reach) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; }
html.a11y-links :is(.button, .send, .nav-cta, .reach) { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- motion ----------
   From the first landing page (owner, 2026-11-16/17): quiet, and once, gentle enough not to put off someone wary of
   technology. The opening plays as the page opens: the words, then the phone, its week day by day, its posts, the views
   counting up (landing.js) and an idea waiting for a yes. Everything else arrives as it comes into view, a short rise,
   groups one item after another: the three problems follow the scroll and their lines draw, the work's checks draw,
   the dictionary crosses out each English word and gives its Hebrew. How it works follows the scroll step by step (its
   own part, above). All of it is off for anyone whose device asks for less motion, and without the script
   (landing.js, which adds `in`) everything is simply there. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  @keyframes rise { from { opacity: 0; translate: 0 14px; } }
  @keyframes rise-far { from { opacity: 0; translate: 0 32px; } }
  @keyframes pop { from { opacity: 0; scale: 0.85; } }
  @keyframes fade { from { opacity: 0; } }
  /* Strokes with pathLength="1"; the gap of 2 keeps a round cap from showing at either end before it draws. */
  @keyframes draw {
    from { stroke-dasharray: 1 2; stroke-dashoffset: 1; opacity: 0; }
    15% { opacity: 1; }
    to { stroke-dasharray: 1 2; stroke-dashoffset: 0; }
  }
  @keyframes breathe {
    from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--amber) 55%, transparent); }
    70%, to { box-shadow: 0 0 0 6px color-mix(in srgb, var(--amber) 0%, transparent); }
  }
  @keyframes nudge {
    from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--btn) 45%, transparent); }
    70%, to { box-shadow: 0 0 0 9px color-mix(in srgb, var(--btn) 0%, transparent); }
  }

  /* The opening, as the page opens. */
  .hero-text > * { animation: rise 0.9s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.1s; }
  .hero-text > :nth-child(3) { animation-delay: 0.2s; }
  .hero-text > :nth-child(4) { animation-delay: 0.3s; }
  .phone { animation: rise-far 1s var(--ease) 0.25s both; }
  .day { animation: rise 0.5s var(--ease) calc(0.85s + var(--i, 0) * 70ms) both; }
  .feed-item { animation: rise 0.7s var(--ease) 1.4s both; }
  .feed-item + .feed-item { animation-delay: 1.55s; }
  .stat { animation: pop 0.6s var(--ease) 1.2s both; }
  .idea { animation: rise-far 0.9s var(--ease) 1.9s both; }
  .idea-text { animation: fade 0.8s ease 2.4s both; }
  .idea-act { animation: fade 0.6s ease 2.7s both; }
  .approve { animation: nudge 2.2s ease-out 3.3s 2; }
  .day i.due, .feed .status.due i { animation: breathe 2.8s ease-out 2.6s 3; }

  /* Arriving: out of sight until in view, then a short rise. A group's items wait their turn (--d, from landing.js). */
  .js [data-reveal]:not([data-reveal="stagger"], [data-reveal="scroll"]):not(.in),
  .js [data-reveal="stagger"]:not(.in) > * { opacity: 0; translate: 0 18px; }
  [data-reveal]:not([data-reveal="stagger"], [data-reveal="scroll"]),
  [data-reveal="stagger"] > * {
    transition: opacity 0.9s var(--ease) var(--d, 0s), translate 0.9s var(--ease) var(--d, 0s);
  }

  /* The three problems follow the scroll (landing.js sets --a --b --c --e, 0 to 1): the column comes up, its line draws
     from the start, then its title and its words; scrolling up takes them back. */
  .js [data-reveal="scroll"] > * { opacity: var(--a, 0); translate: 0 calc((1 - var(--a, 0)) * 36px); }
  .js [data-reveal="scroll"] > * > h3 { opacity: var(--b, 0); translate: 0 calc((1 - var(--b, 0)) * 10px); }
  .js [data-reveal="scroll"] > * > p { opacity: var(--c, 0); translate: 0 calc((1 - var(--c, 0)) * 10px); }
  .js .pains .pain::before { scale: var(--e, 0) 1; }

  /* The decisions' dots pop and the work's checks draw, one by one. */
  .yours .ticks.in li::before { animation: pop 0.5s var(--ease) calc(var(--d, 0s) + 0.2s) backwards; }
  .its .ticks.in svg path { animation: draw 0.7s var(--ease) calc(var(--d, 0s) + 0.25s) backwards; }

  /* The dictionary: each English word is crossed out as its row comes, and its Hebrew follows. */
  .js .terms .en { text-decoration: none; }
  .js .terms .en::after { content: ""; position: absolute; inset-inline: -2px; top: 52%; height: 1.5px; border-radius: 1px; background: currentColor; transform-origin: 0 50%; scale: 0 1; transition: scale 0.5s var(--ease) calc(var(--d, 0s) + 0.5s); }
  .js .terms.in .en::after { scale: 1 1; }
  .js .terms:not(.in) .he { opacity: 0; translate: 10px 0; }
  /* The button at hand comes up a little as it appears. */
  .reach { translate: 0 14px; transition: opacity 0.3s var(--ease), translate 0.3s var(--ease), visibility 0s linear 0.3s; }
  .reach.on { translate: 0 0; transition: opacity 0.3s var(--ease), translate 0.3s var(--ease), visibility 0s; }

  .terms .he { transition: opacity 0.6s var(--ease) calc(var(--d, 0s) + 0.85s), translate 0.6s var(--ease) calc(var(--d, 0s) + 0.85s); }
}
