:root {
  --blue: #0a66ff;
  --blue-2: #2c4bff;
  --navy: #0b1640;
  --ink: #0b1640;
  --muted: #56617f;
  --bg: #ffffff;
  --soft: #f3f6ff;
  --card: #ffffff;
  --line: #e3e8f5;
  --ok: #12a46a;
  --shadow: 0 1px 2px rgba(11, 22, 64, .06), 0 12px 32px -12px rgba(11, 22, 64, .18);
  --r: 18px;
  --logo-ink: #0b1640;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef2ff;
    --muted: #a3acc7;
    --bg: #090e20;
    --soft: #0f1630;
    --card: #121a37;
    --line: #222c50;
    --logo-ink: #ffffff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --ink: #eef2ff;
    --muted: #a3acc7;
    --bg: #090e20;
    --soft: #0f1630;
    --card: #121a37;
    --line: #222c50;
    --logo-ink: #ffffff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff; font-weight: 600; text-decoration: none; font-size: 16px;
  border: 0; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(10, 102, 255, .7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(10, 102, 255, .8); }
.btn:focus-visible, .lang:focus-visible, summary:focus-visible { outline: 3px solid rgba(10, 102, 255, .45); outline-offset: 2px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); box-shadow: none; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); box-shadow: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: block; color: var(--logo-ink); line-height: 0; }
.brand svg { width: 136px; height: auto; display: block; overflow: visible; }
.links { display: flex; gap: 22px; margin-inline-start: 12px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15.5px; }
.links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang {
  min-height: 40px; min-width: 48px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink);
  font: 600 14px/1 "Rubik", system-ui, sans-serif; cursor: pointer;
}
.lang:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 860px) {
  .links { display: none; }
  .brand svg { width: 116px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(10, 102, 255, .14), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(44, 75, 255, .10), transparent 60%);
}
html[dir="ltr"] .hero {
  background:
    radial-gradient(900px 480px at 15% -10%, rgba(10, 102, 255, .14), transparent 60%),
    radial-gradient(700px 420px at 100% 110%, rgba(44, 75, 255, .10), transparent 60%);
}
.hero-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px;
  background: rgba(10, 102, 255, .1); color: var(--blue); font-weight: 600; font-size: 14.5px;
}
h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.15; margin: 0 0 20px; font-weight: 800; letter-spacing: -.01em; }
h1 span { display: block; }
.grad { background: linear-gradient(135deg, var(--blue), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* the till mock */
.hero-art { position: relative; justify-self: center; width: min(360px, 100%); padding-bottom: 40px; }
.till {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 22px; box-shadow: var(--shadow); transform: rotate(-2deg);
}
html[dir="ltr"] .till { transform: rotate(2deg); }
.till-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 17px; }
.till-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(18, 164, 106, .18); }
.pill { margin-inline-start: auto; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 170, 0, .16); color: #b26b00; font-weight: 600; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pill { color: #ffc35c; }
}
:root[data-theme="dark"] .pill { color: #ffc35c; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.line.note { padding-top: 0; border-bottom-style: dashed; color: var(--muted); font-size: 13.5px; }
.line.note span::before { content: "↳ "; }
html[dir="rtl"] .line.note span::before { content: "↲ "; }
.line b { font-weight: 600; }
.till-total { display: flex; justify-content: space-between; padding-top: 14px; font-size: 20px; font-weight: 700; }
.till-pts { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(10, 102, 255, .08); color: var(--blue); font-weight: 600; font-size: 14.5px; }
.tier { padding: 2px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; }
.ping {
  position: absolute; inset-inline-start: -36px; bottom: -8px;
  display: flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 18px 40px -14px rgba(11, 22, 64, .55);
  animation: bob 3.2s ease-in-out infinite;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ping { background: #1d2a5c; }
}
:root[data-theme="dark"] .ping { background: #1d2a5c; }
.ping svg { color: #ffd166; flex: none; animation: ring 3.2s ease-in-out infinite; transform-origin: 50% 10%; }
.ping b { display: block; font-size: 14.5px; }
.ping small { opacity: .75; font-size: 12.5px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .ping, .ping svg { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .hero { padding: 44px 0 72px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { width: min(340px, 100% - 24px); }
  .ping { inset-inline-start: -8px; bottom: -6px; }
}

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec.soft { background: var(--soft); }
.kicker { margin: 0 0 8px; color: var(--blue); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; }
html[dir="ltr"] .kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; margin: 0 0 14px; font-weight: 800; }
.sub { color: var(--muted); margin: 0 0 36px; }
h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.35; }
@media (max-width: 700px) { .sec { padding: 64px 0; } }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ic {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(10, 102, 255, .14), rgba(44, 75, 255, .08)); color: var(--blue);
}
.ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps b {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 14px;
  background: var(--navy); color: #fff; font-size: 17px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .steps b { background: var(--blue); }
}
:root[data-theme="dark"] .steps b { background: var(--blue); }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px;
}
.plan.hot { border: 2px solid var(--blue); box-shadow: 0 24px 50px -24px rgba(10, 102, 255, .55); }
.badge {
  position: absolute; top: -14px; inset-inline-start: 24px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff;
  font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
}
.price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 4px; }
.price b { font-size: 50px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.price span { font-size: 26px; font-weight: 700; }
.price small { color: var(--muted); font-size: 15px; margin-inline-start: 6px; }
.plan-for { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.plan li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(10, 102, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a66ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.plan li.all { font-weight: 600; }
.plan .btn { width: 100%; }
.fine { color: var(--muted); font-size: 14.5px; margin: 22px 0 0; text-align: center; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 26px; } }

/* ---------- stats ---------- */
.stats { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stats { background: #0d1a4a; }
}
:root[data-theme="dark"] .stats { background: #0d1a4a; }
.stats .kicker { color: #8fb6ff; }
.stats .fine { color: rgba(255, 255, 255, .6); }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.num { padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.num b { display: block; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; font-weight: 800; direction: ltr; unicode-bidi: isolate; text-align: start; }
html[dir="rtl"] .num b { text-align: right; }
.num span { color: rgba(255, 255, 255, .72); font-size: 15px; }
@media (max-width: 860px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .num { padding: 18px 16px; } .num b { font-size: 28px; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.about p { color: var(--muted); }
.name-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; text-align: center; box-shadow: var(--shadow); }
.name-card img { margin: 0 auto 8px; }
.name-card p { margin: 0; font-size: 15.5px; }
.ar-name { font-size: 44px !important; font-weight: 800; color: var(--ink) !important; line-height: 1.5 !important; margin-bottom: 6px !important; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--blue); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; text-align: center; }
.contact-in p { opacity: .88; margin: 0 0 28px; font-size: 18px; }

/* ---------- footer ---------- */
.foot { padding: 32px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot img { width: 108px; }
.foot p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* =====================================================================
   Multi-page + motion (GSAP / Barba)
   ===================================================================== */
.anim [data-hero], .anim [data-reveal], .anim .till, .anim .ping, .anim .brand .lg-l, .anim .brand .lg-s { visibility: hidden; }
[id] { scroll-margin-top: 84px; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 60; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* nav: active link + sliding bar */
.links { position: relative; }
.links a { padding: 6px 2px; }
.links a[aria-current="page"] { color: var(--ink); }
.links-bar { position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); visibility: hidden; }

/* burger + drawer (phones) */
.burger { display: none; width: 44px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease; }
.drawer-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.drawer-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.drawer { display: none; gap: 4px; padding: 8px 16px 18px; border-top: 1px solid var(--line); background: var(--bg); }
.drawer a { padding: 12px 6px; text-decoration: none; font-weight: 600; font-size: 18px; border-bottom: 1px solid var(--line); }
.drawer a[aria-current="page"] { color: var(--blue); }
@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .nav-end .btn-sm { display: none; }
}
@media (min-width: 861px) { .drawer { display: none !important; } }

/* inner page heroes */
.page-hero {
  padding: 72px 0 24px;
  background: radial-gradient(800px 360px at 85% -20%, rgba(10, 102, 255, .13), transparent 60%);
}
html[dir="ltr"] .page-hero { background: radial-gradient(800px 360px at 15% -20%, rgba(10, 102, 255, .13), transparent 60%); }
.page-hero h1 { max-width: 16em; }
.page-hero .lead { margin-bottom: 0; }
.sec-tight { padding-top: 40px; }
.sec-tight .grid, .sec-tight .plans, .sec-tight .about { margin-top: 0; }

.more { margin: 28px 0 0; }
.arrow-link { color: var(--blue); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.arrow-link::after { content: "←"; transition: transform .2s; }
html[dir="ltr"] .arrow-link::after { content: "→"; }
.arrow-link:hover::after { transform: translateX(-4px); }
html[dir="ltr"] .arrow-link:hover::after { transform: translateX(4px); }

/* home: pricing teaser */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.teaser .sub { margin-bottom: 0; }
.teaser-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tp { display: grid; gap: 2px; padding: 22px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); text-decoration: none; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tp b { font-size: 36px; font-weight: 800; line-height: 1.1; }
.tp b::after { content: " ₪"; font-size: 18px; }
.tp span { color: var(--muted); font-size: 15px; }
.tp.hot { border: 2px solid var(--blue); }
.tp:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 760px) { .teaser { grid-template-columns: 1fr; } }

/* pricing: comparison table */
.table-wrap { overflow-x: auto; margin-top: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody th { text-align: start; font-weight: 500; }
.compare thead th { font-size: 16px; font-weight: 700; background: var(--soft); }
.compare thead th.hot { color: var(--blue); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td.y { color: var(--blue); font-weight: 700; }
.compare td.n { color: var(--muted); opacity: .5; }

/* footer links */
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: var(--ink); }

/* page transition */
.wipe { position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden; display: grid; place-items: center; }
.wipe-panel { position: absolute; inset: 0; transform: scaleX(0); }
.wipe-a { background: var(--navy); }
.wipe-b { background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.wipe-mark { position: relative; width: min(440px, 72vw); line-height: 0; }
.wipe-mark svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .25)); }
.wipe .lg-l, .wipe .lg-s { opacity: 0; }

/* =====================================================================
   Live layer: hero chip, marquee, dashboard, feature demos, hover fx
   ===================================================================== */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* drifting colour blobs behind sections */
.hero, .dash-sec { position: relative; isolation: isolate; }
.blob { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .45; pointer-events: none; }
.hero .b1 { background: radial-gradient(circle, rgba(10, 102, 255, .55), transparent 65%); top: -160px; inset-inline-end: -120px; }
.hero .b2 { background: radial-gradient(circle, rgba(124, 92, 255, .4), transparent 65%); bottom: -220px; inset-inline-start: -160px; }
.dash-sec .b1 { background: radial-gradient(circle, rgba(10, 102, 255, .35), transparent 65%); top: 10%; inset-inline-start: -200px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .blob { opacity: .6; }
}
:root[data-theme="dark"] .blob { opacity: .6; }

/* order card status colours */
.pill.s-placed { background: rgba(10, 102, 255, .14); color: var(--blue); }
.pill.s-prep { background: rgba(255, 170, 0, .16); color: #b26b00; }
.pill.s-ready { background: rgba(18, 164, 106, .16); color: #0b8a57; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pill.s-prep { color: #ffc35c; }
  :root:not([data-theme="light"]) .pill.s-ready { color: #4fd59c; }
  :root:not([data-theme="light"]) .pill.s-placed { color: #7fb0ff; }
}
:root[data-theme="dark"] .pill.s-prep { color: #ffc35c; }
:root[data-theme="dark"] .pill.s-ready { color: #4fd59c; }
:root[data-theme="dark"] .pill.s-placed { color: #7fb0ff; }
.till { will-change: transform; }

/* floating "today" chip */
.chip-sales {
  position: absolute; top: -26px; inset-inline-end: -30px; z-index: 2;
  display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 0 10px;
  padding: 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); min-width: 150px;
}
.chip-sales span { color: var(--muted); font-size: 12.5px; grid-column: 1 / -1; }
.chip-sales b { font-size: 22px; font-weight: 800; }
.chip-sales em { font-style: normal; color: var(--ok); font-size: 13px; font-weight: 600; }
.chip-sales svg { grid-column: 1 / -1; width: 100%; height: 26px; margin-top: 4px; overflow: visible; }
.chip-sales path { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 900px) { .chip-sales { inset-inline-end: -6px; top: -34px; } }

/* marquee strip */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--soft); padding: 14px 0; direction: ltr;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 22px; width: max-content; }
.mq { font-weight: 600; font-size: 16px; white-space: nowrap; color: var(--ink); }
.mq-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-2)); flex: none; }

/* clickable feature cards */
.card[data-feature] { cursor: pointer; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.card[data-feature] p { flex: 1; }
.more-hint { margin-top: 16px; color: var(--blue); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.more-hint::after { content: "←"; transition: transform .25s; }
html[dir="ltr"] .more-hint::after { content: "→"; }
.card[data-feature]:hover .more-hint::after { transform: translateX(-4px); }
html[dir="ltr"] .card[data-feature]:hover .more-hint::after { transform: translateX(4px); }
.card[data-feature]:focus-visible { outline: 3px solid rgba(10, 102, 255, .45); outline-offset: 2px; }

/* pointer spotlight on cards/panels */
.card, .plan, .tp, .kpi, .panel { --mx: 50%; --my: 50%; }
.card::before, .plan::before, .tp::before, .kpi::before, .panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(10, 102, 255, .12), transparent 60%);
}
.card:hover::before, .plan:hover::before, .tp:hover::before, .kpi:hover::before, .panel:hover::before { opacity: 1; }
.plan, .tp, .kpi, .panel { position: relative; }

/* popular plan: a slowly turning gradient border */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan.hot { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, conic-gradient(from var(--ang), var(--blue), #7c5cff, #2ec5ff, var(--blue)) border-box; animation: turn 6s linear infinite; }
@keyframes turn { to { --ang: 360deg; } }
@media (prefers-reduced-motion: reduce) { .plan.hot { animation: none; } }

/* ---------------- dashboard ---------------- */
.dash { margin-top: 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 40px 80px -40px rgba(11, 22, 64, .35); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--soft); }
.dots { display: flex; gap: 6px; direction: ltr; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.dash-title { font-weight: 600; font-size: 14.5px; color: var(--muted); }
.live-pill { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ok); }
.live-pill i, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(18, 164, 106, .6); animation: live 1.6s infinite; display: inline-block; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(18, 164, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 164, 106, 0); } }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 18px; }
.kpi { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.kpi span { display: block; color: var(--muted); font-size: 13.5px; }
.kpi b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.3; direction: ltr; text-align: start; unicode-bidi: isolate; }
html[dir="rtl"] .kpi b { text-align: right; }
.kpi em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ok); }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; padding: 0 18px 18px; }
.panel { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--bg); min-width: 0; overflow: hidden; }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.p-head b { font-size: 15px; }
.p-head span { color: var(--muted); font-size: 12.5px; }
.chart { position: relative; }
.dash-note { margin: 0; padding: 0 18px 16px; color: var(--muted); font-size: 12.5px; text-align: center; }
@media (max-width: 960px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .dash-kpis, .dash-grid { padding-inline: 12px; } .kpi { padding: 12px; } }

