/* Buyers Central Media — shared stylesheet
   Design intent: institutional, verifiable, quiet. This site's job is to make a
   reviewer at an ad platform or affiliate network conclude "real company" in
   under 20 seconds. Restraint reads as credible; gradients and emoji do not. */

/* ---------- tokens ---------- */
:root {
  --ink:        #0C1726;   /* headings */
  --body:       #47566B;   /* paragraph text */
  --muted:      #6B7A90;   /* captions, meta */
  --accent:     #1A5A96;   /* institutional blue — links, CTA */
  --accent-dk:  #124470;
  --line:       #E3E8EF;
  --bg:         #FFFFFF;
  --bg-soft:    #F6F8FB;
  --bg-deep:    #0C1726;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gut: 24px;
  --radius: 6px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul[class] { list-style: none; padding: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.011em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.25rem); }
h3 { font-size: 1.16rem; font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; }

p + p { margin-top: 1.1em; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.lede  { font-size: 1.18rem; line-height: 1.6; color: var(--body); }
.small { font-size: 0.875rem; }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
section { padding-block: clamp(56px, 8vw, 96px); }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.measure { max-width: 62ch; }

.grid { display: grid; gap: 32px; }
@media (min-width: 720px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
/* The convergence mark is line-based and its artwork sits inside the viewBox
   with built-in padding, so it needs a larger box than a filled tile would to
   read at the same optical weight beside the wordmark. */
.brand-mark { width: 36px; height: 36px; flex: none; margin-left: -3px; }
.brand-name {
  font-family: var(--serif); font-size: 1.06rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 28px; }
/* :not(.btn) is load-bearing — without it this rule outweighs .btn-primary and
   paints the CTA's label slate-on-blue, i.e. invisible. */
.nav a:not(.btn) {
  text-decoration: none; font-size: 0.925rem; font-weight: 500; color: var(--body);
  transition: color .15s;
}
.nav a:not(.btn):hover { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 7px 9px; cursor: pointer; color: var(--ink);
}
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); line-height: 1.2;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(76px, 11vw, 140px); }
/* Single-column hero: headline held to a tight measure so it breaks into
   strong lines instead of running the full container width. */
.hero-single { max-width: 900px; }
.hero-single h1 { max-width: 21ch; }
.hero-single .lede { max-width: 58ch; }
.hero p.lede { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Company facts panel — the single most load-bearing element for a trust site.
   Concrete, checkable details do more than any amount of visual polish. */
.factcard {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); padding: 26px 28px;
}
/* On a tinted section the card needs to invert or it disappears into the bg */
.section-soft .factcard { background: #fff; }
.factcard h3 { font-size: 0.78rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.factlist { display: grid; gap: 14px; }
.factlist > div { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: baseline; }
.factlist dt { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.factlist dd { font-size: 0.94rem; color: var(--ink); font-weight: 500; }
.factlist a { color: var(--accent); text-decoration: none; }
.factlist a:hover { text-decoration: underline; }

/* ---------- cards ---------- */
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 28px;
}
.card .icon { color: var(--accent); margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

/* ---------- compliance list ---------- */
.checklist { display: grid; gap: 20px; margin-top: 28px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.checklist svg { color: var(--accent); margin-top: 4px; }
.checklist strong { color: var(--ink); display: block; font-size: 0.98rem; }
.checklist span { font-size: 0.93rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--accent); }
/* honeypot — hidden from humans, catches bots */
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-deep); color: #A9B6C8;
  padding-block: 56px 32px; font-size: 0.9rem;
}
.site-footer h4 {
  color: #fff; font-family: var(--sans); font-size: 0.76rem; font-weight: 600;
  letter-spacing: .11em; text-transform: uppercase; margin-bottom: 16px;
}
.site-footer a { color: #A9B6C8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 64px; } }
/* These lists carry no class, so the ul[class] reset above misses them and
   the browser's default discs show through. */
.footer-grid ul { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 0.82rem; color: #7E8DA3;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }

/* ---------- legal pages ---------- */
.legal { padding-block: 64px 88px; }
.legal .measure { max-width: 68ch; }
.legal h2 { font-size: 1.4rem; margin-top: 44px; margin-bottom: 12px; }
.legal h3 { margin-top: 28px; margin-bottom: 8px; }
.legal p, .legal li { font-size: 0.97rem; }
.legal ul { margin: 12px 0 0; padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }
.updated {
  display: inline-block; margin-top: 16px; padding: 6px 12px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.82rem; color: var(--muted);
}

/* ---------- a11y ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff;
  padding: 10px 16px; z-index: 100; text-decoration: none;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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