:root {
  color-scheme: light;
  --paper: #fbf6ef;
  --ink: #3e0a2b;
  --plum: #651143;
  --coral: #ff493b;
  --rose: #fae7e5;
  --line: #dfbbb9;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.55;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #aa322e; outline-offset: 4px; }
.content { width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto; }

.site-header {
  min-block-size: 5.625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .875rem;
}
.wordmark { display: block; flex: 0 1 15rem; min-inline-size: 0; }
.wordmark img { inline-size: 100%; block-size: auto; }
.language { position: relative; flex-shrink: 0; }
.language select {
  appearance: none;
  max-inline-size: min(55vw, 19rem);
  min-block-size: 2.875rem;
  padding: .5rem 1rem;
  padding-inline: 2.5rem 2rem;
  border: 1px solid var(--plum);
  border-radius: .75rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.globe, .chevron { position: absolute; inset-block-start: 50%; pointer-events: none; }
.globe {
  inline-size: 1.125rem;
  aspect-ratio: 1;
  inset-inline-start: .875rem;
  transform: translateY(-50%);
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.globe::before, .globe::after { content: ""; position: absolute; }
.globe::before { inset: -1px 3px; border: 1px solid currentColor; border-radius: 50%; }
.globe::after { inset-inline: 0; inset-block-start: 50%; border-block-start: 1px solid currentColor; }
.chevron {
  inset-inline-end: .875rem;
  inline-size: .45rem;
  block-size: .45rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-70%) rotate(45deg);
}

.hero { position: relative; overflow: hidden; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(1.75rem, 6vw, 6.5rem);
  padding-block: clamp(1.75rem, 3.2vw, 3.5rem);
}
.intro { position: relative; z-index: 1; padding-block: .5rem; }
h1, h2, h3, .button { font-weight: 750; }
h1 {
  --headline-size: clamp(2.75rem, 5.65vw, 6rem);
  font-size: var(--headline-size);
  line-height: 1.01;
  letter-spacing: -.062em;
}
h1:is(:lang(de), :lang(es), :lang(fr)) { font-size: calc(var(--headline-size) * .79); }
h1 span { display: block; text-wrap: balance; }
h1 span, h2, .intro p, .feature :is(h3, li) { overflow-wrap: anywhere; }
.intro p, .feature li { hyphens: auto; }
.tagline {
  margin-block-start: .22em;
  color: var(--plum);
  font-size: .64em;
  line-height: 1.13;
  letter-spacing: -.04em;
}
:lang(ar) :is(h1, .tagline), :lang(zh) :is(h1, .tagline) { letter-spacing: normal; }
:lang(ar) h1 { line-height: 1.24; }
.intro p {
  max-inline-size: 40ch;
  margin-block-start: 1.5rem;
  font-size: clamp(1.0625rem, 1.55vw, 1.375rem);
}
.intro p + p { margin-block-start: .75rem; }
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-block-start: 1.75rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 3.5rem;
  padding: .6875rem 1.875rem;
  border-radius: .875rem;
  background: var(--plum);
  color: white;
  text-decoration: none;
}
.button:hover { background: var(--ink); }
.film-replay {
  gap: .625rem;
  border: 1px solid var(--plum);
  background: white;
  color: var(--plum);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
}
.film-replay[hidden] { display: none; }
.film-replay:hover { background: white; }
.film-replay:active { background: #f3e3ed; }
.film-replay:focus-visible { outline-color: var(--plum); }
@media (hover: hover) {
  .film-replay:hover {
    border-color: var(--ink);
    background: #f7edf4;
    box-shadow: 0 .25rem .75rem #65114324;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .film-replay { transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
}
.film-replay::before {
  content: "";
  flex: none;
  width: 0;
  height: 0;
  border: .4rem solid transparent;
  border-right-width: 0;
  border-left: .625rem solid currentColor;
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  max-inline-size: 24rem;
  margin-block-start: 1rem;
}
.store-link {
  flex: 1 1 9rem;
  display: grid;
  grid-template-columns: 1.875rem minmax(0, max-content);
  gap: .625rem;
  justify-content: center;
  align-items: center;
  min-block-size: 3.75rem;
  padding: .625rem .875rem;
  border: 1px solid var(--plum);
  border-radius: .75rem;
  background: var(--paper);
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.store-link img { width: 100%; height: auto; }
.store-link:hover { background: var(--rose); }

.app-preview { position: relative; isolation: isolate; min-inline-size: 0; }
.ribbons {
  position: absolute;
  z-index: -1;
  inset-block: -2.5rem -3.25rem;
  inset-inline: -4.25rem -20vw;
  pointer-events: none;
}
.ribbon { position: absolute; display: block; }
.ribbon-plum {
  inset: -2% -12% 2% 2%;
  border-radius: 47% 3% 35% 36% / 77% 0 61% 25%;
  background: linear-gradient(142deg, #671246 10%, #43092f 56%, #781642 84%);
  transform: rotate(-7deg);
}
.ribbon-coral {
  inset: 62% -12% -2% 4%;
  border-radius: 73% 10% 66% 11% / 96% 10% 74% 8%;
  background: linear-gradient(112deg, #f8c8bd 4%, #ff5649 37%, #eb382f 69%, #ff6552 100%);
  transform: rotate(-12deg);
  box-shadow: 0 .75rem 2rem #a6383833;
}
.ribbons:dir(rtl) { transform: scaleX(-1); }
.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 16.25rem));
  justify-content: center;
  gap: clamp(.875rem, 2.4vw, 2.25rem);
}
.screens img {
  inline-size: 100%;
  block-size: auto;
  border: 2px solid #f7e3dd;
  border-radius: clamp(.875rem, 1.7vw, 1.625rem);
  outline: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 0 .75rem 2.25rem #370a2b43;
}
figcaption {
  width: fit-content;
  margin: 1rem auto 0;
  padding: .2rem .75rem;
  border-radius: .5rem;
  background: var(--paper);
  font-size: .875rem;
  font-weight: 650;
  text-align: center;
}

.features { padding-block: clamp(2.125rem, 3.6vw, 3.5rem) 3.75rem; background: var(--rose); }
h2 { font-size: clamp(1.875rem, 3.8vw, 3.5rem); line-height: 1.12; letter-spacing: -.045em; }
:lang(ar) h2, :lang(zh) h2 { letter-spacing: normal; }
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-block-start: 1.5rem;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.125rem, 2vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: .875rem;
  background: var(--paper);
}
.feature-heading { display: flex; align-items: center; gap: .75rem; }
.feature-heading img { flex: 0 0 2rem; }
.feature h3 { min-inline-size: 0; font-size: 1.25rem; line-height: 1.25; }
.feature ul { margin: 0; padding-inline-start: 1.25rem; }
.feature li + li { margin-block-start: .65rem; }
.feature li::marker { color: var(--plum); }

html:has(.film-overlay[open]) { overflow: hidden; }
.film-overlay {
  --film-gutter: clamp(1.125rem, 3.8vmin, 2.5rem);
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: var(--film-gutter);
  border: 0;
  background: transparent;
  overflow: hidden;
}
.film-overlay[open] { display: grid; place-items: center; }
.film-overlay::backdrop { background: rgb(26 10 20 / 85%); }
.film-frame {
  position: relative;
  width: min(100%, calc((100vh - 2 * var(--film-gutter)) * 9 / 16), 32rem);
  width: min(100%, calc((100dvh - 2 * var(--film-gutter)) * 9 / 16), 32rem);
}
.film-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #170b15;
  border-radius: .875rem;
  box-shadow: 0 1.25rem 3.5rem #0008;
}
.film-close {
  position: absolute;
  inset-block-start: .625rem;
  inset-inline-end: .625rem;
  width: clamp(3rem, 8vmin, 3.75rem);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 .15rem .4rem #0008);
  cursor: pointer;
}
.film-close::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: white;
  clip-path: polygon(evenodd,
    0 0, 100% 0, 100% 100%, 0 100%, 0 0,
    35% 29%, 50% 44%, 65% 29%, 71% 35%, 56% 50%, 71% 65%,
    65% 71%, 50% 56%, 35% 71%, 29% 65%, 44% 50%, 29% 35%, 35% 29%
  );
}
.film-close:focus-visible { outline: 3px solid white; }

