:root {
  --bg: #000;
  --ink: #fff;
  --muted: rgba(255, 255, 255, .68);
  --faint: rgba(255, 255, 255, .12);
  --soft: rgba(255, 255, 255, .06);
  --pink: #ff4c9a;
  --cyan: #63e7ff;
  --gold: #f2c84b;
  --mint: #74efba;
  --story: feed;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hero-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 10px 12px;
  border-radius: 8px;
  color: #000;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 1040px;
  overflow: clip;
  background: linear-gradient(180deg, rgba(0, 0, 0, .02), #000 92%);
}

.lang-pill {
  position: fixed;
  top: 20px;
  right: max(20px, calc((100vw - 1180px) / 2));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--faint);
  border-radius: 14px;
  background: rgba(0, 0, 0, .5);
  font-size: 14px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  width: min(720px, calc(100% - 28px));
  margin: 0 auto;
  padding-top: 120px;
  text-align: center;
  animation: heroFade .9s var(--ease) both;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.brand-mark img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: 66px;
  line-height: 1;
  font-weight: 930;
}

.hero-main {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 650;
}

.hero-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.25;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 106px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 8px;
  color: #000;
  background: #fff;
  font-weight: 820;
  transition: transform .25s var(--ease), opacity .25s var(--ease), background .25s var(--ease);
}

.store-btn:hover {
  transform: translateY(-2px);
}

.btn-ico {
  font-size: 15px;
  line-height: 1;
}

.hero-devices {
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: min(1280px, calc(100% - 32px));
  height: 690px;
  transform: translate(-50%, var(--hero-y));
  animation: devicesRise 1.1s .12s var(--ease) both;
  will-change: transform;
}

.device {
  position: absolute;
  overflow: hidden;
  border: 7px solid #1b1b1b;
  border-radius: 44px;
  background: #f6f6f6;
  color: #080808;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .72);
  transition: opacity .45s var(--ease), filter .45s var(--ease), transform .45s var(--ease);
}

.side-device {
  top: 115px;
  width: 350px;
  height: 620px;
  opacity: .52;
  filter: grayscale(.45);
}

.left-device {
  left: 16px;
  transform: rotate(-.5deg);
  animation: leftFloat 7s 1s ease-in-out infinite;
}

.web-device {
  top: 112px;
  right: 0;
  width: 430px;
  height: 630px;
  border-radius: 10px;
  background: #101010;
  color: #fff;
  opacity: .56;
  filter: grayscale(.3);
  animation: rightFloat 8s 1.4s ease-in-out infinite;
}

.main-device {
  left: 50%;
  top: 24px;
  z-index: 2;
  width: 458px;
  height: 780px;
  border-radius: 58px;
  background: #fff;
  transform: translateX(-50%);
  animation: mainFloat 8s 1.2s ease-in-out infinite;
}

.ios-status {
  display: flex;
  justify-content: space-between;
  padding: 22px 34px 12px;
  font-weight: 850;
}

.app-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 24px 12px;
  font-size: 15px;
}

.app-bar strong {
  font-size: 24px;
}

.app-bar span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 190px 190px;
  gap: 1px;
  height: 380px;
  background: #ddd;
}

.gallery div {
  overflow: hidden;
  background: #e8e8e8;
}

.gallery-large {
  grid-row: span 2;
}

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

.person {
  padding: 18px 24px 0;
}

.person h2 {
  margin: 0 0 12px;
  color: #080808;
  font-size: 28px;
  line-height: 1.1;
}

.person h2 span {
  color: #0a0a0a;
  font-size: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #1b1b1b;
  font-size: 14px;
}

.person p {
  margin: 16px 0 0;
  color: #121212;
  font-size: 18px;
  line-height: 1.3;
}

.hero-swipes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 18px 18px;
}

.hero-swipes span {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 10px;
  background: #ededed;
  font-weight: 950;
}

.hero-swipes span:nth-child(2) {
  background: var(--gold);
}

.hero-swipes span:nth-child(3) {
  color: #fff;
  background: #000;
}

.main-swipes {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
}

.mini-status,
.mini-top {
  padding: 14px 18px 0;
  font-weight: 850;
}

.mini-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
}

.hero-profile-photo {
  height: 390px;
  overflow: hidden;
  background: #ddd;
}

.hero-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-profile-content {
  padding: 16px 18px 0;
}

.hero-profile-content strong {
  display: block;
  margin-bottom: 6px;
  font-size: 23px;
}

.hero-profile-content span,
.hero-profile-content p {
  color: #333;
  font-size: 14px;
}

.browser-top {
  display: flex;
  gap: 7px;
  height: 48px;
  padding: 17px 18px;
  background: #1d1d1d;
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5b5b5b;
}

