/* ═══════════════════════════════════════════════════════════════════
   כוכב — KOCHAV · "QUIET PREMIUM APP" design system
   Repainted 2026-09-10 onto the direction Noam approved that day.
   The law is design/quiet/ — Main.dc.html (landing 1440),
   Mobile.dc.html (landing 390), Dashboard.dc.html (owner app).
   Those artboards win on ANY disagreement with this file.
   White space · one family (Noto Sans Hebrew) · precise small type ·
   one soft accent (indigo) · the owner dashboard is the hero.
   No gradients. No texture. No emoji icons. Nothing loud.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ── approved tokens — copied from the artboards, do not re-derive ── */
  --ground:#F7F8FA;
  --surface:#FFFFFF;
  --hairline:#E6E8EC;
  --ink:#111318;
  --muted:#5C6470;
  --fill:#EEF0F4;              /* neutral pill / active nav item */

  --accent:#4F6BED;            /* primary CTA, focus, chart endpoint, one link colour */
  /* the primary button's fill is a separate token so a per-tenant accent can reach the
     button WITHOUT also becoming the link/focus/chart colour — a light tenant gold is
     unreadable as text on white, so it stays a button fill only (build-tenant.js). */
  --accent-btn:#4F6BED;  --accent-btn-ink:#FFFFFF;
  --accent-tint:#ECEFFD;
  --accent-text:#3A50C4;
  --chart-idle:#D9DDF7;

  --pos:#1F7A46;   --pos-bg:#E6F6EC;
  --warn:#9A6200;  --warn-bg:#FFF3DC;  --warn-soft:#FFF8EA;
  --stars:#F5B301;             /* star glyphs ONLY */

  --font:"Noto Sans Hebrew","Arial Hebrew",Arial,system-ui,sans-serif;

  --r-lg:12px;   /* surfaces */
  --r-md:8px;    /* buttons, inputs */
  --r-sm:6px;    /* nav items */
  --r-pill:999px;

  /* the ONE shadow — elevated hero / pricing cards only */
  --shadow:0 1px 2px rgba(17,19,24,.04), 0 12px 32px rgba(17,19,24,.06);

  --max:1200px;
  --max-wide:1280px;

  /* ── per-tenant accent ─────────────────────────────────────────────
     build-tenant.js appends a second :root that overrides --accent-btn
     (always) and --accent (only when the tenant colour is readable as
     text on white). Nothing else in the site takes a tenant colour. */

  /* ── legacy alias layer ───────────────────────────────────────────
     Every page and inline style block below was written against these
     names. They are re-pointed at the tokens above so nothing in the
     site can render an off-palette colour. */
  --bg:var(--ground);
  --mat:var(--surface);
  --card:var(--surface);
  --paper:var(--ground);       --paper-2:var(--hairline);
  --ink-soft:var(--muted);     --ink-2:var(--muted);  --ink-3:var(--muted);
  --line:var(--hairline);      --line-strong:var(--hairline);
  --rule:var(--hairline);      --rule-2:var(--hairline);
  --brand:var(--accent);       --brand-soft:var(--accent-tint);
  --brand-on-dark:var(--accent);
  --deep:var(--surface);       --deep-2:var(--surface);  --deep-ink:var(--ink);
  --gold:var(--accent);        --gold-deep:var(--accent-text);  --gold-soft:var(--accent-tint);
  --green:var(--pos);          --green-soft:var(--pos-bg);
  --wa:var(--pos);
  --danger:var(--warn);
  --shadow-card:none;
  --shadow-pop:var(--shadow);
  --shadow-lift:var(--shadow);
  --font-display:var(--font);  --font-body:var(--font);
  --font-data:var(--font);     --font-num:var(--font);

  /* WhatsApp-mockup exception (Noam's ruling, 2026-09-10, reversing the quiet
     repaint): these mockups reproduce WhatsApp's OWN chrome on purpose. Painted
     in the site palette they read as a faked screenshot rather than a real one,
     which costs more than the extra colour does. Verbatim WhatsApp values —
     the only place in this stylesheet where a second brand colour is allowed. */
  --wa-head:#075E54; --wa-bg:#EFE7DC; --wa-out:#D9FDD3; --wa-in:#FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent-tint); color: var(--ink); }

