@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@600&display=swap');
:root {
  --text-primary: rgb(18, 18, 18);
  --text-secondary: rgb(72, 72, 72);
  --palette-primary: #325D88;
  --palette-primary-highlight: #3e4e63;
  --border: rgb(203, 203, 203);
  --gradient: #f4f7fa;
}
html {
  color-scheme: light dark;
}
body {
  font-family: system-ui;
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0;
  color: var(--text-primary);
}
img,
svg,
video {
  max-width: 100%;
  display: block;
}
header,
footer {
  font-family: system-ui;
  padding: 1rem;
}
.page-width {
  max-width: 1140px;
  margin: 0 auto;
}
footer {
  background-color: var(--gradient);
}
footer small {
  font-size: 1rem;
  font-family: monospace;
}
.logo {
  display: flex;
}
.logo > img {
  display: inline;
  padding-right: 0.5rem;
}
h1,
h2,
h3,
h4 {
  font-family: "Hanken Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 4rem;
  text-align: center;
}
h2 {
  font-size: 3rem;
  margin-top: 4rem;
  margin-bottom: 0;
}
h3 {
  text-align: start;
  font-size: 2rem;
  margin-top: 2rem;
  margin-left: 2rem;
  margin-bottom: 0;
}
h4 {
  text-align: start;
  font-size: 1.6rem;
  margin: 0;
}
p {
  max-width: min(70ch, 100% - 4rem);
  margin-inline: auto;
  color: var(--text-secondary);
}
p.centered {
  text-align: center;
}
img.centered {
  margin: auto;
}
section {
  padding-bottom: 4rem;
}
.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 3rem;
  /*grid-auto-rows: minmax(100px, auto);*/
  max-width: min(70ch, 100% - 4rem);
  margin: auto;
}
.highlights > img {
  /* horizontal */
  justify-self: center;
  /* vertical */
  align-self: center;
}
/*cards holder*/
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  /*grid-auto-rows: minmax(100px, auto);*/
  max-width: min(70ch, 100% - 4rem);
  margin: auto;
  padding-top: 4rem;
}
/*cards*/
.features > div {
  border: 1px solid var(--border);
  background-color: #fff;
  border-radius: 6px;
  padding: 1rem;
  font-size: 1.25rem;
}
/*inline icon aligned vertically*/
.features h4 {
  display: flex;
  margin-bottom: 0.8rem;
}
.features img {
  display: inline;
  margin-right: 1rem;
  align-self: center;
}
.gradient-bottom {
  background: linear-gradient(180deg, #fff, var(--gradient));
}
.gradient-top {
  background: linear-gradient(0, #fff, var(--gradient));
}
img.screenshot {
  box-sizing: border-box;
  /*padding-bottom: 10px;;*/
  box-shadow: 0px 10px 26px 0px rgba(0, 0, 0, .25);
  border-radius: 8px
}
.shadow {
  box-shadow: 0px 10px 26px 0px rgba(0, 0, 0, .25);
}
a[role=button] {
  text-align: center;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
  background-color: var(--palette-primary);
  color: #fff;
  text-decoration: none;
  display: block;
}
a[role=button]:hover {
  background-color: var(--palette-primary-highlight);
}
a[role=button] ~ small {
  display: block;
  font-size: 0.9rem;
}
.group {
  display: inline-block;
}
#screenshot-alt {
  display: none;
}
@media screen and (max-width: 800px) {
  .features {
    display: flex;
    flex-wrap: wrap;
    /*grid-auto-rows: minmax(100px, auto);*/
    max-width: min(70ch, 100% - 4rem);
    margin: auto;
    padding-top: 4rem;
  }
  .features > div {
    width: 100%;
  }
  .highlights {
    display: flex;
    flex-wrap: wrap;
    /* grid gap still active in flex*/
    grid-gap: 0;
  }
  .highlights > img.desktop {
    display: none;
  }
  .highlights > img {
    margin: auto;
  }
  #screenshot-main {
    display: none;
  }
  #screenshot-alt {
    display: block;
    box-shadow: none;
  }
}