/* Mobile application landing. Loaded only for /prilozhenie-faberlic. */
.mobile-app-page {
  --mobile-space: clamp(56px, 7vw, 92px);
  padding-bottom: var(--sp-7);
  background: var(--surface);
}

.mobile-app-page :where(h1, h2, h3, p) { margin: 0; }
.mobile-app-page :where(h1, h2, h3) { text-wrap: balance; }
.mobile-app-page :where(p) { color: var(--ink-2); line-height: 1.7; }
.mobile-app-page [id^="mobile-app-"] { scroll-margin-top: calc(var(--header-sticky) + var(--sp-5)); }
.mobile-app-page .button { text-decoration: none; }
.mobile-app-page .button > span { display: inline-flex; }
.mobile-app-page .button .icon { width: 20px; height: 20px; }
.mobile-app-page .eyebrow { margin-bottom: var(--sp-4); font-size: var(--fs-xs); letter-spacing: .12em; }

.mobile-app-hero {
  overflow: hidden;
  padding: var(--sp-6) 0 var(--sp-8);
  background:
    radial-gradient(circle at 84% 18%, rgb(var(--wine-rgb) / 10%), transparent 29%),
    linear-gradient(128deg, var(--surface-1) 0%, var(--surface-2) 56%, var(--wine-soft) 100%);
}
.mobile-app-hero .breadcrumbs { margin-bottom: var(--sp-6); font-size: var(--fs-xs); }
.mobile-app-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  align-items: center;
  gap: clamp(44px, 8vw, 112px);
}
.mobile-app-hero__copy { position: relative; z-index: 2; }
.mobile-app-hero__copy > h1 {
  max-width: 760px;
  font-size: var(--fs-display);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1.03;
}
.mobile-app-hero__intro { max-width: 660px; margin-top: var(--sp-5); font-size: var(--fs-read); }
.mobile-app-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.mobile-app-hero__actions .button { min-height: 58px; }
.mobile-app-hero__actions .button--primary { min-width: 295px; justify-content: space-between; }
.mobile-app-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  margin: var(--sp-5) 0 0;
  padding: 0;
  list-style: none;
}
.mobile-app-hero__facts > li { display: flex; align-items: center; gap: var(--sp-2); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; }
.mobile-app-hero__facts .icon { width: 17px; height: 17px; color: var(--wine); }
.mobile-app-disclosure { max-width: 620px; margin-top: var(--sp-4); color: var(--muted); font-size: var(--fs-xs); }

