/* MINI Landing One Page. Direction: "MINI Canaauto Night Drive" (DESIGN.md). */

/* Corporate face: MINI Serif (the only brand font hosted on the site). */
@font-face { font-family: "MINI"; src: url("/wp-content/uploads/2025/08/MINISerif-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "MINI"; src: url("/wp-content/uploads/2025/08/MINISerif-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "MINI"; src: url("/wp-content/uploads/2025/08/MINISerif-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

/* Form UI face: rounder sans for legibility in fields (SIL OFL, bundled). */
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@property --hole {
	syntax: "<length>";
	inherits: false;
	initial-value: 0px;
}

@property --split {
	syntax: "<percentage>";
	inherits: true;
	initial-value: 50%;
}

:root {
	--bg: #0D0E10;
	--surface: #16181C;
	--ink: #F3F2EE;
	--muted: #A3A6AD;
	--line: #2A2D33;
	--accent: #F3F2EE;
	--accent-ink: #0D0E10;
	--glass: linear-gradient(135deg, rgba(243, 242, 238, .16) 0%, rgba(243, 242, 238, .04) 100%), rgba(13, 14, 16, .3);
	--glass-line: rgba(243, 242, 238, .28);
	--glass-blur: blur(22px) saturate(160%);
	--error: #FF8A7A;
	--hover: #DCDBD6;

	--f-display: "MINI", Georgia, serif;
	--f-body: "MINI", Georgia, serif;
	--f-ui: "Figtree", "Helvetica Neue", Arial, sans-serif;

	--r-sm: 6px;
	--r-md: 14px;
	--r-pill: 999px;

	--gutter: clamp(20px, 4.4vw, 72px);
	--top-h: 84px;
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-io: cubic-bezier(.77, 0, .18, 1);
}

/* ---------- reset (zero specificity so components always win) ---------- */
:where(.ml-body) { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.ml-body) :where(*, *::before, *::after) { box-sizing: border-box; }
:where(.ml-app) :where(h1, h2, h3, p, figure, ul, dl) { margin: 0; padding: 0; border: 0; font: inherit; }
:where(.ml-app) :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.ml-app) :where(a) { color: inherit; text-decoration: none; }
:where(.ml-app) :where(img) { display: block; max-width: 100%; }
.ml-app :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ml-app { position: relative; min-height: 100svh; overflow-x: clip; }

/* ---------- header ---------- */
.ml-top {
	position: fixed; inset: 0 0 auto 0; z-index: 60;
	height: var(--top-h); padding: 0 var(--gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	pointer-events: none;
}
.ml-top > * { pointer-events: auto; }
.admin-bar .ml-top { top: 32px; }
.ml-logo img { width: 92px; height: auto; }

.ml-switch {
	position: relative; display: flex; padding: 4px;
	border-radius: var(--r-pill); background: rgba(13, 14, 16, .45);
	border: 1px solid rgba(243, 242, 238, .18);
	-webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
	transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.ml-switch__btn {
	position: relative; z-index: 1; padding: 9px 20px; border-radius: var(--r-pill);
	font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--muted);
	transition: color .4s var(--ease-out);
}
.ml-switch__btn[aria-pressed="true"] { color: var(--accent-ink); }
.ml-switch__thumb {
	position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0);
	transform: translateX(var(--x, 0)); border-radius: var(--r-pill); background: var(--accent);
	transition: transform .6s var(--ease-out), width .6s var(--ease-out);
}

.ml-top__cta, .ml-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 0 24px; border-radius: var(--r-pill);
	font-size: 15px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
	transition: transform .2s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.ml-top__cta, .ml-btn--primary { background: var(--accent); color: var(--accent-ink); }
.ml-top__cta:hover, .ml-btn--primary:hover { background: #DCDBD6; }
.ml-top__cta:active, .ml-btn:active { transform: translateY(1px) scale(.98); }
.ml-btn--ghost { border: 1px solid rgba(243, 242, 238, .55); color: var(--ink); background: rgba(13, 14, 16, .25); }
.ml-btn--ghost:hover { border-color: var(--ink); background: rgba(13, 14, 16, .5); }

.ml-app[data-view="intro"] .ml-switch,
.ml-app[data-view="opening"] .ml-switch,
.ml-app[data-view="intro"] .ml-top__cta,
.ml-app[data-view="opening"] .ml-top__cta { opacity: 0; transform: translateY(-12px); pointer-events: none; }

/* ---------- intro: diagonal split between the two campaigns ---------- */
.ml-intro {
	--split: 50%; --slant: 7%;
	position: fixed; inset: 0; z-index: 50; background: var(--bg);
	transition: --split 1s var(--ease-io), opacity .6s ease .1s, visibility 0s linear .7s;
}
.ml-intro:has(.ml-door--happy-days:hover) { --split: 60%; }
.ml-intro:has(.ml-door--gama:hover) { --split: 40%; }
.ml-app[data-view="opening"] .ml-intro,
.ml-app[data-view="stage"] .ml-intro.was-opened {
	pointer-events: none;
	-webkit-mask-image: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), transparent var(--hole), #000 calc(var(--hole) + 1px));
	mask-image: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), transparent var(--hole), #000 calc(var(--hole) + 1px));
	animation: ml-hole 1.05s var(--ease-io) both;
}
.ml-app[data-view="stage"] .ml-intro.was-opened { --hole: 150vmax; animation: none; transition: none; }
@keyframes ml-hole { from { --hole: 0px; } to { --hole: 150vmax; } }
.ml-app[data-view="stage"] .ml-intro { opacity: 0; visibility: hidden; pointer-events: none; }

.ml-door {
	position: absolute; inset: 0; display: block; width: 100%; text-align: left; overflow: hidden;
	cursor: pointer;
}
.ml-door--happy-days { clip-path: polygon(0 0, calc(var(--split) + var(--slant)) 0, calc(var(--split) - var(--slant)) 100%, 0 100%); }
.ml-door--gama { clip-path: polygon(calc(var(--split) + var(--slant)) 0, 100% 0, 100% 100%, calc(var(--split) - var(--slant)) 100%); }

.ml-door__media, .ml-door__scrim { position: absolute; inset: 0; }
.ml-door__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: saturate(.55) brightness(.75); transition: transform 1.4s var(--ease-out), filter .8s var(--ease-out); }
.ml-door:hover .ml-door__img, .ml-door:focus-visible .ml-door__img,
.ml-app[data-view="opening"] .ml-door__img { transform: scale(1.04); }
.ml-door--happy-days .ml-door__scrim { background: linear-gradient(90deg, rgba(13, 14, 16, .82) 0%, rgba(13, 14, 16, .35) 45%, rgba(13, 14, 16, 0) 70%), linear-gradient(0deg, rgba(13, 14, 16, .7), rgba(13, 14, 16, 0) 45%); }
.ml-door--gama .ml-door__scrim { background: linear-gradient(270deg, rgba(13, 14, 16, .82) 0%, rgba(13, 14, 16, .35) 45%, rgba(13, 14, 16, 0) 70%), linear-gradient(0deg, rgba(13, 14, 16, .7), rgba(13, 14, 16, 0) 45%); }

