/* Цвета и шрифты сайта. */
:root{
  --red:#e8283c;
  --red-dark:#c81c2e;
  --pink:#f07f9c;
  --pink-soft:#fde8ec;
  --pink-tint:#fdf2f4;

  --ink:#16171b;
  --ink-2:#3d4148;
  --muted:#6d7278;
  --faint:#9ba0a6;

  --bg:#ffffff;
  --surface:#f6f6f7;
  --line:#ebebec;
  --line-2:#e2e2e4;

  --dark:#121316;
  --dark-2:#1c1d21;

  --radius:16px;
  --radius-lg:22px;
  --container:1180px;

  --sans:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,-apple-system,"Segoe UI",sans-serif;
  --serif:"Playfair Display","Times New Roman",Georgia,serif;
  --script:"Caveat","Segoe Script",cursive;

  --ph-person:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d98da3' stroke-width='1.1' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M4.5 21c0-4.1 3.4-7.4 7.5-7.4S19.5 16.9 19.5 21'/%3E%3C/svg%3E");
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
/* Перенос строк зависит от языка: keep-all запрещает разрыв внутри слова —
   для корейского это правильно, а в языках без пробелов (ja, zh, th) «словом»
   становится вся фраза и строка перестаёт переноситься вообще. */
:root{--wb:keep-all}
:root[lang="ja"],:root[lang="zh"],:root[lang="zh-TW"],:root[lang="th"]{--wb:normal}

body{
  margin:0;
  /* страховка для длинных слов: лучше перенести слово, чем срезать блок */
  overflow-wrap:break-word;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:15px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
img{max-width:100%;display:block}
/* без этого img{display:block} выше перебивает браузерное [hidden]{display:none}
   и скрытая картинка остаётся в потоке и ловит клики */
[hidden]{display:none!important}
svg{display:block}

.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:24px}

.wordmark{
  --wm:26px;
  display:inline-flex;
  align-items:stretch;
  gap:.14em;
  color:var(--ink);
  line-height:1;
}
.wordmark__main{
  font-family:var(--serif);
  font-weight:700;
  font-size:var(--wm);
  letter-spacing:.005em;
  line-height:.92;
  text-transform:uppercase;
  white-space:nowrap;
}
.wordmark__sub{
  align-self:stretch;
  display:grid;
  place-items:center;
  width:.42em;
  font-size:var(--wm);
}
.wordmark__sub > i{
  font-family:var(--serif);
  font-style:normal;
  font-weight:700;
  font-size:.3em;
  letter-spacing:.04em;
  line-height:1;
  white-space:nowrap;
  transform:rotate(90deg);
  color:var(--red-dark);
}
.wordmark--pink{color:var(--pink)}
.wordmark--light{color:#fff}
.logo{display:inline-flex;align-items:center}

.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header__inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;height:64px;
}
.nav{display:flex;align-items:center;gap:30px}
.nav a{
  position:relative;
  font-size:14.5px;font-weight:500;color:var(--ink-2);
  padding:6px 0;
  transition:color .18s;
}
.nav a:hover{color:var(--ink)}
.nav a.is-active{color:var(--red);font-weight:700}
.nav a.is-active::after{
  content:"";position:absolute;left:0;right:0;bottom:-2px;
  height:2px;border-radius:2px;background:var(--red);
}
.site-header__aside{display:flex;align-items:center;gap:14px}
.lang{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--faint)}
.lang button{font-size:12.5px;font-weight:600;color:var(--faint);transition:color .18s}
.lang button:hover{color:var(--ink-2)}
.lang button.is-active{color:var(--ink)}
.lang__sep{opacity:.45}

/* Кнопка на основной сайт — рядом с выбором языка. На телефоне от неё
   остаётся только иконка: шапка должна помещаться в 320px. */
.site-link{
  display:inline-flex;align-items:center;gap:7px;
  height:34px;padding:0 12px;border-radius:999px;
  background:var(--pink-tint);border:1px solid #f7dde3;
  font-size:12px;font-weight:700;color:var(--ink);
  white-space:nowrap;transition:background .18s,border-color .18s;
}
.site-link:hover{background:#fce9ee;border-color:#f2c9d3}
.site-link svg{
  width:14px;height:14px;flex:0 0 auto;fill:none;stroke:var(--red);
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}

.burger{width:26px;height:26px;display:grid;align-content:center;gap:5px;padding:0}
.burger span{display:block;height:1.8px;border-radius:2px;background:var(--ink);transition:transform .22s,opacity .18s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6.8px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.8px) rotate(-45deg)}

