@font-face {
  font-family: Onest;
  src: url("/assets/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --wf-static-white: #fff;
  --surface-deep: #052261;
  --surface-fill: #0475e1;
  --surface-highlight: #2ec4da;
  --wf-shout-thread: color-mix(in srgb, var(--surface-fill) 78%, var(--wf-static-white));
  --ground: #f5f8fd;
  --text: #182840;
  --line: #b6c9e3;
  color: var(--text);
  background: var(--ground);
  font-family: Onest, system-ui, sans-serif;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; max-width: 100%; object-fit: contain; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }

.page-header { background: var(--wf-static-white); }
.head, .footer, nav { display: flex; align-items: center; }
.head, .footer { justify-content: space-between; min-height: 4.6rem; gap: 1rem; }
.brand { width: auto; height: 2.35rem; }
nav { gap: clamp(1rem, 4vw, 3rem); font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.contact-link { color: var(--surface-deep); }

.hero, .connection { color: var(--wf-static-white); background-color: var(--surface-deep); }
.hero {
  background-image: radial-gradient(circle, rgb(255 255 255 / 16%) 1px, transparent 1.5px);
  background-size: 18px 18px;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(3rem, 7vw, 6.5rem);
}
.hero h1 {
  width: max-content;
  max-width: 100%;
  font-size: clamp(2.5rem, 6.7vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .99;
}
.hero h1 span { color: var(--surface-highlight); }
.hero p, .connection p { max-width: 37ch; margin-block: 1.5rem; font-size: clamp(1rem, 1.8vw, 1.3rem); }
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .65rem .95rem;
  background: var(--surface-highlight);
  color: var(--surface-deep);
  font-weight: 750;
  text-decoration: none;
}
.button:focus-visible { outline-color: var(--wf-static-white); }
.button:hover { background: var(--wf-static-white); }

.visual {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 17rem;
  isolation: isolate;
}
.visual-fallback { width: min(44%, 9rem); height: auto; }
.wf-stitch-motion, [data-stitch-slot] { position: absolute; width: 100%; height: 100%; inset: 0; }
.wf-stitch-motion { pointer-events: none; }
.motion-control {
  position: absolute;
  inset: auto 0 0 auto;
  cursor: pointer;
  background: var(--surface-deep);
  border: 1px solid rgb(255 255 255 / 70%);
  padding: .3rem .6rem;
  font-size: .81rem;
}
.section, .connection-layout { padding-block: clamp(2.7rem, 7vw, 5.5rem); }
.section-heading, .connection-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 1rem 3rem; }
h2 { max-width: 19ch; font-size: clamp(1.9rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading p { max-width: 37ch; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; border-block: 1px solid var(--line); }
.workflow div { padding: 1.25rem 1.25rem 1.25rem 0; }
.workflow div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 1.25rem; }
.workflow dt { margin-bottom: .5rem; color: var(--surface-deep); font-size: 1.35rem; font-weight: 760; }
.connection-layout { align-items: center; }
.connection p { margin-bottom: 0; }
.connection .button { justify-self: end; }
.footer { font-size: .9rem; }
.footer img { width: 8.5rem; height: auto; }

@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2rem); }
  .overview-link { display: none; }
  nav { font-size: .88rem; }
  .hero-layout, .section-heading, .connection-layout, .workflow { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.4rem, 10.9vw, 4.75rem); }
  .visual { min-height: 14rem; }
  .workflow div, .workflow div + div { padding: 1rem 0; border-inline-start: none; }
  .workflow div + div { border-block-start: 1px solid var(--line); }
  .connection .button { justify-self: start; }
}
