/* ShrirWise: one stylesheet for all five pages. Night look only, so the colours are set once.
   <body> says which page it is: "home", "about", or "doc" (the statement and the two legal pages).
   A rule only one kind of page needs is written under :where(.home), :where(.about) or :where(.doc).
   :where adds no weight to a rule, so, as everywhere in this file, of two equal rules the later one wins. */

@font-face { font-family: 'Noto Sans Hebrew'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url(fonts/noto-sans-hebrew-v50-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Noto Sans Hebrew'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url(fonts/noto-sans-hebrew-v50-latin.woff2) format('woff2');
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

:root {
  color-scheme: dark;
  --bg-top: #0C1430; --bg-deep: #080E22;
  --ink: #FFFFFF; --muted: #A7B4CF; --accent: #62DDD7; --note: #8FA0C4;
  --glow-teal: rgba(53,198,192,.30); --glow-blue: rgba(45,81,184,.62); --glow-blue-2: rgba(45,81,184,.30);
  --dot: rgba(255,255,255,.55); --ring: rgba(255,255,255,.09); --cast: rgba(1,4,16,.62);
  --btn-bg: #FFFFFF; --btn-ink: #16307C; --btn2-bg: rgba(255,255,255,.07); --btn2-line: rgba(255,255,255,.22);
  --chip-bg: rgba(242,169,78,.18); --chip-ink: #F7BD72;
  --rail: rgba(255,255,255,.25); --hair: rgba(255,255,255,.12);
  --card: rgba(255,255,255,.04); --pro-col: rgba(98,221,215,.08); --nav-solid: rgba(8,14,34,.84); --pill-bg: rgba(8,14,34,.5);
  --flat-frame: #3E4F86; --flat-glass: #05070D;
  --slot-line: rgba(255,255,255,.26); --slot-bg: rgba(255,255,255,.025); --slot-bar: rgba(255,255,255,.075);
  --frame-a: #22398A; --frame-b: #101B49; --frame-figure: rgba(255,255,255,.13); --frame-shadow: rgba(1,4,16,.5);
  --font: 'Noto Sans Hebrew', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
.about { --glow-teal: rgba(53,198,192,.26); }
.doc { --slot-line: rgba(255,255,255,.3); }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; } /* whatever the keyboard or a link scrolls to stays clear of the fixed top bar */
body { background: var(--bg-deep); color: var(--ink); font-family: var(--font); font-size: 16px; -webkit-font-smoothing: antialiased; }
h1, h2 { font-weight: 800; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--accent); }

/* ---------- accessibility basics: skip links, text for screen readers only, a clear keyboard focus ---------- */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip {
  position: fixed; z-index: 40; top: calc(env(safe-area-inset-top, 0px) + 10px); inset-inline-start: 16px;
  padding: 11px 18px 12px; border-radius: 12px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 700; text-decoration: none;
  transform: translateY(-260%);
}
.skip:focus { transform: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus, .band:focus { outline: none; } /* places a skip leads to: they take the keyboard's place, not its mark */

/* ---------- top bar: logo, אודות, then a button for each store ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: clamp(10px, 1.7vw, 26px);
  padding-top: calc(env(safe-area-inset-top, 0px) + 16px); padding-bottom: 12px;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  border-bottom: 1px solid transparent; transition: background-color .3s ease, border-color .3s ease;
}
.nav.solid { background: var(--nav-solid); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--hair); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 800; font-size: 24px; color: inherit; text-decoration: none; border-radius: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 8px 22px rgba(4,20,60,.35); }
.brand span { direction: ltr; }
.links { display: flex; align-items: center; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 17px; border-radius: 10px; transition: color .2s ease; }
.links a:hover, .links a[aria-current] { color: var(--ink); }
.links a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 7px; } /* the current page is not marked by colour alone */
.get { display: flex; align-items: center; gap: 8px; }
.pill {
  display: flex; flex-direction: column; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 4px 15px 5px;
  border-radius: 13px; background: var(--pill-bg); border: 1.5px solid var(--btn2-line); color: var(--ink); text-decoration: none; line-height: 1.22; white-space: nowrap;
}
.pill small { font-size: 11px; font-weight: 500; color: var(--muted); }
.pill b { font-size: 14.5px; font-weight: 700; direction: ltr; text-align: right; }
@media (min-width: 860px) { .nav { padding-right: max(clamp(40px, 4.4vw, 64px), env(safe-area-inset-right, 0px)); } }
@media (max-width: 859px) {
  .nav { padding-top: calc(env(safe-area-inset-top, 0px) + 10px); padding-bottom: 8px; gap: 8px; }
  .brand { font-size: 19px; gap: 9px; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .links a { font-size: 15px; padding: 0 7px; }
  .get { margin-inline-start: auto; gap: 6px; }
  .pill { min-height: 40px; padding: 3px 11px 4px; border-radius: 11px; }
  .pill small { font-size: 10px; }
  .pill b { font-size: 13px; }
  /* a phone needs only its own store's button */
  .page[data-os='play'] .nav .pill.apple, .page[data-os='apple'] .nav .pill.play { display: none; }
}
@media (max-width: 519px) { .page:not([data-os]) .brand span { display: none; } }
@media (max-width: 519px) { .links .wide-only { display: none; } } /* a phone has no room for שאלות נפוצות in the bar (owner, 2026-11-27): it is in the list of pages at the bottom */ /* both buttons on a narrow screen: the logo stands alone */
@media (max-width: 359px) { /* 320px wide, the narrowest screen the rules ask for: everything still fits */
  .brand span { display: none; }
  .nav { gap: 6px; }
  .links a { padding: 0 5px; }
  .get { gap: 5px; }
  .pill { padding-left: 8px; padding-right: 8px; }
}
@media (max-height: 430px) { .nav { position: absolute; } } /* a short screen (a zoomed display, a phone on its side): the bar scrolls away and leaves the room to the page */

/* ==================== home page ====================
   One tall "story"; inside it a sticky full-screen stage (background, the phone, the words of the current stop).
   Scrolling turns the phone and swaps the words. Plain sections follow, then support at the very bottom. */

/* ---------- the stage ---------- */
.story { position: relative; height: 975vh; height: calc((1 + (var(--stops, 8) - 1) * var(--per, 1.25)) * 100svh); height: calc((1 + (var(--stops, 8) - 1) * var(--per, 1.25)) * 100lvh); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; height: 100dvh; overflow: hidden; --cx: 25.5%; --cy: 50%; --ph: 82vh; }
/* The stage is the screen as the visitor sees it: on a phone it grows when the browser hides its
   address bar, and stage.js fits the phone and the words to it again (the probe measures it). */
.bg, .dots, .grain, .gl { position: absolute; inset: 0; }
.bg {
  background:
    radial-gradient(calc(var(--ph) * .84) calc(var(--ph) * .7) at var(--cx) var(--cy), var(--glow-teal), transparent 64%),
    radial-gradient(900px 720px at 10% 12%, var(--glow-blue), transparent 66%),
    radial-gradient(760px 620px at 96% 96%, var(--glow-blue-2), transparent 62%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-deep) 100%);
}
.dots {
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.5px);
  background-size: 30px 30px; opacity: .16;
  -webkit-mask-image: radial-gradient(calc(var(--ph) * 1.03) calc(var(--ph) * .87) at var(--cx) var(--cy), #000 0%, transparent 78%);
  mask-image: radial-gradient(calc(var(--ph) * 1.03) calc(var(--ph) * .87) at var(--cx) var(--cy), #000 0%, transparent 78%);
}
.ring { position: absolute; left: var(--cx); top: var(--cy); border-radius: 50%; border: 1.5px solid var(--ring); transform: translate(-50%, -50%); }
.ring.a { width: calc(var(--ph) * .76); height: calc(var(--ph) * .76); }
.ring.b { width: calc(var(--ph) * 1.08); height: calc(var(--ph) * 1.08); }
.ring.c { width: calc(var(--ph) * 1.44); height: calc(var(--ph) * 1.44); }
.cast {
  position: absolute; left: var(--cx); top: var(--cy); width: calc(var(--ph) * .346); height: calc(var(--ph) * .9);
  border-radius: 90px; background: var(--cast); filter: blur(calc(var(--ph) * .057));
  transform: translate(-50%, -50%) translate(calc(var(--ph) * .046), calc(var(--ph) * .07)) rotate(3deg);
}
.gl { width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.has3d .gl { opacity: 1; }
.grain {
  opacity: .5; mix-blend-mode: soft-light; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
/* Firefox blends the grain into the whole stage again on every frame of a scroll (about 12 frames
   a second). There the grain is laid on as it is, thin enough to give the same brightness and
   about the same fineness. */
@supports (-moz-appearance: none) { .grain { mix-blend-mode: normal; opacity: .07; } }

/* the flat phone: shown until the 3D one is ready, and where 3D cannot run */
.flat {
  position: absolute; left: var(--cx); top: var(--cy); height: var(--ph); aspect-ratio: 727 / 1552;
  transform: translate(-50%, -50%) perspective(1500px) rotateY(-15deg) rotateZ(2deg);
  border-radius: calc(var(--ph) * .083); background: var(--flat-glass);
  box-shadow: 0 0 0 calc(var(--ph) * .011) var(--flat-frame), 0 40px 90px rgba(1,4,16,.6);
  transition: opacity .5s ease;
}
.flat img { position: absolute; inset: 1.5% 3%; width: 94%; height: 97%; max-width: none; object-fit: cover; border-radius: calc(var(--ph) * .066); opacity: 0; transition: opacity .45s ease; }
.flat img.on { opacity: 1; }
.has3d .flat { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }

/* ---------- words ---------- */
/* The stage script changes these on every frame of a scroll. Nothing inside the element that
   carries them reads them, so they are not passed down: the browser then does not work out the
   styles of everything inside again on each frame. */
@property --o { syntax: '*'; inherits: false; }
@property --dy { syntax: '*'; inherits: false; }
.copy { position: absolute; opacity: var(--o, 0); pointer-events: none; will-change: transform, opacity; }
.copy.live { pointer-events: auto; }
.wide .copy { inset-inline-start: clamp(40px, 7.4vw, 120px); width: min(620px, 43vw); top: var(--wy, 50%); transform: translateY(calc(-50% + var(--dy, 0px))); }
.narrow .copy { inset-inline: 0; padding-left: var(--gutter-l); padding-right: var(--gutter-r); top: calc(var(--cy) + var(--ph) / 2 + 24px); transform: translateY(var(--dy, 0px)); }

:where(.home) h1 { font-size: clamp(37px, 6.3vw, 92px); line-height: 1.08; margin-bottom: .3em; } /* largest size stays within 2.5x the smallest, so zooming always enlarges it */
:where(.home) h2 { font-size: clamp(30px, 4.7vw, 68px); line-height: 1.12; margin-bottom: .32em; }
.sub { font-size: clamp(17px, 1.75vw, 25px); line-height: 1.5; font-weight: 500; margin: 0; color: var(--muted); max-width: 33ch; text-wrap: pretty; }
.hero .sub { margin-bottom: 1.5em; }
.free { margin: 14px 0 0; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.45; font-weight: 500; color: var(--muted); text-wrap: balance; } /* said on the first screen: the download is free, the adapting plan is Premium */
.fact { display: inline-block; margin: 1.1em 0 0; padding: 7px 16px 8px; border-radius: 999px; border: 1px solid var(--btn2-line); font-size: clamp(14px, 1.15vw, 17px); font-weight: 600; color: var(--ink); }
.fact b { color: var(--accent); font-weight: 800; }

/* the two large store buttons: in the opening, and in the closing call of the home page and of אודות */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 150px; padding: 11px 22px 13px; border-radius: 16px; box-sizing: border-box; flex: 0 1 204px; text-decoration: none; }
.store small { font-size: 13px; font-weight: 500; opacity: .78; }
.store b { font-size: clamp(18px, 1.6vw, 23px); font-weight: 700; direction: ltr; text-align: right; white-space: nowrap; }
.narrow .copy .stores { flex-wrap: nowrap; }
/* A short phone screen (a large screen zoom, the browser's bars): the opening is a little more
   compact, so the phone above it can still be shown. The same words, nothing left out. */
/* On a phone the 3D phone is the show: the words under it are smaller, so the phone can be larger. */
.narrow .hero h1 { font-size: 30px; }
.narrow .copy h2 { font-size: 24px; }
.narrow .copy .sub { font-size: 15px; }
.narrow .copy .fact { font-size: 13px; margin-top: .8em; }
.narrow .hero .store { padding-top: 7px; padding-bottom: 9px; }
.narrow .hero .free { margin-top: 8px; font-size: 13px; }
@media (max-height: 620px) { .narrow .hero .sub { margin-bottom: .8em; } } /* a short screen: tighter still */
.narrow .copy .store { flex: 1 1 0; min-width: 0; padding-left: 16px; padding-right: 16px; }
@media (max-width: 800px) { /* a wide stage with a slim column of words (a zoomed desktop, a phone on its side) */
  .wide .copy .stores { flex-wrap: nowrap; }
  .wide .copy .store { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 359px) { .page .stage .copy .store, .page .end .store { padding-left: 12px; padding-right: 12px; } .store b { font-size: 16px; } }
.store.one { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 14px 34px rgba(4,20,60,.28); }
.store.two { background: var(--btn2-bg); color: var(--ink); border: 1.5px solid var(--btn2-line); }

.step { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step .num { font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; color: var(--accent); direction: ltr; }
.step .bar { width: 54px; height: 2px; background: var(--accent); opacity: .5; border-radius: 2px; }
.step .tag { font-size: 14px; font-weight: 600; padding: 4px 13px 5px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); }

.rail { position: absolute; display: flex; gap: 12px; align-items: center; opacity: var(--o, 0); }
.wide .rail { inset-inline-start: clamp(14px, 2.4vw, 44px); top: 50%; transform: translateY(-50%); flex-direction: column; }
.narrow .rail { left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 50px); transform: translateX(-50%); flex-direction: row; }
.rail i { width: 8px; height: 8px; border-radius: 8px; background: var(--rail); transition: all .3s ease; }
.wide .rail i.on { height: 34px; background: var(--accent); }
.narrow .rail i.on { width: 30px; background: var(--accent); }
.rail i.later { opacity: .4; }

.hint { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 26px); margin-left: -13px; width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--muted); opacity: var(--o, .7); }
.hint::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: var(--muted); animation: nudge 1.8s ease-in-out 2; } /* two nudges, under 5 seconds: nothing moves by itself for longer */
.narrow .hint { transform: scale(.8); bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); }
.nohint .hint { display: none; } /* a short, wide screen: the opening's words reach down to where the hint would sit */
/* A way past the story, for a visitor who does not want to scroll through all of it: it shows once the
   scrolling starts and leads to what follows the story. The keyboard reaches it before the story's own
   links, and it shows whenever it has the keyboard. It stands in the middle of the stage's bottom edge, where
   the scroll hint was: the hint is gone by the time it comes in. On a phone the row of dots sits above it. */
