@font-face {
  font-family: "Be Vietnam Pro";
  src: url("assets/fonts/BeVietnamPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("assets/fonts/BeVietnamPro-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("assets/fonts/BeVietnamPro-SemiBold.ttf") format("truetype");
  font-weight: 650;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("assets/fonts/BeVietnamPro-Bold.ttf") format("truetype");
  font-weight: 760;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07070a;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.13);
  --text: #fff7ea;
  --muted: rgba(255, 247, 234, 0.72);
  --soft: rgba(255, 247, 234, 0.48);
  --orange: #ff6a00;
  --amber: #ffb547;
  --violet: #c9bfff;
  font-family:
    "Be Vietnam Pro", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.62), rgba(7, 7, 10, 0.94) 58%, #07070a 100%),
    #07070a;
}

.background-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.background-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.08) contrast(1.08);
}

.background-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #07070a 0%, rgba(7, 7, 10, 0.44) 48%, #07070a 100%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.18) 0%, rgba(7, 7, 10, 0.82) 76%, #07070a 100%);
}

.page-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 38%, transparent 72%);
}

.page-shell::after {
  position: absolute;
  inset: 12% 16% auto;
  z-index: -1;
  height: 52%;
  content: "";
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.22), rgba(201, 191, 255, 0.12), transparent 72%);
  filter: blur(62px);
  opacity: 0.9;
  transform: skewY(-9deg);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(100%, 1120px);
  min-height: 76px;
  margin: 0 auto;
  padding: 18px 28px 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 760;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.hero {
  display: grid;
  justify-items: center;
  align-content: center;
  width: min(100%, 760px);
  min-height: calc(100svh - 176px);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px) 24px clamp(44px, 7vw, 78px);
  text-align: center;
}

.app-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(82px, 8vw, 98px);
  aspect-ratio: 1;
  margin-bottom: clamp(22px, 3vw, 28px);
}

.app-mark::before,
.app-mark::after {
  position: absolute;
  inset: -18%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34%;
  transform: rotate(12deg);
}

.app-mark::after {
  inset: -34%;
  border-color: rgba(255, 106, 0, 0.22);
  transform: rotate(-16deg);
}

.app-mark img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28%;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.48),
    0 0 62px rgba(255, 106, 0, 0.24);
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.9rem, 5.5vw, 4.7rem);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.56);
}

.subheadline {
  max-width: 590px;
  margin: clamp(16px, 2.5vw, 20px) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 400;
  line-height: 1.64;
  text-wrap: balance;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin-top: clamp(22px, 3.5vw, 28px);
  padding: 8px 20px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055) 42%, rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, rgba(18, 18, 22, 0.98), rgba(5, 5, 8, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.42),
    0 20px 70px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(255, 106, 0, 0.08);
  color: var(--text);
  font-size: 1rem;
  font-weight: 760;
  text-align: left;
  backdrop-filter: blur(24px);
}

.store-badge small {
  display: block;
  margin-bottom: 2px;
  color: var(--soft);
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1;
}

.apple-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.52rem;
  font-weight: 500;
  line-height: 1;
}

.site-footer {
  display: grid;
  align-items: center;
  justify-content: center;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 22px 28px 26px;
  color: rgba(255, 247, 234, 0.46);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .topbar {
    min-height: 76px;
    padding: 18px 20px 6px;
  }

  .hero {
    min-height: calc(100svh - 192px);
    padding: 44px 20px 72px;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 4.7rem);
  }

  .subheadline {
    font-size: 0.98rem;
  }

  .site-footer {
    padding: 28px 20px 24px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-inline: 18px;
  }

  .app-mark {
    width: 86px;
  }

  .store-badge {
    width: min(100%, 258px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
