/* Zookassa landing. Visual direction from the Stitch comp (docs/marketing/stitch/landing-mobile.html):
 * a pet shop's shelf labels and till receipt. White page, navy ink, one teal accent, lemon only as
 * price/date stickers, hairlines instead of card stacks, one teal colour block (the owner panel).
 * Mobile-first: the base styles are the phone layout (from 320 px); larger screens add to it in
 * min-width queries only (768 px tablet, 1024 px desktop). */

/* Self-hosted fonts (SIL OFL 1.1, fonts/OFL-*.txt), latin and latin-ext subsets as Google Fonts
 * serves them. Inter and Bricolage Grotesque are variable fonts: one file covers the weights.
 * File names carry a content hash, so nginx caches them as immutable. */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin-ext.f1050dc531.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin.c36f509c0a.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin-ext.77f03e26f9.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin.a76f53ca66.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-var-latin-ext.a28eb6d3cc.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-var-latin.c940764593.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-var-latin-ext.1d04719f13.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-var-latin.85f55a58a3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --tint: #F3F8F8;          /* footer, form panel, screenshot trays */
  --ink: #0D2240;           /* navy */
  --ink-2: #4A5A6E;
  --line: #DDE8E8;
  --line-strong: #6F858B;   /* form controls: 3:1 on white and on the tinted form panel (3.89 / 3.63) */
  --accent: #0C7F77;        /* teal-strong: buttons, links, focus (4.86:1 with white) */
  --accent-hover: #0A6B64;
  --accent-ink: #FFFFFF;
  --block: #1BB5AE;         /* the one colour block */
  --block-ink: #0D2240;
  --block-ink-2: #12355A;
  --photo: #CCE6E5;         /* the studio backdrop of the photos */
  --lemon: #F7E733;         /* stickers only, always with navy text */
  --lemon-ink: #0D2240;
  --danger: #B3261E;
  --thermal: #FDFDFB;
  --thermal-ink: #2B2B2B;
  --printer: #0D2240;
  --key-edge: #C7D6D6;
  --shadow: 0 1px 2px rgb(13 34 64 / .06), 0 14px 34px rgb(13 34 64 / .10);
  --shadow-paper: 0 2px 3px rgb(13 34 64 / .10), 0 18px 34px rgb(13 34 64 / .14);

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* One radius rule: 8 px for controls and stickers, 14 px for images and panels, pills for toggles. */
  --r-control: 8px;
  --r-panel: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 60px;
  --gutter: 16px;
  --tap: 44px;
  --cta-bar-h: 72px;
  --section: 64px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #071A2E;
    --surface: #0F2740;
    --tint: #0B2238;
    --ink: #EAF4F4;
    --ink-2: #9DB2BC;
    --line: #1D3A55;
    --line-strong: #5B7EA0; /* 3:1 on the dark field and panel (3.57 / 3.8) */
    --accent: #2CCBC3;
    --accent-hover: #5AD8D1;
    --accent-ink: #071A2E;
    --block: #0E6F69;
    --block-ink: #F2FAFA;
    --block-ink-2: #CDE9E7;
    --danger: #FF8A80;
    --printer: #12304F;
    --key-edge: #071A2E;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 14px 34px rgb(0 0 0 / .34);
    --shadow-paper: 0 2px 3px rgb(0 0 0 / .35), 0 18px 34px rgb(0 0 0 / .42);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #071A2E;
  --surface: #0F2740;
  --tint: #0B2238;
  --ink: #EAF4F4;
  --ink-2: #9DB2BC;
  --line: #1D3A55;
  --line-strong: #5B7EA0; /* 3:1 on the dark field and panel (3.57 / 3.8) */
  --accent: #2CCBC3;
  --accent-hover: #5AD8D1;
  --accent-ink: #071A2E;
  --block: #0E6F69;
  --block-ink: #F2FAFA;
  --block-ink-2: #CDE9E7;
  --danger: #FF8A80;
  --printer: #12304F;
  --key-edge: #071A2E;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 14px 34px rgb(0 0 0 / .34);
  --shadow-paper: 0 2px 3px rgb(0 0 0 / .35), 0 18px 34px rgb(0 0 0 / .42);
  color-scheme: dark;
}

/* ---------- Base (phones) ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
picture { display: block; }
.icon { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.125em; fill: currentColor; }
img { height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 16px; border-radius: var(--r-control); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Type: Bricolage Grotesque for headings in sentence case, Inter for reading */
h1, .h2, h3 { font-family: var(--f-display); letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(34px, 10.4vw, 42px); line-height: 1.04; font-weight: 700; }
.h2 { font-size: 30px; line-height: 1.08; font-weight: 700; max-width: 20ch; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; }
.lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 52ch; margin-top: 14px; }

/* Buttons: every tap target at least 44 px */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-control);
  font-weight: 600; font-size: 17px; white-space: nowrap; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease), opacity .2s;
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--link { padding: 0 6px; color: var(--accent); background: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.btn--link:hover { text-decoration-thickness: 2px; }
.btn--sm { min-height: var(--tap); padding: 0 14px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn[aria-busy="true"]:active { transform: none; }

/* Nav: phones show the logo, Demo istəyin and the menu button */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 12px; }
.logo {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); min-width: var(--tap);
  text-decoration: none; font: 700 22px/1 var(--f-display); letter-spacing: -0.03em;
}
.logo__mark { font-size: 24px; color: var(--accent); }
.nav .logo__word { display: none; }
.nav__links { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links a, .nav__signin { text-decoration: none; color: var(--ink-2); transition: color .2s; padding: 10px 6px; margin: 0 -6px; }
.nav__links a:hover, .nav__signin:hover { color: var(--ink); }
.nav__signin { display: none; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.nav__menu {
  width: var(--tap); height: var(--tap); display: inline-grid; place-items: center; flex: none;
  background: transparent; border: 0; border-radius: var(--r-control);
  color: var(--ink); font-size: 24px; cursor: pointer; touch-action: manipulation;
}
.nav__menu:hover { background: var(--tint); }
/* Theme switch in the header: one tap cycles system, light, dark; the icon shows the current mode */
.nav__theme {
  width: var(--tap); height: var(--tap); display: inline-grid; place-items: center; flex: none;
  background: transparent; border: 0; border-radius: var(--r-control);
  color: var(--ink-2); font-size: 21px; cursor: pointer; touch-action: manipulation;
}
.nav__theme:hover { background: var(--tint); color: var(--ink); }
html:not(.js) .nav__theme { display: none; }
/* Narrow phones: the header has no room, so the switch sits in the menu sheet's top row */
.nav__actions .nav__theme { display: none; }
.sheet__theme { margin-left: auto; margin-right: 4px; }
@media (min-width: 420px) {
  .js .nav__actions .nav__theme { display: inline-grid; }
}
html:not(.js) .nav__menu { display: none; }

/* The menu sheet (phones and tablets) */
.sheet { position: fixed; inset: 0; z-index: 70; background: rgb(7 26 46 / .45); }
.sheet__panel {
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: calc(env(safe-area-inset-top) + 8px) max(var(--gutter), env(safe-area-inset-right)) 20px max(var(--gutter), env(safe-area-inset-left));
  border-radius: 0 0 var(--r-panel) var(--r-panel);
}
.sheet:not([hidden]) .sheet__panel { animation: drop .28s var(--ease) both; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); }
.sheet__title { font: 700 20px/1.2 var(--f-display); letter-spacing: -0.02em; }
.sheet__close {
  width: var(--tap); height: var(--tap); display: grid; place-items: center;
  background: transparent; border: 0; border-radius: var(--r-control); color: var(--ink); font-size: 24px; cursor: pointer;
}
.sheet__close:hover { background: var(--tint); }
.sheet__links { display: grid; margin-top: 4px; }
.sheet__links a {
  display: flex; align-items: center; min-height: 54px; padding: 0 4px;
  font: 650 20px/1.3 var(--f-display); letter-spacing: -0.015em; text-decoration: none;
  border-top: 1px solid var(--line);
}
.sheet__links a:hover { color: var(--accent); }
@keyframes drop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ----------
 * The owner's promise: headline, subtext and the CTA first, then the live dashboard copies (the phone copy
 * on phones; desktop and phone together from 1024 px). */
