:root {
  --fs-sm: clamp(0.7rem, 0.09vi + 0.68rem, 0.75rem);
  --fs-base: clamp(0.88rem, 0.23vi + 0.82rem, 1rem);
  --fs-md: clamp(1.09rem, 0.43vi + 0.78rem, 1.33rem);
  --fs-lg: clamp(1.37rem, 0.74vi + 1.18rem, 1.78rem);
  --fs-xl: clamp(1.71rem, 1.2vi + 1.41rem, 2.37rem);
  --fs-xxl: clamp(2.14rem, 1.86vi + 1.67rem, 3.16rem);
  --fs-xxxl: clamp(2.67rem, 2.8vi + 1.97rem, 4.21rem);

  --color-neutral-100: #fcfcfc;
  --color-neutral-97: #f1f1f1;
  --color-neutral-95: #e8e8e8;
  --color-neutral-50: #8a8a8a;
  --color-neutral-10: #313131;
  --color-neutral-00: #0c0c0c;

  --color-accent-50: #e4ffc7;

  --color-gradient-0: linear-gradient(90deg, #6a6a6a 0%, #6a6a6a 100%);
  --color-gradient-1: linear-gradient(90deg, #bedf9b 0%, #ffc957 100%);
  --color-gradient-2: linear-gradient(90deg, #feca59 0%, #f89fca 100%);
  --color-gradient-3: linear-gradient(90deg, #fa9fc8 0%, #aea5f8 100%);

  --gap-xl: clamp(32px, 4vw, 56px);
  --gap-lg: clamp(23px, 4vw, 32px);
  --gap-md: calc(var(--gap-xl) / 2);

  --border-radius-xl: clamp(16px, 4vw, 50px);
  --border-radius-md: calc(var(--border-radius-xl) / 2);
}

@font-face {
  font-family: 'ClashDisplay-Medium';
  src: url(./font/clash/ClashDisplay-Medium.woff2) format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'ClashDisplay-Semibold';
  src: url(./font/clash/ClashDisplay-Semibold.woff2) format('woff2');
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  font-family: 'Manrope', Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: var(--fs-base);
  color: var(--color-neutral-00);
  text-wrap: pretty;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  background-color: var(--color-neutral-100);
}

.app-store-button {
  position: fixed;
  bottom: 66px;
  right: 50%;
  transform: translateX(50%);
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
  text-align: center;
}

.wrapper {
  display: flex;
  width: 95%;
  margin: 0 auto;
}

header,
footer {
  display: flex;
  margin: 0 auto;
  align-items: center;
  min-height: clamp(80px, 7vw, 180px);
}

header.wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

header .header__stores {
  display: flex;
  gap: var(--gap-md);
  justify-content: center;
  margin-left: auto;
}

header a {
  display: flex;
  justify-content: center;
  align-content: center;
}

header a img {
  max-height: 44px;
}

main {
  flex-direction: column;
  flex-grow: 1;
  margin-top: var(--gap-xl);
}

footer {
  justify-content: flex-start;
  color: var(--color-neutral-00);
  margin-top: 56px;
  font-weight: 600;
  gap: var(--gap-xl);
}

footer.wrapper {
  flex-direction: row;
}

footer nav {
  display: flex;
  gap: var(--gap-xl);
}

footer a {
  display: inline-flex;
  text-decoration: none;
  color: var(--color-neutral-00);
}

footer #contact {
  margin-left: auto;
}

.balloon {
  display: inline-flex;
  align-items: center;
  align-self: center;
  padding: 4px 18px;
  border-radius: 24px 24px 0 24px;
  background-color: var(--color-accent-50);
  min-height: 42px;
  font-family: 'ClashDisplay-Semibold';
  font-size: var(--fs-md);
  margin-bottom: var(--gap-md);
}

h2 {
  font-family: 'ClashDisplay-Semibold';
  font-size: var(--fs-xl);
  line-height: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--gap-md);
  text-wrap: balance;
}

h3,
.h3 {
  font-family: 'ClashDisplay-Semibold';
  font-size: var(--fs-xxl);
  line-height: var(--fs-xxl);
  font-weight: 700;
  margin-bottom: var(--gap-md);
  text-wrap: balance;
}

h4 {
  font-family: 'ClashDisplay-Semibold';
  font-size: var(--fs-md);
  line-height: var(--fs-md);
  font-weight: 700;
  margin-bottom: calc(var(--gap-lg) / 2);
  text-wrap: balance;
}

.copy-max-width {
  max-width: 850px;
}

p {
  font-size: var(--fs-md);
  margin: 0 auto var(--gap-md);
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  justify-content: space-between;
  gap: var(--fs-md);
  margin-top: var(--gap-xl);
  margin-bottom: var(--gap-xl);
}

.card-list .card {
  display: flex;
  flex-direction: column;
  width: clamp(260px, calc(100% / 3), 32%);
  padding: var(--gap-lg) var(--gap-md);
  border: 3px solid var(--color-neutral-97);
  border-radius: var(--border-radius-md);
  text-align: left;
}

.card-list .card p {
  font-size: var(--fs-base);
  margin-bottom: 0;
}

button {
  appearance: none;
  outline: none;
  border: none;
  font-family: 'ClashDisplay-Semibold';
  font-size: var(--fs-base);
  padding: 6px 12px;
  border-radius: 50px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color 0.1s ease;
  min-width: 200px;
}

button.btn--light,
button.btn--light:active:hover {
  background-color: var(--color-neutral-100);
  color: var(--color-neutral-00);
}

button.btn--light:hover {
  background-color: var(--color-neutral-95);
}

button.btn--dark,
button.btn--dark:active:hover {
  background-color: var(--color-neutral-00);
  color: var(--color-neutral-100);
}

button.btn--dark:hover {
  background-color: var(--color-neutral-10);
}

[accent] {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

[accent='0'] {
  -webkit-background-image: var(--color-gradient-0);
  background-image: var(--color-gradient-0);
}

[accent='1'] {
  -webkit-background-image: var(--color-gradient-1);
  background-image: var(--color-gradient-1);
}

[accent='2'] {
  -webkit-background-image: var(--color-gradient-2);
  background-image: var(--color-gradient-2);
}

[accent='3'] {
  -webkit-background-image: var(--color-gradient-3);
  background-image: var(--color-gradient-3);
}

.section__verse {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: var(--fs-md);
}

.hero-image {
  position: relative;
  z-index: -1;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, rgba(209, 199, 243, 0) 0%, rgba(209, 199, 243, 0.7805716036414566) 53%, rgba(209, 199, 243, 0) 100%);
  margin-top: calc(5vw * -1);
  margin-bottom: calc(5vw * -1);
}

.hero-image img,
.hero-image img.desktop-only,
.img-block {
  display: block;
  width: 100%;
}

.hero-image img.mobile-only {
  display: none;
}

.img-block {
  max-width: 900px;
}

.logo-list {
  display: flex;
  gap: var(--gap-lg);
  align-items: center;
  max-width: 500px;
  margin-bottom: var(--gap-md);
}

.logo-list img {
  width: 60px;
}

b {
  font-family: 'ClashDisplay-Semibold';
  letter-spacing: 0.5px;
}

small {
  color: var(--color-neutral-50);
}

section {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: calc(var(--gap-xl) * 2) 0;
  background: linear-gradient(180deg, var(--color-neutral-97) 0%, transparent 100%);
}

section .wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--gap-lg);
  margin: calc(var(--gap-xl) * 2) auto;
}

