:root {
  font:
    16px/1.55 system-ui,
    sans-serif;
  color: #1f2927;
  background: #f5f4ed;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header,
footer {
  max-width: 1200px;
  margin: auto;
  padding: 30px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
header {
  border-bottom: 1px solid #cfd3c8;
}
.brand {
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand span {
  display: block;
  font: 10px/2 system-ui;
  letter-spacing: 2px;
  color: #69746a;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 56px 36px 80px;
}
h1 {
  font-size: clamp(38px, 6vw, 66px);
  letter-spacing: -3px;
  line-height: 1.07;
  margin: 0 0 20px;
  font-weight: 650;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
}
.intro {
  max-width: 640px;
  font-size: 20px;
  color: #5d685f;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #5d685f;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 44px 0 22px;
}
input,
button,
.download {
  font: inherit;
  border: 1px solid #c7cdbf;
  background: #fffefa;
  border-radius: 8px;
  padding: 10px 16px;
  color: inherit;
}
input {
  width: min(380px, 65%);
}
button {
  cursor: pointer;
}
.toggle {
  display: flex;
}
.toggle button {
  border-radius: 0;
}
.toggle button:first-child {
  border-radius: 8px 0 0 8px;
}
.toggle button:last-child {
  border-radius: 0 8px 8px 0;
}
.toggle button[aria-pressed="true"] {
  background: #253d31;
  color: white;
}
.apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.app {
  border: 1px solid #d4d7cc;
  background: #fffefa;
  border-radius: 14px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.app:hover {
  transform: translateY(-3px);
  border-color: #697f62;
  text-decoration: none;
}
.app img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
}
.app h2 {
  margin: 0;
}
.app p {
  margin: 0;
  color: #647065;
}
.app small {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  color: #647065;
}
.apps.list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.list .app {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0 20px;
  padding: 16px 22px;
}
.list .app img {
  grid-row: 1/3;
  width: 42px;
  height: 42px;
  margin: 0;
}
.list .app h2 {
  font-size: 18px;
}
.list .app p {
  grid-column: 2;
  font-size: 14px;
}
.list .app small {
  grid-column: 3;
  grid-row: 1/3;
  padding: 0;
}
.back {
  display: inline-block;
  margin-bottom: 34px;
  color: #5d685f;
}
.detail-head {
  display: flex;
  gap: 26px;
  align-items: center;
}
.detail-head img {
  width: 96px;
  height: 96px;
}
.detail-head h1 {
  font-size: 48px;
  margin: 0;
}
.platforms {
  color: #637162;
  font-size: 13px;
}
.shots {
  display: grid;
  gap: 24px;
  margin: 40px 0;
}
.shots figure {
  margin: 0;
  border: 1px solid #d4d7cc;
  background: #e5e8dd;
  border-radius: 14px;
  padding: 34px;
  text-align: center;
}
.shots img {
  max-width: 100%;
  max-height: 650px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px #14271c20);
}
figcaption {
  font-size: 12px;
  color: #65715f;
  margin-top: 18px;
}
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.download {
  display: inline-block;
  background: #253d31;
  color: white;
  border-color: #253d31;
}
.download.secondary {
  background: transparent;
  color: #253d31;
}
footer {
  font-size: 13px;
  color: #647065;
  border-top: 1px solid #cfd3c8;
}
.empty {
  padding: 30px;
  color: #647065;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #608b63;
  outline-offset: 3px;
}
@media (max-width: 850px) {
  .apps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  header,
  footer {
    padding: 22px;
    align-items: flex-start;
  }
  main {
    padding: 36px 22px;
  }
  .apps {
    grid-template-columns: 1fr;
  }
  .list .app {
    grid-template-columns: 40px 1fr;
  }
  .list .app small {
    grid-column: 2;
    grid-row: auto;
  }
  .detail-head {
    align-items: flex-start;
  }
  .detail-head img {
    width: 64px;
    height: 64px;
  }
  .detail-head h1 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }
  .shots figure {
    padding: 15px;
  }
  footer {
    flex-direction: column;
  }
  .brand span {
    font-size: 8px;
  }
}
