@font-face {
  font-family: Sora;
  src: url("/assets/sora-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --page-neutral: #f5f3f1;
  --services-neutral: #dcdde0;
  font-family: Sora, system-ui, sans-serif;
  color: #111827;
  background: var(--page-neutral);
  line-height: 1.5;
  font-synthesis: style;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
}
body > main { flex: 1; }
h1, h2, h3, p { margin: 0; }
h2, h3 { line-height: 1.2; font-weight: 600; }
h2, h3 { font-size: clamp(1.5rem, 2.65vw, 2.125rem); }
p + p { margin-top: 1.5rem; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #1954c7; outline-offset: 4px; }

.shell { width: min(calc(100% - 3rem), 90rem); margin-inline: auto; }
.site-header { background: #f8f8f8; }
.header-inner { display: flex; align-items: center; gap: 0; min-height: 12rem; }
.brand { flex: 0 0 14rem; display: grid; place-items: center; }
.brand img { width: 10rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-header nav a {
  border-bottom: 2px solid transparent;
  padding: .45rem 0;
  font-size: 1.125rem;
  text-decoration: none;
}
.site-header nav a[aria-current], .site-header nav a:hover { border-color: currentColor; }

.hero {
  display: grid;
  align-items: center;
  min-height: 36rem;
  padding: 5rem 0;
  color: #fff;
  background:
    linear-gradient(90deg, #10193370, #21345a40 60%, transparent),
    radial-gradient(ellipse at 59% 25%, #2c4f9e 0, transparent 37%),
    radial-gradient(ellipse at 76% 78%, #6582b0 0, transparent 42%),
    linear-gradient(180deg, #6592f5 0%, #93b4ed 49%, #d4dbe5 100%);
}
.hero h1 { font-size: 1rem; font-weight: 700; }
.hero p { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.4; max-width: 48rem; margin-block: 1rem 2rem; }
.hero :focus-visible { outline-color: #fff; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: .65rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 4rem;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button-light { background: #fff; color: #111827; }
.button-light:hover { background: #e9eef7; }
.button-dark { background: #171717; color: #fff; }
.button-dark:hover { background: #343434; }
.button:disabled { opacity: .6; cursor: default; }

.overview {
  background: linear-gradient(#ecf0f2, #d6eef3);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 12vw, 10rem);
  text-align: center;
}
.overview h2 { font-size: clamp(2rem, 4vw, 3rem); }
.overview h2 + p { max-width: 72rem; margin: 1rem auto 0; }
.overview p, .services p, .contact-inner > p { font-size: clamp(1rem, 1.5vw, 1.1875rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.service-grid article p:first-of-type { margin-top: 1rem; }
.service-mark { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; font: 600 1.6rem/1 system-ui, sans-serif; }
.overview-grid { margin-top: 3.5rem; }
.overview-grid article { padding: 0 clamp(0rem, 2.4vw, 2rem); }
.overview-grid .service-mark {
  width: 3rem;
  height: 3rem;
  margin: 0 0 1.5rem auto;
  border-radius: 1rem;
  background: #f8fafb;
  color: #1954c7;
}

.contact {
  position: relative;
  background: linear-gradient(#adc6ca, var(--page-neutral));
  padding: 4rem 1.5rem 3rem;
  scroll-margin-top: 1rem;
}
.contact::before {
  content: "";
  position: absolute;
  inset: -2.25rem 0 auto;
  height: 4.5rem;
  border-radius: 50% 50% 0 0;
  background: #adc6ca;
  pointer-events: none;
}
.contact-inner { position: relative; max-width: 48rem; margin-inline: auto; text-align: center; }
.contact-inner > p { margin-top: 1rem; }
form { display: grid; margin-top: 2rem; text-align: left; }
form label { margin: .7rem 0 .3rem; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.contact-details label { display: block; }
.optional { font-size: .875em; }
input, textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #607278;
  border-radius: .5rem;
  background: #fff;
  color: inherit;
  font: inherit;
}
textarea { resize: vertical; }
form button, form p { justify-self: center; }
form button { margin-top: 1.5rem; min-width: 9rem; }
form p { margin: .6rem 0 0; text-align: center; }
#contact-note { font-size: .875rem; }
#form-status { min-height: 1.5em; font-weight: 600; }

.services { background: var(--services-neutral); }
.services-grid { padding-block: 5rem clamp(5rem, 15vw, 12rem); }
.services-grid .service-mark { margin-bottom: 1.5rem; }
.services-cta { max-width: 51rem; margin-inline: auto; padding: 2rem 1.5rem clamp(5rem, 12vw, 10rem); text-align: center; }
.services-cta p { margin: 1rem 0 2rem; }
.site-footer {
  --footer-surface: #e2eaf0;
  --footer-edge: var(--page-neutral);
  --footer-curve: clamp(1rem, 3.5vw, 2.5rem);
  position: relative;
  padding-top: var(--footer-curve);
  background: linear-gradient(var(--footer-edge) 0 var(--footer-curve), var(--footer-surface) var(--footer-curve));
  color: #111827;
}
.services + .site-footer { --footer-edge: var(--services-neutral); }
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: var(--footer-curve);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--footer-surface);
  pointer-events: none;
}
.site-footer :focus-visible { outline-color: currentColor; }
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 3rem;
  padding-block: 2rem 2.5rem;
}
.footer-about { max-width: 30rem; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-brand img { width: 4rem; flex: none; padding: .25rem; border-radius: .625rem; background: #fff; }
.footer-about p { margin-top: .875rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-underline-offset: .25em; text-decoration-color: transparent; }
.footer-nav a:hover, .footer-brand:hover span { text-decoration: underline; text-underline-offset: .25em; }
.footer-copyright { border-top: 1px solid #11182738; padding-block: 1.25rem; font-size: .875rem; text-align: center; }

.skip-link { position: absolute; z-index: 2; top: .5rem; left: .5rem; background: #fff; padding: .5rem 1rem; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 48rem) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 6rem; gap: .75rem; }
  .brand { flex-basis: 4.75rem; }
  .brand img { width: 4.75rem; }
  .site-header nav { gap: .25rem 1rem; }
  .site-header nav a { font-size: .9375rem; }
  .hero { min-height: 25rem; padding-block: 4rem; }
  .service-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .overview-grid .service-mark { margin-inline: auto; margin-bottom: 1rem; }
  .services-grid { padding-block: 3rem; }
}

@media (max-width: 30rem) {
  .contact-details { grid-template-columns: 1fr; }
  .footer-main { padding-block: 1.5rem; }
}
