:root {
  --ink: #101827;
  --muted: #59677a;
  --line: #dde5ee;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --navy: #0b1730;
  --navy-2: #172a4f;
  --blue: #216fb8;
  --blue-dark: #15598f;
  --gold: #b98b32;
  --radius: 16px;
  --shadow: 0 22px 64px rgba(16, 31, 51, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(2.45rem, 5.8vw, 4.7rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); letter-spacing: -0.045em; }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 820px; }
.section { padding: 92px 0; }
.eyebrow {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219,226,234,0.8);
}
.navbar {
  min-height: 82px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; max-width: 275px; object-fit: contain; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; color: #2f3c50; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(11,23,48,0.05), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(33,111,184,0.18), transparent 32%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 52%, #edf5ff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -140px -260px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(41,119,201,0.13);
}
.hero-grid { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 52px; align-items: center; position: relative; z-index: 2; }
.hero-logo { width: min(430px, 100%); height: auto; margin-bottom: 28px; display: block; }
.hero-lead { font-size: 1.22rem; max-width: 740px; color: #46566b; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(33,111,184,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(41,119,201,0.25); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { border-color: var(--blue); color: var(--blue); }
.hero-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.75rem; }
.hero-card ul { padding: 0; margin: 0; list-style: none; }
.hero-card li { padding: 14px 0 14px 30px; border-top: 1px solid var(--line); position: relative; color: var(--muted); }
.hero-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }

.intro-section { padding-top: 76px; }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.split > p, .split > div p { font-size: 1.06rem; }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading.centred { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading p { font-size: 1.06rem; }
.cards { display: grid; gap: 22px; }
.three-column { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  min-height: 238px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card h3::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
  margin-bottom: 16px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(33,111,184,0.28); }

.logo-section { background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%); }
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.client-logo-card {
  margin: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 31, 51, 0.06);
}
.client-logo-card img {
  display: block;
  width: 100%;
  max-height: 138px;
  object-fit: contain;
}
.client-logo-card figcaption {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: center;
}

.credentials-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.credentials-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.credential-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.credential-list div {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.credential-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}
.credential-list span {
  color: var(--muted);
}

.dark-section { background: linear-gradient(135deg, var(--navy), #101f3c); color: #fff; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section p { color: rgba(255,255,255,0.74); }
.section-heading.light .eyebrow { color: #8fb0ff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255,255,255,0.05);
}
.process-step span { display: inline-block; color: var(--gold); font-weight: 900; margin-bottom: 28px; }

.outcome-list { display: grid; gap: 14px; }
.outcome-list div {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.outcome-list strong { font-size: 1rem; }
.outcome-list span { color: var(--muted); }
.muted-section { background: var(--soft); }
.about-split { align-items: center; }

.contact-section { background: linear-gradient(180deg, #fff 0%, #f4f7fb 100%); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 58px; align-items: start; }
.contact-details { margin-top: 28px; }
.contact-details a { color: var(--blue); font-weight: 800; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-form label { display: block; font-weight: 800; margin-bottom: 8px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 3px solid rgba(41,119,201,0.16); border-color: var(--blue); }
.form-note { font-size: 0.9rem; margin-top: 14px; }

.site-footer { background: #08101d; color: #fff; padding: 38px 0 24px; }
.site-footer p { color: rgba(255,255,255,0.68); margin-bottom: 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.footer-brand img { width: 230px; max-width: 100%; height: auto; display: block; margin-bottom: 12px; background: #fff; border-radius: 10px; padding: 8px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.8); font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 28px; padding-top: 22px; }
.legal-page { min-height: 70vh; }
.legal-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.legal-page h2 { font-size: 1.35rem; margin-top: 2rem; }

@media (max-width: 1000px) {
  .client-logo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 76px; }
  .hero-grid, .split, .contact-grid, .credentials-grid { grid-template-columns: 1fr; }
  .three-column, .process-grid, .credential-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .navbar { min-height: 68px; }
  .brand-logo { height: 40px; max-width: 220px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-cta { text-align: center; }
  .section { padding: 68px 0; }
  .hero-card { padding: 24px; }
  .three-column, .process-grid, .client-logo-grid, .credential-list { grid-template-columns: 1fr; }
  .client-logo-card { min-height: 200px; }
  .footer-grid { flex-direction: column; }
}
