/* BuyerLeverage — static site styles */
:root {
  --navy: #0e2e81;
  --blue: #0079d6;
  --ink: #111;
  --heading: #333;
  --grey-bg: #f2f2f2;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--grey-bg);
}
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--heading); line-height: 1.25; margin: 0 0 .5em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 100; }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--navy); text-align: center; padding: 8px 20px; }
.topbar a { color: #fff; font-size: 16px; line-height: 1.6; }

/* Header */
.site-header { background: var(--grey-bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 94px; gap: 20px; }
.logo img { width: 195px; height: 39px; }
.nav-toggle { display: none; background: none; border: 1px solid #999; padding: 6px 10px; font: inherit; cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav li { position: relative; }
.nav a, .nav .parent { display: block; padding: 14px 10px; color: var(--ink); text-transform: uppercase; font-size: 16px; letter-spacing: .01em; background: none; border: 0; font-family: var(--serif); cursor: pointer; }
.nav a:hover, .nav .parent:hover { text-decoration: none; color: var(--blue); }
.nav a.active { background: var(--blue); color: #fff; }
.nav .parent::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 4px 8px; }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); flex-direction: column; align-items: stretch; z-index: 20; }
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { display: flex; }
.nav .sub a { text-transform: none; padding: 10px 16px; }

/* Home hero */
.hero { background: #0b1a3a url("img/hero.jpg") center / cover no-repeat; min-height: 550px; display: flex; align-items: center; padding: 40px 20px; }
.hero-box { width: 100%; max-width: 985px; margin: 0 auto; background: rgba(214, 214, 214, .78); border-radius: 4px; text-align: center; padding: 18px 24px 20px; }
.hero-box h2 { font-size: 30px; margin-bottom: 0; color: #222; }
.rule { display: block; width: 100px; height: 2px; background: var(--navy); border: 0; margin: 10px auto 14px; }
.rule.left { margin-left: 0; }
.hero-box p { margin: 0 0 14px; font-size: 16px; }
.button { display: inline-block; background: var(--blue); color: #fff; padding: 10px 24px; border-radius: 4px; font-size: 17px; border: 1px solid #0067b8; }
.button:hover { text-decoration: none; background: #0067b8; }

/* Sections */
.section { background: #fff; padding: 40px 0; }
.intro { display: grid; grid-template-columns: 178px 1fr; gap: 70px; align-items: center; }
.intro img { border-radius: 4px; width: 178px; }
.intro p { text-align: center; font-size: 16.5px; margin: 0; }

/* Inner page banner (title + V shape) */
.banner { background: #fff; text-align: center; }
.banner h1 { font-size: 34px; padding: 40px 20px 14px; margin: 0; color: var(--heading); }
.banner svg { display: block; width: 100%; height: 65px; }

.page { background: #fff; padding: 30px 0 50px; }
.page.tint { background: #d7e8f4; }
.page p { margin: 0 0 .9em; }
.center { text-align: center; }
.page h2.center + .rule { margin-top: 0; }

/* Bio */
.bio-top { overflow: hidden; }
.bio-top img { float: left; width: 113px; margin: 6px 15px 10px 0; }
.bio-band { background: linear-gradient(#fff 60%, var(--grey-bg)); }

/* Cards */
.cards { display: grid; gap: 40px; padding: 20px 20px 50px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.15); padding: 24px 20px; }
.cards.two .card { padding: 40px 40px 30px; }
.card h2, .card h3 { font-size: 26px; margin-bottom: .4em; }
.cards.two .card h2 { font-size: 30px; margin-bottom: 0; }
.card .tagline { font-style: italic; margin-bottom: 1.6em; }
.card em.cite { display: block; font-size: 14px; }
.partners-intro { padding-top: 50px; }
.partners-intro h1 { font-size: 36px; margin-bottom: 0; }
.partners-wrap { background: #fff; }

/* Contact form */
.form-card { background: #fff; border: 2px solid var(--blue); box-shadow: 0 0 10px rgba(0,121,214,.6); padding: 50px 40px 40px; margin: 40px 0 20px; }
.form-card label { display: block; margin: 0 0 6px; font-size: 17px; }
.form-card .req { color: #9b0000; margin-left: 4px; }
.form-card input, .form-card textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #ddd; border-radius: 2px; }
.form-card textarea { min-height: 160px; resize: vertical; }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card .hint { font-size: 13px; letter-spacing: .04em; margin: 4px 0 0; }
.form-card .field { margin-bottom: 18px; }
.form-card button { background: var(--blue); color: #fff; border: 0; border-radius: 4px; font: inherit; font-size: 17px; padding: 10px 22px; cursor: pointer; }
.form-card button:hover { background: #0067b8; }
.form-status { margin-top: 14px; }
.hp { position: absolute; left: -9999px; }

/* Amicus */
.amicus h2 { font-size: 26px; margin: 20px 0 40px; }
.amicus h2 a { color: var(--navy); }
.pdf-frame { width: 100%; height: 900px; border: 1px solid #999; background: #333; }

/* Footer */
.footer-nav { background: #000; padding: 20px 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.footer-nav li + li { border-left: 1px solid #fff; }
.footer-nav a { display: block; color: #fff; text-transform: uppercase; padding: 12px 10px; font-size: 16px; }
.footer-nav a:hover { text-decoration: none; background: #222; }
.footer-nav a.active { background: var(--blue); }
.copyright { background: var(--navy); color: #fff; padding: 12px 0; }
.copyright p { margin: 0; }

/* Mobile */
@media (max-width: 860px) {
  .cards.three { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 18px; padding-bottom: 12px; }
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav .sub { display: flex; position: static; box-shadow: none; background: none; padding-left: 16px; }
  .nav .parent::after { display: none; }
  .hero { min-height: 420px; }
  .intro { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
  .cards.two { grid-template-columns: 1fr; }
  .cards.two .card { padding: 28px 22px; }
  .form-card { padding: 30px 20px; }
  .form-card .row { grid-template-columns: 1fr; }
  .pdf-frame { height: 600px; }
  .footer-nav li + li { border-left: 0; }
}
