/* Pawbase landing. Tokens from docs/superpowers/specs/2026-10-25-landing-design.md
 * Mobile-first (LAND-1): 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 Schibsted Grotesk 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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-var-latin-ext.f5df746dbc.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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-var-latin.e3b56e9051.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: #F7F8F6;
  --surface: #FDFDFC;
  --ink: #12233A;
  --ink-2: #4E5D70;
  --line: #DFE4E8;
  --accent: #2457D6;
  --accent-hover: #1D49B8;
  --accent-ink: #FFFFFF;
  --danger: #B42318;
  --thermal: #FDFDFB;
  --thermal-ink: #2B2B2B;
  --printer: #12233A;
  --shadow: 0 1px 2px rgb(18 35 58 / .06), 0 12px 32px rgb(18 35 58 / .08);
  --shadow-paper: 0 2px 3px rgb(18 35 58 / .10), 0 18px 34px rgb(18 35 58 / .12);

  --f-display: "Schibsted Grotesk", "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;

  --r-control: 10px;
  --r-panel: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 60px;
  --gutter: 16px;
  --tap: 44px;
  --cta-bar-h: 72px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1622;
    --surface: #142030;
    --ink: #E8EDF3;
    --ink-2: #A3B0BF;
    --line: #223143;
    --accent: #6E95F5;
    --accent-hover: #8AAAF7;
    --accent-ink: #0E1622;
    --danger: #FF8A80;
    --printer: #1D2C40;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .32);
    --shadow-paper: 0 2px 3px rgb(0 0 0 / .35), 0 18px 34px rgb(0 0 0 / .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1622;
  --surface: #142030;
  --ink: #E8EDF3;
  --ink-2: #A3B0BF;
  --line: #223143;
  --accent: #6E95F5;
  --accent-hover: #8AAAF7;
  --accent-ink: #0E1622;
  --danger: #FF8A80;
  --printer: #1D2C40;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .32);
  --shadow-paper: 0 2px 3px rgb(0 0 0 / .35), 0 18px 34px rgb(0 0 0 / .4);
  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; }
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 scale: 15 / 17 / 20 / 28 / 40 / 60 (phones: the headline follows the width) */
h1, .h2, h3 { font-family: var(--f-display); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(32px, 9.6vw, 40px); line-height: 1.08; font-weight: 700; }
.h2 { font-size: 28px; line-height: 1.1; font-weight: 700; max-width: 22ch; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 56ch; margin-top: 16px; }

