:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --text: #1a1916;
  --muted: #6f6b63;
  --border: #e3e0d8;
  --accent: #c8261c;
  --accent-hover: #a81f17;
  --accent-soft: #fbe9e7;
  --ok: #217a3c;
  --ok-soft: #e3f3e7;
  --err: #b3261e;
  --stud: #c8261c;
  --stud-top: #e0483c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --surface: #1c1c19;
    --text: #f1efe9;
    --muted: #9b978d;
    --border: #33322d;
    --accent: #e0483c;
    --accent-hover: #ee5a4e;
    --accent-soft: #3a1d1a;
    --ok: #6cc788;
    --ok-soft: #1b3323;
    --err: #ef7a70;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { padding: 22px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); }
nav .lang { border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.lead strong { color: var(--text); font-weight: 600; }

/* Signup form */
.signup { display: flex; gap: 10px; max-width: 470px; }
.signup input[type="email"] {
  flex: 1; min-width: 0;
  font: inherit; font-size: 16px;
  padding: 13px 15px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--text);
}
.signup input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.signup button {
  font: inherit; font-size: 16px; font-weight: 600;
  padding: 13px 20px; border: 0; border-radius: 10px;
  background: var(--accent); color: #fff; cursor: pointer; white-space: nowrap;
}
.signup button:hover { background: var(--accent-hover); }
.signup button:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { font-size: 13px; color: var(--muted); margin: 12px 0 0; max-width: 470px; }
.status { margin: 14px 0 0; padding: 11px 14px; border-radius: 10px; font-size: 15px; max-width: 470px; }
.status[hidden] { display: none; }
.status.ok { background: var(--ok-soft); color: var(--ok); }
.status.err { background: var(--accent-soft); color: var(--err); }

/* Hero illustration: one stock feeding several stores */
.diagram { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.diagram .stock { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--accent-soft); }
.diagram .stock b { display: block; font-size: 15px; }
.diagram .stock span { font-size: 13px; color: var(--muted); }
.diagram .studs { display: grid; grid-template-columns: repeat(2, 12px); gap: 4px; flex: none; }
.diagram .studs i { width: 12px; height: 12px; border-radius: 50%; background: var(--stud); box-shadow: inset 0 -2px 0 rgba(0,0,0,0.18); }
.diagram .lines { height: 28px; margin: 0 22px; border-left: 2px dashed var(--border); border-right: 2px dashed var(--border); }
.diagram ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diagram li { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.diagram li em { white-space: nowrap; font-style: normal; color: var(--ok); font-size: 12px; font-weight: 600; }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--border); }
h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.section-lead { color: var(--muted); margin: 0 0 40px; max-width: 40em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.feature .icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.feature .icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 18px; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.platforms li { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; }
.platforms li.soon { color: var(--muted); border-style: dashed; }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 14px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--stud); box-shadow: inset 0 -2px 0 rgba(0,0,0,0.18); }

.cta { text-align: center; }
.cta .section-lead { margin-left: auto; margin-right: auto; }
.cta .signup, .cta .fineprint, .cta .status { margin-left: auto; margin-right: auto; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0 48px; font-size: 13px; color: var(--muted); }
footer p { margin: 0 0 10px; max-width: 60em; }
footer h4 { font-size: 13px; color: var(--text); margin: 22px 0 6px; }

@media (max-width: 820px) {
  .hero { padding: 28px 0 48px; }
  .hero .wrap, .fit { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: 1fr; }
  nav a:not(.lang) { display: none; }
}
@media (max-width: 480px) {
  .signup { flex-direction: column; }
  .diagram ul { grid-template-columns: 1fr; }
}

.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 12px; max-width: 470px; cursor: pointer; }
.consent input { margin: 3px 0 0; accent-color: var(--accent); }
.cta .consent { margin-left: auto; margin-right: auto; text-align: left; }

/* Plainer layout: prose sections instead of feature cards */
.h1-plain { font-size: clamp(32px, 4.6vw, 46px); line-height: 1.12; letter-spacing: -0.02em; }
.prose > * { max-width: 720px; }
.prose p { margin: 0 0 16px; }
.prose .join { margin: 24px 0 8px; }
.muted { color: var(--muted); font-size: 15px; }
ul.plain { margin: 0 0 20px; padding-left: 20px; }
ul.plain li { margin-bottom: 12px; }
ul.plain li::marker { color: var(--accent); }
.diagram .sale { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: 14px; }
.diagram .sale b { display: block; margin-top: 2px; font-size: 15px; }
.diagram li em { color: var(--text); font-weight: 600; }
.diagram li:last-child { background: var(--ok-soft); border-color: transparent; }
.diagram li:last-child em { color: var(--ok); }
.diagram li.off { color: var(--muted); border-style: dashed; }
.diagram li.off em { color: var(--muted); font-weight: 500; }

/* Photo recognition teaser */
.soon-line { margin: -14px 0 26px; font-size: 15px; color: var(--accent); font-weight: 600; }
.soon-line a { color: inherit; }
.camera { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.viewfinder { position: relative; background: #2a2925; border-radius: 12px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.viewfinder .part { width: 52%; }
.corner { position: absolute; width: 22px; height: 22px; border: 3px solid #fff; opacity: .85; }
.corner.tl { top: 14%; left: 18%; border-right: 0; border-bottom: 0; }
.corner.tr { top: 14%; right: 18%; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 14%; left: 18%; border-right: 0; border-top: 0; }
.corner.br { bottom: 14%; right: 18%; border-left: 0; border-top: 0; }
.guesses { margin: 16px 0 0; padding-left: 22px; font-size: 15px; }
.guesses li { padding: 6px 0; color: var(--muted); }
.guesses li:first-child { color: var(--text); }
.guesses b { color: var(--text); margin-right: 6px; }
.guesses em { font-style: normal; font-size: 13px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.camera .example { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* Workspace teaser */
.workspace { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; }
.ws-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.ws-bar span { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.ws-bar span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ws-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 4 / 3; }
.pane { border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 7px; background: var(--bg); }
.pane.big { grid-row: span 2; }
.pane i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.pane b { display: block; height: 8px; border-radius: 4px; background: var(--border); }
.pane b:nth-child(odd) { width: 80%; }
.workspace .example { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
