/* Provicio marketing site — single stylesheet, no build step.
   Palette lives in :root. Swap the --brand values to match the logo exactly. */

:root {
  --brand: #213555;          /* primary action color — sampled from the logo */
  --brand-dark: #16253d;     /* hover */
  --brand-soft: #e9edf4;     /* tinted backgrounds */
  --ink: #0b1220;            /* headings */
  --ink-2: #334155;          /* body text */
  --muted: #64748b;          /* secondary text */
  --line: #e3e7ef;           /* borders */
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ok: #15803d;             /* high confidence */
  --ok-soft: #e7f6ec;
  --warn: #b45309;           /* medium */
  --warn-soft: #fdf1e2;
  --bad: #b91c1c;            /* low */
  --bad-soft: #fdeaea;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 8px 24px rgba(11, 18, 32, .06);
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
small, .small { font-size: .9rem; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: auto; height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a.btn-primary { color: #fff; background: var(--brand); }
.nav a.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 16px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: #c9d0dd; background: var(--bg-soft); }
.btn-ghost { background: transparent; color: var(--brand); padding-left: 8px; padding-right: 8px; }
.btn-lg { padding: 14px 22px; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
section.tight { padding: 48px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.lede { font-size: 1.2rem; color: var(--ink-2); }

/* Hero */
.hero { padding: 84px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero .lede { margin: 20px 0 28px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.stat .num { display: block; font-size: 2.3rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.stat .label { display: block; margin: 8px 0 10px; color: var(--ink-2); }
.stat .src { display: block; font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stats { grid-template-columns: 1fr; } }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.card h3 { margin-top: 0; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  font-weight: 700; margin-bottom: 16px;
}
.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px;
}
.icon-box svg { width: 22px; height: 22px; }

/* Two-column prose */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Catch / don't-catch lists */
.list { list-style: none; padding: 0; margin: 0; }
.list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.list-yes li::before {
  background-color: var(--ok-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
}
.list-no li::before {
  background-color: var(--bg-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3.5' stroke-linecap='round'><path d='M5 12h14'/></svg>");
}
.list-check li::before {
  background-color: var(--brand-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23213555' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
}

/* Product illustration (static mock of a result) */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px; font-size: .92rem;
}
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.mock-head .who { font-weight: 600; color: var(--ink); }
.mock-head .role { color: var(--muted); font-size: .85rem; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: .8rem; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-low { background: var(--bad-soft); color: var(--bad); }
.pill-med { background: var(--warn-soft); color: var(--warn); }
.pill-high { background: var(--ok-soft); color: var(--ok); }
.claims { list-style: none; margin: 0; padding: 0; }
.claims li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.claims li:last-child { border-bottom: 0; }
.claims .dot { width: 18px; height: 18px; border-radius: 50%; margin-top: 3px; }
.dot-ok { background: var(--ok-soft); box-shadow: inset 0 0 0 2px var(--ok); }
.dot-bad { background: var(--bad-soft); box-shadow: inset 0 0 0 2px var(--bad); }
.dot-med { background: var(--warn-soft); box-shadow: inset 0 0 0 2px var(--warn); }
.claims .claim { color: var(--ink); font-weight: 500; }
.claims .why { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.mock-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mock-caption { margin-top: 10px; font-size: .8rem; color: var(--muted); text-align: center; }

/* Timeline (funnel placement) */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: stretch; }
.flow .stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; font-weight: 500; color: var(--ink-2); font-size: .95rem; }
.flow .stage.hot { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }
.flow .stage.hot small { display: block; font-weight: 500; opacity: .9; margin-top: 4px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 760px; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; background: var(--bg-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* Callouts */
.callout { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout.neutral { border-left-color: #c9d0dd; background: var(--bg-soft); }

/* CTA band */
.cta-band { background: var(--ink); color: #cbd5e1; padding: 72px 0; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: #e9edf4; color: var(--ink); }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #cbd5e1; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.cta-band a:not(.btn) { color: #fff; text-decoration: underline; }
.offer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.offer div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; }
.offer strong { color: #fff; display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .offer { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .offer { grid-template-columns: 1fr; } }

/* Quote */
blockquote.pull { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--brand); font-size: 1.25rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
blockquote.pull footer { margin-top: 10px; font-size: .95rem; font-weight: 400; color: var(--muted); }

/* Prose pages */
.prose { max-width: 760px; }
.container.prose, .page-head .container { max-width: 808px; }
.h1-md { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.prose h2 { margin-top: 2.2em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.page-head { padding: 64px 0 24px; }
.page-head .lede { margin-top: 12px; }
.updated { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: .92rem; color: var(--muted); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.sources { font-size: .82rem; color: var(--muted); margin-top: 18px; }
.sources a { color: var(--muted); text-decoration: underline; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