.event-card {
  margin: 70px 28px 0;
  padding: 24px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .72)),
    url("back.png") center / cover no-repeat;
}

.event-card.second {
  margin-top: 22px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .78)),
    url("start.png") center / cover no-repeat;
}

.event-card strong {
  display: block;
  font-size: 25px;
}

.event-card span,
.event-card p {
  color: rgba(255, 255, 255, .78);
}

.event-card button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 10px;
  font-weight: 850;
}

.story {
  position: relative;
  padding: 150px 0 80px;
  background: #000;
}

.story-head,
.proof,
.faq,
.final-cta,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.overline {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-head h2,
.proof h2,
.faq h2,
.final-cta h2 {
  margin: 0;
  max-width: 820px;
  font-size: 84px;
  line-height: .96;
  font-weight: 930;
}

.story-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(1120px, calc(100% - 32px));
  margin: 80px auto 0;
  isolation: isolate;
}

.sticky-phone {
  position: sticky;
  top: var(--pin-top, 78px);
  grid-area: 1 / 1;
  z-index: 3;
  display: grid;
  place-items: center;
  height: 760px;
  pointer-events: none;
}

.sticky-phone.is-fixed {
  position: fixed;
  top: var(--pin-top, 78px);
  left: 50%;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
}

.sticky-phone.is-at-end {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: none;
}

.story-device {
  position: relative;
  width: 360px;
  height: 690px;
  overflow: hidden;
  border: 7px solid #1a1a1a;
  border-radius: 52px;
  background: #0b0710;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .85);
  transition: transform .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}

[data-active="match"] .story-device {
  border-color: #2a1520;
  transform: rotate(1deg);
}

[data-active="chat"] .story-device {
  border-color: #11252a;
  transform: rotate(-1deg);
}

[data-active="profile"] .story-device {
  border-color: #292516;
  transform: rotate(.5deg);
}

.story-device-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  height: 58px;
  padding: 14px 22px 0;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  font-weight: 850;
}

.story-device-top span:last-child {
  text-align: right;
}

.demo-screen {
  position: absolute;
  inset: 58px 13px 58px;
  overflow: hidden;
  border: 1px solid var(--faint);
  border-radius: 34px;
  background: #110d18;
  opacity: 0;
  transform: translateY(34px) scale(.96);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-active="feed"] .demo-feed,
[data-active="match"] .demo-match,
[data-active="chat"] .demo-chat,
[data-active="profile"] .demo-profile {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.screen-photo {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.screen-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
}

.screen-photo span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  font-size: 12px;
  font-weight: 850;
}

.screen-body {
  padding: 18px;
}

.screen-body strong,
.demo-match strong,
.demo-profile strong {
  display: block;
  font-size: 28px;
  line-height: 1.05;
}

.screen-body p,
.demo-match p,
.demo-profile p {
  margin: 12px 0 0;
  color: var(--muted);
}

.demo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.demo-actions span {
  display: grid;
  place-items: center;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 28px;
  font-weight: 950;
}

.demo-actions span:last-child {
  color: #000;
  background: var(--pink);
}

.demo-match,
.demo-profile {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 28px;
  text-align: center;
}

.match-icon {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #000;
  background: var(--pink);
  font-size: 58px;
  font-weight: 950;
}

.match-avatars {
  display: flex;
  margin-top: 28px;
}

.match-avatars img {
  width: 76px;
  height: 76px;
  margin-left: -12px;
  border: 3px solid #110d18;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.demo-chat {
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 18px;
}

.chat-head {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--faint);
  font-weight: 900;
}

.message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .1);
}

.outgoing {
  justify-self: end;
  color: #001116;
  background: var(--cyan);
}

.fake-input {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--faint);
  border-radius: 999px;
  color: var(--muted);
}

.profile-logo {
  width: 160px;
  height: 160px;
  margin-bottom: 24px;
  object-fit: contain;
}

.profile-metrics {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  width: 100%;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--faint);
  border-radius: 10px;
  color: var(--muted);
  text-align: left;
}

.profile-metrics b {
  color: var(--gold);
}

.story-tabs {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.story-tabs span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  transition: width .35s var(--ease), background .35s var(--ease);
}

