:root {
  --color-ink-black: hsla(207, 43%, 9%, 1);
  --color-porcelain: hsla(108, 19%, 95%, 1);
  --color-snow: hsla(348, 45%, 98%, 1);

  --color-emerald: hsla(132, 34%, 56%, 1);
  --color-fern: hsla(129, 37%, 36%, 1);
  --color-dark-spruce: hsla(140, 35%, 22%, 1);
}

html,
body {
  margin: 0;
  min-height: 100%;
  padding: 0;
}

body {
  align-items: stretch;
  background: url("/static/images/bg-dotmatrix-snow.png") 0 0 repeat var(--color-snow);
  border-top: 1px dotted var(--color-fern);
  border-bottom: 1px dotted var(--color-fern);
  color: var(--color-ink-black);
  display: flex;
  font-family: "Chivo", sans-serif;
  font-optical-sizing: auto;
  font-size: 94%;
  font-style: normal;
  font-weight: 200;
  justify-content: stretch;
  line-height: 1.57;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo-mh {
  margin: 0;
  padding: 0;
  font-family: "Inconsolata", monospace;
  font-weight: 600;
}

h1 {
  font-size: 147%;
  line-height: 1.29;
  margin-bottom: 2.48rem;
}

h2 {
  font-size: 133%;
  line-height: 1.29;
  margin-bottom: 2.48rem;
  text-align: center;
}

h3 {
  font-size: 127%;
  line-height: 1.49;
  margin-bottom: 2.98rem;
}

h4,
.logo-mh {
  font-size: 120%;
  line-height: 1.49;
  margin-bottom: 2.98rem;
}

h5,
.text-lg {
  font-size: 113%;
  line-height: 1.57;
  margin-bottom: 3.14rem;
}

h6 {
  font-size: 107%;
  line-height: 1.57;
  margin-bottom: 3.14rem;
}

p,
ul,
ol,
.text-lg {
  margin: 1.57rem 0;
}

section {
  margin: 2rem 0;
}

section p:last-child,
section ul:last-child,
section ol:last-child {
  margin-bottom: 0;
}

a,
a:active,
a:visited {
  color: var(--color-fern);
  position: relative;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-dark-spruce);
}

