/* ביחד · beyahad.ai
   A watercolor page: pastel blue and pink on cold-press paper, painted fresh on every visit
   (assets/js/watercolor.js). The interface sits on it as frosted glass, in the grouped-row
   vocabulary of macOS settings. Works in both directions (Hebrew RTL, English LTR). */

:root {
  color-scheme: light;
  --bg: #E9F1F6;
  --card: rgba(255, 255, 255, .84);
  --win: rgba(249, 251, 253, .74);
  --ink: #22364A;
  --text: #3A4C60;
  --ink-2: #5D6E81;
  --ink-3: #8E9DAD;
  --hair: rgba(34, 54, 74, .09);
  --edge: rgba(34, 54, 74, .08);
  --fill: rgba(34, 54, 74, .06);
  --hover: rgba(34, 54, 74, .04);
  --press: rgba(34, 54, 74, .07);
  --track: rgba(34, 54, 74, .14);
  --chev: #B3C0CD;
  --disabled: #C3CDD7;
  --glass: rgba(255, 255, 255, .64);
  --glass-strong: rgba(255, 255, 255, .9);
  --capsule: rgba(255, 255, 255, .85);
  --accent: #3F6E99;
  --accent-ink: #3A6690;
  --accent-soft: #DCE9F4;
  --switch-on: #6F9CC6;
  --rose: #D98293;
  --rose-ink: #A94E63;
  --rose-soft: #F8DDE2;
  --rose-line: #EDB5C0;
  --marker: #D98293;
  --thread: #8BA6BE;
  --chat: rgba(232, 240, 246, .9);
  --bubble: #FFFFFF;
  --bubble-out: #DCEAF6;
  --bubble-draft: #F8FBFE;
  --who-name: #B1566A;
  --ok-bg: #E2F1E8;
  --ok: #2E7552;
  --info-bg: #E1ECF8;
  --info: #2F64A3;
  --swap-bg: #FBE6EA;
  --swap: #A44A5E;
  --highlight: rgba(240, 176, 188, .42);
  --shadow-win: 0 0 0 .5px var(--edge), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 26px 60px -30px rgba(47, 79, 114, .42);
  --shadow-soft: 0 0 0 .5px var(--edge), 0 1px 2px rgba(47, 79, 114, .04);
  --gutter: clamp(16px, 4vw, 40px);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
  --font: 'IBM Plex Sans Hebrew', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Frank Ruhl Libre', 'IBM Plex Sans Hebrew', serif;
  --hand: 'Gveret Levin', 'IBM Plex Sans Hebrew', cursive;
  --paper-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='p' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeDiffuseLighting surfaceScale='1.1' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='45' elevation='55'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .33 0 0 0 0 .42 -.75 0 0 0 .64'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23p%29'/%3E%3C/svg%3E");
  /* direction: which way a switch knob travels and a slider fills */
  --dir: -1;
  --fill-to: to left;
}
[dir="ltr"] { --dir: 1; --fill-to: to right; }

