/* ============================================================
   demo.scanandflag.com: the walkthrough every printed QR code lands on.
   System font stack on purpose: a scan over cellular must not wait for fonts.
   Blueprint light tokens copied from apps/marketing/css/site.css. Light only.
============================================================ */
:root {
  color-scheme: light;
  --canvas: #FAFBFC;
  --surface: #FFFFFF;
  --recess: #F4F6F9;
  --sunken: #EDF1F6;
  --ink: #0F1B2D;
  --ink-fg: #FAFBFC;
  --fg-2: #3B4658;
  --fg-3: #5D6779;
  --soft: #E5EAF1;
  --border: #D5DCE6;
  --action: #2563D6;
  --action-hover: #1B4DA8;
  --link: #1B4DA8;
  --focus: #DCE7F8;
  --shadow-lift: 0 18px 40px -24px rgba(15, 27, 45, .35), 0 2px 6px rgba(15, 27, 45, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--canvas); }
body { background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-wrap: break-word; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.top { background: var(--surface); border-bottom: 1px solid var(--border); }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; }
.wordmark { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.tag { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); border: 1px solid var(--action); border-radius: 3px; padding: 3px 7px; }

.eyebrow, .label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--action); }

.hero { padding: 48px 0 40px; }
.hero h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 18px; max-width: 760px; }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--fg-2); max-width: 620px; margin-bottom: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--action); color: #FFFFFF; border: 1px solid var(--action); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 0; }
.btn:hover { background: var(--action-hover); border-color: var(--action-hover); color: #FFFFFF; }
a:focus-visible, video:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 4px var(--focus); }

.clips { padding: 8px 0 64px; }
.clip-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: start; }
.clip { margin: 0; }
.clip .label { margin: 0 0 10px; color: var(--ink); }
.clip-frame { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lift); }
.clip-frame.phone { background: var(--ink); padding: 8px; max-width: 320px; }
.clip-frame video { width: 100%; background: var(--sunken); }
.clip figcaption { margin-top: 12px; font-size: 15px; color: var(--fg-2); }

.steps { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--soft); border-bottom: 1px solid var(--soft); }
.steps h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-bottom: 32px; }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-list li { border-top: 1px solid var(--ink); padding-top: 18px; }
.step-shot { height: 220px; margin-bottom: 16px; background: var(--sunken); border: 1px solid var(--border); overflow: hidden; display: flex; justify-content: center; align-items: flex-start; }
.step-shot.phone { padding-top: 16px; }
.step-shot.phone img { width: 150px; border: 6px solid var(--ink); }
.step-shot img { width: 100%; }
.num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--action); }
.step-text h3 { font-size: 22px; margin: 6px 0 6px; }
.step-text p { color: var(--fg-2); font-size: 16px; margin: 0; }

.cta { padding: 64px 0; background: var(--ink); color: var(--ink-fg); }
.cta h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; margin-bottom: 12px; }
.cta p { color: #C9D2DF; }
.cta .btn { margin-top: 8px; }
.cta .more { margin: 20px 0 0; }
.cta .more a { display: inline-flex; align-items: center; min-height: 44px; color: #A9C4F5; }
.cta a:focus-visible { outline-color: #FFFFFF; }

.foot { padding: 24px 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg-2); }

@media (max-width: 860px) {
  .clip-grid { grid-template-columns: 1fr; }
  .clip-frame.phone { margin: 0 auto; max-width: 280px; }
  .clip-phone .label, .clip-phone figcaption { text-align: center; }
  .step-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 0 28px; }
  .btn { width: 100%; }
  .step-list { grid-template-columns: 1fr; }
  .step-shot { height: 180px; }
}
