:root {
  --ink: #0f172a;
  --deep-teal: #064e3b;
  --teal: #047857;
  --aqua: #86efac;
  --accent: #16a34a;
  --paper: #f8fafc;
  --warm: #ecfdf5;
  --white: #ffffff;
  --muted: #5b6c6d;
  --line: #d1fae5;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 252, 0.94);
  border-bottom: 1px solid rgba(216, 226, 223, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(22, 163, 74, 0.32);
  outline-offset: 4px;
}

.brand-logo {
  width: clamp(208px, 21vw, 252px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.hero {
  min-height: 76svh;
  max-height: 760px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.97) 0%, rgba(247, 250, 248, 0.85) 34%, rgba(247, 250, 248, 0.2) 66%),
    linear-gradient(180deg, rgba(16, 35, 38, 0.08), rgba(16, 35, 38, 0.22)),
    url("assets/global-ledger-hero.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), var(--aqua), var(--teal));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 74px 0 82px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: 4.35rem;
  line-height: 0.98;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: #304244;
  font-size: 1.18rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--deep-teal);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-color: rgba(16, 35, 38, 0.22);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--accent);
}

.market-line {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.section,
.section-light,
.section-muted {
  padding: 86px 0;
}

.section-light {
  background: var(--paper);
}

.section-muted {
  background: var(--warm);
}

.intro {
  padding-top: 54px;
}

.intro-grid,
.reach-layout,
.approach-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.intro-grid p,
.reach-layout p,
.contact-layout p {
  color: var(--muted);
  margin: 0;
}

.intro-grid > p {
  font-size: 1.05rem;
}

h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h2 {
  font-size: 2.34rem;
  max-width: 780px;
}

h3 {
  font-size: 1.22rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.team-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 35, 38, 0.06);
}

.service-card {
  padding: 26px;
}

.service-number {
  display: block;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p,
.team-card p,
.approach-list p {
  color: var(--muted);
  margin: 0;
}

.reach-layout {
  align-items: center;
}

.reach-layout h2,
.contact-layout h2 {
  margin-bottom: 20px;
}

.country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.country-list li {
  min-height: 62px;
  display: flex;
  align-items: center;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.56);
  padding: 16px 18px;
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.team-card {
  padding: 26px;
}

.initials {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #e6f2ef;
  color: var(--deep-teal);
  font-weight: 900;
}

.team-card h3 {
  margin-bottom: 10px;
}

.approach-list {
  display: grid;
  gap: 28px;
}

.approach-list div {
  padding-left: 22px;
  border-left: 3px solid var(--aqua);
}

.approach-list h3 {
  margin-bottom: 8px;
}

.contact {
  background: var(--ink);
  color: var(--white);
}

.contact .section-kicker {
  color: var(--aqua);
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
  background: var(--accent);
  color: var(--white);
}

.site-footer {
  background: #0b191c;
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 88px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
  }

  .brand-logo {
    width: 208px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 0;
    max-height: none;
    background-position: 58% center;
  }

  .hero-content {
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .intro-grid,
  .reach-layout,
  .approach-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(198px, 100%);
  }

  .site-nav {
    font-size: 0.88rem;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(247, 250, 248, 0.98) 0%, rgba(247, 250, 248, 0.86) 58%, rgba(247, 250, 248, 0.42) 100%),
      url("assets/global-ledger-hero.png");
    background-size: cover;
    background-position: 62% center;
  }

  .hero-content {
    padding: 54px 0 50px;
  }

  .hero h1 {
    font-size: 2.36rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  h2 {
    font-size: 1.86rem;
  }

  .section,
  .section-light,
  .section-muted {
    padding: 64px 0;
  }

  .intro {
    padding-top: 42px;
  }

  .service-grid,
  .team-grid,
  .country-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .team-card,
  .contact-form {
    padding: 22px;
  }

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