.past {
  position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  height: 40px; padding: 0 17px 1px 13px; border-radius: 999px; white-space: nowrap; border: 1.5px solid var(--btn2-line); background: var(--pill-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none;
  opacity: var(--o, 0); pointer-events: none; transition: border-color .2s ease, color .2s ease;
}
.past.on, .past:focus-visible { pointer-events: auto; }
.past:focus-visible { opacity: 1; }
.past:hover { border-color: var(--accent); color: var(--accent); }
.past svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.past::after { content: ''; position: absolute; inset: -6px; } /* a larger place to tap than what is drawn */
.wide .past { bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); }
.wide.nohint .past { left: 25.5%; } /* a short, wide screen: the opening's words reach the middle of the bottom edge, so it stands under the phone */
.narrow .past { bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); height: 30px; padding: 0 13px 1px 10px; gap: 6px; font-size: 13px; }
.narrow .past svg { width: 16px; height: 16px; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .hint::after { animation: none; } }
.still, .still * { transition: none !important; animation: none !important; } /* test renders at a fixed scroll position */

/* Each stop carries its own picture of the screen. On the stage it is there for screen readers only (the phone
   shows it to the eye); on the plain page below it is the picture the visitor sees. */
.shot { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.probe { position: fixed; top: 0; left: 0; width: 0; height: 100vh; height: 100svh; height: 100dvh; visibility: hidden; pointer-events: none; }

/* ---------- the plain page: without JavaScript, or when the words cannot fit next to the phone (a small screen,
   a zoomed display), the story is an ordinary page: each stop's words, then its screen. Nothing is pinned or turns. ---------- */
.story:not(.staged) { height: auto; }
.story:not(.staged) .stage { position: relative; height: auto; overflow: visible; padding-top: calc(env(safe-area-inset-top, 0px) + 78px); padding-bottom: 20px; }
.story:not(.staged) .bg { background: radial-gradient(900px 720px at 10% 0, var(--glow-blue), transparent 66%), linear-gradient(180deg, var(--bg-top) 0, var(--bg-deep) 900px); }
.story:not(.staged) :is(.dots, .ring, .cast, .flat, .gl, .grain, .rail, .hint, .past) { display: none; }
.story:not(.staged) .copy {
  position: relative; inset: auto; top: auto; width: auto; max-width: 940px; margin: 0 auto; transform: none; opacity: 1; pointer-events: auto; will-change: auto;
  box-sizing: border-box; padding: 34px var(--gutter-r) 40px var(--gutter-l); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: center;
}
.story:not(.staged) .copy + .copy { border-top: 1px solid var(--hair); }
.story:not(.staged) .words { justify-self: stretch; min-width: 0; }
.story:not(.staged) .shot {
  position: static; width: min(240px, 62%); height: auto; margin: 0; clip-path: none; aspect-ratio: 9 / 20; object-fit: cover;
  border-radius: 18px; box-shadow: 0 0 0 5px var(--flat-frame), 0 24px 60px var(--cast); /* a gentle corner: the status bar clock stays whole */
}
@media (min-width: 700px) {
  .story:not(.staged) .copy { grid-template-columns: minmax(0, 1fr) 240px; column-gap: 56px; align-items: center; }
  .story:not(.staged) .shot { width: 100%; }
}

/* ---------- after the story: plain sections, nothing moves ---------- */
.after { position: relative; background: var(--bg-deep); }
.band { padding-block: clamp(52px, 6.5vw, 92px); padding-left: var(--gutter-l); padding-right: var(--gutter-r); border-top: 1px solid var(--hair); }
:where(.home) .inner { max-width: 1120px; margin: 0 auto; }
:where(.about) .inner { position: relative; max-width: 1080px; margin: 0 auto; }
:where(.doc) .inner { max-width: 820px; margin: 0 auto; }
:where(.home) .band h2 { font-size: clamp(28px, 3.6vw, 48px); margin-bottom: .45em; }
:where(.about) .band h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.12; margin-bottom: .55em; }
:where(.home, .about) .lead { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; font-weight: 500; color: var(--muted); margin: 0 0 1.7em; }
.more { background: radial-gradient(820px 520px at 88% 0%, var(--glow-blue-2), transparent 70%); }
.more h2 { margin-bottom: .9em; }

