/* Modern Minimal, matching the POS itself: white, greys, one black accent.
   No colour, no decoration that does not earn its place. */
:root {
  color-scheme: light;
  --ink: #111827;        /* text primary   */
  --ink-2: #6b7280;      /* text secondary */
  /* muted: headings, labels, captions, footer. Was #9ca3af, 2.5:1 on white, too faint to read.
     #6b7280 is the lightest grey that still reaches WCAG AA 4.5:1 on --surface as well (4.6:1);
     the eyebrow style (small caps, spacing, weight) is what sets these apart, not a paler grey. */
  --ink-3: #6b7280;
  --line: #e5e7eb;       /* borders        */
  --surface: #f9fafb;    /* subtle panels  */
  --paper: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* The page is wide; running text is not. Paragraphs keep a readable line length
   (max-width on p) while grids, tables and screenshots use the full width. */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

header {
  padding: 40px 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
header .home { display: block; width: 180px; max-width: 60%; }
header img { width: 100%; height: auto; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 48px 0 20px;
  max-width: 20ch;
}
.lede { font-size: 19px; color: var(--ink-2); margin: 0 0 8px; max-width: 60ch; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; padding-top: 32px; }
h2 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  margin: 0 0 24px;
}
h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
p { margin: 0 0 16px; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

/* Home hero: the pitch beside the till. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
  padding: 40px 0 24px;
}
.hero h1 { margin-top: 0; }
.hero figure { margin: 0; }

/* Feature cards. */
.items { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.items.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.item { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: var(--paper); }
.item p { color: var(--ink-2); font-size: 15px; margin: 0; }
.stack { display: grid; gap: 12px; }

/* Home: the three link cards to the inner pages. */
.pillars .item { display: flex; flex-direction: column; background: var(--surface); }
.pillars .item p { margin-bottom: 16px; }
.pillars .item .more { margin-top: auto; }

/* Two columns that belong side by side, each with its own heading. */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }

.more { font-size: 15px; font-weight: 600; }
.items + .more { margin-top: 24px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px;
}
.panel p { font-size: 15px; color: var(--ink-2); }
.panel strong { color: var(--ink); font-weight: 600; }
.panel.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.panel.two p { margin: 0; }

/* Bring your own hardware: a three-column comparison that stacks into one card per row on a phone. */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin: 0; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.compare tbody th { font-weight: 600; width: 22%; padding-left: 0; }
.compare tbody td { color: var(--ink-2); width: 39%; }
.compare .us { background: var(--surface); color: var(--ink); }
.compare .fair { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }

.needs { margin: 0; border-top: 1px solid var(--line); }
.needs div { display: grid; grid-template-columns: 136px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.needs div:last-child { border-bottom: 0; }
.needs dt { font-weight: 600; font-size: 15px; }
.needs dd { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Screenshots of the real app on sample data. Tablet shots are 4:3, the phone shot is
   390x844; 1fr / 2.88fr gives the pair equal heights side by side. */
figure { margin: 32px 0 8px; }
figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
figure.phone img { border-radius: 20px; }
figcaption { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.shots { display: grid; grid-template-columns: 1fr 2.88fr; gap: 24px; align-items: start; margin-top: 32px; }
.shots figure { margin: 0; }

/* Getting started: a row of numbered steps, a column on a phone. */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--ink-2); font-size: 15px; margin: 0; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }

.cta { margin: 28px 0 8px; }
.cta .btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
}
.cta .btn:hover { background: #374151; color: var(--paper); }
.cta .note { font-size: 14px; color: var(--ink-3); margin: 12px 0 0; }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 64px;
  color: var(--ink-3);
  font-size: 14px;
}
footer p { margin: 0; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .items, .items.two, .split, .panel.two, .steps { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  section { padding: 44px 0; }
}

@media (max-width: 560px) {
  header { padding-top: 32px; }
  .site-nav { width: 100%; }
  .shots { grid-template-columns: 1fr; gap: 24px; }
  .shots figure.phone img { max-width: 240px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare tbody th, .compare tbody td { display: block; width: auto; }
  .compare tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th { border: 0; padding: 0; margin-bottom: 8px; }
  .compare tbody td { border: 0; padding: 8px 12px; }
  .compare td.us { border-radius: 8px; }
  .compare tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-3);
  }
  .needs div { grid-template-columns: 1fr; gap: 2px; }
}
