:root {
  color-scheme: light;
  --ink: #111214;
  --paper: #f2f2ee;
  --white: #ffffff;
  --muted: #62656c;
  --line: #d7d7d1;
  --blue: #294bd8;
  --blue-dark: #1d38aa;
  --focus: #d8f06a;
  --max-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  max-width: 860px;
  margin-bottom: 26px;
  font-size: 5rem;
  font-weight: 760;
}

h2 {
  margin-bottom: 0;
  font-size: 3.25rem;
  font-weight: 740;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-160%);
}

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

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 84px;
  margin-inline: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.brand {
  display: inline-grid;
  min-width: 94px;
  text-decoration: none;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand-copy {
  display: inline-grid;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1;
}

.brand-label {
  margin-top: 5px;
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link,
.email-link {
  position: relative;
  font-weight: 680;
  text-decoration: none;
}

.nav-link::after,
.email-link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.email-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link {
  font-weight: 680;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.nav-link:focus-visible,
.text-link:focus-visible,
.email-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

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

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

.button-dark:hover {
  color: var(--ink);
  background: var(--focus);
}

.hero-section {
  position: relative;
  display: grid;
  min-height: calc(100vh - 36px);
  min-height: calc(100svh - 36px);
  overflow: hidden;
  align-items: end;
  color: var(--white);
  background: var(--ink);
}

.hero-section::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 14, 16, 0.94) 0%, rgba(13, 14, 16, 0.78) 52%, rgba(13, 14, 16, 0.34) 100%),
    linear-gradient(180deg, rgba(13, 14, 16, 0.3) 0%, rgba(13, 14, 16, 0.08) 46%, rgba(13, 14, 16, 0.55) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 150px;
  padding-bottom: 64px;
}

.eyebrow {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 760;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link-light {
  color: var(--white);
}

.section {
  padding-block: 104px;
}

.services-section {
  border-top: 4px solid var(--blue);
  background: var(--white);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(260px, 0.72fr);
  gap: 76px;
  align-items: end;
  margin-bottom: 68px;
}

.section-summary {
  max-width: 500px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.06rem;
}

.service-list {
  border-bottom: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}

.service-item p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-number,
.process-number {
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.process-list li:first-child {
  padding-left: 0;
}

.process-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.process-list h3 {
  margin-top: 48px;
  font-size: 1.8rem;
}

.process-list p {
  max-width: 300px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  padding-block: 92px;
  color: var(--white);
  background: var(--blue);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.7fr);
  gap: 82px;
  align-items: end;
}

.contact-layout h2 {
  max-width: 720px;
}

.contact-action p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
}

.contact-action .button {
  margin-bottom: 16px;
}

.email-link {
  display: table;
  color: var(--white);
}

.site-footer {
  padding-block: 34px;
  color: rgba(255, 255, 255, 0.62);
  background: var(--ink);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  align-items: end;
}

.footer-brand {
  color: var(--white);
}

.footer-layout p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.footer-layout p:last-child {
  justify-self: end;
}

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

.error-shell {
  display: grid;
  width: min(calc(100% - 48px), 920px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: 40px;
  grid-template-rows: auto 1fr;
}

.error-brand {
  align-self: start;
}

.error-content {
  align-self: center;
  padding-block: 60px;
}

.error-code {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  font-weight: 760;
}

.error-content h1 {
  margin-bottom: 20px;
}

.error-content p {
  max-width: 540px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 2.9rem;
  }
}

@media (max-width: 820px) {
  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-section::after {
    background: rgba(13, 14, 16, 0.72);
  }

  .section {
    padding-block: 80px;
  }

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

  .section-intro {
    margin-bottom: 52px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:first-child,
  .process-list li:last-child {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list h3 {
    margin-top: 24px;
  }

  .contact-section {
    padding-block: 76px;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-layout p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .nav-shell,
  .error-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .nav-shell {
    min-height: 72px;
  }

  .nav-link:not(.nav-contact) {
    display: none;
  }

  .primary-nav {
    gap: 0;
  }

  .hero-image {
    object-position: center 35%;
  }

  .hero-inner {
    padding-top: 112px;
    padding-bottom: 34px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-copy {
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .hero-actions .text-link {
    display: none;
  }

  .section {
    padding-block: 64px;
  }

  .section-intro {
    margin-bottom: 38px;
  }

  .service-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding-block: 26px;
  }

  .contact-section {
    padding-block: 62px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 620px) and (max-height: 650px) {
  .hero-section {
    min-height: calc(100svh - 28px);
  }

  .hero-inner {
    padding-top: 84px;
    padding-bottom: 18px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.7rem;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 2.3rem;
  }

  .hero-copy {
    margin-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-actions .button {
    min-height: 44px;
    padding-block: 10px;
  }
}

@media (max-height: 690px) and (min-width: 621px) {
  h1 {
    margin-bottom: 18px;
    font-size: 4rem;
  }

  .hero-inner {
    padding-top: 112px;
    padding-bottom: 28px;
  }

  .hero-copy {
    margin-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