/* 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: scale(.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-2); }
.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) 88%, 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: 10px; min-height: var(--tap); min-width: var(--tap); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo__mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: #2457D6; color: #FFFFFF; font-size: 20px; flex: none;
}
.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: 1px solid var(--line); border-radius: var(--r-control);
  color: var(--ink); font-size: 22px; cursor: pointer; touch-action: manipulation;
}
.nav__menu:hover { border-color: var(--ink-2); }
html:not(.js) .nav__menu { display: none; }

/* The menu sheet (phones and tablets) */
.sheet { position: fixed; inset: 0; z-index: 70; background: rgb(8 14 24 / .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: 1px solid var(--line); border-radius: var(--r-control); color: var(--ink); font-size: 22px; cursor: pointer;
}
.sheet__links { display: grid; margin-top: 4px; }
.sheet__links a {
  display: flex; align-items: center; min-height: 52px; padding: 0 4px;
  font: 600 18px/1.3 var(--f-display); letter-spacing: -0.01em; 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: headline, one-line subtext and the CTA fit the first phone screen; the receipt follows */
.hero { padding: 24px 0 40px; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.hero__copy h1 { max-width: 18ch; }
.hero__sub { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; margin-top: 14px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero__ctas .btn { flex: 1 1 auto; }

/* The till: printer housing + receipt feeding out of the slot (a little smaller on phones) */
.till { width: 100%; max-width: 320px; justify-self: center; }
.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: #0B1626; color: #CFE0FF; border-radius: 6px;
  padding: 4px 10px; font: 500 13px/1.4 var(--f-mono);
}
.till__display-label { color: #8FA6C8; }
.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: #050B14;
}
.till__feed { overflow: hidden; margin: 6px -14px 0; padding: 0 28px 40px; }
.till__shadow { filter: drop-shadow(0 2px 2px rgb(18 35 58 / .10)) drop-shadow(0 14px 22px rgb(18 35 58 / .12)); }
.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; }
.r-note { color: #555550; font-size: 11px; text-align: center; }
.r-barcode { margin-top: 12px; display: grid; justify-items: center; gap: 4px; font-size: 11px; letter-spacing: .12em; }
.r-barcode svg { width: 100%; height: 44px; }

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

/* Product shot: on phones the phone screenshot leads, large; the desktop shot from 768 px */
.shot { padding: 16px 0 64px; }
.shot__stage { position: relative; }
.frame { border-radius: var(--r-panel); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.frame img { width: 100%; }
.frame--desk { display: none; }
.frame--phone {
  width: min(300px, 82%); margin-inline: auto;
  border-radius: 28px; border: 6px solid var(--printer);
}
.shot__cap { margin-top: 24px; color: var(--ink-2); font-size: 16px; }
.shot__cap strong { color: var(--ink); font-weight: 600; }

/* Features bento: one column on phones, the screenshots as legible phone crops */
.features { padding: 40px 0 72px; }
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
.cell {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  display: flex; flex-direction: column;
}
.cell__text { padding: 24px 20px 16px; }
.cell__text p, .cell--offline p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 46ch; }
.cell__media { margin-top: auto; padding: 0 20px 20px; }
.cell__media img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.cell--pos { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.cell--reports { background: color-mix(in srgb, var(--ink) 4%, var(--surface)); }
.cell--offline {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  min-height: 260px; padding: 24px 20px; justify-content: flex-end;
}
.cell--offline p { color: var(--accent-ink); opacity: .9; }
.cell__icon { position: absolute; top: 24px; left: 22px; font-size: 32px; }
.cell__statement { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; max-width: 14ch; }

/* Switching: a vertical sequence on phones */
.switch, .faq, .demo { padding: 56px 0 72px; 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: 22px;
  border-left: 1px solid var(--line);
}
.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(--paper); border: 1px solid var(--accent); color: var(--accent);
  font: 600 17px/1 var(--f-display); position: relative;
}
.step h3 { margin-top: 10px; }
.step p { grid-column: 2; margin-top: 8px; color: var(--ink-2); font-size: 15px; max-width: 34ch; }

/* FAQ accordion: each question is a full-width tap row */
.faq__in > * { max-width: 68ch; }
.acc { margin-top: 32px; 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: 600 17px/1.35 var(--f-display); letter-spacing: -0.01em; color: var(--ink);
  touch-action: manipulation;
}
.acc__btn:hover .acc__icon { color: var(--accent); }
.acc__icon { flex: none; font-size: 20px; color: var(--ink-2); transition: transform .3s var(--ease), color .2s; }
.acc__btn[aria-expanded="true"] .acc__icon { transform: rotate(45deg); color: var(--accent); }
.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: stacked cards on phones in their order, a row from 768 px. The highlighted plan has an
   accent border and badge, no second color. */
.pricing { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
.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 {
  align-self: flex-start; padding: 2px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent);
  font-size: 13px; font-weight: 600;
}
.plan__name { font: 700 20px/1.25 var(--f-display); letter-spacing: -0.01em; }
.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 32px/1.1 var(--f-display); letter-spacing: -0.02em; }
.plan__amount--request { font-size: 24px; }
.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__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; }
.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; gap: 16px; justify-items: start; }
.seg {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  margin: 0; padding: 4px; border: 1px solid var(--line); 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: 600; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: inherit;
}
.seg__opt input:checked + span .seg__badge { background: color-mix(in srgb, var(--accent-ink) 22%, transparent); }
.stepper { display: flex; flex-wrap: wrap; align-items: center; 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 color-mix(in srgb, var(--ink-2) 72%, var(--line)); border-radius: var(--r-control);
  background: var(--surface); color: var(--ink); font-size: 20px; cursor: pointer; touch-action: manipulation;
}
.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 color-mix(in srgb, var(--ink-2) 72%, var(--line)); border-radius: var(--r-control);
  background: var(--paper); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.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-top: 32px; max-width: 640px; }
.addons__title { font-size: 17px; }
.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-top: 20px; display: grid; gap: 16px; justify-items: start; 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(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 20px; box-shadow: var(--shadow);
}
.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(--paper); border: 1px solid color-mix(in srgb, var(--ink-2) 72%, var(--line)); 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 12px;
  border: 1px solid color-mix(in srgb, var(--ink-2) 72%, var(--line)); border-radius: var(--r-control);
  background: var(--paper); font-size: 16px; font-weight: 500; text-align: center;
  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 { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 15px; color: var(--ink-2); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 32px; align-items: center; }
.foot .logo { color: var(--ink); }
.foot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.foot__actions a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); }
.foot__actions a:hover { color: var(--ink); }
.theme {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px;
  background: transparent; border: 1px solid var(--line); 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)); }

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