.ml-door__body {
	position: absolute; bottom: clamp(48px, 10vh, 120px); max-width: min(560px, 40vw);
	display: flex; flex-direction: column; gap: 14px;
	transition: opacity .5s var(--ease-out), transform .7s var(--ease-out);
}
.ml-door--happy-days .ml-door__body { left: var(--gutter); }
.ml-door--gama .ml-door__body { right: var(--gutter); align-items: flex-end; text-align: right; }
.ml-app[data-view="opening"] .ml-door__body { opacity: 0; transform: translateY(-16px); transition-duration: .35s; }

.ml-door__kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: .85; }
.ml-door__title { font: 700 clamp(48px, 7.4vw, 128px)/.92 var(--f-display); letter-spacing: -.01em; }
.ml-door__offer { font: 700 clamp(26px, 2.8vw, 44px)/1 var(--f-display); color: var(--accent); }
.ml-door__offer small { font: 400 .5em/1 var(--f-body); color: var(--ink); letter-spacing: .02em; }
.ml-door__offer sup { font-size: .45em; }
.ml-door__meta { font-size: 15px; color: var(--ink); opacity: .85; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.ml-door--gama .ml-door__meta { justify-content: flex-end; }
.ml-door__go {
	margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
	min-height: 48px; padding: 0 26px; border-radius: var(--r-pill);
	background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px;
	transition: gap .4s var(--ease-out), background-color .3s;
}
.ml-door--gama .ml-door__go { align-self: flex-end; }
.ml-door:hover .ml-door__go { gap: 16px; background: #DCDBD6; }
.ml-door__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- stage ---------- */
.ml-stage {
	--pad-x: max(var(--gutter), calc((100vw - 1480px) / 2 + var(--gutter)));
	position: relative; min-height: 100svh;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
	grid-template-rows: 1fr auto;
	grid-template-areas: "copy form" "rail form";
	column-gap: clamp(32px, 5vw, 96px);
	padding: calc(var(--top-h) + 8px) var(--pad-x) 22px;
}
.admin-bar .ml-stage { min-height: calc(100svh - 32px); }
.ml-bgs { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.ml-bgs__inner { position: absolute; inset: 0; }
.ml-bg {
	position: absolute; inset: -2%; z-index: 1; opacity: 0;
	transition: opacity 1s var(--ease-out);
	transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px), 0);
}
.ml-bg[data-lazy]:not(.is-armed) { display: none; }
.ml-bg__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7s cubic-bezier(.2, .6, .2, 1); }
.ml-bg.is-active { opacity: 1; z-index: 3; }
.ml-bg.is-active .ml-bg__img { transform: scale(1); }
.ml-bg.is-leaving { opacity: 1; z-index: 2; }
.ml-bg.is-wiping { opacity: 1; z-index: 5; transition: none; animation: ml-wipe 1.05s var(--ease-io) .1s both; }
.ml-wipe { position: absolute; inset: 0; z-index: 4; background: var(--bg); clip-path: circle(0 at var(--wx, 50%) var(--wy, 0)); pointer-events: none; }
.ml-wipe.is-on { animation: ml-wipe 1.05s var(--ease-io) both; }
@keyframes ml-wipe {
	from { clip-path: circle(0 at var(--wx, 50%) var(--wy, 0)); }
	to { clip-path: circle(150vmax at var(--wx, 50%) var(--wy, 0)); }
}
.ml-scrim {
	position: absolute; inset: 0; z-index: 6;
	background:
		linear-gradient(90deg, rgba(13, 14, 16, .86) 0%, rgba(13, 14, 16, .55) 34%, rgba(13, 14, 16, 0) 62%),
		linear-gradient(0deg, rgba(13, 14, 16, .92) 0%, rgba(13, 14, 16, .2) 26%, rgba(13, 14, 16, 0) 40%),
		linear-gradient(180deg, rgba(13, 14, 16, .55) 0%, rgba(13, 14, 16, 0) 18%);
}