/* the numbered list */
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feats li { min-width: 0; padding: 22px 24px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--hair); }
.feats .step { margin-bottom: 12px; }
.feats .step .bar { width: 34px; }
.feats h3 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; line-height: 1.3; margin: 0 0 6px; text-wrap: balance; }
.feats p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .feats { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .feats li { padding: 18px 2px 19px; border: 0; border-top: 1px solid var(--hair); border-radius: 0; background: none; }
  .feats li:first-child { border-top: 0; padding-top: 4px; }
  .feats .step { margin-bottom: 8px; }
}

/* Free / Premium, the app's own table */
.plans .inner, .what .inner { max-width: 760px; } /* "על האפליקציה" sits under the prices, in their column */
.tablecard { padding: 10px 14px 14px; border-radius: 26px; background: var(--card); border: 1px solid var(--hair); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: clamp(15px, 1.3vw, 18px); }
.cmp th, .cmp td { padding: 15px 10px 16px; text-align: center; border-bottom: 1px solid var(--hair); font-weight: 500; }
.cmp th:first-child { text-align: start; padding-inline-start: 14px; }
.cmp thead th { font-size: 15px; font-weight: 700; color: var(--muted); border-bottom-color: transparent; }
.cmp tbody th { font-weight: 500; line-height: 1.4; }
.cmp .v { width: 22%; font-weight: 800; font-size: 1.08em; }
.cmp .pro { background: var(--pro-col); }
.cmp thead .pro { color: var(--accent); border-radius: 16px 16px 0 0; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom-color: transparent; }
.cmp tbody tr:last-child .pro { border-radius: 0 0 16px 16px; }
.cmp .yes { color: var(--accent); }
.cmp .no { color: var(--note); font-weight: 500; }
@media (max-width: 520px) { .tablecard { padding: 6px 8px 8px; border-radius: 20px; } .cmp th, .cmp td { padding: 13px 6px 14px; } .cmp th:first-child { padding-inline-start: 8px; } .cmp .v { width: 20%; } }