/* ---------- 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; }
  body { font-size: 17px; }
  .js body { padding-bottom: 0; }
  .cta-bar { display: none; }
  h1 { font-size: 48px; line-height: 1.04; }
  .h2 { font-size: 40px; }
  .lead, .hero__sub { font-size: 20px; }

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

  .hero { padding: 72px 0 32px; }
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 40px; }
  .hero__copy { padding-top: 24px; }
  .hero__sub { margin-top: 24px; }
  .hero__ctas { gap: 12px; margin-top: 36px; }
  .hero__ctas .btn { flex: none; }
  .till { max-width: 340px; justify-self: end; }
  .till__feed { padding: 0 32px 64px; }
  .receipt { padding: 22px 20px 20px; font-size: 13px; line-height: 1.55; }
  .r-line { min-height: 1.55em; }
  .r-total { font-size: 15px; }
  .r-note, .r-barcode { font-size: 12px; }
  .r-barcode { margin-top: 14px; }
  .r-barcode svg { height: 52px; }

  .shot { padding: 24px 0 96px; }
  .shot__stage { padding-right: 7%; }
  .frame--desk { display: block; }
  .frame--phone {
    position: absolute; right: 0; bottom: -56px; width: 21%; margin: 0;
  }
  .shot__cap { margin-top: 32px; max-width: min(60ch, 74%); font-size: 17px; }

  .features { padding: 32px 0 120px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .cell { min-height: 380px; }
  .cell__text { padding: 28px 28px 20px; }
  .cell__media { padding: 0 0 0 28px; height: 280px; overflow: hidden; }
  .cell__media picture { height: 100%; }
  .cell__media img {
    width: 100%; height: 100%; object-fit: cover; object-position: left top;
    border-radius: 10px 0 0 0; border-right: 0; border-bottom: 0;
  }
  .cell--pos { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .cell--pos .cell__text { align-self: start; }
  .cell--pos .cell__text h3 { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
  .cell--pos .cell__media { position: relative; height: 500px; }
  .cell--pos .cell__media img { position: absolute; left: 28px; top: 0; width: 900px; height: auto; max-width: none; object-fit: fill; }
  .cell--stock .cell__media img { width: 900px; max-width: none; height: auto; object-fit: fill; margin-top: -151px; } /* start at the table header */
  .cell--expiry, .cell--stock, .cell--reports, .cell--offline { grid-column: span 1; }
  .cell--offline { padding: 28px; min-height: 380px; }
  .cell__icon { left: 26px; }
  .cell__statement { font-size: 28px; }

  .switch, .faq, .demo, .pricing { padding: 64px 0 120px; }
  .plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 40px; }
  .plan { padding: 28px 24px; }
  .plan--highlight { padding: 27px 23px; }
  .pricing__controls { grid-auto-flow: column; justify-content: center; align-items: center; gap: 32px; }
  .pricing__basis { text-align: center; }
  .pricing .h2 { margin-inline: auto; text-align: center; }
  .addons { margin-inline: auto; }
  .pricing__fallback { margin-inline: auto; justify-items: center; text-align: center; }
  .demo { padding-bottom: 120px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
  .steps::before { top: 22px; bottom: auto; left: 22px; right: calc(33.333% - 22px); border-left: 0; border-top: 1px solid var(--line); }
  .step { display: block; }
  .step h3 { margin-top: 20px; }

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

  .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: 40px 0 48px; }
  .foot__in { grid-template-columns: auto 1fr auto; }
  .foot__actions { flex-wrap: nowrap; }
}

/* ---------- Desktop (1024 px and up) ---------- */
@media (min-width: 1024px) {
  h1 { font-size: 60px; }
  .nav__in { gap: 40px; }
  .nav__links { display: flex; }
  .nav__actions { gap: 20px; }
  .nav__menu { display: none; }

  .hero__in { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
  .hero__copy { padding-top: 56px; }

  .pills__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* Kassa: full row; text left, the till screenshot bleeding off the right edge */
  .cell--pos { grid-column: span 6; grid-template-columns: 320px minmax(0, 1fr); min-height: 624px; }
  .cell--pos .cell__text { align-self: end; padding: 28px 24px 36px 32px; }
  .cell--pos .cell__media { height: auto; padding: 0; margin: 0; }
  .cell--pos .cell__media img { left: 0; top: 48px; width: 1093px; }
  .cell--expiry, .cell--stock { grid-column: span 3; }
  .cell--offline { grid-column: span 2; }
  .cell--reports { grid-column: span 4; }
}

/* 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; }
}
