:root {
  --page-bg: #f7f9fb;
  --text-primary: #003d9b;
  --text-secondary: #526069;
  --text-dark: #191c1e;
  --chip-blue: #0052cc;
  --card-gray: #e0e3e5;
  --card-light: #f2f4f6;
  --chip-gray: #eceef0;
  --chip-gray-text: #737685;
  --manga-blue: #0052cc;
  --manga-light-text: #b2c5ff;
  --shadow-soft: 0 40px 80px rgba(0, 0, 0, 0.03);
  --shadow-hero: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-button: 0 40px 60px rgba(0, 61, 155, 0.2);
  --shadow-topbar: 0 4px 11.6px rgba(0, 0, 0, 0.1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--page-bg);
  font-family: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  color: var(--text-dark);
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(247, 249, 251, 0.88) 100%),
    var(--page-bg);
}

.desktop-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 48vw;
  min-width: 220px;
  height: 100%;
  background: url("./imgs/right-background.png") center top / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.mobile-page {
  position: relative;
  width: min(100%, 360px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0 0 calc(89px + var(--safe-bottom));
  background:
    radial-gradient(circle at calc(100% + 52px) 0, rgba(218, 226, 255, 0.3) 0, rgba(218, 226, 255, 0.3) 128px, rgba(247, 249, 251, 0) 256px),
    var(--page-bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 61px;
  padding: calc(12px + var(--safe-top)) 20px 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-topbar);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.topbar__title {
  color: var(--chip-blue);
  font-size: 14px;
  line-height: 23px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.topbar__spark {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 115px;
  height: 34px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--chip-blue);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: #f8f8ff;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
}

.hero {
  padding: 53px 16px 0;
}

.hero__copy {
  text-align: center;
}

.hero__copy h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 40px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: 1px;
}

.hero__copy p {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 29.25px;
}

.hero__visual {
  position: relative;
  width: 280px;
  height: 192px;
  margin: 26px auto 0;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-hero);
}

.hero__visual img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  background: linear-gradient(180deg, rgba(0, 61, 155, 0) 0%, rgba(0, 61, 155, 0.4) 100%);
}

.feature-grid {
  padding: 59px 24px 64px;
}

.card {
  position: relative;
  border-radius: 32px;
}

.card--accelerator {
  overflow: hidden;
  padding: 24px;
  background: var(--card-light);
}

.card__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card__header--spread {
  justify-content: space-between;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex: 0 0 auto;
}

.icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-badge--plain {
  width: 44px;
  height: 40px;
}

.icon-badge--dark {
  width: 40px;
  height: 44px;
}

.icon-badge--orange {
  width: 40px;
  height: 40px;
  background: #ffdbd1;
}

.icon-badge--orange img {
  width: 20px;
  height: 16px;
}

.icon-badge--glass {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.icon-badge--glass img {
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag--blue {
  background: #dae2ff;
  color: var(--chip-blue);
  font-size: 10px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: 1px;
}

.tag--gray {
  background: var(--chip-gray);
  color: var(--chip-gray-text);
  font-size: 12px;
  line-height: 16px;
}

.card__body {
  margin-top: 16px;
}

.card__body h2,
.card--browser h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.feature-list img {
  width: 13.333px;
  height: 13.333px;
  flex: 0 0 13.333px;
}

.card__watermark {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100px;
  height: 100px;
}

.card--browser {
  margin-top: 16px;
  padding: 24px;
  background: var(--card-gray);
}

.card--browser h2 {
  color: var(--text-dark);
  font-weight: 400;
}

.card__description {
  margin: 16px 0 0;
  color: #434654;
  font-size: 14px;
  line-height: 20px;
}

.tag-list {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.card--player,
.card--manga {
  min-height: 191px;
  padding: 20px;
}

.card--player {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.card--manga {
  background: var(--manga-blue);
}

.card--player h3,
.card--manga h3 {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.card--player h3 {
  color: var(--text-primary);
}

.card--manga h3 {
  color: #ffffff;
}

.mini-list {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 16.5px;
}

.mini-list--light {
  color: var(--manga-light-text);
}

.social-proof {
  width: 313px;
  margin: 0 auto;
  padding: 33px;
  border: 1px solid rgba(195, 198, 214, 0.1);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.avatars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-right: 12px;
}

.avatars img,
.avatars span {
  width: 40px;
  height: 40px;
  margin-right: -12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.avatars img {
  object-fit: cover;
}

.avatars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dae2ff;
  color: var(--text-primary);
  font-size: 10px;
  font-weight: 600;
  line-height: 15px;
}

.social-proof h2 {
  margin: 16px 0 0;
  color: var(--text-dark);
  font-family: Manrope, "Noto Sans SC", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 28px;
}

.social-proof p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.bottom-spacer {
  height: 100px;
}

.download-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  display: flex;
  justify-content: center;
  padding: 0 24px calc(32px + var(--safe-bottom));
  pointer-events: none;
}

.download-button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 312px);
  min-height: 64px;
  padding: 20px 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #003d9b 0%, #0052cc 100%);
  box-shadow: var(--shadow-button);
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
}

.download-button img {
  width: 16px;
  height: 16px;
}

@media (min-width: 768px) {
  .page-shell {
    display: flex;
    justify-content: flex-start;
  }

  .mobile-page {
    margin-left: 0;
  }

  .download-bar {
    justify-content: flex-start;
    width: 360px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 767px) {
  .desktop-background {
    width: 100%;
    min-width: 0;
    opacity: 0.3;
  }

  .mobile-page {
    width: 100%;
    margin: 0 auto;
  }
}

@supports not (backdrop-filter: blur(4px)) {
  .topbar,
  .icon-badge--glass {
    background-color: rgba(255, 255, 255, 0.96);
  }

  .icon-badge--glass {
    background-color: rgba(255, 255, 255, 0.25);
  }
}
