@font-face {
  font-family: "Archivo";
  src: url("/assets/archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 112%;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --mist: #f1f5fd;
  --ink: #0b1736;
  --navy: #0a2463;
  --slate: #44516e;
  --blue: #155eef;
  --blue-deep: #0e46bb;
  --hairline: #d7dfee;

  --gutter: clamp(20px, 5vw, 64px);
  --frame-arm: clamp(40px, 7vw, 88px);
  --frame-bar: clamp(6px, 0.9vw, 11px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.top {
  padding-top: clamp(24px, 4vw, 48px);
}

.logo {
  display: block;
  height: 44px;
  width: auto;
}

/* Main */

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(32px, 5vw, 56px);
  padding: clamp(40px, 6vw, 64px) 0;
}

/* The two framing squares from the logo, opened up around the line. */
.frame {
  position: relative;
  width: fit-content;
  max-width: 980px;
  padding: calc(var(--frame-bar) + clamp(20px, 3.5vw, 44px));
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: var(--frame-arm);
  height: var(--frame-arm);
  pointer-events: none;
}

.frame::before {
  top: 0;
  left: 0;
  border-top: var(--frame-bar) solid var(--blue);
  border-left: var(--frame-bar) solid var(--blue);
}

.frame::after {
  right: 0;
  bottom: 0;
  border-bottom: var(--frame-bar) solid var(--navy);
  border-right: var(--frame-bar) solid var(--navy);
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5.2vw, 4.25rem);
  font-weight: 760;
  font-stretch: 112%;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* Contact */

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-left: calc(var(--frame-bar) + clamp(20px, 3.5vw, 44px));
}

.contact-label {
  margin: 0;
  color: var(--slate);
  font-size: 1.125rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

.button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.button-icon {
  flex: none;
}

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 20px 0 clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--hairline);
  color: var(--slate);
  font-size: 0.9375rem;
}

.foot p {
  margin: 0;
}

@media (max-width: 560px) {
  .logo {
    height: 36px;
  }

  .contact {
    padding-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    justify-content: center;
  }
}

@media (forced-colors: active) {
  .frame::before,
  .frame::after {
    display: none;
  }

  .button {
    border: 2px solid ButtonText;
  }
}