.ml-stage__grid { display: contents; }
.ml-copy { grid-area: copy; align-self: end; position: relative; z-index: 10; padding-bottom: 28px; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.ml-copy__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); min-height: 28px; }
.ml-copy__title { font: 700 clamp(44px, 5.8vw, 96px)/1 var(--f-display); letter-spacing: -.01em; text-wrap: balance; }
.ml-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 14px; font-family: var(--f-display); font-weight: 700; line-height: .9; }
.ml-price__pre { font: 400 clamp(16px, 1.4vw, 22px)/1 var(--f-body); color: var(--ink); }
.ml-price__num { font-size: clamp(72px, 9.6vw, 164px); color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ml-price__unit { font-size: clamp(26px, 2.6vw, 42px); color: var(--ink); }
.ml-price__unit sup { font-size: .5em; }
.ml-copy__sub { max-width: 52ch; font-size: clamp(15px, 1.1vw, 17px); color: var(--ink); opacity: .88; }
.ml-copy__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* split-text reveal helpers (JS wraps words) */
.ml-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.ml-w > span { display: inline-block; will-change: transform; }

/* ---------- form card ---------- */
.ml-formcard {
	grid-area: form; align-self: center; z-index: 10;
	position: relative; padding: 26px 26px 22px; border-radius: var(--r-md);
	background: var(--glass); border: 1px solid var(--glass-line);
	box-shadow: inset 0 1px 0 rgba(243, 242, 238, .22);
	-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
	scroll-margin-top: calc(var(--top-h) + 16px);
}
.ml-formcard.is-pulse { animation: ml-pulse 1.1s var(--ease-out); }
@keyframes ml-pulse { 0% { box-shadow: 0 0 0 0 rgba(243, 242, 238, .45); } 100% { box-shadow: 0 0 0 18px rgba(243, 242, 238, 0); } }
.ml-formcard__title { font: 700 26px/1.05 var(--f-display); margin-bottom: 16px; }

.ml-pick { display: block; margin-bottom: 12px; }
.ml-formcard .ml-pick, .ml-formcard .ml-pick__error, .ml-formcard .jet-form-builder,
.ml-formcard .jet-form-builder :is(input, select, button, label, span, a, div) { font-family: var(--f-ui); }
.ml-pick__select { font-weight: 600 !important; }
.ml-pick__label, .ml-formcard .jet-form-builder__label-text { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(243, 242, 238, .88); }
.ml-pick__select,
.ml-formcard .jet-form-builder__field.text-field {
	width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-sm);
	background: rgba(243, 242, 238, .08) !important; color: var(--ink) !important;
	border: 1px solid rgba(243, 242, 238, .26); font: 400 15px/1 var(--f-ui);
	transition: border-color .25s, background-color .25s; -webkit-appearance: none; appearance: none;
}
.ml-pick__select {
	padding-right: 40px; cursor: pointer; font-weight: 700;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3F2EE' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 18px !important;
}
.ml-pick__select option { background: var(--surface); color: var(--ink); }
.ml-pick__select:focus, .ml-formcard .jet-form-builder__field.text-field:focus { outline: none; border-color: var(--accent); background-color: rgba(243, 242, 238, .1) !important; }
.ml-formcard .jet-form-builder__field.text-field::placeholder { color: rgba(243, 242, 238, .62); }
.ml-pick.is-error .ml-pick__select { border-color: var(--error); }
.ml-pick__error { margin: -4px 0 12px; font-size: 13px; color: var(--error); }

