/* Product page. Same tokens as the POS and the console, so a shop that sees
   the site and then the app sees one product. */
:root {
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --ink: #0f172a;
  --ink-secondary: #475569;
  --ink-muted: #94a3b8;
  --line: #e2e8f0;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-subtle: #eff6ff;
  --danger: #dc2626;
  --success: #16a34a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-surface);
  color: var(--ink);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }

h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 12px 0 0; }

a { color: var(--primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ------------------------------------------------------------------- nav */
.nav { border-bottom: 1px solid var(--line); background: var(--bg-surface); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }

/* ----------------------------------------------------------------- hero */
.hero {
  padding: clamp(56px, 10vw, 104px) 0;
  background: linear-gradient(180deg, var(--primary-subtle), var(--bg-surface));
  border-bottom: 1px solid var(--line);
}
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-secondary); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { color: var(--ink-muted); font-size: 14px; margin-top: 20px; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font: 500 15px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease-out;
}
.btn:hover { background: var(--primary-hover); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-ghost { background: var(--bg-surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-subtle); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ------------------------------------------------------------- features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 40px;
  padding: clamp(48px, 8vw, 88px) 0;
}
.features p { color: var(--ink-secondary); font-size: 15px; }

/* ------------------------------------------------------------------ how */
.how { background: var(--bg-app); border-block: 1px solid var(--line); padding: clamp(48px, 8vw, 80px) 0; }
.steps { margin: 28px 0 0; padding-left: 22px; display: grid; gap: 14px; max-width: 62ch; }
.steps li { color: var(--ink-secondary); }
.steps strong { color: var(--ink); }

/* -------------------------------------------------------------- enquire */
.enquire { padding: clamp(48px, 8vw, 88px) 0; }
.enquire-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.enquire p { color: var(--ink-secondary); max-width: 46ch; }

form { background: var(--bg-app); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.field { margin-bottom: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-secondary); margin-bottom: 6px; }
input, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--primary); }

/* The honeypot must be invisible to people but present for bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 14px; color: var(--ink-muted); min-height: 20px; }
.form-note.error { color: var(--danger); }
.thanks { font-size: 16px; color: var(--success); margin: 0; }

/* ----------------------------------------------------------------- foot */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; }
.foot .muted { color: var(--ink-muted); }

@media (max-width: 760px) {
  .enquire-inner { grid-template-columns: 1fr; gap: 28px; }
  .row { grid-template-columns: 1fr; }
}