section a {
  text-decoration: dotted underline;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

main ul {
  margin: 0 1.5rem;
  list-style-type: square;
}

label {
  display: flex;
  justify-content: stretch;
  flex-direction: column;
}

input,
select,
textarea {
  font-family: "Chivo", sans-serif;
  font-size: 1rem;
  font-weight: 200;
  margin: 0.5rem 0 0;
  padding: 0.8rem 0.7rem 0.7rem;
  background-color: var(--color-porcelain);
  border: 0;
  color: var(--color-ink-black);
  line-height: 1.57;
}

select {
  padding-top: 1.1rem;
  padding-bottom: 0.91rem;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
input[type="submit"]:focus {
  outline: 2px solid var(--color-emerald);
}

.btn,
button,
input[type="submit"] {
  border: 0.25rem solid var(--color-ink-black);
  box-shadow: 0.25rem 0.25rem 0 0 var(--color-emerald);
  color: var(--color-ink-black);
  cursor: pointer;
  display: inline-block;
  font-family: "Chivo", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 1.25rem 2rem;
  text-decoration: none;
  transition: all 0.17s ease-in-out;
}

.btn,
.btn:link,
.btn:visited {
  background-color: var(--color-snow);
  color: var(--color-ink-black);
}

.btn:active,
.btn:focus,
.btn:hover {
  box-shadow: 0 0 0 0.5rem var(--color-emerald);
  outline: 0;
}

.btn:active {
  background-color: var(--color-porcelain);
}

.btn--contact {
  margin: 2rem 0 2.5rem;
  text-align: center;
}

.btn--contact:first-child {
  margin-top: 0;
}

.btn--contact:last-child {
  margin-bottom: 0;
}

.tearstrip {
  background: url("/static/images/bg-tearstrip.png") 0 0 repeat transparent;
  background-size: contain;
  border-right: 1px dotted var(--color-fern);
  border-left: 1px dotted var(--color-fern);
  max-width: 63px;
  width: 5%;
  min-width: 1rem;
}

.content {
  width: 90%;
}

.container {
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 640px;
}

.site-nav {
  padding: 1rem 0;
}

.site-nav .container {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.logo-mh {
  line-height: 1;
  grid-column: 1 / span 2;
  margin-bottom: 0;
}

.logo-mh a,
.logo-mh a:link,
.logo-mh a:active,
.logo-mh a:visited {
  color: var(--color-ink-black);
}

.logo-mh a:hover,
.logo-mh a:focus {
  color: var(--color-fern);
}

.menu-toggle {
  box-shadow: none;
  border-width: 0.125rem;
  font-size: 1.5rem;
  height: 2rem;
  justify-self: end;
  line-height: 1.2;
  padding: 0 0.05rem 0 0;
  text-align: center;
  width: 2rem;
}

.menu-toggle:active,
.menu-toggle:focus,
.menu-toggle:hover {
  box-shadow: 0 0 0 0.25rem var(--color-emerald);
}

.menu-toggle::before {
  content: "☰";
}

.menu-toggle[aria-expanded="true"]::before {
  content: "×";
  font-size: 1.7rem;
  line-height: 1.1;
}

.menu-wrapper {
  grid-column: 1 / span 3;
  height: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.63s ease-in;
}

.menu-wrapper.expanded {
  height: auto;
  max-height: 100vh;
}

.menu-links {
  align-items: end;
  display: flex;
  flex-direction: column;
  margin: 2rem 0.3rem 1rem 0;
  list-style: none;
  line-height: 1;
  gap: 1rem;
  grid-column: 1 / span 3;
  justify-content: end;
}

.menu-links a::before {
  content: "";
  background-color: var(--color-emerald);
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  right: 0;
  transition: all 0.21s ease-in-out;
  z-index: -1;
}

.menu-links a:hover::before,
.menu-links a:focus::before {
  left: -0.25rem;
  right: -0.25rem;
  bottom: -0.25rem;
  height: 2rem;
}

.menu-links a:focus::before,
.menu-links a:focus-visible::before,
.menu-links a:active::before {
  outline: 0;
  transition: none;
}

.menu-links a:hover,
.menu-links a:focus {
  color: var(--color-porcelain);
}

.hero {
  background: url("/static/images/bg-dotmatrix-porcelain.png") 0 0 repeat var(--color-porcelain);
  border-bottom: 1px dashed var(--color-fern);
  border-top: 1px dashed var(--color-fern);
  padding: 2rem;
  color: var(--color-ink-black);
  text-align: center;
}

.hero h1:only-child {
  margin-bottom: 0;
}

.hero .container {
  max-width: 600px;
}

.hero a,
.hero a:link,
.hero a:visited,
.hero a:active,
.hero a:hover {
  color: var(--color-ink-black);
  text-decoration: none;
}

.site-footer {
  background: url("/static/images/bg-dotmatrix-porcelain.png") 0 0 repeat var(--color-porcelain);
  border-top: 1px dashed var(--color-fern);
  padding: 4rem 0;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
}

.site-footer .container svg {
  height: 1.25rem;
  width: 1.25rem;
}

.site-footer a svg,
.site-footer a:active svg,
.site-footer a:visited svg {
  fill: var(--color-fern);
}

.site-footer a:hover svg,
.site-footer a:focus svg {
  fill: var(--color-dark-spruce);
}

.site-footer div:nth-child(2) a {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.alternating-sections > section {
  margin-top: 0;
  margin-bottom: 0;
  padding: 4rem 0;
}

.alternating-sections > section:nth-child(2n) {
  background: url("/static/images/bg-dotmatrix-porcelain.png") 0 0 repeat var(--color-porcelain);
  border-bottom: 2px dashed var(--color-fern);
  border-top: 2px dashed var(--color-fern);
}

.alternating-sections > section:last-child {
  border-bottom: 0;
}

.about-partners {
  list-style-type: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: stretch;
  margin-top: 2rem;
}

.about-partners {
  display: flex;
  flex-wrap: wrap;
}

.about-partners a {
  flex: 0 1 40%;
}

.about-partners svg {
  height: 100%;
  width: 100%;
}

.about-partners .logo-motional svg {
  max-height: 50px;
}

.about-partners .logo-asapp svg {
  max-height: 28px;
}

.about-partners .logo-nvidia svg {
  position: relative;
  top: -6px;
}

.about-partners a svg,
.about-partners a:active svg,
.about-partners a:visited svg {
  fill: var(--color-fern);
}

.about-partners a:hover svg,
.about-partners a:focus svg {
  fill: var(--color-dark-spruce);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.57rem;
}

.contact-form b {
  margin-left: 0.65rem;
}

.contact-form .btn {
  margin: 2rem auto 1rem;
  display: inline-block;
}

.glide__slide {
  white-space: normal;
  text-align: center;
}

.glide__track {
  margin-bottom: 1.57rem;
}

.glide__slide h3 {
  margin-bottom: 1.49rem;
}

.glide__bullets {
  bottom: -1.57rem;
}

.glide__bullet {
  background-color: color-mix(in hsl, var(--color-ink-black), transparent 75%);
}

.glide__bullet--active {
  background-color: var(--color-ink-black);
}

@media (min-width: 640px) {
  body {
    font-size: 107%;
  }

  section {
    margin: 4rem 0;
  }

  main ul {
    margin: 0 2.5rem;
  }

  .btn--contact {
    margin: 4rem 0 4.25rem;
  }

  .site-nav {
    padding: 2rem 0;
  }

  .hero {
    padding: 4rem 2rem;
  }

  .about-partners a {
    flex: 0 0 30%;
  }
}
