:root {
  --ink: #00313B;
  --mid: #1A4A57;
  --accent: #2E7D8C;
  --accent-soft: #7FB3BF;
  --hero-text: #A9C7CE;
  --wash: #F4FAFB;
  --paper: #FDFDFB;
  --muted: #5F7A80;
  --line: #E3E8E8;
  --line-strong: #C6D4D7;
  --radius: 8px;
  --display: "Source Serif 4", Georgia, serif;
  --body: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--body);
  color: var(--mid);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.wordmark {
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 4px;
  color: var(--ink);
}
.wordmark span { color: var(--accent); }
nav.main-nav { display: flex; align-items: center; gap: 26px; }
nav.main-nav a {
  font-size: 14px;
  color: var(--mid);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover { color: var(--accent); }
nav.main-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
nav.main-nav a.btn { border-bottom: none; }
nav.main-nav a.btn-solid { color: var(--paper); }
nav.main-nav a.btn-solid:hover { color: var(--paper); background: var(--mid); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--mid); }
.btn-accent { background: var(--accent); color: var(--paper); }
.btn-accent:hover { background: #256a78; }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--wash); }
.hero .btn-ghost { color: var(--hero-text); border-color: var(--accent); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.06); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); padding: 88px 0 72px; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.18;
  color: var(--paper);
  max-width: 640px;
  margin-bottom: 20px;
}
.hero p.lede {
  font-size: 17px;
  color: var(--hero-text);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero (light) ---------- */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 620px;
  margin-bottom: 16px;
}
.page-hero p.lede { font-size: 16px; color: var(--muted); max-width: 600px; }

/* ---------- Stats bar ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat { padding: 30px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
}
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--wash); }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
h2.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 28px;
  max-width: 620px;
}

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}
.card.tint { background: var(--wash); border-color: transparent; }
.card .icon { font-size: 26px; color: var(--accent); line-height: 1; }
.card h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 14px 0 6px; }
.card p { font-size: 14px; color: var(--muted); }
.card .step-num {
  font-family: var(--display);
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
}

/* ---------- Criteria list ---------- */
.criteria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.criterion { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.criterion h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.criterion p { font-size: 14px; color: var(--muted); }

/* ---------- Feature rows ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .icon { font-size: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.feature p { font-size: 14px; color: var(--mid); }
.feature p strong { color: var(--ink); }

/* ---------- Track record ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter {
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--mid);
  cursor: pointer;
  font-family: var(--body);
}
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deal { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.deal .photo {
  aspect-ratio: 16 / 10;
  background: #DCE9EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7FA3AB;
  font-size: 13px;
}
.deal .photo img { width: 100%; height: 100%; object-fit: cover; }
.deal .body { padding: 18px; }
.tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 4px 11px; border-radius: 4px; background: var(--wash); color: var(--mid); }
.tag.acquired { background: #E1F5EE; color: #085041; }
.tag.introduced { background: #EEEDFE; color: #3C3489; }
.tag.developed { background: #FAEEDA; color: #633806; }
.deal h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.deal p { font-size: 13px; color: var(--muted); }

/* ---------- Quote panel ---------- */
.quote-panel {
  background: var(--wash);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.quote-panel .mark { font-family: var(--display); font-size: 44px; color: var(--accent); line-height: 0.8; }
.quote-panel p { font-family: var(--display); font-size: 19px; color: var(--mid); line-height: 1.6; }

/* ---------- Profile card ---------- */
.profile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  max-width: 720px;
}
.profile .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #DCE9EB;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7FA3AB;
  font-size: 12px;
  overflow: hidden;
}
.profile .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.profile .role { font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.profile p { font-size: 14px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); padding: 44px 0; }
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--paper); margin-bottom: 4px; }
.cta-band p { font-size: 14px; color: var(--hero-text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; font-size: 15px; }
.contact-list .icon { color: var(--accent); font-size: 20px; margin-top: 2px; }
.contact-list strong { color: var(--ink); display: block; font-size: 14px; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { font-size: 13px; font-weight: 500; color: var(--ink); }
.contact-form input, .contact-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 56px 0 32px; color: var(--hero-text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .wordmark { color: var(--paper); margin-bottom: 16px; display: block; }
.site-footer address { font-style: normal; font-size: 14px; line-height: 1.9; }
.site-footer address strong { color: var(--paper); font-weight: 600; }
.site-footer h4 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: var(--hero-text); font-size: 14px; }
.site-footer a:hover { color: var(--paper); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 12.5px;
  color: #6E939C;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-4, .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .criteria, .features, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
  }
  nav.main-nav.open { display: flex; }
  .hero { padding: 60px 0 52px; }
  .stats .wrap { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .grid-2, .grid-3, .grid-4, .deal-grid { grid-template-columns: 1fr; }
  .profile { flex-direction: column; }
  .quote-panel { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