h1, h2, h3, .display { font-family: var(--font); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
bdi, .num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.sec { padding-block: 96px; }
.sec-tight { padding-block: 64px; }
@media (max-width: 760px) { .sec { padding-block: 56px; } .sec-tight { padding-block: 40px; } }

.hair { border-top: 1px solid var(--hairline); }
.surface { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); }
.elev { box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.sim-note { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); text-align: center; }

/* ── eyebrow — 12/500, .06em, muted. No chip, no star. ─────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted);
}
.star, .eyebrow .star, .t-stars, .stars { color: var(--stars); letter-spacing: 1px; }

/* ── pills ─────────────────────────────────────────────────────── */
.chip, .pill, .badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; padding: 0 9px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500; background: var(--fill); color: var(--muted);
  border: 0; white-space: nowrap;
}
.pill.ok, .badge.reviewed, .badge.done, .chip.ok { background: var(--pos-bg); color: var(--pos); }
.pill.acc, .badge.sent, .badge.queued { background: var(--accent-tint); color: var(--accent-text); }
.pill.warn, .badge.opted_out { background: var(--warn-bg); color: var(--warn); }
.badge.none { background: var(--fill); color: var(--muted); }
.chip { height: 26px; padding: 0 11px; }

/* ── buttons ───────────────────────────────────────────────────────
   .btn        = ink-filled primary (artboard `.btn.primary`)
   .btn-ghost  = quiet white + hairline (artboard base `.btn`)
   .btn.accent = the one soft accent, for the page's single main CTA
   .btn-sm     = quiet small, for row-level actions              ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 500; font-family: inherit;
  background: var(--ink); color: var(--surface); border: 1px solid var(--ink);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: #23262E; border-color: #23262E; color: var(--surface); }
.btn .star { color: var(--stars); }
.btn.accent, .btn-accent { background: var(--accent-btn); border-color: var(--accent-btn); color: var(--accent-btn-ink); }
.btn.accent:hover, .btn-accent:hover { background: var(--accent-btn); border-color: var(--accent-btn); color: var(--accent-btn-ink); filter: brightness(.94); }
.btn.accent .star, .btn-accent .star { color: var(--accent-btn-ink); }
.btn-ghost {
  background: var(--surface); color: var(--ink); border: 1px solid var(--hairline);
}
.btn-ghost:hover { background: var(--fill); color: var(--ink); border-color: var(--hairline); }
.btn-ghost .star { color: var(--stars); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn-sm {
  height: 32px; padding: 0 12px; font-size: 13px; border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); border: 1px solid var(--hairline);
}
.btn-sm:hover { background: var(--fill); color: var(--ink); }
.btn-sm[disabled], .btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-sm[disabled]:hover { background: var(--surface); }
.btn.full, .btn-full { width: 100%; }

/* ── header ────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,250,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-head .wrap { max-width: var(--max-wide); display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo .mark { width: 22px; height: 22px; }
.head-nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; color: var(--muted); margin-inline: auto; }
.head-nav a { padding-block: 4px; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.head-nav a:hover { color: var(--ink); border-bottom-color: var(--hairline); }
.head-login {
  margin-inline-start: auto;
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px; border-radius: var(--r-md);
  border: 1px solid var(--hairline); background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.head-login:hover { background: var(--fill); color: var(--ink); }
.head-cta { height: 36px; padding: 0 14px; font-size: 14px; }
@media (max-width: 860px) { .head-nav { display: none; } }
/* phone: the sticky CTA already carries the primary action (Mobile.dc.html keeps only
   the login link in the bar), so the header CTA stands down rather than crowd it. */
