:root {
  --ink: #242424;
  --body-text: #646464;
  --blue: #4eccf7;
  --button-color: #0b4052;
  --focus: #126a91;
  font-size: clamp(16px, 1.29vw, 24px);
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--body-text);
  font: 400 1rem/1.875 Inter, sans-serif;
}

h1, h2, h3, p, ul { margin: 0; }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 400;
}

h1 {
  font-size: 3rem;
  letter-spacing: -.042em;
  line-height: 1.375;
}

h2, h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.large-title {
  font-size: 2.875rem;
  letter-spacing: -.035em;
}

.eyebrow {
  color: #167e9e;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .2rem;
  line-height: 1.75;
  text-transform: uppercase;
}

.panel {
  background:
    linear-gradient(#ffffff54, #ffffff54),
    url("images/section-pattern.svg") center / cover fixed;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 62fr);
  align-items: center;
  gap: clamp(28px, 4vw, 78px);
  max-width: 90rem;
  margin-inline: auto;
  padding: clamp(36px, 3.6vw, 68px) 6% clamp(36px, 3.6vw, 68px) 8.75%;
}

.hero .layout { padding-top: clamp(56px, 5vw, 92px); }
.copy > * + * { margin-top: clamp(18px, 1.65vw, 32px); }
.hero .copy > * + * { margin-top: 2rem; }

.ruled::before {
  content: "";
  display: block;
  width: 4rem;
  border-top: 2px solid var(--blue);
  margin-bottom: clamp(18px, 1.65vw, 32px);
}

.photo {
  display: block;
  width: 100%;
  height: auto;
}

.partner-logo { display: block; width: fit-content; }
.partner-logo img { display: block; width: 12.625rem; max-width: 100%; height: auto; }

.actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 3.375rem;
  padding: .55rem 1.6875rem;
  border-radius: .375rem;
  background: var(--blue);
  color: var(--button-color);
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  width: fit-content;
}

.button:hover { background: #86e0fb; }

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

svg { width: 1em; height: 1em; flex: none; fill: currentColor; }
.details { display: grid; gap: .43rem; padding-left: 1.4em; line-height: 1.75; }
.details li::marker { color: var(--ink); }

.locations-map {
  display: block;
  width: 100%;
  height: 29rem;
  background: #f4f4f4;
  border: 0;
}

.text-link { display: inline-block; color: var(--focus); }
.copy > .text-link { margin-top: .6rem; }
.demo-description p + p { margin-top: 1rem; }
.mobile-only { display: none; }

@media (max-width: 736px) {
  .panel { background-attachment: scroll; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding: 3.5rem 2rem; }
  .hero .layout { padding-top: 3.5rem; }
  .copy > * + *, .hero .copy > * + * { margin-top: 1.75rem; }
  .ruled::before { margin-bottom: 1.75rem; }
  h1 { font-size: 2.5rem; }
  .large-title { font-size: 2.25rem; }
  .locations-map { height: 35rem; }
  .mobile-only { display: block; }

  .contact {
    color: #fff;
    background:
      linear-gradient(90deg, #167e9e, #6549e3e6),
      url("images/contact-pattern.svg") center / cover;
  }

  .contact h2 { color: inherit; }
  .footer .layout { gap: 1rem; padding-block: 2rem; text-align: center; }
  .footer nav { display: flex; justify-content: center; gap: .9rem; }
  .footer a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--focus); }
  .footer svg { width: 1.4rem; height: 1.4rem; }
}

@media (max-width: 480px) {
  .layout { gap: 2rem; padding: 2.625rem 1.5rem; }
  .hero .layout { padding-top: 2.625rem; }
  .copy > * + *, .hero .copy > * + * { margin-top: 1.5rem; }
  .ruled::before { margin-bottom: 1.5rem; }
  .actions { flex-direction: column; }
  .button { width: 100%; justify-content: space-between; }
}
