/* Muscat Labs pages (home, apps, about, support, suggest, legal). App pages keep their own styles. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body.mlx { margin: 0; background: var(--mlx-paper); color: var(--mlx-ink); font: 400 1.0625rem/1.65 var(--mlx-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.mlx::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.mlx > * { position: relative; z-index: 1; }
body.mlx > .mlx-bar { z-index: 40; }
.mlx img { max-width: 100%; height: auto; display: block; }
.mlx :where(main) a { color: var(--mlx-pine); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.mlx :where(main) a:hover { color: var(--mlx-brass-ink); }
.mlx a:focus-visible, .mlx button:focus-visible, .mlx summary:focus-visible, .mlx input:focus-visible, .mlx select:focus-visible, .mlx textarea:focus-visible { outline: 2px solid var(--mlx-brass-ink); outline-offset: 3px; }
.mlx :where(main) h1, .mlx :where(main) h2, .mlx :where(main) h3 { font-family: var(--mlx-serif); font-weight: 500; color: var(--mlx-ink); margin: 0; text-wrap: balance; font-variation-settings: "SOFT" 30, "WONK" 0; }
.mlx :where(main) h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
.mlx :where(main) h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -.03em; }
.mlx :where(main) h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -.015em; }
.mlx :where(main) p { margin: 0 0 1rem; text-wrap: pretty; }
.mlx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mlx-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px !important; font: 600 .78rem/1 var(--mlx-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mlx-brass-ink); }
.mlx-eyebrow-light { color: var(--mlx-brass-light); }
.mlx-rule { width: 28px; height: 1px; background: linear-gradient(90deg, var(--mlx-brass), #d9bf8f); }
.mlx-lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--mlx-muted); max-width: 40em; }
.mlx-small { font-size: .95rem; color: var(--mlx-muted); }
.mlx-center { text-align: center; margin-top: 44px !important; }
.mlx-arrow { display: inline-block; transition: transform .25s var(--mlx-ease); }

/* Buttons */
.mlx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 1rem/1 var(--mlx-sans); text-decoration: none !important; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--mlx-ease), box-shadow .25s var(--mlx-ease), background .2s, border-color .2s, color .2s; white-space: nowrap; }
.mlx-btn:hover .mlx-arrow { transform: translateX(3px); }
.mlx-btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.04rem; }
.mlx-btn-ink { background: linear-gradient(180deg, #243f37, var(--mlx-ink) 85%); color: #fff !important; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 1px 2px rgba(17,22,20,.2), 0 10px 24px -12px rgba(17,22,20,.55); }
.mlx-btn-ink:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 2px 4px rgba(17,22,20,.2), 0 16px 32px -14px rgba(17,22,20,.6); }
.mlx-btn-line { background: rgba(255,255,255,.6); color: var(--mlx-ink) !important; border-color: rgba(17,22,20,.2); }
.mlx-btn-line:hover { background: #fff; border-color: var(--mlx-ink); transform: translateY(-1px); }
.mlx-btn-cream { background: linear-gradient(180deg, #fffaf0, #efe5d2); color: var(--mlx-ink) !important; box-shadow: 0 1px 0 #fff inset, 0 10px 28px -14px rgba(0,0,0,.6); }
.mlx-btn-cream:hover { transform: translateY(-1px); box-shadow: 0 1px 0 #fff inset, 0 16px 34px -14px rgba(0,0,0,.7); }
.mlx-btn-ghost { color: #F5F0E6 !important; border-color: rgba(245,240,230,.35); background: rgba(255,255,255,.04); }
.mlx-btn-ghost:hover { border-color: #F5F0E6; background: rgba(255,255,255,.08); }
.mlx-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Device frame */
.mlx-device { margin: 0; position: relative; aspect-ratio: 780 / 1688; width: 100%; padding: 2.6%; border-radius: 15% / 7%; background: linear-gradient(150deg, #3a3f3c, #0b0d0c 40%, #23272a 70%, #0b0d0c); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 1px 1px rgba(255,255,255,.18) inset, 0 2px 4px rgba(17,22,20,.12), 0 18px 36px -12px rgba(17,22,20,.35), 0 48px 90px -30px rgba(17,22,20,.45); }
.mlx-device img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12.5% / 5.8%; background: #f4f4f2; }
.mlx-device::after { content: ""; position: absolute; top: 3.6%; left: 50%; width: 27%; height: 2.4%; transform: translateX(-50%); background: #070808; border-radius: 99px; }

/* Hero */
.mlx-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); background: radial-gradient(120% 80% at 85% 10%, #efe6d4 0%, rgba(239,230,212,0) 60%), linear-gradient(180deg, var(--mlx-cream), var(--mlx-paper)); border-bottom: 1px solid var(--mlx-line); overflow: hidden; }
.mlx-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.mlx-hero h1 { max-width: 11.5em; }
.mlx-hero .mlx-lead { margin-top: 24px; }
.mlx-hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 30px 0 0; padding: 0; font: 500 .95rem/1.2 var(--mlx-sans); color: var(--mlx-muted); }
.mlx-hero-facts li { display: inline-flex; align-items: center; gap: 9px; }
.mlx-hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mlx-brass); }
.mlx-hero-shots { position: relative; height: clamp(420px, 46vw, 580px); }
.mlx-fan { position: absolute; width: clamp(170px, 19vw, 248px); top: 50%; left: 50%; }
.mlx-fan-0 { z-index: 3; transform: translate(-50%, -50%); }
.mlx-fan-1 { z-index: 2; transform: translate(-112%, -46%) rotate(-7deg) scale(.88); filter: saturate(.9); }
.mlx-fan-2 { z-index: 1; transform: translate(12%, -46%) rotate(7deg) scale(.88); filter: saturate(.9); }

/* Latest band */
.mlx-latest { position: relative; overflow: hidden; color: #E9ECE7; padding: clamp(64px, 9vw, 120px) 0; background: radial-gradient(60% 70% at 78% 50%, color-mix(in srgb, var(--app) 38%, transparent), transparent 70%), radial-gradient(80% 90% at 0% 0%, #26473d 0%, transparent 60%), linear-gradient(160deg, var(--mlx-pine) 0%, var(--mlx-pine-2) 55%, #0d1714 100%); background-color: var(--mlx-pine-2); }
.mlx-latest::before { content: ""; position: absolute; inset: 0; opacity: .6; background-image: inherit; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }
.mlx-latest::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(220,193,147,.6), transparent); }
.mlx-latest .mlx-eyebrow { display: flex; }
.mlx-latest-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mlx-latest h2 { color: #FBF8F2; margin-top: 20px; }
.mlx-latest-app { display: inline-flex; align-items: center; gap: 14px; font: 600 1.25rem/1 var(--mlx-sans); color: #fff; }
.mlx-latest-app img { border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 10px 24px -8px rgba(0,0,0,.6); }
.mlx-latest-sum { font-size: 1.15rem; color: #D3D9D3; margin-top: 18px !important; max-width: 34em; }
.mlx-latest-price { margin-top: 22px !important; }
.mlx-latest .mlx-price { color: #D3D9D3; } .mlx-latest .mlx-price b { color: var(--mlx-brass-light); }
.mlx-latest-shots { position: relative; height: clamp(440px, 44vw, 560px); }
.mlx-latest-shots .mlx-device { position: absolute; width: clamp(180px, 19vw, 250px); top: 50%; }
.mlx-device-front { left: 50%; transform: translate(-18%, -50%); z-index: 2; }
.mlx-device-back { left: 50%; transform: translate(-92%, -44%) rotate(-5deg) scale(.9); opacity: .92; }
.mlx-latest .mlx-device { box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 1px 1px rgba(255,255,255,.2) inset, 0 30px 60px -20px rgba(0,0,0,.7), 0 60px 120px -40px rgba(0,0,0,.6); }

/* Ticks */
.mlx-ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.mlx-ticks li { position: relative; padding-left: 28px; line-height: 1.45; }
.mlx-ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 1.6px solid var(--mlx-brass); border-bottom: 1.6px solid var(--mlx-brass); transform: rotate(-45deg); }
.mlx-ticks-light li { color: #E9ECE7; } .mlx-ticks-light li::before { border-color: var(--mlx-brass-light); }

/* Sections */
.mlx-section { padding: clamp(72px, 9vw, 128px) 0; }
.mlx-section-tight { padding-top: clamp(40px, 5vw, 64px); }
.mlx-section-tint { background: linear-gradient(180deg, #F3EDE1, #F7F2E9); border-top: 1px solid var(--mlx-line); border-bottom: 1px solid var(--mlx-line); }
.mlx-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.mlx-head .mlx-lead { margin-top: 18px; }

/* Categories */
.mlx-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mlx-cat { display: grid; gap: 10px; padding: clamp(28px, 3.5vw, 40px); border-radius: 24px; text-decoration: none !important; color: var(--mlx-ink) !important; background: linear-gradient(180deg, #fff, #fbf8f2); border: 1px solid var(--mlx-line); box-shadow: 0 1px 2px rgba(17,22,20,.04), 0 12px 32px -18px rgba(17,22,20,.25); transition: transform .3s var(--mlx-ease), box-shadow .3s var(--mlx-ease), border-color .2s; }
.mlx-cat:hover { transform: translateY(-3px); border-color: rgba(162,123,69,.5); box-shadow: 0 2px 4px rgba(17,22,20,.05), 0 24px 48px -22px rgba(17,22,20,.35); }
.mlx-cat:hover .mlx-arrow { transform: translateX(4px); }
.mlx-cat-icons { display: flex; margin-bottom: 14px; }
.mlx-cat-icons img { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(17,22,20,.35); margin-right: -8px; }
.mlx-cat-title { font: 500 clamp(1.6rem, 2.6vw, 2rem)/1.1 var(--mlx-serif); letter-spacing: -.02em; }
.mlx-cat-line { color: var(--mlx-muted); }
.mlx-cat-apps { font-weight: 600; color: var(--mlx-pine); margin-top: 6px; }

/* App cards */
.mlx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.mlx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mlx-line); border-radius: 26px; overflow: hidden; box-shadow: 0 1px 2px rgba(17,22,20,.04), 0 14px 36px -22px rgba(17,22,20,.3); transition: transform .35s var(--mlx-ease), box-shadow .35s var(--mlx-ease), border-color .2s; }
.mlx-card:hover { transform: translateY(-4px); border-color: rgba(17,22,20,.18); box-shadow: 0 2px 4px rgba(17,22,20,.05), 0 28px 56px -26px rgba(17,22,20,.4); }
.mlx-card-media { display: block; height: 250px; overflow: hidden; position: relative; background: radial-gradient(90% 90% at 50% 100%, color-mix(in srgb, var(--app) 16%, var(--app-tint)), var(--app-tint)); border-bottom: 1px solid var(--mlx-line); }
.mlx-card-media .mlx-device { width: 190px; margin: 30px auto 0; transition: transform .5s var(--mlx-ease); }
.mlx-card:hover .mlx-card-media .mlx-device { transform: translateY(-8px); }
.mlx-card-body { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px 26px; flex: 1; }
.mlx-card-top { display: flex; align-items: center; gap: 14px; }
.mlx-app-icon { border-radius: 13px; box-shadow: 0 0 0 1px rgba(17,22,20,.08), 0 4px 10px -4px rgba(17,22,20,.3); flex: none; }
.mlx-card-name { font-size: 1.45rem !important; }
.mlx-card-aud { margin: 2px 0 0 !important; font-size: .92rem; color: var(--mlx-muted); }
.mlx-card-tag { font: 500 1.1rem/1.4 var(--mlx-serif); margin: 14px 0 0 !important; color: var(--mlx-ink); letter-spacing: -.01em; }
.mlx-card-sum { color: var(--mlx-muted); margin: 8px 0 0 !important; }
.mlx-card-price { margin: auto 0 0 !important; padding-top: 16px; }
.mlx-price { font-size: .95rem; color: var(--mlx-muted); } .mlx-price b { color: var(--mlx-ink); font-weight: 600; }
.mlx-card-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* Catalogue (apps page) */
.mlx-catalogue { display: grid; gap: 24px; }
.mlx-card-big { flex-direction: row; }
.mlx-card-big .mlx-card-media { flex: 0 0 40%; height: auto; min-height: 420px; border-bottom: 0; border-right: 1px solid var(--mlx-line); }
.mlx-card-big .mlx-card-media .mlx-device { width: 230px; margin-top: 44px; }
.mlx-card-big .mlx-card-body { padding: clamp(26px, 3.5vw, 44px); }
.mlx-card-big .mlx-card-name { font-size: 1.9rem !important; }
.mlx-card-big .mlx-card-tag { font-size: 1.4rem; }
.mlx-card[hidden] { display: none !important; }
.mlx-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.mlx-chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(17,22,20,.2); background: rgba(255,255,255,.7); font: 600 .95rem/1 var(--mlx-sans); color: var(--mlx-ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mlx-chip:hover { border-color: var(--mlx-ink); background: #fff; }
.mlx-chip[aria-pressed="true"] { background: var(--mlx-ink); color: #fff; border-color: var(--mlx-ink); }
.mlx-anchor { display: block; position: relative; top: -100px; }
.mlx-empty { color: var(--mlx-muted); }

/* Steps */
.mlx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mlx-step { padding: 32px 30px; border-radius: 22px; background: #fff; border: 1px solid var(--mlx-line); box-shadow: 0 1px 2px rgba(17,22,20,.04); }
.mlx-step-n { display: block; font: 500 2.4rem/1 var(--mlx-serif); color: var(--mlx-brass-ink); margin-bottom: 26px; letter-spacing: -.02em; }
.mlx-step h3 { margin-bottom: 10px; }
.mlx-step p { color: var(--mlx-muted); margin: 0; }

/* Made in Queensland */
.mlx-qld { background: linear-gradient(170deg, var(--mlx-ink), #18241f); color: #D7DCD6; }
.mlx-qld h2 { color: #FBF8F2; margin-bottom: 20px; }
.mlx-qld p { color: #CDD3CD; max-width: 32em; margin-bottom: 28px; }
.mlx-qld-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.mlx-pledge { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.mlx-pledge li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mlx-pledge b { color: #FBF8F2; font-weight: 600; } .mlx-pledge span { color: #C6CCC6; }
.mlx-pledge-light { border-top-color: var(--mlx-line); margin: 8px 0 8px !important; }
.mlx-pledge-light li { border-bottom-color: var(--mlx-line); padding-left: 0 !important; } .mlx-pledge-light li::before { display: none; }
.mlx-pledge-light b { color: var(--mlx-ink); } .mlx-pledge-light span { color: var(--mlx-muted); }

/* Help panels */
.mlx-help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mlx-panel { padding: clamp(28px, 3.5vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--mlx-line); box-shadow: 0 1px 2px rgba(17,22,20,.04), 0 12px 32px -20px rgba(17,22,20,.25); }
.mlx-panel h3 { font-size: 1.7rem; margin-bottom: 12px; }
.mlx-panel p { color: var(--mlx-muted); }
.mlx-panel .mlx-btn { margin-top: 10px; }

/* Inner pages */
.mlx-page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); background: linear-gradient(180deg, var(--mlx-cream), var(--mlx-paper)); border-bottom: 1px solid var(--mlx-line); }
.mlx-page-hero-tall { padding-bottom: clamp(80px, 12vw, 160px); }
.mlx-page-hero .mlx-lead { margin-top: 22px; }
.mlx-narrow { max-width: 820px; }
.mlx-prose { font-size: 1.06rem; }
.mlx-prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 48px 0 16px; }
.mlx-prose h2:first-child { margin-top: 0; }
.mlx-prose h3 { margin: 32px 0 12px; }
.mlx-prose ul, .mlx-prose ol { padding-left: 1.2em; margin: 0 0 1.2rem; }
.mlx-prose li { margin: 0 0 .6rem; padding-left: .2em; }
.mlx-prose li::marker { color: var(--mlx-brass); }
.mlx-prose .muted, .mlx-prose .small { color: var(--mlx-muted); font-size: .95rem; }
.mlx-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2rem; font-size: .98rem; }
.mlx-prose th, .mlx-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--mlx-line); vertical-align: top; }
.mlx-prose a { overflow-wrap: anywhere; }
.mlx-applist { list-style: none !important; padding: 0 !important; display: grid; gap: 10px; }
.mlx-applist li { padding: 0 !important; margin: 0 !important; }
.mlx-applist a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--mlx-line); border-radius: 16px; background: #fff; text-decoration: none; color: var(--mlx-ink); transition: border-color .2s, transform .25s var(--mlx-ease); }
.mlx-applist a:hover { border-color: var(--mlx-brass); transform: translateX(2px); color: var(--mlx-ink); }
.mlx-applist img { border-radius: 11px; } .mlx-applist span span { display: block; color: var(--mlx-muted); font-size: .95rem; }

/* FAQ */
.mlx-faq { border-top: 1px solid var(--mlx-line); margin-bottom: 28px; }
.mlx-qa { border-bottom: 1px solid var(--mlx-line); }
.mlx-qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; font: 500 1.2rem/1.3 var(--mlx-serif); letter-spacing: -.01em; }
.mlx-qa summary::-webkit-details-marker { display: none; }
.mlx-qa summary::after { content: "+"; font: 400 1.5rem/1 var(--mlx-sans); color: var(--mlx-brass-ink); transition: transform .25s var(--mlx-ease); }
.mlx-qa[open] summary::after { transform: rotate(45deg); }
.mlx-qa p { color: var(--mlx-muted); padding: 0 0 20px; margin: 0; max-width: 46em; }

/* Suggest form */
.mlx-suggest { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.mlx-suggest-aside h2 { font-size: 1.7rem; margin-bottom: 12px; }
.mlx-form { display: grid; gap: 22px; }
.mlx-hp { position: absolute; left: -9999px; }
.mlx-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.mlx-field legend, .mlx-field > label { font-weight: 600; padding: 0; margin-bottom: 4px; }
.mlx-opt { font-weight: 400; color: var(--mlx-muted); }
.mlx-choice { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; border: 1px solid var(--mlx-line); border-radius: 14px; cursor: pointer; background: var(--mlx-paper); margin-top: 8px; }
.mlx-choice:has(input:checked) { border-color: var(--mlx-ink); background: #fff; }
.mlx-choice input { width: 20px; height: 20px; accent-color: var(--mlx-pine); margin: 0; }
.mlx-form input[type=text], .mlx-form input[type=email], .mlx-form select, .mlx-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(17,22,20,.24); border-radius: 14px; background: #fff; font: inherit; color: var(--mlx-ink); transition: border-color .2s, box-shadow .2s; }
.mlx-form textarea { resize: vertical; min-height: 150px; }
.mlx-form input:focus, .mlx-form select:focus, .mlx-form textarea:focus { border-color: var(--mlx-pine); box-shadow: 0 0 0 4px rgba(30,59,51,.12); outline: none; }
.mlx-hint { font-size: .92rem; color: var(--mlx-muted); margin: 0 !important; }
.mlx-form .mlx-btn { justify-self: start; }

/* Scroll-in */
.mlx-motion .mlx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--mlx-ease), transform .8s var(--mlx-ease); }
.mlx-motion .mlx-reveal.mlx-in { opacity: 1; transform: none; }
.mlx-motion .mlx-grid .mlx-reveal:nth-child(2), .mlx-motion .mlx-cats .mlx-reveal:nth-child(2), .mlx-motion .mlx-steps .mlx-reveal:nth-child(2) { transition-delay: .08s; }
.mlx-motion .mlx-grid .mlx-reveal:nth-child(3), .mlx-motion .mlx-steps .mlx-reveal:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .mlx *, .mlx *::before, .mlx *::after { transition: none !important; animation: none !important; } .mlx-reveal { opacity: 1 !important; transform: none !important; } }

/* Responsive */
@media (max-width: 960px) {
  .mlx-hero-in, .mlx-latest-in, .mlx-qld-in { grid-template-columns: 1fr; }
  .mlx-hero-shots { height: 440px; margin-top: 8px; }
  .mlx-latest-shots { height: 460px; }
  .mlx-steps { grid-template-columns: 1fr; }
  .mlx-qld-in { gap: 36px; }
}
@media (max-width: 760px) {
  .mlx-cats, .mlx-help-grid, .mlx-suggest { grid-template-columns: 1fr; }
  .mlx-card-big { flex-direction: column; }
  .mlx-card-big .mlx-card-media { min-height: 0; height: 280px; border-right: 0; border-bottom: 1px solid var(--mlx-line); }
  .mlx-card-big .mlx-card-media .mlx-device { width: 210px; margin-top: 32px; }
  .mlx-hero-shots { height: 400px; }
  .mlx-fan { width: 172px; }
  .mlx-latest-shots { height: 420px; }
  .mlx-latest-shots .mlx-device { width: 180px; }
  .mlx-btn-lg { width: 100%; }
  .mlx-cta-row .mlx-btn { flex: 1 1 auto; }
}
.mlx-grid .mlx-price b { display: block; margin-bottom: 2px; }
.mlx-cat-apps { text-wrap: balance; }
@media (max-width: 760px) { .mlx-card-media { height: 220px; } .mlx-card-media .mlx-device { width: 170px; margin-top: 26px; } }

/* ===== Visuals and motion (2026-10). Shared and driven by apps.json, so new apps get it automatically.
   Motion uses transform/opacity only, is gated by .mlx-js/.mlx-motion + prefers-reduced-motion, and every
   element has a finished static look with JS off. ===== */
@keyframes mlx-fan-in { from { transform: translate(-50%, -48%) scale(.92); opacity: var(--o0, 1); } }
@keyframes mlx-bob { from { translate: 0 0; } to { translate: 0 -10px; } }
@keyframes mlx-sheen { from { transform: translateX(-160%) skewX(-18deg); } to { transform: translateX(330%) skewX(-18deg); } }
@keyframes mlx-marquee { to { transform: translateX(-50%); } }
@keyframes mlx-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* Hero fan: each phone sits in a wrapper; the wrapper holds the pose, the phone floats inside it */
.mlx-fan { transform: var(--pose); }
.mlx-fan .mlx-device { width: 100%; }
.mlx-fan-0 { --pose: translate(-50%, -50%); }
.mlx-fan-1 { --pose: translate(-112%, -46%) rotate(-7deg) scale(.88); --o0: 0; }
.mlx-fan-2 { --pose: translate(12%, -46%) rotate(7deg) scale(.88); --o0: 0; }
@media (prefers-reduced-motion: no-preference) {
  .mlx-js .mlx-fan { animation: mlx-fan-in 1.25s var(--mlx-ease) both; animation-delay: calc(var(--i) * .12s + .1s); }
  .mlx-js .mlx-fan-0 { animation-duration: .9s; animation-delay: 0s; }
  .mlx-js .mlx-float { animation: mlx-bob 6.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -2.2s); }
  .mlx-js .mlx-fan { transition: translate .9s cubic-bezier(.2,.7,.2,1); }
}

/* Latest app band: the front phone crossfades through real screens; a sample number counts up */
.mlx-tour .mlx-screen { display: block; position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: #f4f4f2; }
.mlx-tour .mlx-screen img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.mlx-tour .mlx-screen img.is-on { opacity: 1; }
.mlx-stat { position: absolute; z-index: 3; left: max(0px, calc(50% - 270px)); bottom: 12%; margin: 0 !important; display: grid; gap: 6px; padding: 14px 18px 15px; min-width: 190px; border-radius: 18px; background: rgba(251,248,242,.97); color: var(--mlx-ink); box-shadow: 0 1px 0 #fff inset, 0 2px 6px rgba(0,0,0,.18), 0 24px 48px -18px rgba(0,0,0,.6); }
.mlx-stat-label { display: inline-flex; align-items: center; gap: 8px; font: 600 .74rem/1.2 var(--mlx-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mlx-muted); }
.mlx-stat-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--app, var(--mlx-brass)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--app, #A27B45) 22%, transparent); }
.mlx-stat-val { font: 500 2rem/1 var(--mlx-serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .mlx-motion .mlx-latest-shots .mlx-device-front { animation: mlx-bob 7s ease-in-out infinite alternate; }
  .mlx-motion .mlx-latest-shots .mlx-device-back { animation: mlx-bob 8s ease-in-out -3s infinite alternate; }
  .mlx-motion .mlx-latest-shots .mlx-stat { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .7s var(--mlx-ease) .45s, transform .7s var(--mlx-ease) .45s; }
  .mlx-motion .mlx-latest-shots.mlx-in .mlx-stat { opacity: 1; transform: none; }
}

/* Category cards: real phones peek up from the top of each card and rise on hover */
.mlx-cat-peek { position: relative; display: flex; justify-content: center; align-items: flex-start; height: 196px; margin: calc(-1 * clamp(28px, 3.5vw, 40px)) calc(-1 * clamp(28px, 3.5vw, 40px)) 14px; padding-top: 26px; overflow: hidden; border-radius: 23px 23px 0 0; border-bottom: 1px solid var(--mlx-line); background: radial-gradient(70% 90% at 50% 110%, #ebdfc8 0%, rgba(235,223,200,0) 70%), linear-gradient(180deg, #f7f2e8, #efe7d7); }
.mlx-peek { position: relative; flex: none; width: 118px; margin: 0 -9px; translate: 0 14px; transition: translate .55s var(--mlx-ease); }
.mlx-peek::before { content: ""; position: absolute; inset: 8% -30% 30%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--app) 34%, transparent), transparent); z-index: -1; }
span.mlx-device { display: block; }
.mlx-peek .mlx-device { width: 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 12px 28px -12px rgba(17,22,20,.5); }
.mlx-peek:first-child:not(:only-child) { rotate: -6deg; }
.mlx-peek:last-child:not(:only-child) { rotate: 6deg; }
.mlx-peek:nth-child(2):not(:last-child) { rotate: 0deg; z-index: 2; translate: 0 0; }
.mlx-cat:hover .mlx-peek { translate: 0 2px; } .mlx-cat:hover .mlx-peek:nth-child(2):not(:last-child) { translate: 0 -10px; }
.mlx-cat:hover .mlx-peek:nth-child(2) { transition-delay: .05s; } .mlx-cat:hover .mlx-peek:nth-child(3) { transition-delay: .1s; }
.mlx-cat-icons { margin-bottom: 6px; }

/* Steps: illustration on top, brass line draws under the number */
.mlx-step { position: relative; overflow: hidden; }
.mlx-step-art { width: 132px; height: auto; margin: -8px 0 14px -4px; transition: transform .5s var(--mlx-ease); }
.mlx-step:hover .mlx-step-art { transform: translateY(-4px); }
.mlx-step-n { display: flex !important; align-items: center; gap: 14px; }
.mlx-step-n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--mlx-brass), rgba(162,123,69,0)); transform-origin: left; }
.mlx-motion .mlx-step-n::after { transform: scaleX(0); transition: transform 1.1s var(--mlx-ease) .35s; }
.mlx-motion .mlx-step.mlx-in .mlx-step-n::after { transform: none; }

/* Ribbon of real app screens (QLD band). Static, scrollable row without JS or with reduced motion */
.mlx-ribbon { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.mlx-ribbon-view { overflow-x: auto; scrollbar-width: none; padding: 8px 0 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mlx-ribbon-view::-webkit-scrollbar { display: none; }
.mlx-ribbon-view:focus-visible { outline: 2px solid var(--mlx-brass-light); outline-offset: -2px; }
.mlx-ribbon-track { display: flex; width: max-content; }
.mlx-ribbon-set { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0 14px; }
.mlx-ribbon-set li { flex: none; width: 150px; display: grid; gap: 14px; justify-items: center; }
.mlx-device-rb { width: 150px; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 1px 1px rgba(255,255,255,.18) inset, 0 24px 44px -20px rgba(0,0,0,.8); }
.mlx-rb-cap { display: inline-flex; align-items: center; gap: 8px; font: 600 .92rem/1.2 var(--mlx-sans); color: #E6EAE5; white-space: nowrap; }
.mlx-rb-cap img { width: 24px; height: 24px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.mlx-ribbon-dup { display: none; }
.mlx-ribbon-toggle { display: flex; align-items: center; gap: 10px; margin: 22px auto 0; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(245,240,230,.32); background: rgba(255,255,255,.05); color: #F5F0E6; font: 600 .9rem/1 var(--mlx-sans); cursor: pointer; transition: border-color .2s, background .2s; }
.mlx-ribbon-toggle[hidden] { display: none; }
.mlx-ribbon-toggle:hover { border-color: #F5F0E6; background: rgba(255,255,255,.1); }
.mlx-ribbon-ico { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.mlx-ribbon-toggle[aria-pressed="true"] .mlx-ribbon-ico { border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; width: 0; height: 0; }
.mlx-motion .mlx-ribbon-view { overflow: hidden; }
.mlx-motion .mlx-ribbon-dup { display: flex; }
.mlx-motion .mlx-ribbon-track { animation: mlx-marquee 70s linear infinite; animation-play-state: paused; }
.mlx-motion .mlx-ribbon.is-in:not(.is-paused) .mlx-ribbon-track { animation-play-state: running; }
.mlx-motion .mlx-ribbon .mlx-ribbon-view:hover .mlx-ribbon-track { animation-play-state: paused; }

/* Help panels: the app icons with an empty slot for the next one */
.mlx-help-icons { display: flex; align-items: center; margin-bottom: 22px; }
.mlx-help-icons img { width: 44px; height: 44px; border-radius: 12px; margin-right: -6px; box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(17,22,20,.35); }
.mlx-help-next { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 16px; border-radius: 12px; border: 1.5px dashed var(--mlx-brass); color: var(--mlx-brass-ink); font: 500 1.5rem/1 var(--mlx-serif); }
@media (prefers-reduced-motion: no-preference) {
  .mlx-motion .mlx-panel.mlx-in .mlx-help-icons img { animation: mlx-pop .6s var(--mlx-ease) both; }
  .mlx-motion .mlx-panel.mlx-in .mlx-help-icons img:nth-child(2) { animation-delay: .06s; } .mlx-motion .mlx-panel.mlx-in .mlx-help-icons img:nth-child(3) { animation-delay: .12s; }
  .mlx-motion .mlx-panel.mlx-in .mlx-help-icons img:nth-child(4) { animation-delay: .18s; } .mlx-motion .mlx-panel.mlx-in .mlx-help-icons img:nth-child(5) { animation-delay: .24s; }
  .mlx-motion .mlx-panel.mlx-in .mlx-help-next { animation: mlx-pop .6s var(--mlx-ease) .36s both; }
}

/* Buttons: a light sheen sweeps across on hover; the hero button glints once after load */
.mlx-btn-ink, .mlx-btn-cream { position: relative; overflow: hidden; isolation: isolate; }
.mlx-btn-ink::after, .mlx-btn-cream::after { content: ""; position: absolute; top: -2px; bottom: -2px; left: 0; width: 42%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); transform: translateX(-160%) skewX(-18deg); }
.mlx-btn-cream::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.9), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .mlx-motion .mlx-btn-ink:hover::after, .mlx-motion .mlx-btn-cream:hover::after { transform: translateX(330%) skewX(-18deg); transition: transform .9s var(--mlx-ease); }
  .mlx-motion .mlx-btn-glint::after { animation: mlx-sheen 1.3s var(--mlx-ease) 1.5s 1; }
}

/* Cards lift and tilt a touch toward the pointer (mlx.js sets --rx/--ry; mouse only) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .mlx-motion .mlx-tilt.mlx-in { transition-property: opacity, transform, box-shadow, border-color; transition-duration: .8s, .45s, .35s, .2s; }
  .mlx-motion .mlx-tilt.mlx-in:hover { transform: perspective(1000px) translateY(-4px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition-duration: .8s, .2s, .35s, .2s; }
}

/* Phone: whole hero fits the first screen, all three phones fully visible */
@media (max-width: 600px) {
  .mlx-hero { padding: 22px 0 30px; }
  .mlx :where(main) .mlx-hero h1 { font-size: 2.45rem; }
  .mlx-hero .mlx-eyebrow { margin-bottom: 14px !important; }
  .mlx-hero .mlx-lead { margin-top: 16px; font-size: 1.04rem; line-height: 1.55; }
  .mlx-hero .mlx-cta-row { margin-top: 20px; flex-wrap: nowrap; gap: 10px; }
  .mlx-hero .mlx-cta-row .mlx-btn { width: auto; flex: 1 1 0; min-height: 50px; padding: 0 12px; font-size: .98rem; }
  .mlx-hero-facts { margin-top: 16px; gap: 8px 18px; }
  .mlx-hero-shots { height: 322px; margin-top: 2px; }
  .mlx-fan { width: 146px; }
  .mlx-fan-1 { --pose: translate(-114%, -47%) rotate(-7deg) scale(.86); }
  .mlx-fan-2 { --pose: translate(14%, -47%) rotate(7deg) scale(.86); }
  .mlx-stat { left: 0; bottom: 6%; min-width: 0; padding: 12px 14px; }
  .mlx-stat-val { font-size: 1.6rem; }
  .mlx-cat-peek { height: 170px; }
  .mlx-peek { width: 104px; }
  .mlx-ribbon-set li, .mlx-device-rb { width: 128px; }
  .mlx-ribbon-set { gap: 20px; }
}
@media (max-width: 360px) { .mlx-hero .mlx-cta-row { flex-wrap: wrap; } .mlx-hero .mlx-cta-row .mlx-btn { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .mlx-fan, .mlx-float, .mlx-stat, .mlx-ribbon-track { animation: none !important; } .mlx-stat { opacity: 1 !important; transform: none !important; } }

/* Support Muscat Labs (gift) card on the Suggest page. Pine card, cream type, fine brass accent. */
.mlx-suggest-gift { grid-template-areas: "aside form" "gift form"; grid-template-rows: auto 1fr; }
.mlx-suggest-gift > .mlx-gift { align-self: start; }
.mlx-suggest-gift > .mlx-suggest-aside { grid-area: aside; }
.mlx-suggest-gift > .mlx-form { grid-area: form; grid-row: 1 / span 2; }
.mlx-gift { grid-area: gift; position: relative; overflow: hidden; scroll-margin-top: 96px; padding: clamp(28px, 3.5vw, 40px); border-radius: 24px; color: #E9ECE7; background: radial-gradient(90% 70% at 100% 0%, rgba(220,193,147,.16), transparent 60%), linear-gradient(160deg, var(--mlx-pine) 0%, var(--mlx-pine-2) 70%, #0d1714 100%); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px -22px rgba(17,22,20,.6); }
.mlx-gift::before { content: ""; position: absolute; left: clamp(28px, 3.5vw, 40px); right: clamp(28px, 3.5vw, 40px); top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--mlx-brass-light), transparent); opacity: .7; }
.mlx-gift-mark { display: block; margin-bottom: 18px; }
.mlx .mlx-gift h2 { color: #FBF8F2; font-size: clamp(1.6rem, 2.4vw, 1.95rem); line-height: 1.12; margin-bottom: 12px; }
.mlx .mlx-gift p:not(.mlx-eyebrow) { color: #D9DED8; }
.mlx-gift-list { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; gap: 8px; font-size: .98rem; color: #EDEFEA; }
.mlx-gift-list li { display: flex; align-items: center; gap: 10px; }
.mlx-gift-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mlx-brass-light); }
.mlx-gift .mlx-btn { margin-top: 0; }
.mlx .mlx-gift .mlx-gift-note { margin: 16px 0 0 !important; font-size: .92rem; color: #C9D0CA; }
.mlx-gift-mini { margin: 14px 0 0 !important; font-size: .95rem; }
.mlx-gift-mini a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) {
  .mlx-suggest-gift { grid-template-areas: "aside" "form" "gift"; grid-template-rows: auto; }
  .mlx-suggest-gift > .mlx-form { grid-row: auto; }
  .mlx-gift .mlx-btn { width: 100%; }
}