[data-active="feed"] [data-dot="feed"],
[data-active="match"] [data-dot="match"],
[data-active="chat"] [data-dot="chat"],
[data-active="profile"] [data-dot="profile"] {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.story-steps {
  position: relative;
  grid-area: 1 / 1;
  z-index: 4;
  pointer-events: none;
}

.story-step {
  display: grid;
  align-content: center;
  width: min(360px, 34vw);
  min-height: 82vh;
  margin-right: auto;
  opacity: .42;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.story-step.is-step-active {
  opacity: 1;
  transform: translateY(0);
}

.story-step.is-right {
  margin-right: 0;
  margin-left: auto;
}

.story-step span {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 950;
}

.story-step h3 {
  margin: 0;
  font-size: 56px;
  line-height: .98;
  font-weight: 930;
}

.story-step p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.proof,
.faq,
.final-cta {
  padding: 110px 0;
  border-top: 1px solid var(--faint);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.proof-grid article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--faint);
  border-radius: 8px;
  background: var(--soft);
}

.proof-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.proof-grid strong {
  display: block;
  margin-top: 30px;
  font-size: 26px;
  line-height: 1.08;
}

.proof-grid p,
.faq p {
  color: var(--muted);
}

.faq details {
  padding: 22px 0;
  border-bottom: 1px solid var(--faint);
}

.faq summary {
  cursor: pointer;
  font-size: 24px;
  font-weight: 850;
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-cta h2 {
  max-width: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--faint);
  color: var(--muted);
  font-size: 14px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-step[data-reveal].is-visible:not(.is-step-active) {
  opacity: .42;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes devicesRise {
  from {
    opacity: 0;
    transform: translate(-50%, calc(var(--hero-y) + 54px)) scale(.985);
  }
  to {
    opacity: 1;
    transform: translate(-50%, var(--hero-y)) scale(1);
  }
}

@keyframes mainFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes leftFloat {
  0%, 100% {
    transform: rotate(-.5deg) translateY(0);
  }
  50% {
    transform: rotate(-.5deg) translateY(12px);
  }
}

@keyframes rightFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
  }
}

@media (max-width: 1020px) {
  .hero {
    min-height: 960px;
  }

  .hero-devices {
    bottom: -90px;
    height: 660px;
  }

  .side-device,
  .web-device {
    opacity: .24;
  }

  .left-device {
    left: -110px;
  }

  .web-device {
    right: -160px;
  }

  .story-step,
  .story-step.is-right {
    width: min(520px, 100%);
    margin-right: auto;
    margin-left: auto;
    padding-top: 640px;
    text-align: center;
  }

  .story-steps {
    margin-top: 0;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lang-pill {
    top: 12px;
    right: 12px;
  }

  .hero {
    min-height: 850px;
  }

  .hero-copy {
    padding-top: 86px;
  }

  .hero-brand {
    gap: 12px;
  }

  .hero-main,
  .hero-sub {
    max-width: 340px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  h1 {
    font-size: 46px;
  }

  .story-head h2,
  .proof h2,
  .faq h2,
  .final-cta h2 {
    font-size: 42px;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .store-btn {
    flex: 1 1 145px;
    min-width: 0;
    padding: 0 14px;
  }

  .hero-devices {
    bottom: -80px;
    width: 100%;
    height: 560px;
  }

  .main-device {
    top: 26px;
    width: 336px;
    height: 590px;
    border-width: 5px;
    border-radius: 44px;
  }

  .side-device,
  .web-device {
    display: none;
  }

  .ios-status {
    padding: 18px 24px 8px;
    font-size: 13px;
  }

  .app-bar {
    padding: 0 16px 8px;
    font-size: 11px;
  }

  .app-bar strong {
    font-size: 18px;
  }

  .gallery {
    grid-template-rows: 135px 135px;
    height: 270px;
  }

  .person {
    padding: 14px 18px 0;
  }

  .person h2 {
    font-size: 23px;
  }

  .tags span {
    font-size: 12px;
  }

  .person p {
    font-size: 14px;
  }

  .hero-swipes {
    gap: 8px;
    padding: 10px 14px 14px;
  }

  .hero-swipes span {
    height: 42px;
  }

  .story {
    padding-top: 92px;
  }

  .story-head,
  .proof,
  .faq,
  .final-cta,
  .footer,
  .story-layout {
    width: calc(100% - 24px);
  }

  .sticky-phone {
    top: 58px;
    height: 600px;
  }

  .story-device {
    width: min(330px, 100%);
    height: 580px;
    border-width: 5px;
    border-radius: 42px;
  }

  .demo-screen {
    inset: 52px 10px 50px;
    border-radius: 28px;
  }

  .screen-photo {
    height: 275px;
  }

  .screen-body strong,
  .demo-match strong,
  .demo-profile strong {
    font-size: 24px;
  }

  .story-steps {
    margin-top: 0;
  }

  .story-step,
  .story-step.is-right {
    min-height: 92vh;
    padding-top: 540px;
  }

  .story-step h3 {
    font-size: 38px;
  }

  .story-step p {
    font-size: 16px;
  }

  .proof,
  .faq,
  .final-cta {
    padding: 76px 0;
  }

  .proof-grid article {
    min-height: auto;
  }

  .faq summary {
    font-size: 20px;
  }

  .footer {
    display: grid;
  }

  .footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
