/* Scaled mock-ups: drawn at real size inside .mk-fit (assets/mockups.js sets --mk-s and the height). */
.mk-fit { position: relative; width: 100%; }
.mk-fit > .mk-win, .mk-fit > .mk-phone { position: absolute; left: 0; top: 0; transform: scale(var(--mk-s, .6)); transform-origin: 0 0; }
.mk-fit-win { aspect-ratio: 1000 / 625; }
.mk-fit-ph { aspect-ratio: 300 / 640; }
.mk-fit-ph > .mk-phone { width: 300px; }
.mk-fit-ph .ph-frame { height: 640px; aspect-ratio: auto; }
/* Mock-ups of the Sanalogos Chat apps (lib/app_mockups.php) + the apps showcase page and home section. */
:root { --mk-navy: #0b2540; --mk-navy2: #12324f; --mk-gold: #d4a64a; --mk-ink: #14212e; --mk-muted: #6b7785; --mk-line: #e6eaf0; --mk-bg: #f3f5f8; }

/* ---------- Windows window ---------- */
.mk-win { position: relative; width: 1000px; height: 625px; border-radius: 12px; background: #fff; box-shadow: 0 50px 100px -30px rgba(11, 37, 64, .45), 0 18px 40px -20px rgba(11, 37, 64, .35), 0 0 0 1px rgba(11, 37, 64, .08); overflow: visible; font: 400 10px/1.35 -apple-system, "Segoe UI", Inter, Roboto, sans-serif; color: var(--mk-ink); text-align: left; }
.mk-tb { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 0 0 11px; background: #0d1b29; border-radius: 12px 12px 0 0; color: #c9d4df; font-size: 10.5px; }
.mk-tb img { width: 14px; height: 14px; }
.mk-tb span { flex: 1; }
.mk-tb .tb { width: 40px; height: 30px; position: relative; }
.mk-tb .tb::before, .mk-tb .tb::after { content: ''; position: absolute; left: 50%; top: 50%; background: #c9d4df; }
.mk-tb .tb-min::before { width: 10px; height: 1px; transform: translate(-50%, 0); }
.mk-tb .tb-max::before { width: 8px; height: 8px; background: none; border: 1px solid #c9d4df; transform: translate(-50%, -50%); }
.mk-tb .tb-x::before, .mk-tb .tb-x::after { width: 12px; height: 1px; transform: translate(-50%, -50%) rotate(45deg); }
.mk-tb .tb-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mk-tb .tb-x { border-radius: 0 12px 0 0; }
.mk-app { display: grid; grid-template-columns: 170px 250px 1fr 190px; height: calc(100% - 30px); border-radius: 0 0 12px 12px; overflow: hidden; }

.mk-side { background: var(--mk-navy); color: #b9c7d6; padding: 10px 8px; display: flex; flex-direction: column; gap: 3px; }
.mk-brand { display: flex; align-items: center; gap: 6px; padding: 2px 4px 10px; color: #fff; font-size: 11px; }
.mk-brand img { width: 18px; height: 18px; }
.mk-nav { display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 7px; white-space: nowrap; }
.mk-nav svg { width: 13px; height: 13px; flex: none; }
.mk-nav b { font-weight: 500; flex: 1; overflow: hidden; text-overflow: ellipsis; }
.mk-nav em { font-style: normal; font-size: 8.5px; font-weight: 700; background: var(--mk-gold); color: #2a1d00; border-radius: 99px; padding: 0 5px; }
.mk-nav.on { background: rgba(255, 255, 255, .1); color: #fff; }
.mk-status { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 600; }
.mk-status i { width: 7px; height: 7px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 3px rgba(47, 179, 107, .25); }
.mk-status.sm { margin: 0; padding: 3px 7px; font-size: 9px; background: rgba(47, 179, 107, .12); color: #1d8a50; }

.mk-list { background: #fff; border-right: 1px solid var(--mk-line); padding: 9px 7px; overflow: hidden; }
.mk-search { height: 22px; border-radius: 7px; background: var(--mk-bg); color: #98a3af; padding: 0 9px; display: flex; align-items: center; margin-bottom: 7px; }
.mk-search.sm { margin: 4px 12px 6px; height: 26px; border-radius: 9px; font-size: 10px; }
.mk-tabs { display: flex; gap: 4px; margin-bottom: 6px; font-size: 9px; }
.mk-tabs b, .mk-tabs span { padding: 2px 7px; border-radius: 99px; color: var(--mk-muted); }
.mk-tabs b { background: #f6ecd6; color: #8a6411; }
.mk-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 7px; align-items: center; padding: 6px 5px; border-radius: 8px; }
.mk-row.on { background: #eef4fb; box-shadow: inset 2px 0 0 #2f6fc0; }
.mk-rt { min-width: 0; display: flex; flex-direction: column; }
.mk-rt b { font-weight: 650; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-rt small { color: var(--mk-muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-rm { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.mk-rm small { color: #98a3af; font-size: 8.5px; }
.mk-rm em { font-style: normal; min-width: 15px; height: 15px; border-radius: 99px; background: #e5484d; color: #fff; font-size: 8.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.mk-av { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 11px; flex: none; }
.mk-av.a1 { background: linear-gradient(135deg, #f093a2, #d4547a); } .mk-av.a2 { background: linear-gradient(135deg, #7fb4f0, #2f6fc0); } .mk-av.a3 { background: linear-gradient(135deg, #b49cf0, #6d4fd0); }
.mk-av.a4 { background: linear-gradient(135deg, #f1c86a, #d4a64a); } .mk-av.a5 { background: linear-gradient(135deg, #6fd3a0, #2fb36b); }
.mk-ch { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #fff; }
.mk-ch svg { width: 8px; height: 8px; }
.c-wa { background: #25d366; color: #fff; } .c-tg { background: #27a7e7; color: #fff; } .c-vk { background: #0077ff; color: #fff; } .c-web { background: #0b3a5b; color: #fff; }

.mk-conv { display: flex; flex-direction: column; background: #f7f9fb; min-width: 0; }
.mk-ch-h { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border-bottom: 1px solid var(--mk-line); }
.mk-ch-h > span:not(.mk-av) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mk-ch-h b { font-size: 10.5px; } .mk-ch-h small { color: var(--mk-muted); font-size: 9px; }
.mk-hot { font-style: normal; font-size: 8.5px; font-weight: 700; padding: 3px 7px; border-radius: 99px; background: #fff1e4; color: #c2610c; }
.mk-msgs { flex: 1; padding: 10px 11px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.mk-msgs p { margin: 0; max-width: 78%; padding: 7px 9px 5px; border-radius: 12px; font-size: 9.5px; line-height: 1.4; position: relative; }
.mk-msgs p small { display: block; text-align: right; font-size: 7.5px; opacity: .6; margin-top: 2px; }
.mk-msgs .in { background: #fff; border: 1px solid var(--mk-line); border-bottom-left-radius: 4px; align-self: flex-start; }
.mk-msgs .out { background: linear-gradient(135deg, #0b3a5b, #145a87); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.mk-ai { align-self: stretch; display: flex; gap: 7px; align-items: center; padding: 6px 8px; border-radius: 9px; background: linear-gradient(90deg, #f6ecd6, #fff8e8); border: 1px dashed #e2c37f; font-size: 9px; color: #6b4e0e; }
.mk-ai b { white-space: nowrap; }
.mk-quick { display: flex; gap: 5px; padding: 0 10px 6px; flex-wrap: nowrap; overflow: hidden; }
.mk-quick span { white-space: nowrap; font-size: 8.5px; padding: 3px 8px; border-radius: 99px; background: #fff; border: 1px solid var(--mk-line); color: #145a87; font-weight: 600; }
.mk-input { margin: 0 10px 10px; height: 28px; border-radius: 10px; background: #fff; border: 1px solid var(--mk-line); display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 10px; color: #98a3af; }
.mk-input i { width: 22px; height: 22px; border-radius: 8px; background: linear-gradient(135deg, #f1c86a, #d4a64a); position: relative; }
.mk-input i::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 7px solid #2a1d00; border-top: 4px solid transparent; border-bottom: 4px solid transparent; left: 2px; }

.mk-info { background: #fff; border-left: 1px solid var(--mk-line); padding: 10px 9px; display: flex; flex-direction: column; gap: 8px; }
.mk-info > b { font-size: 10px; }
.mk-info dl { margin: 0; display: grid; grid-template-columns: 14px 1fr; gap: 6px 4px; font-size: 9px; color: #3b4a59; }
.mk-info dt, .mk-info dd { margin: 0; }
.mk-deal { margin-top: auto; padding: 8px; border-radius: 9px; background: #f2f8f4; border: 1px solid #d5ecdd; display: flex; flex-direction: column; gap: 3px; }
.mk-deal small { color: #1d8a50; font-size: 8.5px; font-weight: 600; } .mk-deal b { font-size: 12px; }
.mk-deal i { height: 4px; border-radius: 4px; background: #d5ecdd; overflow: hidden; } .mk-deal u { display: block; height: 100%; width: 72%; background: #2fb36b; }

/* dark theme of the window */
.mk-win.dark { background: #161f29; }
.mk-win.dark .mk-list, .mk-win.dark .mk-ch-h, .mk-win.dark .mk-info { background: #161f29; border-color: #263241; }
.mk-win.dark .mk-conv { background: #0e141b; }
.mk-win.dark .mk-side { background: #0a1520; }
.mk-win.dark, .mk-win.dark .mk-rt b, .mk-win.dark .mk-info > b, .mk-win.dark .mk-ch-h b, .mk-win.dark .mk-deal b { color: #e2e8ee; }
.mk-win.dark .mk-search, .mk-win.dark .mk-input, .mk-win.dark .mk-quick span { background: #0f1720; border-color: #263241; }
.mk-win.dark .mk-msgs .in { background: #1b2632; border-color: #263241; color: #e2e8ee; }
.mk-win.dark .mk-row.on { background: #1c2a3a; }
.mk-win.dark .mk-info dl { color: #a9b8c8; }
.mk-win.dark .mk-deal { background: #13251b; border-color: #1f3d2b; }
.mk-win.dark .mk-ai { background: linear-gradient(90deg, #3a3121, #2c2618); border-color: #6b5527; color: #e8cf94; }
.mk-win.dark .mk-tabs b { background: #3a3121; color: #e8cf94; }
.mk-win.dark .mk-ch { border-color: #161f29; }

/* ---------- Windows notification ---------- */
.mk-toast { position: absolute; right: -4%; bottom: 9%; width: 41%; min-width: 190px; padding: 10px 12px 10px; border-radius: 10px; background: rgba(32, 36, 44, .96); color: #fff; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); font: 400 10px/1.4 -apple-system, "Segoe UI", Inter, sans-serif; backdrop-filter: blur(10px); animation: mkToast 6s ease-in-out infinite; z-index: 3; }
.mk-toast-h { display: flex; align-items: center; gap: 6px; color: #c7ced6; font-size: 9px; margin-bottom: 6px; }
.mk-toast-h img { width: 13px; height: 13px; } .mk-toast-h span { flex: 1; } .mk-toast-h small { color: #8d96a0; }
.mk-toast b { display: block; font-size: 11px; } .mk-toast p { margin: 2px 0 8px; color: #d3d9df; }
.mk-toast-a span { display: block; text-align: center; padding: 5px; border-radius: 6px; background: rgba(255, 255, 255, .1); font-weight: 600; }
@keyframes mkToast { 0%, 8% { opacity: 0; transform: translateY(16px) scale(.97); } 14%, 78% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(8px); } }

/* ---------- Phone ---------- */
.mk-phone { width: 300px; flex: none; }
.ph-frame { position: relative; aspect-ratio: 9 / 19.2; border-radius: 40px; padding: 10px; background: linear-gradient(145deg, #2b3440, #0d141c); box-shadow: 0 50px 90px -30px rgba(11, 37, 64, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 0 0 1px rgba(0, 0, 0, .4); }
.ph-island { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 30%; height: 20px; border-radius: 20px; background: #05080b; z-index: 2; }
.ph-screen { height: 100%; border-radius: 31px; overflow: hidden; background: #fff; display: flex; flex-direction: column; font: 400 11px/1.35 -apple-system, "Segoe UI", Inter, Roboto, sans-serif; color: var(--mk-ink); text-align: left; position: relative; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 13px 22px 6px; font-size: 11px; position: relative; z-index: 1; }
.ph-status span { display: flex; align-items: center; gap: 4px; }
.ph-status svg { width: 15px; height: 10px; }
.ph-bat { width: 20px; height: 10px; border: 1.3px solid currentColor; border-radius: 3px; position: relative; }
.ph-bat::after { content: ''; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1px; }
.ph-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 8px; }
.ph-bar > b { font-size: 21px; letter-spacing: -.02em; }
.ph-bar.chat { justify-content: flex-start; gap: 9px; border-bottom: 1px solid var(--mk-line); }
.ph-bar.chat > span:last-child { display: flex; flex-direction: column; } .ph-bar.chat small { color: #2fb36b; font-size: 9.5px; }
.ph-back { width: 9px; height: 9px; border-left: 2px solid #145a87; border-bottom: 2px solid #145a87; transform: rotate(45deg); margin-right: 2px; }
.mk-phone .mk-row { padding: 8px 12px; grid-template-columns: 34px 1fr auto; border-radius: 0; }
.mk-phone .mk-av { width: 34px; height: 34px; font-size: 13px; }
.mk-phone .mk-ch { width: 15px; height: 15px; } .mk-phone .mk-ch svg { width: 9px; height: 9px; }
.mk-phone .mk-rt b { font-size: 12px; } .mk-phone .mk-rt small { font-size: 10.5px; }
.ph-nav { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 16px; border-top: 1px solid var(--mk-line); background: #fff; }
.ph-nav span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8.5px; color: #98a3af; }
.ph-nav span.on { color: #0b3a5b; font-weight: 700; }
.ph-nav svg { width: 18px; height: 18px; }
.mk-msgs.ph { padding: 10px 12px; gap: 8px; background: #f4f6f9; }
.mk-msgs.ph p { font-size: 11px; max-width: 82%; }
.ph-day { align-self: center; font-size: 9px; color: #98a3af; background: #fff; padding: 2px 9px; border-radius: 99px; }
.mk-msgs .typing { background: #fff; border: 1px solid var(--mk-line); align-self: flex-start; display: flex; gap: 3px; padding: 9px 11px; }
.mk-msgs .typing i { width: 5px; height: 5px; border-radius: 50%; background: #98a3af; animation: mkDot 1.2s infinite; }
.mk-msgs .typing i:nth-child(2) { animation-delay: .15s; } .mk-msgs .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mkDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.mk-quick.sm { padding: 6px 12px; background: #f4f6f9; } .mk-quick.sm span { font-size: 10px; padding: 4px 10px; }
.mk-input.sm { margin: 0; border-radius: 0; height: 52px; padding: 0 10px 12px 14px; border-width: 1px 0 0; }
.mk-input.sm i { width: 30px; height: 30px; border-radius: 50%; }

/* lock screen */
.scr-lock .ph-screen { background: radial-gradient(120% 80% at 20% 10%, #2e5f8a 0%, #12324f 45%, #071420 100%); color: #fff; }
.ph-lock { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 18px 10px; gap: 8px; }
.ph-lock > small { font-size: 11px; opacity: .85; }
.ph-lock > b { font-size: 58px; font-weight: 300; letter-spacing: -.03em; line-height: 1; margin-bottom: 18px; }
.ph-push { width: 100%; padding: 10px 11px; border-radius: 17px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(16px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); animation: mkPush 7s ease-in-out infinite; }
.ph-push.p2 { animation-delay: .35s; opacity: .92; }
.pp-h { display: flex; align-items: center; gap: 6px; font-size: 9.5px; opacity: .85; margin-bottom: 3px; }
.pp-h img { width: 15px; height: 15px; border-radius: 4px; background: #fff; padding: 1px; } .pp-h span { flex: 1; font-weight: 600; }
.ph-push b { display: block; font-size: 11px; } .ph-push p { margin: 1px 0 0; font-size: 10.5px; opacity: .9; }
.ph-sound { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: 10px; font-weight: 600; }
.ph-sound svg { width: 14px; height: 14px; color: #f1c86a; animation: mkRing 1.6s ease-in-out infinite; }
@keyframes mkPush { 0%, 6% { opacity: 0; transform: translateY(-14px) scale(.96); } 12%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes mkRing { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-14deg); } 20% { transform: rotate(12deg); } 30% { transform: rotate(-8deg); } 40% { transform: rotate(0); } }

/* ---------- Download buttons ---------- */
.ab-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ab { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 20px 9px 16px; border-radius: 16px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.ab svg { width: 26px; height: 26px; flex: none; }
.ab span { display: flex; flex-direction: column; line-height: 1.2; }
.ab b { font-size: 15.5px; font-weight: 700; } .ab small { font-size: 12px; opacity: .72; margin-top: 2px; }
.ab-win { background: linear-gradient(135deg, #f1c86a, #d4a64a); color: #2a1d00; box-shadow: 0 14px 30px -14px rgba(212, 166, 74, .9); }
.ab-and { background: #0d1b29; color: #fff; box-shadow: 0 14px 30px -16px rgba(13, 27, 41, .9); }
.ab-and svg { color: #3ddc84; }
.ab-web { background: rgba(255, 255, 255, .08); color: inherit; border: 1px solid currentColor; border-color: rgba(127, 140, 155, .35); }
.ab:hover { transform: translateY(-3px); } .ab-win:hover { box-shadow: 0 20px 40px -16px rgba(212, 166, 74, 1); } .ab-and:hover { box-shadow: 0 20px 40px -16px rgba(13, 27, 41, 1); }
.ab:active { transform: translateY(-1px); }
.ab:focus-visible { outline: 3px solid #f1c86a; outline-offset: 3px; }
.ab-note { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; font-size: 13px; opacity: .7; }
.ab-note svg { width: 15px; height: 15px; }

/* ---------- Apps page ---------- */
.ap-hero { position: relative; overflow: hidden; padding: 34px 0 90px; background: radial-gradient(70% 70% at 85% 20%, rgba(212, 166, 74, .18), transparent 60%), radial-gradient(60% 60% at 10% 90%, rgba(47, 111, 192, .25), transparent 60%), linear-gradient(160deg, #071624 0%, #0b2540 55%, #0e3150 100%); color: #fff; }
.ap-hero .crumbs, .ap-hero .crumbs a { color: rgba(255, 255, 255, .6); }
.ap-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 48px; align-items: center; margin-top: 22px; }
.ap-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f1c86a; }
.ap-kick i { width: 8px; height: 8px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 4px rgba(47, 179, 107, .2); }
.ap-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.035em; margin: 14px 0 18px; color: #fff; }
.ap-hero h1 em { font-style: normal; background: linear-gradient(90deg, #f1c86a, #ffe3a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-hero .ap-lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 520px; }
.ap-hero .ab-web { color: #fff; border-color: rgba(255, 255, 255, .25); }
.ap-hero .ab-and { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.ap-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.ap-trust span { display: inline-flex; align-items: center; gap: 6px; }
.ap-trust span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: rgba(47, 179, 107, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%2335c07a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ap-stage { position: relative; padding: 0 70px 40px 0; perspective: 1600px; }
.ap-stage > .mk-fit-win { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; animation: apFloat 9s ease-in-out infinite; }
.ap-stage > .mk-fit-ph { position: absolute; right: 0; bottom: -34px; width: 27%; min-width: 120px; rotate: 4deg; animation: apFloat 9s ease-in-out infinite reverse; z-index: 4; }
.ap-stage .mk-toast { right: auto; bottom: auto; left: -7%; top: 12%; width: 36%; }
@keyframes apFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.ap-glow { position: absolute; inset: 10% 10% 0; background: radial-gradient(closest-side, rgba(241, 200, 106, .28), transparent); filter: blur(40px); z-index: -1; }

.ap-sec { padding: 96px 0; }
.ap-sec.alt { background: #f5f7fa; }
.ap-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.ap-head h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 14px; }
.ap-head p { font-size: 17px; color: var(--mk-muted); line-height: 1.6; margin: 0; }
.ap-head .ap-kick { color: #b5862a; }
.ap-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ap-f { position: relative; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid #e8ecf1; box-shadow: 0 1px 2px rgba(16, 40, 70, .04); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.ap-f:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11, 37, 64, .35); }
.ap-f h3 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -.01em; }
.ap-f p { margin: 0; color: var(--mk-muted); font-size: 15px; line-height: 1.55; }
.ap-f .vis { height: 168px; border-radius: 16px; background: linear-gradient(160deg, #0b2540, #145a87); position: relative; overflow: hidden; display: grid; place-items: center; }
.ap-f .vis .mk-toast { position: relative; right: auto; bottom: auto; width: 78%; animation-duration: 5s; }
.ap-f.wide { grid-column: span 2; }
.vis-tray { width: 88%; height: 46px; border-radius: 12px; background: rgba(13, 20, 28, .82); display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 14px; color: #c9d4df; font-size: 12px; align-self: end; margin-bottom: 18px; }
.vis-tray .ti { position: relative; width: 22px; height: 22px; border-radius: 6px; background: url(/assets/icon.svg) center / 18px no-repeat; }
.vis-tray .ti::after { content: '3'; position: absolute; right: -6px; top: -6px; min-width: 15px; height: 15px; border-radius: 99px; background: #e5484d; color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; animation: mkBadge 2.4s ease-in-out infinite; }
.vis-tray .tm { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; font-size: 10.5px; }
.vis-menu { position: absolute; right: 7%; bottom: 74px; width: 58%; border-radius: 10px; background: #fff; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); padding: 5px; font-size: 11.5px; color: var(--mk-ink); }
.vis-menu span { display: block; padding: 5px 9px; border-radius: 6px; } .vis-menu span.on { background: #eef4fb; } .vis-menu hr { border: 0; border-top: 1px solid var(--mk-line); margin: 3px 0; }
@keyframes mkBadge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.vis-off { width: 80%; padding: 14px; border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); }
.vis-off .r { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.vis-off .r b { display: block; font-size: 13px; } .vis-off .r small { color: var(--mk-muted); font-size: 11.5px; }
.vis-off .sp { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #e6eaf0; border-top-color: #d4a64a; animation: mkSpin 1s linear infinite; flex: none; }
.vis-off .ok { width: 22px; height: 22px; border-radius: 50%; background: #2fb36b; flex: none; position: relative; }
.vis-off .ok::after { content: ''; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vis-off .r.b { padding-top: 9px; border-top: 1px solid var(--mk-line); }
@keyframes mkSpin { to { transform: rotate(360deg); } }
.vis-theme { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.vis-theme > div { display: flex; flex-direction: column; gap: 7px; padding: 18px 14px; }
.vis-theme .l { background: #f3f5f8; } .vis-theme .d { background: #0e141b; }
.vis-theme i { height: 12px; border-radius: 6px; } .vis-theme .l i { background: #fff; box-shadow: 0 0 0 1px #e6eaf0; } .vis-theme .d i { background: #1b2632; }
.vis-theme i.o { align-self: flex-end; width: 62%; background: linear-gradient(135deg, #0b3a5b, #145a87) !important; box-shadow: none !important; }
.vis-theme i.s { width: 74%; } .vis-theme i.t { width: 50%; }
.vis-theme span { margin-top: auto; align-self: center; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.vis-theme .l span { background: #fff; color: var(--mk-ink); } .vis-theme .d span { background: #1b2632; color: #e2e8ee; }
.vis-sound { display: flex; align-items: center; gap: 4px; height: 70px; }
.vis-sound i { width: 6px; border-radius: 4px; background: linear-gradient(#ffe3a3, #d4a64a); animation: mkWave 1.1s ease-in-out infinite; }
@keyframes mkWave { 0%, 100% { height: 14px; } 50% { height: 64px; } }
.vis-login { width: 82%; display: flex; flex-direction: column; gap: 8px; }
.vis-login .g { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px; border-radius: 10px; background: #fff; font-size: 12.5px; font-weight: 650; color: var(--mk-ink); }
.vis-login .g svg { width: 16px; height: 16px; }
.vis-login .arrow { text-align: center; color: rgba(255, 255, 255, .75); font-size: 11.5px; }
.vis-login .done { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px; border-radius: 10px; background: rgba(47, 179, 107, .18); border: 1px solid rgba(47, 179, 107, .5); color: #bff0d3; font-size: 12.5px; font-weight: 650; }

.ap-phones { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.ap-phones .stack { display: flex; justify-content: center; gap: 26px; align-items: flex-start; }
.ap-phones .stack > .mk-fit-ph { width: 46%; max-width: 280px; }
.ap-phones .stack > .mk-fit-ph:nth-child(2) { margin-top: 60px; }
.ap-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.ap-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.ap-list li > i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #eef4fb; color: #145a87; }
.ap-list li > i svg { width: 22px; height: 22px; }
.ap-list b { display: block; font-size: 16.5px; margin-bottom: 3px; } .ap-list span { color: var(--mk-muted); font-size: 15px; line-height: 1.5; }

.ap-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ap-step { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid #e8ecf1; }
.ap-step h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 20px; }
.ap-step h3 svg { width: 26px; height: 26px; color: #0b3a5b; }
.ap-step ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.ap-step li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; color: #2c3a48; }
.ap-step li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0b3a5b; color: #fff; font-weight: 700; font-size: 13px; }
.ap-step .ab { margin-top: 20px; }

/* ---------- Home section ---------- */
.home-apps { position: relative; overflow: hidden; background: linear-gradient(160deg, #071624 0%, #0b2540 60%, #0e3150 100%); color: #fff; }
.home-apps .ha-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.home-apps h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; line-height: 1.08; margin: 12px 0 16px; }
.home-apps p.lead { color: rgba(255, 255, 255, .78); font-size: 17.5px; line-height: 1.6; margin: 0; }
.home-apps .kicker { color: #f1c86a; }
.home-apps .ab-web { color: #fff; border-color: rgba(255, 255, 255, .25); }
.home-apps .ab-and { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.home-apps .ha-pts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.home-apps .ha-pts span { font-size: 13.5px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.home-apps .ap-stage { padding-right: 60px; }
.home-apps .ha-more { display: inline-block; margin-top: 18px; color: #f1c86a; font-weight: 650; text-decoration: none; }
.home-apps .ha-more:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .ap-feats { grid-template-columns: 1fr 1fr; } .ap-f.wide { grid-column: span 2; }
}
@media (max-width: 960px) {
  .ap-grid, .home-apps .ha-grid, .ap-phones { grid-template-columns: 1fr; gap: 40px; }
  .ap-stage { padding: 0 40px 40px 0; max-width: 720px; margin: 0 auto; }
  .ap-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ap-hero { padding-bottom: 60px; }
  .ap-feats { grid-template-columns: 1fr; } .ap-f.wide { grid-column: auto; }
  .ap-stage { padding: 0 0 50px; } .ap-stage > .mk-fit-win { transform: none; }
  .ap-stage > .mk-fit-ph { width: 34%; min-width: 0; right: -6px; bottom: -20px; }
  .ap-stage .mk-toast { display: none; }
  .ab { width: 100%; }
  .ap-sec { padding: 64px 0; }
  .ap-phones .stack { gap: 14px; } .ap-phones .stack > .mk-fit-ph { width: 48%; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-toast, .ph-push, .ap-stage > .mk-fit-win, .ap-stage > .mk-fit-ph, .vis-sound i, .vis-tray .ti::after, .mk-msgs .typing i, .ph-sound svg { animation: none !important; }
}

/* Bigger hero mock-up: the window runs past the right edge on wide screens. */
@media (min-width: 961px) {
  .ap-hero .ap-grid { grid-template-columns: minmax(0, .74fr) minmax(0, 1.5fr); gap: 36px; }
  .ap-hero .ap-stage { margin-right: max(-220px, calc((1240px - 100vw) / 2)); padding-right: 40px; }
  .ap-hero .ap-stage > .mk-fit-ph { width: 25%; right: 8%; }
  .home-apps .ha-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
  .home-apps .ap-stage { margin-right: max(-200px, calc((1240px - 100vw) / 2)); }
  .home-apps .ap-stage > .mk-fit-ph { width: 25%; right: 8%; }
}
.ap-hero, .home-apps { overflow: hidden; }.ap-stage .mk-toast { left: auto; top: auto; right: 24%; bottom: 7%; width: 34%; min-width: 250px; }
@media (min-width: 961px) { .ap-hero h1 { font-size: clamp(32px, 3.4vw, 50px); } .ap-hero .ap-text { position: relative; z-index: 2; } }
.ap-hero .crumbs span, .ap-hero .crumbs [aria-current] { color: rgba(255, 255, 255, .88); }
.ap-hero .crumbs .sep { color: rgba(255, 255, 255, .35); }