.ml-formcard .jet-form-builder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.ml-formcard .jet-form-builder-row { grid-column: 1 / -1; display: flex; flex-direction: column; flex-wrap: nowrap !important; align-items: stretch; gap: 0; margin: 0 !important; padding: 0 !important; min-width: 0; }
.ml-formcard .jet-form-builder__label, .ml-formcard .jet-form-builder__field-wrap { width: 100%; max-width: none; flex: none !important; }
.ml-formcard .jet-form-builder-row:has([name="name"]),
.ml-formcard .jet-form-builder-row:has([name="surname"]) { grid-column: span 1; }
.ml-formcard .jet-form-builder__label { margin: 0; padding: 0; }
.ml-formcard .jet-form-builder__required { color: var(--accent); }
.ml-formcard .error-message, .ml-formcard .jet-form-builder__field-error { margin-top: 5px; font-size: 12.5px; color: var(--error); }
.ml-formcard .field-has-error .jet-form-builder__field.text-field { border-color: var(--error); }

.ml-formcard .checkradio-wrap { margin: 0; }
.ml-formcard .jet-form-builder__field-label.for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: rgba(243, 242, 238, .85); cursor: pointer; }
.ml-formcard .jet-form-builder__field-label.for-checkbox a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.ml-formcard .jet-form-builder__field-label.for-checkbox input {
	flex: none; position: static !important; opacity: 1 !important; width: 18px; height: 18px; margin: 1px 0 0; border-radius: 4px; cursor: pointer;
	-webkit-appearance: none; appearance: none; border: 1px solid rgba(243, 242, 238, .4); background: transparent;
	display: grid; place-content: center; transition: background-color .2s, border-color .2s;
}
.ml-formcard .jet-form-builder__field-label.for-checkbox input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease-out); }
.ml-formcard .jet-form-builder__field-label.for-checkbox input:checked { background: var(--accent); border-color: var(--accent); }
.ml-formcard .jet-form-builder__field-label.for-checkbox input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.ml-formcard .jet-form-builder__field-label.for-checkbox > span::before { display: none !important; }