/* Icon tiles in the painting's own pastels. */
.t-sky   { --g1: #9FD0E6; --g2: #6FAFD0; }
.t-blue  { --g1: #8DB4DB; --g2: #5A88BC; }
.t-rose  { --g1: #F2B1BC; --g2: #DF8A9B; }
.t-peach { --g1: #F6C9A9; --g2: #E9A07F; }
.t-lav   { --g1: #BDB2E2; --g2: #9585C7; }
.t-slate { --g1: #A9BCCD; --g2: #7891A9; }
.t-mauve { --g1: #DDB0C8; --g2: #BF84A6; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  position: relative;
  margin: 0;
  font: 400 17px/1.65 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* The paper behind everything: a still wash with a little light from the time of day. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    var(--paper-tex),
    var(--tint, linear-gradient(transparent, transparent)),
    radial-gradient(60% 45% at 14% 8%, rgba(196, 220, 237, .75), transparent 70%),
    radial-gradient(55% 40% at 88% 16%, rgba(203, 225, 239, .7), transparent 70%),
    radial-gradient(70% 50% at 50% 50%, rgba(246, 250, 252, .7), transparent 70%),
    radial-gradient(45% 35% at 6% 100%, rgba(240, 205, 212, .45), transparent 70%),
    radial-gradient(45% 35% at 94% 100%, rgba(240, 212, 218, .4), transparent 70%),
    var(--bg);
}
img, svg { display: block; }
a { color: var(--accent-ink); }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; text-wrap: balance; }
h1, h2 { font-family: var(--display); }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid color-mix(in oklab, var(--accent) 60%, white); outline-offset: 2px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* The painted canvases: opaque watercolor on paper, fading into the still wash at their open edge. */
.paint { position: absolute; z-index: -1; display: block; width: 100%; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--out); }
.paint.on { opacity: 1; }
.paint-hero { inset: 0 0 auto 0; height: calc(100% + 160px); -webkit-mask-image: linear-gradient(#000 calc(100% - 220px), transparent); mask-image: linear-gradient(#000 calc(100% - 220px), transparent); }
.paint-end { right: 0; bottom: 0; left: 0; height: min(820px, 100svh); -webkit-mask-image: linear-gradient(to top, #000 70%, transparent); mask-image: linear-gradient(to top, #000 70%, transparent); }

/* ── icon tiles ─────────────────────────────────────────────── */
.ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--g1), var(--g2));
  box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .35), 0 .5px 1px rgba(47, 79, 114, .14);
}
.ico svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 52px; height: 52px; border-radius: 13px; }
.ico-lg svg { width: 30px; height: 30px; stroke-width: 1.7; }
/* The mark: two hand-drawn loops, one from each colour of the painting. */
.appicon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; }
.loops { width: 30px; height: 30px; overflow: visible; }
.loops path { fill: none; stroke: #5A88BC; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.loops path + path { stroke: #DF8A9B; }

/* ── buttons ────────────────────────────────────────────────── */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding-inline: 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 500 16px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 22px -12px rgba(47, 79, 114, .6);
  transition: transform .15s var(--out), background-color .15s;
}
.btn:hover { background: color-mix(in oklab, var(--accent) 88%, white); }
.btn:active { transform: scale(.97); }
.btn-ghost { background: var(--glass); color: var(--ink); box-shadow: 0 0 0 .5px var(--edge), inset 0 0 0 1px rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .85); }
.btn-small { --h: 34px; padding-inline: 15px; font-size: 14px; box-shadow: none; }

/* ── header capsule ─────────────────────────────────────────── */
.top { position: fixed; top: 0; right: 0; left: 0; z-index: 50; padding: 12px var(--gutter) 0; pointer-events: none; }
.capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1160px;
  height: 58px;
  margin-inline: auto;
  padding-inline: 12px 10px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 0 0 .5px var(--edge), inset 0 0 0 1px rgba(255, 255, 255, .5), 0 10px 30px -18px rgba(47, 79, 114, .35);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.wordmark { font: 500 22px/1 var(--display); letter-spacing: -.005em; }
.links { display: flex; gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
.links a, .lang { display: block; padding: 8px 13px; border-radius: 999px; color: var(--ink); font-size: 15px; text-decoration: none; }
.links a:hover, .lang:hover { background: rgba(255, 255, 255, .6); }
.head-tools { display: flex; align-items: center; gap: 2px; }
.lang { color: var(--ink-2); font-size: 14px; }

/* ── hero: centred words in a painted frame ─────────────────── */
.hero { position: relative; display: grid; place-items: center; min-height: min(100svh, 920px); padding: 120px 0 132px; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: 0 0 0 .5px var(--edge), inset 0 0 0 1px rgba(255, 255, 255, .5);
  color: var(--ink-2);
  font-size: 14.5px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft); animation: live 2.8s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 5px transparent; } }
