/* Qivra story: a field-sheet page. Dark header with three quoted facts, a ruled paper form, a two-sided "is / is not" block, a step strip, an example sheet, then the app as pictures beside text. Chromium 67 safe: no flex gap, clamp, min, max, inset, padding-inline, aspect-ratio or gradient text. */
@font-face { font-family: 'Qivra UI'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
body.page-qivra {
  --bg: #f4f0e3; --surface: #fffdf6; --raised: #e5dfce;
  --text: #161a19; --text-2: #3b423f; --muted: #3b423f;
  --accent: #4d5a0f; --accent-ink: #ffffff; --accent-soft: rgba(77,90,15,.12);
  --hair: rgba(22,26,25,.16); --hair-2: rgba(22,26,25,.38);
  --bar: #f4f0e3; --head: 'Qivra UI', 'Segoe UI', Arial, sans-serif; --body: 'Qivra UI', 'Segoe UI', Arial, sans-serif;
}
.page-qivra .wrap { max-width: 1080px; }
.page-qivra p { line-height: 1.7; }
.page-qivra h1, .page-qivra h2, .page-qivra h3 { font-weight: 700; letter-spacing: -.01em; }
.page-qivra h2 { font-size: 29px; line-height: 1.22; }
.page-qivra h3 { font-size: 19px; line-height: 1.3; }
.page-qivra a { text-underline-offset: 3px; }
.page-qivra .btn { line-height: 1.35; }

/* Top: ink band, the title, then three quoted facts side by side */
.qv-top { padding: 36px 0 0; background: #161a19; color: #f1eddd; }
.qv-top .crumb { margin-bottom: 24px; font-size: 14px; }
.qv-top .crumb a { color: #d6e58a; }
.qv-top .story-app { margin-bottom: 20px; color: #f1eddd; }
.qv-top h1 { max-width: 860px; font-size: 42px; line-height: 1.12; color: #ffffff; }
.qv-lead { max-width: 800px; margin: 16px 0 0; font-size: 18px; color: #d9d5c4; }
.qv-facts { list-style: none; margin: 34px -8px 0; padding: 0; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.qv-facts li { width: 33.3333%; padding: 0 8px; box-sizing: border-box; }
.qv-fact { height: 100%; box-sizing: border-box; padding: 18px 20px 20px; background: #e5dfce; color: #161a19; border-top: 6px solid #c8dd6f; }
.qv-fact-label { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #4d5a0f; }
.qv-fact p { margin: 0; font-size: 17px; line-height: 1.55; }
.qv-fact .qv-by { margin-top: 10px; font-size: 14px; color: #3b423f; }
.qv-top-end { height: 34px; }

/* The report format: a ruled paper form */
.qv-form { padding: 52px 0 28px; }
.qv-head { max-width: 780px; margin-bottom: 24px; }
.qv-head p { margin-top: 12px; color: var(--text-2); }
.qv-paper { max-width: 880px; background: #fffdf6; border: 2px solid #161a19; box-shadow: 8px 8px 0 #c8dd6f; }
.qv-paper-title { margin: 0; padding: 12px 20px; background: #161a19; color: #f1eddd; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.qv-line { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; border-bottom: 1px solid var(--hair-2); }
.qv-line:last-child { border-bottom: 0; }
.qv-line-name { width: 27%; box-sizing: border-box; padding: 16px 18px; font-weight: 700; font-size: 17px; background: #efe9d6; border-right: 1px solid var(--hair-2); }
.qv-line-body { width: 73%; box-sizing: border-box; padding: 16px 20px; font-size: 16px; line-height: 1.6; }
.qv-line-body p { margin: 0; line-height: 1.6; }
.qv-blank { display: block; height: 22px; margin: 6px 0 8px; border-bottom: 2px dotted #161a19; }
.qv-paper-note { max-width: 880px; margin: 18px 0 0; font-size: 15px; color: var(--text-2); }

/* The results: what the number is and is not */
.qv-results { padding: 36px 0 44px; background: #e5dfce; border-top: 1px solid #cfc8b2; border-bottom: 1px solid #cfc8b2; }
.qv-two { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -12px; }
.qv-two > div { width: 50%; padding: 0 12px 8px; box-sizing: border-box; }
.qv-col { height: 100%; box-sizing: border-box; padding: 20px 22px 14px; background: #fffdf6; border: 1px solid var(--hair-2); border-radius: 4px; }
.qv-col h3 { margin-bottom: 10px; }
.qv-col ul { margin: 0; padding: 0 0 0 20px; }
.qv-col li { margin: 0 0 10px; line-height: 1.6; }
.qv-col.qv-isnt { border-top: 6px solid #161a19; }
.qv-col.qv-is { border-top: 6px solid #c8dd6f; }
.qv-results .qv-src { margin: 16px 0 0; font-size: 14px; color: var(--text-2); }

/* The steps: a strip of boxes */
.qv-steps { padding: 48px 0 12px; }
.qv-strip { list-style: none; margin: 0 -7px; padding: 0; counter-reset: qvstep; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.qv-strip li { width: 25%; padding: 0 7px 14px; box-sizing: border-box; counter-increment: qvstep; }
.qv-strip-box { height: 100%; box-sizing: border-box; padding: 14px 14px 12px; background: #fffdf6; border: 1px solid var(--hair-2); border-bottom: 4px solid #161a19; }
.qv-strip-box:before { content: counter(qvstep); display: block; margin-bottom: 6px; font-size: 22px; font-weight: 700; color: #4d5a0f; }
.qv-strip-box p { margin: 0; font-size: 15px; line-height: 1.55; }
.qv-errs { max-width: 780px; margin: 14px 0 0; padding: 18px 22px 8px; background: #161a19; color: #f1eddd; border-radius: 4px; }
.qv-errs h3 { margin-bottom: 8px; color: #ffffff; font-size: 18px; }
.qv-errs ul { margin: 0; padding: 0 0 0 20px; }
.qv-errs li { margin: 0 0 8px; line-height: 1.55; }
.qv-steps .qv-src { margin: 14px 0 0; font-size: 14px; color: var(--text-2); }

/* The example sheet */
.qv-example { padding: 34px 0 8px; }
.qv-ex-box { max-width: 880px; padding: 22px 24px 16px; background: #fffdf6; border: 2px dashed #4d5a0f; }
.qv-ex-title { margin: 0 0 10px; font-weight: 700; font-size: 18px; }
.qv-table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 16px; }
.qv-table th, .qv-table td { padding: 9px 12px; text-align: left; border: 1px solid var(--hair-2); }
.qv-table th { background: #efe9d6; font-weight: 700; }
.qv-ex-box p { margin: 0 0 10px; }

/* The app */
.qv-app { padding: 48px 0 36px; }
.qv-app-intro { max-width: 800px; margin: 12px 0 28px; color: var(--text-2); }
.qv-row { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-align-items: flex-start; align-items: flex-start; margin: 0 -14px 12px; }
.qv-row-pic { width: 34%; padding: 0 14px; box-sizing: border-box; }
.qv-row-text { width: 66%; padding: 0 14px; box-sizing: border-box; }
.qv-phone { max-width: 300px; margin: 0 auto 10px; padding: 8px; background: #161a19; border-radius: 22px; }
.qv-phone img { display: block; width: 100%; height: auto; border-radius: 15px; }
.qv-row-text h3 { margin-bottom: 8px; }
.qv-row-text p { margin: 0 0 10px; }
.qv-cap { font-size: 15px; color: var(--text-2); }
.qv-tabs { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 8px -12px 10px; }
.qv-tab { width: 50%; padding: 0 12px 16px; box-sizing: border-box; }
.qv-tab-img { padding: 8px; background: #161a19; border-radius: 6px; margin-bottom: 12px; }
.qv-tab-img img { display: block; width: 100%; height: auto; }
.qv-tab p { margin: 0 0 10px; }
.qv-list { list-style: none; margin: 14px 0 12px; padding: 0; background: #fffdf6; border: 1px solid var(--hair-2); }
.qv-list li { padding: 11px 16px; border-bottom: 1px solid var(--hair); line-height: 1.55; }
.qv-list li:last-child { border-bottom: 0; }
.qv-list strong { display: inline-block; min-width: 190px; }
.qv-cols { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 26px -12px 0; }
.qv-cols > div { width: 50%; padding: 0 12px 22px; box-sizing: border-box; }
.qv-cols h3 { margin-bottom: 10px; }
.qv-cols ul { margin: 0; padding: 0 0 0 20px; }
.qv-cols li { margin: 0 0 7px; line-height: 1.6; }
.qv-cols p { margin: 0 0 10px; }

/* Sources */
.qv-srcs { padding: 36px 0; background: #161a19; color: #f1eddd; }
.qv-srcs h2 { margin-bottom: 18px; color: #ffffff; font-size: 24px; }
.qv-src-grid { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -10px; }
.qv-src-grid > div { width: 50%; padding: 0 10px 8px; box-sizing: border-box; }
.qv-src-card { height: 100%; box-sizing: border-box; padding: 20px 22px 10px; background: #e5dfce; color: #161a19; border-left: 6px solid #c8dd6f; }
.qv-src-card h3 { margin-bottom: 8px; }
.qv-src-card p { margin: 0 0 10px; font-size: 16px; }

/* End */
.qv-end { padding: 44px 0 60px; }
.qv-end-box { padding: 28px 30px; background: #e5dfce; border: 2px solid #161a19; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-align-items: center; align-items: center; }
.qv-end-box > div:first-child { width: 58%; padding-right: 20px; box-sizing: border-box; }
.qv-end-box h2 { font-size: 26px; }
.qv-end-box p { margin: 8px 0 0; }
.qv-end-actions { width: 42%; text-align: right; }
.qv-end-actions .btn { margin: 4px 0 4px 8px; }
.qv-end-actions a.qv-all { display: inline-block; margin: 10px 0 0 8px; }

@media (max-width: 820px) {
  .qv-top h1 { font-size: 32px; }
  .qv-facts li { width: 100%; padding-bottom: 12px; }
  .qv-line-name, .qv-line-body { width: 100%; border-right: 0; }
  .qv-line-name { padding-bottom: 6px; }
  .qv-two > div, .qv-tab, .qv-cols > div, .qv-src-grid > div, .qv-row-pic, .qv-row-text { width: 100%; }
  .qv-two > div { padding-bottom: 16px; }
  .qv-strip li { width: 50%; }
  .qv-row-pic { margin-bottom: 14px; }
  .qv-end-box > div:first-child, .qv-end-actions { width: 100%; text-align: left; padding-right: 0; }
  .qv-end-actions { margin-top: 14px; }
  .qv-end-actions .btn, .qv-end-actions a.qv-all { margin-left: 0; margin-right: 8px; }
  .qv-list strong { display: block; min-width: 0; }
  .page-qivra h2 { font-size: 25px; }
}
@media (max-width: 480px) {
  .qv-strip li { width: 100%; }
  .qv-table th, .qv-table td { padding: 7px 8px; font-size: 15px; }
}
