/* ==========================================================================
   Eleven Market Research — site styles
   One stylesheet for every page. Colors, type and spacing live in :root.
   ========================================================================== */

:root {
  --ink: #14202E;        /* headings, primary text */
  --body: #4A5563;       /* body copy */
  --muted: #6B7684;
  --line: #E2E8F0;       /* borders, dividers */
  --soft: #F5F8FC;       /* alternating section background */
  --tint: #EAF2FA;       /* icon tiles, highlighted cards */
  --blue: #3075B5;       /* brand accent, buttons */
  --blue-dark: #1F5D99;
  --navy: #00336B;       /* hero, dark bands */
  --on-dark: #D5E3F2;    /* body text on navy */
  --on-dark-2: #9FC2E4;  /* labels on navy */
  --on-dark-3: #C3D7EC;

  --pass-bg: #E7F5EE; --pass: #17663F;
  --dup-bg: #FFF4E0;  --dup: #8A5300;
  --fraud-bg: #FDECEC; --fraud: #A61B1B;

  --font-head: 'Jost', Futura, 'Century Gothic', sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --wrap: 1248px;
  --gutter: 24px;
  --section: 104px;
  --radius: 14px;
}

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/jost-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/jost-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/jost-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: var(--ink); }
p { margin: 0; }
figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 52px 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.center { text-align: center; align-items: center; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
}
.on-dark .eyebrow, .eyebrow--light { color: var(--on-dark-2); }
.h1 { font-weight: 700; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.h1--home { font-size: clamp(34px, 3.9vw, 54px); }
.h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -0.015em; }
.h2--sm { font-size: clamp(28px, 3vw, 44px); }
.h3 { font-weight: 600; font-size: 22px; line-height: 1.3; }
.lead { font-size: 18px; line-height: 1.6; color: var(--body); }
.text { font-size: 16px; line-height: 1.6; color: var(--body); }
.accent { color: var(--blue); }
.grad {
  background: linear-gradient(90deg, #CDBCEB, #3CB2DA);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.placeholder { color: var(--dup); }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 8px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--tint); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-size: 16px; font-weight: 600; color: var(--blue); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--blue); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero-bg { background: var(--navy) url(/assets/img/hero-bg.jpg) center / cover no-repeat; color: #fff; }
.hero { padding: 88px 0 96px; }
.hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.hero .lead { color: var(--on-dark); font-size: 20px; max-width: 700px; }
.crumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--on-dark-2); }
.crumb a { color: var(--on-dark-2); text-decoration: none; }
.crumb a:hover { color: #fff; }

/* Homepage hero */
.home-hero { padding: 96px 0 152px; overflow: hidden; }
.home-hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; }
.home-hero__copy { display: flex; flex-direction: column; gap: 26px; }
.home-hero__copy .eyebrow { color: #B9D3EC; }
.home-hero__copy .lead { color: var(--on-dark); font-size: 19px; max-width: 560px; }
.home-hero__visual { position: relative; height: 480px; }
.r-card {
  position: absolute; right: 0; top: 30px; width: 390px; max-width: 100%;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); overflow: hidden;
}
.r-card__head { padding: 18px 24px; background: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.r-card__head span:first-child { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.r-card__head span:last-child { font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-2); }
.r-card__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.r-row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.r-row span:first-child { color: var(--body); }
.r-row span:last-child { font-weight: 600; }
.r-row .mono { font-size: 13px; font-weight: 400; }
.r-rule { height: 1px; background: var(--line); }
.r-decision { display: flex; justify-content: space-between; align-items: center; }
.r-decision > span:first-child { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.30); font-size: 16px;
}
.chip span { padding: 3px 9px; border-radius: 6px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; background: var(--dup-bg); color: var(--dup); }
.chip span.is-fraud { background: var(--fraud-bg); color: var(--fraud); }
.chip--1 { left: -64px; top: 70px; } .chip--2 { left: -40px; top: 190px; } .chip--3 { left: -64px; top: 310px; }

