:root {
  --primary: #008af6;
  --text: #1f1f1f;
  --muted: #707070;
  --border: #e0e0e0;
  --font: "Source Sans Pro", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.6;
}

a { color: var(--primary); }
a:hover, a:focus { color: #000; }

img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 8px; top: 8px; z-index: 10;
  background: #fff; padding: 8px 12px;
}

/* Top banner */
.top-banner {
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  padding: 10px 48px 10px 16px;
  position: relative;
  text-align: center;
}
.top-banner button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 4px 10px;
}
.top-banner[hidden] { display: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-header .logo img { display: block; width: 240px; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav-primary a {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-primary a:hover, .nav-primary a[aria-current="page"] { color: var(--primary); }

/* Content */
main { padding: 32px 0 64px; }
.content { max-width: 872px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: 44px; line-height: 1.2; margin: 0 0 32px; font-weight: 700; }
h2 { font-size: 32px; line-height: 1.25; }
h3 { font-size: 22px; margin: 16px 0 8px; }
h4 { font-size: 22px; line-height: 1.4; color: var(--primary); }
p { margin: 0 0 24px; }

.feature-image { margin: 0 0 32px; }
.feature-image img { display: block; width: 100%; }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
  margin-bottom: 40px;
}
.feature { text-align: center; }
.feature img { width: 150px; height: 150px; object-fit: cover; }
.feature p { margin: 0; }

.tagline { text-align: center; margin: 48px 0 32px; }

.button-download {
  display: block;
  background: var(--primary);
  border-radius: 43px;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
}
.button-download:hover, .button-download:focus { background: #0070c9; color: #fff; }

.video { position: relative; aspect-ratio: 16 / 9; margin: 32px 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact form */
.contact-form fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.contact-form legend, .contact-form .label { display: block; font-weight: 700; margin-bottom: 8px; }
.contact-form .req { color: var(--muted); font-weight: 400; font-size: 15px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .sub { display: block; font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.contact-form .field { margin-bottom: 24px; }
.contact-form .hint { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  font-size: 17px;
  padding: 10px 12px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.contact-form button {
  background: var(--primary);
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 12px 32px;
}
.contact-form button:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.error { color: #c00; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
  padding: 40px 0;
  text-align: center;
}
.site-footer ul { list-style: none; margin: 0 0 12px; padding: 0; }
.site-footer a { color: var(--text); font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }
.site-footer a:hover { color: var(--primary); }
.site-footer p { margin: 0; }

@media (max-width: 700px) {
  body { font-size: 18px; }
  h1 { font-size: 34px; }
  .site-header .wrap { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .button-download { font-size: 24px; }
}
