/**
 * MLSimport: lead-magnet opt-in page, long-form sales-letter layout.
 *
 * Styles the bands rendered by widgets/optin.php (mlsi_optin 2.0). Loaded
 * only where the widget is placed (get_style_depends), after mlsimport.css,
 * which still provides the form, the success state and the tilted book.
 *
 * Built the way direct-response landing pages are built: big condensed
 * uppercase hooks (Anton), a narrow letter column in a large reading size,
 * full-width bands that alternate ink / white / light with slanted edges and
 * accent stripes, highlighted phrases and big numerals. Colours are the site's
 * own Sunny Bento tokens so it stays on brand.
 *
 * @package hello-elementor-child
 */

/* --- page-level -------------------------------------------------------- */
.mlsimport-ol {
	--ol-slant: 5vw;               /* height of the diagonal band edge */
	--ol-ink: #1c1917;
	--ol-light: #f1ede6;
	--ol-hook: "Anton", "Arial Narrow", Impact, sans-serif;
	overflow: hidden;              /* stripes poke past the viewport edge */
	background: #fff;
}

/* --- bands ------------------------------------------------------------- */
.mlsimport-ol__band { position: relative; padding: 96px 0; }
.mlsimport-ol__band.is-white { background: #fff; color: var(--c-text); }
.mlsimport-ol__band.is-light { background: var(--ol-light); color: var(--c-text); }
.mlsimport-ol__band.is-ink { background: var(--ol-ink); color: #fff; }
.mlsimport-ol__band.is-peach { background: var(--c-peach); color: var(--c-text); }

/* Slanted top edge on every band after the hero: the band is pulled up over
   the one above and its top is clipped on a diagonal, so each colour change
   happens on a slope rather than a flat line. */
.mlsimport-ol__band + .mlsimport-ol__band {
	margin-top: calc(-1 * var(--ol-slant));
	padding-top: calc(96px + var(--ol-slant));
	clip-path: polygon(0 var(--ol-slant), 100% 0, 100% 100%, 0 100%);
}
.mlsimport-ol__band.is-hero { padding-top: 72px; }
/* The next band is pulled up by the slant height and covers that much of this
   band's bottom, so give it back; otherwise the space under the content is a
   slant shorter than the space above it. The last band is not covered. */
.mlsimport-ol__band { padding-bottom: calc(96px + var(--ol-slant)); }
.mlsimport-ol__band:last-child { padding-bottom: 96px; }
/* The hero sits right under the site header, so it runs tighter at both ends. */
.mlsimport-ol__band.is-hero { padding-bottom: calc(72px + var(--ol-slant)); }

/* Accent stripes riding the slanted edge, two per side. */
.mlsimport-ol__stripe {
	position: absolute; height: 30px; transform: skewY(-3.6deg); pointer-events: none;
}
.mlsimport-ol__stripe.is-l1 { left: 0; width: 17%; top: calc(var(--ol-slant) + 10px); background: var(--c-accent); }
.mlsimport-ol__stripe.is-l2 { left: 0; width: 11%; top: calc(var(--ol-slant) + 40px); background: var(--c-butter); }
.mlsimport-ol__stripe.is-r1 { right: 0; width: 15%; top: 4px; background: var(--c-peach); }
.mlsimport-ol__stripe.is-r2 { right: 6%; width: 12%; top: 34px; background: var(--c-mint); }
/* Peach on the peach P.S. band would vanish. */
.mlsimport-ol__band.is-peach .is-r1 { background: var(--c-butter); }

/* --- hooks (band headlines) -------------------------------------------- */
.mlsimport-ol__hook {
	font-family: var(--ol-hook); font-weight: 400; text-transform: uppercase;
	font-size: clamp(38px, 5.4vw, 72px); line-height: .98; letter-spacing: .005em;
	text-align: center; text-wrap: balance;
	max-width: 15em; margin: 0 auto 44px; color: inherit;
}
.mlsimport-ol__hook mark { background: none; color: var(--c-accent); }
.is-hero .mlsimport-ol__hook { font-size: clamp(44px, 6.6vw, 92px); max-width: 13em; margin-bottom: 26px; }

/* Small rounded label above a hook. */
.mlsimport-ol__pill {
	display: table; margin: 0 auto 22px; padding: 7px 18px; border-radius: 999px;
	background: var(--c-mint); color: var(--ol-ink);
	font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

/* --- letter column ----------------------------------------------------- */
/* Narrow measure and a large size: a letter, not a web page. */
.mlsimport-ol__letter { max-width: 600px; margin: 0 auto; }
.mlsimport-ol__letter p { font-size: 21px; line-height: 1.55; margin: 0 0 20px; text-wrap: pretty; }
.mlsimport-ol__letter p:last-child { margin-bottom: 0; }
.mlsimport-ol__letter mark,
.mlsimport-ol__numbered mark,
.mlsimport-ol__checks mark,
.mlsimport-ol__note mark {
	background: var(--c-butter); color: var(--ol-ink);
	padding: 1px 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.is-ink .mlsimport-ol__letter mark, .is-ink .mlsimport-ol__numbered mark { background: var(--c-accent); color: #fff; }
.is-peach .mlsimport-ol__letter mark { background: #fff; }
/* The list highlights are short; keep each on one line so it never splits
   into two ragged boxes. */
.mlsimport-ol__numbered mark { white-space: nowrap; }
* + .mlsimport-ol__letter { margin-top: 40px; }

/* --- hero -------------------------------------------------------------- */
.mlsimport-ol__herohead { text-align: center; }
.mlsimport-ol__herosub {
	max-width: 36em; margin: 0 auto; font-size: 21px; line-height: 1.5; opacity: .82; text-wrap: balance;
}
.mlsimport-ol__heroform {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
	gap: 64px; align-items: center; max-width: 980px; margin: 52px auto 0;
}
.mlsimport-ol__herobook { display: flex; justify-content: center; }
.mlsimport-ol__herobook .mlsimport-optin__book { max-width: 360px; }
/* The site's drop-shadow filter on the tilted book renders as a faint lighter
   box on the ink bands, so the shadow moves onto the image itself. */
.mlsimport-ol .mlsimport-optin__book { filter: none; }
.mlsimport-ol .mlsimport-optin__book img { box-shadow: 0 34px 50px -18px rgba(0, 0, 0, .75); }

/* White card that holds a form; the form styles are the light ones. */
.mlsimport-ol__formcard {
	background: #fff; color: var(--c-text); border-radius: var(--radius-xl);
	padding: 34px 34px 30px; scroll-margin-top: 110px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.mlsimport-ol__formtitle {
	font-family: var(--ol-hook); font-weight: 400; text-transform: uppercase;
	font-size: 34px; line-height: 1; margin: 0 0 18px; color: var(--c-text);
}
.mlsimport-ol__formcard .mlsimport-optin__form,
.mlsimport-ol__formcard .mlsimport-optin__success { margin-top: 0; max-width: none; }
.mlsimport-ol__formcard .mlsimport-optin__btn { font-size: 16px; padding: 20px 26px; }

/* --- stats ------------------------------------------------------------- */
.mlsimport-ol__stats {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
	max-width: 960px; margin: 0 auto;
}
.mlsimport-ol__stat {
	background: #fff; border-radius: var(--radius-lg); padding: 28px 18px 24px; text-align: center;
}
.mlsimport-ol__statnum {
	display: block; font-family: var(--ol-hook); font-size: 64px; line-height: 1; color: var(--c-accent);
}
.mlsimport-ol__statlabel { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; }

/* --- big numbered lists (method, must-haves) ---------------------------- */
.mlsimport-ol__numbered {
	list-style: none; counter-reset: ol; max-width: 600px; margin: 0 auto; padding: 0;
}
.mlsimport-ol__letter + .mlsimport-ol__numbered { margin-top: 44px; }
.mlsimport-ol__numbered li {
	counter-increment: ol; position: relative;
	padding: 0 0 0 86px; margin: 0 0 34px; min-height: 64px;
	font-size: 21px; line-height: 1.5;
}
.mlsimport-ol__numbered li::before {
	content: counter(ol); position: absolute; left: 0; top: -10px;
	font-family: var(--ol-hook); font-size: 76px; line-height: 1; color: var(--c-accent);
}
.mlsimport-ol__numbered strong { display: block; font-size: 24px; }
.mlsimport-ol__numbered li, .mlsimport-ol__next li, .mlsimport-ol__parttext, .mlsimport-ol__note { text-wrap: pretty; }

/* --- six parts --------------------------------------------------------- */
.mlsimport-ol__parts {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
	max-width: 1100px; margin: 0 auto;
}
.mlsimport-ol__part { border-radius: var(--radius-xl); padding: 30px 28px; color: var(--ol-ink); }
.mlsimport-ol__part:nth-child(6n+1) { background: var(--c-peach); }
.mlsimport-ol__part:nth-child(6n+2) { background: var(--c-mint); }
.mlsimport-ol__part:nth-child(6n+3) { background: var(--c-butter); }
.mlsimport-ol__part:nth-child(6n+4) { background: var(--c-sky); }
.mlsimport-ol__part:nth-child(6n+5) { background: var(--c-lavender); }
.mlsimport-ol__part:nth-child(6n+6) { background: var(--ol-light); }
.mlsimport-ol__partnum { display: block; font-family: var(--ol-hook); font-size: 56px; line-height: 1; margin-bottom: 14px; }
.mlsimport-ol__parttitle { font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0 0 10px; color: var(--ol-ink); }
.mlsimport-ol__partlead { font-size: 17px; font-weight: 600; line-height: 1.45; margin: 0 0 8px; }
.mlsimport-ol__parttext { font-size: 16px; line-height: 1.5; margin: 0; opacity: .78; }
.mlsimport-ol__note { max-width: 600px; margin: 34px auto 0; font-size: 19px; line-height: 1.55; text-align: center; }

/* --- big jump button --------------------------------------------------- */
.mlsimport-ol__jump {
	display: table; margin: 48px auto 0; padding: 22px 54px 20px; border-radius: 18px;
	background: var(--c-accent); color: #fff !important; text-decoration: none !important; text-align: center;
	box-shadow: 0 18px 36px -18px rgba(232, 93, 60, .9);
	transition: transform .16s cubic-bezier(.34,1.56,.64,1);
}
.mlsimport-ol__jump:hover { transform: translateY(-3px); color: #fff !important; }
.mlsimport-ol__jump:focus-visible { outline: 3px solid var(--ol-ink); outline-offset: 4px; }
.mlsimport-ol__jump-main { display: block; font-family: var(--ol-hook); font-size: 34px; line-height: 1; text-transform: uppercase; }
.mlsimport-ol__jump-sub { display: block; margin-top: 6px; font-size: 15px; opacity: .9; }

/* --- guide pages ------------------------------------------------------- */
.mlsimport-ol__pages {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
	max-width: 1100px; margin: 48px auto 0;
}
.mlsimport-ol__page {
	margin: 0; background: #fff; border-radius: 14px; overflow: hidden;
	box-shadow: 0 30px 50px -30px rgba(28, 25, 23, .5);
}
.mlsimport-ol__page:nth-child(1) { transform: rotate(-2deg); }
.mlsimport-ol__page:nth-child(3) { transform: rotate(2deg); }
.mlsimport-ol__page img { display: block; width: 100%; height: auto; }

/* --- free check list ---------------------------------------------------- */
.mlsimport-ol__checks { list-style: none; max-width: 600px; margin: 0 auto; padding: 0; }
.mlsimport-ol__checks li {
	display: flex; align-items: center; gap: 14px; margin: 0 0 16px;
	font-size: 22px; font-weight: 700; line-height: 1.35;
}
.mlsimport-ol__checkic {
	flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--c-mint); color: var(--ol-ink);
}

/* --- closing ----------------------------------------------------------- */
.mlsimport-ol__closing {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
	gap: 64px; align-items: start; max-width: 980px; margin: 0 auto;
}
.mlsimport-ol__closingcopy .mlsimport-ol__letter { margin: 0; }
.mlsimport-ol__closingbook .mlsimport-optin__book { max-width: 190px; margin: 0 0 30px; }
.mlsimport-ol__nextlabel { margin: 30px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.mlsimport-ol__next { list-style: none; margin: 0; padding: 0; }
.mlsimport-ol__next li { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 12px; font-size: 18px; line-height: 1.45; }
.mlsimport-ol__next span {
	flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--c-accent); color: #fff; font-size: 14px; font-weight: 700;
}

/* --- faq accordion ----------------------------------------------------- */
.mlsimport-ol__faq { max-width: 720px; margin: 0 auto; }
.mlsimport-ol__qa { background: var(--ol-light); border-radius: 16px; margin: 0 0 10px; }
.mlsimport-ol__qa summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 22px 64px 22px 26px; font-size: 20px; font-weight: 700; line-height: 1.35;
}
.mlsimport-ol__qa summary::-webkit-details-marker { display: none; }
.mlsimport-ol__qa summary::after {
	content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
	width: 30px; height: 30px; border-radius: 50%; background: var(--ol-ink); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 400;
}
.mlsimport-ol__qa[open] summary::after { content: "\2212"; }
.mlsimport-ol__qa summary:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 16px; }
.mlsimport-ol__qa p { margin: 0; padding: 0 26px 24px; font-size: 18px; line-height: 1.55; }

/* --- P.S. -------------------------------------------------------------- */
.mlsimport-ol__psmark { font-family: var(--ol-hook); font-weight: 400; font-size: 1.3em; letter-spacing: .02em; }
.mlsimport-ol__ps .mlsimport-ol__jump { margin-left: 0; background: var(--ol-ink); box-shadow: none; }
.mlsimport-ol__ps .mlsimport-ol__jump-main { font-size: 28px; }

/* --- responsive -------------------------------------------------------- */
@media (max-width: 1024px) {
	.mlsimport-ol__heroform, .mlsimport-ol__closing { grid-template-columns: 1fr; gap: 36px; max-width: 560px; }
	.mlsimport-ol__herobook { display: none; }   /* the form stays in the first screen */
	.mlsimport-ol__parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mlsimport-ol__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.mlsimport-ol { --ol-slant: 8vw; }
	.mlsimport-ol__band { padding: 64px 0; }
	.mlsimport-ol__band + .mlsimport-ol__band { padding-top: calc(64px + var(--ol-slant)); }
	.mlsimport-ol__band.is-hero { padding-top: 40px; }
	.mlsimport-ol__band { padding-bottom: calc(64px + var(--ol-slant)); }
	.mlsimport-ol__band:last-child { padding-bottom: 64px; }
	.mlsimport-ol__band.is-hero { padding-bottom: calc(44px + var(--ol-slant)); }
	.mlsimport-ol__hook { margin-bottom: 30px; }
	.mlsimport-ol__herosub { font-size: 18px; }
	.mlsimport-ol__heroform { margin-top: 30px; }
	.mlsimport-ol__formcard { padding: 26px 20px 22px; border-radius: var(--radius-lg); }
	.mlsimport-ol__formtitle { font-size: 28px; }
	.mlsimport-ol__letter p { font-size: 19px; }
	.mlsimport-ol__numbered li { padding-left: 62px; font-size: 18px; }
	.mlsimport-ol__numbered li::before { font-size: 58px; }
	.mlsimport-ol__numbered strong { font-size: 21px; }
	.mlsimport-ol__parts { grid-template-columns: 1fr; }
	.mlsimport-ol__statnum { font-size: 50px; }
	.mlsimport-ol__pages {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
		overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 10px 4px 16px;
	}
	.mlsimport-ol__page { scroll-snap-align: start; transform: none !important; }
	.mlsimport-ol__checks li { font-size: 19px; }
	.mlsimport-ol__jump { display: block; padding: 20px 20px 18px; }
	.mlsimport-ol__jump-main { font-size: 28px; }
	.mlsimport-ol__qa summary { font-size: 18px; padding: 18px 58px 18px 20px; }
	.mlsimport-ol__qa p { font-size: 17px; padding: 0 20px 20px; }
	.mlsimport-ol__stripe { height: 18px; }
}