/* Premium's prices, under the table: one card per plan */
.prices-title { margin: 30px 0 12px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; line-height: 1.3; }
.prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prices li { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--hair); }
.prices .best { border: 1.5px solid var(--accent); background: var(--pro-col); }
.prices .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.prices .chip { font-size: 13px; font-weight: 700; line-height: 1.4; padding: 3px 11px 4px; border-radius: 999px; }
.prices .trial { background: var(--chip-bg); color: var(--chip-ink); }
.prices .save { background: var(--pro-col); color: var(--accent); }
.prices .chip.best { background: var(--accent); color: var(--bg-deep); }
.prices .plan { font-size: 15px; font-weight: 700; color: var(--muted); }
.prices .amount { font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; line-height: 1.35; }
.prices .amount [dir="ltr"] { color: var(--accent); }
.prices .bill { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.renew { margin: 14px 0 0; font-size: 14px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
@media (max-width: 620px) { .prices { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* שאלות נפוצות: each question opens in place (a native <details>, so no script is needed) */
.qa { display: grid; gap: 12px; max-width: 820px; }
.qa details { border-radius: 20px; background: var(--card); border: 1px solid var(--hair); }
.qa summary { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 18px 22px; border-radius: 20px; cursor: pointer; list-style: none; font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.qa .q { min-width: 0; }
.qa .tag { flex: 0 0 auto; font-size: 14px; font-weight: 600; padding: 4px 13px 5px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); }
/* the arrow: points down while closed, up while open; at the far end of the line */
.qa summary::after { content: ""; flex: 0 0 auto; margin-inline-start: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.qa details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.qa p { margin: 0; padding: 0 22px 20px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: var(--ink); font-weight: 400; max-width: 70ch; text-wrap: pretty; } /* the grey of the rest of the site is too faint over this page's glow */
@media (max-width: 520px) { .qa summary { padding: 16px 16px; } .qa p { padding: 0 16px 18px; } }
@media (prefers-reduced-motion: reduce) { .qa summary::after { transition: none; } }

/* closing call: home and אודות */
.end { display: flex; flex-direction: column; align-items: center; text-align: center; }
.end img { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 14px 34px rgba(4,20,60,.4); margin-bottom: 22px; }
.end h2 { margin-bottom: .3em; }
.end .lead { margin-bottom: 1.5em; }
.end .stores { justify-content: center; flex-wrap: nowrap; }
.end .store { text-align: start; flex: 0 0 auto; min-width: 190px; }
@media (max-width: 520px) { .end .stores { width: 100%; } .end .store { flex: 1 1 0; min-width: 0; padding-left: 16px; padding-right: 16px; } }

/* ==================== אודות, and the frame it shares with the statement and the legal pages ==================== */
:where(.about) .top {
  position: relative; overflow: hidden;
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(92px, 9.5vw, 132px)); padding-bottom: clamp(56px, 7vw, 96px);
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  background:
    radial-gradient(720px 560px at 20% 58%, var(--glow-teal), transparent 66%),
    radial-gradient(900px 720px at 94% -8%, var(--glow-blue), transparent 66%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-deep) 100%);
}
:where(.doc) .top {
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(92px, 9.5vw, 132px)); padding-bottom: clamp(48px, 6vw, 84px);
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  background: radial-gradient(900px 720px at 94% -8%, var(--glow-blue), transparent 66%), linear-gradient(180deg, var(--bg-top) 0, var(--bg-deep) 760px);
}
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 10px; }
.back:hover { color: var(--ink); }

/* the story: words on one side, the picture on the other */
.eyebrow { margin: 10px 0 8px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; color: var(--accent); }
:where(.about) h1 { font-size: clamp(36px, 5.6vw, 76px); line-height: 1.1; margin-bottom: .6em; }
.tale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 330px); gap: clamp(26px, 4.4vw, 60px); align-items: start; }
.tale .prose { min-width: 0; }
.slot { min-width: 0; border: 1.5px dashed var(--slot-line); border-radius: 24px; padding: clamp(22px, 2.6vw, 34px); background: var(--slot-bg); }
.slot .t { margin: 0 0 6px; font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.35; }
.slot .d { margin: 0 0 20px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.lines i { display: block; height: 10px; margin: 13px 0; border-radius: 6px; background: var(--slot-bar); }
.lines i.gap { height: 4px; background: none; }
/* the grey lines of the empty story slot: three paragraphs, each ending on a short line (a line with no rule here is full width) */
.lines i:nth-child(2) { width: 96%; }
.lines i:nth-child(3) { width: 99%; }
.lines i:nth-child(4) { width: 62%; }
.lines i:nth-child(6) { width: 98%; }
.lines i:nth-child(8) { width: 93%; }
.lines i:nth-child(9) { width: 97%; }
.lines i:nth-child(10) { width: 44%; }
.lines i:nth-child(13) { width: 95%; }
.lines i:nth-child(14) { width: 71%; }
.portrait { margin: 0; min-width: 0; }
.frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background: linear-gradient(165deg, var(--frame-a) 0%, var(--frame-b) 100%); border: 1px solid var(--hair); box-shadow: 0 30px 70px var(--frame-shadow);
}
.frame svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 84%; fill: var(--frame-figure); }
.frame .ph {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap;
  padding: 6px 15px 7px; border-radius: 999px; border: 1.5px dashed var(--slot-line); background: rgba(8,14,34,.55); font-size: 14px; font-weight: 600;
}
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; } /* the owner's picture fills the frame; faces sit in the upper part */
.portrait figcaption { margin-top: 18px; text-align: center; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.portrait figcaption .role { display: block; margin-top: 4px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; color: var(--muted); unicode-bidi: isolate; }
.portrait figcaption > span:not(.role) { display: inline-block; padding: 3px 14px 4px; border-radius: 999px; border: 1.5px dashed var(--slot-line); }
@media (max-width: 760px) {
  .tale { grid-template-columns: minmax(0, 1fr); }
  .portrait { order: -1; width: min(250px, 72%); margin-inline: auto; }
}
/* the thanks: a round picture beside each line */
.thanks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.thanks li { display: flex; align-items: center; gap: 18px; min-width: 0; padding: 20px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--hair); }
.thanks img { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hair); }
.thanks p { margin: 0; min-width: 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; overflow-wrap: anywhere; }
.thanks strong { color: var(--ink); font-weight: 700; }
.prose p { margin: 0 0 1em; max-width: 64ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.75; color: var(--muted); text-wrap: pretty; overflow-wrap: anywhere; }
.prose p:last-child { margin-bottom: 0; }

