/* base.css — global resets, animations, and responsive rules */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; width: 100%; max-width: 100%; font-family: var(--font-body); color: var(--fg1); background: var(--bg1); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
::selection { background: var(--primary); color: #fff; }
h1, h2, h3, h4, p { margin: 0; }

@keyframes apsKen { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes apsFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes apsPop { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: none; } }
.aps-fade { animation: apsFadeIn .35s ease; }

/* range slider */
input[type=range] { height: 8px; border-radius: 4px; -webkit-appearance: none; appearance: none; background: var(--bg3); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: var(--shadow-md); border: 3px solid #fff; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 3px solid #fff; }

.aps-mobile { display: none; }
/* responsive */
@media (max-width: 960px) {
  .aps-desktop { display: none !important; }
  .aps-mobile { display: flex !important; }
  .aps-2col, .aps-3col, .aps-stats, .aps-foot, .aps-trust { grid-template-columns: 1fr !important; }
  .aps-trust { gap: 14px !important; }
  .aps-stats { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .aps-foot { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
}
@media (max-width: 560px) {
  .aps-stepname { display: none !important; }
  .aps-2col-tight { grid-template-columns: 1fr !important; }
  .aps-foot { grid-template-columns: 1fr !important; }
}

/* Mx2 credit footer (shown on every Mx2-built site) */
.mx2-credit { background: var(--bg-dark); border-top: 1px solid var(--border-dark); padding: 18px 24px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.mx2-credit a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg-on-dark-2); font-family: var(--font-body); font-size: 12.5px; letter-spacing: .02em; transition: .15s; }
.mx2-credit a:hover { color: #fff; }
.mx2-credit img { height: 26px; width: auto; display: block; }