.eyebrow{
  font-family:var(--serif);
  font-size:13px;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--red);
  margin-bottom:16px;
}
.eyebrow--pink{color:var(--pink)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:48px;padding:0 26px;border-radius:999px;
  font-size:15px;font-weight:700;white-space:nowrap;
  transition:background .18s,color .18s,border-color .18s,transform .18s,box-shadow .18s;
}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--red);color:#fff;box-shadow:0 8px 20px -10px rgba(232,40,60,.75)}
.btn--primary:hover{background:var(--red-dark)}
.btn--ghost{background:#fff;color:var(--ink);border:1px solid var(--line-2)}
.btn--ghost:hover{border-color:#cfcfd2;background:#fcfcfc}
.btn--outline-light{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.55)}
.btn--outline-light:hover{background:rgba(255,255,255,.12)}

.section{padding:45px 0}
.section--tight{padding:34px 0 10px}
.section__head{text-align:center;margin-bottom:34px}
.section__title{font-size:clamp(24px,3vw,31px);font-weight:900;letter-spacing:-.02em;line-height:1.35}
.section__sub{margin-top:10px;font-size:14.5px;color:var(--muted)}
.section__title--left,.section__sub--left{text-align:left}

.round-btn{
  display:grid;place-items:center;
  width:30px;height:30px;border-radius:50%;
  background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.14);
  flex:0 0 auto;
}
.round-btn svg{width:15px;height:15px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.ph{
  position:relative;
  aspect-ratio:var(--ar,3/4);
  border-radius:var(--ph-radius,14px);
  overflow:hidden;
  background:
    repeating-linear-gradient(135deg,rgba(255,255,255,.5) 0 10px,rgba(255,255,255,0) 10px 20px),
    linear-gradient(155deg,#fdeff2 0%,#f8dfe5 52%,#f0cfd8 100%);
}
.ph > img,.ph > video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ph > img{object-position:var(--photo-focus,50% 50%);transform:scale(var(--photo-zoom,1));transform-origin:var(--photo-focus,50% 50%)}
.ph::before{
  content:"";position:absolute;inset:0;
  background-image:var(--ph-person);
  background-repeat:no-repeat;background-position:50% 45%;
  background-size:min(42%,88px) auto;
  opacity:.6;
}
.ph::after{
  content:attr(data-label);
  position:absolute;left:8px;bottom:8px;
  padding:3px 7px;border-radius:5px;
  background:rgba(255,255,255,.78);
  color:#b3627a;
  font-size:9.5px;font-weight:700;letter-spacing:.06em;
  line-height:1.3;
}
.ph[data-label=""]::after,.ph:not([data-label])::after{content:none}
.ph:has(> img)::before,.ph:has(> img)::after{content:none;background-image:none}


.features{
  display:grid;grid-template-columns:repeat(5,1fr);
  background:var(--surface);border-radius:var(--radius-lg);
  padding:38px 18px;
}
.feature{position:relative;text-align:center;padding:0 16px}
.feature + .feature::before{
  content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;background:#e8e8ea;
}
.feature__icon{
  display:grid;place-items:center;
  width:56px;height:56px;margin:0 auto 16px;
  border-radius:50%;background:var(--pink-soft);
}
.feature__icon svg{width:24px;height:24px;fill:none;stroke:var(--red);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.feature__title{font-size:15.5px;font-weight:800;letter-spacing:-.02em}
.feature__text{margin-top:8px;font-size:12.5px;line-height:1.65;color:var(--muted)}

.recommend{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.rec{
  display:grid;grid-template-columns:118px 1fr;gap:20px;
  align-items:center;overflow:hidden;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  transition:box-shadow .2s,transform .2s,border-color .2s;
}
.rec:hover{transform:translateY(-3px);box-shadow:0 18px 34px -22px rgba(24,10,14,.28);border-color:var(--line-2)}
.rec__media{--ph-radius:0;width:100%;height:100%;aspect-ratio:auto;align-self:stretch}
.rec__body{padding:22px 22px 22px 0}
.rec__title{font-size:16px;font-weight:800;letter-spacing:-.02em;line-height:1.42}
.rec__text{margin-top:10px;font-size:12.5px;line-height:1.7;color:var(--muted)}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.step{position:relative;text-align:center;padding:0 8px}
.step__marks{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:18px}
.step__num{
  display:grid;place-items:center;
  width:27px;height:27px;border-radius:50%;
  background:var(--red);color:#fff;
  font-size:10.5px;font-weight:800;letter-spacing:.02em;
  flex:0 0 auto;
}
.step__icon{
  display:grid;place-items:center;
  width:54px;height:54px;border-radius:50%;
  background:var(--pink-soft);flex:0 0 auto;
}
.step__icon svg{width:23px;height:23px;fill:none;stroke:var(--red);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.step:not(:last-child)::after{
  content:"";position:absolute;
  top:25px;height:4px;
  left:calc(50% + 56px);
  width:calc(100% - 96px);
  background-image:radial-gradient(circle at center,#eba7ba 0 1.7px,transparent 1.8px);
  background-size:calc(100% / var(--dots,18)) 100%;
  background-repeat:repeat-x;
}
.step__title{font-size:15.5px;font-weight:800;letter-spacing:-.02em}
.step__text{margin-top:8px;font-size:12.5px;line-height:1.65;color:var(--muted)}

.contents{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.content-card{
  overflow:hidden;background:#fff;
  border:1px solid var(--line);border-radius:var(--radius);
  transition:box-shadow .2s,transform .2s;
}
.content-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px -22px rgba(24,10,14,.28)}
.content-card__media{--ph-radius:0}
.content-card__mock{
  aspect-ratio:4/3;display:grid;place-items:center;
  background:linear-gradient(160deg,#fafafb,#f2f2f4);
  padding:16px;
}
.content-card__mock--action{background:linear-gradient(160deg,#fff6f7,#fdeaef)}
.content-card__body{padding:16px 18px 20px}
.content-card__tag{
  font-family:var(--serif);font-size:9.5px;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--red);
}
.content-card__title{font-size:15px;font-weight:800;letter-spacing:-.02em;margin-top:6px}
.content-card__text{margin-top:8px;font-size:12px;line-height:1.65;color:var(--muted)}

.profile-mock{
  width:100%;
  /* max-width:196px; */
  background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:11px 12px 12px;
  box-shadow:0 8px 18px -12px rgba(20,10,14,.28);
}
.profile-mock__brand{font-family:var(--serif);font-weight:700;font-size:11px;letter-spacing:-.01em;margin-bottom:9px}
.profile-mock__row{display:flex;align-items:center;gap:10px}
.profile-mock__avatar{--ph-radius:50%;width:40px;flex:0 0 auto}
.profile-mock__stats{display:flex;gap:10px;flex:1;justify-content:space-between}
.profile-mock__stats div{text-align:center;line-height:1.25}
.profile-mock__stats b{display:block;font-size:11px;font-weight:800}
.profile-mock__stats span{font-size:8.5px;color:var(--faint)}
.profile-mock__btn{
  display:block;margin-top:10px;
  background:var(--red);color:#fff;border-radius:6px;
  text-align:center;font-size:10px;font-weight:700;padding:5px 0;
}

.section--faq{padding-top:34px}
.faq__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}
.faq__more{font-size:12.5px;color:var(--muted);white-space:nowrap;transition:color .18s}
.faq__more:hover{color:var(--red)}
.faq{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.faq__col{display:grid;gap:12px;align-content:start}
.faq__item{background:#fff;border:1px solid var(--line);border-radius:10px;transition:border-color .18s,box-shadow .18s}
.faq__item.is-open{border-color:#f1ccd3;box-shadow:0 12px 26px -20px rgba(24,10,14,.35)}
.faq__q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:16px 18px;text-align:left;
  font-size:13.5px;font-weight:600;color:var(--ink-2);
}
.faq__item.is-open .faq__q{color:var(--ink);font-weight:700}
.faq__q i{
  position:relative;width:13px;height:13px;flex:0 0 auto;
}
.faq__q i::before,.faq__q i::after{
  content:"";position:absolute;inset:0;margin:auto;
  background:var(--faint);transition:transform .24s,background .18s;
}
.faq__q i::before{width:13px;height:1.6px}
.faq__q i::after{width:1.6px;height:13px}
.faq__item.is-open .faq__q i::before,.faq__item.is-open .faq__q i::after{background:var(--red)}
.faq__item.is-open .faq__q i::after{transform:rotate(90deg)}
.faq__a{max-height:0;overflow:hidden;transition:max-height .28s ease}
.faq__a > p{
  margin:0;padding:0 18px 18px;
  font-size:13px;line-height:1.75;color:var(--muted);
}

.site-footer{background:#17181a;color:#fff;padding:40px 0 44px;margin-top:26px}
.site-footer__inner{display:flex;align-items:flex-start;justify-content:space-between;gap:36px;flex-wrap:wrap}
.site-footer__brand .wordmark{--wm:24px}
.site-footer__links{display:flex;flex-wrap:wrap;gap:18px;margin:18px 0 14px}
.site-footer__links a{font-size:12.5px;color:rgba(255,255,255,.66);transition:color .18s}
.site-footer__links a:hover{color:#fff}
.site-footer__copy{font-size:11.5px;color:rgba(255,255,255,.4)}
.site-footer__apps{display:flex;align-items:center;gap:26px;padding-top:4px}
.stores{display:flex;gap:10px}
.store{
  display:flex;align-items:center;gap:9px;
  padding:8px 14px;border-radius:8px;
  background:#000;border:1px solid rgba(255,255,255,.18);
  transition:border-color .18s,background .18s;
}
.store:hover{border-color:rgba(255,255,255,.4);background:#0b0b0c}
.store svg{width:19px;height:19px;fill:#fff}
.store span{display:flex;flex-direction:column;font-size:11.5px;font-weight:600;line-height:1.25}
.store small{font-size:8.5px;font-weight:400;color:rgba(255,255,255,.6)}
.socials{display:flex;gap:12px}
.socials a{
  display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  background:rgba(255,255,255,.08);transition:background .18s;
}
.socials a:hover{background:rgba(255,255,255,.2)}
.socials svg{width:15px;height:15px;fill:none;stroke:#fff;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}

/* Десктопная навигация вместе с логотипом и правым блоком требует ~1020px
   в самых длинных языках (ru, id, vi). Ниже прячем её в бургер: раньше шапка
   на планшете вылезала за экран и появлялся горизонтальный скролл. */
@media (max-width:1060px){
  .nav{display:none}
}

@media (max-width:1180px) and (min-width:1061px){
  .nav{gap:20px}
  .nav a{font-size:13.5px}
  .site-link{padding:0 10px;font-size:11.5px}
}

@media (max-width:1040px){
  .features{grid-template-columns:repeat(3,1fr);gap:30px 0;padding:32px 12px}
  .feature + .feature::before{display:none}
  .recommend{grid-template-columns:1fr 1fr}
  .recommend > .rec:last-child{grid-column:1/-1}
  .contents{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr;gap:34px 16px}
  .step:not(:last-child)::after{display:none}
}

@media (max-width:760px){
  body{font-size:14.5px}
  .container{padding-inline:18px}
  .section{padding:52px 0}
  .section--tight{padding:26px 0 6px}

  .nav{display:none}
  .lang{display:none}

  .wordmark{--wm:20px}
  .site-header__inner{height:58px}

  .features{grid-template-columns:1fr 1fr;gap:26px 0;padding:28px 8px}
  .feature{padding:0 10px}
  /* 브랜딩 지원 на мобиле не показываем — остальные четыре ложатся 2×2. */
  .feature:last-child{display:none}
  .feature__icon{width:48px;height:48px;margin-bottom:12px}
  .feature__icon svg{width:21px;height:21px}

  .recommend{grid-template-columns:1fr;gap:12px}
  .recommend > .rec:last-child{grid-column:auto}
  .rec{grid-template-columns:104px 1fr;gap:16px}
  .rec__body{padding:18px 16px 18px 0}

  .steps{grid-template-columns:1fr;gap:26px}
  .step{display:grid;grid-template-columns:auto 1fr;gap:0 16px;text-align:left;padding:0}
  .step__marks{margin-bottom:0;grid-row:span 2}
  .step__icon{width:46px;height:46px}
  .step__text{margin-top:4px}

  .contents{grid-template-columns:1fr;gap:12px}
  .content-card__mock{aspect-ratio:16/9}
  .content-card__media{--ar:16/9!important}

  .faq__head{flex-direction:column;align-items:flex-start;gap:10px}
  .faq{grid-template-columns:1fr}

  .site-footer__inner{flex-direction:column;gap:26px}
  .site-footer__apps{flex-direction:column;align-items:flex-start;gap:18px}
  .stores{flex-wrap:wrap}

}

@media (max-width:420px){
  .feature{text-align:center}
  .rec{grid-template-columns:88px 1fr;gap:14px}
  .stores{flex-direction:column;align-items:stretch}
}

@media (prefers-reduced-motion:reduce){
  *{transition-duration:.01ms!important;animation-duration:.01ms!important}
  html{scroll-behavior:auto}
}

body.is-locked{overflow:hidden}
.drawer{position:fixed;inset:0;z-index:90;visibility:hidden;pointer-events:none}
.drawer.is-open{visibility:visible;pointer-events:auto}
.drawer__scrim{
  position:absolute;inset:0;background:rgba(12,8,10,.44);
  opacity:0;transition:opacity .24s;
}
.drawer.is-open .drawer__scrim{opacity:1}
.drawer__panel{
  position:absolute;top:0;right:0;bottom:0;
  width:min(320px,86vw);
  display:flex;flex-direction:column;
  background:#fff;padding:20px 22px 24px;
  box-shadow:-18px 0 44px -28px rgba(20,10,14,.6);
  transform:translateX(100%);
  transition:transform .26s cubic-bezier(.22,.61,.36,1);
  overflow-y:auto;
}
.drawer.is-open .drawer__panel{transform:none}
.drawer__top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.drawer__top .wordmark{--wm:22px}
.drawer__close{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--surface);flex:0 0 auto}
.drawer__close:hover{background:#eeeef0}
.drawer__close svg{width:16px;height:16px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round}
.drawer__nav{display:grid}
.drawer__nav a{
  padding:13px 2px;font-size:15.5px;font-weight:600;color:var(--ink-2);
  border-bottom:1px solid #f2f2f3;transition:color .18s;
}
.drawer__nav a:hover,.drawer__nav a.is-active{color:var(--red)}
.drawer__lang{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 2px 20px;font-size:13px;color:var(--muted);
}
.lang--drawer,.lang--drawer button{font-size:13px}
.drawer__site{
  margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 16px;border-radius:12px;
  background:var(--pink-tint);border:1px solid #f7dde3;
  transition:background .18s,border-color .18s;
}
.drawer__site:hover{background:#fce9ee;border-color:#f2c9d3}
.drawer__site b{display:block;font-size:13.5px;font-weight:700;color:var(--ink)}
.drawer__site small{display:block;margin-top:2px;font-size:11px;color:var(--muted)}
.drawer__site svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke:var(--red);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.eyebrow--center{text-align:center;margin-bottom:10px}
.why-rows{display:grid;gap:14px}
.why-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-height:160px}
.why-row__media{--ph-radius:0}
.why-row--flip .why-row__media{order:2}
.why-row__body{
  display:flex;gap:14px;
  padding:26px 30px;border-radius:0;background:var(--surface);
}
.why-row__num{flex:0 0 auto;font-size:12px;font-weight:800;color:var(--red);line-height:2.2}
.why-row__title{font-size:18px;font-weight:800;letter-spacing:-.025em;line-height:1.45}
.why-row__text{margin-top:10px;font-size:12.5px;line-height:1.75;color:var(--muted)}
.why-row__link{
  display:inline-flex;align-items:baseline;gap:8px;margin-top:16px;
  font-size:12.5px;font-weight:700;color:var(--red);
}
.why-row__link:hover{text-decoration:underline;text-underline-offset:3px}

.wordmark--inline{align-items:baseline;gap:.02em}
.wordmark--inline .wordmark__sub{width:auto;align-self:auto;display:inline-block;font-size:1em}
.wordmark--inline .wordmark__sub > i{
  transform:none;font-size:.72em;letter-spacing:.005em;
  color:var(--red);margin-left:-.04em;
}

.site-footer__ext{display:inline-flex;align-items:center;gap:6px}
.site-footer__ext svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.store b{font-weight:600}

/* Первый экран и обложки журналов. */
.hero{
  --hero-red:#df0716;
  --cover-serif:"Times New Roman",Times,serif;
  position:relative;overflow:hidden;
  background:radial-gradient(ellipse at 17% 45%,#fafafb 0%,#ededef 45%,#d8d8da 100%);
}
.hero__inner{
  max-width:1460px;min-height:550px;padding:20px 36px 26px 7.5%;
  display:grid;grid-template-columns:minmax(0,37%) minmax(0,63%);align-items:center;
}
.hero__copy{position:relative;z-index:5;min-width:0;padding:24px 0 8px}
.hero__eyebrow{
  margin-bottom:22px;font:700 11px/1.4 var(--sans);
  color:#797b80;letter-spacing:.22em;
}
.hero__title{
  font-family:var(--cover-serif);font-size:clamp(54px,5.1vw,72px);
  font-weight:700;line-height:.94;letter-spacing:-.065em;color:#090c0f;
}
.hero__title span,.hero__title em{display:block}
.hero__title em{
  margin-top:1px;font-size:1.12em;line-height:.9;
  font-weight:700;font-style:normal;letter-spacing:-.045em;color:var(--hero-red);
}
.hero__statement{
  margin-top:20px;font-size:clamp(17px,1.56vw,23px);font-weight:700;
  letter-spacing:-.065em;line-height:1.5;word-break:var(--wb);
}
.hero__lead{
  margin-top:15px;font-size:clamp(12px,.97vw,14px);line-height:1.8;
  font-weight:500;letter-spacing:-.045em;color:#777a7e;word-break:var(--wb);
}
.hero__actions{display:flex;margin-top:23px}
.hero__actions .btn{
  min-width:200px;height:49px;gap:12px;background:var(--hero-red);
  border:2px solid #fff;box-shadow:0 0 0 1px #cfced0;
  font-size:14px;
}
.hero__actions .btn:hover{background:#ba0613;box-shadow:0 5px 18px #c90c2026}
.hero__benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:36px;max-width:455px}
/* колонки одной высоты, подпись прижата к низу — тогда подписи стоят в
   одну линию, даже если заголовок где-то переносится на две строки */
.hero__benefits li{min-width:0;display:flex;flex-direction:column;
  padding:0 18px;border-left:1px solid #bfc0c4;line-height:1.5}
.hero__benefits li:first-child{padding-left:0;border:0}
.hero__benefits li:last-child{padding-right:0}
/* без nowrap: в русском и вьетнамском подписи длиннее колонки и раньше
   распирали весь блок за край экрана */
.hero__benefits strong,.hero__benefits span{display:block;letter-spacing:-.04em;
  overflow-wrap:break-word}
.hero__benefits strong{font-size:12px;font-weight:800}
.hero__benefits span{margin-top:auto;padding-top:4px;font-size:11px;font-weight:500;color:#74777b}
.hero__visual{
  position:relative;width:100%;aspect-ratio:1.65;min-width:0;margin-left:-54px;
  isolation:isolate;container-type:inline-size;
}
.hero-cover{
  position:absolute;aspect-ratio: .71;background:#d1d1d3;color:#333438;
  border:1px solid #eeeef0;transform-origin:50% 75%;
  box-shadow:1px 1px 2px #fff6,0 16px 25px -8px #13131855,0 4px 9px #1c1c2033;
}
.hero-cover::after{
  content:"";position:absolute;inset:0;z-index:4;pointer-events:none;
  background:linear-gradient(90deg,#0003,transparent 1.1%,#ffffff2e 2%,transparent 3%,transparent 98%,#0002);
  box-shadow:inset 1px 0 0 #fff6;
}
.hero-cover--left{z-index:1;left:8%;top:16%;width:33%;transform:rotate(-9deg)}
.hero-cover--right{z-index:0;left:66%;top:18%;width:30.5%;transform:rotate(16deg)}
.hero-cover--front{z-index:3;left:33%;top:1.5%;width:43%;transform:rotate(.5deg);color:#f4f4f3;border-color:#525255}
.hero-cover__media{
  --ph-radius:0;position:absolute;inset:0;aspect-ratio:auto;
  background:radial-gradient(ellipse at 65% 30%,#e9e9ec 0%,transparent 55%),linear-gradient(130deg,#d0d0d6,#a4a6ae);
  --ph-person:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777b82' stroke-width='.5'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M4.5 21c0-4.1 3.4-7.4 7.5-7.4S19.5 16.9 19.5 21'/%3E%3C/svg%3E");
}
.hero-cover--front .hero-cover__media{
  background:radial-gradient(ellipse at 65% 33%,#5e5e61 0%,transparent 65%),linear-gradient(135deg,#343437,#151518);
}
.hero-cover--right .hero-cover__media{background:linear-gradient(125deg,#fafafa,#d0cfd0)}
.hero-cover__media::before{background-size:40% auto;background-position:65% 39%;opacity:.35}
.hero-cover__media::after{
  top:47%;bottom:auto;left:auto;right:15%;padding:0;background:none;
  font:500 8px/1.5 var(--sans);font-size:1cqw;letter-spacing:.18em;color:#676970;
}
.hero-cover--front .hero-cover__media::after{color:#a1a1a6}
.hero-cover__design{position:absolute;inset:0;z-index:2;padding:4.5% 5.5%;pointer-events:none}
.hero-cover__masthead{
  display:flex;align-items:baseline;white-space:nowrap;
  font-family:var(--cover-serif);font-size:3.25cqw;line-height:1;letter-spacing:-.085em;
}
.hero-cover__masthead em{font-size:1.12em;letter-spacing:-.08em;font-weight:700;font-style:normal;color:var(--hero-red)}
.hero-cover--front .hero-cover__masthead{font-size:4.55cqw}
.hero-cover__volume{display:block;margin-top:7px;text-align:right;font:600 .85cqw/1 var(--sans);opacity:.65}
.hero-cover__copy{position:absolute;left:6%;right:5%;bottom:6%}
.hero-cover__copy h2{font-family:var(--cover-serif);font-size:3.2cqw;font-weight:400;line-height:.95;letter-spacing:-.04em}
.hero-cover__copy p{margin-top:13px;font-size:1.35cqw;line-height:1.4;letter-spacing:-.04em}
.hero-cover--left .hero-cover__copy{color:#fff;text-shadow:0 1px 2px #0004}
.hero-cover--right .hero-cover__copy{text-align:right;bottom:7%}
.hero-cover--right .hero-cover__copy h2{font-size:2.8cqw}
.hero-cover--front .hero-cover__copy{bottom:4.3%}
.hero-cover:has(.hero-cover__media > img) .hero-cover__design{background:linear-gradient(0deg,#09090cd9,transparent 68%)}
.hero-cover--right:has(.hero-cover__media > img) .hero-cover__design{background:linear-gradient(0deg,#ffffffe6,transparent 66%)}
.hero-cover--left:has(.hero-cover__media > img) .hero-cover__masthead{color:#fff;text-shadow:0 1px 5px #0006}
.hero-cover--front .hero-cover__masthead{text-shadow:0 1px 5px #0008}
.hero-cover--front .hero-cover__copy h2{font-size:3.3cqw;font-weight:700;line-height:1.05}
.hero-cover__kicker{display:block;margin-bottom:5px;font-family:var(--cover-serif);font-size:2.3cqw;letter-spacing:-.07em;opacity:.75}
.hero-cover__rule{display:block;width:17%;height:1px;background:#b93b43;margin-top:12px}
.hero-cover--front .hero-cover__copy p{font-size:1.9cqw;line-height:1.4;margin-top:12px}
.hero-cover__copy small{display:block;margin-top:22px;font:400 1.2cqw/1.08 var(--cover-serif)}
.hero-cover__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-cover:has(> .hero-cover__image) .hero-cover__media,
.hero-cover:has(> .hero-cover__image) .hero-cover__design{display:none}
.hero__annotation{
  position:absolute;right:8%;top:3%;font-size:1.3cqw;line-height:1.5;
  text-align:center;letter-spacing:-.05em;color:#646468;font-weight:600;
}
.hero__annotation::after{content:"";display:block;width:1px;height:20px;background:#777;transform:rotate(37deg);margin:6px auto 0}
.script-note{
  position:absolute;z-index:5;right:-15%;bottom:0;transform:rotate(-17deg);
  font-family:var(--script);font-size:7.5cqw;font-weight:500;line-height:.78;
  letter-spacing:-.08em;text-align:center;color:var(--hero-red);pointer-events:none;
}
.script-note span{display:inline-block;margin-top:.13em}

@media (min-width:1460px){.hero__inner{padding-left:110px}}
/* Свисающая надпись подтягивается внутрь по мере сужения окна: на ноутбуке
   с узким экраном она раньше упиралась в край и обрезалась. */
@media (max-width:1660px){.script-note{right:-7%}}
@media (max-width:1520px){.script-note{right:-2%}}
@media (max-width:1100px){.script-note{right:1.5%}}
@media (max-width:1100px) and (min-width:761px){
  .hero__inner{padding:32px 26px 36px;min-height:490px;grid-template-columns:41% 59%}
  .hero__title{font-size:55px}
  .hero__visual{margin-left:-15px}
  .hero__statement{font-size:17px}
  .hero__benefits li{padding-inline:10px}
  .hero__benefits strong{font-size:10px}
  .hero__benefits span{font-size:9px}
}
@media (max-width:760px){
  .hero__inner{grid-template-columns:minmax(0,1fr);padding:36px 24px 26px;gap:24px;min-height:0}
  .hero__copy{padding:0;max-width:500px;width:100%;margin-inline:auto}
  .hero__eyebrow{font-size:9px;margin-bottom:19px}
  .hero__title{font-size:clamp(49px,11.8vw,74px)}
  .hero__statement{margin-top:19px;font-size:clamp(15px,3.8vw,21px);letter-spacing:-.07em}
  .hero__lead{font-size:12px;margin-top:12px}
  .hero__actions{margin-top:21px}
  .hero__actions .btn{min-width:187px;height:46px;font-size:13px}
  .hero__benefits{margin-top:27px;max-width:430px}
  .hero__benefits li{padding-inline:12px}
  .hero__benefits strong{font-size:11px}
  .hero__benefits span{font-size:10px}
  .hero__visual{width:calc(100% + 24px);margin-left:-12px;max-width:570px;justify-self:center;aspect-ratio:1.48}
  .hero-cover__media::after{font-size:1.3cqw}
  .hero__annotation{font-size:1.65cqw}
  .feature__text br,.rec__text br,.step__text br,.content-card__text br,.cta__kakao-text br{display:none}
  /* На телефоне блок с фотографией идёт первым, поэтому номер «5» рядом с ним
     сбивает счёт: вместо цифры показываем камеру. */
  #field-photo .field__num{font-size:0;position:relative}
  /* Иконку кладём absolute: пустой текстовый узел с цифрой остаётся вторым
     элементом грида и сбивал центровку. */
  #field-photo .field__num::after{
    content:"";position:absolute;inset:3px;background:#fff;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 3h6l1.2 2H20a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3.8L9 3Zm3 5.2A4.8 4.8 0 1 0 12 17.8 4.8 4.8 0 0 0 12 8.2Zm0 2A2.8 2.8 0 1 1 12 15.8a2.8 2.8 0 0 1 0-5.6Z'/%3E%3C/svg%3E") center/contain no-repeat;
            mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 3h6l1.2 2H20a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3.8L9 3Zm3 5.2A4.8 4.8 0 1 0 12 17.8 4.8 4.8 0 0 0 12 8.2Zm0 2A2.8 2.8 0 1 1 12 15.8a2.8 2.8 0 0 1 0-5.6Z'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .script-note{font-size:7.6cqw;right:4%}
}
@media (max-width:360px){
  .hero__inner{padding-inline:18px}
  .hero__title{font-size:46px}
  .hero__statement{font-size:14px}
  .hero__benefits li{padding-inline:8px}
  .hero__benefits strong{font-size:10px}
  .hero__benefits span{font-size:9px}
}

@media (max-width:1040px){
  .why-row{grid-template-columns:1fr 1.06fr}
}

@media (max-width:760px){
  .why-row{grid-template-columns:1fr;min-height:0;gap:10px}
  .why-row--flip .why-row__media{order:0}
  .why-row__media{aspect-ratio:16/9}
  .why-row__body{padding:20px 18px}
  .why-row__text br{display:none}
  .why-row__title{font-size:17px}
}

/* Бесконечная лента и неподвижный блок справа. */
.section--magazine{padding:14px 0 48px}
.section--magazine .section__head{margin-bottom:17px}
.section--magazine .eyebrow{font-family:var(--sans);font-size:10px;letter-spacing:.2em;margin-bottom:7px}
.section--magazine .section__title{font-size:clamp(23px,2.6vw,27px);font-weight:800;letter-spacing:-.045em}
.section--magazine .section__sub{font-size:13px;margin-top:8px}
.magazine{
  --mag-gap:34px;--mag-width:calc((100cqw - 3 * var(--mag-gap)) / 4);
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) 184px;gap:48px;
}
.magazine__stage{position:relative;min-width:0;container-type:inline-size}
.magazine__viewport{overflow-x:auto;overscroll-behavior-x:contain;border-radius:6px}
.magazine__viewport:focus-visible{outline:2px solid var(--red);outline-offset:5px}
.magazine__rail{display:flex;width:max-content;gap:var(--mag-gap);align-items:stretch}
.magazine.is-ready .magazine__viewport{overflow:hidden;cursor:grab;touch-action:pan-y pinch-zoom;user-select:none}
.magazine.is-ready .magazine__rail{will-change:transform}
.magazine.is-dragging .magazine__viewport{cursor:grabbing}
.mag-card{
  container-type:inline-size;position:relative;flex:0 0 var(--mag-width);width:var(--mag-width);
  overflow:hidden;border-radius:5px;background:#242427;
}
.mag-card__media{--ph-radius:0;aspect-ratio:.95}
.mag-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#050506e6 0%,#0808098c 20%,transparent 58%,#05050626 100%)}
.mag-card__brand{position:absolute;top:4%;left:6%;right:4%;z-index:2}
.mag-card__brand .wordmark{--wm:10.3cqw;gap:0}
.mag-card__brand .wordmark__main{font-family:"Times New Roman",Times,serif;font-weight:400;letter-spacing:-.05em}
.mag-card__brand .wordmark__sub > i{font-family:"Times New Roman",Times,serif;font-size:1em;letter-spacing:-.06em;font-weight:700;margin-left:0}
/* PLAY должен тянуться из --wm вместе с VIEWCHAT: вариант --inline ставит
   сабу font-size:1em, а это 1em от body, поэтому на обложках PLAY был мельче. */
.mag-card__brand .wordmark__sub{font-size:var(--wm)}
.mag-card__body{position:absolute;left:6%;right:5%;bottom:5%;z-index:2;color:#fff}
.mag-card__headline{font-family:"Times New Roman",Times,serif;font-weight:700;font-size:10cqw;line-height:.98;letter-spacing:-.025em}
.mag-card__caption{margin-top:6%;font-size:4.5cqw;line-height:1.35;letter-spacing:-.04em;color:#ffffffe6}
.mag-card__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mag-card:has(> .mag-card__image){aspect-ratio:.95}
.mag-card:has(> .mag-card__image)::after,
.mag-card:has(> .mag-card__image) .mag-card__media,
.mag-card:has(> .mag-card__image) .mag-card__brand,
.mag-card:has(> .mag-card__image) .mag-card__body{display:none}
.magazine__more{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:21px;padding:24px 12px;background:#f6f6f8;border-radius:7px;text-align:center;
}
.magazine__more > p{font-size:13px;line-height:1.55;font-weight:500;letter-spacing:-.04em;color:#929398}
.magazine__link{display:flex;align-items:center;justify-content:center;gap:7px;padding:0;font-size:11px;font-weight:700;color:var(--red);line-height:1.4}
.magazine__link:hover{text-decoration:underline;text-underline-offset:4px}
.rail-control{display:none;place-items:center;width:46px;height:46px;padding:0;border-radius:50%;border:1px solid #eee;background:#fff;color:#55575c;transition:background .18s,color .18s,opacity .18s;box-shadow:0 2px 10px #0000000a}
.magazine.is-ready .rail-control{display:grid}
.rail-control:hover{background:var(--ink);color:#fff}
.rail-control:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.rail-control svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#rail-prev,#rail-next{position:absolute;z-index:4;top:50%;transform:translateY(-50%)}
#rail-next{right:-23px}
#rail-prev{left:-23px;opacity:0;pointer-events:none}
.magazine__stage:hover #rail-prev,.magazine__stage:focus-within #rail-prev{opacity:1;pointer-events:auto}
.rail-control--toggle{position:absolute;right:4px;bottom:4px;width:32px;height:32px;border:0;box-shadow:none;background:transparent;color:#8d8f94}
.rail-control--toggle svg{width:13px;height:13px}
.rail-control .rail-icon--play{display:none}
.rail-control[aria-pressed="true"] .rail-icon--pause{display:none}
.rail-control[aria-pressed="true"] .rail-icon--play{display:block}

/* Фото плавно переходит в тёмный фон баннера. */
#apply{padding-top:28px}
.cta{
  position:relative;isolation:isolate;overflow:hidden;container-type:inline-size;
  display:grid;grid-template-columns:30.5% 41% 28.5%;align-items:center;
  min-height:210px;border-radius:12px;background:#0b0b0c;
}
.cta__media{
  --ph-radius:0;position:absolute;z-index:-1;inset:0 auto 0 0;width:43%;height:100%;aspect-ratio:auto;
  background:#1c1c1f;
  mask-image:linear-gradient(90deg,#000 0%,#000 40%,#000000b3 55%,transparent 90%);
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 40%,#000000b3 55%,transparent 90%);
}
.cta__copy{grid-column:2;min-width:0;padding:26px 26px 26px 20px}
.cta__copy .eyebrow{font-family:var(--sans);font-size:9px;letter-spacing:.24em;color:#ec2437;margin-bottom:10px;line-height:1.4}
.cta__title{font-size:1.87cqw;font-weight:700;letter-spacing:-.065em;line-height:1.45;color:#fff;word-break:var(--wb)}
.cta__text{font-size:10px;line-height:1.5;letter-spacing:-.035em;margin-top:5px;color:#ffffff9e;word-break:var(--wb)}
.cta__actions{display:flex;gap:11px;margin-top:20px}
.cta__actions .btn{flex:1;min-width:0;height:37px;padding:0 12px;font-size:10px;gap:8px;box-shadow:none}
.cta__actions .btn--primary{background:#e80820}
.cta__actions .btn--primary:hover{background:#bf071c}
.cta__actions .btn--outline-light{background:#fff;border:1px solid #fff;color:#626369}
.cta__actions .btn--outline-light:hover{background:#ececee}
.cta__kakao{
  grid-column:3;display:flex;align-items:center;gap:16px;min-height:152px;
  margin:24px 0;padding:12px 24px 12px 27px;border-left:1px solid #ffffff5c;
}
.cta__kakao-title{font-size:14px;font-weight:700;letter-spacing:-.04em;line-height:1.5;color:#fff;word-break:var(--wb)}
.cta__kakao-text{margin-top:9px;font-size:9px;line-height:1.65;letter-spacing:-.04em;color:#ffffff96;word-break:var(--wb)}

@media (max-width:1040px){
  .magazine{--mag-gap:22px;grid-template-columns:minmax(0,1fr) 155px;gap:34px}
  .magazine__more{padding:22px 8px;gap:16px}
  .magazine__more > p{font-size:11px}
  .magazine__link{font-size:10px}
  .cta{grid-template-columns:27% 43% 30%;min-height:200px}
  .cta__copy{padding:22px 18px 22px 12px}
  .cta__title{font-size:2cqw}
  .cta__kakao{padding:10px 14px;gap:12px;min-height:140px}
  .cta__kakao-title{font-size:12px}
  .cta__kakao-text{font-size:8px}
}
@media (max-width:760px){
  .section--magazine{padding:6px 0 34px}
  .section--magazine .section__title{font-size:21px;line-height:1.4}
  .section--magazine .section__sub{font-size:12px}
  .section--magazine .section__head{margin-bottom:21px}
  .magazine{--mag-gap:16px;--mag-width:calc((100cqw - 2 * var(--mag-gap)) / 2.35);grid-template-columns:1fr;gap:18px}
  .magazine__more{min-height:98px;flex-direction:row;justify-content:space-between;gap:18px;padding:20px 46px 20px 18px;text-align:left}
  .magazine__more > p{font-size:11px}
  .magazine__more > p br:first-child{display:none}
  .magazine__link{font-size:11px;flex-shrink:0}
  .rail-control{width:38px;height:38px}
  #rail-next{right:-12px}
  #rail-prev{left:-12px}
  .rail-control--toggle{width:30px;height:30px;right:4px;bottom:4px}
  .mag-card__caption{font-size:5cqw}
  .cta{grid-template-columns:1fr;min-height:0;display:grid;border-radius:12px}
  .cta__media{
    inset:0 0 auto;width:100%;height:320px;
    mask-image:linear-gradient(180deg,#000 0%,#000 38%,#000000b3 60%,transparent 100%);
    -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 38%,#000000b3 60%,transparent 100%);
  }
  .cta__copy{grid-column:1;padding:210px 24px 24px}
  .cta__copy .eyebrow{font-size:8px;margin-bottom:10px}
  .cta__title{font-size:21px;line-height:1.45;letter-spacing:-.04em}
  .cta__text{font-size:11px;margin-top:8px}
  .cta__actions{margin-top:20px;gap:10px}
  .cta__actions .btn{height:40px;font-size:11px}
  .cta__kakao{grid-column:1;margin:0 24px 24px;padding:24px 0 0;border-left:0;border-top:1px solid #ffffff45;min-height:0;gap:18px}
  .cta__kakao-title{font-size:14px}
  .cta__kakao-text{font-size:10px}
}
@media (max-width:420px){
  .magazine{--mag-width:calc((100cqw - var(--mag-gap)) / 1.8)}
  .magazine__more{padding-left:14px;padding-right:35px;gap:10px}
  .magazine__more > p{font-size:10px}
  .magazine__link{font-size:10px;gap:4px}
}

/* Убираем лишний промежуток между этапами и примерами контента. */
.section--steps{padding-bottom:24px}
.section--contents{padding-top:32px}
@media (max-width:760px){
  .section--contents{padding-top:28px}
}

.profile-mock__brand{font-size:13px}
.profile-mock__brand span{color:var(--red)}

/* ============================================================
   Правки под реальный мобайл (телефоны 360-430pt)
   ============================================================ */
@media (max-width:760px){
  /* Полоса в WHY: на мобиле кадр тоже подрезаем, иначе видно весь снимок
     целиком, а он скомпонован под узкую полосу как на десктопе. */
  .why-row__media{aspect-ratio:2.7}

  /* Мок профиля: карточка растянулась во всю ширину, поэтому и содержимое
     должно быть крупнее, иначе аватар с подписями выглядят потерянными. */
  /* высота по содержимому, иначе на планшете вокруг карточки огромное пустое поле */
  .content-card__mock:not(.content-card__mock--action){aspect-ratio:auto;padding:24px 20px}
  .profile-mock{max-width:none;padding:16px 18px 18px;border-radius:14px}
  .profile-mock__brand{font-size:17px;margin-bottom:14px}
  .profile-mock__row{gap:16px}
  .profile-mock__avatar{width:58px}
  .profile-mock__stats{gap:14px}
  .profile-mock__stats b{font-size:15px}
  .profile-mock__stats span{font-size:11px}
  .profile-mock__btn{margin-top:14px;padding:9px 0;border-radius:8px;font-size:13px}
}

@media (max-width:420px){
  /* Плитка возможностей остаётся 2x2: пятая карточка на мобиле скрыта,
     четыре ложатся в две колонки ровно. */
  .features{grid-template-columns:1fr 1fr;gap:24px 0;padding:26px 6px}
  .feature{padding:0 8px}
  .feature__icon{width:44px;height:44px;margin-bottom:10px}
  .feature__icon svg{width:19px;height:19px}
  .feature__title{font-size:13.5px}
  .feature__text{font-size:11.5px;line-height:1.6}

  .profile-mock__brand{font-size:15px;margin-bottom:12px}
  .profile-mock__avatar{width:50px}
  .profile-mock__stats{gap:8px}
  .profile-mock__stats b{font-size:13px}
  .profile-mock__stats span{font-size:10px}
  .profile-mock__btn{font-size:12px}
}

/* ============================================================
   Форма заявки
   ============================================================ */
.section--form{padding:8px 0 72px}
.apply{max-width:1000px;margin-inline:auto}

.apply__notice{
  display:flex;align-items:flex-start;gap:12px;
  padding:14px 18px;margin-bottom:22px;
  background:var(--pink-tint);border:1px solid #f7dde3;border-radius:12px;
}
.apply__notice-icon{
  display:grid;place-items:center;flex:0 0 auto;
  width:30px;height:30px;border-radius:50%;background:var(--red);
}
.apply__notice-icon svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.apply__notice b{display:block;font-size:13.5px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.apply__notice small{display:block;margin-top:3px;font-size:12px;color:var(--muted)}

.apply__grid{display:grid;grid-template-columns:1fr .82fr;gap:24px;align-items:start}
.apply__col{display:grid;gap:18px;align-content:start}

.field{display:grid;gap:8px}
.field__label{
  display:flex;align-items:center;gap:8px;
  font-size:13.5px;font-weight:700;letter-spacing:-.02em;color:var(--ink);
}
.field__label--plain{font-size:12.5px;font-weight:600;color:var(--ink-2)}
.field__num{
  display:grid;place-items:center;flex:0 0 auto;
  width:20px;height:20px;border-radius:50%;
  background:var(--red);color:#fff;font-size:10.5px;font-weight:800;
}
.field__req{color:var(--red);font-style:normal;font-weight:700}
.field__input{
  width:100%;height:46px;padding:0 14px;
  font:inherit;font-size:13.5px;color:var(--ink);
  background:#fff;border:1px solid var(--line-2);border-radius:10px;
  transition:border-color .18s,box-shadow .18s;
}
.field__input::placeholder{color:#b3b7bc}
.field__input:hover{border-color:#d4d5d8}
.field__input:focus{outline:0;border-color:var(--red);box-shadow:0 0 0 3px rgba(232,40,60,.12)}
.field__hint{font-size:11.5px;line-height:1.55;color:var(--faint)}
.field__hint--formats{margin-top:-2px;color:var(--red);font-weight:600}
.field__error{display:none;font-size:11.5px;font-weight:600;color:var(--red)}
.field.is-invalid .field__error{display:block}
/* Подсказка про латиницу заменяет обычную ошибку, а не встаёт рядом с ней. */
.field__error--latin{display:none}
.field.is-latin .field__error--latin{display:block}
.field.is-latin .field__error:not(.field__error--latin){display:none}
.field.is-invalid .field__input{border-color:var(--red);background:#fffafb}

.field--accent{
  padding:16px;border-radius:12px;
  background:var(--pink-tint);border:1px solid #f7dde3;
}

.apply__optional{
  display:grid;gap:12px;padding:16px;
  background:var(--surface);border:1px solid var(--line);border-radius:12px;
}
.apply__optional-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.apply__optional-head b{font-size:13.5px;font-weight:700;letter-spacing:-.02em}
.apply__badge{
  padding:3px 9px;border-radius:99px;
  background:#fff;border:1px solid var(--line-2);
  font-size:10.5px;font-weight:700;color:var(--muted);
}

/* загрузка фотографии */
.field--photo{gap:6px}
.dropzone{
  position:relative;margin-top:6px;
  aspect-ratio:3/4;overflow:hidden;
  display:grid;place-items:center;
  background:#fff;border:1.5px dashed #dcdde0;border-radius:14px;
  transition:border-color .18s,background .18s;
}
.dropzone:hover{border-color:var(--pink);background:#fffcfd}
.dropzone.is-over{border-color:var(--red);background:var(--pink-tint)}
.dropzone__input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.dropzone__empty{display:grid;justify-items:center;gap:8px;padding:24px;text-align:center;pointer-events:none}
.dropzone__icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--pink-soft)}
.dropzone__icon svg{width:21px;height:21px;fill:none;stroke:var(--red);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dropzone__empty b{font-size:13px;font-weight:700;letter-spacing:-.02em;color:var(--ink-2)}
.dropzone__empty small{font-size:11.5px;color:var(--faint)}
.dropzone__preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.dropzone__clear{
  position:absolute;top:10px;right:10px;z-index:2;
  display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  background:rgba(12,8,10,.62);
}
.dropzone__clear:hover{background:rgba(12,8,10,.82)}
.dropzone__clear svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round}
.dropzone__status{font-size:11.5px;color:var(--faint)}
.dropzone__status.is-set{color:var(--ink-2);font-weight:600}
.field--photo.is-invalid .dropzone{border-color:var(--red);background:#fffafb}

/* согласие и отправка */
.apply__consent{
  display:flex;align-items:flex-start;gap:10px;
  margin-top:22px;font-size:12.5px;color:var(--ink-2);cursor:pointer;
}
.apply__consent input{
  flex:0 0 auto;width:17px;height:17px;margin:1px 0 0;
  accent-color:var(--red);cursor:pointer;
}
.field__error--consent{display:none;margin-top:6px;font-size:11.5px;font-weight:600;color:var(--red)}
.apply.is-consent-invalid .field__error--consent{display:block}
.apply__submit{width:100%;margin-top:18px;height:52px}
.apply__submit[disabled]{opacity:.6;pointer-events:none}
.apply__status{
  display:none;margin-top:14px;padding:13px 16px;border-radius:10px;
  font-size:12.5px;font-weight:600;line-height:1.6;
}
.apply__status.is-ok{display:block;background:#f1f9f3;border:1px solid #cfe8d6;color:#2b6b3d}
.apply__status.is-err{display:block;background:#fff5f6;border:1px solid #f6d3d8;color:#b3202f}
.apply__status.is-busy{display:block;background:var(--surface);border:1px solid var(--line);color:var(--muted)}

/* лист заявки, из которого собирается PDF (на странице не виден) */
/* Лист заявки для PDF: рисуем ровно страницу A4 (794x1123 при 96dpi),
   поэтому у готового файла нет пустого низа. html2canvas не умеет rotate
   внутри grid — поэтому в шапке не общий .wordmark, а плоский .pdf-brand. */
.pdf-sheet{
  position:fixed;left:-10000px;top:0;z-index:-1;
  width:794px;height:1123px;overflow:hidden;
  padding:52px 56px;
  background:#fff;color:var(--ink);font-family:var(--sans);
}
.pdf-sheet__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
  padding-bottom:15px;border-bottom:2px solid var(--ink)}
.pdf-brand{line-height:1;white-space:nowrap}
.pdf-brand b{font-family:var(--serif);font-weight:700;font-size:31px;
  letter-spacing:.005em;text-transform:uppercase}
.pdf-brand i{margin-left:9px;font-family:var(--serif);font-style:normal;font-weight:700;
  font-size:15px;letter-spacing:.2em;text-transform:uppercase;color:var(--red)}
.pdf-sheet__meta{text-align:right}
.pdf-sheet__title{display:block;font-size:13px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--red)}
.pdf-sheet__date{display:block;margin-top:4px;font-size:11px;color:var(--muted)}

.pdf-sheet__top{display:grid;grid-template-columns:320px 1fr;gap:30px;margin-top:28px}
.pdf-sheet__photo{margin:0}
.pdf-sheet__photo img{display:block;width:320px;height:426px;
  border-radius:12px;border:1px solid var(--line)}
.pdf-sheet__photo figcaption{margin-top:8px;font-size:10.5px;color:var(--faint);text-align:center}
.pdf-sheet__eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted)}
.pdf-sheet__name{margin-top:7px;font-family:var(--serif);font-size:34px;font-weight:700;
  line-height:1.16;word-break:break-word}
.pdf-sheet__name.is-long{font-size:24px}
.pdf-sheet__rows{margin-top:20px;border-top:1px solid var(--line)}
.pdf-row{display:grid;grid-template-columns:128px 1fr;gap:12px;padding:10px 0;
  border-bottom:1px solid var(--line)}
.pdf-row__k{font-size:11px;font-weight:700;color:var(--muted)}
.pdf-row__v{font-size:12.5px;font-weight:600;color:var(--ink);
  white-space:pre-line;word-break:break-word}

.pdf-sheet__charm{margin-top:30px}
.pdf-sheet__sub{font-size:11px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted)}
.pdf-charm{margin:11px 0 0;padding:0;list-style:none;border-top:1px solid var(--line)}
.pdf-charm li{display:grid;grid-template-columns:24px 1fr;gap:12px;align-items:baseline;
  padding:13px 0;border-bottom:1px solid var(--line);
  font-size:13.5px;font-weight:600;word-break:break-word}
.pdf-charm b{font-family:var(--serif);font-size:15px;color:var(--red)}

.pdf-sheet__memo{margin-top:26px;padding:13px 16px 0;
  border:1px dashed var(--line-2);border-radius:12px;min-height:172px}
.pdf-sheet__memo span{font-size:10.5px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--faint)}

.pdf-sheet__foot{position:absolute;left:56px;right:56px;bottom:42px;
  padding-top:12px;border-top:1px solid var(--line);
  font-size:10.5px;color:var(--faint)}

@media (max-width:760px){
  .section--form{padding:4px 0 52px}
  .apply__grid{grid-template-columns:1fr;gap:18px}
  .apply__col:last-child{order:-1}
  .dropzone{aspect-ratio:4/3;max-height:340px}
  .apply__notice{padding:13px 15px}
}

/* чекбокс «нет аккаунта» под полями заявки */
.apply__toggle{
  display:flex;align-items:center;gap:9px;
  margin:-6px 0 2px;padding:11px 14px;
  background:var(--surface);border:1px solid var(--line);border-radius:10px;
  font-size:12.5px;font-weight:600;color:var(--ink-2);cursor:pointer;
  transition:border-color .18s,background .18s;
}
.apply__toggle:hover{border-color:var(--line-2);background:#f1f1f3}
.apply__toggle input{
  flex:0 0 auto;width:16px;height:16px;margin:0;
  accent-color:var(--red);cursor:pointer;
}
.apply__toggle:has(input:checked){background:var(--pink-tint);border-color:#f2c9d3;color:var(--ink)}

/* ============================================================
   «Что такое UID»: кнопка-раскладушка под птичкой «нет аккаунта».
   Внутри — мок шапки приложения; если положить в .uidshot настоящий
   <img>, мок скроется сам и останется скриншот.
   ============================================================ */
.uidhelp{margin:-2px 0 2px}
.uidhelp__btn{
  display:flex;align-items:center;gap:9px;width:100%;
  padding:11px 14px;border-radius:10px;
  background:#fff;border:1px dashed var(--line-2);
  font-size:12.5px;font-weight:700;color:var(--ink-2);text-align:left;
  cursor:pointer;transition:border-color .18s,background .18s,color .18s;
}
.uidhelp__btn:hover{border-color:#e7b9c4;background:var(--pink-tint);color:var(--ink)}
.uidhelp__btn.is-open{
  border-style:solid;border-color:#f2c9d3;background:var(--pink-tint);color:var(--ink);
}
.uidhelp__mark{
  display:grid;place-items:center;flex:0 0 auto;width:18px;height:18px;
  border-radius:50%;background:var(--red);color:#fff;font-size:11px;font-weight:800;
}
.uidhelp__caret{
  margin-left:auto;flex:0 0 auto;width:14px;height:14px;fill:none;stroke:var(--faint);
  stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .22s;
}
.uidhelp__btn.is-open .uidhelp__caret{transform:rotate(180deg)}

.uidhelp__panel{
  margin-top:8px;padding:14px 15px;border-radius:12px;
  background:var(--surface);border:1px solid var(--line);
  animation:uidIn .22s ease-out;
}
@keyframes uidIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.uidhelp__text{font-size:12px;line-height:1.7;color:var(--ink-2);word-break:var(--wb)}

.uidshot{margin:11px 0 0}
.uidshot > img{display:block;width:100%;height:auto;border-radius:12px}
.uidshot figcaption{margin-top:8px;font-size:10.5px;color:var(--faint);text-align:center}

@media (prefers-reduced-motion:reduce){
  .msgpick:not(.has-value):not(.is-open) .msgpick__current,
  .msgpick:not(.has-value):not(.is-open) .msgpick__caret,
  .msgpick.has-value .msgpick__slot .msgpick__icon,
  .msgpick.is-open .msgpick__row,
  .uidhelp__panel{animation:none}
}

/* ============================================================
   Благодарственная открытка после успешной отправки заявки.
   Показывается поверх страницы, чтобы её точно не пропустили.
   ============================================================ */
.cert{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:16px}
.cert__scrim{
  position:absolute;inset:0;background:rgba(22,14,18,.74);
  animation:certFade .25s ease-out;
}
.cert__box{
  position:relative;z-index:1;width:min(420px,100%);
  max-height:calc(100vh - 32px);overflow:auto;
  padding:22px 20px 22px;border-radius:18px;background:#fff;text-align:center;
  box-shadow:0 40px 80px -30px rgba(20,10,14,.65);
  animation:certIn .3s cubic-bezier(.2,.9,.3,1.15);
}
@keyframes certFade{from{opacity:0}to{opacity:1}}
@keyframes certIn{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}

.cert__close{
  position:absolute;top:10px;right:10px;width:32px;height:32px;
  display:grid;place-items:center;border-radius:50%;
  color:var(--muted);transition:background .18s,color .18s;
}
.cert__close:hover{background:var(--surface);color:var(--ink)}
.cert__close svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

.cert__title{font-size:18px;font-weight:800;letter-spacing:-.03em;color:var(--ink)}
.cert__sub{margin-top:6px;font-size:12.5px;line-height:1.6;color:var(--muted)}

.cert__sheet{
  margin:16px 0 0;border-radius:12px;overflow:hidden;
  box-shadow:0 18px 34px -20px rgba(20,10,14,.5);
}
.cert__sheet img{display:block;width:100%;height:auto}
.cert__sheet.is-empty img{visibility:hidden}

.cert__actions{display:flex;gap:10px;margin-top:16px}
.cert__actions .btn{flex:1;min-width:0;height:44px;padding:0 14px;font-size:13.5px}
.cert__save svg{
  width:16px;height:16px;flex:0 0 auto;fill:none;stroke:currentColor;
  stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
}
body.cert-open{overflow:hidden}

@media (max-width:420px){
  .cert__box{padding:18px 14px}
  .cert__actions{flex-direction:column}
}

/* подсветка формы, когда на неё перешли по кнопке */
.apply.is-highlight{animation:applyPulse 1.1s ease-out}
@keyframes applyPulse{
  0%{box-shadow:0 0 0 0 rgba(232,40,60,.35)}
  35%{box-shadow:0 0 0 6px rgba(232,40,60,.14)}
  100%{box-shadow:0 0 0 0 rgba(232,40,60,0)}
}

/* когда фото выбрано, подсказку в зоне загрузки убираем */
.dropzone.has-photo .dropzone__empty{display:none}

/* ============================================================
   Выбор языка: 11 языков, кнопка с текущим + выпадающий список
   ============================================================ */
.langpick{position:relative}
.langpick__current{
  display:flex;align-items:center;gap:7px;
  height:34px;padding:0 9px 0 11px;border-radius:999px;
  background:#fff;border:1px solid var(--line-2);
  font-size:12px;font-weight:700;letter-spacing:.03em;color:var(--ink);
  transition:border-color .18s,background .18s;
}
.langpick__current:hover{border-color:#cfcfd2;background:#fbfbfc}
.langpick__flag{font-size:15px;line-height:1}
.langpick__caret{
  width:13px;height:13px;fill:none;stroke:var(--faint);
  stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;
}
.langpick.is-open .langpick__caret{transform:rotate(180deg)}

.langpick__list{
  position:absolute;top:calc(100% + 8px);right:0;z-index:70;
  width:min(300px,calc(100vw - 36px));
  max-height:min(70vh,430px);overflow-y:auto;
  display:grid;gap:6px;padding:8px;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 24px 44px -22px rgba(20,10,14,.35);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s,transform .18s,visibility .18s;
}
.langpick.is-open .langpick__list{opacity:1;visibility:visible;transform:none}
.langpick__list--inline{
  position:static;width:auto;max-height:none;padding:0;
  background:none;border:0;box-shadow:none;
  opacity:1;visibility:visible;transform:none;
}
.langpick__row{
  display:grid;grid-template-columns:22px 1fr auto 18px;align-items:center;gap:10px;
  padding:11px 12px;border-radius:10px;text-align:left;
  background:var(--surface);border:1px solid transparent;
  transition:background .16s,border-color .16s;
}
.langpick__row:hover{background:#fff;border-color:var(--line-2)}
.langpick__row.is-active{background:var(--pink-tint);border-color:#f2c9d3}
.langpick__name{font-size:12px;font-weight:800;letter-spacing:.05em;color:var(--ink)}
.langpick__native{font-size:12px;color:var(--muted)}
.langpick__check{
  display:grid;place-items:center;width:18px;height:18px;border-radius:50%;
  background:var(--red);opacity:0;transition:opacity .16s;
}
.langpick__row.is-active .langpick__check{opacity:1}
.langpick__check svg{width:11px;height:11px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------- арабский: правостороннее направление ---------- */
[dir="rtl"] .langpick__list{left:0;right:auto}
[dir="rtl"] .langpick__row{text-align:right}
[dir="rtl"] .drawer__panel{left:0;right:auto;transform:translateX(-100%)}
[dir="rtl"] .drawer.is-open .drawer__panel{transform:none}
[dir="rtl"] .section__title--left,
[dir="rtl"] .section__sub--left,
[dir="rtl"] .faq__q,
[dir="rtl"] .field__label,
[dir="rtl"] .apply__consent,
[dir="rtl"] .apply__toggle{text-align:right}
[dir="rtl"] .field__input{text-align:right}
[dir="rtl"] .why-row__body,
[dir="rtl"] .rec__body,
[dir="rtl"] .content-card__body{text-align:right}
[dir="rtl"] .rec__body{padding:22px 0 22px 22px}
[dir="rtl"] .site-footer__links{direction:rtl}
[dir="rtl"] .pdf-sheet__meta{text-align:left}
[dir="rtl"] .pdf-brand i{margin-left:0;margin-right:9px}
/* Разрядка рвёт арабскую вязь: html2canvas рисует буквы по одной и слово
   рассыпается. Для RTL убираем letter-spacing и caps у мелких подписей. */
[dir="rtl"] .pdf-sheet__title,
[dir="rtl"] .pdf-sheet__eyebrow,
[dir="rtl"] .pdf-sheet__sub,
[dir="rtl"] .pdf-sheet__memo span{letter-spacing:0;text-transform:none}
/* дата и имя файла остаются слева направо, иначе bidi их переставляет */
[dir="rtl"] .pdf-sheet__date{direction:ltr;text-align:left}
[dir="rtl"] .pdf-row__v[dir="ltr"]{text-align:right}

/* ============================================================
   Почта + мессенджер, ссылка на регистрацию, ошибка сервера
   ============================================================ */
.field__label--gap{margin-top:6px}
.field__pair{display:grid;grid-template-columns:172px 1fr;gap:8px}
.field__select{
  padding-right:30px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ba0a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 9px center;background-size:14px;
  -webkit-appearance:none;-moz-appearance:none;appearance:none;
}
.field.is-messenger-invalid .field__error{display:block}
.field.is-messenger-invalid .field__pair .field__input{border-color:var(--red);background:#fffafb}

.apply__signup{margin:-2px 0 2px}
.apply__signup a{
  display:inline-flex;align-items:center;gap:7px;
  padding:10px 14px;border-radius:10px;
  background:var(--pink-tint);border:1px solid #f2c9d3;
  font-size:12.5px;font-weight:700;color:var(--red);
  transition:background .18s,border-color .18s;
}
.apply__signup a:hover{background:#fce9ee;border-color:#eab3c0}

.apply__status-tech{
  display:block;margin-top:8px;
  font-size:11px;font-weight:400;line-height:1.5;
  color:var(--muted);word-break:break-word;
}

/* ============================================================
   Выбор языка: флаги картинками, список шире, без переносов
   ============================================================ */
.langpick__current{gap:8px;padding:0 9px 0 9px}
.langpick__current-flag{display:flex;align-items:center}
img.langpick__flag{
  width:21px;height:15px;border-radius:2px;
  object-fit:cover;box-shadow:0 0 0 1px rgba(20,10,14,.12);
}
.langpick__list{
  width:min(340px,calc(100vw - 32px));
  max-height:min(78vh,560px);
  gap:4px;padding:8px;
  scrollbar-width:thin;
}
.langpick__list::-webkit-scrollbar{width:8px}
.langpick__list::-webkit-scrollbar-thumb{background:#dcdde0;border-radius:8px;border:2px solid #fff}
.langpick__row{
  grid-template-columns:21px 1fr auto 18px;gap:11px;
  padding:10px 12px;
}
.langpick__name{font-size:12.5px;letter-spacing:.02em;white-space:nowrap}
.langpick__native{font-size:12px;white-space:nowrap}
.langpick__list--inline{gap:5px}

@media (max-width:760px){
  .field__pair{grid-template-columns:1fr;gap:8px}
}

/* В бургер-меню места по ширине мало: название и самоназвание — в две строки,
   иначе длинные варианты вроде Bahasa Indonesia распирают строку шире панели. */
.langpick__list--inline .langpick__row{grid-template-columns:21px 1fr 18px;row-gap:1px}
.langpick__list--inline .langpick__name{grid-column:2;grid-row:1}
.langpick__list--inline .langpick__native{grid-column:2;grid-row:2;font-size:11px}
.langpick__list--inline img.langpick__flag{grid-row:1 / span 2}
.langpick__list--inline .langpick__check{grid-column:3;grid-row:1 / span 2}
.langpick__list--inline{width:auto;max-height:none}

/* На телефоне выбор языка остаётся в шапке рядом с бургером (в бургер-меню
   его больше нет). Кнопку делаем компактнее, чтобы шапка помещалась даже на
   320px, а список привязываем к экрану, а не к кнопке: иначе на узком
   телефоне он уезжает за левый край. Блок стоит после общих правил языка
   специально — иначе они его перебивают. */
@media (max-width:760px){
  .site-header__aside{gap:9px}
  /* без этого flex поджимает иконку и бургер, и круг становится овалом */
  .site-link,.langpick,.burger{flex:0 0 auto}
  .site-link{width:30px;height:30px;padding:0;gap:0;justify-content:center}
  .site-link__text{display:none}
  .langpick__current{height:30px;gap:6px;padding:0 7px 0 8px}
  .langpick__code{font-size:11px}
  img.langpick__flag{width:19px;height:14px}
  .langpick__caret{width:12px;height:12px}
  .site-header .langpick__list{
    position:fixed;top:60px;left:12px;right:12px;width:auto;
    max-height:calc(100vh - 84px);
  }
}

/* На самых узких телефонах (320px) в шапке уже четыре элемента, поэтому у
   выбора языка оставляем флаг и стрелку без кода — иначе не хватает 6px и
   flex начинает сжимать кнопки. */
@media (max-width:360px){
  .langpick__code{display:none}
}

/* ============================================================
   Выбор мессенджера: свой список с иконками
   ============================================================ */
.msgpick{position:relative}
.msgpick__current{
  display:flex;align-items:center;gap:9px;width:100%;
  text-align:left;cursor:pointer;
  transition:border-color .18s,box-shadow .18s,background .18s,transform .12s;
}
.msgpick__current:active{transform:scale(.99)}
/* Пока мессенджер не выбран, поле само подсказывает, что его можно нажать:
   три спокойных импульса и всё. */
@keyframes msgHint{
  0%,100%{box-shadow:0 0 0 0 rgba(232,40,60,0)}
  50%{box-shadow:0 0 0 4px rgba(232,40,60,.11)}
}
.msgpick:not(.has-value):not(.is-open) .msgpick__current{
  animation:msgHint 2.4s ease-in-out .8s 3;
}
.msgpick__current:hover,
.msgpick__current:focus-visible{animation:none}
/* иконка выбранного мессенджера коротко «прыгает» — видно, что применилось */
@keyframes msgPop{0%{transform:scale(.6)}55%{transform:scale(1.14)}100%{transform:scale(1)}}
.msgpick.has-value .msgpick__slot .msgpick__icon{animation:msgPop .26s ease-out}
/* строки списка появляются друг за другом */
@keyframes msgRow{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.msgpick.is-open .msgpick__row{animation:msgRow .24s ease-out both}
.msgpick.is-open .msgpick__row:nth-child(2){animation-delay:.035s}
.msgpick.is-open .msgpick__row:nth-child(3){animation-delay:.07s}
.msgpick.is-open .msgpick__row:nth-child(4){animation-delay:.105s}
.msgpick.is-open .msgpick__row:nth-child(5){animation-delay:.14s}
.msgpick__slot{display:flex;align-items:center;gap:9px;flex:1;min-width:0}
/* Шеврон: без него поле не отличить от обычного текстового ввода. */
.msgpick__caret{display:flex;flex:0 0 auto;margin-left:auto;color:#9ba0a6;
  transition:transform .2s var(--ease,ease),color .18s}
.msgpick__caret svg{width:16px;height:16px;fill:none;stroke:currentColor;
  stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.msgpick.is-open .msgpick__caret{transform:rotate(180deg);color:var(--red)}
.msgpick__current:hover .msgpick__caret{color:var(--ink-2)}
@keyframes msgCaret{0%,100%{transform:translateY(0)}50%{transform:translateY(2.5px)}}
.msgpick:not(.has-value):not(.is-open) .msgpick__caret{
  animation:msgCaret 1.7s ease-in-out infinite;color:var(--red)}
.msgpick__current:hover .msgpick__caret,
.msgpick__current:focus-visible .msgpick__caret{animation:none}
/* пока не выбрано — подпись-призыв чуть заметнее статуса */
.msgpick:not(.has-value) .msgpick__label{color:#8c9196}
.msgpick__label{font-size:13px;font-weight:600;color:#b3b7bc;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.msgpick.has-value .msgpick__label{color:var(--ink)}
.msgpick__icon{display:flex;flex:0 0 auto}
.msgpick__icon svg{width:20px;height:20px}
.msgpick__current:hover{border-color:#cfcfd2;background:#fff}
.msgpick.is-open .msgpick__current{border-color:var(--red);box-shadow:0 0 0 3px rgba(232,40,60,.12)}

.msgpick__list{
  position:absolute;top:calc(100% + 6px);left:0;z-index:60;
  width:max(100%,210px);
  display:grid;gap:4px;padding:7px;
  background:#fff;border:1px solid var(--line);border-radius:12px;
  box-shadow:0 18px 34px -18px rgba(20,10,14,.32);
  opacity:0;visibility:hidden;transform:translateY(-5px) scale(.98);
  transition:opacity .16s,transform .18s cubic-bezier(.2,.9,.3,1.2),visibility .16s;
}
.msgpick.is-open .msgpick__list{opacity:1;visibility:visible;transform:none}
.msgpick.is-up .msgpick__list{top:auto;bottom:calc(100% + 6px);transform:translateY(5px) scale(.98)}
.msgpick.is-up.is-open .msgpick__list{transform:none}
.msgpick__row{
  display:grid;grid-template-columns:20px 1fr 16px;align-items:center;gap:10px;
  padding:9px 10px;border-radius:9px;text-align:left;
  background:transparent;border:1px solid transparent;
  transition:background .14s,border-color .14s;
}
.msgpick__row:hover{background:var(--surface);border-color:var(--line-2)}
.msgpick__row.is-active{background:var(--pink-tint);border-color:#f2c9d3}
.msgpick__row .msgpick__label{color:var(--ink)}
.msgpick__row:first-child .msgpick__label{color:var(--muted)}
.msgpick__check{
  display:grid;place-items:center;width:16px;height:16px;border-radius:50%;
  background:var(--red);opacity:0;transition:opacity .14s;
}
.msgpick__row.is-active .msgpick__check{opacity:1}
.msgpick__check svg{width:10px;height:10px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.field.is-messenger-invalid .msgpick__current{border-color:var(--red);background:#fffafb}

/* ============================================================
   Мок профиля: карточка ближе к квадрату, как в приложении
   ============================================================ */
.profile-mock{max-width:236px;margin-inline:auto;padding:13px 14px 14px}
.profile-mock__brand{font-size:12px;margin-bottom:11px}
.profile-mock__row{flex-direction:column;align-items:center;gap:11px}
.profile-mock__avatar{width:64px}
.profile-mock__stats{width:100%;gap:6px}
.profile-mock__stats b{font-size:12.5px}
.profile-mock__stats span{font-size:9px}
.profile-mock__btn{margin-top:12px;padding:7px 0;font-size:11px;border-radius:7px}

@media (max-width:760px){
  .profile-mock{max-width:260px;padding:16px 18px 18px}
  .profile-mock__avatar{width:76px}
  .profile-mock__stats b{font-size:14px}
  .profile-mock__stats span{font-size:10.5px}
  .profile-mock__btn{font-size:13px;padding:9px 0}
  .msgpick__list{width:100%}
}

/* ============================================================
   Завлекающие кнопки вместо QR-кодов: иконка, подпись, стрелка.
   ============================================================ */
.lure{
  position:relative;display:inline-flex;align-items:center;gap:10px;
  padding:13px 20px 13px 14px;border-radius:999px;
  background:linear-gradient(103deg,#f4485d 0%,var(--red) 45%,var(--red-dark) 100%);
  color:#fff;font-size:14.5px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;
  box-shadow:0 12px 26px -12px rgba(232,40,60,.7);
  overflow:hidden;isolation:isolate;
  transition:transform .26s cubic-bezier(.22,.68,.32,1),box-shadow .26s;
  animation:lureBreath 3s ease-in-out infinite;
}
/* мягкое «дыхание» тени — кнопка сама просит нажать */
@keyframes lureBreath{
  0%,100%{box-shadow:0 12px 26px -12px rgba(232,40,60,.65)}
  50%{box-shadow:0 16px 34px -12px rgba(232,40,60,.95)}
}
/* блик пробегает по кнопке */
.lure::after{
  content:"";position:absolute;inset:0 auto 0 -60%;width:38%;z-index:-1;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);
  transform:skewX(-18deg);animation:lureShine 3.6s ease-in-out infinite;
}
@keyframes lureShine{0%,58%{left:-60%}88%,100%{left:130%}}
.lure:hover{transform:translateY(-3px);animation-play-state:paused}
.lure:active{transform:translateY(-1px) scale(.99)}
.lure:focus-visible{outline:2px solid #fff;outline-offset:3px}

.lure__ico{
  display:grid;place-items:center;flex:0 0 auto;
  width:30px;height:30px;border-radius:50%;
  background:rgba(255,255,255,.18);
}
.lure__ico svg{width:17px;height:17px}
.lure__ico--plain{background:none;width:26px;height:26px}
.lure__ico--plain svg{width:26px;height:26px}
.lure__arrow{font-size:16px;line-height:1;transition:transform .26s cubic-bezier(.22,.68,.32,1)}
.lure:hover .lure__arrow{transform:translateX(4px)}
.lure__note{margin-top:11px;font-size:11.5px;color:var(--muted);text-align:center}

/* кнопка внутри карточки «магазин» */
.content-card__mock--action{align-content:center;justify-items:center;gap:0}
.content-card__mock--action .lure{font-size:14px}

/* контакты в тёмном CTA: четыре канала иконками */
.cta__kakao-body{display:block;flex:1;min-width:0}
.contacts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;margin-top:14px;list-style:none;padding:0;max-width:310px;
}
.contacts__btn{
  display:grid;justify-items:center;gap:5px;padding:9px 2px 7px;
  border-radius:12px;background:#ffffff12;border:1px solid #ffffff26;
  transition:background .2s,border-color .2s,transform .2s cubic-bezier(.22,.68,.32,1);
}
.contacts__btn svg{width:26px;height:26px;display:block;transition:transform .25s cubic-bezier(.22,.68,.32,1)}
.contacts__name{font-size:9px;font-weight:600;letter-spacing:-.01em;color:#ffffffb8;white-space:nowrap}
.contacts__btn:hover{background:#ffffff22;border-color:#ffffff4d;transform:translateY(-3px)}
.contacts__btn:hover svg{transform:scale(1.12)}
.contacts__btn:hover .contacts__name{color:#fff}
.contacts__btn:active{transform:translateY(-1px)}
.contacts__btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* иконки по очереди подмигивают, чтобы блок не выглядел статичным */
@keyframes contactsPop{0%,88%,100%{transform:translateY(0)}94%{transform:translateY(-3px)}}
.contacts__btn svg{animation:contactsPop 5s ease-in-out infinite}
.contacts li:nth-child(2) svg{animation-delay:.35s}
.contacts li:nth-child(3) svg{animation-delay:.7s}
.contacts li:nth-child(4) svg{animation-delay:1.05s}
.contacts__btn:hover svg{animation:none}
/* сам адрес — видно и можно скопировать */
.cta__mail{
  margin-top:11px;font-size:11px;letter-spacing:.01em;color:#ffffffa6;
  user-select:all;word-break:break-all;
}

@media (max-width:1020px){
  .lure{padding:11px 16px 11px 11px;font-size:13px;gap:8px}
  .lure__ico{width:26px;height:26px}
  .lure__ico svg{width:15px;height:15px}
  .lure__ico--plain{width:23px;height:23px}
  .lure__ico--plain svg{width:23px;height:23px}
}
@media (max-width:760px){
  .lure{padding:13px 20px 13px 14px;font-size:14px;gap:10px}
  .lure__ico{width:30px;height:30px}
  .lure__ico svg{width:17px;height:17px}
  .lure__ico--plain{width:26px;height:26px}
  .lure__ico--plain svg{width:26px;height:26px}
}

@media (prefers-reduced-motion:reduce){
  .lure,.lure::after,.contacts__btn svg{animation:none}
}