/* line chart */
.lc { width: 100%; height: auto; display: block; overflow: visible; direction: ltr; }
.lc .grid { stroke: var(--line); stroke-width: 1; }
.lc .ax { fill: var(--muted); font-size: 11px; font-family: inherit; }
.lc .ln { stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; }
.lc .now { fill: var(--blue); stroke: var(--bg); stroke-width: 2; }
.lc .now-ring { fill: none; stroke: var(--blue); stroke-width: 2; }
.lc .cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.lc .hot { fill: var(--bg); stroke: var(--blue); stroke-width: 2.5; opacity: 0; }
.lc.hovering .cross, .lc.hovering .hot { opacity: 1; }
.lc .hit { cursor: crosshair; }
.tip {
  position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 12px));
  background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: 13px; white-space: nowrap;
  display: grid; gap: 1px; opacity: 0; transition: opacity .15s; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}
.tip b { font-size: 15px; } .tip span { opacity: .75; font-size: 12px; }
.tip.on { opacity: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tip { background: #24315f; }
}
:root[data-theme="dark"] .tip { background: #24315f; }

/* best sellers */
.bar-row { display: grid; grid-template-columns: 7.5em 1fr 3em; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; }
.bar-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 10px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 0 6px 6px 0; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transform-origin: 0 50%; transform: scaleX(0); }
html[dir="rtl"] .bar-track { transform: scaleX(-1); }
.bar-val { text-align: end; font-weight: 700; direction: ltr; unicode-bidi: isolate; }

/* heatmap: one hue, light to dark */
.heat-grid { display: grid; grid-template-columns: 4.2em repeat(16, minmax(0, 1fr)); gap: 3px; align-items: center; direction: ltr; }
.heat-day { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heat-h { font-size: 10.5px; color: var(--muted); text-align: center; }
.cell { display: block; aspect-ratio: 1; border-radius: 4px; cursor: default; }
.q0 { background: color-mix(in srgb, var(--blue) 10%, var(--bg)); }
.q1 { background: color-mix(in srgb, var(--blue) 28%, var(--bg)); }
.q2 { background: color-mix(in srgb, var(--blue) 48%, var(--bg)); }
.q3 { background: color-mix(in srgb, var(--blue) 72%, var(--bg)); }
.q4 { background: var(--blue-2); }
.cell:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
.heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.heat-legend i { width: 14px; height: 14px; border-radius: 3px; }
.heat-legend span { margin-inline: 4px; }

/* order feed */
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.feed-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; font-size: 14px; overflow: hidden; }
.feed-row + .feed-row { border-top: 1px dashed var(--line); }
.feed-no { color: var(--muted); font-weight: 600; font-size: 13px; direction: ltr; }
.feed-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-price { font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.feed .pill { font-style: normal; font-size: 12px; padding: 3px 9px; margin: 0; }

/* ---------------- feature modal ---------------- */
.fx-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.fx-modal[hidden] { display: none; }
.fx-open { overflow: hidden; }
.fx-backdrop { position: absolute; inset: 0; background: rgba(6, 10, 28, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fx-panel {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; padding: 32px;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .55);
}
.fx-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; }
.fx-close:hover { border-color: var(--blue); color: var(--blue); }
.fx-text { display: flex; flex-direction: column; }
.fx-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 16px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; }
.fx-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fx-text h3 { font-size: 28px; margin-bottom: 10px; }
.fx-p { color: var(--muted); margin: 0 0 16px; }
.fx-ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.fx-ul li { display: flex; gap: 10px; align-items: flex-start; }
.fx-ul li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: rgba(10, 102, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a66ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.fx-nav { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.fx-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 18px; }
.fx-nav button:hover { border-color: var(--blue); color: var(--blue); }
.fx-prev::after { content: "→"; } .fx-next::after { content: "←"; }
html[dir="ltr"] .fx-prev::after { content: "←"; } html[dir="ltr"] .fx-next::after { content: "→"; }
.fx-count { color: var(--muted); font-size: 14px; font-weight: 600; direction: ltr; }
.fx-demo { position: relative; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); min-height: 360px; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.fx-demo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at 80% 0%, rgba(10, 102, 255, .12), transparent 60%); pointer-events: none; }
.fx-demo-in { width: 100%; max-width: 380px; position: relative; z-index: 1; }
.fx-demo-l { position: absolute; bottom: 10px; inset-inline-end: 14px; font-size: 11.5px; color: var(--muted); }
@media (max-width: 820px) {
  .fx-panel { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .fx-demo { min-height: 300px; order: -1; }
  .fx-text h3 { font-size: 23px; }
}

/* demo pieces (shared look) */
.fx-demo-in svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.d-off { display: grid; gap: 16px; justify-items: center; }
.d-net { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(18, 164, 106, .14); color: var(--ok); font-weight: 700; transition: background .3s, color .3s; }
.d-net.down { background: rgba(229, 72, 77, .14); color: #e5484d; }
.d-net svg { width: 22px; height: 22px; }
.d-queue { display: flex; gap: 8px; min-height: 64px; flex-wrap: wrap; justify-content: center; }
.d-bill { display: grid; padding: 8px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; }
.d-bill b { font-size: 14px; }
.d-cloud { display: grid; justify-items: center; color: var(--blue); gap: 6px; font-weight: 700; font-size: 14px; }
.d-cloud svg { width: 54px; height: 54px; }
.d-ring { display: grid; justify-items: center; gap: 18px; }
.d-bell { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; }
.d-bell svg { width: 38px; height: 38px; position: relative; z-index: 1; }
.d-bell i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; }
.d-order { display: grid; justify-items: center; gap: 2px; padding: 12px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); min-width: 240px; }
.d-order b { font-size: 18px; } .d-order-w { color: var(--muted); font-size: 13px; min-height: 1.4em; }
.d-accept { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--blue); color: #fff; font: 600 15px/1 inherit; font-family: inherit; transition: background .3s; }
.d-accept.ok { background: var(--ok); }
.d-phone { position: relative; margin: 0 auto; width: 230px; border-radius: 34px; border: 8px solid var(--navy); background: var(--bg); padding: 26px 14px 16px; display: grid; gap: 12px; box-shadow: var(--shadow); overflow: hidden; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .d-phone { border-color: #2a3768; }
}
:root[data-theme="dark"] .d-phone { border-color: #2a3768; }
.d-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 70px; height: 14px; border-radius: 10px; background: var(--navy); }
.d-ph-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.d-pts { color: var(--blue); font-weight: 700; direction: ltr; }
.d-ph-card { display: grid; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 13px; }
.d-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.d-steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.d-steps i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.d-steps li.on { color: var(--ink); font-weight: 600; }
.d-steps li.on i { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 0 4px rgba(18, 164, 106, .15); }
.d-toast { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 13px; }
.d-toast svg { width: 18px; height: 18px; color: #ffd166; flex: none; }
.d-loy { position: relative; width: 220px; margin: 0 auto; }
.d-ringc { width: 220px; height: 220px; display: block; }
.d-ringc circle { fill: none; stroke-width: 12; }
.d-ringc .bg { stroke: var(--line); }
.d-ringc .fg { stroke: var(--blue); stroke-linecap: round; }
.d-loy-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.d-loy-n { font-size: 40px; font-weight: 800; line-height: 1; direction: ltr; }
.d-loy-t { margin-top: 8px; padding: 4px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; justify-self: center; }
.d-loy-t.up { background: linear-gradient(135deg, #7c5cff, var(--blue)); }
.d-coins { position: absolute; left: 50%; top: 50%; }
.coin { position: absolute; width: 26px; height: 26px; margin: -13px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-style: normal; color: #7a4b00; background: radial-gradient(circle at 35% 30%, #ffe08a, #f5b400); box-shadow: 0 4px 10px rgba(245, 180, 0, .4); }
.d-drawer, .d-stock, .d-audit, .d-rep, .d-exp-c { display: grid; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.d-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 4px 0; }
.d-row b { direction: ltr; unicode-bidi: isolate; }
.d-exp { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; font-weight: 600; }
.d-cnt { font-weight: 600; }
.d-diff { margin-top: 6px; padding: 10px; border-radius: 12px; text-align: center; background: rgba(18, 164, 106, .12); color: var(--ok); font-weight: 700; }
.d-cup { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; margin-bottom: 4px; }
.d-sold { font-weight: 800; font-size: 18px; direction: ltr; }
.d-ing { display: grid; gap: 4px; font-size: 13.5px; }
.d-ing small { color: var(--muted); }
.d-tank { height: 10px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.d-tank i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; border-radius: 6px; }
html[dir="rtl"] .d-tank { transform: scaleX(-1); }
.d-cost { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.d-cost b { color: var(--ink); direction: ltr; unicode-bidi: isolate; }
.d-cost .m b { color: var(--ok); }
.d-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: 170px; align-items: end; }
.d-wk { display: grid; justify-items: center; gap: 6px; height: 100%; grid-template-rows: 1fr auto; font-size: 12px; color: var(--muted); }
.d-pair { display: flex; gap: 4px; align-items: flex-end; height: 100%; }
.d-pair i { width: 16px; height: 100%; border-radius: 4px 4px 0 0; transform-origin: 50% 100%; }
.d-pair .s, .d-legend .s { background: var(--blue); }
.d-pair .e, .d-legend .e { background: #9aa6c7; }
.d-legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.d-legend span { display: inline-flex; align-items: center; gap: 6px; }
.d-legend i { width: 10px; height: 10px; border-radius: 3px; }
.d-profit { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--muted); }
.d-profit b { font-size: 24px; color: var(--ink); direction: ltr; }
.d-profit em { font-style: normal; color: var(--ok); font-weight: 600; }
.d-rep-k { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-rep-k > div { display: grid; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 12.5px; color: var(--muted); }
.d-rep-k b { font-size: 20px; color: var(--ink); direction: ltr; text-align: start; }
html[dir="rtl"] .d-rep-k b { text-align: right; }
.d-rep-k em { font-style: normal; color: var(--ok); font-weight: 600; }
.d-rep-l { width: 100%; height: auto; direction: ltr; }
.d-rep-l .l { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; }
.d-rep-l .a { fill: rgba(10, 102, 255, .14); stroke: none; }
.d-rep-t { font-size: 13.5px; color: var(--muted); }
.d-roles { display: flex; gap: 6px; }
.d-roles span { padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--soft); color: var(--muted); transition: background .3s, color .3s; }
.d-roles span.on { background: var(--blue); color: #fff; }
.d-audit ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; min-height: 170px; align-content: start; }
.d-audit li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 13.5px; padding: 8px 10px; border-radius: 10px; background: var(--soft); }
.d-audit time { color: var(--blue); font-weight: 700; direction: ltr; }

/* ---------- no sideways scrolling on phones, ever ---------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.dash-sec, .sec, .stats { overflow-x: clip; }

/* intro curtain covers the page from the first paint */
.intro header, .intro main, .intro footer { visibility: hidden; }
.intro .wipe { visibility: visible; }
.intro .wipe-panel { transform: none; }

/* headline words rise out of a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }

.more.center { text-align: center; }
.steps-sec .steps li { position: relative; overflow: hidden; }
.steps-sec .steps li::after { content: ""; position: absolute; inset-inline-end: -20px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 102, 255, .12), transparent 70%); }
.grad .wi { background: linear-gradient(135deg, var(--blue), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 600px) {
  .compare { min-width: 0; font-size: 13px; table-layout: fixed; }
  .compare th, .compare td { padding: 10px 6px; }
  .compare tbody th { width: 46%; }
  .compare thead th { font-size: 13.5px; }
}

/* =====================================================================
   Round 3: sound toggle, industries, platform, more demo examples
   ===================================================================== */
/* nav gets busier: burger earlier */
@media (max-width: 1060px) {
  .links { display: none; }
  .burger { display: inline-flex; }
  .nav-end .btn-sm { display: none; }
}
@media (min-width: 1061px) { .drawer { display: none !important; } }
.links { gap: 18px; }
.links a { font-size: 15px; white-space: nowrap; }

.snd { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.snd svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.snd .x { display: none; }
.snd.muted .w1, .snd.muted .w2 { display: none; }
.snd.muted .x { display: inline; }
.snd:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 380px) { .snd { display: none; } }

/* hero: "made for …" */
.rotator { margin: -12px 0 28px; font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rot { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; }
.rot b { display: inline-block; color: var(--blue); }

/* industries */
.ind-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.ind-tab { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px/1 "Rubik", system-ui, sans-serif; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.ind-tab:hover { border-color: var(--blue); color: var(--blue); }
.ind-tab[aria-selected="true"] { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; border-color: transparent; }
.ind-panes { position: relative; border-radius: 24px; border: 1px solid var(--line); background: var(--card); padding: 28px; min-height: 340px; overflow: hidden; }
.ind-panes::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 102, 255, .12), transparent 65%); pointer-events: none; }
.ind-pane { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; position: relative; }
.ind-pane[hidden] { display: none; }
.ind-copy h3 { font-size: 30px; margin-bottom: 4px; }
.ind-tag { color: var(--blue); font-weight: 600; margin: 0 0 18px; }
.ind-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ind-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.ind-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(10, 102, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a66ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.ind-screen { border-radius: 18px; border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow); overflow: hidden; }
.ind-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ind-bar b { color: var(--muted); font-weight: 600; }
.ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.ind-tile { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ind-tile span { font-size: 14.5px; font-weight: 500; }
.ind-tile b { color: var(--blue); font-size: 18px; direction: ltr; text-align: start; unicode-bidi: isolate; }
html[dir="rtl"] .ind-tile b { text-align: right; }
.ind-tile.hit { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 102, 255, .15); transform: scale(.98); }
.ind-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px dashed var(--line); font-weight: 700; }
.ind-total b { font-size: 22px; direction: ltr; unicode-bidi: isolate; }
@media (max-width: 860px) {
  .ind-pane { grid-template-columns: 1fr; gap: 20px; }
  .ind-panes { padding: 18px; }
  .ind-copy h3 { font-size: 24px; }
  .ind-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .ind-tabs::-webkit-scrollbar { display: none; }
  .ind-tab { flex: none; }
}

/* feature modal: example tabs */
.fx-ex { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: center; gap: 6px; z-index: 2; flex-wrap: wrap; }
.fx-ex:empty { display: none; }
.fx-ex button { min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font: 600 13px/1 "Rubik", system-ui, sans-serif; cursor: pointer; }
.fx-ex button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .fx-ex button[aria-selected="true"] { background: var(--blue); }
}
:root[data-theme="dark"] .fx-ex button[aria-selected="true"] { background: var(--blue); }
.fx-ex:not(:empty) ~ .fx-demo-in { margin-top: 34px; }

/* extra demo pieces */
.d-printer { display: grid; justify-items: center; }
.d-slot { width: 250px; height: 16px; border-radius: 8px; background: var(--navy); position: relative; z-index: 2; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .d-slot { background: #2a3768; }
}
:root[data-theme="dark"] .d-slot { background: #2a3768; }
.d-printer { overflow: hidden; padding-bottom: 6px; }
.d-paper { width: 210px; margin-top: -6px; background: #fff; color: #222; padding: 16px 14px 18px; display: grid; gap: 6px; font-size: 12.5px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); clip-path: polygon(0 0, 100% 0, 100% 96%, 92% 100%, 84% 96%, 76% 100%, 68% 96%, 60% 100%, 52% 96%, 44% 100%, 36% 96%, 28% 100%, 20% 96%, 12% 100%, 4% 96%, 0 100%); }
.d-r-h { text-align: center; font-size: 15px; }
.d-paper small { text-align: center; color: #666; }
.d-r-l { display: flex; justify-content: space-between; gap: 8px; }
.d-r-t { border-top: 1px dashed #bbb; padding-top: 6px; font-weight: 700; }
.d-lock { background: linear-gradient(160deg, #1d2a5c, #0b1640); color: #fff; min-height: 330px; }
.d-time { text-align: center; font-size: 34px; font-weight: 300; margin: 6px 0 4px; }
.d-notes { display: grid; gap: 8px; }
.d-note { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font-size: 12px; }
.d-note svg { width: 18px; height: 18px; color: #ffd166; }
.d-note b { display: block; font-size: 12.5px; }
.d-note time { opacity: .7; font-size: 11px; }
.d-note.ok { grid-template-columns: 1fr; background: rgba(18, 164, 106, .35); }
.d-cart { font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.d-cart i { font-style: normal; min-width: 20px; height: 20px; border-radius: 10px; background: var(--blue); color: #fff; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 700; }
.d-menu { display: grid; gap: 8px; }
.d-mi { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--soft); font-size: 13px; }
.d-mi b { direction: ltr; }
.d-mi button, .d-order-btn { border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: 700 14px/1 "Rubik", system-ui, sans-serif; }
.d-mi button { width: 26px; height: 26px; }
.d-order-btn { min-height: 40px; transition: background .3s; }
.d-order-btn.done { background: var(--ok); }
.d-redeem .d-accept { margin: 6px 0; }
.d-redeem .pts { color: var(--blue); }
.d-alert { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(229, 72, 77, .12); color: #e5484d; font-weight: 600; font-size: 13.5px; }
.d-alert svg { width: 18px; height: 18px; flex: none; }
.d-po { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 13px; }
.d-po span { color: var(--muted); grid-column: 1; }
.d-po em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--ok); font-weight: 700; }
.d-cmp { display: grid; gap: 12px; }
.d-cmp-r { display: grid; grid-template-columns: 4.5em 1fr 3.5em; gap: 10px; align-items: center; font-size: 13.5px; }
.d-cmp-r b { direction: ltr; text-align: end; }
.d-cmp .d-tank { height: 18px; }
.d-ledger ul, .d-scl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 120px; align-content: start; }
.d-ledger li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; font-size: 13px; padding: 6px 8px; border-radius: 8px; background: var(--soft); }
.d-ledger li time { color: var(--muted); direction: ltr; }
.d-ledger li b { direction: ltr; color: #e5484d; }
.d-ledger li.pay b { color: var(--ok); }
.d-led-h { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.d-led-h small { display: block; color: var(--muted); font-size: 12px; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; font-weight: 800; flex: none; }
.d-chat { background: var(--soft); }
.d-msgs { display: grid; gap: 8px; align-content: start; min-height: 220px; }
.d-msg { max-width: 85%; padding: 8px 11px; border-radius: 14px; font-size: 12.5px; line-height: 1.5; }
.d-msg.out { justify-self: start; background: #d9fdd3; color: #111; border-start-start-radius: 4px; }
.d-msg.in { justify-self: end; background: var(--card); border-start-end-radius: 4px; }
html[dir="ltr"] .d-msg.out { justify-self: end; } html[dir="ltr"] .d-msg.in { justify-self: start; }
.d-cam { position: relative; height: 120px; border-radius: 12px; background: #111; display: grid; place-items: center; overflow: hidden; }
.d-code { display: flex; gap: 3px; padding: 10px 14px; background: #fff; border-radius: 6px; }
.d-code i { width: 3px; height: 46px; background: #111; }
.d-code i:nth-child(3n) { width: 6px; } .d-code i:nth-child(4n) { width: 2px; }
.d-laser { position: absolute; left: 8%; right: 8%; height: 2px; background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; top: 15%; }
.d-scl li { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 8px; border-radius: 8px; background: var(--soft); }
.d-scl li b { direction: ltr; }
.d-pc { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.d-shelf { display: grid; justify-items: center; gap: 8px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.d-qr { width: 76px; height: 76px; border-radius: 8px; background:
  conic-gradient(from 90deg at 25% 25%, #111 0 25%, transparent 0) 0 0/50% 50%,
  repeating-linear-gradient(90deg, #111 0 6px, #fff 6px 10px), #fff; border: 6px solid #fff; outline: 1px solid var(--line); }
.d-pc .d-phone { width: 190px; }
.d-pc-card { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: var(--soft); text-align: center; }
.d-pc-card .price { font-size: 34px; font-weight: 800; color: var(--blue); direction: ltr; }
.d-pc-card em { font-style: normal; color: var(--ok); font-weight: 700; font-size: 13px; }
.d-shop { display: grid; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.d-shop-h { display: flex; justify-content: space-between; align-items: center; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d-prod { display: grid; gap: 2px; padding: 8px; border-radius: 12px; background: var(--soft); font-size: 12.5px; }
.d-prod .ph { height: 46px; border-radius: 8px; background: linear-gradient(135deg, rgba(10, 102, 255, .25), rgba(124, 92, 255, .2)); margin-bottom: 4px; }
.d-prod em { font-style: normal; color: var(--blue); font-weight: 700; direction: ltr; text-align: start; }
html[dir="rtl"] .d-prod em { text-align: right; }
.d-pk { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; margin: 6px 0; }
.d-pk > div { display: grid; padding: 10px; border-radius: 12px; background: var(--soft); font-size: 12px; color: var(--muted); }
.d-pk b { font-size: 18px; color: var(--ink); direction: ltr; text-align: start; unicode-bidi: isolate; }
html[dir="rtl"] .d-pk b { text-align: right; }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.d-tags span { padding: 5px 12px; border-radius: 999px; background: rgba(10, 102, 255, .12); color: var(--blue); font-weight: 600; font-size: 12.5px; }
.d-br { display: grid; gap: 8px; }
.d-brc { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.d-brc b { direction: ltr; font-size: 17px; }
.d-brc .d-tank { grid-column: 1 / -1; }
.d-brc.all { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; border: 0; }
.d-brc.all b { font-size: 22px; }
.d-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.d-tabs button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--muted); font: 600 12.5px/1 "Rubik", system-ui, sans-serif; }
.d-tabs button.on { background: var(--blue); color: #fff; border-color: transparent; }
.d-r-l span:last-child, .d-paper small { font-family: ui-monospace, Menlo, Consolas, monospace; }
@media (min-width: 1100px) { #platform .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } #platform .card { padding: 20px; } }

/* ---------------- try-it demo (POS) ---------------- */
.pos { position: relative; }
.pos-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pos-biz { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.pos-biz button, .pos-cats button, .pos-tabs button {
  min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 14px/1 "Rubik", system-ui, sans-serif; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
.pos-biz button[aria-selected="true"], .pos-cats button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pos-biz button[aria-selected="true"], :root:not([data-theme="light"]) .pos-cats button[aria-selected="true"] { background: var(--blue); }
}
:root[data-theme="dark"] .pos-biz button[aria-selected="true"], :root[data-theme="dark"] .pos-cats button[aria-selected="true"] { background: var(--blue); }
.pos-reset { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: 600 13.5px/1 "Rubik", system-ui, sans-serif; cursor: pointer; text-decoration: underline; }
.pos-app { border-radius: 24px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 40px 80px -40px rgba(11, 22, 64, .35); overflow: hidden; }
.pos-head { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pos-shop { font-size: 17px; }
.pos-tabs { display: flex; gap: 6px; margin-inline-start: auto; flex-wrap: wrap; }
.pos-tabs button { min-height: 36px; border: 0; background: transparent; color: var(--muted); }
.pos-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 22, 64, .08); }
.badge { font-style: normal; min-width: 20px; height: 20px; border-radius: 10px; background: #e5484d; color: #fff; font-size: 11.5px; display: inline-grid; place-items: center; }
.pos-view { padding: 16px; min-height: 460px; }
.pos-till { display: grid; grid-template-columns: 1fr 340px; gap: 16px; }
.pos-search { display: flex; gap: 8px; }
.pos-search input { flex: 1; min-width: 0; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 14px; font: 15px "Rubik", system-ui, sans-serif; }
.pos-search input:focus { outline: none; border-color: var(--blue); }
.pos-scan { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; font: 600 14.5px "Rubik", system-ui, sans-serif; cursor: pointer; position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pos-scan { background: #24315f; }
}
:root[data-theme="dark"] .pos-scan { background: #24315f; }
.pos-scan svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.pos-scan.scanning::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b; animation: laser .6s ease-in-out infinite alternate; }
@keyframes laser { from { top: 10%; } to { top: 90%; } }
.pos-cats { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.pos-cats button { min-height: 34px; font-size: 13.5px; }
.pos-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pos-item { display: grid; gap: 4px; text-align: start; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; font: 500 14.5px/1.35 "Rubik", system-ui, sans-serif; transition: border-color .2s, box-shadow .2s; min-height: 92px; align-content: start; }
.pos-item:hover { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 102, 255, .12); }
.pos-item b { color: var(--blue); font-size: 17px; direction: ltr; unicode-bidi: isolate; text-align: start; }
html[dir="rtl"] .pos-item b { text-align: right; }
.pos-item b small { color: var(--muted); font-size: 12px; font-weight: 500; }
.pos-item em { font-style: normal; font-size: 12px; color: var(--muted); }
.pos-item.out { opacity: .55; }
.pos-item.out em { color: #e5484d; }
.pos-cart { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.pos-cust { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.pos-cust select { min-height: 42px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 0 10px; font: 14.5px "Rubik", system-ui, sans-serif; }
.pos-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; flex: 1; min-height: 140px; align-content: start; max-height: 300px; overflow: auto; }
.pos-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; background: var(--card); font-size: 14px; }
.pos-lines .qty { display: inline-flex; align-items: center; gap: 6px; }
.pos-lines .qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; font-size: 15px; line-height: 1; }
.pos-lines .qty b { min-width: 1.6em; text-align: center; direction: ltr; }
.pos-lines .lt { direction: ltr; unicode-bidi: isolate; }
.pos-lines li.pos-empty { display: block; background: transparent; color: var(--muted); text-align: center; padding: 30px 8px; }
.pos-sum { display: grid; gap: 6px; font-size: 14px; }
.pos-sum > div { display: flex; justify-content: space-between; }
.pos-sum b { direction: ltr; unicode-bidi: isolate; }
.pos-sum .tot { font-size: 20px; font-weight: 800; padding-top: 6px; border-top: 1px dashed var(--line); }
.pos-sum .tot b { display: inline-block; }
.pos-sum small { color: var(--muted); }
.pos-redeem { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--blue); font-weight: 600; cursor: pointer; }
.pos-pay { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.pos-pay button { min-height: 48px; border-radius: 12px; border: 0; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; font: 700 14.5px "Rubik", system-ui, sans-serif; cursor: pointer; }
.pos-pay button[data-pay="card"] { background: var(--navy); }
.pos-pay button[data-pay="debt"] { background: #7c5cff; }
.pos-pay button:disabled { opacity: .4; cursor: not-allowed; }
.pos-empty { color: var(--muted); text-align: center; padding: 24px; margin: 0; }
.pos-fly { position: fixed; left: 0; top: 0; z-index: 80; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(10, 102, 255, .25); pointer-events: none; }
.pos-receipt { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(6, 10, 28, .45); backdrop-filter: blur(3px); border-radius: 24px; }
.pos-receipt[hidden] { display: none; }
.pos-r-in { display: grid; justify-items: center; gap: 14px; }
.pos-paper { width: 260px; background: #fff; color: #222; padding: 18px 16px 22px; display: grid; gap: 6px; font-size: 13px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
  clip-path: polygon(0 0, 100% 0, 100% 97%, 92% 100%, 84% 97%, 76% 100%, 68% 97%, 60% 100%, 52% 97%, 44% 100%, 36% 97%, 28% 100%, 20% 97%, 12% 100%, 4% 97%, 0 100%); }
.pos-paper > b { text-align: center; font-size: 16px; }
.pos-paper small { text-align: center; color: #666; }
.pos-paper > div { display: flex; justify-content: space-between; gap: 10px; }
.pos-paper > div span:last-child { font-family: ui-monospace, Menlo, Consolas, monospace; }
.pos-paper .t { border-top: 1px dashed #bbb; padding-top: 6px; font-weight: 800; font-size: 15px; }
.pos-r-in > button { min-height: 46px; padding: 0 26px; border-radius: 999px; border: 0; background: #fff; color: var(--navy); font: 700 15px "Rubik", system-ui, sans-serif; cursor: pointer; }
.pos-toast { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 6; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); }
.pos-toast.bad { background: #e5484d; }
.pos-note { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.pos-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.pos-orders { display: grid; gap: 8px; }
.pos-order { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.pos-order small { display: block; color: var(--muted); font-size: 12.5px; }
.pos-order > b { direction: ltr; }
.pos-order.s0 { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 102, 255, .12); animation: ringb 1.4s ease-in-out infinite; }
@keyframes ringb { 50% { box-shadow: 0 0 0 6px rgba(10, 102, 255, .06); } }
.pos-order .pill { margin: 0; font-size: 12px; }
.pos-order.s0 .pill { background: rgba(10, 102, 255, .14); color: var(--blue); }
.pos-order.s3 .pill, .pos-order.s4 .pill { background: rgba(18, 164, 106, .16); color: var(--ok); }
.pos-order button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--blue); color: #fff; font: 600 13.5px "Rubik", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.pos-order button::after { content: " ←"; } html[dir="ltr"] .pos-order button::after { content: " →"; }
.pos-debts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.pos-debt { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 10px; align-content: start; }
.pos-debt .h { display: flex; align-items: center; gap: 10px; }
.pos-debt .h small { display: block; color: var(--muted); font-size: 12px; }
.pos-debt .bal { margin-inline-start: auto; font-size: 20px; direction: ltr; color: var(--ok); }
.pos-debt .bal.owe { color: #e5484d; }
.pos-debt .bar { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.pos-debt .bar i { display: block; height: 100%; background: linear-gradient(90deg, #f5b400, #e5484d); border-radius: 4px; }
.pos-debt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pos-debt li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; font-size: 13px; padding: 6px 8px; border-radius: 8px; background: var(--soft); }
.pos-debt li time { color: var(--muted); direction: ltr; }
.pos-debt li b { direction: ltr; color: #e5484d; } .pos-debt li b.pay { color: var(--ok); }
.pos-debt li.pos-empty { display: block; padding: 8px; }
.pay-row { display: flex; gap: 6px; }
.pay-row input { width: 90px; min-height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 0 10px; font: 15px "Rubik", system-ui, sans-serif; }
.pay-row button { flex: 1; min-height: 40px; border-radius: 10px; border: 0; background: var(--ok); color: #fff; font: 600 13.5px "Rubik", system-ui, sans-serif; cursor: pointer; }
.pay-row button.ghost { flex: none; padding: 0 12px; background: transparent; color: var(--blue); border: 1.5px solid var(--line); }
.pos-dash { display: grid; gap: 14px; }
.pos-dash .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pos-dash .kpis > div { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.pos-dash .kpis span { display: block; color: var(--muted); font-size: 13px; }
.pos-dash .kpis b { font-size: 24px; font-weight: 800; direction: ltr; unicode-bidi: isolate; display: block; text-align: start; }
html[dir="rtl"] .pos-dash .kpis b { text-align: right; }
.pos-dash .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pos-dash .panel > b { display: block; margin-bottom: 8px; }
@media (max-width: 900px) {
  .pos-till { grid-template-columns: 1fr; }
  .pos-dash .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-dash .cols { grid-template-columns: 1fr; }
  .pos-view { padding: 12px; }
  .pos-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-order { grid-template-columns: 1fr auto; }
  .pos-order .pill { justify-self: start; }
  .pos-biz { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .pos-tabs { margin-inline-start: 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
}
.pos-receipt { position: fixed; border-radius: 0; z-index: 85; }
.pos-toast { position: fixed; bottom: 28px; z-index: 86; }

/* ---------------- articles ---------------- */
.art-grid, .art-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.art-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.art-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.art-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s; }
html[dir="rtl"] .art-card::after { transform-origin: 100% 50%; }
.art-card:hover::after { transform: scaleX(1); }
.art-card h3 { font-size: 19px; line-height: 1.45; margin: 0; }
.art-card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.art-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.art-tags span { padding: 3px 10px; border-radius: 999px; background: rgba(10, 102, 255, .1); color: var(--blue); font-size: 12px; font-weight: 600; }
.art-foot { color: var(--muted); font-size: 13px; }
.art-foot time, .art-meta time { direction: ltr; unicode-bidi: isolate; }
.art-hero { padding-bottom: 8px; }
.art-hero h1 { max-width: none; font-size: clamp(30px, 4.4vw, 46px); }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--blue); }
.art-meta { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.art-alt { color: var(--blue); font-weight: 600; text-decoration: none; }
.prose { font-size: 18px; line-height: 1.9; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 20px; margin: 1.5em 0 .4em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-inline-start: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-inline-start: 4px solid var(--blue); background: var(--soft); border-radius: 0 12px 12px 0; }
html[dir="rtl"] .prose blockquote { border-radius: 12px 0 0 12px; }
.prose code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.art-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 40px 0 10px; padding: 22px 24px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.art-cta b { font-size: 20px; } .art-cta p { margin: 4px 0 0; opacity: .88; }
.art-cta .btn { background: #fff; color: var(--navy); box-shadow: none; }
.art-more { margin-top: 48px; font-size: 24px; }

/* ---------------- industries: each trade in its own colours ---------------- */
.ind-pane, .ind-panes { --acc: var(--blue); --acc2: var(--blue-2); }
[data-ind="cafe"] { --acc: #b0703c; --acc2: #e3a35f; }
[data-ind="sweets"] { --acc: #d6457a; --acc2: #ff8fb1; }
[data-ind="restaurant"] { --acc: #e4572e; --acc2: #ffa45c; }
[data-ind="phones"] { --acc: #0a9fc8; --acc2: #5ee0ff; }
[data-ind="market"] { --acc: #2e9b4e; --acc2: #7bd389; }
[data-ind="pharmacy"] { --acc: #0f9d8f; --acc2: #53d6c8; }
[data-ind="retail"] { --acc: #8e5cf0; --acc2: #c3a5ff; }
.ind-panes[data-cur="cafe"] { --acc: #b0703c; } .ind-panes[data-cur="sweets"] { --acc: #d6457a; } .ind-panes[data-cur="restaurant"] { --acc: #e4572e; }
.ind-panes[data-cur="phones"] { --acc: #0a9fc8; } .ind-panes[data-cur="market"] { --acc: #2e9b4e; } .ind-panes[data-cur="pharmacy"] { --acc: #0f9d8f; } .ind-panes[data-cur="retail"] { --acc: #8e5cf0; }
.ind-panes { transition: border-color .5s; border-color: color-mix(in srgb, var(--acc) 35%, var(--line)); }
.ind-panes::before { background: radial-gradient(circle, color-mix(in srgb, var(--acc) 22%, transparent), transparent 65%); transition: background .5s; }
.ind-tab[data-ind][aria-selected="true"] { background: linear-gradient(135deg, var(--acc), var(--acc2)); }
.ind-tag { color: var(--acc); }
.ind-list li::before { background-color: color-mix(in srgb, var(--acc) 16%, transparent); background-image: none; position: relative; }
.ind-list li { position: relative; }
.ind-list li::after { content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 22px; height: 22px; background: var(--acc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ind-own { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ind-own span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 12%, var(--card)); border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); font-size: 13.5px; }
.ind-own svg { width: 17px; height: 17px; fill: none; stroke: var(--acc); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ind-own b { font-weight: 600; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.ind-url { display: inline-flex; align-items: center; gap: 6px; flex: 1; justify-content: center; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); direction: ltr; max-width: 260px; margin-inline: auto; }
.ind-url svg { width: 13px; height: 13px; fill: none; stroke: var(--ok); stroke-width: 2.2; }
.ind-url b { font-size: 12.5px; color: var(--ink); font-weight: 500; min-height: 1.2em; }
.ind-brand { display: flex; align-items: center; gap: 10px; padding: 12px 14px 0; }
.ind-brand small { display: block; color: var(--muted); font-size: 12px; }
.ind-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; background: linear-gradient(135deg, var(--acc), var(--acc2)); box-shadow: 0 6px 16px -6px var(--acc); flex: none; }
.ind-sw { margin-inline-start: auto; display: flex; gap: 4px; }
.ind-sw i { width: 14px; height: 14px; border-radius: 50%; background: var(--acc); }
.ind-sw i:nth-child(2) { background: var(--acc2); } .ind-sw i:nth-child(3) { background: var(--ink); }
.ind-tile b { color: var(--acc); }
.ind-tile.hit { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 20%, transparent); }
.ind-total { background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 14%, transparent), transparent); }
.ind-total b { color: var(--acc); }

/* ---------------- insights: reports that pay ---------------- */
.ins-sec { position: relative; isolation: isolate; }
.ins-sec .b1 { background: radial-gradient(circle, rgba(18, 164, 106, .25), transparent 65%); top: 0; inset-inline-end: -220px; }
.ins-meter { display: grid; grid-template-columns: 1.1fr 2fr; gap: 16px; align-items: stretch; margin: 26px 0 18px; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.m-main { display: grid; align-content: center; gap: 4px; padding: 6px 10px; }
.m-main span { color: var(--muted); font-size: 14px; }
.m-total { font-size: clamp(38px, 5vw, 56px); font-weight: 800; line-height: 1.05; background: linear-gradient(135deg, var(--ok), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; text-align: start; unicode-bidi: isolate; }
html[dir="rtl"] .m-total { text-align: right; }
.m-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.m-split > div { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: var(--soft); align-content: center; }
.m-split i { width: 10px; height: 10px; border-radius: 50%; display: block; margin-bottom: 4px; }
.m-split i.up, .ins-card[data-kind="up"] { --k: var(--ok); }
.m-split i.up { background: var(--ok); } .m-split i.bleed { background: #e5484d; } .m-split i.ok { background: var(--blue); }
.m-split span { color: var(--muted); font-size: 13px; }
.m-split b { font-size: 24px; font-weight: 800; direction: ltr; unicode-bidi: isolate; text-align: start; }
html[dir="rtl"] .m-split b { text-align: right; }
.m-split .applied { background: color-mix(in srgb, var(--blue) 12%, var(--soft)); border: 1.5px dashed color-mix(in srgb, var(--blue) 45%, transparent); }
.ins-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ins-filter button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 14.5px/1 "Rubik", system-ui, sans-serif; cursor: pointer; }
.ins-filter button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ins-filter button[aria-selected="true"] { background: var(--blue); }
}
:root[data-theme="dark"] .ins-filter button[aria-selected="true"] { background: var(--blue); }
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ins-card[hidden] { display: none; }
.ins-card { --k: var(--blue); display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.ins-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--k); }
.ins-card[data-kind="up"] { --k: var(--ok); } .ins-card[data-kind="bleed"] { --k: #e5484d; } .ins-card[data-kind="cust"] { --k: var(--blue); } .ins-card[data-kind="market"] { --k: #7c5cff; }
.ins-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ins-k { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--k) 14%, transparent); color: var(--k); font-size: 12.5px; }
.ins-k svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ins-shop { color: var(--muted); font-size: 12.5px; }
.ins-card h3 { font-size: 18px; line-height: 1.45; margin: 0; }
.ins-viz { height: 74px; }
.iv { width: 100%; height: 100%; overflow: visible; direction: ltr; }
.iv-track { fill: var(--soft); }
.iv-fill, .iv-bar { fill: color-mix(in srgb, var(--k) 70%, var(--line)); }
.iv-fill { fill: var(--k); }
.iv-bar.hot { fill: var(--k); } .iv-bar.warn { fill: #f5b400; } .iv-bar.mkt { fill: #7c5cff; } .iv-bar.cool { fill: #2ec5ff; }
.ins-card[data-kind="bleed"] .iv-bar:not(.hot):not(.warn) { fill: color-mix(in srgb, var(--muted) 35%, transparent); }
.ins-card[data-kind="market"] .iv-bar:not(.mkt) { fill: var(--blue); }
.iv-line { fill: none; stroke: var(--k); stroke-width: 3; stroke-linecap: round; }
.iv-dot { fill: var(--k); }
.iv-th { stroke: var(--muted); stroke-dasharray: 4 4; stroke-width: 1; }
.iv-t { fill: var(--ink); font: 700 13px "Rubik", system-ui, sans-serif; }
.iv-l { fill: var(--muted); font: 10.5px "Rubik", system-ui, sans-serif; text-anchor: middle; }
.iv-d { fill: color-mix(in srgb, var(--muted) 30%, transparent); transition: fill .3s; }
.iv-d.won { fill: var(--k); }
.iv-c { fill: var(--soft); } .iv-c.q1 { fill: color-mix(in srgb, var(--k) 30%, var(--soft)); } .iv-c.q2 { fill: color-mix(in srgb, var(--k) 55%, var(--soft)); } .iv-c.q4 { fill: var(--k); }
.ins-act { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.ins-act span:first-child { color: var(--ink); font-weight: 600; }
.ins-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ins-imp { font-weight: 800; color: var(--k); font-size: 16px; }
.ins-ghost { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; padding: 4px 10px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); color: var(--ok); font-weight: 800; }
.ins-apply { min-height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--k); color: #fff; font: 700 13.5px "Rubik", system-ui, sans-serif; cursor: pointer; }
.ins-card.done .ins-apply { background: transparent; color: var(--k); border: 1.5px solid var(--k); cursor: default; }
.ins-card.done { border-color: color-mix(in srgb, var(--k) 50%, var(--line)); }
.ins-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 28px; }
.ins-two .panel { padding: 24px; border-radius: 22px; background: var(--card); }
.ins-two h3 { font-size: 22px; line-height: 1.4; }
.muted { color: var(--muted); }
.bench { display: grid; gap: 14px; margin-top: 16px; }
.b-row { display: grid; grid-template-columns: 11em 1fr 6.5em; gap: 12px; align-items: center; font-size: 14px; }
.b-row > b { direction: ltr; unicode-bidi: isolate; text-align: end; font-size: 13.5px; }
.b-bars { display: grid; gap: 4px; }
.b-bars i { display: block; height: 10px; border-radius: 5px; transform-origin: 0 50%; }
html[dir="rtl"] .b-bars i { transform-origin: 100% 50%; }
.b-bars .me { background: var(--blue); } .b-bars .me.bad { background: #e5484d; } .b-bars .mk { background: #7c5cff; opacity: .7; }
.b-leg { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.b-leg span { display: inline-flex; gap: 6px; align-items: center; }
.b-leg i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.b-leg .me { background: var(--blue); } .b-leg .mk { background: #7c5cff; opacity: .7; }
.b-leg b { font-weight: 500; }
.wk-phone { margin-top: 16px; border-radius: 22px; padding: 14px; background: var(--soft); border: 1px solid var(--line); }
.wk-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.wk-head small { display: block; color: var(--muted); font-size: 12px; }
.wk-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wk-lines li { padding: 9px 12px; border-radius: 14px; background: var(--card); font-size: 14px; border-start-start-radius: 4px; }
.wk-lines li.g { color: var(--ok); font-weight: 700; } .wk-lines li.r { color: #e5484d; font-weight: 600; } .wk-lines li.b { color: var(--blue); font-weight: 600; }
@media (max-width: 1000px) { .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ins-two { grid-template-columns: 1fr; } .ins-meter { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ins-grid { grid-template-columns: 1fr; } .m-split { grid-template-columns: 1fr 1fr; } .m-split .applied { grid-column: 1 / -1; } .b-row { grid-template-columns: 1fr; gap: 6px; } .b-row > b { text-align: start; } }
.d-ins { display: grid; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.d-ins-c { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 13.5px; border-inline-start: 4px solid var(--ok); }
.d-ins-c.bleed { border-inline-start-color: #e5484d; }
.d-ins-c b { direction: ltr; color: var(--ok); white-space: nowrap; } .d-ins-c.bleed b { color: #e5484d; }


/* ---------------- theme switch ---------------- */
:root[data-theme="light"] { color-scheme: light; }
.thm { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.thm:hover { border-color: var(--blue); color: var(--blue); }
.thm svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.thm .moon { display: none; }
:root[data-theme="dark"] .thm .sun { display: none; } :root[data-theme="dark"] .thm .moon { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .thm .sun { display: none; } :root:not([data-theme="light"]) .thm .moon { display: inline; } }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
@media (max-width: 380px) { .thm { width: 36px; height: 36px; } }

/* ---------------------------------------------------------------- features: zig-zag story (home) */
.fs-story { display: grid; gap: clamp(56px, 9vw, 120px); margin-top: clamp(28px, 5vw, 56px); }
.fs-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.fs-row.flip .fs-text { order: 2; }
.fs-text { display: grid; gap: 12px; justify-items: start; max-width: 480px; }
.fs-n { font: 800 .85rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--blue); letter-spacing: .06em; }
.fs-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 28px -12px rgba(10, 102, 255, .6); }
.fs-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fs-text h3 { margin: 4px 0 0; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; }
.fs-text p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 1.02rem; }
.fs-b { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.fs-b li { position: relative; padding-inline-start: 26px; font-size: .95rem; }
.fs-b li::before { content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: rgba(18, 164, 106, .15);
  -webkit-mask: none; box-shadow: inset 0 0 0 1.5px var(--ok); }
.fs-b li::after { content: ""; position: absolute; inset-inline-start: 5px; top: calc(.35em + 4px); width: 6px; height: 4px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.fs-stage { position: relative; perspective: 1200px; }
.fs-screen { position: relative; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.fs-screen::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 102, 255, .14), transparent); pointer-events: none; }
.fs-bar { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.fs-bar .dots { display: inline-flex; gap: 6px; direction: ltr; flex: none; }
.fs-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.fs-bar .dots i:first-child { background: #ff5f57; } .fs-bar .dots i:nth-child(2) { background: #febc2e; } .fs-bar .dots i:nth-child(3) { background: #28c840; }
.fs-tabs { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.fs-tabs::-webkit-scrollbar { display: none; }
.fs-tabs button { flex: none; border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; font-weight: 700; color: var(--muted); background: transparent; cursor: pointer; transition: background .25s, color .25s; }
.fs-tabs button:hover { color: var(--ink); }
.fs-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.fs-tap { flex: none; margin-inline-start: auto; font-size: .72rem; font-weight: 700; color: var(--blue); background: rgba(10, 102, 255, .1); border-radius: 999px; padding: 4px 10px; }
.fs-tap[hidden] { display: none; }
.fs-demo { position: relative; min-height: 380px; display: grid; place-items: center; padding: 28px; }
:where(.fs-demo) > * { width: 100%; max-width: 380px; } /* zero specificity: a demo's own width (the loyalty ring is 220px) wins */
.fs-demo svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fs-prog { height: 3px; background: var(--line); }
.fs-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transform: scaleX(0); transform-origin: 0 50%; }
:root[dir="rtl"] .fs-prog i { transform-origin: 100% 50%; }

/* the demo's own buttons: they work */
.fs-demo .is-act { cursor: pointer; }
:where(.fs-demo .is-act) { position: relative; } /* only if the element isn't positioned already (the loyalty centre is absolute) */
.fs-demo .is-act::after { content: ""; position: absolute; inset: -4px; border-radius: 14px; border: 2px dashed rgba(10, 102, 255, .45); opacity: 0; transition: opacity .2s; pointer-events: none; }
.fs-demo .is-act:hover::after, .fs-demo .is-act:focus-visible::after { opacity: 1; }
.fs-demo .d-loy-c.is-act::after { inset: 2px; border-radius: 50%; }
@media (hover: none) { .fs-demo .is-act::after { opacity: .55; animation: act-pulse 1.8s ease-in-out infinite; } }
@keyframes act-pulse { 50% { opacity: .15; } }

/* ---------------------------------------------------------------- platform: one screen, one after another */
.ps { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 28px; }
.ps-tabs { display: grid; gap: 6px; }
.ps-tab { position: relative; display: flex; gap: 14px; align-items: center; width: 100%; text-align: start; padding: 12px 14px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: inherit; font: inherit; cursor: pointer; overflow: hidden; transition: background .25s, border-color .25s; }
.ps-tab:hover { background: var(--card); }
.ps-tab[aria-selected="true"] { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.ps-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--blue); background: rgba(10, 102, 255, .1); transition: color .25s, background .25s; }
.ps-tab[aria-selected="true"] .ps-ic { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.ps-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ps-t { display: grid; gap: 2px; min-width: 0; }
.ps-t b { font-size: 1rem; }
.ps-t small { color: var(--muted); font-size: .85rem; line-height: 1.5; display: none; }
.ps-tab[aria-selected="true"] .ps-t small { display: block; }
.ps-main { display: grid; gap: 16px; }
.ps-b { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; min-height: 1.6em; }

@media (max-width: 899.98px) {
  .fs-row, .ps { grid-template-columns: 1fr; }
  .fs-row.flip .fs-text { order: 0; }
  .fs-text { max-width: none; }
  .fs-demo { min-height: 320px; padding: 20px 14px; }
  .ps-tabs { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .ps-tabs::-webkit-scrollbar { display: none; }
  .ps-tab { flex: none; width: auto; padding: 8px 12px; border-color: var(--line); background: var(--card); }
  .ps-tab .ps-t small { display: none !important; }
  .ps-ic { width: 32px; height: 32px; border-radius: 10px; }
  .ps-ic svg { width: 18px; height: 18px; }
}

/* ---------------------------------------------------------------- the mascot */
.masc { margin: 0; position: relative; pointer-events: none; }
.masc img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(11, 22, 64, .28)); transform-origin: 50% 100%; }
.masc .bubble { position: absolute; z-index: 1; width: max-content; max-width: 230px; padding: 10px 14px; border-radius: 16px; background: var(--card); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.6; font-weight: 600; pointer-events: auto; }
.masc .bubble::after { content: ""; position: absolute; width: 14px; height: 14px; background: inherit; border: inherit; border-top: 0; border-inline-start: 0; transform: rotate(45deg); }
/* standing beside the money found */
.ins-meter.has-masc { grid-template-columns: 1.1fr 2fr 140px; position: relative; margin-top: 120px; }
.masc-meter { align-self: end; margin: -100px 0 -20px; width: 140px; }
.masc-meter .bubble { top: -6px; inset-inline-end: 88%; }
.masc-meter .bubble::after { top: 18px; inset-inline-end: -8px; transform: rotate(-45deg); }
html[dir="rtl"] .masc-meter .bubble::after { transform: rotate(135deg); }
/* the call to action */
.contact .wrap { position: relative; }
.masc-contact { position: absolute; inset-inline-start: 2%; bottom: -64px; width: 150px; }
.masc-contact .bubble { bottom: 88%; inset-inline-start: 70%; color: var(--ink); }
.masc-contact .bubble::after { bottom: -8px; inset-inline-start: 22px; }
/* peeking up to explain a card */
.ins-tip { display: flex; gap: 10px; align-items: flex-end; margin: 4px 0 2px; }
.tip-peek { flex: none; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--k, var(--blue)) 25%, var(--soft)), var(--soft)); position: relative; }
.tip-peek img { position: absolute; left: 0; right: 0; margin: 0 auto; top: 4px; width: 64px; height: auto; }
.tip-b { position: relative; margin: 0; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--soft); font-size: 13px; line-height: 1.6; color: var(--ink); }
html[dir="rtl"] .tip-b { border-radius: 14px 14px 4px 14px; }
/* the weekly message comes from him */
.av-masc { background: color-mix(in srgb, var(--blue) 18%, var(--soft)); overflow: hidden; }
.av-masc img { width: 46px; height: 46px; margin-top: 8px; }
@media (max-width: 1000px) {
  .ins-meter.has-masc { grid-template-columns: 1fr; }
  .masc-meter, .masc-contact { position: static; display: flex; align-items: center; gap: 10px; width: auto; margin: 0 0 14px; }
  .masc-meter { order: -1; margin: 0; }
  .masc-contact { justify-content: center; }
  .masc-meter img, .masc-contact img { width: 64px; flex: none; }
  .masc-meter .bubble, .masc-contact .bubble { position: static; margin: 0; max-width: 260px; text-align: start; }
  .masc-meter .bubble::after, .masc-contact .bubble::after { display: none; }
}
@media (max-width: 1240px) and (min-width: 1001px) { .masc-contact { inset-inline-start: 0; width: 120px; } }

/* ---------------------------------------------------------------- insights: numbers and mascot beside the cards */
/* The numbers and the mascot stay in a column on the LEFT (both languages) while
   the cards scroll; the filters stick to the top until the cards end. */
.ins-sec .wrap { width: min(1360px, 100% - 32px); }
.ins-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-areas: "side main"; gap: 28px; align-items: start; margin-top: 26px; }
html[dir="rtl"] .ins-layout { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "main side"; }
.ins-side { grid-area: side; position: sticky; top: 84px; }
.ins-main { grid-area: main; min-width: 0; }
.ins-side .ins-meter.has-masc { grid-template-columns: 1fr; margin: 0; padding: 18px; gap: 12px; }
.ins-side .masc-meter { margin: 0; width: auto; display: flex; flex-direction: column; gap: 4px; }
/* bubble on top, full width; he stands under it on the LEFT, his open palm towards the cards */
.ins-side .masc-meter .bubble { order: -1; position: relative; inset: auto; width: auto; max-width: none; font-size: 13.5px; margin: 0 0 6px; }
.ins-side .masc-meter .bubble::after { top: auto; bottom: -8px; inset-inline-start: auto; inset-inline-end: auto; left: 46px; right: auto; transform: rotate(45deg); }
.ins-side .masc-meter img { width: 150px; align-self: flex-start; margin-inline-start: 10px; }
html[dir="rtl"] .ins-side .masc-meter img { align-self: flex-end; margin-inline-start: 0; margin-inline-end: 10px; }
.ins-side .m-main { padding: 4px 4px 0; }
.ins-side .m-main b { font-size: clamp(34px, 3vw, 46px); }
.ins-side .m-split { grid-template-columns: 1fr; gap: 8px; }
.ins-side .m-split > div { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.ins-side .m-split i { margin: 0; flex: none; }
.ins-side .m-split span { flex: 1; min-width: 0; }
.ins-side .m-split b { font-size: 19px; }
.ins-side .m-split .applied b { font-size: 22px; }
.ins-bar { position: sticky; top: 68px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; margin-bottom: 8px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ins-bar .ins-filter { margin: 0; }
.ins-main .ins-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 6px; }
.ins-mini { display: none; }
@media (max-width: 1240px) { .ins-main .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .ins-layout, html[dir="rtl"] .ins-layout { grid-template-columns: 1fr; grid-template-areas: "side" "main"; }
  .ins-side { position: static; }
  .ins-side .masc-meter { flex-direction: row-reverse; align-items: center; gap: 10px; }
  html[dir="rtl"] .ins-side .masc-meter { flex-direction: row; }
  .ins-side .masc-meter img, html[dir="rtl"] .ins-side .masc-meter img { width: 84px; flex: none; align-self: center; margin: 0; }
  .ins-side .masc-meter .bubble { margin: 0; flex: 1; }
  .ins-side .masc-meter .bubble::after { display: none; }
  .ins-bar { top: 64px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ins-bar::-webkit-scrollbar { display: none; }
  .ins-bar .ins-filter { flex-wrap: nowrap; }
  .ins-bar .ins-filter button { flex: none; }
  /* on a phone the numbers scroll away, so the "applied" total rides along in the sticky bar */
  .ins-mini { display: flex; flex: none; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; }
  .ins-mini i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
  .ins-mini b { font-size: 15px; direction: ltr; }
  .ins-mini small { color: var(--muted); direction: ltr; }
}
@media (max-width: 640px) { .ins-main .ins-grid { grid-template-columns: 1fr; } }