.ml-formcard .jet-form-builder__submit-wrap { justify-content: stretch !important; }
.ml-formcard .jet-form-builder__submit {
	position: relative; width: 100%; min-height: 52px; margin-top: 4px; border: 0; border-radius: var(--r-pill);
	background: var(--accent) !important; color: var(--accent-ink) !important;
	font: 700 16px/1 var(--f-ui); letter-spacing: .01em; cursor: pointer; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 20px !important;
	transition: transform .2s var(--ease-out), background-color .3s;
}
.ml-formcard .jet-form-builder__submit:hover { background: #DCDBD6 !important; }
.ml-formcard .jet-form-builder__submit:active { transform: translateY(1px) scale(.99); }
.ml-formcard .is-loading .jet-form-builder__submit { color: transparent !important; pointer-events: none; }
.ml-formcard .is-loading .jet-form-builder__submit::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%;
	border: 2px solid var(--accent-ink); border-right-color: transparent; animation: ml-spin .7s linear infinite;
}
@keyframes ml-spin { to { transform: rotate(360deg); } }
.ml-formcard .jet-form-builder-messages-wrap { grid-column: 1 / -1; }
.ml-formcard .jet-form-builder-message { margin: 4px 0 0; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; border: 1px solid var(--line); background: rgba(243, 242, 238, .06); color: var(--ink); }
.ml-formcard .jet-form-builder-message--success { border-color: var(--accent); }

/* ---------- model rail ---------- */
.ml-rail { grid-area: rail; position: relative; z-index: 10; min-width: 0; }
.ml-rail__track {
	position: relative; display: flex; gap: clamp(10px, 1.6vw, 22px);
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px;
}
.ml-rail__track::-webkit-scrollbar { display: none; }
.ml-rail__bar {
	position: absolute; left: 0; bottom: 8px; height: 3px; width: var(--bw, 0); border-radius: 3px; background: var(--accent);
	transform: translateX(var(--bx, 0)); transition: transform .6s var(--ease-out), width .6s var(--ease-out), opacity .3s;
}
.ml-rail:not(.has-active) .ml-rail__bar { opacity: 0; }

.ml-chip {
	flex: 0 0 auto; scroll-snap-align: start; width: clamp(150px, 13vw, 196px);
	display: grid; grid-template-columns: 1fr; gap: 8px; text-align: left; color: var(--muted);
	transition: color .3s;
}
.ml-chip__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); outline: 1px solid rgba(243, 242, 238, .12); outline-offset: -1px; }
.ml-chip__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: saturate(.6) brightness(.8); transition: transform .8s var(--ease-out), filter .5s; }
.ml-chip__name { font: 700 16px/1.1 var(--f-display); color: var(--ink); opacity: .7; transition: opacity .3s; }
.ml-chip__price { font-size: 13px; font-weight: 700; margin-top: -4px; }
.ml-chip:hover .ml-chip__media img, .ml-chip[aria-pressed="true"] .ml-chip__media img { transform: scale(1.12); filter: none; }
.ml-chip:hover .ml-chip__name, .ml-chip[aria-pressed="true"] .ml-chip__name { opacity: 1; }
.ml-chip[aria-pressed="true"] { color: var(--accent); }
.ml-chip[aria-pressed="true"] .ml-chip__media { outline-color: rgba(243, 242, 238, .9); }

