/* Muscat Labs "shine" layer (Nov 2026). Loaded after mlx-chrome.css (every page) and mlx.css (Muscat Labs pages).
   Shared chrome (bar, footer) + home/apps layouts. App sales pages keep their own theme: only the bar and footer here apply.
   Motion: transform/opacity only, runs only while a [data-mls] section is on screen (mls.js), and never under reduced motion.
   The golden star / badge Easter egg is not styled here. */
:root {
  --mls-night: #0C1311; --mls-night-2: #13201C; --mls-pine: #1E3B33;
  --mls-gold: #E2C27E; --mls-gold-hi: #FFF1CF; --mls-gold-deep: #C9A25E; --mls-gold-ink: #7A5A2B;
  --mls-paper: #FBF8F2; --mls-cream: #F5F0E6; --mls-ink: #111614; --mls-muted: #4B5450;
  --mls-line: rgba(17,22,20,.10); --mls-ease: cubic-bezier(.2,.7,.2,1);
}

/* ================= Shared bar: dark glass, gold hairline ================= */
.mlx-bar.mlx-bar { background: rgba(12,19,17,.86); color: #F5F0E6; border-bottom: 1px solid rgba(226,194,126,.16); }
.mlx-bar.mlx-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent 5%, rgba(226,194,126,.75) 50%, transparent 95%); opacity: .55; }
.mlx-bar .mlx-bar-in { min-height: 62px; }
.mlx-bar.mlx-bar a.mlx-brand, .mlx-bar.mlx-bar a.mlx-brand:hover { color: #FBF8F2; }
.mlx-bar .mlx-mark { box-shadow: 0 0 0 1px rgba(226,194,126,.38), 0 6px 16px -6px rgba(0,0,0,.7); }
.mlx-bar.mlx-bar a.mlx-nav-link { color: #EDEAE2; }
.mlx-bar.mlx-bar a.mlx-nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.mlx-bar .mlx-nav-link[aria-current="page"]::after { background: var(--mls-gold); }
.mlx-bar.mlx-bar a.mlx-new { color: #FBF8F2; border-color: rgba(226,194,126,.55); background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 18px -10px rgba(226,194,126,.55); }
.mlx-bar.mlx-bar a.mlx-new:hover { border-color: var(--mls-gold); box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 8px 22px -10px rgba(226,194,126,.8); }
.mlx-bar .mlx-new::after { background: linear-gradient(100deg, rgba(226,194,126,0), rgba(255,241,207,.28) 50%, rgba(226,194,126,0)) !important; }
.mlx-bar .mlx-new-dot { background: radial-gradient(circle at 35% 35%, #FFF1CF, #E2C27E 55%, #A27B45); box-shadow: 0 0 0 3px rgba(226,194,126,.2), 0 0 10px rgba(226,194,126,.6); }
.mlx-bar .mlx-menu-btn { background: rgba(255,255,255,.06); border-color: rgba(245,240,230,.22); color: #FBF8F2; }
.mlx-bar a:focus-visible, .mlx-bar button:focus-visible, .mlx-footer a:focus-visible { outline-color: var(--mls-gold) !important; }
@media (max-width: 860px) {
  .mlx-js .mlx-bar .mlx-menu { background: #111A17; border-color: rgba(226,194,126,.22); box-shadow: 0 24px 48px -16px rgba(0,0,0,.6); }
  .mlx-js .mlx-bar.mlx-bar a.mlx-nav-link:hover { background: rgba(255,255,255,.07); }
}
@media (max-width: 420px) { .mlx-bar .mlx-bar-in { min-height: 58px; } }

/* ================= Footer: deep night with a soft pine and gold glow ================= */
.mlx-footer.mlx-footer { background: var(--mls-night); border-top: 1px solid rgba(226,194,126,.35); padding-top: clamp(52px, 7vw, 84px); }
.mlx-footer.mlx-footer::before { inset: 0; height: auto; background: radial-gradient(70% 110% at 100% 0%, rgba(30,59,51,.65), transparent 62%), radial-gradient(50% 80% at 0% 100%, rgba(201,162,94,.10), transparent 62%); pointer-events: none; }
.mlx-footer > .mlx-wrap { position: relative; z-index: 1; }
.mlx-footer::after { content: ""; position: absolute; top: -1px; left: 0; width: 30%; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, #FFF1CF, transparent); opacity: 0; transform: translateX(-100%); }
.mlx-footer .mlx-foot-help a { display: inline-flex; align-items: center; min-height: 44px; }
.mlx-footer .mlx-foot-brand .mlx-brand-name { font-size: 1.3rem; }
.mlx-footer .mlx-foot-brand .mlx-mark { width: 40px; height: 40px; box-shadow: 0 0 0 1px rgba(226,194,126,.35); }
.mlx-footer .mlx-foot-h { color: var(--mls-gold); }
.mlx-footer .mlx-foot-base { border-top-color: rgba(226,194,126,.16); }
@media (max-width: 860px) {
  .mlx-footer .mlx-foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .mlx-footer .mlx-foot-grid > div:nth-child(2) { grid-column: 1 / -1; }
  .mlx-footer .mlx-foot-grid > div:nth-child(2) ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
@media (max-width: 380px) { .mlx-footer .mlx-foot-grid { grid-template-columns: 1fr 1fr; } }

/* ================= Shared shine parts ================= */
.mls-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px !important; font: 600 .78rem/1 var(--mlx-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mls-gold-ink); }
.mls-kicker::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--mls-gold-deep), transparent); }
.mls-kicker-light { color: var(--mls-gold); }
.mls-kicker-light::before { background: linear-gradient(90deg, var(--mls-gold), transparent); }
.mls-kicker-mark, .mls-live { display: none; }
.mls-gold { color: #EBD19A; background: linear-gradient(100deg, #E2C27E 0%, #F3DDA8 30%, #FFF1CF 46%, #E8CB8C 62%, #E2C27E 100%) 0 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (forced-colors: active) { .mls-gold { -webkit-text-fill-color: currentColor; background: none; } }

/* Buttons */
.mlx .mlx-btn.mls-btn-gold { position: relative; overflow: hidden; isolation: isolate; color: #1A1408 !important; background: linear-gradient(180deg, #F6E3B4, #DDBA72); border-color: rgba(255,241,207,.6); box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -1px 0 rgba(122,90,43,.25) inset, 0 12px 30px -14px rgba(226,194,126,.85); }
.mlx .mlx-btn.mls-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 36px -14px rgba(226,194,126,1); }
.mlx .mlx-btn.mls-btn-glass { color: #FBF8F2 !important; background: rgba(255,255,255,.06); border-color: rgba(245,240,230,.34); }
.mlx .mlx-btn.mls-btn-glass:hover { background: rgba(255,255,255,.11); border-color: #F5F0E6; transform: translateY(-1px); }
.mlx .mlx-btn.mls-btn-app { position: relative; overflow: hidden; isolation: isolate; color: var(--app-on, #fff) !important; background: var(--app-btn, var(--mls-pine)); border-color: rgba(255,255,255,.18); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 10px 24px -14px var(--app-btn, #000); }
.mlx .mlx-btn.mls-btn-app:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 16px 30px -14px var(--app-btn, #000); }
.mlx .mlx-btn.mls-btn-quiet { color: var(--mls-ink) !important; background: #fff; border-color: rgba(17,22,20,.18); }
.mlx .mlx-btn.mls-btn-quiet:hover { border-color: var(--mls-ink); transform: translateY(-1px); }
.mls-glint::after, .mlx .mlx-btn.mls-btn-app::after { content: ""; position: absolute; top: -2px; bottom: -2px; left: 0; width: 40%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-180%) skewX(-18deg); }
.mls-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Phone mockups: glass glare + soft shadow */
.mls-phone { position: relative; }
.mls-phone .mlx-device { box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 2px 4px rgba(0,0,0,.18), 0 30px 60px -24px rgba(0,0,0,.55); }
.mls-glare { position: absolute; inset: 0; border-radius: 15% / 7%; overflow: hidden; pointer-events: none; background: linear-gradient(128deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.05) 24%, rgba(255,255,255,0) 40%); }
.mls-glare::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.26), transparent); transform: translateX(-200%) skewX(-16deg); }

/* Sparkles: small four-point stars */
.mls-spark { position: absolute; z-index: 4; width: 14px; height: 14px; pointer-events: none; background: radial-gradient(circle, #FFFBEF 0 22%, #F3DDA8 46%, rgba(226,194,126,0) 72%); clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%); opacity: .8; }

/* ================= Home: hero ================= */
.mls-hero { position: relative; overflow: hidden; isolation: isolate; color: #DCE1DB; background: var(--mls-night); padding: 30px 0 26px; }
.mls-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(90% 60% at 100% 30%, rgba(201,162,94,.18), transparent 65%), radial-gradient(90% 70% at 0% 0%, rgba(38,71,61,.95), transparent 70%), radial-gradient(80% 50% at 50% 100%, rgba(30,59,51,.75), transparent 75%), linear-gradient(180deg, #0F1916, #0B110F); }
.mls-aurora { position: absolute; border-radius: 50%; will-change: transform; }
.mls-aurora-a { width: 120vw; height: 70vw; max-width: 1100px; max-height: 700px; right: -40%; top: 18%; background: radial-gradient(closest-side, rgba(226,194,126,.16), transparent); }
.mls-aurora-b { width: 90vw; height: 70vw; max-width: 900px; max-height: 700px; left: -30%; bottom: -30%; background: radial-gradient(closest-side, rgba(70,130,110,.22), transparent); }
.mls-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(226,194,126,.18) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 60% at 72% 42%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 72% 42%, #000, transparent 75%); }
.mls-sweep { position: absolute; top: -30%; bottom: -30%; left: 0; width: 26%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,241,207,.07) 45%, rgba(255,241,207,.12) 50%, rgba(255,241,207,.07) 55%, transparent); transform: translateX(-120%) skewX(-14deg); opacity: 0; }
.mls-hero-in { display: grid; gap: 6px; }
.mls-hero h1 { color: #FBF8F2 !important; font-size: clamp(2.5rem, 6vw, 4.9rem) !important; line-height: 1.02 !important; letter-spacing: -.035em; max-width: 11em; }
.mls-lead { margin: 18px 0 0 !important; font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.6; color: #C9D0CA; max-width: 34em; }
.mls-hero .mls-cta { flex-wrap: nowrap; margin-top: 24px; }
.mls-hero .mls-cta .mlx-btn { flex: 1 1 0; min-height: 52px; padding: 0 14px; }
.mls-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.mls-facts li { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px 0 10px; border-radius: 999px; font: 500 .9rem/1 var(--mlx-sans); color: #E4E8E2; background: rgba(255,255,255,.05); border: 1px solid rgba(226,194,126,.22); }
.mls-facts li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--mls-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%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 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.mls-hero-phones { position: relative; height: 330px; margin-top: 10px; }
.mls-hp { position: absolute; left: 50%; top: 50%; width: 136px; }
.mls-hp .mlx-device { width: 100%; }
.mls-hp-0 { z-index: 3; transform: translate(-50%, -50%); }
.mls-hp-1 { z-index: 2; transform: translate(-118%, -46%) rotate(-8deg) scale(.86); }
.mls-hp-2 { z-index: 1; transform: translate(18%, -46%) rotate(8deg) scale(.86); }
.mls-hp-glow { position: absolute; left: -45%; right: -45%; top: 12%; bottom: -10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--app-glow) 55%, transparent), transparent); opacity: .75; }
.mls-hero-phones .mls-spark-0 { left: 8%; top: 12%; }
.mls-hero-phones .mls-spark-1 { right: 9%; top: 6%; width: 18px; height: 18px; }
.mls-hero-phones .mls-spark-2 { left: 47%; top: -2%; width: 10px; height: 10px; }
.mls-hero-phones .mls-spark-3 { right: 4%; bottom: 18%; width: 11px; height: 11px; }
.mls-hero-phones .mls-spark-4 { left: 2%; bottom: 26%; width: 9px; height: 9px; }
.mls-hero-phones .mls-spark-5 { left: 30%; bottom: 2%; width: 12px; height: 12px; }
/* App dock: every live app from apps.json */
.mls-dock { margin-top: 18px; padding: 14px 6px 8px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(226,194,126,.18); box-shadow: 0 1px 0 rgba(255,255,255,.05) inset; }
.mls-dock-h { margin: 0 0 8px !important; text-align: center; font: 600 .76rem/1.2 var(--mlx-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mls-gold); }
.mls-dock ul { display: flex; justify-content: safe center; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.mls-dock ul::-webkit-scrollbar { display: none; }
.mls-dock li { flex: 0 0 auto; scroll-snap-align: start; }
.mls-dock a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 54px; min-height: 76px; padding: 4px 0 6px; border-radius: 14px; text-decoration: none !important; color: #E9ECE7 !important; font: 500 .72rem/1.15 var(--mlx-sans); text-align: center; transition: transform .25s var(--mls-ease), background .2s; }
.mls-dock a span { max-width: 56px; overflow-wrap: anywhere; }
.mls-dock img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 8px 18px -8px color-mix(in srgb, var(--app-glow) 80%, #000); }
.mls-dock a:hover { background: rgba(255,255,255,.06); transform: translateY(-2px); }


/* ================= Home: sections ================= */
.mls-section { position: relative; padding: clamp(56px, 9vw, 112px) 0; }
.mls-head { max-width: 720px; margin-bottom: clamp(26px, 4vw, 44px); }
.mls-head h2 { margin: 0; }
.mls-sub { margin: 14px 0 0 !important; font-size: 1.08rem; color: var(--mls-muted); }
.mls-center { text-align: center; margin: 34px 0 0 !important; }

/* Spotlight: the newest app, in its own accent */
.mls-spot-sec { padding-top: clamp(28px, 5vw, 72px); background: linear-gradient(180deg, #F3EEE3, var(--mls-paper) 55%); }
.mls-spot { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 8px; border-radius: 28px; padding: 30px 22px 0; color: #DCE2DC; background: #0E1513; box-shadow: 0 0 0 1px rgba(226,194,126,.2), 0 50px 90px -50px rgba(12,19,17,.75), 0 20px 40px -30px color-mix(in srgb, var(--app-glow) 60%, transparent); }
.mls-spot-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(80% 60% at 85% 80%, color-mix(in srgb, var(--app-glow) 42%, transparent), transparent 70%), radial-gradient(80% 60% at 0% 0%, rgba(38,71,61,.9), transparent 70%), linear-gradient(165deg, #13201C, #0B110F); }
.mls-spot::after { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(226,194,126,.85), transparent); }
.mls-spot .mls-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mls-gold); box-shadow: 0 0 0 3px rgba(226,194,126,.2), 0 0 12px rgba(226,194,126,.8); }
.mls-spot .mls-kicker-light::before { display: none; }
.mls-spot h2 { color: #FBF8F2 !important; margin-top: 18px !important; font-size: clamp(2rem, 4vw, 3.1rem) !important; }
.mls-spot-sum { margin: 14px 0 0 !important; color: #CBD2CC; font-size: 1.06rem; }
.mls-spot .mls-price { margin-top: 18px !important; }
.mls-spot .mls-price b { color: var(--mls-gold); }
.mls-spot .mls-price span { color: #C2C9C3; }
.mls-spot .mls-cta .mlx-btn { flex: 1 1 auto; }
.mls-spot-shots { position: relative; height: 400px; margin: 12px -22px 0; overflow: hidden; }
.mls-halo { position: absolute; left: 50%; top: 52%; width: 420px; height: 420px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--app-glow) 50%, transparent), transparent); }
.mls-spot-back, .mls-spot-front { position: absolute; width: 168px; }
.mls-spot-back { left: 50%; top: 56px; transform: translateX(-98%) rotate(-6deg) scale(.9); opacity: .9; }
.mls-spot-front { left: 50%; top: 24px; transform: translateX(-12%) rotate(3deg); }
.mls-spot-shots .mlx-stat { left: 14px; bottom: 26px; top: auto; right: auto; }
.mls-spot-shots .mls-spark-0 { left: 14%; top: 14%; }
.mls-spot-shots .mls-spark-1 { right: 12%; top: 6%; width: 18px; height: 18px; }
.mls-spot-shots .mls-spark-2 { right: 8%; bottom: 30%; width: 10px; height: 10px; }
.mls-spot-shots .mls-spark-3 { left: 46%; top: 2%; width: 9px; height: 9px; }

/* Shared app identity row + text */
.mls-app-id { display: flex; align-items: center; gap: 12px; }
.mls-icon { flex: none; border-radius: 13px; box-shadow: 0 0 0 1px rgba(17,22,20,.08), 0 8px 18px -10px color-mix(in srgb, var(--app-glow, #000) 80%, #000); }
.mlx :where(main) .mls-app-name { margin: 0 !important; font: 600 1.28rem/1.1 var(--mlx-serif); letter-spacing: -.015em; color: var(--mls-ink); }
.mls-app-aud { margin: 3px 0 0 !important; font-size: .88rem; line-height: 1.35; color: var(--mls-muted); }
.mls-app-id-light .mls-icon { width: 56px; height: 56px; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 12px 26px -10px color-mix(in srgb, var(--app-glow) 80%, #000); }
.mlx :where(main) .mls-app-id-light .mls-app-name { color: #FBF8F2; font-size: 1.4rem; }
.mls-app-id-light .mls-app-aud { color: #C2C9C3; }
.mls-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 14px 0 0 !important; }
.mls-price b { font: 700 1rem/1.3 var(--mlx-sans); color: var(--mls-ink); }
.mls-price span { font-size: .88rem; line-height: 1.35; color: var(--mls-muted); }
.mls-ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.mls-ticks li { position: relative; padding-left: 28px; line-height: 1.45; font-size: .98rem; }
.mls-ticks li::before { content: ""; position: absolute; left: 0; top: .14em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--app, #1E3B33) 16%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app, #1E3B33) 35%, transparent); }
.mls-ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.14em + 5px); width: 8px; height: 4px; border-left: 2px solid var(--mls-ink); border-bottom: 2px solid var(--mls-ink); transform: rotate(-45deg); }
.mls-ticks-light li { color: #DDE3DD; }
.mls-ticks-light li::before { background: rgba(226,194,126,.16); box-shadow: inset 0 0 0 1px rgba(226,194,126,.5); }
.mls-ticks-light li::after { border-color: var(--mls-gold); }

/* Home grid: compact tiles (phone: phone left, words right) */
.mls-apps-sec { background: var(--mls-paper); }
.mls-grid { display: grid; gap: 14px; }
.mls-tile { position: relative; display: grid; grid-template-columns: 104px 1fr; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--mls-line); box-shadow: 0 1px 2px rgba(17,22,20,.04), 0 18px 36px -26px rgba(17,22,20,.35); transition: transform .35s var(--mls-ease), box-shadow .35s var(--mls-ease); }
.mls-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, var(--app), color-mix(in srgb, var(--app) 40%, #fff)); }
.mls-tile-media { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 18px 10px; background: radial-gradient(120% 80% at 50% 30%, color-mix(in srgb, var(--app-glow) 26%, transparent), transparent 70%), var(--app-tint); border-right: 1px solid var(--mls-line); }
.mls-tile-glow { position: absolute; left: 50%; top: 55%; width: 160px; height: 160px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.75), transparent); }
.mls-phone-sm { width: 80px; }
.mls-phone-sm .mlx-device { box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 14px 26px -14px rgba(0,0,0,.6); }
.mls-tile-body { display: flex; flex-direction: column; padding: 18px 16px 16px; min-width: 0; }
.mls-tile .mls-icon { width: 40px; height: 40px; border-radius: 11px; }
.mlx :where(main) .mls-tile .mls-app-name { font-size: 1.16rem; }
.mls-tile-tag { margin: 12px 0 0 !important; font: 500 1.04rem/1.3 var(--mlx-serif); letter-spacing: -.01em; color: var(--mls-ink); }
.mls-tile .mls-price { margin-top: 10px !important; flex-direction: column; gap: 1px; }
.mls-tile .mls-btn-app { margin-top: 14px; width: 100%; min-height: 46px; font-size: .95rem; padding: 0 14px; }

/* Categories and steps */
.mls-cats-sec { background: linear-gradient(180deg, var(--mls-paper), #F3EEE3); border-top: 1px solid var(--mls-line); }
.mls-cat { position: relative; overflow: hidden; }
.mls-cat::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(226,194,126,0); transition: box-shadow .3s; }
.mls-cat:hover::after { box-shadow: inset 0 0 0 1.5px rgba(201,162,94,.7); }
.mls-how-sec { background: #F3EEE3; padding-top: 0; }
.mls-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.mls-step { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto auto; column-gap: 16px; align-items: start; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--mls-line); box-shadow: 0 14px 30px -26px rgba(17,22,20,.4); }
.mls-step-art { grid-row: 1 / span 3; display: grid; place-items: center; width: 76px; height: 64px; border-radius: 16px; background: radial-gradient(closest-side, rgba(226,194,126,.28), transparent), #FBF6EC; }
.mls-step-art img { width: 68px; height: auto; }
.mls-step-n { font: 600 .78rem/1 var(--mlx-sans); letter-spacing: .16em; color: var(--mls-gold-ink); }
.mlx :where(main) .mls-step h3 { margin: 6px 0 4px; font-size: 1.18rem; }
.mlx :where(main) .mls-step p { margin: 0; font-size: .96rem; line-height: 1.5; color: var(--mls-muted); }

/* Promise band */
.mls-promise { position: relative; overflow: hidden; isolation: isolate; padding: clamp(60px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); background: var(--mls-night) !important; }
.mls-promise-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(70% 60% at 100% 0%, rgba(201,162,94,.14), transparent 65%), radial-gradient(70% 70% at 0% 100%, rgba(38,71,61,.85), transparent 70%), linear-gradient(170deg, #111A17, #0B110F); }
.mls-promise-in { display: grid; gap: 34px; }
.mls-promise h2 { color: #FBF8F2 !important; margin-bottom: 16px !important; }
.mls-promise p { color: #C9D0CA; max-width: 32em; margin-bottom: 26px !important; }
.mls-pledge { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mls-pledge li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid rgba(226,194,126,.16); }
.mls-pledge-ico { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 12px; color: var(--mls-gold); background: rgba(226,194,126,.1); box-shadow: inset 0 0 0 1px rgba(226,194,126,.3); }
.mls-pledge b { display: block; color: #FBF8F2; font-weight: 600; margin-bottom: 3px; }
.mls-pledge span { display: block; color: #C6CDC7; font-size: .95rem; line-height: 1.5; }

/* Help panels */
.mlx .mlx-help .mlx-panel { position: relative; overflow: hidden; border-radius: 26px; box-shadow: 0 1px 2px rgba(17,22,20,.04), 0 24px 50px -34px rgba(17,22,20,.45); }
.mlx .mlx-help .mlx-panel::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,94,.8), transparent); }

/* ================= Page heroes (apps, about, support, suggest, legal) ================= */
.mlx .mlx-page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(70% 90% at 92% 0%, rgba(226,194,126,.26), transparent 62%), radial-gradient(60% 80% at 0% 100%, rgba(30,59,51,.08), transparent 60%), linear-gradient(180deg, #F3EDE1, var(--mls-paper)); }
.mlx .mlx-page-hero::after { content: ""; position: absolute; right: clamp(16px, 8vw, 120px); top: clamp(18px, 4vw, 56px); width: 74px; height: 74px; z-index: -1; pointer-events: none; opacity: .9; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 74'%3E%3Cpath d='M28 6l3.2 15.8L47 25l-15.8 3.2L28 44l-3.2-15.8L9 25l15.8-3.2z' fill='%23D9B56A'/%3E%3Cpath d='M58 40l1.8 8.2L68 50l-8.2 1.8L58 60l-1.8-8.2L48 50l8.2-1.8z' fill='%23E8CF97'/%3E%3Cpath d='M18 54l1.1 4.9L24 60l-4.9 1.1L18 66l-1.1-4.9L12 60l4.9-1.1z' fill='%23C9A25E'/%3E%3C/svg%3E") center / contain no-repeat; transform-origin: 38% 34%; }

/* ================= Apps page catalogue ================= */
.mls-catalogue { display: grid; gap: 18px; }
.mls-card { position: relative; overflow: hidden; display: grid; border-radius: 26px; background: #fff; border: 1px solid var(--mls-line); box-shadow: 0 1px 2px rgba(17,22,20,.04), 0 26px 50px -36px rgba(17,22,20,.45); }
.mls-card[hidden] { display: none; }
.mls-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, var(--app), color-mix(in srgb, var(--app) 40%, #fff)); }
.mls-card-media { position: relative; overflow: hidden; height: 270px; display: flex; justify-content: center; background: radial-gradient(90% 80% at 50% 20%, color-mix(in srgb, var(--app-glow) 30%, transparent), transparent 70%), var(--app-tint); border-bottom: 1px solid var(--mls-line); }
.mls-card-media .mls-tile-glow { width: 300px; height: 300px; top: 50%; }
.mls-phone-md { width: 168px; margin-top: 30px; }
.mls-card-media .mls-spark-0 { left: 16%; top: 22%; }
.mls-card-media .mls-spark-1 { right: 16%; top: 14%; width: 10px; height: 10px; }
.mls-card-media .mls-spark-2 { right: 22%; top: 52%; width: 8px; height: 8px; }
.mls-card-body { padding: 22px 20px 22px; }
.mls-card-tag { margin: 16px 0 0 !important; font: 500 1.3rem/1.25 var(--mlx-serif); letter-spacing: -.015em; color: var(--mls-ink); }
.mls-card-sum { margin: 10px 0 0 !important; color: var(--mls-muted); font-size: 1rem; line-height: 1.6; }
.mls-card .mls-cta { margin-top: 20px; }
.mls-card .mls-cta .mlx-btn { flex: 1 1 auto; }
.mlx :where(main) .mls-card h2.mls-app-name { font-size: 1.5rem; }

/* ================= Wider screens ================= */
@media (min-width: 600px) {
  .mls-grid { grid-template-columns: 1fr 1fr; }
  .mls-hero-phones { height: 420px; }
  .mls-hp { width: 172px; }
}
@media (min-width: 761px) {
  .mls-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .mls-step { grid-template-columns: 1fr; padding: 26px; }
  .mls-step-art { grid-row: auto; width: 100%; height: 120px; margin-bottom: 18px; }
  .mls-step-art img { width: 132px; }
  .mls-pledge { grid-template-columns: 1fr 1fr; }
  .mls-pledge li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .mls-hero { padding: 64px 0 40px; }
  .mls-hero-in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
  .mls-hero .mls-cta { flex-wrap: wrap; }
  .mls-hero .mls-cta .mlx-btn { flex: 0 0 auto; min-height: 56px; padding: 0 28px; font-size: 1.04rem; }
  .mls-hero-phones { height: 560px; margin: 0; }
  .mls-hp { width: 232px; }
  .mls-hp-1 { transform: translate(-112%, -46%) rotate(-8deg) scale(.86); }
  .mls-hp-2 { transform: translate(12%, -46%) rotate(8deg) scale(.86); }
  .mls-dock { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; }
  .mls-dock-h { margin: 0 !important; text-align: left; }
  .mls-dock ul { gap: 8px; }
  .mls-dock a { width: 84px; font-size: .8rem; }
  .mls-dock a span { max-width: 84px; }
  .mls-spot { grid-template-columns: 1.05fr .95fr; align-items: center; padding: 64px 0 0 64px; gap: 24px; }
  .mls-spot-copy { padding-bottom: 64px; }
  .mls-spot-shots { height: 560px; margin: 0; align-self: stretch; }
  .mls-spot-back, .mls-spot-front { width: 230px; }
  .mls-spot-back { top: 90px; }
  .mls-spot-front { top: 40px; }
  .mls-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .mls-tile { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .mls-tile-media { height: 250px; padding: 28px 0 0; align-items: flex-start; border-right: 0; border-bottom: 1px solid var(--mls-line); }
  .mls-phone-sm { width: 132px; }
  .mls-tile-body { padding: 22px 22px 22px; }
  .mls-tile .mls-btn-app { margin-top: auto; }
  .mls-tile .mls-price { margin-bottom: 18px !important; }
  .mls-promise-in { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .mls-card { grid-template-columns: 40% 1fr; }
  .mls-card-media { height: auto; min-height: 420px; border-bottom: 0; border-right: 1px solid var(--mls-line); align-items: center; }
  .mls-phone-md { width: 210px; margin: 30px 0; }
  .mls-card-body { padding: 36px 40px; align-self: center; }
  .mls-card .mls-cta .mlx-btn { flex: 0 0 auto; }
}
@media (hover: hover) and (pointer: fine) {
  .mls-tile:hover, .mls-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(17,22,20,.04), 0 30px 60px -34px color-mix(in srgb, var(--app-glow) 70%, rgba(17,22,20,.6)); }
}
@media (max-width: 360px) { .mls-hero .mls-cta { flex-wrap: wrap; } .mls-hero .mls-cta .mlx-btn { flex-basis: 100%; } .mls-tile { grid-template-columns: 88px 1fr; } .mls-phone-sm { width: 68px; } }

/* ================= Motion (only while on screen; never under reduced motion) ================= */
@keyframes mls-sweep { 0% { opacity: 0; transform: translateX(-120%) skewX(-14deg); } 6% { opacity: 1; } 34% { opacity: 1; transform: translateX(520%) skewX(-14deg); } 36%, 100% { opacity: 0; transform: translateX(520%) skewX(-14deg); } }
@keyframes mls-glint { 0% { transform: translateX(-180%) skewX(-18deg); } 18%, 100% { transform: translateX(330%) skewX(-18deg); } }
@keyframes mls-glare { 0%, 62% { transform: translateX(-200%) skewX(-16deg); } 82%, 100% { transform: translateX(420%) skewX(-16deg); } }
@keyframes mls-twinkle { 0%, 100% { transform: scale(.35) rotate(0deg); opacity: .25; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
@keyframes mls-gold { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
@keyframes mls-drift-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-8%, 6%, 0); } }
@keyframes mls-drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(10%, -6%, 0); } }
@keyframes mls-float { from { translate: 0 0; } to { translate: 0 -8px; } }
@keyframes mls-hair { 0%, 70% { opacity: 0; transform: translateX(-100%); } 75% { opacity: .9; } 100% { opacity: 0; transform: translateX(340%); } }
@keyframes mls-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(226,194,126,.2), 0 0 10px rgba(226,194,126,.6); } 50% { box-shadow: 0 0 0 6px rgba(226,194,126,.08), 0 0 16px rgba(226,194,126,.9); } }
@keyframes mls-spin-sparkle { 0%, 100% { transform: scale(.92) rotate(0deg); opacity: .75; } 50% { transform: scale(1.04) rotate(8deg); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .mls-on .mls-sweep { animation: mls-sweep 9s ease-in-out 1.2s infinite; }
  .mls-on .mls-aurora-a { animation: mls-drift-a 16s ease-in-out infinite alternate; }
  .mls-on .mls-aurora-b { animation: mls-drift-b 19s ease-in-out infinite alternate; }
  .mls-on .mls-glint::after { animation: mls-glint 6.5s var(--mls-ease) 1.4s infinite; }
  .mls-on .mls-btn-app:not(.mls-glint):hover::after { animation: mls-glint 1.6s var(--mls-ease) 1; }
  .mls-on .mls-glare::after { animation: mls-glare 8s ease-in-out infinite; }
  .mls-on .mls-hp-1 .mls-glare::after { animation-delay: 1.3s; } .mls-on .mls-hp-2 .mls-glare::after { animation-delay: 2.6s; }
  .mls-on .mls-tile:nth-child(3n+2) .mls-glare::after { animation-delay: 2s; } .mls-on .mls-tile:nth-child(3n) .mls-glare::after { animation-delay: 4s; }
  .mls-on .mls-spark { animation: mls-twinkle 3.6s ease-in-out infinite; }
  .mls-on .mls-spark-1 { animation-delay: .9s; } .mls-on .mls-spark-2 { animation-delay: 1.8s; } .mls-on .mls-spark-3 { animation-delay: 2.5s; } .mls-on .mls-spark-4 { animation-delay: 1.3s; } .mls-on .mls-spark-5 { animation-delay: 3s; }
  .mls-on .mls-gold { animation: mls-gold 6s ease-in-out 1s infinite alternate; }
  .mls-on .mls-hp-0 .mls-phone { animation: mls-float 4.5s ease-in-out infinite alternate; }
  .mls-on .mls-hp-1 .mls-phone { animation: mls-float 5.2s ease-in-out .6s infinite alternate; }
  .mls-on .mls-hp-2 .mls-phone { animation: mls-float 5.8s ease-in-out 1.1s infinite alternate; }
  .mls-on .mls-spot-front { animation: mls-float 5s ease-in-out infinite alternate; }
  .mls-on .mls-live { animation: mls-pulse 2.6s ease-in-out infinite; }
  .mlx-footer.mls-on::after { animation: mls-hair 10s ease-in-out 1s infinite; }
  .mls-on.mlx-page-hero::after { animation: mls-spin-sparkle 5s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .mls-sweep, .mls-glint::after, .mls-glare::after, .mlx-footer::after { display: none !important; }
  .mls-spark, .mls-gold, .mls-aurora, .mls-phone, .mls-spot-front, .mls-live { animation: none !important; }
}
