/* Motion Store — документы, тарифы, контакты, согласие при покупке, комиссия способов оплаты */
.legal .ph { margin-bottom: 18px; }
.dnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dnav a { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--text2); background: rgba(120, 160, 255, .07); border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.dnav a:hover { color: var(--text); border-color: var(--line2); }
.dnav a.on { color: #fff; background: linear-gradient(120deg, rgba(80, 140, 255, .45), rgba(150, 120, 255, .35)); border-color: rgba(140, 180, 255, .55); }
.doc { max-width: 860px; padding: 30px 32px; border-radius: 28px; background: linear-gradient(160deg, rgba(26, 40, 96, .45), rgba(10, 16, 46, .55)); border: 1px solid var(--line); }
.dlead { font-size: 16.5px; line-height: 1.6; color: var(--text2); }
.dlead b { color: var(--text); }
.dsec { margin-top: 26px; }
.dsec h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 12px; }
.dsec h3 span { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 10px; font-size: 14px; color: #fff; background: linear-gradient(140deg, #4f8dff, #8a6dff); box-shadow: 0 6px 18px rgba(80, 120, 255, .35); }
.dsec p { font-size: 15px; line-height: 1.65; color: var(--text2); margin-top: 8px; }
.dsec p b { color: var(--text); font-weight: 700; }
.doc a { color: var(--accent2); font-weight: 600; }
.ptab { overflow-x: auto; margin-top: 18px; border-radius: 20px; border: 1px solid var(--line); }
.ptab table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptab th { text-align: left; padding: 14px 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(120, 160, 255, .06); }
.ptab td { padding: 12px 16px; border-top: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
.ptab td:first-child { width: 55%; white-space: normal; }
.pn { display: flex; align-items: center; gap: 12px; }
.pn img { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.pn small { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.dfee { list-style: none; display: grid; gap: 8px; margin-top: 12px; max-width: 420px; }
.dfee li { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 14px; background: rgba(120, 160, 255, .07); border: 1px solid var(--line); font-weight: 600; }
.ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 22px; background: rgba(120, 160, 255, .07); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.ccard:hover { transform: translateY(-3px); border-color: rgba(140, 180, 255, .55); }
.ccard i { font-style: normal; font-size: 26px; }
.ccard span { font-size: 13px; color: var(--muted); font-weight: 600; }
.ccard b { font-size: 17px; color: var(--text); word-break: break-all; }

/* покупка: почта, согласие, комиссия */
.field.emf { margin-top: 12px; }
.agree { position: relative; display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: 18px; cursor: pointer; text-align: left;
  font-size: 13.5px; line-height: 1.45; color: var(--text2); background: rgba(120, 160, 255, .06); border: 1px solid var(--line);
  transition: background .35s, border-color .35s, box-shadow .35s; -webkit-tap-highlight-color: transparent; }
.agree:hover { border-color: var(--line2); }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree .abx { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(150, 180, 255, .45); background: rgba(10, 18, 50, .6); transition: background .3s, border-color .3s, box-shadow .3s, transform .45s var(--spring); }
.agree .abx::after { content: ""; width: 10px; height: 5.5px; margin-top: -3px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; border-radius: 1px;
  transform: rotate(-45deg) scale(0); transition: transform .4s var(--spring); }
.agree .abx::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(110, 160, 255, .7); opacity: 0; transform: scale(.6); }
.agree:active .abx { transform: scale(.88); }
.agree input:checked + .abx { border-color: transparent; background: linear-gradient(140deg, #4f8dff, #8a6dff); box-shadow: 0 0 0 4px rgba(100, 140, 255, .18), 0 6px 18px rgba(80, 120, 255, .55); }
.agree input:checked + .abx::after { transform: rotate(-45deg) scale(1); }
.agree input:checked + .abx::before { animation: agPulse .6s ease-out; }
.agree input:focus-visible + .abx { box-shadow: 0 0 0 3px rgba(120, 170, 255, .6); }
.agree:has(input:checked) { background: linear-gradient(120deg, rgba(70, 120, 255, .16), rgba(140, 110, 255, .1)); border-color: rgba(130, 170, 255, .5); box-shadow: 0 8px 26px rgba(40, 80, 220, .2); color: var(--text); }
.agree a { color: #9fc3ff; font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; opacity: .95; }
.agree a:hover { color: #fff; }
.agree.bad { animation: shake .45s; border-color: rgba(255, 107, 129, .7); background: rgba(255, 90, 120, .08); }
.agree.bad .abx { border-color: #ff6b81; }
@keyframes agPulse { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.35); } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.feeh { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.feeh a { color: var(--accent2); font-weight: 700; }
.btn.pm { gap: 12px; }
.pmt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.2; }
.pmt small { font-size: 11.5px; font-weight: 600; opacity: .75; margin-top: 2px; }
.pms { margin-left: auto; font-size: 16px; white-space: nowrap; }
.btn.pm .pms + .ar { margin-left: 4px; }

@media (max-width: 760px) {
  .doc { padding: 20px 16px; border-radius: 22px; }
  .dlead { font-size: 15px; }
  .dsec h3 { font-size: 17px; }
  .dsec p { font-size: 14px; }
  .ptab table { font-size: 13.5px; }
  .ptab td, .ptab th { padding: 10px 10px; }
  .pn img { width: 30px; height: 30px; }
  .dnav a { padding: 7px 13px; font-size: 13px; }
}
footer nav { flex-wrap: wrap; }
/* документы — отдельными кнопками, всегда на виду (требование банка) */
footer .fdocs { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
footer .fdocs b { color: var(--text); font-weight: 600; margin-right: 4px; }
footer .fdoc { padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; color: var(--text2); background: var(--accent-soft); transition: border-color .2s, color .2s; }
footer .fdoc:hover { border-color: var(--accent); color: var(--text); }
footer .fcode { flex-basis: 100%; color: var(--text); font-size: 15px; font-weight: 600; letter-spacing: .06em; }