.mobile-app-phone { position: relative; display: grid; min-height: 510px; place-items: center; }
.mobile-app-phone::before {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: rgb(var(--wine-rgb) / 8%);
  content: "";
}
.mobile-app-phone__shell {
  position: relative;
  z-index: 1;
  width: 254px;
  padding: 10px;
  border: 1px solid rgb(var(--wine-dark-rgb) / 45%);
  border-radius: 42px;
  background: var(--wine-dark);
  box-shadow: 0 34px 72px rgb(var(--wine-dark-rgb) / 24%);
  transform: rotate(4deg);
}
.mobile-app-phone__speaker { position: absolute; z-index: 2; top: 17px; left: 50%; width: 70px; height: 18px; border-radius: 14px; background: var(--wine-dark); transform: translateX(-50%); }
.mobile-app-phone__screen { min-height: 470px; overflow: hidden; padding: var(--sp-6) var(--sp-4) var(--sp-4); border-radius: 34px; background: linear-gradient(160deg, var(--surface-1), var(--wine-soft)); }
.mobile-app-phone__brand { display: flex; align-items: center; gap: var(--sp-2); color: var(--wine); font-size: 11px; letter-spacing: .12em; }
.mobile-app-phone__brand > span { display: grid; width: 30px; height: 30px; border-radius: 50%; color: var(--surface-1); background: var(--wine); font-family: Georgia, serif; font-size: var(--fs-read); place-items: center; }
.mobile-app-phone__welcome { display: grid; gap: var(--sp-2); margin-top: var(--sp-7); }
.mobile-app-phone__welcome > small { color: var(--muted); font-size: var(--fs-xs); }
.mobile-app-phone__welcome > strong { color: var(--ink); font-family: Georgia, serif; font-size: 31px; font-weight: 500; line-height: 1.08; }
.mobile-app-phone__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-top: var(--sp-6); }
.mobile-app-phone__tiles > span { display: grid; min-height: 68px; align-content: end; padding: var(--sp-3); border: 1px solid rgb(var(--wine-rgb) / 10%); border-radius: 14px; color: var(--wine-dark); background: rgb(var(--white-rgb) / 72%); font-size: 11px; font-weight: 700; }
.mobile-app-phone__nav { display: flex; justify-content: space-around; margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.mobile-app-phone__nav > i { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.mobile-app-phone__nav > i:first-child { background: var(--wine); }
.mobile-app-phone__badge { position: absolute; z-index: 2; display: grid; gap: 2px; min-width: 150px; padding: var(--sp-3) var(--sp-4); border: 1px solid rgb(var(--wine-rgb) / 12%); border-radius: 16px; background: rgb(var(--white-rgb) / 92%); box-shadow: 0 16px 36px rgb(var(--wine-dark-rgb) / 12%); backdrop-filter: blur(10px); }
.mobile-app-phone__badge > strong { color: var(--wine); font-size: var(--fs-sm); }
.mobile-app-phone__badge > span { color: var(--muted); font-size: var(--fs-xs); }
.mobile-app-phone__badge--top { top: 54px; right: 4px; }
.mobile-app-phone__badge--bottom { bottom: 48px; left: 0; }

.mobile-app-nav { position: sticky; z-index: 6; top: var(--header-sticky); border-block: 1px solid var(--line); background: rgb(var(--white-rgb) / 94%); backdrop-filter: blur(12px); }
.mobile-app-nav__inner { display: flex; align-items: center; gap: var(--sp-6); min-height: 58px; overflow-x: auto; scrollbar-width: thin; }
.mobile-app-nav__inner > span { flex: 0 0 auto; color: var(--muted); font-size: var(--fs-xs); }
.mobile-app-nav__inner > a { flex: 0 0 auto; color: var(--ink-2); font-size: var(--fs-meta); font-weight: 650; text-decoration: none; }
.mobile-app-nav__inner > a:hover { color: var(--wine); }
.mobile-app-content { padding-top: var(--sp-7); }

.mobile-app-status { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--sp-5); padding: var(--sp-5) var(--sp-6); border: 1px solid var(--sand); border-radius: 22px; background: var(--cream); }
.mobile-app-status__mark { display: grid; width: 50px; height: 50px; border-radius: 50%; color: var(--surface-1); background: var(--wine); font-family: Georgia, serif; font-size: 26px; place-items: center; }
.mobile-app-status .eyebrow { margin-bottom: var(--sp-2); }
.mobile-app-status h2 { font-size: var(--fs-h4); font-weight: 650; }
.mobile-app-status p { margin-top: var(--sp-2); font-size: var(--fs-sm); }
.mobile-app-status > a { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--wine); font-size: var(--fs-xs); font-weight: 700; text-decoration: none; }
.mobile-app-status > a .icon { width: 17px; height: 17px; }

.mobile-app-section { padding-block: var(--mobile-space); }
.mobile-app-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); align-items: end; gap: var(--sp-7); margin-bottom: var(--sp-6); }
.mobile-app-section-heading h2,
.mobile-app-download__intro h2,
.mobile-app-ios__copy h2,
.mobile-app-security__heading h2,
.mobile-app-account h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.045em; line-height: 1.15; }
.mobile-app-section-heading > p { max-width: 520px; }
.mobile-app-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.mobile-app-features > article { min-height: 250px; padding: var(--sp-6) var(--sp-5); border-left: 1px solid var(--line); }
.mobile-app-features > article:first-child { border-left: 0; }
.mobile-app-features > article > span { display: grid; width: 48px; height: 48px; margin-bottom: var(--sp-6); border-radius: 50%; color: var(--wine); background: var(--wine-soft); font-size: var(--fs-sm); font-weight: 700; place-items: center; }
.mobile-app-features .icon { width: 22px; height: 22px; }
.mobile-app-features h3 { font-size: var(--fs-h4); font-weight: 650; }
.mobile-app-features p { margin-top: var(--sp-3); font-size: var(--fs-sm); }