.ml-dots { display: none; }

/* ---------- legal dialog ---------- */
.ml-legal {
	width: min(720px, calc(100vw - 32px)); max-height: min(80vh, 720px); padding: 32px; border-radius: var(--r-md);
	background: var(--glass); color: var(--ink); border: 1px solid var(--glass-line); overflow: auto;
	box-shadow: inset 0 1px 0 rgba(243, 242, 238, .22);
	-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.ml-legal::backdrop { background: rgba(13, 14, 16, .3); }
.ml-legal[open] { animation: ml-pop .45s var(--ease-out); }
@keyframes ml-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ml-legal__close { position: absolute; top: 14px; right: 18px; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--ink); background: rgba(243, 242, 238, .08); border: 1px solid var(--glass-line); cursor: pointer; }
.ml-legal__title { font: 700 26px/1.1 var(--f-display); margin: 0 40px 16px 0; }
.ml-legal__body { font-size: 14px; line-height: 1.6; color: rgba(243, 242, 238, .82); }
.ml-legal__body h3 { margin: 18px 0 6px; font: 700 15px/1.2 var(--f-body); color: var(--ink); }
.ml-legal__body p + p { margin-top: 10px; }

/* ---------- sticky mobile CTA ---------- */
.ml-sticky { display: none; }

/* ---------- no-JS: show the form, skip the intro ---------- */
.ml-nojs .ml-intro, .ml-nojs .ml-rail { display: none; }
.ml-nojs .ml-bg[data-bg="gama"] { opacity: 1; }