.hero { padding-top: 28px; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.hero__copy h1 { max-width: 15ch; }
.hero__sub { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 40ch; margin-top: 16px; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }

.hero { padding-bottom: 48px; }

/* The till (in the till feature): printer housing + receipt feeding out of the slot */
.till { width: min(300px, 100%); }
.till__printer {
  position: relative; z-index: 2;
  height: 52px; border-radius: 14px 14px 10px 10px;
  background: var(--printer);
  display: flex; align-items: center; padding: 0 16px;
  box-shadow: var(--shadow);
}
.till__display {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: #061426; color: #9FF0EA; border-radius: 6px;
  padding: 4px 10px; font: 500 13px/1.4 var(--f-mono);
}
.till__display-label { color: #6FB7B2; }
.till__display-sum { font-variant-numeric: tabular-nums; min-width: 8ch; text-align: right; }
.till__slot {
  position: absolute; left: 14px; right: 14px; bottom: 7px; height: 4px; border-radius: 2px;
  background: #030B16;
}
.till__feed { overflow: hidden; margin: 6px -14px 0; padding: 0 28px 40px; }
.till__shadow { filter: drop-shadow(0 2px 2px rgb(13 34 64 / .10)) drop-shadow(0 14px 22px rgb(13 34 64 / .14)); }
.receipt {
  --tooth: 10px;
  position: relative;
  background: var(--thermal); color: var(--thermal-ink);
  padding: 20px 16px 18px;
  font: 400 12px/1.5 var(--f-mono);
  font-variant-numeric: tabular-nums;
  /* torn leading edge: teeth along the top */
  -webkit-mask: linear-gradient(#000 0 0) 0 8px / 100% 100% no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / var(--tooth) 8px repeat-x;
  mask: linear-gradient(#000 0 0) 0 8px / 100% 100% no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / var(--tooth) 8px repeat-x;
}
.r-line { min-height: 1.5em; }
.r-center { text-align: center; }
.r-strong { font-weight: 500; }
.r-gap { margin-top: 10px; }
.r-rule { min-height: 0; margin: 8px 0; border-top: 1px dashed #9A9A94; }
.r-row { display: flex; justify-content: space-between; gap: 12px; }
.r-item { padding-left: 2ch; color: #555550; }
.r-total { font-weight: 500; font-size: 14px; margin-bottom: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .js .till__feed:not(.is-ready) { visibility: hidden; }
}

/* ---------- Features: groups divided by hairlines, each with its own layout ---------- */
.features { padding: 24px 0 var(--section); }
.features > .wrap > .h2 { margin-bottom: 8px; }
.feat--pos, .feat--stock, .feat--reports, .offline { border-top: 1px solid var(--line); padding-top: 36px; margin-top: 36px; }
.feat h3 + p, .offline__title + p { margin-top: 10px; color: var(--ink-2); max-width: 46ch; }

/* Screenshots sit in a tinted tray so they read as the product, not as decoration */
.feat__media { margin-top: 24px; background: var(--tint); border-radius: var(--r-panel); padding: 16px 16px 0; overflow: hidden; }
.feat__media img { width: 100%; border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: 0; }
/* The Satış report copy: the console's tokens (.app), so it follows the page theme. Columns drop by width
   (container query), the filters only show where they fit. */
.app--report { container-type: inline-size; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; overflow: hidden; }
.rp { padding: 16px 0 0 16px; background: var(--c-bg); color: var(--c-body); }
.rp__head { display: none; align-items: flex-start; justify-content: space-between; gap: 16px; padding-right: 16px; }
.rp__head b { display: block; color: var(--c-ink); font: 600 20px/1.2 var(--f-body); letter-spacing: -0.01em; }
.rp__head small { color: var(--c-ink-2); font-size: 12.5px; }
.rp__btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: 9px; background: var(--c-surface); color: var(--c-ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.rp__btn .ai { width: 15px; height: 15px; }
.rp__chips { display: none; gap: 8px; margin-top: 12px; overflow: hidden; white-space: nowrap; }
.rp__chips span { flex: none; height: 30px; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: 999px; background: var(--c-surface); color: var(--c-ink); font-size: 12.5px; line-height: 28px; }
.rp__chips .is-on { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.rp__tabs { display: none; gap: 22px; margin-top: 16px; border-bottom: 1px solid var(--c-line); overflow: hidden; white-space: nowrap; color: var(--c-ink-2); font-size: 13px; }
.rp__tabs span { flex: none; padding: 0 2px 10px; }
.rp__tabs .is-on { color: var(--c-ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--c-ink); }
.rp__card { border: 1px solid var(--c-line); border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; background: var(--c-surface); }
.rp__title { display: block; padding: 14px 16px; color: var(--c-ink); font-size: 14px; font-weight: 600; }
.rp__title small { margin-left: 6px; color: var(--c-ink-2); font-weight: 400; font-size: 12.5px; }
.rp__tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.rp__tbl th { height: 36px; padding: 0 16px; background: var(--c-surface-2); color: var(--c-ink-2); font-size: 12px; font-weight: 500; text-align: right; border-block: 1px solid var(--c-line); white-space: nowrap; }
.rp__tbl td { height: 44px; padding: 0 16px; color: var(--c-ink); text-align: right; border-bottom: 1px solid var(--c-line); white-space: nowrap; }
.rp__tbl th:first-child, .rp__tbl td:first-child { text-align: left; }
.rp__tbl td b { font-weight: 600; }
.rp__tbl .c2, .rp__tbl .c3, .rp__tbl .c4 { display: none; }
@container (max-width: 439px) { .rp__title { padding: 12px 10px; } .rp__tbl { font-size: 12.5px; } .rp__tbl th, .rp__tbl td { padding: 0 10px; } }
@container (min-width: 440px) { .rp { padding: 22px 0 0 22px; } .rp__head, .rp__chips, .rp__tabs { display: flex; } .rp__card { margin-top: 18px; } .rp__tbl .c2 { display: table-cell; } }
@container (min-width: 720px) { .rp__tbl .c3 { display: table-cell; } }
@container (min-width: 900px) { .rp__tbl .c4 { display: table-cell; } }

/* The till's real function keys (console/src/pos/hotkeys.ts) */
.keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 22px; max-width: 420px; }
.keys li { display: grid; justify-items: center; gap: 6px; text-align: center; }
.keys kbd {
  display: grid; place-items: center; width: 100%; min-height: 46px;
  border: 1px solid var(--line-strong); border-radius: var(--r-control);
  background: var(--surface); box-shadow: inset 0 -3px 0 var(--key-edge);
  font: 700 17px/1 var(--f-display); letter-spacing: -0.01em; padding-bottom: 3px;
}
.keys .key--go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: inset 0 -3px 0 color-mix(in srgb, #000 22%, var(--accent)); }
.keys span { font-size: 12px; line-height: 1.25; color: var(--ink-2); }

/* Stock: the step list beside the copy; the playing step is marked */
.sk-steps { margin-top: 24px; display: grid; gap: 4px; counter-reset: sk; }
.sk-steps li { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 46px; border-radius: var(--r-control); counter-increment: sk; transition: background-color .3s; }
.sk-steps li::before {
  content: counter(sk); position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid var(--line-strong); color: var(--ink-2);
  font: 700 13px/1 var(--f-display); transition: background-color .3s, border-color .3s, color .3s;
}
.sk-steps b { font: 650 16px/1.3 var(--f-display); letter-spacing: -0.01em; }
.sk-steps span { font-size: 14px; color: var(--ink-2); }
.sk-steps li.is-on { background: var(--tint); }
.sk-steps li.is-on::before { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* The stock copy: the console's Qalıqlar list. Narrow shows product, quantity and lots; wide adds the rest. */
.app--stock { container-type: inline-size; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--shadow); margin-top: 24px; }
.app--stock .app__screen { background: var(--c-surface); padding: 14px 0 0; }
.sk-head { display: flex; align-items: baseline; gap: 8px; padding: 0 14px; color: var(--c-ink); font-size: 15px; }
.sk-head small { color: var(--c-ink-2); font-size: 12.5px; }
.sk-links { display: none; margin-left: auto; gap: 16px; font-size: 12.5px; color: var(--c-ink); }
.sk-search { display: flex; align-items: center; gap: 8px; height: 38px; margin: 12px 14px 0; padding: 0 12px; border: 1px solid var(--c-line-2); border-radius: 9px; color: var(--c-ink-3); font-size: 13px; }
.sk-chips { display: flex; gap: 6px; padding: 10px 14px 12px; overflow: hidden; white-space: nowrap; }
.sk-sel, .sk-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--c-line-2); border-radius: 999px; color: var(--c-ink); font-size: 12.5px; transition: background-color .2s, border-color .2s, color .2s, transform .12s var(--ease); }
.sk-sel { border-radius: 9px; }
.sk-sel .ai { width: 12px; height: 12px; color: var(--c-ink-2); }
.sk-chip.is-on { background: var(--c-accent-soft); border-color: var(--c-accent); color: var(--c-accent); font-weight: 500; }
.sk-chip.is-pressed { transform: scale(.96); }
.sk-sel, .sk-chip:not(#sk-chip) { display: none; }
/* Fixed to its tallest state (one list open) so opening, closing and filtering never move the page */
.sk-table { height: 600px; overflow: hidden; border-top: 1px solid var(--c-line); }
.sk-cols, .sk-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 0 14px; }
.sk-cols { height: 34px; background: var(--c-surface-2); color: var(--c-ink-2); font-size: 11.5px; border-bottom: 1px solid var(--c-line); }
.sk-cols span:nth-child(2), .sk-cols span:nth-child(n+5) { display: none; }
.sk-row { min-height: 58px; padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-size: 13px; transition: background-color 1.2s ease; }
.sk-row.is-hit { background: var(--c-accent-soft); transition: none; }
.sk-row[hidden], .sk-sub[hidden] { display: none; }
.sk-chev { display: grid; place-items: center; color: var(--c-ink-2); }
.sk-chev .ai { width: 14px; height: 14px; transform: rotate(-90deg); transition: transform .25s var(--ease); }
.sk-row.is-open .sk-chev .ai { transform: none; }
.sk-box { display: none; width: 16px; height: 16px; border: 1.5px solid var(--c-line-2); border-radius: 4px; }
.sk-name b { display: block; font-size: 13.5px; }
.sk-name small { color: var(--c-ink-2); font-size: 11.5px; }
.sk-qty { grid-column: 3; grid-row: 1; position: relative; text-align: right; white-space: nowrap; }
.sk-lots { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--c-ink-2); font-size: 12px; }
.sk-num { display: none; }
.sk-tag { padding: 0 7px; border-radius: 999px; background: var(--c-warn-bg); color: var(--c-warn); font: 500 11px/18px var(--f-body); font-style: normal; transition: opacity .4s, transform .4s var(--ease); }
.sk-tag.is-gone { opacity: 0; transform: translateY(-4px); }
.sk-delta { position: absolute; right: 0; top: -14px; padding: 0 6px; border-radius: 999px; font: 600 11px/16px var(--f-body); font-style: normal; opacity: 0; pointer-events: none; }
.sk-delta.is-out { background: var(--c-line-2); color: var(--c-ink); }
.sk-delta.is-in { background: var(--c-ok-bg); color: var(--c-ok); }
.sk-delta.is-shown { animation: sk-delta 1.8s var(--ease) both; }
@keyframes sk-delta { 0% { opacity: 0; transform: translateY(6px); } 15%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.sk-sub { padding: 10px 14px 12px 42px; background: var(--c-surface-2); border-bottom: 1px solid var(--c-line); }
.sk-sub:not([hidden]) { animation: app-line .3s var(--ease) both; }
.sk-sub__title { font-size: 12px; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; }
.sk-sub__table { border: 1px solid var(--c-line); border-radius: 9px; overflow: hidden; background: var(--c-surface); }
.sk-sub__head, .sk-sub__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; padding: 0 12px; }
.sk-sub__head { height: 30px; background: var(--c-surface-2); color: var(--c-ink-2); font-size: 11px; border-bottom: 1px solid var(--c-line); }
.sk-sub__row { min-height: 34px; font-size: 12.5px; color: var(--c-ink); border-bottom: 1px solid var(--c-line); transition: background-color 1.2s ease; }
.sk-sub__row:last-child { border-bottom: 0; }
.sk-sub__row.is-hit { background: var(--c-accent-soft); transition: none; }
.sk-sub__head span:nth-child(n+4), .sk-sub__row span:nth-child(n+4) { display: none; }
.sk-sub__head span:nth-child(3), .sk-sub__row span:nth-child(3) { text-align: right; }
.pill { display: inline-block; padding: 0 8px; border-radius: 999px; font: 500 11px/18px var(--f-body); font-style: normal; }
.pill--ok { background: var(--c-ok-bg); color: var(--c-ok); }
.pill--neutral { background: var(--c-line-2); color: var(--c-ink-2); }

@container (min-width: 640px) {
  .sk-table { height: 510px; }
  .sk-links { display: inline-flex; }
  .sk-sel, .sk-chip:not(#sk-chip) { display: inline-flex; }
  .sk-cols, .sk-row { grid-template-columns: 18px 18px minmax(0, 1.6fr) 72px minmax(0, 1fr) 84px 84px 84px; }
  .sk-cols span:nth-child(n) { display: block; }
  .sk-cols span:nth-child(n+6) { text-align: right; }
  .sk-cols span:nth-child(4) { text-align: right; }
  .sk-box { display: block; }
  .sk-qty, .sk-lots { grid-row: 1; }
  .sk-qty { grid-column: 4; }
  .sk-lots { grid-column: 5; }
  .sk-num { display: block; text-align: right; }
  .sk-sub { padding-left: 60px; }
  .sk-sub__head, .sk-sub__row { grid-template-columns: 1.1fr 1.1fr .8fr .8fr .8fr; }
  .sk-sub__head span:nth-child(n+4), .sk-sub__row span:nth-child(n+4) { display: block; }
  .sk-sub__head span:nth-child(n+3), .sk-sub__row span:nth-child(n+3) { text-align: right; }
}

/* Offline: a statement in large type, no box */
.offline { display: grid; gap: 0; }
.offline__icon { font-size: 34px; color: var(--accent); margin-bottom: 14px; }
.offline__title { font-size: 30px; line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; max-width: 16ch; }
/* Offline: the till's connection pill in three states, then what does not work offline */
.ofl { display: grid; gap: 10px; margin-top: 20px; }
.ofl li { display: grid; align-content: start; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--surface); font-size: 15px; color: var(--ink-2); }
.ofl__pill { display: inline-flex; align-items: center; gap: 7px; justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ofl__pill i { width: 7px; height: 7px; border-radius: 50%; }
.ofl__pill--off { background: color-mix(in srgb, #C2410C 13%, transparent); }
.ofl__pill--off i { background: #C2410C; }
.ofl__pill--wait { background: color-mix(in srgb, #B7791F 16%, transparent); }
.ofl__pill--wait i { background: #B7791F; }
.ofl__pill--sync { background: var(--tint); }
.ofl__pill--sync i { background: var(--accent); }
.ofl__not { margin-top: 14px; max-width: 70ch; font-size: 15px; color: var(--ink-2); }

/* ---------- Owner panel: the page's one colour block ---------- */
/* The dashboard copies in the hero: the phone copy on phones, desktop plus phone from 1024 px */
.owner__stage { position: relative; }
.frame { overflow: hidden; background: #F6F6F9; }
.frame--desk { display: none; }
/* The phone copy is an iPhone screen without its body: rounded corners, the Dynamic Island and the status bar
   (the island and bar live inside the scaled screen, in the phone's own 393 x 852 points). */
.iphone { position: relative; width: min(272px, 78%); margin-inline: auto; }
.iphone__screen {
  aspect-ratio: 393 / 852; /* the height before landing.js scales the copy: no layout shift below the hero */
  border-radius: 13% / 6%; outline: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgb(13 34 64 / 0.45), 0 12px 24px -12px rgb(13 34 64 / 0.3);
}
.ios-bar { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 4px 30px 0 52px; background: var(--c-surface); color: var(--c-ink); }
.ios-bar > b { font: 600 17px/1 var(--f-body); letter-spacing: -0.02em; }
.ios-bar__island { position: absolute; left: 50%; top: 11px; width: 126px; height: 37px; margin-left: -63px; border-radius: 20px; background: #000; }
.ios-bar__r { display: flex; align-items: center; gap: 6px; }
.ios-bar__r .ai { width: 19px; height: 19px; }
.ios-sig { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.ios-sig i { width: 3px; border-radius: 1px; background: currentColor; }
.ios-sig i:nth-child(1) { height: 4px; } .ios-sig i:nth-child(2) { height: 6.5px; } .ios-sig i:nth-child(3) { height: 9px; } .ios-sig i:nth-child(4) { height: 12px; }
.ios-bat { position: relative; width: 25px; height: 12px; padding: 1.5px; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 4px; }
.ios-bat::after { content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: color-mix(in srgb, currentColor 40%, transparent); }
.ios-bat i { display: block; width: 78%; height: 100%; border-radius: 2px; background: currentColor; }
.ios-home { position: absolute; left: 50%; bottom: 8px; width: 139px; height: 5px; margin-left: -69.5px; border-radius: 3px; background: var(--c-ink); }

/* What lands in the panel: a receipt chip or an alert chip that flies into its row (landing.js) */
.tick {
  position: absolute; z-index: 3; left: 0; top: 0; display: flex; align-items: center; gap: 10px;
  max-width: 340px; padding: 10px 14px 10px 10px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgb(13 34 64 / 0.4);
  color: var(--ink); white-space: nowrap; pointer-events: none;
}
.tick__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--tint); color: var(--accent); }
.tick__icon .ai { width: 19px; height: 19px; }
.tick--warn .tick__icon { background: color-mix(in srgb, #C2410C 14%, transparent); color: #C2410C; }
.tick__txt { display: grid; gap: 1px; min-width: 0; }
.tick__txt b { font: 650 14px/1.25 var(--f-display); letter-spacing: -0.01em; }
.tick__txt small { font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.tick__amt { margin-left: 6px; font: 700 16px/1 var(--f-display); font-variant-numeric: tabular-nums; }

/* The three beats under the hero copy; the playing one is lit */
.hs { display: grid; gap: 4px; margin-top: 8px; }
.hs li { display: grid; gap: 2px; padding: 10px 12px 10px 14px; border-left: 3px solid var(--line); transition: border-color .3s, background-color .3s, color .3s; }
/* the beats not playing go quieter by colour, not opacity: .55 put them at 2.5:1 (critique 2026-10-27) */
.hs:has(.is-on) li:not(.is-on) b { color: var(--ink-2); font-weight: 600; }
.hs b { font: 650 15px/1.3 var(--f-display); letter-spacing: -0.01em; }
.hs span { font-size: 13.5px; color: var(--ink-2); }
.hs li.is-on { border-left-color: var(--accent); background: var(--tint); }
.hs li.is-on b { color: var(--accent); }
/* Phones: the three steps fell below the fold, away from the chip (critique 2026-10-27). With the loop running,
   only the playing step shows, right above the iPhone; all three share one grid cell, so a change never moves the page.
   Without JS or with reduced motion all three stay listed under the phone. */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .js .hero__media { order: 1; }
  .js .hs { margin-top: 0; }
  .js .hs li { grid-area: 1 / 1; opacity: 0; } /* opacity, not visibility: a screen reader still reads all three */
  .js .hs:not(:has(.is-on)) li:first-child, .js .hs li.is-on { opacity: 1; }
}

/* Pause control above each moving copy (WCAG 2.2.2) */
.anim { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.anim-bar { display: flex; justify-content: flex-end; margin-top: 20px; }
.demo-pause {
  justify-self: end; display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 10px;
  border: 0; border-radius: var(--r-control); background: transparent; color: var(--ink-2);
  font: 500 13px/1 var(--f-body); cursor: pointer;
}
.demo-pause:hover { background: var(--tint); color: var(--ink); }
/* Shown from the first paint (only with JS and motion): appearing after the fonts it pushed the hero 52 px down */
html:not(.js) .demo-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .demo-pause { display: none; } }
.demo-pause .icon { font-size: 16px; }

/* ---------- Proof: the page's one colour block ---------- */
.owner { background: var(--block); color: var(--block-ink); padding: var(--section) 0; }
.owner .lead { color: var(--block-ink-2); }
.proof__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.proof .h2 { max-width: 18ch; }
/* what was built in the store, as a plain list (no stock photo under a claim about a real shop) */
.proof__list { display: grid; gap: 0; border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
.proof__list li { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent); font: 600 18px/1.35 var(--f-display); letter-spacing: -0.01em; }
.proof__list .icon { flex: none; width: 18px; height: 18px; align-self: center; }

/* ---------- Switching: a vertical sequence on phones ---------- */
.switch, .faq, .demo, .pricing { padding: var(--section) 0; }
.faq, .pricing, .demo { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 36px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; bottom: 22px; left: 21px; border-left: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.step__n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font: 700 18px/1 var(--f-display); position: relative;
}
.step h3 { margin-top: 9px; }
.step p { grid-column: 2; margin-top: 8px; color: var(--ink-2); font-size: 15px; max-width: 36ch; }

/* ---------- FAQ accordion: each question is a full-width tap row ---------- */
.faq__in > * { max-width: 72ch; }
.acc { margin-top: 28px; border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q { margin: 0; font-size: inherit; }
.acc__btn {
  width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 650 18px/1.35 var(--f-display); letter-spacing: -0.01em; color: var(--ink);
  touch-action: manipulation;
}
.acc__btn:hover { color: var(--accent); }
.acc__icon { flex: none; font-size: 20px; color: var(--accent); transition: transform .3s var(--ease); }
.acc__btn[aria-expanded="true"] .acc__icon { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s var(--ease); }
.js .acc__panel { grid-template-rows: 0fr; }
html:not(.js) .acc__icon, html:not(.js) .theme { display: none; }
html:not(.js) .acc__btn { cursor: default; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
.js .acc__item.is-open .acc__panel { grid-template-rows: 1fr; }

/* ---------- Pricing: a centred head, cards that scroll sideways on phones (one snaps into view,
   the next peeks in) and a row from 768 px. The highlighted plan has a teal border and a lemon
   sticker; no second accent colour. ---------- */
.pricing__in > .h2, .pricing__basis { text-align: center; margin-inline: auto; }
.plans {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px;
  margin: 12px calc(-1 * var(--gutter)) 0; padding: 20px var(--gutter) 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.plans::-webkit-scrollbar { display: none; }
.plans > .plan { scroll-snap-align: start; }
.plans__dots:not([hidden]) { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.plans__dot {
  width: 28px; height: 28px; display: grid; place-items: center; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.plans__dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: var(--line-strong); transition: width .2s, background-color .2s;
}
.plans__dot[aria-current="true"]::before { width: 22px; background: var(--accent); }
.plans__dot:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 999px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 24px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-panel);
}
.plan--highlight { border: 2px solid var(--accent); padding: 23px 19px; box-shadow: var(--shadow); }
.plan__badge {
  position: absolute; top: -13px; right: 18px; transform: rotate(2deg);
  padding: 3px 10px; border-radius: 3px;
  background: var(--lemon); color: var(--lemon-ink);
  font: 700 14px/1.3 var(--f-display); box-shadow: 0 1px 0 rgb(13 34 64 / .18);
}
.plan__name { font: 700 22px/1.2 var(--f-display); letter-spacing: -0.015em; }
.plan__desc { color: var(--ink-2); font-size: 15px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.plan__amount { font: 700 34px/1.1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan__amount--request { font-size: 26px; }
.plan__unit { color: var(--ink-2); font-size: 15px; }
.plan__features { display: grid; gap: 8px; font-size: 15px; }
.plan__features li { display: flex; gap: 8px; align-items: flex-start; }
.plan__features .icon { color: var(--accent); font-size: 18px; margin-top: 3px; }
.plan__cta { margin-top: 4px; width: 100%; }
.plan__audience { color: var(--ink-2); font-size: 15px; font-weight: 500; margin-top: -6px; }
.plan__range { align-self: flex-start; margin-top: -8px; padding: 2px 10px; border-radius: 999px; background: var(--tint); color: var(--ink); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan__was { color: var(--ink-2); font-size: 16px; text-decoration-thickness: 1px; }
.plan__total { font-size: 15px; font-weight: 600; margin-top: -4px; font-variant-numeric: tabular-nums; }
/* a plan for other chain sizes: its price stays, quieter, and it says who it is for instead of a total */
.plan--outside .plan__amount { color: var(--ink-2); }
.plan__total--outside { font-weight: 500; color: var(--ink-2); }
.plan__intro { font-size: 15px; font-weight: 600; margin-top: 4px; }

/* Controls: the billing toggle (a radio group) and the branch counter, 48 px tall */
.pricing__basis { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.pricing__controls { margin-top: 24px; display: grid; justify-items: center; }
.seg {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  margin: 0; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  max-width: 100%;
}
.seg__opt { position: relative; display: block; }
.seg__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg__opt > span {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 0 16px;
  border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.seg__opt input:checked + span { background: var(--accent); color: var(--accent-ink); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg__badge {
  font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 3px;
  background: var(--lemon); color: var(--lemon-ink); transform: rotate(-2deg);
}
.stepper { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.stepper__label { font-size: 15px; font-weight: 500; }
.stepper__row { display: inline-flex; align-items: center; gap: 8px; }
.stepper__btn {
  width: 48px; height: 48px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-strong); border-radius: var(--r-control);
  background: var(--surface); color: var(--ink); font-size: 20px; cursor: pointer; touch-action: manipulation;
}
.stepper__btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.stepper__btn:disabled { opacity: .4; cursor: default; }
.stepper__input {
  width: 64px; height: 48px; text-align: center; font-size: 18px; font-weight: 600;
  border: 1px solid var(--line-strong); border-radius: var(--r-control);
  background: var(--paper); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.stepper__note { flex-basis: 100%; font-size: 14px; color: var(--ink-2); }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add-ons: a compact list under the cards */
.addons { margin: 32px auto 0; max-width: 640px; }
.addons__title { font-size: 18px; }
.addons__list { margin-top: 12px; border-top: 1px solid var(--line); }
.addon { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.addon__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan--skeleton { min-height: 340px; }
.sk { display: block; height: 14px; width: 80%; border-radius: 6px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.sk--title { height: 22px; width: 50%; }
.sk--price { height: 32px; width: 60%; }
.sk--short { width: 55%; }
.sk--btn { height: 48px; width: 100%; border-radius: var(--r-control); }
@media (prefers-reduced-motion: no-preference) {
  .sk { animation: shimmer 1.4s ease-in-out infinite; }
}
@keyframes shimmer { 50% { opacity: .55; } }
.pricing__fallback { margin: 20px auto 0; display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 56ch; }
.pricing__fallback p { color: var(--ink-2); font-size: 17px; }

/* ---------- Demo form ---------- */
.demo__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.demo__list { margin-top: 24px; display: grid; gap: 14px; }
.demo__list li { display: flex; gap: 12px; align-items: flex-start; }
.demo__list .icon { color: var(--accent); font-size: 22px; flex: none; margin-top: 1px; }
.demo__panel { background: var(--tint); border-radius: var(--r-panel); padding: 20px; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field label, .pills legend { font-size: 15px; font-weight: 500; }
.field__opt { color: var(--ink-2); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-control);
  font-size: 17px; /* 16 px or more: iOS does not zoom into the field */
  transition: border-color .2s, box-shadow .2s;
  /* keep the focused field clear of the sticky nav and of the on-screen keyboard */
  scroll-margin-top: calc(var(--nav-h) + 24px); scroll-margin-bottom: 120px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); border-radius: var(--r-control);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__hint { font-size: 15px; color: var(--ink-2); }
.field__err { font-size: 15px; color: var(--danger); font-weight: 500; display: flex; gap: 6px; align-items: flex-start; }
.field__err .icon { font-size: 18px; margin-top: 2px; flex: none; }

/* Branch count: radio pills, large enough for a thumb */
.pills { border: 0; margin: 0; padding: 0; }
.pills legend { padding: 0; margin-bottom: 8px; }
.pills__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pill { position: relative; display: block; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; scroll-margin-bottom: 120px; }
.pill span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 8px;
  border: 1px solid var(--line-strong); border-radius: var(--r-control);
  background: var(--surface); font-size: 16px; font-weight: 500; text-align: center; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.pill:hover span { border-color: var(--ink-2); }
.pill input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pills[aria-invalid="true"] .pill span { border-color: var(--danger); }

/* Honeypot: off-screen for people, still in the form for bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form__plan { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; color: var(--ink-2); }
.form__plan strong { color: var(--ink); }
.form__plan-clear {
  min-height: var(--tap); padding: 0 8px; background: none; border: 0; cursor: pointer;
  color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.form__status { font-size: 15px; color: var(--danger); font-weight: 500; display: flex; gap: 6px; align-items: flex-start; margin-top: -8px; }
.form__status .icon { font-size: 18px; margin-top: 2px; flex: none; }

.notice { text-align: left; padding: 8px 0; }
.notice:focus { outline: none; }
.notice__icon { font-size: 40px; color: var(--accent); }
.notice__title { margin-top: 16px; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.notice p { margin-top: 8px; color: var(--ink-2); }
.notice:not([hidden]) { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Without JS the form cannot send (and must not put personal data in a GET URL): the notice instead. */
html:not(.js) #demo-form { display: none; }
.js .notice--nojs { display: none; }

/* ---------- Footer ---------- */
.foot { background: var(--tint); border-top: 1px solid var(--line); padding: 36px 0 40px; font-size: 15px; color: var(--ink-2); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 32px; align-items: center; }
.foot .logo { color: var(--ink); justify-self: start; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot__links a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); }
.foot__links a:hover { color: var(--ink); }
.theme {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-control);
  color: var(--ink-2); cursor: pointer; font-size: 15px;
}
.theme:hover { color: var(--ink); border-color: var(--ink-2); }
.foot__copy { grid-column: 1 / -1; }

/* Phones: a sticky Demo istəyin bar once the hero has scrolled away (landing.js), off at the form */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px max(var(--gutter), env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform .28s var(--ease), visibility 0s linear .28s;
}
.cta-bar.is-shown { transform: none; visibility: visible; transition: transform .28s var(--ease), visibility 0s; }
html:not(.js) .cta-bar { display: none; }
.js body { padding-bottom: calc(var(--cta-bar-h) + env(safe-area-inset-bottom)); }

/* ---------- Console copies: the till and the dashboard ----------
 * Live HTML copies of the console screens (apps/console), in the console's own tokens
 * (packages/ui/src/tokens/tokens.css), light and dark, so they read as the product inside the page.
 * landing.js animates them; the HTML is the finished state (no JS, reduced motion). */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.app {
  --c-accent: #2f6fe4; --c-on-accent: #fff;
  --c-accent-soft: color-mix(in srgb, #2f6fe4 10%, transparent);
  --c-accent-ring: color-mix(in srgb, #2f6fe4 24%, transparent);
  --c-bg: #f6f6f9; --c-surface: #fff; --c-surface-2: #fbfbfd;
  --c-ink: #0a0a0f; --c-body: #1d1d24; --c-ink-2: #5f636d; --c-ink-3: #9a9eaa;
  --c-line: rgba(16, 16, 40, .08); --c-line-2: #e6e6ee;
  --c-primary: #0a0a0f; --c-on-primary: #fff;
  --c-ok: #14915a; --c-ok-bg: #e3f6ec; --c-warn: #b86e00; --c-warn-bg: #fdf1dc; --c-bad: #d23838;
  --c-scrim: rgba(10, 10, 20, .36); --c-shadow-lg: 0 24px 60px rgba(16, 16, 40, .16);
  font: 400 14px/1.45 var(--f-body); color: var(--c-body); background: var(--c-bg);
  letter-spacing: 0; text-align: left; font-variant-numeric: tabular-nums;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .app {
    --c-accent: #5b8ff0; --c-on-accent: #0a0a0f;
    --c-accent-soft: color-mix(in srgb, #5b8ff0 12%, transparent);
    --c-accent-ring: color-mix(in srgb, #5b8ff0 28%, transparent);
    --c-bg: #09090c; --c-surface: #121217; --c-surface-2: #15151b;
    --c-ink: #f6f6f9; --c-body: #dedee6; --c-ink-2: #9a9eab; --c-ink-3: #686c78;
    --c-line: rgba(255, 255, 255, .07); --c-line-2: #26262e;
    --c-primary: #f6f6f9; --c-on-primary: #0a0a0f;
    --c-ok: #3ccf8a; --c-ok-bg: rgba(60, 207, 138, .12); --c-warn: #f2b34a; --c-warn-bg: rgba(242, 179, 74, .13); --c-bad: #ff6b6b;
    --c-scrim: rgba(0, 0, 0, .6); --c-shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
  }
  :root:not([data-theme="light"]) .frame { background: #09090c; }
}
:root[data-theme="dark"] .app {
  --c-accent: #5b8ff0; --c-on-accent: #0a0a0f;
  --c-accent-soft: color-mix(in srgb, #5b8ff0 12%, transparent);
  --c-accent-ring: color-mix(in srgb, #5b8ff0 28%, transparent);
  --c-bg: #09090c; --c-surface: #121217; --c-surface-2: #15151b;
  --c-ink: #f6f6f9; --c-body: #dedee6; --c-ink-2: #9a9eab; --c-ink-3: #686c78;
  --c-line: rgba(255, 255, 255, .07); --c-line-2: #26262e;
  --c-primary: #f6f6f9; --c-on-primary: #0a0a0f;
  --c-ok: #3ccf8a; --c-ok-bg: rgba(60, 207, 138, .12); --c-warn: #f2b34a; --c-warn-bg: rgba(242, 179, 74, .13); --c-bad: #ff6b6b;
  --c-scrim: rgba(0, 0, 0, .6); --c-shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
}
:root[data-theme="dark"] .frame { background: #09090c; }
.app .ai { width: 16px; height: 16px; fill: currentColor; flex: none; }
.app b { font-weight: 600; }
.app small { font-size: 12px; }
.ab__logo { width: 26px; height: 26px; border-radius: 7px; background: #2f6fe4; color: #fff; display: grid; place-items: center; flex: none; }
.app .ai--logo { width: 16px; height: 16px; }

/* The till: phones and narrow columns show search, lines, totals and Ödəniş; wide adds the rest */
.pos-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 8px; align-items: start; }
/* Phones: no room for the printer beside the till; the "Satış tamamlandı" dialog is the payoff there */
.pos-stage .till { display: none; }
.app--pos { position: relative; container-type: inline-size; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--shadow); }
.app__screen { position: relative; }
.ab {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px;
  background: var(--c-surface); border-bottom: 1px solid var(--c-line);
  color: var(--c-ink-2); font-size: 13px; white-space: nowrap; overflow: hidden;
}
.ab__name { color: var(--c-ink); font-size: 15px; }
.ab__icon, .ab__meta { display: none; align-items: center; gap: 5px; }
.ab__shift {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px;
  border-radius: 999px; background: var(--c-ok-bg); color: var(--c-ok); font-size: 12px; font-weight: 500;
}
.ab__shift .ai { width: 13px; height: 13px; }
.ab__shift-long { display: none; }

.pos { display: grid; gap: 10px; padding: 12px; }
.pos__side { display: contents; }
.pos__label { order: 1; font-size: 12.5px; font-weight: 600; color: var(--c-ink); }
.pos__search {
  order: 2; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px;
  border: 1.5px solid var(--c-accent); border-radius: 9px; background: var(--c-surface);
  box-shadow: 0 0 0 3px var(--c-accent-ring); color: var(--c-ink-3); font-size: 13.5px; white-space: nowrap; overflow: hidden;
}
.pos__query { color: var(--c-ink); }
.pos__query::after { content: ""; display: inline-block; width: 1.5px; height: 16px; margin-left: 1px; vertical-align: -3px; background: var(--c-accent); }
.pos__query:not(:empty) + .pos__ph { display: none; }
.pos__cart { order: 3; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 10px; overflow: hidden; }
.pos__parked { display: none; }
.pos__actions { order: 4; display: grid; }
.pos__actions .pa:not(.pa--pay) { display: none; }
.pos__cols { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 8px 12px; font-size: 11.5px; color: var(--c-ink-2); background: var(--c-surface-2); border-bottom: 1px solid var(--c-line); }
.pos__cols span:nth-child(n+2):nth-child(-n+4) { display: none; }
.pos__lines { min-height: 168px; }
.pl {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 6px;
  padding: 9px 12px; border-bottom: 1px solid var(--c-line); font-size: 13px; color: var(--c-ink);
}
.pl__name { grid-column: 1 / 3; font-weight: 600; }
.pl__sum { grid-column: 3; grid-row: 1; text-align: right; }
.pl__qty, .pl__price { grid-row: 2; font-size: 12px; color: var(--c-ink-2); }
.pl__price::before { content: "× "; }
.pl__price s { margin-left: 6px; color: var(--c-ink-3); }
.pl__disc { display: none; }
.pl.is-current { background: var(--c-accent-soft); }
.pl.is-current::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c-accent); }
.promo {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 0 7px; border-radius: 999px;
  background: var(--c-warn-bg); color: var(--c-warn); font: 500 11px/18px var(--f-body); vertical-align: 1px;
}
.promo::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pos__empty { min-height: 168px; display: grid; place-content: center; gap: 2px; text-align: center; color: var(--c-ink-2); font-size: 13px; padding: 0 12px; }
.pos__empty b { color: var(--c-ink); font-size: 14px; }
.pos__totals { margin: 0; padding: 10px 12px; display: grid; gap: 2px; font-size: 12.5px; color: var(--c-ink-2); background: var(--c-surface-2); border-top: 1px solid var(--c-line); }
.pos__totals div { display: flex; justify-content: space-between; }
.pos__totals dd { margin: 0; color: var(--c-ink); }
.pos__due { margin-top: 6px; align-items: baseline; color: var(--c-ink); font-size: 15px; font-weight: 600; }
.pos__due dd { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.pa {
  min-width: 0; overflow: hidden;
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px;
  border: 1px solid var(--c-line-2); border-radius: 9px; background: var(--c-surface);
  color: var(--c-ink); font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: transform .12s var(--ease), background-color .2s, border-color .2s;
}
.pa kbd { margin-left: auto; padding: 1px 5px; border: 1px solid currentColor; border-radius: 4px; font: 500 10.5px/1.3 var(--f-body); opacity: .6; }
.pa--pay { height: 46px; background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); font-size: 15px; }
.pa.is-pressed, .pd__btn.is-pressed { transform: scale(.97); }
.pa--pay.is-pressed { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }

.pos-modal { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 16px; background: var(--c-scrim); }
.pos-modal:not([hidden]) { animation: app-fade .2s ease both; }
.pd {
  width: min(300px, 100%); display: grid; gap: 10px; padding: 18px;
  background: var(--c-surface); color: var(--c-ink); border-radius: 14px; box-shadow: var(--c-shadow-lg);
}
.pos-modal:not([hidden]) .pd { animation: app-pop .28s var(--ease) both; }
.pd__title { font-size: 17px; font-weight: 600; }
.pd__due, .pd__change { display: flex; justify-content: space-between; align-items: baseline; color: var(--c-ink-2); font-size: 13px; }
.pd__due b { font-size: 22px; color: var(--c-ink); }
.pd__field { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--c-ink-2); font-size: 13px; }
.pd__input { height: 36px; display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; border: 1.5px solid var(--c-accent); border-radius: 8px; color: var(--c-ink); font-size: 15px; }
.pd__input--idle { border: 1px solid var(--c-line-2); color: var(--c-ink-3); }
.pd__change { padding-top: 10px; border-top: 1px solid var(--c-line); }
.pd__change b { color: var(--c-ok); font-size: 17px; }
.pd__btn { height: 40px; display: grid; place-items: center; border-radius: 9px; background: var(--c-primary); color: var(--c-on-primary); font-weight: 600; font-size: 14px; transition: transform .12s var(--ease); }
.pd__btn--ghost { background: transparent; color: var(--c-ink); border: 1px solid var(--c-line-2); }
.pd--done { justify-items: center; text-align: center; }
.pd__ok { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ok-bg); color: var(--c-ok); }
.pd__ok .ai { width: 22px; height: 22px; }
.pd__line { color: var(--c-ink-2); font-size: 13px; }
.pd__nka { width: 100%; padding: 8px 12px; border-radius: 9px; background: var(--c-accent-soft); font-size: 14px; }
.pd__nka b { font-size: 18px; }
.pd--done .pd__btn { width: 100%; }
@keyframes app-fade { from { opacity: 0; } }
@keyframes app-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.pl.is-new, .da__item.is-new { animation: app-line .38s var(--ease) both; }
@keyframes app-line { from { opacity: 0; transform: translateY(-6px); } }

@container (min-width: 620px) {
  .ab__icon, .ab__meta { display: inline-flex; }
  .ab__shift-long { display: inline; }
  .pos { grid-template-columns: minmax(0, 1fr) 256px; gap: 14px; padding: 14px; height: 476px; }
  .pos__cart { order: 0; }
  .pos__side { display: flex; flex-direction: column; gap: 8px; min-height: 0; min-width: 0; }
  .pos__side > * { order: 0; }
  .pos__parked { order: 1; }
  .pos__actions { order: 2; }
  .pos__parked { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 9px; background: var(--c-surface); font-size: 12.5px; color: var(--c-ink-3); }
  .pos__parked b { color: var(--c-ink-2); font-weight: 500; }
  .pos__actions { margin-top: auto; grid-template-columns: 1fr 1fr; gap: 6px; }
  .pos__actions .pa:not(.pa--pay) { display: flex; }
  .pa--pay { grid-column: 1 / -1; }
  .pa:not(.pa--pay) { height: 38px; font-size: 12.5px; padding: 0 8px; gap: 6px; }
  .pa:not(.pa--pay) kbd { display: none; }
  .pos__cols, .pl { grid-template-columns: minmax(0, 1fr) 46px 76px 56px 76px; column-gap: 8px; }
  .pos__cols span:nth-child(n+2):nth-child(-n+5) { display: block; text-align: right; }
  .pos__lines { flex: 1; min-height: 0; }
  .pos__empty { flex: 1; }
  .pl { align-items: start; }
  .pl__name { grid-column: 1; }
  .pl__qty, .pl__price, .pl__sum { grid-row: 1; text-align: right; font-size: 13px; color: var(--c-ink); }
  .pl__qty { grid-column: 2; }
  .pl__price { grid-column: 3; }
  .pl__price::before { content: none; }
  .pl__price s { display: block; margin: 0; font-size: 11.5px; }
  .pl__disc { display: block; grid-column: 4; }
  .pl__sum { grid-column: 5; }
}
@container (min-width: 760px) {
  .pos { grid-template-columns: minmax(0, 1fr) 300px; }
  .pa:not(.pa--pay) kbd { display: block; }
}

/* The dashboard copies are drawn at the console's size and scaled to their frame (landing.js) */
/* width 100%: with the aspect-ratio below and the height landing.js sets, an auto width followed the old height and
   the copy kept its first width when the window narrowed */
.scale { position: relative; overflow: hidden; width: 100%; }
.scale > .app { transform-origin: 0 0; }
/* the desktop copy's height before landing.js scales it, as the iPhone screen's: the unscaled copy
   stood 195 px taller for a moment and the hero jumped (critique 2026-10-27, CLS 0.157) */
.frame--desk > .scale { aspect-ratio: 1180 / 740; }
.dash { width: 1180px; height: 740px; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.ds { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; background: var(--c-surface); border-right: 1px solid var(--c-line); }
.ds__logo { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; color: var(--c-ink); font-weight: 600; font-size: 16px; }
.ds__group { padding: 12px 12px 4px; color: var(--c-ink-3); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.dn { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: 9px; color: var(--c-body); font-size: 14.5px; }
.dn .ai { width: 19px; height: 19px; color: var(--c-ink-2); }
.dn.is-on { background: var(--c-accent-soft); color: var(--c-accent); font-weight: 500; }
.dn.is-on .ai { color: var(--c-accent); }
.dm { min-width: 0; display: flex; flex-direction: column; }
.dbar { height: 60px; display: flex; align-items: center; gap: 14px; padding: 0 24px; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.dbar__search { display: flex; align-items: center; gap: 8px; width: 420px; height: 36px; padding: 0 12px; border: 1px solid var(--c-line-2); border-radius: 9px; color: var(--c-ink-3); font-size: 13.5px; white-space: nowrap; overflow: hidden; }
.dbar__sel { margin-left: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 180px; height: 36px; padding: 0 12px; border: 1px solid var(--c-line-2); border-radius: 9px; color: var(--c-ink); font-size: 13.5px; }
.dbar__sel .ai { width: 13px; height: 13px; color: var(--c-ink-2); }
.dbar__bell { position: relative; display: grid; place-items: center; width: 30px; color: var(--c-ink-2); }
.dbar__bell .ai { width: 19px; height: 19px; }
.dbar__bell i { position: absolute; top: -8px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--c-bad); color: #fff; font: 600 10px/18px var(--f-body); font-style: normal; text-align: center; }
.dbar__me { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 4px; border: 1px solid var(--c-line-2); border-radius: 999px; color: var(--c-ink); font-size: 13.5px; font-weight: 500; }
.dbar__me i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent-soft); color: var(--c-accent); font: 600 12px/1 var(--f-body); font-style: normal; }
.dh { display: flex; justify-content: space-between; align-items: flex-end; padding: 22px 24px 16px; }
.dh__title { display: block; color: var(--c-ink); font-size: 24px; letter-spacing: -.01em; }
.dh small { color: var(--c-ink-2); font-size: 13.5px; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--c-ok-bg); color: var(--c-ok); font-size: 12.5px; font-weight: 500; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 24px; }
.dk { display: grid; align-content: start; gap: 12px; min-height: 116px; padding: 16px 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; }
.dk__label { display: flex; align-items: center; gap: 8px; color: var(--c-ink-2); font-size: 13px; }
.dk__val { color: var(--c-ink); font-size: 22px; letter-spacing: -.01em; }
.dk small { margin-top: -6px; color: var(--c-ink-2); }
.dgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; padding: 16px 24px 24px; align-items: start; }
.dcard { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.dcard__title { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-size: 14.5px; font-weight: 600; }
.dcard__title > span:last-child { font-size: 13px; font-weight: 500; }
.dt__head, .dt__row { display: grid; grid-template-columns: 1.2fr 1fr .7fr 1fr .7fr 120px; align-items: center; gap: 12px; padding: 0 20px; }
.dt__head { height: 38px; background: var(--c-surface-2); border-bottom: 1px solid var(--c-line); color: var(--c-ink-2); font-size: 12.5px; }
.dt__head span:nth-child(n+2):nth-child(-n+5) { text-align: right; }
.dt__row { height: 60px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-size: 14px; transition: background-color 1.2s ease; }
.dt__row:last-child { border-bottom: 0; }
.dt__br b, .mb__br b { display: block; }
.dt__br small, .mb__br small { color: var(--c-ink-2); }
.dt__num { text-align: right; }
.dt__row.is-hit, .mb.is-hit { background: var(--c-accent-soft); transition: background-color .25s ease; }
.dk { position: relative; }
.dk__delta { position: absolute; right: 14px; top: 14px; padding: 3px 8px; border-radius: 999px; background: var(--c-accent-soft); color: var(--c-accent); font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.dk__delta.is-shown { opacity: 1; transform: none; }
.spark { width: 120px; height: 30px; overflow: visible; }
.spark .area { fill: var(--c-accent-soft); }
.spark .line { fill: none; stroke: var(--c-accent); stroke-width: 1.6; stroke-linejoin: round; }
.spark circle { fill: var(--c-accent); }
.da__item { display: grid; gap: 2px; padding: 12px 20px; border-bottom: 1px solid var(--c-line); }
.da__item:last-child { border-bottom: 0; }
.da__item { transition: background-color 1.2s ease; }
.da__item.is-hit { background: var(--c-accent-soft); transition: background-color .25s ease; }
.da__item b { color: var(--c-ink); font-size: 14px; }
.da__item small { color: var(--c-ink-2); font-size: 12.5px; }

.mdash { position: relative; width: 393px; height: 852px; display: flex; flex-direction: column; }
.mbar { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px; background: var(--c-surface); }
.mbar > .ai { width: 22px; height: 22px; color: var(--c-ink); }
.mbar .dbar__sel { min-width: 118px; }
.mbar2 { padding: 0 16px 12px; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.mbar2 .dbar__search { width: 100%; }
.mdash .dh { padding: 18px 16px 14px; }
.mks { display: flex; gap: 12px; padding: 10px 16px 0; margin-top: -10px; overflow: hidden; }
.mks .dk__delta { top: -10px; right: 10px; }
.mks .dk { flex: 0 0 160px; }
.mcard { margin: 14px 16px 0; }
.mb { display: grid; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-size: 13.5px; transition: background-color 1.2s ease; }
.mb > div { display: flex; justify-content: space-between; align-items: center; }
.mb > div > span:first-child { color: var(--c-ink-2); }
.mb__br { text-align: right; }
.mtabs { position: absolute; left: 0; right: 0; bottom: 0; height: 88px; padding-bottom: 22px; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--c-surface); border-top: 1px solid var(--c-line); }
.mtabs span { display: grid; justify-items: center; align-content: center; gap: 4px; color: var(--c-ink-2); font-size: 11.5px; }
.mtabs .ai { width: 22px; height: 22px; }
.mtabs .is-on { color: var(--c-accent); }

/* The page's own F-keys light up when the copy presses them */
.keys kbd { transition: transform .12s var(--ease), background-color .2s, border-color .2s; }
.keys kbd.is-pressed { transform: translateY(2px); box-shadow: inset 0 -1px 0 var(--key-edge); }
.keys .key--go.is-pressed { box-shadow: inset 0 -1px 0 color-mix(in srgb, #000 22%, var(--accent)); }

/* Screenshots and photos sit slightly dimmer on dark pages so they do not glare */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .feat__media img { filter: brightness(.9); }
}
:root[data-theme="dark"] .feat__media img { filter: brightness(.9); }

/* ---------- From 360 px: the logo's word mark fits beside the actions ---------- */
@media (min-width: 360px) {
  .nav .logo__word { display: inline; }
}

/* ---------- Tablet (768 px and up) ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; --nav-h: 68px; --section: 96px; }
  body { font-size: 17px; }
  .js body { padding-bottom: 0; }
  .cta-bar { display: none; }
  h1 { font-size: 52px; }
  .h2 { font-size: 42px; }
  h3 { font-size: 24px; }
  .lead, .hero__sub { font-size: 19px; }

  .nav__in { gap: 24px; }
  .nav__actions { gap: 16px; }
  .nav__signin { display: inline; }

  /* Hero: copy and photo side by side; the till overhangs the photo's left edge */
  .hero { padding: 56px 0 72px; }
  .hero__ctas { margin-top: 32px; }
  .proof__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; }
  .receipt { padding: 22px 20px 20px; }

  .features { padding-top: 0; }
  /* Till: text and keys beside the till, the screenshot full width below */
  .pos-stage { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .pos-stage .till { display: block; width: 100%; }
  .feat--pos, .feat--stock, .feat--reports, .offline { padding-top: 56px; margin-top: 56px; }
  .feat h3 + p { font-size: 17px; }
  .feat--stock { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feat--stock .app--stock { margin-top: 0; }
  .feat--reports { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: start; }
  .feat--reports .feat__media { margin-top: 0; } /* the whole report shows, its XLSX button included */
  .feat__media { padding: 24px 0 0 24px; }
  .feat__media img, .app--report { border-radius: 10px 0 0 0; border-right: 0; }
  .offline { grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .offline__icon { grid-row: span 4; font-size: 44px; margin: 4px 0 0; }
  .ofl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offline__title { font-size: 40px; max-width: 20ch; }
  .offline__title + p { font-size: 19px; }

  .owner__stage { padding: 0 0 72px 11%; }
  .frame--desk { display: block; border-radius: var(--r-panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
  /* The iPhone covers the desktop's sidebar, never its panels */
  .owner__stage .iphone { position: absolute; left: 0; bottom: 0; width: 23%; margin: 0; }
  .hs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
  .steps::before { top: 21px; bottom: auto; left: 22px; right: calc(33.333% - 22px); border-left: 0; border-top: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); }
  .step { display: block; }
  .step h3 { margin-top: 20px; }
  .step p { font-size: 16px; }

  .acc { margin-top: 36px; }
  .acc__btn { font-size: 21px; padding: 22px 0; gap: 24px; }
  .acc__panel p { padding-bottom: 24px; }

  .plans {
    grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
    margin: 40px 0 0; padding: 0; overflow: visible;
  }
  .plans__dots:not([hidden]) { display: none; }
  .plan { padding: 28px 24px; }
  .plan--highlight { padding: 27px 23px; }
  .pricing__controls { margin-top: 32px; }

  .demo__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .demo__list { margin-top: 32px; }
  .demo__panel { padding: 32px; }
  .notice__title { font-size: 28px; }

  .foot { padding: 44px 0 48px; }
  .foot__in { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .foot__line { max-width: 34ch; }
}

/* ---------- Desktop (1024 px and up) ---------- */
@media (min-width: 1024px) {
  :root { --section: 112px; }
  h1 { font-size: 64px; line-height: 1.02; }
  .h2 { font-size: 48px; }
  .nav__in { gap: 40px; }
  .nav__links { display: flex; }
  .nav__actions { gap: 20px; }
  .nav__menu { display: none; }

  /* Hero: the copy in one row (title left, text and buttons right), the dashboard full width below it. Beside the
     copy the desktop copy was scaled to 0.47 and its text read at 6-7 px (critique 2026-10-27); here it is ~0.86. */
  .hero { padding: 56px 0 88px; }
  .hero__in { gap: 40px; }
  .hero__copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: end; }
  .hero__copy h1 { grid-row: span 2; font-size: 60px; max-width: 16ch; }
  .hero__sub { margin-top: 0; }

  /* Till: the screenshot runs off the right edge below the text and the till */
  .feat--pos .feat__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); column-gap: 64px; align-items: end; }
  .feat--pos .keys { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .pos-stage { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .feat--pos h3 { font-size: 30px; line-height: 1.12; letter-spacing: -0.025em; }
  .keys { max-width: 460px; }

  .feat--stock { grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
  .pills__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .demo__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; }
  .demo__copy { position: sticky; top: 96px; } /* the promises stay beside the form while it is filled */
}

/* Reduced motion: everything static, receipt shown finished (handled in JS too) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