@media (max-width: 60rem) {
  .hero-layout { gap: 2.75rem; }
  .intro-actions { flex-wrap: nowrap; }
  .intro-actions > .button {
    min-inline-size: 0;
    padding-inline: .75rem;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }
  .intro-actions > .film-replay { gap: .5rem; }
  .ribbons { inset-inline-start: -2rem; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 46rem) {
  .site-header { min-block-size: 4.5rem; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; padding-block-end: 1.5rem; }
  h1 { --headline-size: clamp(2.75rem, 9.5vw, 5rem); }
  .ribbons { inset-block: -1.5rem -1.75rem; }
  .screens { grid-template-columns: repeat(2, minmax(0, 15rem)); }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 23rem) {
  .intro-actions > .button { font-size: .9375rem; padding-inline: .5rem; }
  .language select { padding-inline-start: .75rem; font-size: .875rem; }
  .globe { display: none; }
}

@supports (clip-path: shape(from 0 0, line to 100% 0, close)) {
  .hero { isolation: isolate; }
  .app-preview { position: static; isolation: auto; }
  .ribbons { inset: 0; }
  .ribbons::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 43% 23% at 73% 102%, #f9b7ac76, transparent);
  }
  .ribbon { inset: 0; border-radius: 0; transform: none; box-shadow: none; }
  .ribbon-plum {
    background:
      radial-gradient(ellipse at 28% 109%, var(--paper) 4%, #edabb5 16%, transparent 33%),
      radial-gradient(ellipse at 78% 39%, #450729 8%, transparent 49%),
      linear-gradient(138deg, #871e53 21%, #661043 60%, #72133f 78%, #b9344d);
    clip-path: shape(
      from 53.2% 0,
      line to 100% 0,
      line to 100% 56%,
      curve to 76% 84% with 94% 74% / 86% 84%,
      curve to 56% 78% with 69% 85% / 63% 78%,
      curve to 23% 100% with 44% 78% / 34% 97%,
      curve to 37.4% 72% with 30% 97% / 35.4% 86%,
      curve to 41.2% 31% with 39% 61% / 38.7% 47%,
      curve to 53.2% 0 with 43.8% 16% / 48% 5%,
      close
    );
  }
  .ribbon-coral {
    background:
      radial-gradient(ellipse at 71% 108%, #9a1839 1%, transparent 31%),
      linear-gradient(90deg, var(--paper) 26%, #fad0c4 33%, #ff594d 48%, #f63a2e 79%, #ff624b);
    clip-path: shape(
      from 26% 100%,
      curve to 56% 74% with 34% 96% / 45% 73%,
      curve to 76% 79% with 63% 74% / 69% 81%,
      curve to 100% 50% with 86% 79% / 95% 69%,
      line to 100% 82%,
      curve to 73% 100% with 94% 95% / 87% 100%,
      curve to 45% 90% with 58% 100% / 51% 89%,
      curve to 26% 100% with 39% 89% / 31% 96%,
      close
    );
  }

  @media (max-width: 60rem) {
    .app-preview { position: relative; }
    .ribbons { inset-block: -1.75rem; inset-inline: -.75rem calc(-1 * var(--gutter)); }
    .ribbon-plum {
      clip-path: shape(
        from 44% 0,
        line to 100% 0,
        line to 100% 56%,
        curve to 70% 84% with 95% 70% / 83% 85%,
        curve to 41% 78% with 58% 84% / 51% 78%,
        curve to 4% 99% with 28% 78% / 16% 95%,
        curve to 12% 52% with 11% 85% / 8% 72%,
        curve to 44% 0 with 17% 27% / 23% 8%,
        close
      );
    }
    .ribbon-coral {
      background:
        radial-gradient(ellipse at 65% 108%, #9a1839 1%, transparent 33%),
        linear-gradient(90deg, var(--paper), #ff594d 26%, #f63a2e 78%, #ff624b);
      clip-path: shape(
        from 0 100%,
        curve to 40% 74% with 13% 96% / 25% 73%,
        curve to 70% 79% with 52% 74% / 58% 83%,
        curve to 100% 50% with 86% 77% / 96% 62%,
        line to 100% 82%,
        curve to 66% 100% with 91% 95% / 85% 100%,
        curve to 32% 90% with 49% 100% / 41% 89%,
        curve to 0 100% with 22% 89% / 11% 96%,
        close
      );
    }
  }

  @media (max-width: 46rem) {
    .ribbons { inset-inline: calc(-1 * var(--gutter)); }
  }
}