/* ==================== the statement and the legal pages: one readable column ==================== */
:where(.doc) h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.1; margin: 10px 0 .45em; }
:where(.doc) .lead { font-weight: 500; } /* the first line under the title */
:where(.doc) h2 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; margin: 1.7em 0 .55em; }
.inner.doc p, .inner.doc li { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; color: var(--muted); max-width: 66ch; text-wrap: pretty; overflow-wrap: anywhere; }
.inner.doc p { margin: 0 0 .9em; }
.inner.doc ul { margin: 0 0 .4em; padding: 0; list-style: none; }
.inner.doc li { position: relative; padding-inline-start: 22px; margin: 0 0 .5em; }
.inner.doc li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.inner.doc kbd { display: inline-block; direction: ltr; unicode-bidi: isolate; padding: 0 7px 1px; border-radius: 7px; border: 1px solid var(--btn2-line); background: var(--card); font: 600 .88em/1.7 ui-monospace, 'Cascadia Code', Consolas, monospace; color: var(--ink); }
.reachcard {
  margin-top: 1.3em; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 20px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--hair);
}
.reachcard .who { font-size: 17px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.slotchip { display: inline-block; padding: 2px 13px 3px; border-radius: 999px; border: 1.5px dashed var(--slot-line); color: var(--ink); font-weight: 600; }
.inner.doc .dated { margin-top: 1.8em; } /* stronger than the paragraph rule above, which sets no space above */

/* ==================== the very bottom of every page: תמיכה (a small button that opens a new mail, and the
   address itself), then the list of pages ==================== */
.footband {
  position: relative; background: var(--bg-deep); border-top: 1px solid var(--hair);
  padding-block: clamp(28px, 3.6vw, 44px) calc(env(safe-area-inset-bottom, 0px) + 34px); padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.support {
  width: 100%; max-width: 1120px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  padding: 20px 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--hair);
}
.support h2 { font-size: 20px; line-height: 1.3; margin: 0 0 2px; }
.support p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.reach { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.mailbtn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; box-sizing: border-box; padding: 0 20px 1px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink); font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap;
}
.mailbtn svg { width: 18px; height: 18px; flex: none; }
/* a phone or tablet opens its own mail app; a computer opens Gmail in a new tab */
.mailbtn.on-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .mailbtn.on-desk { display: none; } .mailbtn.on-touch { display: inline-flex; } }
.mail { direction: ltr; unicode-bidi: isolate; font-weight: 600; font-size: 16px; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .support { flex-direction: column; align-items: center; text-align: center; padding: 22px 18px 24px; }
  .reach { flex-direction: column; }
}
.foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 22px; font-size: 14px; color: var(--muted); }
.foot a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover, .foot a[aria-current] { color: var(--ink); }
.foot a[aria-current] { font-weight: 700; } /* the current page: heavier as well as brighter */
