:root {
  color-scheme: light;
  --ink: #172431;
  --ink-soft: #51606b;
  --paper: #f6f8fb;
  --paper-deep: #e8eef5;
  --white: #ffffff;
  --line: rgba(0, 67, 131, 0.16);
  --blue: #0370b0;
  --blue-dark: #004383;
  --blue-deep: #062c52;
  --blue-soft: #419ace;
  --silver: #8a98a6;
  --shadow: 0 24px 80px rgba(0, 67, 131, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand img {
  display: block;
  width: 136px;
  height: auto;
}

.brand small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 32px);
  width: 100%;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
}

.header-cta {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 14px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  overflow: hidden;
  padding: 140px clamp(20px, 6vw, 80px) 56px;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -3;
  filter: saturate(0.72) hue-rotate(160deg);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.98) 0%, rgba(246, 248, 251, 0.86) 42%, rgba(246, 248, 251, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 67, 131, 0.24), rgba(0, 67, 131, 0.08));
}

.hero-content {
  max-width: 780px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.3vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.hero-copy {
  max-width: 680px;
  color: #334450;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button.primary {
  background: var(--blue-dark);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(0, 67, 131, 0.28);
  background: rgba(255, 255, 255, 0.45);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 6vw, 80px);
  bottom: 52px;
  display: grid;
  gap: 10px;
  width: min(300px, calc(100% - 40px));
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel span {
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  background: rgba(246, 248, 251, 0.78);
  font-weight: 800;
}

.source-banner {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 67, 131, 0.12);
}

.section {
  padding: clamp(74px, 10vw, 128px) clamp(20px, 6vw, 80px);
}

.muted {
  background: var(--paper-deep);
}

.intro {
  border-top: 1px solid var(--line);
}

.intro-grid,
.section-heading,
.split,
.proof-grid,
.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading p {
  margin-top: 36px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
}

.pillar,
.services-list article,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pillar {
  min-height: 390px;
  padding: 28px;
}

.pillar.accent {
  background: var(--blue-dark);
  color: var(--white);
}

.pillar.accent p,
.pillar.accent .icon {
  color: rgba(255, 255, 255, 0.78);
}

.icon {
  display: block;
  margin-bottom: 84px;
  color: var(--blue);
  font-weight: 900;
}

.services-list {
  display: grid;
  max-width: 1220px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.services-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  background: transparent;
  border-width: 0 0 1px;
  border-radius: 0;
}

.services-list h3,
.services-list p {
  margin-bottom: 0;
}

.split {
  align-items: center;
}

.process {
  display: grid;
  gap: 14px;
}

.process div {
  display: grid;
  grid-template-columns: 46px minmax(110px, 0.3fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 850;
}

.process strong {
  padding-top: 8px;
  font-size: 18px;
}

.process p {
  margin-bottom: 0;
  font-size: 15px;
}

.proof {
  background: var(--blue-deep);
  color: var(--white);
}

.proof .section-kicker,
.proof p {
  color: rgba(255, 255, 255, 0.76);
}

.proof h2 {
  max-width: 980px;
  margin-inline: auto;
}

.proof-grid {
  align-items: start;
}

.reference-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1220px;
  margin: 46px auto 0;
}

.reference-media figure {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.reference-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.reference-media figcaption {
  padding: 16px 18px 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.proof ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof li {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 750;
}

.contact {
  background: var(--paper-deep);
}

.contact-content {
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-card a,
.contact-card span {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-card span {
  border-bottom: 0;
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 6vw, 80px);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
    min-height: auto;
  }

  .main-nav {
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: 820px;
    padding-top: 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(246, 248, 251, 0.98) 0%, rgba(246, 248, 251, 0.9) 58%, rgba(246, 248, 251, 0.35) 100%),
      linear-gradient(0deg, rgba(0, 67, 131, 0.22), rgba(0, 67, 131, 0));
  }

  .hero-panel {
    position: static;
    margin-top: 34px;
  }

  .intro-grid,
  .section-heading,
  .split,
  .proof-grid,
  .contact-content,
  .services-list article {
    grid-template-columns: 1fr;
  }

  .section-heading p {
    margin-top: 0;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .reference-media {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: auto;
  }

  .icon {
    margin-bottom: 38px;
  }

  .process div {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .process p {
    grid-column: 2;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand small,
  .header-cta {
    display: none;
  }

  .brand img {
    width: 144px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
    padding-inline: 18px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-inline: 18px;
  }
}