/* ---------- tablet / mobile ---------- */
@media (max-width: 960px) {
	:root { --top-h: 64px; }
	.ml-logo img { width: 68px; }
	.ml-top__cta { display: none; }
	.ml-switch__btn { padding: 8px 14px; font-size: 13px; }
	.admin-bar .ml-top { top: 46px; }

	.ml-intro { --slant: 4%; }
	.ml-door--happy-days { clip-path: polygon(0 0, 100% 0, 100% calc(var(--split) - var(--slant)), 0 calc(var(--split) + var(--slant))); }
	.ml-door--gama { clip-path: polygon(0 calc(var(--split) + var(--slant)), 100% calc(var(--split) - var(--slant)), 100% 100%, 0 100%); }
	.ml-intro:has(.ml-door--happy-days:hover), .ml-intro:has(.ml-door--gama:hover) { --split: 50%; }
	.ml-door__body { max-width: none; left: 20px !important; right: 20px !important; gap: 8px; }
	.ml-door--happy-days .ml-door__body { top: calc(var(--top-h) + 16px); bottom: auto; }
	.admin-bar .ml-door--happy-days .ml-door__body { top: calc(var(--top-h) + 62px); }
	.ml-door--gama .ml-door__body { bottom: 28px; align-items: flex-end; }
	.ml-door--happy-days .ml-door__scrim { background: linear-gradient(180deg, rgba(13, 14, 16, .8) 0%, rgba(13, 14, 16, .3) 38%, rgba(13, 14, 16, 0) 55%); }
	.ml-door--gama .ml-door__scrim { background: linear-gradient(0deg, rgba(13, 14, 16, .85) 0%, rgba(13, 14, 16, .3) 38%, rgba(13, 14, 16, 0) 55%); }
	.ml-door__title { font-size: clamp(40px, 12vw, 64px); }
	.ml-door__offer { font-size: clamp(22px, 6.4vw, 30px); }
	.ml-door__meta { font-size: 13px; }
	.ml-door__go { min-height: 42px; padding: 0 20px; font-size: 14px; margin-top: 4px; }
	.ml-door__img { filter: saturate(.85) brightness(.85); }

	.ml-stage { display: flex; flex-direction: column; padding: 0; }
	.ml-copy { align-self: auto; }
	.ml-stage__grid { display: contents; }
	.ml-bgs { position: fixed; inset: 0; height: 100lvh; }
	.ml-scrim { background: linear-gradient(0deg, rgba(13, 14, 16, .9) 0%, rgba(13, 14, 16, .55) 45%, rgba(13, 14, 16, .1) 70%), linear-gradient(180deg, rgba(13, 14, 16, .6) 0%, rgba(13, 14, 16, 0) 22%); }
	.ml-bg { inset: 0; transform: none; }

	.ml-copy { order: 1; position: relative; z-index: 10; padding: 42svh 20px 8px; gap: 12px; min-height: 0; }
	.ml-copy__title { font-size: clamp(36px, 10.5vw, 54px); }
	.ml-price__num { font-size: clamp(64px, 20vw, 96px); }
	.ml-copy__actions { margin-top: 0; }
	.ml-copy__actions .ml-btn--primary { display: none; }
	.ml-copy__actions .ml-btn--ghost { min-height: 36px; padding: 0 16px; font-size: 13px; }
	.ml-copy__eyebrow { font-size: 12px; }

	.ml-rail { order: 2; padding: 8px 0 4px; }
	.ml-formcard { align-self: auto; }
	.ml-rail__track { gap: 12px; padding: 6px 13vw 10px; scroll-padding-inline: 13vw; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
	.ml-rail__bar { display: none; }
	.ml-chip { width: 74vw; max-width: 340px; scroll-snap-align: center; scroll-snap-stop: always; transition: transform .5s var(--ease-out), opacity .5s var(--ease-out), color .3s; transform: scale(.92); opacity: .55; }
	.ml-chip[aria-pressed="true"], .ml-rail:not(.has-active) .ml-chip:first-child { transform: none; opacity: 1; }
	.ml-chip__media { border-radius: var(--r-md); }
	.ml-chip__name { font-size: 20px; }
	.ml-chip__price { font-size: 14px; }
	.ml-dots { display: flex; justify-content: center; gap: 8px; padding: 4px 0 2px; }
	.ml-dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(243, 242, 238, .35); transition: width .4s var(--ease-out), background-color .3s; }
	.ml-dots button[aria-current="true"] { width: 22px; border-radius: 4px; background: var(--accent); }

	.ml-formcard { order: 3; z-index: 10; margin: 14px 16px 100px; padding: 22px 18px 18px; }
	.ml-legal { padding: 26px 20px; }

	.ml-sticky {
		display: flex; align-items: center; justify-content: center;
		position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 55;
		min-height: 54px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink);
		font-weight: 700; font-size: 16px; transform: translateY(140%); transition: transform .5s var(--ease-out);
	}
	.ml-app[data-view="stage"]:not(.form-in-view) .ml-sticky { transform: none; }
}

@media (max-width: 420px) {
	.ml-formcard .jet-form-builder { grid-template-columns: 1fr; }
	.ml-formcard .jet-form-builder-row:has([name="name"]),
	.ml-formcard .jet-form-builder-row:has([name="surname"]) { grid-column: 1 / -1; }
}

@media (min-width: 961px) and (max-height: 820px) {
	.ml-copy { gap: 12px; padding-bottom: 18px; }
	.ml-chip { width: clamp(130px, 11vw, 168px); }
	.ml-chip__name { font-size: 15px; }
	.ml-copy__actions { margin-top: 2px; }
	.ml-copy__title { font-size: clamp(40px, 4.6vw, 72px); }
	.ml-price__num { font-size: clamp(64px, 7.6vw, 120px); }
	.ml-formcard { padding: 20px 22px 18px; }
	.ml-formcard__title { margin-bottom: 10px; font-size: 22px; }
	.ml-formcard .jet-form-builder { gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
	.ml-app *, .ml-app *::before, .ml-app *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.ml-bg { transform: none !important; }
}

/* desktop: all models fit next to the form without scrolling */
@media (min-width: 961px) {
	.ml-chip { flex: 1 1 0; width: auto; min-width: 112px; max-width: 196px; }
	.ml-chip__name { font-size: 15px; }
}
