:root {
  --blue: #073fbf;
  --blue-dark: #052f8e;
  --ink: #101318;
  --text: #454a52;
  --muted: #68707b;
  --line: #d8dce2;
  --surface: #f4f6f8;
  --white: #fff;
  --shell: 1152px;
  --shadow: 0 16px 44px rgba(17, 30, 55, .1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

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

.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;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(16, 19, 24, .1);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-size: 22px;
  font-weight: 800;
  border-radius: 3px;
}

.brand strong {
  display: block;
  font-size: 19px;
  letter-spacing: -.02em;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav > a:not(.button) {
  color: #333841;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav > a:not(.button):hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 3px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  overflow: hidden;
  color: var(--white);
}

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

.hero-image {
  object-fit: cover;
  object-position: center 58%;
  filter: grayscale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 8, 13, .92) 0%, rgba(5, 8, 13, .72) 44%, rgba(5, 8, 13, .28) 78%, rgba(5, 8, 13, .36) 100%),
    linear-gradient(0deg, rgba(5, 8, 13, .24), rgba(5, 8, 13, 0) 40%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 118px 92px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #9ebcff;
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 70px);
  letter-spacing: -.045em;
  line-height: 1.04;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 2vw, 21px);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

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

.hero-note {
  max-width: 620px;
  margin: 26px 0 0;
  padding-left: 15px;
  color: rgba(255, 255, 255, .72);
  border-left: 3px solid #5c89f0;
  font-size: 15px;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  min-height: 126px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.trust-item {
  display: flex;
  padding: 30px 34px;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item svg,
.contact-card svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong,
.trust-item small {
  display: block;
}

.trust-item strong {
  font-size: 15px;
  letter-spacing: .02em;
  line-height: 1.35;
  text-transform: uppercase;
}

.trust-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.trust-legal-note {
  margin-top: -18px;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.section {
  padding-block: 108px;
}

.services {
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 49px);
  letter-spacing: -.04em;
  line-height: 1.1;
}

.section-heading > p:last-child {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 18px;
}

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

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #cbd0d7;
  border-top: 6px solid var(--blue);
  border-radius: 4px;
  transition: box-shadow .2s ease, transform .2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .35s ease;
}

.service-card:hover img {
  filter: grayscale(0);
}

.service-content {
  display: flex;
  min-height: 250px;
  padding: 30px 32px 32px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.service-content h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.service-content > p:not(.eyebrow) {
  margin: 14px 0 24px;
  color: var(--text);
}

.service-content > a:not(.button) {
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.service-content > a:not(.button):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-card-contact {
  color: var(--white);
  background: #101722;
  border-color: #101722;
  border-top-color: #5f8af2;
}

.service-card-contact .service-content {
  min-height: 100%;
  padding: 42px;
  justify-content: center;
}

.service-card-contact .eyebrow {
  color: #96b4ff;
}

.service-card-contact .service-content h3 {
  max-width: 420px;
  font-size: 32px;
}

.service-card-contact .service-content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, .72);
}

.contact-section {
  background: #e9edf2;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered > p:last-child {
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  display: flex;
  min-width: 0;
  min-height: 220px;
  padding: 32px 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #cbd0d7;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 34px rgba(19, 42, 84, .1);
  transform: translateY(-2px);
}

.contact-card span {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-card strong {
  max-width: 100%;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.4;
}

.site-footer {
  padding-block: 46px;
  color: #2f343b;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto 1fr;
  align-items: center;
  gap: 42px;
}

.site-footer strong {
  color: var(--ink);
  font-size: 20px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer a {
  color: #4e545d;
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--blue);
}

.copyright {
  margin: 0 !important;
  text-align: right;
}

.mobile-call {
  display: none;
}

.legal-main {
  min-height: 70vh;
  padding-block: 72px 100px;
  background: var(--surface);
}

.legal-shell {
  width: min(calc(100% - 40px), 880px);
  margin-inline: auto;
}

.legal-intro {
  margin-bottom: 36px;
}

.legal-intro h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.legal-intro p {
  margin: 16px 0 0;
  color: var(--muted);
}

.legal-card {
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--blue);
}

.legal-card h2 {
  margin: 36px 0 10px;
  font-size: 25px;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--text);
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 46px;
    height: 46px;
    padding: 11px;
    place-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 3px;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    z-index: 49;
    inset: 77px 0 auto;
    display: flex;
    padding: 26px 20px 30px;
    flex-direction: column;
    gap: 8px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 40px rgba(0, 0, 0, .12);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav > a:not(.button) {
    padding: 12px 4px;
    font-size: 19px;
    font-weight: 750;
    text-decoration: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding-block: 10px;
  }

  .trust-legal-note {
    margin-top: 0;
    text-align: left;
  }

  .trust-item {
    padding: 22px 10px;
    justify-content: flex-start;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .contact-card {
    min-height: 190px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 64px;
    font-size: 16px;
  }

  .shell,
  .legal-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 10px;
  }

  .mobile-nav {
    inset-block-start: 71px;
  }

  .hero {
    min-height: 680px;
  }

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

  .hero-shade {
    background: linear-gradient(90deg, rgba(5, 8, 13, .91), rgba(5, 8, 13, .55));
  }

  .hero-inner {
    padding-block: 84px 64px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-block: 72px;
  }

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

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

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

  .service-content,
  .service-card-contact .service-content {
    min-height: auto;
    padding: 26px 24px 28px;
  }

  .service-content h3 {
    font-size: 24px;
  }

  .service-card-contact .service-content h3 {
    font-size: 29px;
  }

  .contact-card {
    min-height: 170px;
    padding: 26px 18px;
  }

  .contact-card strong {
    font-size: 16px;
  }

  .site-footer {
    padding-block: 38px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .mobile-call {
    position: fixed;
    z-index: 60;
    inset: auto 0 0;
    display: flex;
    min-height: 58px;
    padding: 12px 18px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--blue);
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 -8px 24px rgba(7, 63, 191, .25);
  }

  .legal-main {
    padding-block: 52px 72px;
  }

  .legal-card {
    padding: 28px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