/* Floating stat card under homepage hero */
.stat-card {
  position: relative; margin-top: -64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,26,56,0.14);
}
.stat-card__item { padding: 36px 40px; display: flex; gap: 20px; align-items: flex-start; }
.stat-card__item + .stat-card__item { border-left: 1px solid var(--line); }
.stat-card__num { font-family: var(--font-head); font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.stat-card__label { font-family: var(--font-head); font-size: 18px; font-weight: 600; padding-top: 4px; }
.stat-card__note { font-size: 14px; line-height: 1.5; color: var(--body); }

/* ---------- Icon tile / number tile ---------- */
.tile {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.num {
  width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--blue);
  font-family: var(--font-mono); font-size: 13px; display: flex; align-items: center; justify-content: center;
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; }
.split > .col-5 { grid-column: span 5; } .split > .col-6 { grid-column: span 6; } .split > .col-7 { grid-column: span 7; }
.split > .col-6-end { grid-column: 7 / span 6; } .split > .col-5-end { grid-column: 8 / span 5; }
.split--end { align-items: end; } .split--center { align-items: center; } .split--start { align-items: start; }

.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff;
  display: flex; flex-direction: column; gap: 14px;
}
.card--lg { padding: 32px; border-radius: 16px; }
.card--feature { border: 2px solid var(--blue); background: var(--tint); padding: 27px; }
.card--feature .h3 { color: var(--navy); }
.card .text { font-size: 16px; line-height: 1.55; }
.card-link { text-decoration: none; min-height: 200px; transition: border-color .15s, box-shadow .15s; }
.card-link:hover { border-color: #B8CCE2; box-shadow: 0 10px 30px rgba(0,26,56,0.08); }
.card-link .card__title { font-family: var(--font-head); font-size: 24px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.card-link .card__meta { font-size: 14px; color: var(--body); }

/* ---------- Status pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.pill svg { width: 14px; height: 14px; }
.pill--pass { background: var(--pass-bg); color: var(--pass); }
.pill--dup { background: var(--dup-bg); color: var(--dup); }
.pill--fraud { background: var(--fraud-bg); color: var(--fraud); }

/* ---------- Screening log ---------- */
.log { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.log__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 24px; }
.log__head-left { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.log__title { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.log__note { font-family: var(--font-mono); font-size: 12px; color: var(--body); }
.log__row { display: grid; grid-template-columns: 110px 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); }
.log__id { font-family: var(--font-mono); font-size: 14px; color: var(--body); }
.log__desc { font-size: 15px; line-height: 1.5; }

/* ---------- Dark band (testimonials, stats) ---------- */
.band-dark { background: var(--navy); color: #fff; }
.quote-lg { font-family: var(--font-head); font-weight: 500; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.25; letter-spacing: -0.01em; color: #fff; max-width: 1040px; }
.quote-by { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); }
.quote-card {
  padding: 28px; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); background: rgba(255,255,255,0.05);
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.quote-card blockquote { font-size: 18px; line-height: 1.5; color: #E4EEF8; }
.quote-card figcaption { font-size: 12px; }

.stats-band { padding: 72px 0; }
.stats-band .wrap { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.stats-band__item { padding: 8px 32px; display: flex; flex-direction: column; gap: 8px; }
.stats-band__item + .stats-band__item { border-left: 1px solid rgba(255,255,255,0.18); }
.stats-band__num { font-family: var(--font-head); font-size: 52px; font-weight: 700; line-height: 1; color: #fff; }
.stats-band__label { font-size: 15px; color: var(--on-dark-3); }

/* ---------- Membership badges ---------- */
.badges { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.badges .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 52px; padding-bottom: 52px; }
.badges__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--body); }
.badges__logos { display: flex; align-items: center; gap: 64px; }
.badges__logos .b-esomar { height: 44px; width: auto; }
.badges__logos .b-ia { height: 80px; width: auto; }
.badges__logos .b-mrs { height: 84px; width: auto; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 0 0 96px; }
.cta {
  padding: 72px 80px; border-radius: 20px; background: var(--blue);
  display: flex; justify-content: space-between; align-items: center; gap: 48px;
}
.cta h2 { font-weight: 700; font-size: clamp(28px, 3vw, 44px); line-height: 1.12; color: #fff; }
.cta p { font-size: 18px; line-height: 1.6; color: #E4EEF8; }
.cta__copy { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex-shrink: 0; }
.cta__actions a:not(.btn) { color: #fff; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy) url(/assets/img/hero-bg.jpg) center bottom / cover no-repeat;
}
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(0, 30, 66, 0.72); }
.site-footer > * { position: relative; }
.footer-main { padding: 72px 0 56px; }
.footer-main .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 32px; }
.footer-brand { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; }
.footer-brand img { height: 40px; width: auto; align-self: flex-start; }
.footer-brand p { max-width: 340px; font-size: 16px; color: var(--on-dark-3); }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col--services { grid-column: 6 / span 2; }
.footer-col--company { grid-column: 8 / span 2; }
.footer-col--contact { grid-column: 10 / span 3; }
.footer-col .eyebrow { color: var(--on-dark-2); }
.footer-col a { color: #E4EEF8; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col a.strong { color: #fff; font-weight: 600; }
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--on-dark-3); }
.social {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
}
.social:hover { background: rgba(255,255,255,0.1); }
.footer-bottom .wrap { padding-top: 24px; padding-bottom: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom .wrap::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: rgba(255,255,255,0.16); }
.footer-bottom { position: relative; }
.footer-bottom .wrap { position: relative; }
.footer-bottom small { font-size: 13px; color: var(--on-dark-2); }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a { color: var(--on-dark-2); text-decoration: none; font-size: 13px; }
.footer-legal a:hover { color: #fff; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--fraud); }
.field .hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #C9D3DF; border-radius: 8px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
.textarea { min-height: 132px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48,117,181,0.2); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); cursor: pointer; min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-status { padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.form-status--ok { background: var(--pass-bg); color: var(--pass); }
.form-status--err { background: var(--fraud-bg); color: var(--fraud); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 24px; max-width: 820px; color: var(--body); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--body); font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .home-hero .wrap { grid-template-columns: 1fr; }
  .home-hero__visual { height: 440px; max-width: 460px; }
  .r-card { left: 0; right: auto; }
  .chip { display: none; }
  .home-hero__visual { height: 360px; }
  .footer-brand { grid-column: span 12; }
  .footer-col--services { grid-column: span 4; } .footer-col--company { grid-column: span 4; } .footer-col--contact { grid-column: span 4; }
}

@media (max-width: 960px) {
  :root { --section: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,26,56,0.08);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .nav .btn { margin-top: 16px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split > [class*="col-"] { grid-column: 1 / -1; }
  .stat-card { grid-template-columns: 1fr; }
  .stat-card__item + .stat-card__item { border-left: 0; border-top: 1px solid var(--line); }
  .stat-card__item { padding: 24px; }
  .stats-band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .stats-band__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cta { flex-direction: column; align-items: flex-start; padding: 48px 40px; }
  .badges .wrap { flex-direction: column; gap: 24px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section: 52px; }
  body { font-size: 15px; }
  .site-header .wrap { height: 64px; }
  .brand img { height: 28px; }
  .hero { padding: 40px 0 48px; }
  .hero .lead, .home-hero__copy .lead { font-size: 16px; }
  .lead { font-size: 16px; }
  .home-hero { padding: 40px 0 104px; }
  .home-hero__copy { gap: 20px; }
  .home-hero__visual { height: 400px; }
  .r-card { left: 0; right: 0; width: auto; top: 0; }
  .chip { display: none; }
  .btn-row .btn { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .stat-card__num { font-size: 36px; }
  .log__row { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 18px; }
  .log__desc { grid-column: 1 / -1; font-size: 14px; }
  .log__head { padding: 16px 18px; }
  .stats-band { padding: 28px 0; }
  .stats-band__num { font-size: 36px; }
  .stats-band__item { padding: 12px 16px; }
  .badges__logos { flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
  .badges__logos .b-esomar { height: 32px; flex-basis: 100%; object-fit: contain; }
  .badges__logos .b-ia { height: 48px; } .badges__logos .b-mrs { height: 52px; }
  .badges .wrap { padding-top: 32px; padding-bottom: 32px; }
  .cta-wrap { padding-bottom: 52px; }
  .cta { padding: 32px 24px; border-radius: 16px; }
  .cta__actions { width: 100%; } .cta__actions .btn { width: 100%; }
  .footer-main { padding: 44px 0 28px; }
  .footer-col--services, .footer-col--company { grid-column: span 6; }
  .footer-col--contact { grid-column: span 12; }
  .footer-bottom .wrap { flex-direction: column; align-items: flex-start; }
  .faq summary { font-size: 18px; }
}

/* ---------- Narrow phones ---------- */
@media (max-width: 640px) {
  .split, .footer-main .wrap { column-gap: 16px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .footer-main .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-col--contact { grid-column: 1 / -1; }
  .footer-col--services, .footer-col--company { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ==========================================================================
   Page: how-we-screen
   ========================================================================== */
/* How we screen — page-specific styles (prefix .p-screen) */

/* Extra split columns for the FAQ layout */
.p-screen .split > .col-4 { grid-column: span 4; }
.p-screen .split > .col-8-end { grid-column: 5 / span 8; }

/* Respondent path: four steps with arrows */
.p-screen .path { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; align-items: stretch; }
.p-screen .path__step { flex: 1 1 0; min-width: 0; border-radius: 16px; }
.p-screen .path__step .text { font-size: 15px; line-height: 1.6; }
.p-screen .path__num { font-family: var(--font-mono); font-size: 13px; color: var(--blue); }
.p-screen .path__arrow { flex-shrink: 0; align-self: center; }

/* Supplier tiers A–D */
.p-screen .tiers { list-style: none; margin: 0; padding: 0; }
.p-screen .tier { padding: 24px; gap: 12px; }
.p-screen .tier .text { font-size: 15px; line-height: 1.6; }
.p-screen .tier__head { display: flex; align-items: center; gap: 12px; }
.p-screen .tier__badge {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.p-screen .tier__badge--a { background: var(--pass-bg); color: var(--pass); }
.p-screen .tier__badge--b { background: var(--tint); color: var(--blue-dark); }
.p-screen .tier__badge--c { background: var(--dup-bg); color: var(--dup); }
.p-screen .tier__badge--d { background: var(--fraud-bg); color: var(--fraud); }
.p-screen .tier__name { font-family: var(--font-head); font-size: 20px; font-weight: 600; line-height: 1.2; }

/* Legend + navy-headed screening log */
.p-screen .legend { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.p-screen .log--navy .log__head { background: var(--navy); padding: 18px 22px; }
.p-screen .log--navy .log__title { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.p-screen .log--navy .log__note { color: var(--on-dark-2); }
.p-screen .log--navy .log__head + .log__row { border-top: 0; }
.p-screen .log--navy .log__row { grid-template-columns: 90px 130px minmax(0, 1fr); gap: 18px; padding: 15px 22px; }
.p-screen .log--navy .log__id { font-size: 13px; }

/* FAQ to match design spacing */
.p-screen .faq details > div { padding-top: 0; }

@media (max-width: 1100px) {
  .p-screen .path { flex-direction: column; gap: 8px; }
  .p-screen .path__step { flex: none; }
  .p-screen .path__arrow { transform: rotate(90deg); }
}

@media (max-width: 960px) {
  .p-screen .split > .col-4, .p-screen .split > .col-8-end { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .p-screen .path__step { padding: 20px; gap: 8px; }
  .p-screen .path__step .h3 { font-size: 19px; }
  .p-screen .path__step .text { font-size: 14px; }
  .p-screen .path__arrow svg { width: 22px; height: 22px; }
  .p-screen .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-screen .tier { padding: 16px; gap: 10px; border-radius: 12px; }
  .p-screen .tier__head { gap: 10px; }
  .p-screen .tier__badge { width: 32px; height: 32px; border-radius: 8px; font-size: 17px; }
  .p-screen .tier__name { font-size: 17px; }
  .p-screen .tier .text { font-size: 13px; }
  .p-screen .log--navy .log__head { padding: 14px 18px; }
  .p-screen .log--navy .log__row { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 18px; }
}

@media (max-width: 359px) {
  .p-screen .tiers { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Page: audiences
   ========================================================================== */
/* Audiences page */
.p-audiences .reason__num { font-family: var(--font-mono); font-size: 13px; color: var(--blue); }
.p-audiences .reason { gap: 12px; }
.p-audiences .reason .text { font-size: 15px; }

.p-audiences .aud { padding: 32px; border-radius: 16px; gap: 18px; }
.p-audiences .aud__head { display: flex; align-items: center; gap: 14px; }
.p-audiences .aud__head .num { flex-shrink: 0; }
.p-audiences .aud__title { font-size: 26px; font-weight: 600; line-height: 1.25; }
.p-audiences .aud__block { display: flex; flex-direction: column; gap: 10px; }
.p-audiences .aud__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--body); }
.p-audiences .aud__work { font-size: 15px; line-height: 1.6; color: var(--ink); }
.p-audiences .aud__methods { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.p-audiences .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.p-audiences .aud__methods .tags { gap: 6px; }
.p-audiences .tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--navy); font-size: 13px; font-weight: 500; line-height: 1.3; }
.p-audiences .tag--dark { background: var(--navy); color: #fff; }

.p-audiences.feas-wrap { padding: 0 0 96px; }
.p-audiences .feas {
  padding: 48px 56px; border-radius: 18px; border: 1px solid var(--line); background: var(--soft);
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
.p-audiences .feas__copy { display: flex; flex-direction: column; gap: 10px; }
.p-audiences .feas h2 { font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.015em; }
.p-audiences .feas p { font-size: 17px; line-height: 1.6; color: var(--body); }
.p-audiences .btn--outline { flex-shrink: 0; border: 2px solid var(--blue); color: var(--navy); font-size: 16px; }
.p-audiences .btn--outline:hover { background: var(--tint); color: var(--navy); }

@media (max-width: 960px) {
  .p-audiences .feas { flex-direction: column; align-items: flex-start; padding: 36px 32px; gap: 20px; }
}
@media (max-width: 640px) {
  .p-audiences .aud { padding: 22px; gap: 16px; }
  .p-audiences .aud__title { font-size: 22px; }
  .p-audiences .aud__label { font-size: 10px; }
  .p-audiences .aud__methods { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; }
  .p-audiences .tag { padding: 5px 10px; font-size: 12px; }
  .p-audiences.feas-wrap { padding-bottom: 52px; }
  .p-audiences .feas { padding: 24px; border-radius: 14px; gap: 14px; }
  .p-audiences .feas p { font-size: 15px; }
  .p-audiences .feas .btn { width: 100%; min-height: 48px; font-size: 15px; }
}

/* ==========================================================================
   Page: methodology
   ========================================================================== */
/* Methodology page */
.p-methodology .chooser { grid-column: 6 / span 7; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.p-methodology .chooser__head { padding: 16px 28px; background: var(--soft); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--body); }
.p-methodology .chooser__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 28px; border-top: 1px solid var(--line); }
.p-methodology .chooser__q { font-size: 18px; color: var(--ink); }
.p-methodology .chooser__a {
  justify-self: end; padding: 8px 16px; border-radius: 999px; background: var(--tint); color: var(--navy);
  font-family: var(--font-head); font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.p-methodology .chooser__a:hover { background: #D7E6F5; color: var(--navy); }
.p-methodology .chooser__a--feature { background: var(--navy); color: #fff; }
.p-methodology .chooser__a--feature:hover { background: var(--blue-dark); color: #fff; }

.p-methodology.mode { scroll-margin-top: 88px; }
.p-methodology .mode__sub { font-family: var(--font-head); font-size: 22px; font-weight: 500; line-height: 1.35; color: var(--navy); }
.p-methodology .mode__copy { grid-row: 1; }
.p-methodology .mode__card { grid-row: 1; }
.p-methodology .mode--flip .mode__copy { grid-column: 7 / span 6; }
.p-methodology .mode--flip .mode__card { grid-column: 1 / span 5; }

.p-methodology .bestfor { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.p-methodology .bestfor__head { padding: 18px 24px; background: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.p-methodology .bestfor__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.p-methodology .bestfor__tag { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-2); }
.p-methodology .bestfor__tag.placeholder { color: #FFC56B; }
.p-methodology .bestfor ul { list-style: none; margin: 0; padding: 8px 24px 16px; }
.p-methodology .bestfor li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--ink); }
.p-methodology .bestfor li svg { flex-shrink: 0; margin-top: 4px; }
.p-methodology .bestfor li.placeholder { color: var(--dup); }

.p-methodology.field-band { padding: 80px 0; }
.p-methodology.field-band .wrap { display: flex; flex-direction: column; gap: 36px; }
.p-methodology .field-band__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.p-methodology.field-band h3 { font-size: 22px; font-weight: 600; color: #fff; }
.p-methodology.field-band p { font-size: 16px; line-height: 1.6; color: var(--on-dark-3); margin-top: 10px; }
.p-methodology.cta-gap { height: 96px; }

@media (max-width: 960px) {
  .p-methodology .chooser, .p-methodology .mode__copy, .p-methodology .mode__card,
  .p-methodology .mode--flip .mode__copy, .p-methodology .mode--flip .mode__card { grid-column: 1 / -1; grid-row: auto; }
  .p-methodology .field-band__grid { grid-template-columns: 1fr; gap: 28px; }
  .p-methodology.cta-gap { height: 72px; }
}
@media (max-width: 640px) {
  .p-methodology .chooser__head { padding: 12px 18px; font-size: 11px; }
  .p-methodology .chooser__row { padding: 14px 18px; gap: 12px; }
  .p-methodology .chooser__q { font-size: 15px; }
  .p-methodology .chooser__a { padding: 6px 12px; font-size: 14px; }
  .p-methodology .mode__sub { font-size: 18px; }
  .p-methodology .bestfor__head { padding: 12px 18px; }
  .p-methodology .bestfor ul { padding: 4px 18px 10px; }
  .p-methodology .bestfor li { font-size: 15px; padding: 11px 0; gap: 10px; }
  .p-methodology.field-band { padding: 52px 0; }
  .p-methodology.field-band h3 { font-size: 20px; }
  .p-methodology.cta-gap { height: 52px; }
}

/* ==========================================================================
   Page: about
   ========================================================================== */
/* About page */
.p-about-spacer { height: 96px; }
.p-about .people { list-style: none; margin: 0; padding: 0; gap: 24px; }
.p-about .person { display: flex; flex-direction: column; gap: 16px; }
.p-about .person__photo {
  aspect-ratio: 4 / 5; border-radius: 16px; background: var(--tint); border: 1px dashed #9FB7D1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.p-about .person__initial {
  width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-size: 28px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.p-about .person__ph { font-family: var(--font-mono); font-size: 11px; }
.p-about .person__name { font-size: 20px; font-weight: 600; line-height: 1.3; }
@media (max-width: 960px) {
  .p-about .split { grid-template-columns: minmax(0, 1fr); }
  .p-about.stats-band .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-about.stats-band .stats-band__item:nth-child(odd) { padding-left: 16px; }
  .p-about.stats-band .stats-band__item:first-child { padding-left: 0; }
  .p-about.stats-band .stats-band__item + .stats-band__item { border-left: 1px solid rgba(255,255,255,0.18); }
}
@media (max-width: 640px) {
  .p-about .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .p-about .person__initial { width: 56px; height: 56px; font-size: 22px; }
  .p-about .person__name { font-size: 17px; }
  .p-about.stats-band .stats-band__num { font-size: 28px; }
  .p-about.stats-band .stats-band__item { padding: 4px 10px; }
  .p-about.stats-band .stats-band__item:nth-child(odd) { padding-left: 10px; }
  .p-about.stats-band .stats-band__item:first-child { padding-left: 0; }
  .p-about.stats-band .stats-band__label { font-size: 12px; line-height: 1.4; }
  .p-about-spacer { height: 52px; }
}
@media (max-width: 360px) { .p-about.stats-band .stats-band__label { font-size: 11px; } .p-about.stats-band .stats-band__num { font-size: 24px; } }

/* ==========================================================================
   Page: request-a-bid
   ========================================================================== */
/* Request a bid page */
.p-bid .bid-layout { align-items: start; }
.p-bid .bid-form { display: flex; flex-direction: column; gap: 40px; }
.p-bid .bid-group { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.p-bid .bid-group > legend { padding: 0 0 20px; font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--ink); }
.p-bid .bid-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.p-bid .bid-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-bid .field { min-width: 0; }
.p-bid .field label, .p-bid .field legend { font-size: 14px; }
.p-bid fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; gap: 10px; }
.p-bid fieldset.field > legend { padding: 0 0 10px; }
.p-bid .opt { font-weight: 400; color: var(--muted); }
.p-bid .input, .p-bid .textarea { border-color: #CBD5E1; }
.p-bid .textarea { min-height: 0; line-height: 1.5; }
.p-bid .checks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.p-bid .field .check--box { font-size: 15px; font-weight: 400; }
.p-bid .check--box { min-height: 48px; padding: 0 14px; border: 1px solid #CBD5E1; border-radius: 8px; background: #fff; transition: border-color .15s, background .15s; }
.p-bid .check--box:hover { border-color: var(--blue); }
.p-bid .check--box:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.p-bid .check input { flex-shrink: 0; margin: 0; }
.p-bid .bid-rule { height: 1px; background: var(--line); }
.p-bid .file-drop {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 20px; text-align: center;
  border: 1.5px dashed #9FB7D1; border-radius: 10px; background: var(--soft);
}
.p-bid .file-drop:focus-within { border-color: var(--blue); }
.p-bid .file-drop input[type="file"] { max-width: 100%; font: inherit; font-size: 15px; color: var(--body); }
.p-bid .file-drop input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 9px 16px; border: 1px solid var(--blue); border-radius: 8px;
  background: #fff; color: var(--blue); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.p-bid .file-drop input[type="file"]::file-selector-button:hover { background: var(--tint); }
.p-bid .consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--body); cursor: pointer; }
.p-bid .consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.p-bid .consent .req { color: var(--fraud); }
.p-bid .bid-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.p-bid .bid-submit .btn { min-height: 56px; padding: 0 34px; }
.p-bid .bid-submit__note { font-size: 14px; color: var(--muted); }
.p-bid .bid-submit__note .req { color: var(--fraud); }

.p-bid .bid-aside { display: flex; flex-direction: column; gap: 24px; }
.p-bid .bid-steps { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); display: flex; flex-direction: column; gap: 22px; }
.p-bid .bid-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.p-bid .bid-steps li { display: flex; gap: 16px; }
.p-bid .bid-steps__n { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-mono); font-size: 13px; display: flex; align-items: center; justify-content: center; }
.p-bid .bid-steps h3 { font-size: 18px; font-weight: 600; }
.p-bid .bid-steps p { font-size: 15px; line-height: 1.6; color: var(--body); margin-top: 4px; }
.p-bid .bid-email { padding: 28px 32px; border-radius: 16px; background: var(--navy); display: flex; flex-direction: column; gap: 10px; }
.p-bid .bid-email h2 { font-size: 20px; font-weight: 600; color: #fff; }
.p-bid .bid-email p { font-size: 15px; line-height: 1.6; color: var(--on-dark-3); }
.p-bid .bid-email a { font-size: 17px; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.p-bid .bid-email a:hover { color: var(--on-dark); }
.p-bid .bid-conf { padding: 0 4px; display: flex; gap: 12px; align-items: flex-start; }
.p-bid .bid-conf svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.p-bid .bid-conf p { font-size: 14px; line-height: 1.6; color: var(--body); }

@media (min-width: 961px) {
  .p-bid .bid-layout > .bid-main { grid-column: span 8; }
  .p-bid .bid-layout > .bid-side { grid-column: 9 / span 4; position: sticky; top: 112px; }
}
@media (max-width: 1100px) {
  .p-bid .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .p-bid .bid-layout { row-gap: 48px; }
  .p-bid .bid-layout > .bid-main, .p-bid .bid-layout > .bid-side { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .p-bid .bid-form { gap: 32px; }
  .p-bid .bid-group { gap: 16px; }
  .p-bid .bid-group > legend { font-size: 20px; padding-bottom: 18px; }
  .p-bid .bid-row { grid-template-columns: 1fr; gap: 16px; }
  .p-bid .bid-row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .p-bid .bid-row--3 > .field:last-child { grid-column: 1 / -1; }
  .p-bid .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .p-bid .file-drop { padding: 22px 16px; }
  .p-bid .bid-submit .btn { width: 100%; }
  .p-bid .bid-steps { padding: 22px; gap: 16px; }
  .p-bid .bid-steps ol { gap: 16px; }
  .p-bid .bid-steps li { gap: 14px; }
  .p-bid .bid-steps__n { width: 28px; height: 28px; font-size: 12px; }
  .p-bid .bid-steps h3 { font-size: 16px; }
  .p-bid .bid-steps p { font-size: 14px; margin-top: 2px; }
  .p-bid .bid-email { padding: 24px; gap: 8px; }
  .p-bid .bid-email h2 { font-size: 19px; }
  .p-bid .bid-email p { font-size: 14px; }
  .p-bid .bid-email a { font-size: 16px; }
}

/* ==========================================================================
   Page: insights
   ========================================================================== */
/* Insights page */
.p-insights__featured { padding-top: 72px; }
.p-insights__list { padding-top: 80px; }
.p-insights__signup { padding: 96px 0; }

.p-insights .feature {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 20px; align-items: center;
  padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft);
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.p-insights .feature:hover { border-color: #B8CCE2; box-shadow: 0 10px 30px rgba(0,26,56,0.08); color: var(--ink); }
.p-insights .feature:hover .btn--primary { background: var(--blue-dark); }
.p-insights .feature__cover {
  grid-column: span 6; height: 360px; border-radius: 14px; background: var(--navy);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 32px;
}
.p-insights .feature__cover .placeholder { color: inherit; }
.p-insights .feature__cover-title { font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 1.15; color: #fff; }
.p-insights .feature__copy { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 18px; }
.p-insights .feature__tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.p-insights .feature__title { font-weight: 700; font-size: clamp(22px, 2.7vw, 38px); line-height: 1.15; }
.p-insights .feature__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.p-insights .feature__meta { font-size: 14px; color: var(--muted); }

.p-insights .filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.p-insights .filters__pills { display: flex; gap: 10px; flex-wrap: wrap; }
.p-insights .filter {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid #CBD5E1; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.p-insights .filter:hover { border-color: var(--navy); }
.p-insights .filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.p-insights .filters__count { font-size: 14px; color: var(--muted); }

.p-insights .posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; row-gap: 56px; }
.p-insights .post { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); height: 100%; }
.p-insights .post__img {
  height: 200px; border-radius: 12px; background: var(--tint); border: 1px dashed #9FB7D1;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; text-align: center; padding: 8px;
}
.p-insights .post__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.p-insights .post__type { font-size: 11px; }
.p-insights .post__title { font-family: var(--font-head); font-size: 22px; font-weight: 600; line-height: 1.25; }
.p-insights .post:hover .post__title { text-decoration: underline; text-underline-offset: 3px; }
.p-insights .post__desc { font-size: 15px; line-height: 1.6; }
.p-insights .post__meta { font-size: 13px; }

.p-insights .signup {
  padding: 56px 64px; border-radius: 20px; background: var(--navy);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; align-items: center;
}
.p-insights .signup__copy { grid-column: span 6; display: flex; flex-direction: column; gap: 12px; }
.p-insights .signup__title { font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; color: #fff; }
.p-insights .signup__copy p { font-size: 17px; line-height: 1.6; color: var(--on-dark-3); }
.p-insights .signup__form-wrap { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 10px; }
.p-insights .signup__form { display: flex; gap: 10px; }
.p-insights .signup__form .input { flex: 1 1 auto; min-width: 0; min-height: 52px; border: 0; }
.p-insights .signup__form .btn { flex-shrink: 0; }
.p-insights .signup__note { font-family: var(--font-mono); font-size: 12px; color: #F2C77A; }

@media (max-width: 960px) {
  .p-insights .feature { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .p-insights .feature__cover, .p-insights .feature__copy { grid-column: 1 / -1; }
  .p-insights .feature__cover { height: 260px; }
  .p-insights .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-insights .signup { grid-template-columns: minmax(0, 1fr); padding: 44px 40px; }
  .p-insights .signup__copy, .p-insights .signup__form-wrap { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .p-insights__featured { padding-top: 32px; }
  .p-insights__list { padding-top: 36px; }
  .p-insights__signup { padding: 52px 0; }
  .p-insights .feature { padding: 16px; gap: 16px; border-radius: 16px; }
  .p-insights .feature__cover { height: 200px; padding: 20px; gap: 6px; }
  .p-insights .feature__cover .eyebrow { font-size: 10px; }
  .p-insights .feature__cover-title { font-size: 24px; }
  .p-insights .feature__copy { gap: 14px; }
  .p-insights .feature__copy .text { font-size: 14px !important; }
  .p-insights .feature__actions .btn { width: 100%; min-height: 48px; font-size: 15px; }
  .p-insights .filters { gap: 12px; }
  .p-insights .filters__pills { gap: 8px; }
  .p-insights .filter { padding: 0 16px; }
  .p-insights .posts { grid-template-columns: minmax(0, 1fr); row-gap: 0; border-bottom: 1px solid var(--line); }
  .p-insights .post { flex-direction: row; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
  .p-insights .post__img { flex-shrink: 0; width: 92px; height: 92px; border-radius: 10px; font-size: 0; }
  .p-insights .post__img::after { content: "[Image]"; font-size: 10px; }
  .p-insights .post__body { gap: 6px; }
  .p-insights .post__type { font-size: 10px; }
  .p-insights .post__title { font-size: 17px; line-height: 1.3; }
  .p-insights .post__desc { display: none; }
  .p-insights .post__meta { font-size: 12px; }
  .p-insights .signup { padding: 32px 24px; border-radius: 16px; }
  .p-insights .signup__form { flex-direction: column; }
  .p-insights .signup__form .btn { width: 100%; min-height: 50px; }
}

/* ==========================================================================
   Page: quickpulse
   ========================================================================== */
/* QuickPulse page */
.p-qp-hero.hero { padding-bottom: 152px; }
.p-qp-hero .btn-row { margin-top: 6px; }

.p-qp-specs.stat-card { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-qp-specs .stat-card__item { padding: 32px 32px; }

.p-qp .qp-list { list-style: none; margin: 0; padding: 0; }
.p-qp .qp-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--ink); }
.p-qp .qp-list li:first-child { border-top: 1px solid var(--line); }
.p-qp .qp-list li svg { flex-shrink: 0; margin-top: 4px; }

.p-qp .qp-included { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.p-qp .qp-included__head { padding: 18px 24px; background: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.p-qp .qp-included__label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.p-qp .qp-included__price { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-2); }
.p-qp .qp-included .qp-list { padding: 8px 24px 8px; }
.p-qp .qp-included .qp-list li:first-child { border-top: 0; }
.p-qp .qp-included .qp-list li:last-child { border-bottom: 0; }
.p-qp .qp-fine { padding: 20px 24px 24px; background: var(--soft); border-top: 1px solid var(--line); }
.p-qp .qp-fine__title { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--body); }
.p-qp .qp-fine ul { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.p-qp .qp-fine li { font-size: 14px; line-height: 1.55; color: var(--body); }

@media (max-width: 1100px) {
  .p-qp-specs.stat-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-qp-specs .stat-card__item:nth-child(3) { border-left: 0; }
  .p-qp-specs .stat-card__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .p-qp-specs .stat-card__item + .stat-card__item { border-top: 0; }
  .p-qp-specs .stat-card__item:nth-child(even) { border-left: 1px solid var(--line); }
  .p-qp-specs .stat-card__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .p-qp-hero.hero { padding-bottom: 104px; }
  .p-qp-specs .stat-card__item { padding: 20px 16px; }
  .p-qp-specs .stat-card__num { font-size: 28px; }
  .p-qp-specs .stat-card__label { font-size: 15px; }
  .p-qp-specs .stat-card__note { font-size: 13px; }
  .p-qp .qp-included .qp-list, .p-qp .qp-included__head, .p-qp .qp-fine { padding-left: 18px; padding-right: 18px; }
}

/* ==========================================================================
   Page: supplier-survey
   ========================================================================== */
/* Supplier survey page (form base classes come from .p-bid) */
.p-supplier .sup-main { max-width: 860px; }
.p-supplier .sup-note { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 40px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); font-size: 15px; color: var(--body); }
.p-supplier .sup-note a { font-weight: 600; overflow-wrap: anywhere; }
.p-supplier .sup-note__dot { color: var(--muted); }
.p-supplier .bid-form { gap: 44px; }
.p-supplier .sup-section { gap: 24px; }
.p-supplier .sup-section > legend { display: flex; align-items: baseline; gap: 14px; }
.p-supplier .sup-num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--blue); letter-spacing: .04em; }
.p-supplier .sup-sub-h { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 4px 0 -8px; }
.p-supplier .sup-sub-h .opt { text-transform: none; letter-spacing: 0; }
.p-supplier .sup-group > legend { line-height: 1.45; }
.p-supplier .checks.sup-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-supplier .checks.sup-checks--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-supplier .checks.sup-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.p-supplier .sup-radios .check--box { padding: 0 18px; }
.p-supplier .check--box { line-height: 1.35; }
.p-supplier .sup-long { align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
.p-supplier .sup-long input { margin-top: 1px; }
.p-supplier .sup-lab { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.p-supplier .sup-sub { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.p-supplier .sup-error { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--fraud); }
.p-supplier .sup-group.is-invalid .check--box { border-color: var(--fraud); }
.p-supplier .sup-intro { font-size: 15px; line-height: 1.6; color: var(--body); }
.p-supplier .sup-intro a { font-weight: 600; overflow-wrap: anywhere; }
.p-supplier .sup-yn-list { border-top: 1px solid var(--line); }
.p-supplier .sup-yn { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.p-supplier .sup-yn__q { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.p-supplier .sup-yn__q .req { color: var(--fraud); }
.p-supplier .sup-yn__opts { display: flex; gap: 10px; flex-shrink: 0; }
.p-supplier .sup-yn__opts .check--box { min-height: 44px; min-width: 88px; padding: 0 16px; }

@media (max-width: 960px) {
  .p-supplier .checks.sup-checks, .p-supplier .checks.sup-checks--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .p-supplier .sup-note { margin-bottom: 32px; font-size: 14px; }
  .p-supplier .bid-form { gap: 36px; }
  .p-supplier .sup-section > legend { gap: 10px; }
  .p-supplier .checks.sup-checks--long { grid-template-columns: 1fr; }
  .p-supplier .sup-radios .check--box { flex: 1 1 140px; }
  .p-supplier .sup-note__dot { display: none; }
  .p-supplier .sup-note { flex-direction: column; align-items: flex-start; gap: 4px; }
  .p-supplier .bid-row--3.sup-row-contact { grid-template-columns: 1fr; gap: 16px; }
  .p-supplier .sup-yn { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 0; }
  .p-supplier .sup-yn__opts .check--box { flex: 1; }
}
@media (max-width: 380px) {
  .p-supplier .checks.sup-checks { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Articles (insights posts) + insights index thumbnails
   ========================================================================== */
/* ==========================================================================
   Page: insights articles (+ real thumbnails on the Insights index)
   ========================================================================== */
.p-article__hero { padding: 72px 0 80px; }
.p-article__hero .wrap { display: flex; flex-direction: column; gap: 20px; max-width: calc(960px + var(--gutter) * 2); }
.p-article__title { font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.12; letter-spacing: -0.015em; color: #fff; overflow-wrap: break-word; }
.p-article__meta { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--on-dark-2); }

.p-article__main { padding-top: 56px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.p-article__figure { width: 100%; max-width: 960px; }
.p-article__figure img {
  display: block; margin: 0 auto; width: auto; max-width: 100%; max-height: 600px;
  border-radius: 16px; border: 1px solid var(--line); background: var(--soft);
}

.p-article .prose { width: 100%; max-width: 720px; overflow-wrap: break-word; }
.p-article .prose > * + * { margin-top: 18px; }
.p-article .prose p, .p-article .prose li { font-size: 18px; line-height: 1.7; color: var(--body); }
.p-article .prose h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin-top: 44px; }
.p-article .prose h3 { font-size: 21px; line-height: 1.3; margin-top: 32px; }
.p-article .prose h4 { font-size: 18px; margin-top: 28px; }
.p-article .prose h2 + *, .p-article .prose h3 + *, .p-article .prose h4 + * { margin-top: 10px; }
.p-article .prose strong { color: var(--ink); font-weight: 600; }
.p-article .prose a { text-underline-offset: 3px; }
.p-article .prose ul, .p-article .prose ol { margin-bottom: 0; padding-left: 24px; }
.p-article .prose li + li { margin-top: 10px; }
.p-article .prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.p-article .prose blockquote { border-left: 3px solid var(--blue); padding: 4px 0 4px 20px; }

/* Marker lists (converted from emoji bullets in the original posts) */
.p-article .prose ul.marks { list-style: none; padding-left: 0; }
.p-article .prose ul.marks li { position: relative; padding-left: 34px; }
.p-article .prose ul.marks li + li { margin-top: 8px; }
.p-article .prose ul.marks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tint) center / 14px 14px no-repeat;
}
.p-article .prose ul.marks--check li::before {
  background-color: var(--pass-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317663F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.p-article .prose ul.marks--x li::before {
  background-color: var(--fraud-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A61B1B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
.p-article .prose ul.marks--flag li::before {
  background-color: var(--fraud-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A61B1B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4M6 4h11l-2 4 2 4H6'/%3E%3C/svg%3E");
}
.p-article .prose ul.marks--dot li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='%233075B5'/%3E%3C/svg%3E");
}

/* More insights row (reuses .p-insights .posts card grid) */
.p-article__more { padding: 88px 0 24px; border-top: 1px solid var(--line); }
.p-article__more .wrap { display: flex; flex-direction: column; gap: 36px; }

/* Real thumbnails for post cards (index + article footer) */
.p-insights .post__thumb {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line); background: var(--soft);
}
.p-insights .post__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-insights .post__meta { color: var(--muted); }

@media (max-width: 640px) {
  .p-article__hero { padding: 40px 0 44px; }
  .p-article__hero .wrap { gap: 14px; }
  .p-article__meta { font-size: 12px; }
  .p-article__main { padding-top: 28px; padding-bottom: 56px; gap: 28px; }
  .p-article__figure img { border-radius: 12px; max-height: 420px; }
  .p-article .prose p, .p-article .prose li { font-size: 17px; }
  .p-article .prose h2 { margin-top: 36px; }
  .p-article__more { padding: 52px 0 24px; }
  .p-article__more .wrap { gap: 20px; }
  .p-insights .post__desc { display: none; }
  .p-insights .post__thumb { flex-shrink: 0; width: 92px; height: 92px; aspect-ratio: 1; border-radius: 10px; }
}

/* Link that replaces an embedded video */
.p-article .prose .video-link a {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--soft); text-decoration: none; font-weight: 600; color: var(--ink); line-height: 1.4;
}
.p-article .prose .video-link a::before {
  content: ""; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23ffffff'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.p-article .prose .video-link a:hover { border-color: #B8CCE2; color: var(--navy); }
