@font-face {
  font-family: Manrope;
  src: url("./fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("./fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("./fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  color: #101116;
  background: #f8f8f8;
  font: 500 1rem/1.45 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.showcase {
  position: relative;
  isolation: isolate;
  background-color: #f8f8f8;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(8px, 1.15vh, 16px);
  height: 100vh;
  height: 100svh;
  min-height: 500px;
  padding: clamp(18px, 3.1vh, 42px) clamp(12px, 2.4vw, 56px) clamp(10px, 1.6vh, 25px);
}
.showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, #343a4910 1px, transparent 1px),
                    linear-gradient(to bottom, #343a4910 1px, transparent 1px);
  background-size: 54px 54px;
  background-position: center top;
  mask-image: linear-gradient(to bottom, #0009, #0006 28%, transparent 64%);
}
.hero {
  position: relative;
  z-index: 2;
  justify-self: center;
  text-align: center;
}
h1 {
  margin: 0;
  font-size: clamp(40px, min(6.1vw, 7.6vh), 82px);
  font-weight: 800;
  line-height: 1.015;
  letter-spacing: -.052em;
  color: #090909;
}
h1 span, .intro span { display: block; }
h1 span + span { color: #626776; }
.intro {
  margin: clamp(10px, 1.6vh, 20px) 0 0;
  color: #3f4351;
  font-size: clamp(15px, 1.9vh, 18px);
  line-height: 1.48;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.actions {
  margin-top: clamp(13px, 2.1vh, 25px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: clamp(44px, 5.3vh, 54px);
  padding: 9px clamp(21px, 2vw, 32px);
  border-radius: 999px;
  font-size: clamp(15px, 1.85vh, 18px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}
.start { color: #fff; background: #101116; }
.download { position: relative; text-align: start; }
.download summary { color: #171923; background: #ececef; list-style: none; user-select: none; }
.download summary::-webkit-details-marker { display: none; }
.download summary::after {
  content: "";
  width: .5em;
  height: .5em;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  transform: translateY(-2px) rotate(45deg);
}
.download[open] summary::after { transform: translateY(2px) rotate(225deg); }
.download-links {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: max(100%, 218px);
  padding: 5px;
  border: 1px solid #e1e2e5;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 30px #16192217;
}
.download-links a {
  display: block;
  border-radius: 12px;
  padding: 10px 13px;
  color: #15171e;
  text-decoration: none;
  font-size: .91rem;
  font-weight: 600;
}
.download-links small { display: block; color: #636875; font-size: .77rem; font-weight: 500; }
.process {
  min-height: 0;
  min-width: 0;
  display: grid;
  place-items: center;
  container-type: size;
  mix-blend-mode: darken;
}
.frame {
  overflow: hidden;
  position: relative;
  width: min(100%, 1470px);
  width: min(100cqw, 183.67cqh, 1470px);
  aspect-ratio: 1440 / 784;
  filter: brightness(1.035);
  mask-image: linear-gradient(to right, transparent, black 1%, black 97.7%, transparent),
              linear-gradient(to bottom, transparent, black 3%, black 97%, transparent);
  mask-composite: intersect;
}
/* Each time sample holds two 16:10 views. Only the empty top and bottom margins are cropped. */
.frame > * {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 200%;
  height: auto;
  aspect-ratio: 16 / 5;
  transform: translateY(-50%);
}
html[lang="en"] .frame > * { transform: translate(-50%, -50%); }
.language {
  position: fixed;
  z-index: 3;
  top: max(6px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #686e70;
  font: 500 12px/1 Manrope, sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
}
:where(a, button, summary):focus-visible { outline: 2px solid #626776; outline-offset: 3px; }
@media (hover: hover) {
  .start:hover { background: #2a2b30; }
  .download summary:hover { background: #e1e2e6; }
  .download-links a:hover { background: #f3f4f5; }
  .language:hover { color: #262b2d; background: #70777910; }
}
@media (max-aspect-ratio: 1/1) {
  .showcase {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(25px, 5vh, 48px);
    padding: max(58px, env(safe-area-inset-top)) 14px max(28px, env(safe-area-inset-bottom));
  }
  h1 { font-size: clamp(36px, 8.9vw, 65px); }
  .intro { max-width: 38em; margin: 16px auto 0; }
  .process { width: 100%; container-type: normal; }
  .frame { width: 100%; }
}
@media (max-width: 550px) {
  .intro { max-width: 25em; font-size: 14px; }
  .intro span + span { margin-top: 5px; }
  .actions { gap: 7px; margin-top: 18px; }
  .action { min-height: 44px; padding-inline: 14px; gap: 9px; font-size: 13px; }
}
