* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #d2cdd6;
  color: black;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("assets/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  isolation: isolate;
}

/*.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
  background: #8c8c8c;
  filter: url(#noiseFilter);
}*/

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 6vh;
  padding: 0 clamp(24px, 4vw, 64px);
  gap: clamp(32px, 6vh, 72px);
}

.hero-content {
  width: 100%;
  padding: 0;
}

.hero-content__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
}

.hero-content__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 1 28rem;
  max-width: 28rem;
  margin-top: clamp(150px, 2.5vh, 28px);
  margin-left: auto;
}

.hero-content__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 0 1 auto;
}

.hero-logo {
  margin-bottom: clamp(10px, 1.5vh, 16px);
  color: black;
  padding-left: 5px;
}

.hero-logo__svg {
  display: block;
  width: 100px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.hero-logo__l {
  d: path(
    "M119.219 3.85205L134.419 3.85205L134.419 62.2521L119.219 62.2521L119.219 3.85205Z"
  );
  animation: logo-l-tilt 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes logo-l-tilt {
  to {
    d: path(
      "M128.035 2.88L142.717 6.81405L127.602 63.2241L112.92 59.2901L128.035 2.88Z"
    );
  }
}

.hero h1 {
  font-family: "Mona Sans", sans-serif;
  font-weight: 600;
  font-stretch: expanded;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1;
  color: #000000;
}

.hero-subtitle {
  font-family: monospace, "Mona Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #38343d;
  text-align: right;
}

.hero-subtitle--emphasis {
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 3vh, 36px);
}

.hero-meta {
  text-align: center;
  font-family: "Mona Sans", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #6f6878;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 36px 10px 18px;
  border-radius: 999px;
  background: #a399b1;
  color: white;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    sans-serif;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.download-button:hover {
  background: #a399b1;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(86, 44, 128, 0.16);
}

.download-button:active {
  transform: translateY(0);
}

.download-button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}

.download-button__icon svg {
  width: 16px;
  height: 16px;
}

.download-button__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.1;
}

.download-button__label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.download-button__store {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-footer {
  position: absolute;
  bottom: clamp(20px, 4vh, 40px);
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.site-footer p {
  font-family: "Mona Sans", sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #38343d;
}

.noise-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-content__row {
    flex-direction: column;
    align-items: center;
  }

  .hero-content__heading {
    align-items: center;
    text-align: center;
  }

  .hero-logo {
    padding-left: 0;
  }

  .hero-content__aside {
    align-items: center;
    margin-top: 0;
    margin-left: 0;
    flex: 1 1 auto;
    max-width: 36rem;
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-actions {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo__l {
    animation: none;
    d: path(
      "M128.035 2.88L142.717 6.81405L127.602 63.2241L112.92 59.2901L128.035 2.88Z"
    );
  }
}