.mobile-app-download { display: grid; grid-template-columns: minmax(280px, .74fr) minmax(0, 1.26fr); align-items: start; gap: clamp(44px, 7vw, 92px); border-top: 1px solid var(--line); }
.mobile-app-download__intro { position: sticky; top: calc(var(--header-sticky) + 82px); }
.mobile-app-download__intro > p { margin-top: var(--sp-5); font-size: var(--fs-base); }
.mobile-app-download__note { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); padding: var(--sp-4); border-left: 2px solid var(--wine); background: var(--surface-2); }
.mobile-app-download__note > span { display: inline-flex; flex: 0 0 25px; color: var(--wine); }
.mobile-app-download__note .icon { width: 25px; height: 25px; }
.mobile-app-download__note p { font-size: var(--fs-xs); }
.mobile-app-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.mobile-app-source { position: relative; display: flex; min-height: 210px; flex-direction: column; padding: var(--sp-5); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: var(--surface-1); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.mobile-app-source:hover { border-color: var(--sand); box-shadow: 0 18px 40px rgb(var(--wine-dark-rgb) / 9%); transform: translateY(-3px); }
.mobile-app-source--recommended { color: var(--surface-1); border-color: var(--wine); background: var(--wine); }
.mobile-app-source__label { color: var(--muted); font-size: var(--fs-xs); font-weight: 650; }
.mobile-app-source--recommended .mobile-app-source__label,
.mobile-app-source--recommended small { color: rgb(var(--white-rgb) / 74%); }
.mobile-app-source > strong { margin-top: var(--sp-5); font-size: var(--fs-h3); letter-spacing: -.03em; }
.mobile-app-source > small { margin-top: var(--sp-2); color: var(--ink-2); font-size: var(--fs-xs); }
.mobile-app-source > b { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-5); color: inherit; font-size: var(--fs-xs); }
.mobile-app-source .icon { width: 18px; height: 18px; }

.mobile-app-install { border-top: 1px solid var(--line); }
.mobile-app-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; counter-reset: none; list-style: none; }
.mobile-app-steps > li { position: relative; padding: 0 var(--sp-5); border-left: 1px solid var(--line); }
.mobile-app-steps > li:first-child { padding-left: 0; border-left: 0; }
.mobile-app-steps > li:last-child { padding-right: 0; }
.mobile-app-steps > li > span { display: grid; width: 42px; height: 42px; margin-bottom: var(--sp-5); border: 1px solid var(--sand); border-radius: 50%; color: var(--wine); background: var(--cream); font-size: var(--fs-sm); font-weight: 700; place-items: center; }
.mobile-app-steps h3 { font-size: var(--fs-h4); font-weight: 650; }
.mobile-app-steps p { margin-top: var(--sp-3); font-size: var(--fs-sm); }
.mobile-app-inline-link { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-6); color: var(--wine); font-size: var(--fs-sm); font-weight: 700; text-underline-offset: 4px; }
.mobile-app-inline-link .icon { width: 18px; height: 18px; }

.mobile-app-ios { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr); gap: var(--sp-8); padding: clamp(38px, 5vw, 66px); border-radius: 28px; color: var(--surface-1); background: linear-gradient(130deg, var(--wine-dark), var(--wine)); }
.mobile-app-ios .eyebrow { color: var(--rose-soft); }
.mobile-app-ios__copy p { margin-top: var(--sp-4); color: rgb(var(--white-rgb) / 82%); }
.mobile-app-ios__copy .button { margin-top: var(--sp-5); }
.mobile-app-ios__steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.mobile-app-ios__steps > li { display: grid; grid-template-columns: 45px minmax(0, 1fr); align-items: start; gap: var(--sp-4); padding: var(--sp-5) 0; border-top: 1px solid rgb(var(--white-rgb) / 18%); }
.mobile-app-ios__steps > li:first-child { border-top: 0; }
.mobile-app-ios__steps span { color: var(--rose-soft); font-size: var(--fs-xs); font-weight: 700; }
.mobile-app-ios__steps p { color: var(--surface-1); font-size: var(--fs-sm); }

.mobile-app-security { border-bottom: 1px solid var(--line); }
.mobile-app-security__heading { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.mobile-app-security__heading > span { display: grid; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; color: var(--wine); background: var(--wine-soft); place-items: center; }
.mobile-app-security__heading .icon { width: 27px; height: 27px; }
.mobile-app-security__heading .eyebrow { margin-bottom: var(--sp-2); }
.mobile-app-security__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.mobile-app-security__grid > article { padding: var(--sp-5); border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); }
.mobile-app-security__grid strong { font-size: var(--fs-h4); }
.mobile-app-security__grid p { margin-top: var(--sp-3); font-size: var(--fs-sm); }
.mobile-app-security__note { margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5); border-left: 2px solid var(--wine); background: var(--wine-soft); font-size: var(--fs-sm); }

.mobile-app-account { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sp-7); margin-block: var(--mobile-space); padding: var(--sp-7); border-radius: 26px; background: var(--cream); }
.mobile-app-account p { max-width: 720px; margin-top: var(--sp-4); }
.mobile-app-account .button { min-width: 280px; justify-content: space-between; }

