/* Guest landing (logged-out visitors). Shared class vocabulary `mgl-*` in both generator plugins.
   Backgrounds are #000 / #101010 only, borders #262626 / #333; the accent is used for text, icons and the filled button
   (whose label is computed from the accent, see --mgl-on-accent, so it stays readable on any accent and on any theme version). */
.mgl { --mgl-accent: var(--color-primary, var(--musiveo-accent, #ffffff)); --mgl-on-accent: #000000; --mgl-text: #f5f5f5; --mgl-muted: #a3a3a3;
    color: var(--mgl-text); max-width: 1180px; margin: 0 auto; padding: 24px 20px 80px; display: grid; gap: 72px; }
@supports (color: oklch(from red l c h)) { .mgl { --mgl-on-accent: oklch(from var(--mgl-accent) clamp(0, (0.6 - l) * 1000, 1) 0 0); } }
.mgl h1, .mgl h2, .mgl h3 { color: var(--mgl-text); margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
.mgl h1, .mgl .mgl-title { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0; margin-bottom: 0; }
.mgl h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 24px; }
.mgl h3 { font-size: 1.05rem; margin: 12px 0 6px; letter-spacing: 0; }
.mgl p { color: var(--mgl-muted); line-height: 1.6; margin: 0; padding: 0; text-indent: 0; }
.mgl h1, .mgl h2, .mgl h3 { padding: 0; text-indent: 0; }
.mgl-lead { margin: 20px 0 28px !important; }
.mgl-card i { display: block; margin: 0; padding: 0; }
.mgl-card h3 { margin: 14px 0 6px; }

.mgl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-top: 24px; }
.mgl-eyebrow { display: inline-block; color: var(--mgl-accent); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.mgl-lead { font-size: 1.15rem; margin: 20px 0 28px; max-width: 34em; }
.mgl-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mgl-note { font-size: .85rem; margin-top: 14px; }
.mgl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px;
    font-weight: 600; text-decoration: none; border: 1px solid #333; transition: transform .15s ease, border-color .15s ease, background-color .15s ease; }
.mgl-btn-primary { background: #ffffff; border-color: #ffffff; color: #000000; }
/* Every link state states its own colour: the theme's generic `a:hover { color: #fff }` is stronger than the base rule and made the label white on a white button. */
.mgl .mgl-btn-primary, .mgl .mgl-btn-primary:visited, .mgl .mgl-btn-primary:hover, .mgl .mgl-btn-primary:focus, .mgl .mgl-btn-primary:active { color: #000000; background-color: #ffffff; border-color: #ffffff; }
.mgl .mgl-btn-primary:hover { transform: translateY(-2px); }
.mgl .mgl-btn-ghost, .mgl .mgl-btn-ghost:visited, .mgl .mgl-btn-ghost:hover, .mgl .mgl-btn-ghost:focus, .mgl .mgl-btn-ghost:active { color: var(--mgl-text); background-color: #101010; }
.mgl-btn-ghost { background: #101010; color: var(--mgl-text); }
.mgl-btn-ghost:hover { border-color: var(--mgl-accent); }
.mgl-btn:focus-visible, .mgl-play:focus-visible, .mgl summary:focus-visible { outline: 2px solid var(--mgl-accent); outline-offset: 3px; }

.mgl-hero-media { background: #101010; border: 1px solid #262626; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; }
.mgl-video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }

/* Animated stand-in for the demo video */
.mgl-mock { height: 100%; padding: 22px; display: grid; align-content: start; gap: 14px; background: #101010; }
.mgl-mock-prompt { background: #000; border: 1px solid #333; border-radius: 14px; padding: 16px; min-height: 64px; font-size: 1rem; color: var(--mgl-text); display: flex; align-items: center; }
.mgl-type { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; animation: mgl-type 3.2s steps(36) .6s forwards; }
.mgl-caret { width: 2px; height: 1.1em; background: var(--mgl-accent); margin-left: 2px; animation: mgl-blink 1s steps(1) infinite; }
.mgl-mock-btn { justify-self: start; padding: 10px 26px; border-radius: 999px; background: var(--mgl-accent); color: var(--mgl-on-accent); font-weight: 600; animation: mgl-press 6s ease 3.6s infinite; }
.mgl-mock-row { display: flex; align-items: center; gap: 14px; background: #000; border: 1px solid #262626; border-radius: 14px; padding: 12px; opacity: 0; transform: translateY(10px); animation: mgl-rise .7s ease forwards; }
.mgl-mock-row:nth-of-type(3) { animation-delay: 4.2s; }
.mgl-mock-row:nth-of-type(4) { animation-delay: 4.8s; }
.mgl-mock-cover { width: 52px; height: 52px; border-radius: 10px; background: #1a1a1a; border: 1px solid #333; flex: none; }
.mgl-mock-lines { display: grid; gap: 8px; flex: 1; }
.mgl-mock-lines i { display: block; height: 8px; border-radius: 4px; background: #262626; }
.mgl-mock-lines i:first-child { width: 60%; background: #333; }
.mgl-mock-wave { display: flex; align-items: center; gap: 3px; height: 32px; }
.mgl-mock-wave i { width: 4px; border-radius: 2px; background: var(--mgl-accent); animation: mgl-wave 1.1s ease-in-out infinite; }
.mgl-mock-wave i:nth-child(odd) { animation-delay: -.5s; }
.mgl-mock-wave i:nth-child(3n) { animation-delay: -.2s; }
@keyframes mgl-type { to { width: 100%; } }
@keyframes mgl-blink { 50% { opacity: 0; } }
@keyframes mgl-rise { to { opacity: 1; transform: none; } }
@keyframes mgl-press { 0%, 90%, 100% { transform: scale(1); } 94% { transform: scale(.94); } }
@keyframes mgl-wave { 0%, 100% { height: 6px; } 50% { height: 28px; } }

.mgl-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.mgl-track { background: #101010; border: 1px solid #262626; border-radius: 16px; padding: 12px; display: grid; gap: 12px; }
.mgl-play { position: relative; display: block; width: 100%; height: auto !important; min-height: 0; aspect-ratio: 1 / 1; border: 0; padding: 0; margin: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; color: #fff; line-height: 0; }
.mgl-play img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.mgl-play i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .15s ease; }
.mgl-play:hover i, .mgl-play:focus-visible i, .mgl-play.is-playing i { opacity: 1; }
.mgl-play.is-playing i::before { content: "\f04c"; }
.mgl-still { cursor: default; }
.mgl-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; transform: scale(1.22); }
.mgl-track-meta { display: grid; gap: 2px; }
.mgl-track-meta span { color: var(--mgl-muted); font-size: .85rem; }

.mgl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .mgl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mgl-grid { grid-template-columns: 1fr; } }
.mgl-card { background: #101010; border: 1px solid #262626; border-radius: 16px; padding: 22px; transition: border-color .15s ease, transform .15s ease; }
.mgl-card:hover { border-color: #333; transform: translateY(-2px); }
.mgl-card i { color: var(--mgl-accent); font-size: 1.4rem; }

.mgl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mgl-steps li { display: flex; gap: 16px; align-items: center; background: #101010; border: 1px solid #262626; border-radius: 16px; padding: 20px; color: var(--mgl-text); }
.mgl-steps b { color: var(--mgl-accent); font-size: 1.6rem; flex: none; }

.mgl-costs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.mgl-costs li { display: flex; justify-content: space-between; align-items: baseline; background: #101010; border: 1px solid #262626; border-radius: 14px; padding: 16px 18px; }
.mgl-costs b { color: var(--mgl-accent); font-size: 1.4rem; }

.mgl-cross { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: #101010; border: 1px solid #262626; border-radius: 20px; padding: 28px; }
.mgl-cross h2 { margin-bottom: 8px; }

.mgl-faq { display: grid; gap: 10px; }
.mgl details { background: #101010; border: 1px solid #262626; border-radius: 14px; padding: 0 20px; }
.mgl summary { cursor: pointer; padding: 18px 0; color: var(--mgl-text); font-weight: 600; }
.mgl details p { padding: 0 0 18px; }

.mgl-final { text-align: center; display: grid; gap: 22px; justify-items: center; }
.mgl-final h2 { margin: 0; }

@media (max-width: 900px) {
    .mgl { gap: 52px; }
    .mgl-hero { grid-template-columns: 1fr; gap: 28px; }
    .mgl-cta .mgl-btn { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
    .mgl *, .mgl *::before, .mgl *::after { animation: none !important; transition: none !important; }
    .mgl-type { width: 100%; }
    .mgl-mock-row { opacity: 1; transform: none; }
    .mgl-mock-wave i { height: 16px; }
}
