:root {
  color-scheme: light;
  --page: #f8faff;
  --white: #fff;
  --ink: #14213b;
  --muted: #4d5a70;
  --blue: #204bcf;
  --blue-hover: #183baa;
  --blue-light: #edf2ff;
  --line: #dce3ef;
  --navy: #101f43;
  --radius: 12px;
  --gutter: clamp(20px, 5vw, 72px);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
svg { flex: none; }
section[id] { scroll-margin-top: 28px; }

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset: 12px auto auto 12px;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--white);
  transform: translateY(-150%);
}

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

.container {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner, .site-header nav, .brand {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 76px;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  flex: none;
  min-height: 44px;
  gap: 10px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.03em;
}

.brand img { mix-blend-mode: multiply; }

.site-header nav { gap: clamp(12px, 3vw, 34px); }

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-link:hover { color: var(--blue); }

.button, .text-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
}

.button {
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-outline {
  min-height: 44px;
  padding: 9px 14px;
  border-color: var(--line);
  background: var(--white);
  font-size: 14px;
}

.button-outline:hover {
  border-color: #bac9ed;
  color: var(--blue);
  background: var(--blue-light);
}

.arrow { width: 17px; height: 17px; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-hover); }
.text-link { color: var(--ink); }
.text-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

.hero {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding-block: clamp(44px, 5.8vw, 84px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow-mark {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 1px;
  background: currentColor;
}

h1 {
  font-size: clamp(54px, 6.1vw, 91px);
  font-weight: 760;
  line-height: .99;
  letter-spacing: -.049em;
}

h1 span { color: var(--blue); }

.hero-intro {
  max-width: 37ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
  background: #123c93;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 10%);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  padding-block: clamp(48px, 6vw, 84px);
  border-block: 1px solid var(--line);
  background: var(--white);
}

h2 {
  margin-top: 10px;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
  margin-top: 28px;
}

.service {
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcff;
}

.service-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 7px;
  color: var(--blue);
  background: var(--blue-light);
}

.service-icon svg { width: 23px; height: 23px; }

.service-number {
  color: #52627c;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12px;
  letter-spacing: .04em;
}

.service h3 {
  margin-top: 22px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 720;
  letter-spacing: -.03em;
}

.service p {
  max-width: 34ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 6vw, 88px);
  padding-block: clamp(48px, 6vw, 84px);
}

.experience-intro {
  max-width: 40ch;
  margin-top: 16px;
}

.experience-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.experience-list > div {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.experience-list dt {
  font-size: 18px;
  font-weight: 720;
}

.experience-list dd { margin: 5px 0 0; }

.experience-intro, .experience-list dd {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.contact { padding-bottom: clamp(40px, 5.7vw, 80px); }

.contact-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  overflow: hidden;
  padding: clamp(26px, 5vw, 64px);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}

.contact-pattern {
  position: absolute;
  z-index: -1;
  right: -35px;
  bottom: -155px;
  width: 382px;
  color: #263a61;
  pointer-events: none;
}

.contact .eyebrow { color: #b8ccff; }

.contact-copy > p:last-child {
  max-width: 44ch;
  margin-top: 14px;
  color: #d3dff6;
  font-size: 16px;
  line-height: 1.6;
}

.button-light {
  flex: none;
  color: var(--navy);
  background: var(--white);
}

.button-light:hover { background: #dde8ff; }
.button-light:focus-visible { outline-color: #b8ccff; }
.mail-icon { width: 19px; height: 19px; }

.site-footer {
  padding-block: 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.footer-brand { font-size: 18px; }

.company-details {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.company-link { min-height: 44px; font-size: 13px; }
.company-link .arrow { width: 14px; height: 14px; }

.company-page {
  max-width: 680px;
  padding-block: clamp(44px, 6vw, 84px);
}

.company-page h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  margin-bottom: 28px;
}

.company-page .company-link { margin-top: 14px; }

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h1 { font-size: clamp(49px, 10vw, 76px); }
  .hero-visual { aspect-ratio: 5 / 3; }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .header-inner { min-height: 66px; }
  .brand { gap: 7px; font-size: 18px; }
  .brand img { width: 28px; height: 28px; }
  .button-outline { gap: 5px; padding-inline: 9px; }
  .button-outline .arrow { width: 14px; height: 14px; }
  .hero-visual { aspect-ratio: 5 / 4; }
  .service-grid, .experience { grid-template-columns: 1fr; }
  .service h3 { margin-top: 16px; }
  .contact-pattern { right: -116px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .header-inner { gap: 10px; }
  .hero-actions { column-gap: 16px; }
  .button-light { gap: 7px; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