@media (max-width: 480px) { .head-cta { display: none; } }

/* ── hero ──────────────────────────────────────────────────────── */
.hero { padding-block: 96px 56px; }
.hero-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px); font-weight: 600; line-height: 1.15;
  letter-spacing: -0.01em; max-width: 760px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--ink); }
.hero .lede { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 620px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-note { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .hero { padding-block: 40px 28px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; height: 48px; }
}

/* ── the hero object: the owner dashboard ──────────────────────── */
.heroapp {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
  display: grid; grid-template-columns: 220px minmax(0, 1fr);
}
.heroapp-side { border-inline-start: 1px solid var(--hairline); padding: 20px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.heroapp-biz { display: flex; align-items: center; gap: 10px; padding: 6px 10px 18px; font-weight: 500; }
.heroapp-biz i { width: 24px; height: 24px; border-radius: var(--r-sm); background: var(--ink); color: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; font-style: normal; flex-shrink: 0; }
.heroapp-side > span { padding: 8px 10px; border-radius: var(--r-sm); color: var(--muted); }
.heroapp-side > span.on { background: var(--fill); color: var(--ink); font-weight: 500; }
.heroapp-side > span.last { margin-top: auto; }
.heroapp-main { padding: 28px 32px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.heroapp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.heroapp-head h3 { font-size: 22px; font-weight: 600; margin-top: 4px; }
.heroapp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kpi .v { font-size: 32px; font-weight: 600; line-height: 1.1; }
.kpi .m { font-size: 13px; color: var(--muted); }
.kpi .m.pos { color: var(--pos); }
.kpi a { font-size: 13px; color: var(--accent); font-weight: 500; }
.heroapp-cols { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
.minichart { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; align-items: end; height: 140px; }
.minichart i { display: block; background: var(--chart-idle); border-radius: 4px 4px 0 0; }
.minichart i.hot { background: var(--accent); }
.minilabels { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; font-size: 12px; color: var(--muted); text-align: center; direction: rtl; font-variant-numeric: tabular-nums; }
.minilabels b { color: var(--ink); font-weight: 500; }
@media (max-width: 1080px) { .heroapp { grid-template-columns: 1fr; } .heroapp-side { display: none; } .heroapp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .heroapp-cols { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .heroapp-main { padding: 18px; gap: 14px; } .kpi { padding: 12px 14px; } .kpi .v { font-size: 26px; } .minichart { height: 72px; gap: 6px; } }

/* Google-style business card mock (kept for demo.html / og.html) */
.gcard-stage { position: relative; }
.gcard { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); max-width: 430px; margin-inline: auto; }
.gcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.gcard-name { font-size: 17px; font-weight: 600; }
.gcard-cat { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.gcard-rating { display: flex; align-items: center; gap: 10px; }
.gcard-rating .num { font-size: 32px; font-weight: 600; min-width: 64px; }
.stars { position: relative; font-size: 15px; letter-spacing: 2px; color: var(--hairline); line-height: 1; user-select: none; }
.stars .fill { position: absolute; top: 0; right: 0; overflow: hidden; white-space: nowrap; color: var(--stars); width: 78%; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.gcard-count { color: var(--muted); font-size: 13px; }
.gcard-count b { color: var(--ink); font-weight: 500; }
.gcard-bars { margin-top: 16px; display: grid; gap: 6px; }
.gbar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.gbar .track { flex: 1; height: 6px; background: var(--fill); border-radius: var(--r-pill); overflow: hidden; }
.gbar .fillbar { height: 100%; background: var(--chart-idle); border-radius: var(--r-pill); width: 0; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.gcard-note { text-align: center; margin-top: 14px; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }

.toast {
  position: absolute; right: -12px; display: flex; gap: 8px; align-items: center;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 9px 14px; box-shadow: var(--shadow); font-size: 13px;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.toast.on { opacity: 1; }
.toast .t-demo { color: var(--muted); font-size: 11px; }
@media (max-width: 920px) { .toast { display: none; } }

/* ── section headers ───────────────────────────────────────────── */
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-top: 8px; letter-spacing: -0.01em; }
.sec-head p { font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 12px; }

/* ── the three things ──────────────────────────────────────────── */
.triples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.triples > div { display: flex; flex-direction: column; gap: 12px; }
.triples h3 { font-size: 17px; font-weight: 600; }
.triples p { font-size: 15px; line-height: 1.6; }
.ico { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .triples { grid-template-columns: 1fr; gap: 24px; } }

/* ── two-column explainer (how it works / FAQ) ─────────────────── */
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.split h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-top: 8px; letter-spacing: -0.01em; }
.split > div > p { font-size: 15px; line-height: 1.6; margin-top: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* ── how it works — hairline rows, no cards ────────────────────── */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--hairline);
  transition: none;
}
.steps .step:last-child { border-bottom: 1px solid var(--hairline); }
.step .n { font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: 0; width: auto; height: auto; direction: ltr; unicode-bidi: isolate; }
.step.active .n { color: var(--accent); }
.step h3 { font-size: 16px; font-weight: 600; }
.step p { font-size: 15px; line-height: 1.6; margin-top: 4px; }
.steps-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ── conversation demo — the site's own quiet chrome ───────────── */
.phone { width: min(400px, 100%); margin-inline: auto; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 0; overflow: hidden; box-shadow: var(--shadow); }
.phone-screen { background: var(--wa-bg); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; height: 560px; }
.wa-head { background: var(--wa-head); color: #FFFFFF; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.24); display: grid; place-items: center; font-weight: 600; color: #FFFFFF; font-size: 14px; flex-shrink: 0; }
.wa-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.wa-status { font-size: 12px; color: rgba(255,255,255,.78); }
.wa-chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; justify-content: flex-end; }
.bubble {
  max-width: 84%; padding: 9px 12px; border-radius: 8px; font-size: 14px; line-height: 1.5;
  color: #111B21; box-shadow: 0 1px 1px rgba(11,20,26,.13);
  opacity: 0; transition: opacity .35s ease;
}
.bubble.show { opacity: 1; }
/* customer's phone POV: business = incoming (white, right), customer = outgoing
   (WhatsApp green, left) — authentic bubble colours, kept literal on purpose. */
.bubble.biz { background: var(--wa-in); align-self: flex-start; }
.bubble.cust { background: var(--wa-out); align-self: flex-end; }
.bubble .time { display: block; font-size: 11px; color: rgba(17,27,33,.45); margin-top: 4px; text-align: left; direction: ltr; unicode-bidi: isolate; }
.bubble .linkchip { display: flex; align-items: center; gap: 8px; margin-top: 8px; background: rgba(255,255,255,.75); border-radius: 6px; padding: 8px 10px; font-size: 12.5px; color: #027EB5; font-weight: 500; }
.wa-divider { align-self: center; background: rgba(255,255,255,.9); color: rgba(17,27,33,.6); font-size: 12px; padding: 4px 12px; border-radius: var(--r-pill); opacity: 0; transition: opacity .35s; }
.wa-divider.show { opacity: 1; }
.wa-result { align-self: center; display: flex; gap: 8px; align-items: center; background: var(--pos-bg); color: var(--pos); font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: var(--r-pill); opacity: 0; transition: opacity .4s; }
.wa-result.show { opacity: 1; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* ── calculators ───────────────────────────────────────────────── */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } }
.calc { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; }
.calc h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.calc .sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.calc label { font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--muted); }
.calc label output { color: var(--ink); font-weight: 600; direction: ltr; unicode-bidi: isolate; }
input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 4px; border-radius: var(--r-pill);
  background: linear-gradient(to left, var(--accent) var(--pct, 50%), var(--hairline) var(--pct, 50%));
  outline: none; margin-bottom: 22px;
}
input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 1px solid var(--hairline); cursor: grab; }
.calc-result { border-top: 1px solid var(--hairline); padding-top: 16px; }
.calc-result .big { font-size: 28px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.calc-result .small { font-size: 13px; color: var(--muted); margin-top: 2px; }
.calc-foot { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* ── activity feed ─────────────────────────────────────────────── */
.dash-band { background: var(--surface); border-block: 1px solid var(--hairline); }
.dash-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .dash-grid { grid-template-columns: 1fr; gap: 32px; } }
.feedbox { background: var(--ground); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 16px; min-height: 280px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; justify-content: flex-end; }
.feed-item { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 11px 14px; font-size: 14px; opacity: 0; transition: opacity .4s ease; }
.feed-item.show { opacity: 1; }
.feed-item .ico { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; background: var(--fill); stroke: var(--muted); }
.feed-item .ico.gold { background: var(--accent-tint); stroke: var(--accent-text); }
.feed-item .ico.green { background: var(--pos-bg); stroke: var(--pos); }
.feed-item .ico svg { width: 15px; height: 15px; stroke: inherit; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feed-item time { margin-inline-start: auto; color: var(--muted); font-size: 12px; flex-shrink: 0; }
.feed-demo-note { text-align: center; margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }

/* ── pricing ───────────────────────────────────────────────────── */
.price-card {
  max-width: 520px; margin-inline: auto; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 32px;
  box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 640px) { .price-card { padding: 22px; gap: 16px; } }
.price-flag { align-self: flex-start; }
.price-line { display: flex; align-items: baseline; gap: 6px; }
.price-line .amount { font-size: clamp(40px, 5vw, 48px); font-weight: 600; letter-spacing: -0.02em; direction: ltr; unicode-bidi: isolate; display: inline-flex; align-items: baseline; }
.price-line .ils { font-weight: 600; font-size: inherit; color: var(--ink); }
.price-line .per { color: var(--muted); font-size: 15px; }
.price-anchor { color: var(--muted); font-size: 13px; }
.includes { list-style: none; display: grid; gap: 10px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.5; }
.includes li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px;
  background: var(--ink); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat;
}
.includes li b { font-weight: 600; }
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 6'/%3E%3C/svg%3E"); }

/* ── FAQ — hairline rows ───────────────────────────────────────── */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--hairline); background: none; padding: 0; }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 16px; height: 16px;
  background: var(--muted); transition: transform .2s;
  -webkit-mask: var(--plus) center/contain no-repeat; mask: var(--plus) center/contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
:root { --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }

/* ── final CTA / lead form ─────────────────────────────────────── */
.cta-band, .gap-band {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow); color: var(--ink); padding: 48px; text-align: center;
}
@media (max-width: 760px) { .cta-band, .gap-band { padding: 24px; } }
.cta-band h2, .gap-band h2 { color: var(--ink); font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-bottom: 12px; }
.cta-band > .wrap-inner > p, .gap-band p { color: var(--muted); font-size: 15px; max-width: 56ch; margin: 0 auto 28px; line-height: 1.6; }
.gap-band { text-align: right; }
.gap-band .big-line em { font-style: normal; color: var(--accent-text); }
.gap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 760px) { .gap-cols { grid-template-columns: 1fr; } }
.gap-col { background: var(--ground); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 18px 20px; }
.gap-col .who { font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: 15px; }
.gap-col p { font-size: 14px; margin: 0; }
.lead-form { max-width: 440px; margin-inline: auto; display: grid; gap: 10px; text-align: right; }
.lead-form input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: var(--r-md);
  border: 1px solid var(--hairline); background: var(--surface); color: var(--ink);
  font-size: 15px; font-family: inherit; transition: border-color .15s;
}
.lead-form input::placeholder { color: var(--muted); }
.lead-form input:focus { outline: none; border-color: var(--accent); }
.lead-form .btn { margin-top: 6px; background: var(--accent-btn); border-color: var(--accent-btn); color: var(--accent-btn-ink); }
.lead-form .btn:hover { background: var(--accent-btn); border-color: var(--accent-btn); filter: brightness(.94); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-note a { color: var(--accent); font-weight: 500; }

/* ── footer ────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--hairline); padding-block: 24px 32px; }
.site-foot .wrap { max-width: var(--max-wide); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-foot, .site-foot p { font-size: 13px; color: var(--muted); }
.site-foot a { display: inline-flex; align-items: center; color: var(--muted); min-height: 32px; }
.site-foot a:hover { color: var(--accent); }

/* ── mobile sticky CTA ─────────────────────────────────────────── */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    /* inline-START, so it never lands on the assistant FAB, which sits at inline-end */
    display: inline-flex; position: fixed; bottom: 16px; inset-inline-start: 16px; z-index: 80;
    align-items: center; gap: 8px;
    background: var(--accent-btn); color: var(--accent-btn-ink); font-weight: 500; font-size: 14px;
    height: 44px; padding: 0 18px; border-radius: var(--r-md); box-shadow: var(--shadow);
    transition: opacity .3s ease;
  }
  .mobile-cta .star { color: var(--accent-btn-ink); }
  .mobile-cta.tucked { opacity: 0; pointer-events: none; }
}

