:root {
  --accent: #0f7a6c;
  --ink: #0b1a19;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: #e2ded4;
  --muted: #6b6f76;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,26,25,.06), 0 8px 24px rgba(11,26,25,.07);
}
* { box-sizing: border-box; }
/* .stage children set display:block/grid, which would beat [hidden]. */
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent); }
.wrap { max-width: 940px; margin: 0 auto; padding: 24px 18px 72px; }
.wrap.narrow { max-width: 620px; }

header.top { border-bottom: 1px solid var(--line); background: var(--card); }
header.top .wrap { padding: 14px 18px; display: flex; gap: 12px; align-items: center; }
.brandmark {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px;
  display: grid; place-items: center; font-size: 21px;
  background: color-mix(in srgb, var(--accent) 14%, white);
}
.brandtext { display: flex; flex-direction: column; line-height: 1.25; }
.brandtext b { font-size: 17px; letter-spacing: -.01em; }
.brandtext span { font-size: 13px; color: var(--muted); }

h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; margin: 26px 0 8px; }
h2 { font-size: 19px; letter-spacing: -.01em; margin: 30px 0 10px; }
p.lede { font-size: 17px; color: #3b4148; margin: 0 0 18px; }
.muted { color: var(--muted); }
small.muted { font-size: 13px; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.card + .card { margin-top: 14px; }
.grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

button, .btn {
  font: inherit; font-weight: 600; cursor: pointer;
  border-radius: 10px; border: 1px solid transparent; padding: 11px 16px;
  background: var(--accent); color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
button:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost, button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.block, button.block { width: 100%; }
.btn.big, button.big { padding: 15px 22px; font-size: 17px; }

input[type=email], input[type=text], select {
  font: inherit; width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }

.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row.tight { gap: 8px; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.pill {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent);
}
.pill.warn { background: #fff3d6; color: #8a5a00; }

.note {
  border-left: 3px solid color-mix(in srgb, var(--accent) 55%, white);
  background: color-mix(in srgb, var(--accent) 6%, white);
  padding: 10px 14px; border-radius: 0 10px 10px 0; font-size: 14px;
}

/* camera + qr */
.stage { position: relative; max-height: 62vh; background: #10100f; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.stage video, .stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa0a6; font-size: 14px; text-align: center; padding: 24px; }
.qrbox { background: #fff; padding: 14px; border-radius: 12px; display: inline-block; line-height: 0; }
.qrbox svg { width: 220px; height: 220px; display: block; }
.code {
  font: 700 30px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em; margin: 10px 0 0;
}

/* gallery */
.shots { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .shots { grid-template-columns: 1fr 1fr; } }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.shot img { width: 100%; display: block; }
.shot .bar { padding: 9px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }

footer.foot { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.demo-banner {
  background: #fff3d6; color: #6c4a00; font-size: 13px; font-weight: 600;
  text-align: center; padding: 7px 12px;
}
