:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #14171c;
  --muted: #5a6270;
  --line: #e2e5ea;
  --accent: #0b6bcb;
  --accent-text: #ffffff;
  --radius: 14px;
  --ok: #17794a;
  --next: #9a5b00;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --surface: #161a21;
    --text: #e8ebf0;
    --muted: #9aa3b2;
    --line: #262c36;
    --accent: #4c9bff;
    --accent-text: #0b0e13;
    --ok: #4cc38a;
    --next: #f0a847;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 20px; }
.brand svg { width: 34px; height: 34px; }
.login { font-size: 15px; font-weight: 500; text-decoration: none; }

.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.02em; max-width: 18ch; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 58ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  font-weight: 600; text-decoration: none; border: 1px solid var(--accent);
}
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.ghost { color: var(--accent); }

/* Official "Get it on Google Play" badge in the hero CTA row.
   Height-sized so the artwork keeps its aspect ratio (per Google's rules:
   never stretch or restyle the badge). The badge artwork carries built-in
   padding, so the box is sized up (68px) for the visible mark to match
   the ~52px buttons beside it. */
.cta { align-items: center; }
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 68px; width: auto; }

section h2 { font-size: 24px; margin: 0 0 20px; letter-spacing: -0.01em; }
.features { padding: 24px 0 64px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 10px; }

.how { padding: 0 0 64px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 4px 0 0 44px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent);
}
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.contact { padding: 0 0 72px; }
.contact .card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px; }
.contact h2 { margin: 0 0 4px; }
.contact p { margin: 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 28px; }
.nav { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; }
.lang:hover { color: var(--text); }

.screens { padding: 8px 0 56px; }
.shot { margin: 0 0 28px; }
.shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 12px 32px -12px rgb(0 0 0 / 0.18);
  background: var(--surface);
}
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.shot-note { margin: -8px 0 0; color: var(--muted); font-size: 13px; }

/* Header page links (features / pricing). */
.nav .page { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text); }
.nav .page:hover, .nav .page[aria-current="page"] { color: var(--accent); }
@media (max-width: 600px) {
  .nav { gap: 12px; }
  .nav .login { display: none; }
}

/* Sub-page hero (features, pricing). */
.page-hero { padding: 56px 0 28px; }
.page-hero h1 { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; max-width: 22ch; }
.page-hero p { font-size: 18px; color: var(--muted); margin: 0 0 20px; max-width: 62ch; }

/* Feature status badges + legend. */
.badge {
  display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.5;
  padding: 1px 9px; border-radius: 999px; white-space: nowrap;
}
.badge.now { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.badge.next { color: var(--next); background: color-mix(in srgb, var(--next) 14%, transparent); }
.badge.later { color: var(--muted); border: 1px solid var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }

/* In-page table of contents. */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.toc a {
  display: inline-block; padding: 6px 12px; font-size: 14px; text-decoration: none;
  color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.toc a:hover { border-color: var(--accent); color: var(--accent); }

/* Feature categories. */
.cat { padding: 28px 0; scroll-margin-top: 12px; }
.cat + .cat { border-top: 1px solid var(--line); }
.cat-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.cat-head svg { flex: none; width: 28px; height: 28px; color: var(--accent); margin-top: 2px; }
.cat-head h2 { margin: 0 0 4px; }
.cat-head p { margin: 0; color: var(--muted); max-width: 70ch; }
.flist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.flist li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.fhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin-bottom: 4px; }
.flist h3 { margin: 0; font-size: 16px; }
.flist p { margin: 0; color: var(--muted); font-size: 15px; }
.sub-h { font-size: 17px; margin: 26px 0 12px; }
.note { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 75ch; }

/* ERP / integration tiles. */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tiles li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.tiles strong { display: block; font-size: 16px; }
.tiles span.what { display: block; color: var(--muted); font-size: 14px; margin: 2px 0 8px; }

/* Pricing plans. */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan.featured { border: 2px solid var(--accent); }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); background: var(--accent); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.plan h2 { margin: 0 0 4px; font-size: 22px; }
.plan .for { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.price { margin: 0 0 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price .amt { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price .amt.text { font-size: 30px; line-height: 1.33; }
.price .per { color: var(--muted); font-size: 15px; }
.plan .terms { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.plan ul { margin: 0 0 22px; padding: 0; list-style: none; flex: 1; }
.plan li { position: relative; padding: 5px 0 5px 26px; font-size: 15px; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg);
}
.plan li.head { padding-left: 0; font-weight: 600; }
.plan li.head::before { display: none; }
.plan .btn { text-align: center; }
.plan .btn:not(.primary) { color: var(--accent); }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* Plan comparison table. */
.compare { padding: 48px 0 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 14px; position: sticky; top: 0; background: var(--surface); }
.compare td:not(:first-child), .compare thead th:not(:first-child) { text-align: center; width: 17%; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tr.group td { font-weight: 700; background: var(--bg); font-size: 14px; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--muted); }
.compare .badge { margin-left: 6px; }

/* Add-ons + hardware. */
.addons { padding: 40px 0 8px; }

/* FAQ. */
.faq { padding: 40px 0 56px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Privacy policy (privacy/, en/privacy/): long-form legal text. */
.legal .cat p, .legal .cat li { max-width: 75ch; }
.legal .cat p { margin: 0 0 12px; }
.legal .cat ul { margin: 0 0 12px; padding-left: 22px; }
.legal .cat li { margin-bottom: 6px; }
.legal .sub-h:first-of-type { margin-top: 0; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