/* ── reveal on scroll — resting state is VISIBLE ────────────────
   The 2026-08 build parked 45 elements at opacity:0 until JS ran.
   Nothing here hides content; .in is left as a no-op hook so the
   existing IntersectionObserver keeps working without side effects. */
.rv, .rv.in, .rv-d1, .rv-d2, .rv-d3 { opacity: 1; transform: none; }

/* ═══ OWNER DASHBOARD (app.html, demo.html) ════════════════════ */
.demo-badge {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 90;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--muted);
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  padding: 7px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow);
}
@media (max-width: 880px) { .demo-badge { position: static; margin: 0 auto 16px; display: block; width: fit-content; } }

.dash-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; background: var(--ground); }
.dash-side {
  background: var(--surface); border-inline-start: 1px solid var(--hairline);
  padding: 20px 14px; display: flex; flex-direction: column; gap: 2px; align-content: start;
  /* the artboard's sidebar is always on screen — on a long dashboard it must not
     scroll away, or the owner loses the nav halfway down their own customer list. */
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.dash-side .side-logo { padding: 4px 10px 20px; }
.dash-side .side-logo .logo { font-size: 16px; }
.dash-side a {
  display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px;
  border-radius: var(--r-sm); font-size: 14px; font-weight: 400; color: var(--muted); white-space: nowrap;
}
.dash-side a .ico { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }
.dash-side a.on { background: var(--fill); color: var(--ink); font-weight: 500; border: 0; box-shadow: none; }
.dash-side a:hover:not(.on) { background: var(--fill); color: var(--ink); }
.dash-side .side-foot { padding: 12px 10px 0; font-size: 12px; color: var(--muted); }
@media (max-width: 880px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-side { position: static; height: auto; overflow-y: visible; flex-direction: row; overflow-x: auto; border-inline-start: 0; border-bottom: 1px solid var(--hairline); padding: 10px 12px; gap: 6px; }
  .dash-side .side-logo { display: none; }
  .dash-side a { flex-shrink: 0; }
}
.dash-main { display: grid; gap: 20px; align-content: start; padding: 24px 32px 48px; min-width: 0; }
@media (max-width: 760px) { .dash-main { padding: 18px 16px 40px; } }
.dash-title { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.dash-title h1 { font-size: 24px; font-weight: 600; margin-top: 4px; }
.dash-title .sub { color: var(--muted); font-size: 13px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 880px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat .label { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); margin: 0; }
.stat .val { font-size: 28px; font-weight: 600; line-height: 1.1; direction: ltr; unicode-bidi: isolate; }
.stat .delta { font-size: 12px; color: var(--muted); font-weight: 400; }

.panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: none; }
.panel h2 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.panel h3 { font-size: 14px; font-weight: 600; }
.two-col { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

.chart { display: flex; align-items: stretch; gap: 8px; height: 150px; padding-top: 8px; }
.chart .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; text-align: center; font-size: 11px; color: var(--muted); min-width: 0; }
.chart .bar i { display: block; background: var(--chart-idle); border-radius: 3px 3px 0 0; min-height: 4px; transform-origin: bottom; transform: scaleY(1); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.chart .bar.hot i { background: var(--accent); }
.chart .bar b { color: var(--ink); font-weight: 500; }

.review-list { display: grid; gap: 12px; }
.review { border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 16px 18px; background: var(--surface); }
.review .rhead { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review .avatar { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; font-weight: 600; font-size: 12px; color: var(--surface); background: var(--ink); flex-shrink: 0; }
.review .rname { font-weight: 500; font-size: 14px; }
.review .rtime { margin-inline-start: auto; font-size: 12px; color: var(--muted); }
.review p { font-size: 14px; line-height: 1.55; }
.ai-reply { margin-top: 10px; background: var(--pos-bg); border: 0; border-radius: var(--r-md); padding: 10px 14px; font-size: 13px; color: var(--pos); line-height: 1.55; }
.ai-reply .who { font-weight: 600; color: var(--pos); font-size: 12px; display: flex; gap: 6px; align-items: center; margin-bottom: 2px; }

.progressline { display: grid; gap: 8px; margin-top: 8px; }
.progressline .row { display: flex; justify-content: space-between; font-size: 13px; }
.progressline .track { height: 6px; border-radius: var(--r-pill); background: var(--fill); overflow: hidden; }
.progressline .fillbar { height: 100%; background: var(--accent); border-radius: var(--r-pill); width: 0; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }

/* ── tables (owner app) ────────────────────────────────────────── */
table.ktable { width: 100%; border-collapse: collapse; font-size: 14px; }
table.ktable th { text-align: right; color: var(--muted); font-weight: 500; font-size: 12px; padding: 0 12px 10px; border-bottom: 1px solid var(--hairline); }
table.ktable td { padding: 12px; border-bottom: 1px solid var(--hairline); vertical-align: middle; }
table.ktable tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* ── forms (owner app, login, capture) ─────────────────────────── */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.field input, .field select, .field textarea,
.copy-row input, .suggestion-box textarea, .biz-switcher select {
  width: 100%; padding: 11px 14px; border-radius: var(--r-md); border: 1px solid var(--hairline);
  background: var(--surface); color: var(--ink); font-size: 15px; font-family: inherit;
  transition: border-color .15s;
}
.field textarea, .suggestion-box textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus,
.copy-row input:focus, .suggestion-box textarea:focus, .biz-switcher select:focus { outline: none; border-color: var(--accent); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { flex: 1; min-width: 160px; margin-bottom: 0; }

/* ── messages / notices ────────────────────────────────────────── */
.msg { font-size: 14px; border-radius: var(--r-md); padding: 11px 14px; margin-top: 12px; border: 0; }
.msg.ok { background: var(--pos-bg); color: var(--pos); }
.msg.err { background: var(--warn-bg); color: var(--warn); }
.msg.note { background: var(--accent-tint); color: var(--accent-text); }
.empty-note { color: var(--muted); font-size: 14px; padding: 18px 4px; text-align: center; }
.hint-small { font-size: 12px; color: var(--muted); margin-top: 4px; }

@media print {
  body { background: #FFFFFF; }
  .rv { opacity: 1; transform: none; }
  .site-head, .site-foot, .mobile-cta, .demo-badge { display: none !important; }
}