h1 { max-width: 15em; margin-bottom: 22px; font-size: clamp(2.6rem, 1.4rem + 4vw, 4.9rem); line-height: 1.08; letter-spacing: -.01em; }
.lead { max-width: 36em; margin-bottom: 34px; color: var(--ink-2); font-size: clamp(1.08rem, 1rem + .3vw, 1.24rem); line-height: 1.7; text-wrap: pretty; }
.hero .lead { max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.now { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; color: var(--ink-2); font-size: 14.5px; }
.now .i { width: 16px; height: 16px; }

/* hand-drawn ink */
.mark { position: relative; white-space: nowrap; }
.ink { position: absolute; overflow: visible; pointer-events: none; }
.mark > .ink { inset: 0; width: 100%; height: 100%; }
.ink path { fill: none; stroke: var(--marker); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero .mark .ink path { stroke-width: 2.5; }
.drawable path { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.drawable.drawn path { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur, 1s) cubic-bezier(.5, .1, .25, 1) var(--delay, 0s), opacity 0s linear var(--delay, 0s); }
.drawable.fixed path { transition: none; }

/* ── demo: the window, frosted over the paper ───────────────── */
.demo-sec { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.demo-copy > p:not(.kicker):not(.hand-note) { max-width: 34ch; margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; }
.hero-demo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hand-note { width: max-content; max-width: 100%; margin-top: 30px; color: var(--rose-ink); font: 400 26px/1.1 var(--hand); transform: rotate(-4deg); pointer-events: none; }
[dir="ltr"] .hand-note { transform: rotate(3deg); }
.note-arrow { inset: 0; z-index: 4; width: 100%; height: 100%; }
.note-arrow path { stroke: var(--rose); stroke-width: 1.8; }

/* segmented control */
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--glass); box-shadow: 0 0 0 .5px var(--edge); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.seg button { position: relative; z-index: 1; padding: 7px 15px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 400 14px/1.1 var(--font); cursor: pointer; transition: color .25s; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(47, 79, 114, .14), 0 0 0 .5px var(--edge); transition: left .4s var(--out), width .4s var(--out); }

/* ── window ─────────────────────────────────────────────────── */
.win {
  position: relative;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--win);
  box-shadow: var(--shadow-win);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}
.win-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding-inline: 16px; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #F2A7B1; box-shadow: inset 0 0 0 .5px rgba(34, 54, 74, .1); }
.lights i:nth-child(2) { background: #F5D49E; }
.lights i:nth-child(3) { background: #A9D6B4; }
.navcap { display: flex; align-items: center; height: 30px; border-radius: 999px; background: var(--capsule); box-shadow: 0 0 0 .5px var(--edge); }
.navcap > :not(.navsep) { display: grid; place-items: center; width: 32px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
.navcap button:disabled, .trust-win .navcap > span:not(.navsep) { color: var(--disabled); cursor: default; }
.navcap button:not(:disabled):hover { background: var(--fill); }
.navcap .i { width: 14px; height: 14px; stroke-width: 2.2; }
[dir="ltr"] .navcap .i, [dir="ltr"] .chev { transform: scaleX(-1); }
.navsep { width: 1px; height: 15px; background: var(--hair); }
.win-title { overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.win-body { position: relative; height: 484px; }
.views { position: absolute; inset: 0; }
.view { position: absolute; inset: 0; overflow-y: auto; padding: 2px 14px 16px; overscroll-behavior: contain; scrollbar-width: thin; transition: transform .5s var(--out), opacity .5s var(--out); }
.view.from-end { transform: translateX(calc(100% * var(--dir))); }
.view.to-start { transform: translateX(calc(-30% * var(--dir))); opacity: 0; }
.view.fade { opacity: 0; transform: translateY(6px); }
.noscript { padding: 24px; color: var(--ink-2); }

/* grouped rows */
.group { overflow: hidden; margin: 0 0 14px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-soft); }
.group-label { margin: 14px 10px 6px; color: var(--ink-2); font-size: 13px; }
.row { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 8px 12px; border: 0; background: none; color: inherit; font: inherit; text-align: start; }
.row + .row::before { content: ""; position: absolute; top: 0; inset-inline: 12px; height: 1px; background: var(--hair); }
button.row { cursor: pointer; transition: background .15s; }
button.row:hover { background: var(--hover); }
button.row:active { background: var(--press); }
.txt { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.t { color: var(--ink); font-size: 14.5px; line-height: 1.3; }
.s { color: var(--ink-2); font-size: 12.5px; line-height: 1.4; }
.val { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.row .chev { width: 13px; height: 13px; color: var(--chev); stroke-width: 2.4; }

/* switch: mirrors with the page (off = knob at the start side) */
.switch { position: relative; flex: none; width: 42px; height: 25px; padding: 0; border: 0; border-radius: 999px; background: var(--track); cursor: pointer; transition: background .25s; }
.switch .knob { position: absolute; top: 2px; inset-inline-start: 2px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 1.5px 3px rgba(34, 54, 74, .22); transition: transform .4s var(--spring); }
.switch[aria-checked="true"] { background: var(--switch-on); }
.switch[aria-checked="true"] .knob { transform: translateX(calc(17px * var(--dir))); }
.switch.nope { animation: nope .45s; }
@keyframes nope { 20% { transform: translateX(4px); } 40% { transform: translateX(-4px); } 60% { transform: translateX(3px); } 80% { transform: translateX(-2px); } }

/* notification */
.notif {
  position: absolute;
  top: 10px;
  inset-inline: 10px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 18px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 0 0 .5px var(--edge), 0 14px 30px -14px rgba(47, 79, 114, .4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-130%);
  transition: transform .7s var(--spring), opacity .35s;
}
.notif.show { opacity: 1; transform: none; }
.notif .appicon { width: 32px; height: 32px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 .5px var(--edge); }
.notif .loops { width: 24px; height: 24px; }
.notif-txt { display: grid; flex: 1; grid-template-columns: 1fr auto; gap: 1px 8px; color: var(--ink); font-size: 13.5px; line-height: 1.4; }
.notif-txt b { font-weight: 600; }
.notif-time { color: var(--ink-3); font-size: 12px; }
.notif-body { grid-column: 1 / -1; }

/* detail panes */
.pane-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 16px 14px; text-align: center; }
.pane-hero h3 { margin-top: 4px; font-size: 16px; font-weight: 600; }
.pane-hero p { color: var(--ink-2); font-size: 12.5px; }
.detail-note { margin: 4px 8px 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.55; }
.chat { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; padding: 12px; border-radius: 14px; background: var(--chat); }
.chat-day { align-self: center; padding: 2px 10px; border-radius: 8px; background: rgba(255, 255, 255, .85); color: var(--ink-2); font-size: 11.5px; }
.bubble { position: relative; max-width: 84%; padding: 7px 11px 5px; border-radius: 15px; background: var(--bubble); box-shadow: 0 .5px .5px rgba(34, 54, 74, .1); color: var(--ink); font-size: 14px; line-height: 1.45; }
.bubble.in { align-self: flex-start; border-start-start-radius: 5px; }
.bubble.out { align-self: flex-end; border-start-end-radius: 5px; background: var(--bubble-out); }
.bubble.draft { background: var(--bubble-draft); box-shadow: none; outline: 1.5px dashed var(--rose-line); outline-offset: -1.5px; }
.bubble .who { display: block; color: var(--who-name); font-size: 12px; font-weight: 500; }
.bubble time { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 1px; color: var(--ink-3); font-size: 11px; }
.bubble time .i { width: 15px; height: 15px; color: #4E95D0; stroke-width: 2; }
.draft-label { display: flex; align-items: center; gap: 5px; color: var(--rose-ink); font-size: 11.5px; font-weight: 500; }
.draft-label .i { width: 13px; height: 13px; }
.draft-text[contenteditable="true"] { display: block; margin-top: 2px; border-radius: 4px; outline: none; background: var(--rose-soft); }
.draft-actions { display: flex; align-self: flex-end; gap: 8px; }
.review { margin-bottom: 14px; padding: 14px 14px 12px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-soft); color: var(--ink); font-size: 14px; }
.stars { display: flex; gap: 2px; margin-bottom: 6px; color: #EDB15C; }
.stars .i { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; stroke-width: 1; }
.review .who { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12px; }
.row .time { flex: none; width: 54px; color: var(--ink); font-size: 13.5px; font-variant-numeric: tabular-nums; }
[dir="ltr"] .row .time { width: 72px; }
.tag { flex: none; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.info { background: var(--info-bg); color: var(--info); }
.tag.swap { background: var(--swap-bg); color: var(--swap); }
.receipt { margin-bottom: 14px; padding: 16px 16px 14px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-soft), 0 6px 14px -10px rgba(47, 79, 114, .25); color: var(--ink); font-size: 14px; }
.rc-head { display: flex; justify-content: space-between; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--hair); }
.rc-head b { font-weight: 600; }
.rc-head span { color: var(--ink-2); }
.rc-line { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.rc-line .dots { flex: 1; border-bottom: 1px dotted var(--ink-3); opacity: .6; }
.rc-total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hair); font-size: 15px; }
.rc-total b { font-weight: 600; }
.okdot { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.okdot .i { width: 15px; height: 15px; stroke-width: 2.2; }

/* ── sections ───────────────────────────────────────────────── */
.sec { padding-block: clamp(56px, 7vw, 104px); }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.sec-head p:last-child:not(.kicker) { margin-top: 12px; color: var(--ink-2); font-size: 1.1rem; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--ink-2); font-size: 14.5px; }
.kicker .ico { width: 24px; height: 24px; border-radius: 7px; }
.kicker .ico svg { width: 15px; height: 15px; }
h2 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); line-height: 1.15; letter-spacing: -.005em; }

/* time */
.time-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: clamp(20px, 3vw, 36px); align-items: start; }
.sliders { margin: 0; }
.slide { min-height: 74px; padding-block: 12px; cursor: default; }
.slide .txt { gap: 8px; }
.slide .val { min-width: 44px; color: var(--ink); text-align: end; }
input[type="range"] { width: 100%; height: 22px; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--fill-to), var(--switch-on) var(--p, 33%), var(--track) var(--p, 33%)); }
input[type="range"]::-webkit-slider-thumb { width: 21px; height: 21px; margin-top: -8.5px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(34, 54, 74, .28), 0 0 0 .5px rgba(34, 54, 74, .06); -webkit-appearance: none; }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--track); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--switch-on); }
input[type="range"]::-moz-range-thumb { width: 21px; height: 21px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(34, 54, 74, .28); }
.month { padding: 18px 18px 6px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-soft), 0 20px 44px -30px rgba(47, 79, 114, .35); }
.month-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.month-name { color: var(--ink); font-size: 16px; font-weight: 600; }
.month-total { color: var(--ink-2); font-size: 14px; }
.month-total b { margin-inline-end: 4px; color: var(--ink); font: 500 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.month-dow, .month-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.month-dow { margin-bottom: 6px; }
.month-dow span { color: var(--ink-3); font-size: 12px; text-align: center; }
.day { display: grid; place-items: center; height: 40px; border-radius: 11px; background: rgba(34, 54, 74, .035); color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; transition: background .45s, color .45s, box-shadow .45s; }
.day.pad { background: none; }
.day.today { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.day.lost { background: #D8E5F1; color: #345E86; }
.day.back { background: var(--rose-soft); color: var(--rose-ink); box-shadow: inset 0 0 0 1px var(--rose-line); }
.month-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 14px 0 6px; color: var(--ink-2); font-size: 12.5px; }
.lg { width: 12px; height: 12px; border-radius: 4px; }
.lg.lost { background: #D8E5F1; box-shadow: inset 0 0 0 1px #B9CDE1; }
.lg.back { margin-inline-start: 10px; background: var(--rose-soft); box-shadow: inset 0 0 0 1px var(--rose-line); }
.month-switch { margin-top: 8px; padding-inline: 0; }
.month-switch::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: var(--hair); }
.honest { max-width: 30ch; margin-top: clamp(28px, 3.5vw, 40px); color: var(--ink); font: 400 clamp(1.4rem, 1.1rem + .9vw, 1.9rem)/1.4 var(--display); }

/* how */
.steps-wrap { position: relative; }
.thread { inset: 0; z-index: 0; width: 100%; height: 100%; }
.thread path { stroke: var(--thread); stroke-width: 1.5; opacity: .8; }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.letter {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--g1), var(--g2));
  color: #fff;
  font: 500 22px/1 var(--display);
  box-shadow: 0 0 0 8px rgba(233, 241, 246, .9), 0 6px 14px -6px rgba(47, 79, 114, .35);
}
.step h3 { margin-bottom: 6px; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.step p { max-width: 30ch; color: var(--ink-2); font-size: 16px; }

/* trust */
.trust { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.trust-copy p:last-child { max-width: 40ch; margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; }
.trust-win { max-width: 540px; justify-self: end; }
.trust-win .win-body { height: auto; padding: 2px 14px 12px; }
.trust-win .row { min-height: 60px; padding: 10px 14px; }
.locked-tip { min-height: 21px; color: var(--rose-ink); font-size: 13px; text-align: center; }

/* who: the businesses as cards floating in a shallow space (assets/js/cloud.js) */
.who { text-align: center; }
.who .kicker { justify-content: center; }
.who-head { color: var(--ink-3); font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem)/1.3 var(--display); }
.cloud { position: relative; height: clamp(440px, 48vw, 600px); margin: 8px calc(50% - 50vw) 4px; overflow: clip; perspective: 1100px; perspective-origin: 50% 45%; touch-action: pan-y; }
.bizcard {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding-block: 9px;
  padding-inline: 11px 15px;
  border-radius: 15px;
  background: var(--glass-strong);
  box-shadow: 0 0 0 .5px var(--edge), inset 0 0 0 1px rgba(255, 255, 255, .65), 0 22px 44px -26px rgba(47, 79, 114, .55);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) translateZ(-700px);
  backface-visibility: hidden;
  will-change: transform;
  cursor: default;
  text-align: start;
}
.bizcard .ico { width: 32px; height: 32px; border-radius: 9px; }
.bizcard .ico svg { width: 20px; height: 20px; }
.bc-txt { display: flex; flex-direction: column; }
.bc-name { color: var(--ink); font: 500 15px/1.25 var(--font); }
.bc-did { display: block; max-height: 0; overflow: hidden; color: var(--ink-2); font-size: 12.5px; line-height: 1.3; opacity: 0; transition: max-height .4s var(--out), opacity .3s, margin-top .4s var(--out); }
.bizcard.front { background: #fff; box-shadow: 0 0 0 .5px var(--edge), inset 0 0 0 1px #fff, 0 30px 60px -24px rgba(47, 79, 114, .6); }
.bizcard.front .bc-did { max-height: 2.6em; margin-top: 2px; opacity: 1; }
.bizcard:focus-visible { outline-offset: 3px; }
@media (max-width: 719px) {
  .cloud { height: clamp(480px, 125vw, 600px); }
  .bizcard { gap: 9px; padding-block: 7px; padding-inline: 9px 12px; }
  .bizcard .ico { width: 28px; height: 28px; }
  .bc-name { font-size: 13.5px; }
  .bc-did { font-size: 12px; }
}
.who-you { margin-top: 18px; color: var(--rose-ink); font: 500 clamp(1.9rem, 1.4rem + 1.5vw, 2.7rem)/1.2 var(--display); }
.who-you .ink path { stroke: var(--rose); stroke-width: 2.2; }

/* why: a sheet of the same paper, laid on top */
.why { display: grid; place-items: center; }
.paper {
  max-width: 680px;
  padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 64px);
  border-radius: 4px;
  background: var(--paper-tex), #FCFDFE;
  box-shadow: 0 0 0 .5px var(--edge), 0 30px 60px -34px rgba(47, 79, 114, .45);
  transform: rotate(var(--tilt, -.3deg));
  transition: transform 1.2s var(--out);
}
.why h2 { margin-bottom: 20px; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); }
.paper p { margin-bottom: 14px; color: var(--text); font-size: clamp(1.03rem, 1rem + .2vw, 1.15rem); line-height: 1.85; }
.paper .letter-last { color: var(--ink); font-weight: 500; }
.paper .sign { margin: 16px 0 0; color: var(--rose-ink); font: 400 50px/1 var(--hand); }
.sign .ink path { stroke: var(--rose); stroke-width: 1.8; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-list { max-width: 760px; }
.faq details { position: relative; }
.faq details + details::before { content: ""; position: absolute; top: 0; inset-inline: 18px; height: 1px; background: var(--hair); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 16px 20px; color: var(--ink); font-size: 16px; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 1; }
.faq summary:hover { background: var(--hover); }
.faq .chev { width: 15px; height: 15px; color: var(--chev); stroke-width: 2.2; transition: transform .3s var(--out); }
.faq details[open] .chev { transform: rotate(-90deg); }
.faq details p { max-width: 62ch; padding: 0 20px 18px; color: var(--ink-2); font-size: 15.5px; }

/* talk */
.talk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.talk-copy p:not(.kicker) { max-width: 38ch; margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; }
.talk-copy .shabbat-note { color: var(--rose-ink); }
.sheet { max-width: 520px; justify-self: end; }
.sheet .win-body { height: auto; padding: 2px 14px 16px; }
.field { gap: 14px; min-height: 50px; cursor: text; }
.field .lbl { flex: none; width: 76px; color: var(--ink-2); font-size: 14px; }
[dir="ltr"] .field .lbl { width: 104px; }
.field input, .field textarea { flex: 1; min-width: 0; padding: 6px 0; border: 0; outline: none; background: none; color: var(--ink); font: 400 15px/1.5 var(--font); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field:focus-within { background: rgba(255, 255, 255, .5); }
.field-area { align-items: flex-start; }
.field-area .lbl { padding-top: 7px; }
.chips-group { margin: 0 0 14px; padding: 14px 14px 16px; border: 0; }
.chips-group legend { float: inline-start; width: 100%; margin-bottom: 10px; padding: 0; color: var(--ink-2); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--fill); color: var(--ink); font-size: 14px; cursor: pointer; transition: background .2s, color .2s; user-select: none; }
.chip span:hover { background: var(--press); }
.chip input:checked + span { background: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 2.5px solid color-mix(in oklab, var(--accent) 60%, white); outline-offset: 2px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fineprint { margin: 14px 4px 0; color: var(--ink-2); font-size: 12.5px; }

/* footer */
.foot { margin-top: 24px; padding-block: 44px 56px; border-top: 1px solid var(--hair); color: var(--ink-2); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot .wordmark { font-size: 20px; }
.dates { display: flex; gap: 14px; margin-inline-start: auto; }
.noise-sign { max-width: 76ch; margin: 20px 0 8px; font-size: 13px; text-wrap: pretty; }
.noise-sign a, .copy a { color: inherit; }

/* 404 */
.notfound { display: grid; align-content: center; min-height: 100svh; max-width: 640px; }
.notfound h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); }
.notfound-group { max-width: 360px; }
.notfound-group .row { min-height: 52px; padding-inline: 16px; color: var(--ink); text-decoration: none; }
.notfound-group .row:hover { background: var(--hover); }

/* ── responsive ─────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .demo-sec, .trust, .talk, .time-grid, .faq { grid-template-columns: 1fr; }
  .demo-copy { max-width: 640px; }
  .hand-note { margin-top: 18px; font-size: 23px; }
  .note-arrow { display: none; }
  .trust-win, .sheet { justify-self: stretch; max-width: 600px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
}
@media (max-width: 760px) {
  .links { display: none; }
  .head-tools { margin-inline-start: auto; }
  .capsule { height: 56px; gap: 6px; }
  .hero { min-height: 100svh; padding: 104px 0 150px; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; }
  .step .letter { grid-row: span 2; margin: 0; }
  .dates { width: 100%; margin-inline-start: 0; }
}
@media (max-width: 480px) {
  .seg button { padding: 7px 10px; font-size: 13.5px; }
  .win-body { height: 520px; }
  .view { padding-inline: 10px; }
  .eyebrow { font-size: 13.5px; }
  .cta-row { width: 100%; }
  .cta-row .btn { flex: 1; }
  .wordmark { font-size: 20px; }
  .capsule .btn-small { padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
