
/* B9 (Vlad 17.10 «переделать под текущий дизайн, иконки заново через API»): title and the sign-in line on top, three benefit
   rows with generated icons (public/images/v3/art/dmo-*.webp, centred in their tile), two buttons side by side */
.v3-dmo { border: 0; padding: 0; border-radius: 24px; max-width: 520px; width: calc(100% - 32px); box-shadow: 0 24px 64px rgba(18, 20, 26, .22); color: var(--ink); font-family: var(--sans); background: #fff; }
/* W1 19.10 №18: the hub accent shows in a soft top wash and a thin edge */
.v3-dmo { background: linear-gradient(180deg, var(--accent-soft) 0, #fff 168px); box-shadow: 0 24px 64px rgba(18, 20, 26, .22), inset 0 3px 0 var(--accent); }
.v3-dmo::backdrop { background: rgba(18, 20, 26, .45); backdrop-filter: blur(4px); }
.v3-dmo[open] { animation: v3-dmo-in .35s cubic-bezier(.16, 1, .3, 1); }
@keyframes v3-dmo-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .v3-dmo[open] { animation: none; } }
.v3-dmo form { position: relative; padding: 32px 32px 28px; }
.v3-dmo h5 { margin: 0 40px 8px 0; font: 400 30px/1.15 var(--serif, var(--sans)); letter-spacing: -.02em; }
.v3-dmo-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--paper, #f4f1ea); border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.v3-dmo-close:hover, .v3-dmo-close:focus-visible { color: var(--ink); background: var(--accent-soft); }
.v3-dmo-lead { margin: 0 0 22px; font-size: 17px; color: var(--muted); }
.v3-dmo-lead a { color: var(--accent); font-weight: 600; }
.v3-dmo-list { display: grid; gap: 10px; list-style: none; margin: 0 0 24px; padding: 0; }
/* Vlad 18.10: the rows answer the pointer (lift, accent edge, the icon grows, an arrow comes in) and lead to the sign-up */
.v3-dmo-list a { display: grid; grid-template-columns: 64px minmax(0, 1fr) 20px; align-items: center; gap: 16px; padding: 10px 16px 10px 10px; border-radius: 16px; border: 1px solid transparent; background: var(--paper, #f4f1ea); color: var(--ink); font-size: 16px; line-height: 1.35; text-decoration: none; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.v3-dmo-list a:hover, .v3-dmo-list a:focus-visible { transform: translateY(-2px); background: #fff; border-color: var(--accent); box-shadow: 0 10px 24px rgba(18, 20, 26, .10); outline: none; }
.v3-dmo-list b { display: block; font-weight: 600; }
.v3-dmo-list small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.v3-dmo-go { color: var(--accent); font-size: 20px; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.v3-dmo-list a:hover .v3-dmo-go, .v3-dmo-list a:focus-visible .v3-dmo-go { opacity: 1; transform: none; }
.v3-dmo-ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 12px; background: #fff; transition: background-color .2s ease; }
.v3-dmo-ico img { width: 48px; height: 48px; margin: 0; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.v3-dmo-list a:hover .v3-dmo-ico, .v3-dmo-list a:focus-visible .v3-dmo-ico { background: var(--accent-soft, #eceaff); }
.v3-dmo-list a:hover .v3-dmo-ico img, .v3-dmo-list a:focus-visible .v3-dmo-ico img { transform: scale(1.12) rotate(-4deg); }
@media (prefers-reduced-motion: reduce) { .v3-dmo-list a, .v3-dmo-go, .v3-dmo-ico img { transition: none; } .v3-dmo-list a:hover { transform: none; } .v3-dmo-list a:hover .v3-dmo-ico img { transform: none; } }
.v3-dmo-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v3-dmo-foot a { display: block; text-align: center; padding: 13px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.v3-dmo-foot .main { background: var(--accent); color: #fff; }
.v3-dmo-foot .main:hover { background: var(--accent-dark); }
.v3-dmo-foot .second { border: 1px solid var(--line); color: var(--ink); }
.v3-dmo-foot .second:hover { border-color: var(--accent); }
@media (max-width: 560px) { .v3-dmo form { padding: 24px 20px 20px; } .v3-dmo h5 { font-size: 26px; } .v3-dmo-foot { grid-template-columns: 1fr; } }
