:root {
  --ink: #10182d;
  --muted: #5f6d86;
  --paper: #ffffff;
  --mist: #f4f8ff;
  --line: #d7e3f7;
  --blue-950: #17255d;
  --blue-850: #243a9b;
  --blue-700: #2e5de5;
  --blue-600: #4872ff;
  --sky: #a7dcff;
  --aqua: #20c7b9;
  --amber: #f2c661;
  --shadow: 0 20px 55px rgba(20, 38, 87, 0.16);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(32, 199, 185, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--blue-950);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(215, 227, 247, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 36px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-name {
  color: var(--blue-950);
  font-size: 1rem;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  background: var(--blue-850);
  border-radius: 6px;
  overflow: hidden;
}

.brand-flag {
  position: absolute;
  inset: 6px 12px 6px 0;
  background: linear-gradient(90deg, var(--sky), var(--blue-600));
  clip-path: polygon(0 0, 100% 0, 65% 50%, 100% 100%, 0 100%);
}

.brand-spark {
  position: absolute;
  right: 1px;
  top: 5px;
  width: 20px;
  height: 20px;
  background: var(--paper);
  filter: drop-shadow(0 0 0 var(--blue-850));
  clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #34405a;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
}

.site-nav a:hover {
  color: var(--blue-700);
  background: rgba(72, 114, 255, 0.08);
}

.site-nav .nav-contact {
  margin-left: 4px;
  color: var(--paper);
  background: var(--blue-850);
}

.site-nav .nav-contact:hover {
  color: var(--paper);
  background: var(--blue-700);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--blue-950);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(500px, 64svh, 640px);
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background: var(--blue-850);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: var(--aqua);
  z-index: -1;
}

.hero-logo {
  position: absolute;
  right: max(-64px, -5vw);
  top: 50%;
  width: min(580px, 52vw);
  transform: translateY(-49%);
  opacity: 0.74;
  mix-blend-mode: screen;
  z-index: -1;
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 44px 0 52px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.strengths h2,
.why-section h2,
.contact-section h2 {
  margin: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.96;
  font-weight: 830;
}

.hero h1 span {
  display: inline;
}

.hero-lede {
  width: min(720px, 100%);
  margin: 20px 0 0;
  color: #f6f9ff;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
  font-weight: 720;
  text-wrap: balance;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.04rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 760;
}

.button-primary {
  color: var(--blue-950);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.button-primary:hover {
  background: #eef6ff;
}

.button-secondary {
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
}

.intro-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: center;
}

.intro-grid p {
  margin: 0;
  max-width: 790px;
  color: #26324d;
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  line-height: 1.45;
  font-weight: 680;
}

.intro-stat {
  min-height: 88px;
  padding: 18px;
  border-left: 4px solid var(--aqua);
  background: var(--mist);
  border-radius: var(--radius);
}

.intro-stat span {
  display: block;
  color: var(--blue-700);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  line-height: 1.25;
}

.section,
.strengths,
.why-section,
.contact-section {
  padding: 92px 0;
}

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

.two-column,
.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.section-kicker {
  color: var(--blue-700);
}

.section h2,
.strengths h2,
.why-section h2,
.contact-section h2 {
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  font-weight: 820;
}

.rich-copy p,
.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.rich-copy p + p {
  margin-top: 18px;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 38px;
}

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

.service-card {
  min-height: 312px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 35px rgba(30, 53, 115, 0.08);
}

.service-card:hover {
  border-color: rgba(46, 93, 229, 0.4);
  transform: translateY(-3px);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}

.service-number {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--blue-950);
  background: #e8f6ff;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 850;
}

.service-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.22;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.strengths {
  color: var(--paper);
  background: var(--blue-950);
}

.strengths .section-kicker,
.contact-section .section-kicker {
  color: var(--sky);
}

.strengths h2,
.contact-section h2 {
  color: var(--paper);
}

.strengths-header {
  width: min(760px, 100%);
  margin-bottom: 38px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.strength-grid article {
  min-height: 198px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.strength-grid h3 {
  margin: 0;
  font-size: 1.12rem;
}

.strength-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.approach-list {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.approach-list article {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 104px;
  padding: 18px 22px 18px 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.approach-list article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--blue-700);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 850;
}

.approach-list span {
  color: var(--blue-950);
  font-size: 1.22rem;
  font-weight: 800;
}

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

.why-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.contact-section {
  color: var(--paper);
  background: var(--blue-850);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.contact-card a {
  width: fit-content;
  color: var(--paper);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 820;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--sky);
}

.contact-card span {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 28px 0;
  color: #66738c;
  background: var(--paper);
}

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

.footer-inner span:first-child {
  color: var(--blue-950);
  font-weight: 800;
}

@media (max-width: 980px) {
  .service-grid,
  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-logo {
    right: -120px;
    width: min(620px, 82vw);
    opacity: 0.3;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .section-inner,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .header-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    transform-origin: top right;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.16s ease,
      transform 0.16s ease;
  }

  .nav-open .site-nav {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav .nav-contact {
    margin-left: 0;
    justify-content: center;
  }

  .hero {
    min-height: clamp(500px, 68svh, 620px);
  }

  .hero-inner {
    padding: 38px 0 46px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.8rem);
    max-width: 100%;
  }

  .hero h1 span {
    display: block;
  }

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

  .button {
    width: 100%;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 0;
  }

  .section,
  .strengths,
  .why-section,
  .contact-section {
    padding: 66px 0;
  }

  .service-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .strength-grid article {
    min-height: auto;
  }

  .approach-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    min-height: 0;
    padding: 20px 18px 20px 70px;
  }

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

@media (max-width: 420px) {
  .brand-name {
    max-width: 150px;
    white-space: normal;
    line-height: 1.05;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 9.4vw, 2.65rem);
    line-height: 0.98;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .hero-inner {
    padding: 36px 0 42px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 44px;
  }

  .contact-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
