* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  overflow-x: hidden;
  background: #f3f1e9;
  color: #172529;
  font:
    16px system-ui,
    sans-serif;
}
main {
  width: min(1320px, 94vw, calc((100dvh - 202px) * 1.777778));
}
header,
.brand,
.brand a {
  display: flex;
  align-items: center;
}
header {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.brand {
  gap: 12px;
  min-width: 0;
  letter-spacing: -0.04em;
  font-size: clamp(13px, 1.5vw, 21px);
}
.brand a {
  gap: 6px;
  text-decoration: none;
  font-weight: 650;
  white-space: nowrap;
}
.brand img {
  background: #172529;
  border-radius: 7px;
  max-width: 7vw;
  object-fit: contain;
}
.brand span {
  color: #9a9b93;
}
.brand strong {
  min-width: 0;
  line-height: 1.15;
  font-weight: 540;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
.screening {
  position: relative;
}
#after-film {
  position: absolute;
  right: 4%;
  bottom: max(42px, 8%);
  background: #f3f1e9;
  color: #172529;
  border: 1px solid #172529;
  border-radius: 999px;
  padding: 10px 17px;
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 650;
  text-decoration: none;
}
.try {
  font-size: clamp(11px, 1.2vw, 14px);
  text-align: right;
}
video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #172529;
  border-radius: 9px;
}
nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}
[hidden] {
  display: none !important;
}
nav button {
  background: transparent;
  color: #49534e;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 0;
  border-top: 2px solid #cbcdc2;
  padding: 7px 2px 4px;
  font-size: clamp(11px, 1.1vw, 16px);
  line-height: 1.22;
}
nav button small {
  display: block;
  font:
    10px ui-monospace,
    monospace;
  color: #606c65;
  margin-bottom: 4px;
}
nav button:hover,
nav button[aria-current="step"] {
  color: #162725;
  border-top-color: #ad482d;
}
nav button[aria-current="step"] {
  font-weight: 650;
}
:focus-visible {
  outline: 2px solid #97492b;
  outline-offset: 3px;
}
@media (max-width: 560px) {
  main {
    width: 94vw;
  }
  header {
    gap: 8px;
  }
  .brand {
    gap: 6px;
  }
  .brand img {
    height: 22px;
    width: 22px;
  }
  nav {
    gap: 5px;
  }
  nav button {
    min-height: 43px;
  }
}
@media (max-height: 460px) {
  main {
    width: min(95vw, calc((100dvh - 140px) * 1.777778));
  }
  header {
    margin-bottom: 5px;
  }
  .brand img {
    width: 20px;
    height: 20px;
  }
  nav {
    margin-top: 5px;
  }
  nav button {
    min-height: 0;
    padding: 3px 0;
  }
  nav button small {
    margin-bottom: 1px;
  }
}

main {
  margin: 14px auto;
}
#demo-assistent {
  margin-top: 14px;
  scroll-margin: 12px;
}
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 650;
  color: #fff;
  background: #203a32;
  border-radius: 8px;
  padding: 10px 17px;
  text-decoration: none;
}
.demo-link:hover {
  background: #2c4b40;
}
#demo-frame {
  display: block;
  margin-top: 12px;
  width: 100%;
  height: min(810px, 89dvh);
  min-height: 270px;
  border: 1px solid #cbd1c8;
  border-radius: 12px;
  background: #eeeee8;
}