.mobile-app-faq { margin-block: var(--mobile-space); }
.mobile-app-faq .content-faq { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.mobile-app-faq .content-faq .section-heading { margin-bottom: var(--sp-6); }
.mobile-app-faq .content-faq .section-heading > h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.045em; }
.mobile-app-faq .content-faq__item > summary { min-height: 76px; font-size: var(--fs-read); font-weight: 600; }
.mobile-app-faq .content-faq__answer { max-width: 1000px; padding-bottom: var(--sp-5); }
.mobile-app-faq .content-faq__item:last-child { border-bottom: 1px solid var(--line); }

.mobile-app-related { padding-top: var(--sp-7); border-top: 1px solid var(--line); }
.mobile-app-related__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.mobile-app-related__links > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-2) var(--sp-3); min-height: 145px; padding: var(--sp-5); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; }
.mobile-app-related__links > a:hover { border-color: var(--sand); }
.mobile-app-related__links strong { font-size: var(--fs-base); }
.mobile-app-related__links span { color: var(--muted); font-size: var(--fs-xs); }
.mobile-app-related__links b { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--wine); }
.mobile-app-related__links .icon { width: 19px; height: 19px; }
.mobile-app-sources-note { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-7); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.mobile-app-sources-note > div:first-child { max-width: 720px; }
.mobile-app-sources-note p { font-size: var(--fs-xs); }
.mobile-app-sources-note > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--sp-3) var(--sp-5); }
.mobile-app-sources-note a { color: var(--muted); font-size: var(--fs-xs); text-underline-offset: 3px; }
.mobile-app-sources-note a:hover { color: var(--wine); }

@media (max-width: 1050px) {
  .mobile-app-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(290px, .7fr); gap: var(--sp-7); }
  .mobile-app-phone__badge { display: none; }
  .mobile-app-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-app-features > article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .mobile-app-features > article:nth-child(4) { border-top: 1px solid var(--line); }
  .mobile-app-download { grid-template-columns: 1fr; }
  .mobile-app-download__intro { position: static; }
  .mobile-app-related__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .mobile-app-page { --mobile-space: var(--sp-8); }
  .mobile-app-hero { padding: var(--sp-5) 0 var(--sp-7); }
  .mobile-app-hero__grid { grid-template-columns: 1fr; }
  .mobile-app-hero__copy > h1 { font-size: var(--fs-h1); }
  .mobile-app-hero__actions { flex-direction: column; }
  .mobile-app-hero__actions .button { width: 100%; min-width: 0; }
  .mobile-app-phone { min-height: 430px; }
  .mobile-app-phone::before { width: 320px; height: 320px; }
  .mobile-app-phone__shell { width: 220px; }
  .mobile-app-phone__screen { min-height: 395px; }
  .mobile-app-nav { position: static; }
  .mobile-app-nav__inner { gap: var(--sp-5); }
  .mobile-app-content { padding-top: var(--sp-5); }
  .mobile-app-status { grid-template-columns: auto minmax(0, 1fr); padding: var(--sp-5); }
  .mobile-app-status > a { grid-column: 2; }
  .mobile-app-section-heading { grid-template-columns: 1fr; gap: var(--sp-4); }
  .mobile-app-sources { grid-template-columns: 1fr; }
  .mobile-app-steps { grid-template-columns: 1fr; gap: var(--sp-5); }
  .mobile-app-steps > li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: var(--sp-4); padding: 0; border-left: 0; }
  .mobile-app-steps > li > span { margin-bottom: 0; }
  .mobile-app-ios { grid-template-columns: 1fr; gap: var(--sp-6); padding: var(--sp-6); }
  .mobile-app-security__grid { grid-template-columns: 1fr; }
  .mobile-app-account { grid-template-columns: 1fr; padding: var(--sp-6); }
  .mobile-app-account .button { width: 100%; min-width: 0; }
  .mobile-app-sources-note { flex-direction: column; gap: var(--sp-4); }
  .mobile-app-sources-note > div:last-child { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .mobile-app-hero__facts { display: grid; }
  .mobile-app-features { grid-template-columns: 1fr; }
  .mobile-app-features > article { min-height: 0; border-top: 1px solid var(--line); border-left: 0; }
  .mobile-app-features > article:first-child { border-top: 0; }
  .mobile-app-status { grid-template-columns: 1fr; }
  .mobile-app-status > a { grid-column: 1; }
  .mobile-app-status__mark { width: 42px; height: 42px; }
  .mobile-app-ios { padding: var(--sp-5); }
  .mobile-app-security__heading { align-items: flex-start; }
  .mobile-app-related__links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-app-source { transition: none; }
}