.section-verse-area {
  text-align: left;
  width: calc(50% - var(--gap-xl));
}

.section-verse-area.section-verse-area--banner-image img {
  width: 100%;
  filter: drop-shadow(0 0.2rem 0.5rem rgba(0, 0, 0, 0.2));
}

.section-verse-area p {
  margin-left: 0;
  max-width: 500px;
}

.section-verse-area p:has(img) {
  display: flex;
  align-items: center;
  gap: calc(var(--gap-md) / 2);
}

.sheep-black {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
}

.legal-content {
  text-align: left;
  align-items: flex-start;
}

.lega-content--center {
  margin: 0 auto !important;
  text-align: center;
}

.legal-content h2 {
  margin: 0 auto;
}

.legal-content p {
  margin-left: 0;
}

.legal-content h4 {
  margin-top: var(--gap-lg);
}

.legal-content ol,
.legal-content ul {
  list-style-position: inside;
  font-size: var(--fs-md);
  font-family: inherit;
  margin-inline-start: 0;
  padding-inline-start: 20px;
  margin-bottom: var(--gap-md);
}

.legal-content ol h4,
.legal-content li p {
  display: inline-flex;
}

.legal-content li p {
  margin-bottom: 0;
}

.legal-content > ol > li::marker {
  font-weight: bold;
}

.legal-content ol li::marker {
  content: counters(list-item, '.') ' ';
}

.legal-content ul li,
.legal-content ul li::marker {
  list-style-type: lower-alpha;
}

.legal-content ul li::marker {
  content: initial;
}

.legal-content ol > li {
  margin-bottom: var(--gap-md);
}

.legal-content ol li ol,
.legal-content ul li ul,
.legal-content ol li ul,
.legal-content ul li ol {
  margin: 0;
}

@media screen and (max-width: 900px) {
  .card-list {
    justify-content: center;
  }

  .card-list .card {
    width: 100%;
  }

  .section-verse-area {
    width: 100%;
  }

  .section-verse-area--banner-image {
    order: -1;
    margin: var(--gap-lg) auto;
  }
}

.data {
  display: inline-flex;
}

.no-data {
  display: inline-flex;
  width: 0;
  overflow: hidden;
  opacity: 0;
}

@media screen and (max-width: 750px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  header .header__stores {
    gap: calc(var(--gap-md) / 2);
  }

  header a img,
  header img {
    max-width: 100px;
    max-height: 28px;
  }

  h2 {
    margin-bottom: var(--gap-xl);
  }

  .hero-image img.mobile-only {
    margin: calc(var(--gap-xl) * 2) 0;
  }

  .logo-list {
    margin-top: var(--gap-xl);
  }
  .logo-list img {
    width: 40px;
  }

  .section-verse-area {
    text-align: center;
  }
  .section-verse-area p:has(img) {
    justify-content: center;
  }

  footer.wrapper {
    width: 100%;
    margin: calc(var(--gap-xl) * 2) 0 var(--gap-lg);
    flex-direction: column;
  }

  footer #copyright {
    order: 2;
  }

  footer #contact {
    margin: 0;
  }

  footer {
    gap: var(--gap-md);
  }
}

@media screen and (min-width: 750px) {
  .app-store-button {
    right: 5vw;
    transform: none;
  }
}
