/* Supplier Credit Check front page. Same family as Random Lantern (navy ink, lantern
   yellow, Archivo) on its own page. The hero is a supplier statement with the gaps
   marked the way an office manager would mark them with a highlighter. */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("/samples/archivo.woff2") format("woff2-variations"), url("/samples/archivo.woff2") format("woff2"); }

:root {
  --ink: #0f1b2d;
  --soft: #3d4a5c;
  --faint: #6b778a;
  --paper: #ffffff;
  --mist: #f1f4f8;
  --line: #d9dfe8;
  --lantern: #ffc21a;
  --lantern-hover: #f2b200;
  --wash: #fff4cf;
  --ok: #17683d;
  --ok-wash: #e4f4ea;
  --bad: #9a2c18;
  --bad-wash: #fdece8;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-bottom: 18px; }
h3 { font-size: 1.15rem; font-weight: 700; font-stretch: 105%; line-height: 1.25; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--paper); padding: 8px 12px; z-index: 5; }
.skip:focus { top: 12px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink); font: 700 1rem/1.2 var(--font); font-stretch: 105%; text-decoration: none; cursor: pointer; transition: background-color .12s ease; }
.button.primary { background: var(--lantern); border-color: var(--lantern); color: var(--ink); }
.button.primary:hover { background: var(--lantern-hover); border-color: var(--lantern-hover); }
.button.secondary { background: var(--paper); color: var(--ink); }
.button.secondary:hover { background: var(--mist); }
.button.small { min-height: 40px; padding: 8px 16px; font-size: .95rem; white-space: nowrap; }
.short { display: none; }
.button.is-soon { opacity: .6; cursor: default; }

.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 3; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 112%; font-size: 1.1rem; text-decoration: none; letter-spacing: -0.01em; }
nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .96rem; }
nav a:not(.button) { text-decoration: none; }
nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding: 72px 0 80px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); font-stretch: 122%; line-height: .98; margin-bottom: 24px; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--soft); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.fine { font-size: .9rem; color: var(--faint); }

/* The statement. Rows that need chasing get a highlighter stripe, as on paper. */
.ledger { margin: 0; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 10px 10px 0 var(--mist); overflow: hidden; }
.ledger-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 2px solid var(--ink); font-size: .82rem; font-weight: 700; }
.ledger-head span:last-child { color: var(--faint); font-weight: 500; }
.ledger table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ledger th { text-align: left; font-size: .74rem; font-weight: 700; color: var(--soft); padding: 9px 12px; border-bottom: 1px solid var(--line); }
.ledger td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger td b { display: block; font-weight: 700; }
.ledger td small { display: block; color: var(--faint); font-size: .78rem; }
.ledger .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger tr.flag td { background: linear-gradient(transparent 12%, var(--wash) 12%, var(--wash) 88%, transparent 88%); }
.ledger figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; font-weight: 700; }
.ledger figcaption strong { font-size: 2rem; font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: .78rem; font-weight: 700; white-space: nowrap; background: var(--mist); color: var(--soft); }
.tag.ok { background: var(--ok-wash); color: var(--ok); }
.tag.warn { background: var(--lantern); color: var(--ink); }
.tag.bad { background: var(--bad-wash); color: var(--bad); }

.band { background: var(--mist); padding: 80px 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--lantern); display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; font-stretch: 115%; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
section.split { padding: 80px 0; }
.split p + p { margin-top: 18px; }
.split > div > p { color: var(--soft); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 19px; height: 19px; border-radius: 50%; background: var(--ok-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%2317683d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }

.rebates .split { padding: 0; }
.mini { background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 6px 18px 10px; }
.mini p { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.mini p:last-child { border-bottom: 0; }
.mini .mini-head { font-size: .8rem; font-weight: 700; color: var(--faint); }

.privacy-note { padding: 80px 0; }
.privacy-note > * { max-width: 760px; }
.privacy-note p { font-size: 1.12rem; color: var(--soft); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin-top: 30px; }
.plan { background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.pick { border-color: var(--ink); }
.plan .price strong { font-size: 2.8rem; font-weight: 800; font-stretch: 118%; letter-spacing: -0.03em; line-height: 1; }
.plan .price span { color: var(--faint); margin-left: 6px; }
.price-note { color: var(--soft); font-size: .95rem; margin-top: -6px; }
.plan .checks { flex: 1; align-content: start; font-size: .98rem; }
.plan > .button, .buy .button { width: 100%; }
.buy { display: grid; gap: 10px; }

.faq { padding: 80px 0; }
.faq > * { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--soft); }

.foot { background: var(--ink); color: #d6dde8; padding: 32px 0; font-size: .92rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot a { color: #fff; }
.foot-row p:last-child { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-row p { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0 56px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .band, section.split, .privacy-note, .faq { padding: 60px 0; }
  .rebates .split { padding: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  nav a:not(.button) { display: none; }
  .long { display: none; }
  .short { display: inline; }
  .plans { grid-template-columns: 1fr; }
  .ledger table { font-size: .82rem; }
  .ledger td, .ledger th { padding-inline: 8px; }
  .ledger td small { display: none; }
  .lead { font-size: 1.08rem; }
}
