:root {
  color-scheme: light;
  --ink: #28112e;
  --muted: #4e304e;
  --pink: #ff087d;
  --pink-text: #d90062;
  --pale: #ffeff8;
  --wrap: min(1180px, calc(100% - 60px));
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffe5f4;
  line-height: 1.35;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
em { color: var(--pink); font-style: normal; }
section[id], #register { scroll-margin-top: 20px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid #8e2b89; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }

.top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 19% 113%, #ff9bd4, transparent 45%),
    linear-gradient(105deg, #fff1f8 1%, #ffe6f3 44%, #e8a9cc 72%, #ca94b4 100%);
}

.header {
  position: relative;
  z-index: 2;
  height: 80px;
  display: flex;
  align-items: center;
  gap: clamp(22px, 6vw, 74px);
  padding-inline: clamp(0px, 1.5vw, 18px);
}
.logo { display: inline-flex; align-items: center; gap: 13px; font-weight: 800; font-size: 23px; letter-spacing: -.055em; white-space: nowrap; }
.logo img { width: 49px; height: auto; filter: drop-shadow(0 3px 3px #e8317533); }
.header nav { display: flex; align-items: center; gap: clamp(16px, 3.2vw, 36px); font-size: 14px; font-weight: 550; }
.header nav a:hover, .footer nav button:hover { color: var(--pink-text); }
.header > .button { margin-left: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  padding: 0 34px;
  border: 0;
  border-radius: 100px;
  background: linear-gradient(180deg, #f92d89, #e50063 85%);
  box-shadow: inset 0 2px 5px #ff9ec65c, 0 6px 13px #e5116c30;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.025em;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.button span { font-size: 22px; font-weight: 450; line-height: 1; }
.button:hover { transform: translateY(-2px); box-shadow: inset 0 2px 5px #ff9ec65c, 0 8px 18px #e5116c49; }
.button:active { transform: translateY(0); }
.button-small { min-height: 42px; padding: 0 25px; gap: 9px; font-size: 14px; }
.button-small span { font-size: 18px; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(385px, 41vw, 505px);
  padding-block: 25px 58px;
}
.hero-photo {
  position: absolute;
  z-index: -1;
  inset: -13px 0 2px 35.5%;
  background: url("assets/hero.webp") 50% 52% / cover no-repeat;
  mask-image: linear-gradient(to right, transparent, #000 23%), linear-gradient(to bottom, transparent, #000 11%, #000 97%, transparent);
  mask-composite: intersect;
}
.hero-content { position: relative; padding-inline: clamp(0px, 2vw, 24px); }
.hero h1 {
  position: relative;
  width: fit-content;
  margin-bottom: 13px;
  font-size: clamp(45px, 5.2vw, 73px);
  line-height: .955;
  font-weight: 850;
  letter-spacing: -.066em;
}
.hero h1::before {
  content: "";
  position: absolute;
  top: 13px;
  left: -32px;
  width: 18px;
  height: 3px;
  border-radius: 5px;
  background: #ff53a4;
  transform: rotate(24deg);
  box-shadow: 7px -13px #ff53a4, 3px 14px #ff53a4;
}
.hero h1 em { display: block; margin-top: 4px; }
.hero-heart { display: inline-block; margin-left: 2px; line-height: .7; font-size: .95em; font-weight: 550; transform: rotate(12deg) translateY(3px); }
.hero p { margin-bottom: 21px; color: var(--muted); font-size: clamp(17px, 1.95vw, 23px); line-height: 1.18; letter-spacing: -.025em; font-weight: 520; }
.hero-wave {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 68px;
  background: linear-gradient(100deg, #ffe6f4, #fff1f8 49%, #ffd2eb);
  clip-path: polygon(0 45%, 6% 62%, 13% 74%, 21% 78%, 30% 66%, 39% 54%, 48% 52%, 57% 55%, 67% 65%, 76% 60%, 85% 43%, 93% 27%, 100% 6%, 100% 100%, 0 100%);
}

main {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 98% 58%, #ff9fd4 0%, #ffc7e8 17%, transparent 38%),
    radial-gradient(ellipse at 9% 26%, #ffb5df 0%, #ffdcf0 22%, transparent 39%),
    radial-gradient(ellipse at 48% 7%, #fff6fb, transparent 59%),
    #ffe6f4;
}
.journey { position: relative; padding: 0 0 14px; }
h2 { text-align: center; font-size: clamp(33px, 4.1vw, 50px); font-weight: 850; line-height: 1.06; letter-spacing: -.062em; }
.underline { position: relative; display: inline-block; white-space: nowrap; }
.underline::before, .underline::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset-inline: 7% -4%;
  bottom: -8px;
  height: 12px;
  border-top: 3px solid #ff398f;
  border-radius: 58% 45% 0 0;
  transform: rotate(-1.5deg);
  opacity: .88;
}
.underline::before { inset-inline: 44% -4%; bottom: -12px; transform: rotate(-3deg); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  list-style: none;
  padding: 0;
  margin: 24px 0 15px;
}
.step, .glass, .sample-frame {
  border: 1px solid #fff9;
  background: linear-gradient(115deg, #ffffff9c, #ffffff36);
  box-shadow: 0 9px 22px #b94d8020, inset 0 1px 0 #fffa;
}
.step {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-items: center;
  gap: 6px;
  min-height: 139px;
  padding: 12px 12px 5px;
  border-radius: 25px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-top: 3px solid #ff6eb7;
  border-right: 3px solid #ff6eb7;
  top: 48%;
  right: calc(clamp(18px, 3vw, 34px) / -1.6);
  transform: rotate(45deg);
}
.step-copy { display: flex; align-items: flex-start; gap: 13px; font-size: clamp(14px, 1.67vw, 20px); line-height: 1.02; letter-spacing: -.04em; }
.step-copy > span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  border: 1px solid #fffa;
  border-radius: 50%;
  background: linear-gradient(#ff4195, #e90069);
  color: #fff;
  font-weight: 750;
  font-size: 17px;
}
.step-copy strong { padding-top: 3px; }
.step img { transform: translateX(7px); object-fit: contain; }
.demo-note, .privacy-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  text-align: center;
  font-size: 13px;
  color: #3f2542;
  letter-spacing: -.02em;
}
.info {
  flex: 0 0 19px;
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font: 750 12px/1 Arial, sans-serif;
}
.register-frame {
  position: relative;
  margin: 15px auto 0;
  width: min(100%, 710px);
}
.glass {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 263px;
  border-radius: 32px;
  padding: 19px 24px 13px;
  background: linear-gradient(130deg, #fff8, #ffeaf7cc 56%, #ffc9eb5e);
  box-shadow: 0 12px 36px #bb41751f, inset 0 1px 0 #fff;
}
.glass h2 { font-size: clamp(31px, 3.5vw, 43px); }
.registration form { width: min(100%, 485px); margin-top: 14px; }
.phone-field {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 46px;
  padding-inline: 20px;
  border: 2px solid #fff9;
  border-radius: 48px;
  background: #fffc;
  color: #583b5b;
  font-size: 17px;
  box-shadow: 0 3px 9px #bd568218;
}
.phone-field:focus-within { outline: 2px solid #df4a99; outline-offset: 2px; }
.phone-field input { width: 100%; min-width: 0; min-height: 40px; border: 0; padding: 0; outline: 0; background: none; color: var(--ink); }
.phone-field input::placeholder { opacity: 1; color: #765d77; }
.agreement {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 12px 4px 15px;
  font-size: 14px;
  letter-spacing: -.03em;
}
.agreement input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  border: 1px solid #dc478e;
  border-radius: 6px;
  background: #fff7fb;
  cursor: pointer;
}
.agreement input:checked { background: linear-gradient(#ff58a4, #f42382); box-shadow: 0 3px 8px #de317749; }
.agreement input:checked::before {
  content: "";
  width: 10px;
  height: 6px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translateY(-1px);
}
.text-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--pink-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
  letter-spacing: inherit;
}
.text-link:hover { color: #97004b; }
.submit { display: flex; width: 87%; margin-inline: auto; font-size: 18px; }
.privacy-note { margin-top: 10px; font-size: 12px; }

.doodle {
  position: absolute;
  color: #ff4a9e;
  font-size: 57px;
  line-height: 1;
  font-weight: 600;
  user-select: none;
}
.doodle-left { left: -88px; top: 25%; transform: rotate(-20deg); }
.doodle-right { right: -87px; top: 4%; transform: rotate(25deg); }

.loading-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(16px, 3vw, 30px) clamp(16px, 5vw, 52px) clamp(52px, 10vw, 102px);
  background: radial-gradient(ellipse at 10% 96%, #ffaad8, transparent 58%), linear-gradient(115deg, #fff0f8, #ffe4f4 49%, #ecabd3);
}
.loading-header { width: min(100%, 1180px); margin-inline: auto; }
.loading-header .logo { display: flex; width: fit-content; min-height: 44px; }
.loading-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto 36%;
  height: clamp(460px, 59vw, 750px);
  background: url("assets/hero.webp") center right / cover no-repeat;
  mask-image: linear-gradient(to right, transparent, #000 46%), linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-composite: intersect;
  opacity: .74;
}
.loading-heart {
  position: absolute;
  z-index: -1;
  color: #ff5da7;
  font-size: clamp(34px, 7vw, 77px);
  line-height: 1;
  font-weight: 650;
}
.loading-heart-left { left: 7%; top: clamp(345px, 40vw, 550px); transform: rotate(-19deg); }
.loading-heart-right { right: 10%; top: clamp(405px, 46vw, 650px); transform: rotate(25deg); }
.loading-panel {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  width: min(100%, 575px);
  min-height: 280px;
  margin: clamp(30px, 6vw, 66px) auto 0;
  padding: 20px 12px;
  border: 1px solid #fff;
  border-radius: 32px;
  background: linear-gradient(132deg, #fff2fa, #ffeaf7 53%, #ffd6ef);
  box-shadow: 0 18px 44px #9d356732, inset 0 1px 1px #fff;
  text-align: center;
}
.demo-label { color: #b40053; font-size: 13px; font-weight: 700; }
.loader { position: relative; display: grid; place-items: center; width: 86px; height: 86px; overflow: hidden; }
.loader::before {
  position: absolute;
  content: "";
  inset: 0;
  border: 3px solid #f8acd470;
  border-top-color: #f51c81;
  border-right-color: #f51c81;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loader img { width: 65px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-panel h1 { font-size: clamp(27px, 5vw, 43px); line-height: 1.06; font-weight: 850; letter-spacing: -.06em; }
.back { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: #b40053; font-size: 14px; }

.examples { padding: 18px 0 23px; }
.example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 23px; }
.example-grid figure { min-width: 0; }
.sample-frame { border: 2px solid #fff9; border-radius: 29px; padding: 6px 10px; }
.sample {
  min-height: 111px;
  overflow: hidden;
  border: 1px solid #d97b9b2c;
  border-radius: 24px;
  box-shadow: inset 0 1px 7px #b56c9f1a;
}
.sample-ios { color: #0d1312; background: linear-gradient(120deg, #eff0ec, #e3ece6); }
.sample-pink { display: grid; align-items: end; color: #251625; background: linear-gradient(120deg, #fdf0f6, #fae6f0); }
.device-bar { display: flex; justify-content: space-between; align-items: center; padding: 13px 9% 4px 16%; font-size: 20px; letter-spacing: -.045em; }
.device-bar > span { display: flex; align-items: center; gap: 9px; }
.signal {
  width: 3px;
  height: 6px;
  margin: 5px 12px 0 0;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 4px -2px currentColor, 8px -4px currentColor, 12px -6px currentColor;
}
.wifi { width: 17px; height: 15px; border-top: 3px solid; border-radius: 50%; position: relative; }
.wifi::before, .wifi::after { content: ""; position: absolute; border-top: 3px solid; border-radius: 50%; top: 3px; left: 3px; width: 11px; }
.wifi::after { width: 5px; top: 7px; left: 6px; }
.battery { display: inline-block; min-width: 29px; padding: 0 4px; border-radius: 6px; background: linear-gradient(to right, #111 50%, #626d65 50%); color: #fff; text-align: center; font-size: 12px; }
.contact { display: grid; align-items: center; gap: 9px; padding: 8px 13px 10px; letter-spacing: -.045em; }
.ios-contact { grid-template-columns: 1fr auto 1fr; text-align: center; }
.ios-contact .ghost { justify-self: end; color: #686968; font-size: 29px; line-height: 1; }
.contact strong { display: block; font-size: clamp(16px, 2vw, 22px); line-height: 1; }
.contact-status { display: block; margin-top: 3px; color: #005fab; font-size: clamp(12px, 1.6vw, 16px); letter-spacing: -.04em; white-space: nowrap; }
.back-chip { display: flex; align-items: center; gap: 5px; color: #0077dc; }
.back-chip b { font-size: 35px; font-weight: 450; line-height: .7; }
.back-chip small { padding: 2px 5px; border-radius: 10px; background: #006abd; color: #fff; font-size: 12px; }
.pink-contact { grid-template-columns: auto auto minmax(0, 1fr) auto auto; padding: 12px 13px; gap: 13px; }
.pink-contact img { width: 54px; height: 54px; border-radius: 50%; }
.pink-contact .contact-status { color: #a53a06; }
.contact-icon { font-size: 26px; line-height: 1; }
.contact-icon.call { font-size: 21px; }
figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 9px auto 0;
  padding: 6px 17px;
  border-radius: 40px;
  background: #ffcbe7;
  box-shadow: 0 3px 7px #b4617f36;
  color: #39203c;
  font-size: 12px;
  letter-spacing: -.02em;
}
figcaption .info { background: #bd1352; color: #fff; border: 0; }

.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 53px 0 39px;
  text-align: center;
  background:
    radial-gradient(ellipse at 75% 45%, #ffbfdf77, transparent 38%),
    radial-gradient(ellipse at 15% 110%, #ff97cc, transparent 42%),
    radial-gradient(ellipse at 97% 105%, #ffa4d2, transparent 46%),
    linear-gradient(110deg, #ffbbdf, #ffe9f6 55%, #ffc7e8);
}
.footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1px;
  inset-inline: 0;
  height: 44px;
  background: #ffe6f4;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 96% 51%, 92% 29%, 89% 24%, 86% 28%, 82% 52%, 78% 72%, 72% 75%, 66% 62%, 61% 52%, 53% 48%, 48% 51%, 43% 59%, 35% 67%, 29% 70%, 24% 66%, 19% 49%, 15% 24%, 11% 8%, 7% 10%, 3% 23%, 0 48%);
}
.footer .wrap { position: relative; }
.footer h2 { font-size: clamp(30px, 3.8vw, 45px); }
.footer .button { min-width: min(100%, 305px); margin-top: 24px; }
.footer nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0; margin-top: 25px; }
.footer nav button { padding: 0 20px; border: 0; background: none; color: var(--ink); font-size: 13px; }
.footer nav button + button { border-left: 1px solid #63304c; }
.footer-heart { position: absolute; z-index: -1; width: 77px; }
.footer-heart.left { left: 6%; top: 46px; }
.footer-heart.right { right: 5%; bottom: 28px; width: 51px; transform: rotate(20deg); }

dialog {
  width: min(calc(100% - 36px), 480px);
  padding: 33px 25px 28px;
  border: 1px solid #fff;
  border-radius: 26px;
  background: #fff3fa;
  color: var(--ink);
  box-shadow: 0 18px 70px #4a0a3444;
}
dialog::backdrop { background: #35112e65; }
dialog h2 { padding-inline: 16px; font-size: 28px; }
dialog p { margin: 13px auto 0; text-align: center; color: var(--muted); }
.dialog-close { position: absolute; top: 6px; right: 10px; display: grid; place-items: center; width: 35px; height: 35px; border: 0; border-radius: 50%; background: transparent; color: var(--pink-text); font-size: 29px; line-height: 1; }
.dialog-close:hover { background: #ffe2f2; }

@media (min-width: 1250px) {
  .hero-photo { inset-inline-start: 37%; }
  .hero-photo { background-position: center 40%; }
}
@media (max-width: 820px) {
  :root { --wrap: calc(100% - 40px); }
  .header { gap: 24px; }
  .header nav { gap: 16px; font-size: 13px; }
  .hero h1 { font-size: clamp(42px, 7vw, 55px); }
  .hero h1::before { display: none; }
  .hero-photo { inset-inline-start: 35%; background-position: 59% 48%; }
  .doodle { display: none; }
  .footer-heart { opacity: .75; }
}
@media (max-width: 640px) {
  :root { --wrap: calc(100% - 32px); }
  .header { display: grid; grid-template-columns: 1fr auto; height: auto; gap: 0 12px; padding-top: 10px; }
  .logo { font-size: 21px; gap: 8px; }
  .logo img { width: 38px; }
  .header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 6px; padding-inline: 1px; }
  .header nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .header .button { min-height: 44px; padding-inline: 18px; }
  .top { background: radial-gradient(ellipse at 8% 50%, #fff2fa, transparent 55%), linear-gradient(130deg, #ffeff8, #ffc2e4); }
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 0; }
  .hero-content { order: -1; padding: 17px 0 0; }
  .hero h1 { font-size: clamp(37px, 9.4vw, 57px); }
  .hero p { margin-bottom: 15px; font-size: 17px; }
  .hero-content .button { min-height: 47px; padding-inline: 22px; font-size: 14px; }
  .hero-photo {
    position: relative;
    z-index: 0;
    inset: auto;
    width: 100%;
    height: clamp(225px, 57vw, 325px);
    margin-top: -4px;
    background-position: right 45%;
    mask-image: linear-gradient(to bottom, transparent, #000 16%);
  }
  .hero-wave { z-index: 1; height: 32px; }
  .journey { padding-top: 9px; }
  .steps { gap: 7px; margin-top: 20px; }
  .step { min-height: 126px; align-content: start; gap: 0; padding: 7px 3px 3px; border-radius: 17px; }
  .step:not(:last-child)::after { display: none; }
  .step-copy { align-items: center; flex-direction: column; gap: 3px; font-size: clamp(12px, 3.1vw, 16px); text-align: center; }
  .step-copy > span { width: 20px; flex: 0 0 20px; height: 20px; font-size: 13px; }
  .step-copy strong { padding-top: 0; }
  .step img { width: auto; max-width: 84%; height: 52px; transform: translateX(3px); }
  .demo-note { font-size: 12px; }
  .glass { padding-inline: 17px; border-radius: 26px; }
  .registration form { margin-top: 12px; }
  .agreement { gap: 8px; font-size: 13px; }
  .submit { width: 100%; min-height: 46px; }
  .examples { padding-top: 12px; }
  .examples h2 { font-size: clamp(29px, 8.1vw, 40px); }
  .example-grid { grid-template-columns: 1fr; gap: 14px; }
  .sample-frame { padding: 5px; border-radius: 24px; }
  .sample { min-height: 97px; border-radius: 20px; }
  .pink-contact { gap: clamp(5px, 2.2vw, 9px); padding-inline: clamp(8px, 3.3vw, 13px); }
  .pink-contact img { width: 44px; height: 44px; }
  .pink-contact .contact-icon { font-size: 21px; }
  .contact-status { white-space: normal; overflow-wrap: anywhere; }
  .device-bar { padding-top: 8px; }
  .footer { padding-block: 42px 24px; }
  .footer nav button { min-height: 44px; padding-inline: 8px; font-size: 12px; }
  .footer-heart.left { top: 58px; left: -15px; width: 58px; }
  .footer-heart.right { right: -8px; width: 40px; }
  .loading-photo { inset-inline-start: 12%; height: clamp(330px, 86vw, 500px); opacity: .53; }
  .loading-panel { margin-top: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
