/* Niviz website (QR product, 2026-11-25). Fonts are self-hosted: Bricolage Grotesque and Nunito Sans (SIL OFL). */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/assets/fonts/nunito-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/assets/fonts/nunito-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Tokens: the navy, light blue and yellow of the scan page, so the site and what people scan look like one product. */
:root {
  --navy: #16263d;
  --navy-2: #22344f;
  --sky: #8fd3ea;
  --sun: #f5d53d;
  --paper: #f4f7fa;
  --ink: #16263d;
  --muted: #4a5a70;
  --line: #d8e0e9;
  --radius: 16px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 72px; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 24px; text-decoration: none; color: #fff; }
.top nav { display: flex; gap: 22px; align-items: center; font-size: 16px; }
.top nav a { text-decoration: none; color: #dbe6f2; }
.top nav a:hover { color: #fff; }
.top nav a.btn, .top nav a.btn:hover { color: var(--navy); }
@media (max-width: 720px) { .top nav .hide-sm { display: none; } }

/* Buttons. Pill shape matches the scan page's "Keep this message" button. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border-radius: 999px;
  background: var(--sun); color: var(--navy); font-weight: 700; font-size: 18px; text-decoration: none; border: 0; }
.btn:hover { background: #ffe25c; }
.btn.small { min-height: 40px; padding: 6px 18px; font-size: 16px; }
.note { font-size: 15px; color: var(--muted); }

/* Hero: the one focal point is the real QR, which opens the Niviz chat. */
.hero { background: var(--navy); color: #fff; padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 21px; color: #dbe6f2; max-width: 34ch; }
.hero .note { color: #b9c7d8; margin-top: 12px; }
.scanme { background: #fff; color: var(--navy); border-radius: 22px; padding: 22px; text-align: center; max-width: 320px; justify-self: end; }
.scanme img { width: 100%; height: auto; }
.scanme p { margin: 12px 0 0; font-size: 15px; font-weight: 700; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .scanme { display: none; } /* the code opens the chat from a computer; on a phone the button does that */
}

section { padding: 72px 0; }
.alt { background: #fff; }
.intro { max-width: 60ch; color: var(--muted); }

/* How it works: four real steps, as a numbered list (not decorative labels). */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.alt .steps li { background: var(--paper); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Use cases */
.uses { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.uses li { border-left: 4px solid var(--sky); background: #fff; padding: 14px 18px; border-radius: 0 12px 12px 0; }
.uses strong { display: block; font-family: var(--display); font-size: 19px; }
.uses span { color: var(--muted); font-size: 16px; }

/* Comparison */
.compare { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 16px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--display); }
.compare thead th:nth-child(2) { background: var(--navy-2); color: var(--sun); }
.compare tbody th { font-weight: 700; }
.table-scroll { overflow-x: auto; }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
.points li h3 { margin-bottom: 6px; }
.points li p { color: var(--muted); margin: 0; }
@media (max-width: 720px) { .points { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan.main { border: 2px solid var(--navy); }
.price { font-family: var(--display); font-size: 40px; font-weight: 800; margin: 4px 0 12px; }
.price span { font-family: var(--body); font-size: 17px; font-weight: 400; color: var(--muted); }
.plan ul { padding-left: 20px; margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.plan .btn { margin-top: auto; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Closing call to action */
.closing { background: var(--navy); color: #fff; text-align: center; }
.closing p { color: #dbe6f2; }

/* Footer */
footer { background: #0f1b2c; color: #b9c7d8; padding: 32px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: #dbe6f2; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal p, .legal li { color: #2f3d52; }
.draft { background: #fff6cc; border: 1px solid #e6c84a; border-radius: 12px; padding: 12px 16px; font-size: 16px; }
.plans + .note { margin-top: 18px; }
.soon { margin-top: auto; text-align: center; font-weight: 700; color: var(--muted); padding: 14px 0; border: 1px dashed var(--line); border-radius: 999px; }
