/* Product 1 adaptive companions v1.0.0. The accepted product_1 assets stay unchanged. */
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero {
	padding-bottom: clamp(3rem, 5vw, 5rem) !important;
}
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) { order: 0; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> figure):not(:has(> h1)) {
	order: 1;
	padding: clamp(1.2rem, 2.2vw, 1.75rem);
	border: 1px solid #dbe2ed;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 28px rgb(21 33 59 / 4%);
}
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div > p {
	display: block;
	max-width: 50ch;
	margin: 0 0 1.1rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ln-product-muted);
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0;
	text-transform: none;
}
/* The accepted base has highly specific positional paragraph rules. Only the
   semantic text column's direct prose overrides them; native action labels stay distinct. */
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > p:not([class*="-background"]) {
	display: block !important;
	max-width: 50ch !important;
	margin: 0 0 1.1rem !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--ln-product-muted) !important;
	font-family: inherit !important;
	font-size: 1.05rem !important;
	font-weight: 400 !important;
	line-height: 1.65 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero h1 { max-width: 16ch; font-size: clamp(2.65rem, 4.1vw, 3.65rem) !important; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-color-blue { color: var(--ln-product-blue) !important; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero figure { margin: 0; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero figure img { max-height: 430px; border: 0; border-radius: 8px; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero figcaption:has(> small:empty) { display: none; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > .rounded:has(> .d-flex) {
	margin: 1.5rem 0 !important;
	padding: 1rem !important;
	border: 1px solid #dce8df;
	border-radius: 10px !important;
	background: #edf5ef !important;
	color: #355642;
	font-size: 0.88rem;
	line-height: 1.6;
}
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > p[class*="-background"] {
	margin: 1.7rem 0 0.7rem;
	color: var(--ln-product-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
/* Actions are actual anchors inside a nested native column row, never paragraph ordinals. */
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > .row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5rem 0 0; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > .row > div { flex: 0 1 auto; width: auto; min-width: 0; padding: 0; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > .row > div:not(:has(a[href])) { display: none; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > .row p { margin: 0; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > .row a[href] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.2rem;
	border: 1px solid #c6d0e2;
	border-radius: 9px;
	background: #fff;
	color: var(--ln-product-ink);
	font-size: 0.94rem;
	line-height: 1.3;
	text-decoration: none !important;
}
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > .row a.ln-product-primary-action { border-color: var(--ln-product-blue); background: var(--ln-product-blue); color: #fff; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > .row a[href] span { text-decoration: none !important; }
body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row > div:has(> h1) > .row a[href]:hover { border-color: #a9b8d4; background: #edf1f9; color: var(--ln-product-ink); }
/* Preserve native two-column feature rows and conceal only a structurally empty cell. */
body:has(main > section.ln-product-hero) main > section.ln-product-features.ln-product-adaptive-features .ln-page-children { display: block; }
body:has(main > section.ln-product-hero) main > section.ln-product-features.ln-product-adaptive-features .ln-page-children > .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body:has(main > section.ln-product-hero) main > section.ln-product-features.ln-product-adaptive-features .ln-page-children > .row + .row { margin-top: 24px; }
body:has(main > section.ln-product-hero) main > section.ln-product-features.ln-product-adaptive-features .ln-page-children > .row > div:not(:has(h3, figure, a[href])) { display: none; }
body:has(main > section.ln-product-hero) main > section.ln-product-features.ln-product-adaptive-features .ln-page-children > .row:has(> div:not(:has(h3, figure, a[href]))) > div:has(h3) { grid-column: 1 / -1; }
body:has(main > section.ln-product-hero) main > section.ln-product-features.ln-product-adaptive-features .ln-page-children > :is(h1,h2) { max-width: 28ch; font-size: clamp(2rem, 3.5vw, 2.9rem) !important; }
body:has(main > section.ln-product-hero) main > section.ln-product-features.ln-product-adaptive-features blockquote { max-width: 74ch; margin: 0; padding: 0 !important; border: 0 !important; color: var(--ln-product-muted); font-size: 1rem; line-height: 1.65; text-align: left !important; }
body:has(main > section.ln-product-hero) main > section.ln-product-section .ln-theme-empty { display: none !important; }
/* Legacy pages can place Screenshots directly before white Features instead of
   the accepted family's navy Download band. Match that actual semantic neighbour. */
body:has(main > section.ln-product-adaptive-hero) main > section.ln-product-screenshots:has(~ section.ln-product-features) > .shape-container > .shape path { fill: #fff !important; }
@media (max-width: 767px) {
	body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero .ln-page-children > .row,
	body:has(main > section.ln-product-hero) main > section.ln-product-features.ln-product-adaptive-features .ln-page-children > .row { grid-template-columns: 1fr; }
	body:has(main > section.ln-product-hero) main > section.ln-product-hero.ln-product-adaptive-hero h1 { font-size: clamp(2.55rem, 10.5vw, 3.5rem) !important; }
}
