html {
  box-sizing: border-box;
  color-scheme: dark;
  min-height: 100dvh;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

:root {
  --grey-200-lch: 93.64% 0.005 258.33;
  --grey-200-hex: #e8eaed;
  --grey-200: var(--grey-200-hex);

  --grey-500-lch: 70.28% 0.011 247.99;
  --grey-500-hex: #9aa0a6;
  --grey-500: var(--grey-500-hex);

  --primary-color: var(--grey-200);
  --secondary-color: var(--grey-500);

  --top-bar-height: 56px;
  --page-horizontal-padding: 40px;
}

body {
  background: radial-gradient(circle at 50% -30%, #1e1e3a 0%, #0c0c1a 40%, #050507 100%);
  color: var(--primary-color);
  font-family: "Source Sans 3", sans-serif;
  margin: 0;
  min-height: 100dvh;
}

:target { scroll-margin-top: calc(var(--top-bar-height) - 20px); }

path {
  fill: var(--primary-color);
}

.page {
  margin: 0 auto;
  margin-top: var(--top-bar-height);
  max-width: 1200px;
  min-height: calc(100dvh - var(--top-bar-height));
  padding: 0 var(--page-horizontal-padding);
}

.policy {
  margin: 0 auto;
  max-width: 650px;
  padding-top: 15px;
}

.top-bar {
  backdrop-filter: blur(12px);
  display: flex;
  height: var(--top-bar-height);
  justify-content: space-between;
  left: 0;
  margin: 0 auto;
  max-width: min(1200px, 100vw);
  padding: 0 var(--page-horizontal-padding);
  position: fixed;
  right: 0;
  top: 0;
}
.top-bar__logo {
  fill: var(--primary-color);
  height: 22px;
}
.top-bar__start {
  display: flex;
}
.top-bar__end {
  display: flex;
}
body.scrolled .top-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu {
  align-self: center;
  display: flex;
  gap: 34px;
}

.menu__item {
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 500;
}
.menu__item--brand {
  font-weight: 400;
}
.menu__item:not(.menu__item--brand):hover .menu__link {
  color: var(--secondary-color);
}

a.menu__link {
  color: var(--primary-color);
  text-decoration: none;
}
.menu__link {
  align-items: center;
  display: flex;
  gap: 10px;
}

.menu__icon {
  height: 16px;
  width: 16px;
}

a.menu__cta {
  color: var(--primary-color);
  text-decoration: none;
}
.menu__cta {
  align-self: flex-start;
  background: linear-gradient(to right, #426292 0%, #6c4791 68%, #7d556f 100%);
  border-radius: 20px;
  flex-shrink: 1;
  padding: 5px 12px;
}
.menu__cta:hover {
  box-shadow: 0 0 16px rgba(52, 88, 143, 0.4);
  filter: brightness(110%);
}

.view {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh);
  padding-bottom: 50px;
  text-align: center;
}

.view__title {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.05;
  margin: 5svh 0 18svh 0;
}

.homepage {
  min-height: calc(100dvh - var(--top-bar-height));
}

.homepage__title {
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 1.05;
  margin: 18svh 0 38px 0;
  max-width: 740px;
  text-align: center;
}

.homepage__subtitle {
  color: var(--secondary-color);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 9svh 0;
  max-width: 620px;
}

a.homepage__cta {
  color: var(--primary-color);
  text-decoration: none;
}
.homepage__cta {
  align-items: center;
  background: linear-gradient(to right, #426292 0%, #6c4791 68%, #7d556f 100%);
  border-radius: 20px;
  display: flex;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px;
}
.homepage__cta:after {
  border: solid var(--primary-color);
  border-bottom-width: 0;
  border-inline-end-width: 3px;
  border-inline-start-width: 0;
  border-top-width: 3px;
  content: "";
  display: inline-block;
  height: 8px;
  margin-inline-start: 5px;
  transform: rotate(45deg);
  width: 8px;
}
html[dir=rtl] .homepage__cta:after {
  border-bottom-width: 3px;
  border-top-width: 0;
}

.homepage__cta:hover {
  box-shadow: 0 0 16px rgba(52, 88, 143, 0.4);
  filter: brightness(110%);
}

.apps {
  display: flex;
  gap: 100px;
  justify-content: center;
}

.app {
  --width: 260px;
  display: flex;
  flex: 1 0 var(--width);
  flex-direction: column;
  gap: 15px;
  max-width: var(--width);
  text-align: center;
}

.app__icon {
  height: 45px;
}

.app__title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 10px 0;
}

.app__description {
  color: var(--secondary-color);
  font-size: 1rem;
  margin: 0;
}

.footer {
  margin-top: 50px;
  text-align: center;
}

@media (width < 768px) {
  :root {
    --page-horizontal-padding: 12px;
  }

  .menu {
    gap: 12px;
  }

  .homepage__title {
    font-size: 3.4rem;
    margin: 13svh 0 30px 0;
  }

  .homepage__subtitle {
    font-size: 1.4rem;
    margin: 0 0 8svh 0;
  }

  .apps {
    flex-wrap: wrap;
    gap: 35px;
  }

  .app__title {
    margin: 0;
  }

  .view__title {
    font-size: 3rem;
    margin: 5svh 0 8svh 0;
  }
}
