/* ==========================================================================
   TripLead marketing pages (homepage first; later For agents etc.).
   Loads only on the "TripLead marketing" page template (body.tl-marketing-body),
   after triplead.css, which holds the tokens and the Plus Jakarta Sans @font-face.

   Rules of the road:
   - Everything is scoped to body.tl-marketing-body. Our header and footer are our own
     markup. The page body is Elementor: we style it through OUR classes set on each
     container/widget (Advanced > CSS Classes), plus Elementor's stable structural
     classes where unavoidable (.e-con-inner, .elementor-heading-title,
     .elementor-image-box-*, .elementor-button*). Never Elementor's generated
     .elementor-element-{id} / .elementor-{postid} classes.
   - Elementor owns colour and type (widgets use the Kit globals, so Daniel can edit
     them). This file owns layout, spacing, shape and the empty-art behaviour.
     Elementor's per-widget CSS is (0,3,0)-(0,5,0): where we must win on a property
     it sets (image-box image width, a few weights), the selector is prefixed with
     body.tl-marketing-body .tl-marketing-main to reach (0,4,1)+. Each is commented.
   - Elementor's Kit button rule is ".elementor-kit-N button" (0,1,1), and it also
     hits our own <button>s (the menu toggle), so those set every property.
   - Breakpoints: header 901px, plus .tl-site-header--compact from tl-menu.js when the full
     bar does not fit (M2). Sections: 1025px (Elementor desktop),
     768px, 600px.
   ========================================================================== */

/* ---- M0. Page frame -------------------------------------------------------------- */
body.tl-marketing-body {
	margin: 0;
	background: var(--tl-page-bg);
	color: var(--tl-body);
	font-family: var(--tl-font);
	-webkit-font-smoothing: antialiased;
}
body.tl-marketing-body .tl-marketing { display: flex; flex-direction: column; min-height: 100vh; font-family: var(--tl-font); color: var(--tl-body); }
/* Short page / tall window: the spare height goes into the (white) footer, below its
   content, rather than into main, which opened a blank band above the footer (ux h3). */
body.tl-marketing-body .tl-marketing-main { flex: 0 0 auto; outline: 0; }
body.tl-marketing-body .tl-marketing > .tl-site-footer { flex: 1 0 auto; }
body.tl-marketing-body :is(.tl-site-header, .tl-site-footer),
body.tl-marketing-body :is(.tl-site-header, .tl-site-footer) *,
body.tl-marketing-body :is(.tl-site-header, .tl-site-footer) *::before,
body.tl-marketing-body :is(.tl-site-header, .tl-site-footer) *::after { box-sizing: border-box; }
body.tl-marketing-body :is(.tl-site-header, .tl-site-footer) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
body.tl-marketing-body :is(.tl-site-header, .tl-site-footer) p { margin: 0; }
html.tl-menu-open { overflow: hidden; }
/* Astra draws a dotted outline on any focused link. The menu JS moves focus to the
   first link after a tap, which isn't :focus-visible, so only drop the outline then;
   keyboard focus keeps the teal ring from triplead.css. */
body.tl-marketing-body .tl-marketing :is(a, button):focus:not(:focus-visible) { outline: 0; }

/* ---- M1. Teal words in headings -------------------------------------------------
   "starts here." (hero H1) and "Go." (travellers card) are solid teal (slice 14 decision:
   no gradient). The hero H1 is large text, so teal only needs 3:1: 4.74 on white, 4.15 on
   teal-soft, and more over the scrim. The hero H1 span is .tl-accent-teal; the card one is .tl-accent-text. */
body.tl-marketing-body :is(.tl-accent-text, .tl-accent-teal) { color: var(--tl-teal); }
/* ux f5: Jakarta 800 sets a wide gap before a full stop ("here ."). It's the glyph's own
   side bearing, not a kerning pair, so letter-spacing/kerning can't reach it without
   squeezing the whole line. Wrap the stop in the heading text as
   <span class="tl-tight-stop">.</span> and it tucks in. */
body.tl-marketing-body .tl-tight-stop { margin-left: -0.07em; }
/* Slice 15: "starts here." never splits ("starts / here."). 0.18.14 (200% text): an
   inline-block instead of nowrap. It still moves to the next line whole, but when it's
   wider than the whole line (doubled text on a phone: 422px in a 358px title) it wraps
   inside itself instead of running off the screen. Normal text renders the same (same
   break point, same baseline). */
body.tl-marketing-body .tl-home-hero__title .tl-accent-teal { display: inline-block; max-width: 100%; }
/* 0.18.14 (200% text, and 200% zoom's 160-195px layout): a word longer than its line
   ("adventure", "destinations", "experiences") breaks instead of running off the screen.
   break-word, not anywhere: it doesn't change any box's min-content size, so no layout
   moves; only a word that could never fit is split. */
body.tl-marketing-body .tl-marketing-main :is(.elementor-heading-title, .elementor-image-box-title, .elementor-image-box-description, p) { overflow-wrap: break-word; }
/* Slice 15: "Up to 3 trusted agents" in the hero body line (navy on the scrim/white). */
body.tl-marketing-body .tl-marketing-main .tl-home-hero__sub strong { color: var(--tl-navy); font-weight: 700; }
/* The shorter line left "you." alone on line 2 at 1440; avoid single-word last lines. */
body.tl-marketing-body .tl-marketing-main .tl-home-hero__sub p { text-wrap: pretty; }
/* Utility: content hidden at phone width only (core-dev's "Trusted <span>travel </span>agents"). */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-hide-mobile { display: none; }
}

/* Decorative arrow, drawn as a mask and coloured with background-color (destination
   cards, agent "Learn more" link). Lucide arrow-right geometry. */
body.tl-marketing-body {
	--tl-i-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	/* triplead_icon('arrow-right') as a mask, same path and 1.8 stroke as the inline svg in
	   "Get inspired →" (triplead.css 3c), for links whose arrow can't be markup (M6b). */
	--tl-i-arrow-right-ui: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E");
	/* The arrow link ("Learn more →" on the agent card, M8; "Continue with AI →" on phones,
	   M5c3): one set of values both hosts read. The arrow itself is one grouped rule (M8). */
	--tl-arrow-link-color: var(--tl-teal);
	--tl-arrow-link-hover: var(--tl-teal-hover);
	--tl-arrow-link-size: 15px;
	--tl-arrow-link-weight: 600; /* STYLE-CHECKLIST §8 (chunk 3; was 700) */
	--tl-arrow-link-lh: 1.3;
	--tl-arrow-link-underline-offset: 3px;
	/* Stepper (homepage How it works M6/M9; For agents How it works F7): one look on every page
	   (STYLE-CHECKLIST, components). Number circle, the arrow between steps (a mask, teal), the
	   step text. The homepage step text's 14 / 1.45 / 500 is set by its Elementor image-box widget;
	   these tokens carry the same values for pages that draw steps themselves. */
	--tl-step-num-size: 40px;
	--tl-step-num-text: 16px;
	--tl-step-num-bg: var(--tl-teal);
	--tl-step-col-gap: 16px;
	--tl-step-text-size: 14px;
	--tl-step-text-lh: 1.45;
	--tl-step-text-weight: 500;
	--tl-i-step-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h25M20 4l8 8-8 8'/%3E%3C/svg%3E");
	/* Tick list / dash list (M13; STYLE-CHECKLIST components "Tick list", "Dash list"): the For agents
	   plan-card tick (for-agents.css --tl-fa-i-check, same path, stroke 2.4) and its pair, a dash of the
	   same stroke. 16px markers, 26px text indent, 12px between items (10 on phones). */
	--tl-i-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--tl-i-dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
	--tl-list-mark-size: 16px;
	--tl-list-indent: 26px;
	--tl-list-gap: 12px;
}
@media (max-width: 767px) {
	body.tl-marketing-body { --tl-list-gap: 10px; }
}

/* ---- M2. Header ------------------------------------------------------------------- */
/* Two bar states, one set of rules (0.18.8, Codex H-01):
   - full: logo, nav, Post a travel plan (or the agent's "Agent admin");
   - compact: logo, the agent's "Agent admin" (768+), menu button; the nav and Post move
     into the menu panel.
   0.18.16 (Daniel, 29 Sep): no "Log in" in the visitor bar. Its rules
   (.tl-site-header__account, .tl-mobile-menu__login) are gone; nothing else used them.
   #55 (2 Oct): "For agents" goes to /for-agents/, and the menu panel ends with a white
   "Agent log in" (.tl-mobile-menu__agent) under Post.
   Compact applies at <=900 (media query, so it's right before any JS runs) AND whenever
   header.tl-site-header--compact is set: tl-menu.js adds it when the full bar doesn't fit
   (enlarged text, long translations) at any width. CSS can't OR a media query with a
   class, so the state is a "space toggle" pair of custom properties, flipped in exactly two
   places (below); every rule that differs by state is written once, as
       prop: var(--tl-hdr-full, <full value>) var(--tl-hdr-compact, <compact value>);
   In each state one of the pair is `initial` (guaranteed-invalid, so its fallback is used)
   and the other is a single space (so it adds nothing): full state -> "<full value> ",
   compact -> " <compact value>". Never set either to anything else.
   The full bar's width-dependent metrics are tokens retuned by the <=1279 and 901-1179
   blocks; compact is the same at every width (the <=380 / <=319 phone blocks still
   refine it, later in the file). */
body.tl-marketing-body .tl-site-header {
	--tl-hdr-full: initial;
	--tl-hdr-compact: ;
	--tl-hdr-gap: 24px;
	--tl-hdr-pad-x: 24px;
	--tl-hdr-logo-h: 48px;
	--tl-hdr-actions-gap: 12px;
	position: relative;
	z-index: 50;
	background: var(--tl-white);
	border-bottom: 1px solid var(--tl-line);
}
@media (max-width: 900px) {
	body.tl-marketing-body .tl-site-header { --tl-hdr-full: ; --tl-hdr-compact: initial; }
}
body.tl-marketing-body .tl-site-header--compact { --tl-hdr-full: ; --tl-hdr-compact: initial; }

body.tl-marketing-body .tl-site-header__bar {
	display: flex;
	align-items: center;
	gap: var(--tl-hdr-full, var(--tl-hdr-gap)) var(--tl-hdr-compact, 12px);
	max-width: 1248px;
	min-height: var(--tl-hdr-full, 88px) var(--tl-hdr-compact, 72px);
	margin: 0 auto;
	padding: 12px var(--tl-hdr-full, var(--tl-hdr-pad-x)) var(--tl-hdr-compact, 16px);
}
body.tl-marketing-body .tl-site-logo { display: inline-flex; flex: none; align-items: center; min-height: 44px; border-radius: var(--tl-radius-btn); }
body.tl-marketing-body .tl-site-logo__img { display: block; width: auto; height: var(--tl-hdr-full, var(--tl-hdr-logo-h)) var(--tl-hdr-compact, 40px); max-width: none; }
body.tl-marketing-body .tl-site-logo__word { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--tl-navy); }

body.tl-marketing-body .tl-site-nav { display: var(--tl-hdr-full, block) var(--tl-hdr-compact, none); flex: 1 1 auto; min-width: 0; }
body.tl-marketing-body .tl-site-nav__list { display: flex; align-items: center; justify-content: center; gap: 4px 28px; }
body.tl-marketing-body .tl-site-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	border-radius: var(--tl-radius-btn);
	color: var(--tl-navy);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}
body.tl-marketing-body .tl-site-nav__link:is(:hover, :focus) { color: var(--tl-teal-hover); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
/* Current page (BRIEF-22, the mock's FAQs item): teal-hover with the hover underline, so it
   reads without colour. The mobile panel's link gets the same. */
body.tl-marketing-body .tl-site-nav__link[aria-current="page"] { color: var(--tl-teal-hover); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

body.tl-marketing-body .tl-site-header__actions { display: flex; flex: none; align-items: center; gap: var(--tl-hdr-full, var(--tl-hdr-actions-gap)) var(--tl-hdr-compact, 8px); margin-left: auto; }
body.tl-marketing-body .tl-site-header__actions .tl-btn { white-space: nowrap; }
/* Two header states. Visitors: Post a travel plan (.tl-site-header__post) alone (0.18.16:
   no Log in). Agents (.tl-site-header--agent): one filled "Agent admin"
   (.tl-site-header__inbox, no icon) in the Post CTA's place, no Post CTA. It keeps its
   label at every width.
   Compact bar: the visitor bar is logo + menu button; Post moves into the panel. The full
   values restate .tl-btn's (triplead.css); (0,2,1) beats its (0,2,0). The agent's "Agent
   admin" stays in the compact bar at 768+ (unlike __post), with 18px sides; 0.18.5 takes it
   out below 768 (the M2 <=767 block, later, so it wins). display:none also takes them out
   of the tab order. */
body.tl-marketing-body .tl-site-header__post { display: var(--tl-hdr-full, inline-flex) var(--tl-hdr-compact, none); }
body.tl-marketing-body .tl-site-header__inbox { padding: 0 var(--tl-hdr-full, 24px) var(--tl-hdr-compact, 18px); }
body.tl-marketing-body .tl-site-header__post .tl-icon { width: 20px; height: 20px; }
/* 0.18.8 (Codex H-02): Post carries two labels, span.tl-site-header__post-full "Post a travel
   plan" and span.tl-site-header__post-short "Post a plan". Exactly one is displayed (the
   other is display:none, so out of the accessibility tree too): full by default, short at
   901-1179 (block below). Retires 0.18.2's icon-only 48px square at 901-1179. */
body.tl-marketing-body .tl-site-header__post-short { display: none; }

/* Hamburger: a <button>, so it sets every property the Kit's ".elementor-kit-N button"
   rule (0,1,1) and Astra's bare button rule would otherwise supply. Compact bar only. */
body.tl-marketing-body .tl-site-header .tl-menu-toggle,
body.tl-marketing-body .tl-site-header .tl-menu-toggle:is(:hover, :focus, :active) {
	display: var(--tl-hdr-full, none) var(--tl-hdr-compact, inline-flex);
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1.5px solid var(--tl-line);
	border-radius: var(--tl-radius-btn);
	background: var(--tl-white);
	box-shadow: none;
	color: var(--tl-navy);
	font: inherit;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
}
body.tl-marketing-body .tl-site-header .tl-menu-toggle:hover { border-color: var(--tl-teal); background: var(--tl-wash); }
body.tl-marketing-body .tl-menu-toggle__bars { position: relative; display: block; width: 22px; height: 16px; }
body.tl-marketing-body .tl-menu-toggle__bar {
	position: absolute;
	left: 0;
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
body.tl-marketing-body .tl-menu-toggle__bar:nth-child(1) { top: 0; }
body.tl-marketing-body .tl-menu-toggle__bar:nth-child(2) { top: 7px; }
body.tl-marketing-body .tl-menu-toggle__bar:nth-child(3) { top: 14px; }
body.tl-marketing-body .tl-site-header--open .tl-menu-toggle__bar:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.tl-marketing-body .tl-site-header--open .tl-menu-toggle__bar:nth-child(2) { opacity: 0; }
body.tl-marketing-body .tl-site-header--open .tl-menu-toggle__bar:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Mobile panel: full width under the bar. [hidden] keeps it out until the JS opens it.
   0.18.8: it also opens under a compact bar wider than 1248px (enlarged text), so its sides
   keep the links in line with the logo: the bar's own inset, (100% - 1248px) / 2 + 16px,
   never under 16px (so at <=1248, phones included, it's 16px as before). */
body.tl-marketing-body .tl-mobile-menu[hidden] { display: none; }
body.tl-marketing-body .tl-mobile-menu {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	max-height: calc(100vh - 72px);
	max-height: calc(100dvh - 72px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 8px max(16px, calc((100% - 1216px) / 2)) 24px;
	border-top: 1px solid var(--tl-line);
	border-bottom: 1px solid var(--tl-line);
	background: var(--tl-white);
	box-shadow: var(--tl-shadow-pop);
	animation: tl-menu-in 0.18s ease-out;
}
@keyframes tl-menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
body.tl-marketing-body .tl-mobile-menu__item + .tl-mobile-menu__item { border-top: 1px solid var(--tl-line); }
body.tl-marketing-body .tl-mobile-menu__link {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0 8px;
	border-radius: var(--tl-radius-btn);
	color: var(--tl-navy);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
}
/* The menu moves focus to the first link on open (tl-menu.js, right for keyboard and screen-reader
   users), so the highlight follows :focus-visible, not :focus: after a tap the first item no longer
   looks selected (checklist §10). Hover only where hover is real, so a tap can't leave it stuck. */
body.tl-marketing-body .tl-mobile-menu__link:focus-visible { background: var(--tl-wash); color: var(--tl-teal-hover); }
@media (hover: hover) {
	body.tl-marketing-body .tl-mobile-menu__link:hover { background: var(--tl-wash); color: var(--tl-teal-hover); }
}
body.tl-marketing-body .tl-mobile-menu__link[aria-current="page"] { color: var(--tl-teal-hover); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
/* After the nav, one filled .tl-btn-block (48px, --tl-control-h), 16px under the last link:
   visitors get Post a travel plan, agents "Agent admin". (0.18.16 removed visitors' outline
   "Agent log in"; #55 brings it back, below.) The panel ends 24px under the last button. */
body.tl-marketing-body :is(.tl-mobile-menu__post, .tl-mobile-menu__inbox) { margin-top: 16px; }
/* #55 (2 Oct): visitors get the white "Agent log in" (.tl-btn-outline: white, 1.5px teal
   border, teal label, 48px like Post) 12px under Post; the panel still ends 24px under it.
   The helper's --admin variant gets the same spacing if it is ever printed. */
body.tl-marketing-body .tl-mobile-menu__agent { margin-top: 12px; }
body.tl-marketing-body .tl-mobile-menu__post .tl-icon { width: 20px; height: 20px; }
body.tl-marketing-body .tl-btn-block { display: flex; width: 100%; }

/* Full bar, 901-1279: tighten. 901-1179: tighter still, and Post shows "Post a plan" with
   its icon (0.18.8; it was icon-only). 0.18.16: 0.18.8's extra 901-1023 step (13px nav on
   10px gaps, 12px bar gap, 16px sides, 32px logo, 8px between the actions) is gone. It
   only existed to fit "Log in" beside "Post a plan"; without it the 901-1179 sizes leave
   the nav 77px spare at 901 (visitor; 92px agent), in both engines. Where the bar doesn't
   fit (enlarged text), tl-menu.js goes compact. */
@media (max-width: 1279px) {
	body.tl-marketing-body .tl-site-header { --tl-hdr-gap: 20px; --tl-hdr-pad-x: 20px; --tl-hdr-logo-h: 40px; }
	body.tl-marketing-body .tl-site-nav__list { gap: 4px 20px; }
}
@media (max-width: 1179px) and (min-width: 901px) {
	body.tl-marketing-body .tl-site-header { --tl-hdr-logo-h: 36px; }
	body.tl-marketing-body .tl-site-nav__list { gap: 4px 14px; }
	body.tl-marketing-body .tl-site-nav__link { font-size: 14px; }
	body.tl-marketing-body .tl-site-header__post-full { display: none; }
	body.tl-marketing-body .tl-site-header__post-short { display: inline; }
}
/* (0.18.2's <=900 block is the compact state now: see the top of M2.) */
/* 0.18.5 (Daniel): phones. The agent bar is logo + menu button, the same as the visitor's;
   "My inbox" is the last item in the menu panel (.tl-mobile-menu__inbox, untouched).
   display:none also takes it out of the tab order. (0,2,1) beats .tl-btn's (0,2,0) display.
   This retires the 0.18.2 agent-only <=359 block (28px logo, 8px gap) and the <=380/<=319
   inbox paddings: nothing in the phone bar differs by state any more. */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-site-header__inbox { display: none; }
}
@media (max-width: 380px) {
	body.tl-marketing-body .tl-site-logo__img { height: 34px; }
}
/* Large text: below 320px layout width, only reachable with zoom (a 320-430px phone at
   200% = 160-215 layout). The logo (34px tall = 150 wide) plus the menu button need more
   than that, so below it the bar scrolled sideways (ux slice 18 F1). The bar may wrap:
   a 28px logo, and the actions (right-aligned, as at every width) drop to a second row when
   they don't fit beside it (below ~288px); the menu button never shrinks. "Post a travel
   plan" and (0.18.5) the agent's "Agent admin" are both out of the bar here and in the
   menu panel, so the actions hold the menu button alone. */
@media (max-width: 319px) {
	body.tl-marketing-body .tl-site-header__bar { flex-wrap: wrap; gap: 8px; min-height: 0; padding: 8px 12px; }
	body.tl-marketing-body .tl-site-logo__img { height: 28px; }
	body.tl-marketing-body .tl-site-header__actions { flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
	body.tl-marketing-body .tl-site-header .tl-menu-toggle,
	body.tl-marketing-body .tl-site-header .tl-menu-toggle:is(:hover, :focus, :active) { flex: none; }
	/* The two-row bar is 117px tall (was 73): keep the panel inside the viewport. */
	body.tl-marketing-body .tl-mobile-menu { max-height: calc(100vh - 117px); max-height: calc(100dvh - 117px); padding: 4px 12px 16px; }
	body.tl-marketing-body .tl-mobile-menu__link { min-height: 48px; font-size: 16px; }
}

/* ---- M3. Elementor sections: shared frame ---------------------------------------
   Our section classes sit on Elementor containers. Boxed containers put their
   children in .e-con-inner; we size that to 1200px with 24px gutters (16px mobile). */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-hero, .tl-home-how, .tl-home-destinations, .tl-home-cards) {
	--tl-sec-pad-x: 24px;
	padding: 0 var(--tl-sec-pad-x);
}
body.tl-marketing-body .tl-marketing-main :is(.tl-home-hero, .tl-home-how, .tl-home-destinations, .tl-home-cards) > .e-con-inner {
	width: 100%;
	max-width: calc(1248px - 2 * var(--tl-sec-pad-x)); /* the header's frame (final review F1; was 1200) */
	margin: 0 auto;
	padding: 0;
}
/* The header's side padding at every width (M2: 24, 20 at <=1279, 16 at <=900 or with the compact bar), so
   the content starts on the logo's x (STYLE-CHECKLIST §4, final review F1). 1280+ is unchanged (24 + 1200). */
@media (max-width: 1279px) { body.tl-marketing-body .tl-marketing-main :is(.tl-home-hero, .tl-home-how, .tl-home-destinations, .tl-home-cards) { --tl-sec-pad-x: 20px; } }
@media (max-width: 900px) { body.tl-marketing-body .tl-marketing-main :is(.tl-home-hero, .tl-home-how, .tl-home-destinations, .tl-home-cards) { --tl-sec-pad-x: 16px; } }
body.tl-marketing-body:has(.tl-site-header--compact) .tl-marketing-main :is(.tl-home-hero, .tl-home-how, .tl-home-destinations, .tl-home-cards) { --tl-sec-pad-x: 16px; }
/* Our Elementor containers set their own gaps; kill the default 10px container padding. */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-hero__intro, .tl-home-hero__art, .tl-home-hero__actions, .tl-home-trust, .tl-home-steps, .tl-home-step, .tl-home-dest-grid, .tl-home-card) { padding: 0; }
/* Text Editor paragraphs: Astra gives p a 1.75em bottom margin. */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-hero__sub, .tl-home-how__sub, .tl-home-card__text) p { margin: 0; }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-hero__sub, .tl-home-how__sub, .tl-home-card__text) p + p { margin-top: 0.8em; }
/* How it works intro = the section intro (STYLE-CHECKLIST §3, chunk 3): 15 / 1.6 body, max 36em. (0,4,1) beats the text-editor
   widget's own typography ((0,3,0)) and Elementor's (0,4,0) widget max-width. */
body.tl-marketing-body .tl-marketing-main .tl-home-how .tl-home-how__sub { max-width: 36em; color: var(--tl-body); font-size: 15px; line-height: 1.6; }
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main :is(.tl-home-hero, .tl-home-how, .tl-home-destinations, .tl-home-cards) { --tl-sec-pad-x: 16px; }
}

/* Buttons (Elementor Button widget). Colour, type, radius and padding come from the
   Kit (primary) or the widget (outline); we only fix the height and icon. */
body.tl-marketing-body .tl-marketing-main .tl-home-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: var(--tl-control-h);
	padding-top: 0;
	padding-bottom: 0;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.tl-marketing-body .tl-marketing-main .tl-home-btn .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; }
body.tl-marketing-body .tl-marketing-main .tl-home-btn .elementor-button-icon { display: inline-flex; }
body.tl-marketing-body .tl-marketing-main .tl-home-btn .elementor-button-icon svg { width: 18px; height: 18px; fill: currentColor; }
body.tl-marketing-body .tl-marketing-main .tl-home-btn .elementor-button:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; } /* STYLE-CHECKLIST §10, chunk 4 (was navy, 3px) */

/* ---- M4. Empty art slots ---------------------------------------------------------
   Every art slot is an Elementor Image widget (or Image Box image) waiting for
   Daniel's Canva file. Empty, it must take no space. Elementor prints nothing for an
   empty Image widget, but a container can still print whitespace, so collapse any
   slot or art column without an <img>. */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-hero__art, .tl-art-slot--palm-trees, .tl-art-slot--agents-illustration):not(:has(img)),
body.tl-marketing-body .tl-art-slot--footer-script:not(:has(img)) { display: none; }
body.tl-marketing-body .tl-marketing-main .tl-art-slot img,
body.tl-marketing-body .tl-art-slot--footer-script img { display: block; width: 100%; height: auto; }
/* Decorative art never catches clicks. */
body.tl-marketing-body :is(.tl-art-slot--palm-trees, .tl-art-slot--agents-illustration, .tl-art-slot--footer-script) { pointer-events: none; }

/* ---- M5. Hero (slice 14: photo + mini-form) ---------------------------------------
   Locked mocks: desktop-homepage-layout-4.png, mobile-homepage-layout-2.png.
   - Background (slice 16): the photo comes from the Hero images library, not Elementor.
     triplead-core marks the container .tl-hero-managed and prints data-tl-hero, data-overlay
     and the image URLs/positions as custom properties (--tl-hero-desktop/-tablet/-mobile,
     --tl-hero-pos-*); the rules below switch them at Elementor's breakpoints (desktop
     >=1025, tablet 768-1024, mobile <=767). Elementor holds no hero background any more.
     Otherwise (data-tl-hero="none", or the class removed = rotation off) the soft sky
     gradient (--tl-hero-sky) shows.
   - Scrim (::after; Elementor owns ::before for its own overlay): white -> transparent
     behind the text column. Desktop/tablet: a left fade masked to the top of the hero,
     strength per image from data-overlay (light / standard / strong, tokens in
     triplead.css). Mobile: one top-block scrim for every overlay (M5m, pending redesign).
   - Never overflow:hidden on the hero or anything inside it: the destination
     autocomplete list must hang out over the trust row and the next section. The hero
     is its own stacking layer (z-index 2) above the sections below. */
body.tl-marketing-body .tl-marketing-main .tl-home-hero {
	position: relative;
	z-index: 2;
	overflow: visible;
	background-color: var(--tl-wash);
	background-image: var(--tl-hero-sky);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
/* The library photo (desktop/tablet), M5d (cap, edge fade, fixed scale), the "none" sky, the
 overlay strengths and the ::after scrim moved to triplead.css 3g (0.22.3), shared with /post/.
 Selectors and specificity unchanged; M5m and M5o below still override them by source order. */
body.tl-marketing-body .tl-marketing-main .tl-home-hero > .e-con-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 28px;
	padding: 64px 0 44px;
	text-align: left;
}
body.tl-marketing-body .tl-marketing-main .tl-home-hero__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; max-width: 720px; }
body.tl-marketing-body .tl-marketing-main .tl-home-hero__intro > * { width: 100%; }
/* Eyebrow is typed in sentence case; the mock letter-spaces it in capitals. */
body.tl-marketing-body .tl-marketing-main .tl-eyebrow .elementor-heading-title { text-transform: uppercase; letter-spacing: 0.28em; }
/* (0,4,1): the widget's typography rule doesn't carry the global line-height, so set it. */
body.tl-marketing-body .tl-marketing-main .tl-home-hero__title .elementor-heading-title { line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
/* (0,4,1): Elementor's ".elementor.elementor .e-con>.elementor-widget{max-width:100%}" is (0,4,0)
   and was letting the body line run ~650px wide, past the scrim's 0.70 stop. */
body.tl-marketing-body .tl-marketing-main .tl-home-hero__intro > .tl-home-hero__sub { max-width: 600px; margin: 0; }
/* The form (Elementor Shortcode widget holding [tl_home_form]) sits above the trust row
   and the next section so its autocomplete list is never covered. */
body.tl-marketing-body .tl-marketing-main .tl-home-hero .elementor-widget-shortcode { position: relative; z-index: 3; width: 100%; }

/* Trust row: under the card, on the photo (desktop). Icons (Lucide, teal) sit left of
   the text; thin dividers between items. */
body.tl-marketing-body .tl-marketing-main .tl-home-trust {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: stretch;
	gap: 0;
	width: 100%;
}
body.tl-marketing-body .tl-marketing-main .tl-home-trust__item { flex: 0 1 300px; min-width: 0; padding: 2px 28px; }
/* Desktop/tablet: the row sits on the photo, so it gets its own frosted backing (82% white
   alone is the fallback where backdrop-filter isn't supported), centred on the page (the
   card now spans the full 1200px container, like the How it works box). */
@media (min-width: 768px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-trust {
		justify-self: center;
		width: fit-content;
		max-width: 100%;
		padding: 12px 20px;
		border-radius: 12px;
		background: var(--tl-hero-trust-backing);
	}
	@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
		body.tl-marketing-body .tl-marketing-main .tl-home-trust { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
	}
	/* Size items to their text (a 300px basis made fit-content wrap the titles). */
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item { flex: 0 1 auto; max-width: 320px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item:first-child { padding-left: 4px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item:last-child { padding-right: 4px; }
}
body.tl-marketing-body .tl-marketing-main .tl-home-trust__item + .tl-home-trust__item { border-left: 1px solid var(--tl-line); }
body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-wrapper { display: flex; align-items: center; justify-content: flex-start; gap: 14px; text-align: left; }
body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-content { width: auto; min-width: 0; }
body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-title { margin: 0 0 2px; }
body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-description { margin: 0; }
/* (0,5,1): beats Elementor's default image-box width (30%) and 15px spacing. */
body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-wrapper .elementor-image-box-img { flex: none; width: 40px; margin: 0; }
body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-img img { display: block; width: 40px; height: 40px; }
/* Contrast safety net: mute (#637797) is 4.28:1 on the wash, below AA. The widgets
   should use the tlbody global here; until then this (0,5,1) rule beats Elementor's
   per-widget colour. Same for the How it works steps. */
body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-description,
body.tl-marketing-body .tl-marketing-main .tl-home-steps .tl-home-step__body .elementor-image-box-description { color: var(--tl-body); }
/* Titles read as labels: bold (the tlsmall global is 500). */
body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-title { font-weight: 700; }

/* ---- M5m. Mobile hero photo + scrim (<=767px), "portrait" mode ----------------------
   Slice 16's mobile look, kept for every overlay: the mobile crop from --tl-hero-mobile /
   --tl-hero-pos-mobile and the single --tl-hero-scrim-y, whatever data-overlay says.
   Slice 18: this is now the switch-OFF mode. When the hero has .tl-hero-band, M5o
   (after M5b) overrides it: no photo or scrim on the hero, the photo in its own band.
   Remove this block (and the tl-hero-band switch) once option A is the only mode. */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed[data-overlay] {
		background-image: var(--tl-hero-mobile, var(--tl-hero-sky));
		background-position: var(--tl-hero-pos-mobile, center center);
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-hero::after { background: var(--tl-hero-scrim-y); -webkit-mask-image: none; mask-image: none; }
}
/* ---- end M5m ---- */

/* Tablet: same layout as desktop. */
@media (max-width: 1024px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-hero > .e-con-inner { gap: 24px; padding: 48px 0 36px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item { padding: 2px 16px; }
}
/* Mobile: text on a top scrim, then the card over the lower part of the hero with the
   trust points in the card's footer. */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-hero > .e-con-inner { gap: 20px; padding: 28px 0 24px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero__intro { gap: 10px; }
	/* Slice 15: H1 38px/1.1 (the Kit's mobile tldisplay is 40px). (0,4,1) beats the widget's (0,4,0). */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero__title .elementor-heading-title { font-size: 38px; line-height: 1.1; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero .elementor-widget-shortcode { max-width: none; }
	/* Trust points (slice 15, BRIEF-15 §1): the card's footer, three single-line rows under
	   a 1px divider: 22px icon, bold navy label, then "· note" in mute (4.55:1 on white).
	   Rows ~36px, 13.5px text. The side padding matches the form's 14px so the divider and
	   icons line up with the fields above. */
	body.tl-marketing-body .tl-marketing-main .tl-home-trust {
		flex-direction: column;
		align-items: stretch;
		margin-top: -20px;
		padding: 0 14px 10px;
		border-radius: 0 0 16px 16px;
		border: 1px solid var(--tl-line);
		border-top: 0;
		background: var(--tl-white);
		box-shadow: none;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item { display: flex; flex: none; align-items: center; min-height: 36px; padding: 0; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item:first-child { min-height: 43px; padding-top: 7px; border-top: 1px solid var(--tl-line); }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item + .tl-home-trust__item { border-left: 0; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-wrapper { flex: 1 1 auto; flex-direction: row; align-items: center; gap: 12px; min-width: 0; text-align: left; }
	/* (0,5,1): 22px icon. Elementor's mobile ".elementor-image-box-img{margin-inline:auto!important}"
	   resolves to 0 because the text column below takes all the free space (no !important needed). */
	body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-wrapper .elementor-image-box-img { width: 22px; margin: 0; line-height: 0; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-img img { width: 22px; height: 22px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-content { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: baseline; }
	/* (0,5,1): size/weight/colour beat the widgets' tlsmall rules (0,4,0) and the desktop
	   700 / body-colour rules above. 0.18.14: no more nowrap. The label and the note are
	   still one line each whenever they fit (a flex line is filled by max-content widths,
	   so the note still drops whole under the label); an item alone that's wider than
	   the row (200% text, 160-195px zoom) now wraps instead of running off the screen. */
	body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-title,
	body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-description { min-width: 0; margin: 0; font-size: 13.5px; line-height: 1.35; overflow-wrap: anywhere; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-title { color: var(--tl-navy); font-weight: 600; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-description { color: var(--tl-mute); font-weight: 400; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-description::before { content: "\00b7"; margin: 0 4px; }
}
/* 360-389px: the longest row ("You're in control · Choose who to work with", ~274px at
   13.5px) is ~10px wider than the space, so tighten a touch to keep it on one line. */
@media (max-width: 389px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-wrapper { gap: 10px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-title,
	body.tl-marketing-body .tl-marketing-main .tl-home-trust .tl-home-trust__item .elementor-image-box-description { font-size: 13px; }
}
/* Below 360px a long row can't fit: the note drops under the label (no dot), and the row
   stays one column. */
@media (max-width: 359px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item { padding-block: 4px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-description { flex-basis: 100%; }
	body.tl-marketing-body .tl-marketing-main .tl-home-trust__item .elementor-image-box-description::before { content: none; }
}

/* ---- M5b. Hero mini-form [tl_home_form] --------------------------------------------
   The destination box is S1's destination field (triplead_destination_field()), and the
   field skin for both boxes (.tl-input / .tl-select / .tl-input-wrap--icon, placeholder,
   hover, focus, error border) comes from triplead.css 3b, shared with the traveller form
   (0.18.7; this file had its own copy before). The suggestion list is triplead.css 5e.
   Only the homepage's own pieces are here: card, grid, labels, the trip-type select's
   SVG chevron. The destination field (pills, tick box, error: BRIEF-21) is triplead.css 3e.
   Solid white card; controls and button 48px. No
   overflow:hidden anywhere (autocomplete). */
body.tl-marketing-body .tl-home-form {
	position: relative;
	margin: 0;
	padding: 22px 24px 24px;
	border: 1px solid var(--tl-line);
	border-radius: 16px;
	background: var(--tl-white);
	box-shadow: var(--tl-shadow-pop);
	color: var(--tl-body);
	font-family: var(--tl-font);
	text-align: left;
}
body.tl-marketing-body .tl-home-form *,
body.tl-marketing-body .tl-home-form *::before,
body.tl-marketing-body .tl-home-form *::after { box-sizing: border-box; }
body.tl-marketing-body .tl-home-form__fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	align-items: start;
	gap: 14px 16px;
}
body.tl-marketing-body .tl-home-form__field { min-width: 0; margin: 0; }
body.tl-marketing-body :is(.tl-home-form, .tl-home-cruise) .tl-label {
	display: block;
	margin: 0 0 8px;
	color: var(--tl-navy);
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
}
/* Trip-type select: the shared field (triplead.css 3b: 48px, 10px radius, pin-style
   20px mute icon at 16px, text at 46px) plus a Lucide chevron on the right, drawn by the
   span (S1's select uses a gradient chevron instead). The destination box has none. */
body.tl-marketing-body :is(.tl-home-form, .tl-home-cruise) .tl-select {
	padding-right: 44px;
	-webkit-appearance: none;
	appearance: none;
	text-overflow: ellipsis;
	cursor: pointer;
}
body.tl-marketing-body .tl-home-form__chevron {
	position: absolute;
	top: 50%;
	right: 14px;
	z-index: 1;
	display: flex;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	color: var(--tl-mute);
	pointer-events: none;
}
body.tl-marketing-body .tl-home-form__chevron .tl-icon { width: 20px; height: 20px; }
/* The empty option reads as a placeholder (mute on white 4.6:1), like the input's. */
body.tl-marketing-body :is(.tl-home-form, .tl-home-cruise) .tl-select:has(> option[value=""]:checked) { color: var(--tl-mute); }
body.tl-marketing-body :is(.tl-home-form, .tl-home-cruise) .tl-select option { color: var(--tl-navy); }

/* Error message: one style with S1's since BRIEF-21 (triplead.css 3e; this block had a
   byte-for-byte copy). The red border is 3b's. */

/* Button: the shared .tl-btn (solid teal, white, 8px, 48px; .tl-marketing is in its
   scope). Desktop: it sits level with the controls (label height + gap = 30px); since
   0.18.9 the subgrid below puts it in the control row instead, and the 30px is only the
   no-subgrid fallback. */
body.tl-marketing-body :is(.tl-home-form__submit, .tl-home-cruise__submit) { min-width: 250px; margin-top: 30px; padding: 0 28px; font-size: 17px; white-space: nowrap; }
body.tl-marketing-body :is(.tl-home-form__submit, .tl-home-cruise__submit) .tl-icon { width: 20px; height: 20px; }

/* The suggestions list: under the destination field, over the trust row and the next
   section (the Shortcode widget is z-index 3 in the hero). */
body.tl-marketing-body .tl-home-form :is(.tl-picker-list, .tl-inspire-panel) { z-index: 30; }
@media (max-width: 1024px) {
	body.tl-marketing-body .tl-home-form__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	body.tl-marketing-body .tl-home-form__submit { grid-column: 1 / -1; width: 100%; margin-top: 2px; }
	body.tl-marketing-body .tl-home-form { padding: 20px 18px 20px; }
	body.tl-marketing-body .tl-home-form__fields { column-gap: 12px; }
}
/* Mobile: stacked fields, full-width button; the trust row below is the card's footer,
   so the card's bottom corners square off and its shadow moves to the pair. */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-home-form { padding: 20px 14px 18px; border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: none; }
	body.tl-marketing-body .tl-home-form__fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	body.tl-marketing-body .tl-home-form__submit { min-width: 0; margin-top: 4px; }
}
/* M5b2. The form as one grid at 768 and up (0.18.10; BRIEF-21; 0.20.2, Daniel 30 Sep: the
   destination column is the label row with "Get inspired ->" on its right, the input, the
   tick box, the error, the pills). Phones (<=767) are the DOM order, which is the visual
   order: triplead.css 3e (the destination field's own rows) and 3c (the label row). S1
   (/post/) never matches (.tl-home-form only).
   Markup: form > div.__fields > [div.tl-field.tl-dest.__field--destination (3e)]
   + [div.__field--type > label, control wrap, span.screen-reader-text, error] + submit;
   then div.tl-home-card__foot (AI switch + helper + status; only with TripLead AI on).
   From 768 the FORM is the grid. .__fields is display:contents (3e also makes the picker
   root display:contents), so the label rows, boxes, tick box, error, pills, submit and foot
   sit on one set of rows. Each field spans rows 1-8 as a subgrid (3e's row numbers), so
   labels, controls and errors stay level whatever each field holds:
     row  destination column (3e)        trip type     column 3 (1025+)
     1    label + "Get inspired"         label
     2    input (+ list, + panel)        select        "Post a travel plan"
     3    "Open to ideas" tick box       type error    foot: "Continue with AI ->" + helper,
     4    (S1's "Please confirm")                     cols 2-3, rows 3-9 (4-9 while the
     5    destination error                            type error shows)
     6    (S1's hint)
     7    pills + "+N more"
     8    limit note
     9    minmax(0,1fr): the rest of the foot
   - Row 1 is as tall as the taller label row. When "Get inspired" wraps under the label (a
     narrow column at 1025-1100, 200% text), row 1 grows and trip type's label stays at its
     top, so the select, the input and the submit (row 2) stay level with each other.
   - Pills last (D1): nothing in rows 1-6 depends on them, and trip type, the submit and
     the foot sit in rows 1-3. The foot spans the flexible row 9, and items that span a
     flexible row are left out of auto row sizing, so it doesn't stretch rows 3-8 and
     tall pills don't move it.
   - "Continue with AI ->" (1025+) belongs to the button: its line stays 12px under the
     button (M5c3), whatever the destination column holds. The foot starts on row 3, the
     tick box's row. With a trip type error showing, the foot moves to row 4, under the
     error; the error and the tick box share row 3 (the tick box row is the taller unless
     the error wraps), so the tick box never moves.
   - 768-1024: two columns; the submit is full width on row 9 (12px under the destination
     column's last item), then the foot on row 10. The button moves down as pills wrap here
     (Daniel 29 Sep: keep for now; the fix would need an actions wrapper).
   - Lists: the suggestion list and the panel (row 2) are placed by 3e; M5b's z 30 lifts
     them over the trust row. Nothing between clips them.
   Without subgrid (Safari <16, Chrome <117) this block is skipped: the __fields grid stays
   (the submit's 30px top offset keeps it level with the boxes while the label row is one
   line), and the destination field is still 3e's own grid in the same order; trip type
   and the submit are align-self:start. */
@supports (grid-template-rows: subgrid) {
	@media (min-width: 768px) {
		body.tl-marketing-body .tl-home-form:not([hidden]) {
			display: grid;
			grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
			grid-template-rows: repeat(8, auto) minmax(0, 1fr);
			align-items: start;
			gap: 0 16px;
		}
		body.tl-marketing-body .tl-home-form__fields { display: contents; }
		body.tl-marketing-body .tl-home-form__field { display: grid; grid-row: 1 / span 8; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); align-content: start; }
		body.tl-marketing-body .tl-home-form__field--destination { position: relative; grid-column: 1; }
		body.tl-marketing-body .tl-home-form__field--type { grid-column: 2; }
		body.tl-marketing-body .tl-home-form__field--type > .tl-field-error { grid-row: 3; }
		body.tl-marketing-body .tl-home-form__submit { grid-column: 3; grid-row: 2; align-self: start; margin-top: 0; }
		body.tl-marketing-body .tl-home-form .tl-home-card__foot { grid-column: 2 / -1; grid-row: 3 / span 7; align-self: start; }
		body.tl-marketing-body .tl-home-form:has(.tl-home-form__field--type > .tl-field-error:not([hidden])) .tl-home-card__foot { grid-row: 4 / span 6; }
	}
	@media (min-width: 768px) and (max-width: 1024px) {
		body.tl-marketing-body .tl-home-form:not([hidden]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; column-gap: 12px; }
		body.tl-marketing-body .tl-home-form__submit { grid-column: 1 / -1; grid-row: 9; margin-top: 12px; }
		body.tl-marketing-body .tl-home-form .tl-home-card__foot,
		body.tl-marketing-body .tl-home-form:has(.tl-home-form__field--type > .tl-field-error:not([hidden])) .tl-home-card__foot { grid-column: 1 / -1; grid-row: 10; }
	}
}

/* ---- M5o. Mobile hero, option A: "a window onto the destination" (slice 18) -----------
   BRIEF-18 + HERO-OPTION-A plan §3. One switch (Settings > Hero images) adds .tl-hero-band
   to the managed hero; every rule below needs .tl-home-hero.tl-hero-managed.tl-hero-band
   AND <=767px. Without the class, mobile is M5m (portrait photo + scrim), untouched;
   >=768 is untouched in both modes.
   Layout (<=767): intro on white -> full-width photo band (.tl-home-hero__band, an empty
   Elementor container core-dev places between the intro and the form) -> the card (form +
   trust rows) overlapping the band by 20px -> brand wash, 24px below the card.
   - The hero drops its side padding, so the band is full width with no breakout trick
     (no 100vw, no horizontal scroll); the intro and the card set their own insets.
   - No photo and no scrim on the hero: background-image:none (so no var resolves and
     nothing downloads) and ::after content:none. data-overlay therefore does nothing here.
   - The band is the only image. It's a background (decorative, aria-hidden), clipped by
     its own box; nothing else clips. The form keeps its z-index 3 layer, so the card and
     the autocomplete list sit above the band; no new stacking context is added.
   (0,5,1) ties M5m's .tl-hero-managed[data-overlay] and wins by source order (this block
   comes later). Nothing here needs an important flag. */
body.tl-marketing-body .tl-marketing-main .tl-home-hero__band { display: none; }
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band {
		padding-left: 0;
		padding-right: 0;
		background-color: var(--tl-wash);
		background-image: none;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band::after { content: none; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band > .e-con-inner { gap: 0; padding: 0 0 24px; }

	/* Intro on white: 22 / 20 / 20, kicker hidden (mobile only), 12px H1 -> body gap. */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__intro {
		gap: 12px;
		max-width: none;
		padding: 22px 16px 20px; /* the 16px gutter, the logo's x (final review F1; was 20) */
		background: var(--tl-white);
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__eyebrow { display: none; }
	/* H1 34px/1.1, 800, about -1px tracking (beats the widget's (0,4,0) and M5's (0,4,1)). */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__title .elementor-heading-title {
		font-size: 34px;
		font-weight: 800;
		line-height: 1.1;
		letter-spacing: -0.03em;
	}
	/* Body 16px/1.55 (the bold navy "Up to 3 trusted agents" is M1's rule). */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__sub,
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__sub p { font-size: 16px; line-height: 1.55; }

	/* The band: full width, square, no tint. Height reserved before the image loads:
	   144 at 320, 159 at 360, 172 at 390, 190 at 430, 220 from 499. Elementor's container
	   defaults (10px --padding-*, min-height var, border/radius vars) are zeroed here.
	   teal-soft shows while the photo loads. */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__band {
		display: block;
		width: auto;
		height: clamp(144px, 44.1026vw, 220px);
		min-height: 0;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		/* The photo (wide crop, teal-soft while loading, sky when none): triplead.css 3g-band,
		   shared with /post/ (0.22.3). */
	}

	/* The card: form (top) + trust rows (footer), 16px from the edges, pulled 20px up over
	   the band. Opaque white, brand border, 14px card radius. The subtle card shadow sits on
	   the footer only: on the form it would fall across the trust rows, which sit below the
	   form's z-index 3 layer (and must, or they'd cover the autocomplete list). */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__form {
		width: auto;
		max-width: none;
		margin: -20px 16px 0;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-form {
		padding: 20px 16px 18px;
		border-radius: var(--tl-radius-card) var(--tl-radius-card) 0 0;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-trust {
		width: auto;
		margin: 0 16px;
		padding: 0 16px 10px;
		border-radius: 0 0 var(--tl-radius-card) var(--tl-radius-card);
		box-shadow: none; /* STYLE-CHECKLIST §6, chunk 4 (was --tl-shadow-card) */
	}
}
@media (max-width: 359px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__title .elementor-heading-title { font-size: 31px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__form { margin-left: 12px; margin-right: 12px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-trust { margin-left: 12px; margin-right: 12px; }
}
/* Large text (200% zoom on a 320-390px phone leaves a 160-195px layout viewport): let
   "starts here." and the trust rows wrap, and break a word only if it can't fit at all,
   so nothing runs off the screen. Real phone widths never reach this. */
@media (max-width: 259px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__title .elementor-heading-title { overflow-wrap: anywhere; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__title .tl-accent-teal { white-space: normal; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-trust .tl-home-trust__item :is(.elementor-image-box-title, .elementor-image-box-description) { white-space: normal; overflow-wrap: anywhere; }
	/* The CTA label wraps onto two lines (min-height, not height, so it grows). */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-form__submit { padding-left: 12px; padding-right: 12px; white-space: normal; }
}
/* ---- end M5o ---- */

/* ---- M5c. Homepage card: form mode + AI mode (slice 19a) -----------------------------
   BRIEF-19 §4 + the design doc's "Layout and height". The markup (includes/home-form.php)
   only exists when TripLead AI is on or in the admin preview (?tl_ai=1):
     div.tl-hero-card[data-tl-home-card][data-mode=form|ai][data-ai-state=start|chat]
       form.tl-home-form (+ div.tl-home-card__foot)   |   section.tl-ai   |   template
   With AI off there is no .tl-hero-card and nothing here matches: the live card (M5b) is
   untouched, pixel for pixel.
   - Root: .tl-hero-card[data-mode] at (0,4,1). (It was .tl-home-card, which clashed with
     the Elementor "For travellers / For agents" panels in M8; core-dev renamed it in 19a,
     so the leak guard that re-set M8's properties is gone.) The child classes keep their
     tl-home-card__ names (foot, helper, switch, status); none of them is used by M8.
   - One card surface for both modes: the white card moves from .tl-home-form (M5b/M5o)
     to .tl-hero-card, and the form inside goes flat. Paddings are custom properties so
     the breakpoint (x) and mode (top/bottom) rules never fight on specificity.
   - The card is a flex column. In AI mode it is capped (max-height): only the transcript
     shrinks and scrolls (min-height:0; overflow-y:auto). Header, composer and status are
     flex:none and never scroll. No child has a min-height that could defeat the cap.
     Cap = the smaller of 320px and the visible viewport (--tl-vvh from ai-card.js when
     set, else 100dvh/100vh) less 16px, but never below --tl-ai-floor (header + composer +
     one bubble), so a keyboard-squashed viewport never hides the controls.
   - Visibility is the hidden attribute (JS); [hidden] wins over every display rule here
     by coming last at (0,5,1). No !important anywhere in this block. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] {
	--tl-card-px: 24px;
	--tl-card-pt: 22px;
	--tl-card-pb: 24px;
	--tl-ai-cap: 320px;
	--tl-ai-floor: 184px;
	--tl-ai-vh: 100vh;
	--tl-ai-gap: 10px;
	--tl-ai-new-h: 36px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: var(--tl-card-pt) var(--tl-card-px) var(--tl-card-pb);
	border: 1px solid var(--tl-line);
	border-radius: 16px;
	background: var(--tl-white);
	box-shadow: var(--tl-shadow-pop);
	color: var(--tl-body);
	font-family: var(--tl-font);
	text-align: left;
	box-sizing: border-box;
}
@supports (height: 100dvh) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] { --tl-ai-vh: 100dvh; }
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] *,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] *::before,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] *::after { box-sizing: border-box; }
/* The form inside the card is flat (its M5b card surface now lives on the card). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] > .tl-home-form {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
/* Form mode with the JS foot shown: a tighter bottom (the foot's line sits in it), so the
   card grows by about the helper line only. Without :has (old engines) it stays 24px. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode="form"]:has(.tl-home-card__foot:not([hidden])) { --tl-card-pb: 16px; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode="ai"] {
	--tl-card-pt: 18px;
	--tl-card-pb: 20px;
	max-height: max(var(--tl-ai-floor), min(var(--tl-ai-cap), calc(var(--tl-vvh, var(--tl-ai-vh)) - 16px)));
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode="ai"][data-ai-state="chat"] { --tl-card-pt: 16px; --tl-card-pb: 16px; }

/* Form-mode foot: the AI switch, then its helper line (and the status line). The layout by
   width is M5c3's: phones centre the link with the caption under it; 768+ (0.18.8) put the
   link right, under the main button, with the caption right-aligned under it. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 16px;
	margin: 10px 0 0;
	padding: 0;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__helper {
	flex: 1 1 11em;
	min-width: 0;
	margin: 0;
	color: var(--tl-mute);
	font-size: 14px; /* muted small text, STYLE-CHECKLIST §3 (chunk 3; was 13.5) */
	font-weight: 400;
	line-height: 20px;
}
/* The card's notice line (19b): "The AI planner isn't available right now…" or "Let's
   finish this in the form." after a fall-back to form mode. A calm info notice, not an
   error: wash fill, line border, a teal rule, navy text (14.0:1 on wash). Own row under
   the helper/switch; :empty takes no space (rule at the end of the block). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__status {
	flex: 1 1 100%;
	margin: 6px 0 0;
	padding: 8px 12px;
	border: 1px solid var(--tl-line);
	border-left: 3px solid var(--tl-teal);
	border-radius: 8px;
	background: var(--tl-wash);
	color: var(--tl-navy);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}
/* Mode switches ("Plan with AI", "Use the form"): text links, 44px tall hit area that
   takes only its 20px line (-12px margins), so the switch adds no height. Every property
   is set: Astra's and the Kit's bare button rules (0,1,1)/(0,2,1) would paint them. */
body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: -12px 0 -12px auto;
	padding: 0 2px;
	border: 0;
	border-radius: var(--tl-radius-btn);
	background: transparent;
	box-shadow: none;
	color: var(--tl-teal);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 0;
	text-align: right;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}
body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch:is(:hover, :focus, :active) {
	background: transparent;
	color: var(--tl-teal-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch .tl-icon { width: 16px; height: 16px; }

/* AI panel: a column; only the transcript shrinks. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--tl-ai-gap);
	min-height: 0;
	margin: 0;
	padding: 0;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__header {
	display: flex;
	flex: none;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 16px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
/* h2: Astra's and the Kit's heading rules set size/colour/margins, so all set here. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: var(--tl-navy);
	font-family: inherit;
	font-size: 19px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: -0.01em;
	text-transform: none;
	clear: none;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__transcript {
	flex: 1 1 auto;
	min-height: 0;
	margin: 0;
	padding: 10px 4px;
	overflow-x: hidden;
	overflow-y: auto;
	border-top: 1px solid var(--tl-line);
	border-bottom: 1px solid var(--tl-line);
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msgs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
/* "Trip AI" label left of its bubble, "You" right of its bubble. No avatars. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg--you { flex-direction: row-reverse; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__label {
	flex: none;
	color: var(--tl-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 20px;
	white-space: nowrap;
}
/* Bubbles: AI navy on teal-soft (13.3:1), You white on teal (4.74:1). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__text {
	flex: 0 1 auto;
	min-width: 0;
	max-width: min(80%, 36em);
	margin: 0;
	padding: 8px 12px;
	border-radius: 12px;
	background: var(--tl-teal-soft);
	color: var(--tl-navy);
	font-size: 14.5px;
	font-weight: 400;
	line-height: 20px;
	white-space: pre-line;
	overflow-wrap: anywhere;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg--you .tl-ai__text { background: var(--tl-teal); color: var(--tl-white); }
/* "New message": floats over the transcript's bottom edge, 8px up, centred. It sits
   between the transcript and the composer in the flex column, so its margins cancel its
   own height and the gap before it (net 0): showing it never moves anything. The ::before
   stretches the 36px pill to a 44px hit area. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__new {
	position: relative;
	z-index: 2;
	display: inline-flex;
	flex: none;
	align-self: center;
	align-items: center;
	gap: 6px;
	height: var(--tl-ai-new-h);
	margin: calc(-1 * (var(--tl-ai-new-h) + 8px + var(--tl-ai-gap))) 0 8px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--tl-radius-pill);
	background: var(--tl-navy);
	box-shadow: var(--tl-shadow-pop);
	color: var(--tl-white);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__new::before { content: ""; position: absolute; inset: -4px 0; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__new:is(:hover, :focus, :active) { background: var(--tl-teal-hover); color: var(--tl-white); }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__new .tl-icon { width: 16px; height: 16px; }

/* Composer: textarea + Send (the shared .tl-btn, 48px). Start state: a 2-line (70px)
   input; chat: one line, 48px, level with Send. 16px text (no iOS focus zoom). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__composer {
	display: flex;
	flex: none;
	align-items: flex-end;
	gap: 12px;
	margin: 0;
	padding: 0;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__input {
	display: block;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 70px;
	min-height: 0;
	max-height: none;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--tl-line);
	border-radius: 10px;
	background: var(--tl-white);
	box-shadow: none;
	color: var(--tl-navy);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	overflow-y: auto;
	resize: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-state="chat"] .tl-ai__input { height: var(--tl-control-h); }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__input::placeholder { color: var(--tl-mute); opacity: 1; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__input:hover { border-color: var(--tl-teal-bright); }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__input:focus { border-color: var(--tl-teal); box-shadow: var(--tl-focus-ring); outline: 0; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__send {
	flex: none;
	min-width: 120px;
	margin: 0;
	padding: 0 22px;
	font-size: 17px;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__send .tl-icon { width: 20px; height: 20px; }
/* Busy (19b: data-ai-busy="1" while a turn runs, Send disabled). Send reads as off: grey
   fill, line border, mute icon/label, no hover change (the shared .tl-btn:hover is
   (0,2,0)). Disabled controls are exempt from contrast; mute on neutral-soft is 4.2:1. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__send:disabled,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__send:disabled:is(:hover, :focus, :active) {
	border-color: var(--tl-line);
	background: var(--tl-neutral-soft);
	color: var(--tl-mute);
	cursor: not-allowed;
}
/* The transcript while busy: the status line says it; only the cursor hints. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__transcript[aria-busy="true"] { cursor: progress; }
/* "Trip AI is replying…": a quiet status line under the composer, not an error. Mute
   (4.6:1 on white), regular weight, 13.5px. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__status {
	flex: none;
	margin: 0;
	color: var(--tl-mute);
	font-size: 14px; /* muted small text, STYLE-CHECKLIST §3 (chunk 3; was 13.5) */
	font-weight: 400;
	line-height: 20px;
}

/* ---- M5c4. Finish in the chat (BRIEF-20) ---------------------------------------------
   Replaces 19b's hand-off (.tl-ai__handoff, "Review and add your details" -> /post/): the
   chat now ends with a summary card, the consent block and "Agree and post my plan", all
   inside the transcript (ol.tl-ai__msgs), so they scroll with it in the in-card chat (M5c)
   and in the phone full screen (M5f) alike. Markup contract: BRIEF-20-plan.md §4, plus the
   css-check additions (Confirm button, disclaimer line, Edit inside the dd) in docs/CSS.md.
     .tl-hero-card[data-ai-stage=trip|contact|review|ready|edit][data-ai-posting="1"][data-ai-posted="1"]
       li.tl-ai__msg.tl-ai__msg--summary > section.tl-ai-summary
         header.tl-ai-summary__head > h3.tl-ai-summary__title + p.tl-ai-summary__hint
         dl.tl-ai-summary__rows > div.tl-ai-summary__row[data-row](.is-tentative)
           dt.tl-ai-summary__label
           dd.tl-ai-summary__value > span.tl-ai-summary__text, span.tl-ai-summary__pill,
             button.tl-btn.tl-btn-outline.tl-ai-summary__confirm, button.tl-ai-summary__edit
         div.tl-ai-summary__consent > p.__consent-label, p.__consent-text, p.__disclaimer
         p.tl-ai-summary__blocked[hidden], div.tl-hp, button.tl-btn.tl-ai-summary__post,
         p.tl-ai-summary__error[hidden]
       li.tl-ai__msg--ai.tl-ai__msg--finish > span.tl-ai__label, p.tl-ai__text, a.tl-ai__finish-link[hidden]
       p.tl-ai__privacy[hidden] (after the composer)
   - Desktop/tablet in-card cap: 320px would leave ~180px of transcript for a ~10-row card,
     so while the card shows (stage review/ready, and after posting) the cap is 600px, still
     bounded by the visible viewport less 16px (M5c's formula). The hero grows with it (M5d
     keeps the photo's scale; its bottom fades as it already does for the chat).
   - Rows: label over value while the card is narrow (<300px inside: 320px phones, 200%
     text); label | value beside it from 300px (a container query on the card, so the phone
     full screen and the in-card chat each get what fits). Old engines without container
     queries keep the stacked rows.
   - Every hit area is 44px: Edit is a text button with a 44px box on -12px margins (row
     padding 12px, so neighbouring boxes never overlap), Confirm is the shared outline
     button at 44px (the wizard's Confirm height), the post button is the shared 48px .tl-btn.
   - Colours: label navy (14.4:1), value body (7.4:1), hint/privacy mute on white (4.6:1),
     consent/disclaimer body on wash (7.0:1), pill navy on amber-soft (13.9:1), links
     teal-hover (6.3:1 white, 6.0:1 wash), error danger on danger-soft (5.9:1).
   No !important, no inline styles, no new tokens. */
/* 0.19.1: also while any summary card (live or stale) is in the transcript, so an Edit or a
   read-back correction (stale card + the re-asked question) doesn't drop the chat to 320px
   and grow it back when the fresh card lands. Engines without :has() keep the stage list. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode="ai"]:is([data-ai-stage="review"], [data-ai-stage="ready"], [data-ai-stage="edit"], [data-ai-posted="1"], :has(.tl-ai-summary)) { --tl-ai-cap: 600px; }

/* Links inside the chat (consent, privacy note, status/error "Finish in the form"): S1's
   .tl-link look. Astra's link rules set colour on every state, so all are set. Scoped to
   .tl-ai so the form mode's "Get inspired" link (triplead.css 3c) is untouched. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai .tl-link,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai .tl-link:visited {
	color: var(--tl-teal-hover);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai .tl-link:is(:hover, :focus, :active) { color: var(--tl-navy); text-decoration: underline; }

/* First-time note under the composer: small and muted (mute on white 4.6:1). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__privacy {
	flex: none;
	margin: -4px 0 0;
	padding: 0;
	color: var(--tl-mute);
	font-size: 13px; /* 13px floor (Daniel, 4 Oct; was 12.5) */
	font-weight: 400;
	line-height: 18px;
}

/* The composer while posting (all controls [disabled]): the input reads as off. WebKit
   paints disabled text through -webkit-text-fill-color and fades it, so both are set. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__input:disabled,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__input:disabled:hover {
	border-color: var(--tl-line);
	background: var(--tl-wash);
	box-shadow: none;
	color: var(--tl-mute);
	-webkit-text-fill-color: var(--tl-mute);
	opacity: 1;
	cursor: not-allowed;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__restart:disabled,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__restart:disabled:is(:hover, :focus, :active) { color: var(--tl-mute); text-decoration: none; cursor: not-allowed; }

/* The summary: one full-width message (no label, no bubble). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg.tl-ai__msg--summary { display: block; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary {
	container: tl-ai-summary / inline-size;
	max-width: 600px; /* the wide in-card chat (up to ~1150px) would push Edit far from its value */
	margin: 2px 0;
	padding: 12px 12px 14px;
	border: 1px solid var(--tl-line);
	border-radius: 12px;
	background: var(--tl-white);
	color: var(--tl-body);
	font-size: 14.5px;
	line-height: 20px;
}
/* h3/p/dl/dt/dd: Astra and the Kit set heading type, p margins and dd indents, so every
   box and type property is set. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__head { margin: 0 0 8px; padding: 0; border: 0; background: none; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__title {
	margin: 0;
	padding: 0;
	color: var(--tl-navy);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: -0.01em;
	text-transform: none;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__hint { margin: 2px 0 0; color: var(--tl-mute); font-size: 13px; font-weight: 400; line-height: 18px; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__rows { margin: 0; padding: 0; }
/* Narrow (default): label over value. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2px 12px;
	align-items: start;
	margin: 0;
	padding: 12px 0;
	border-top: 1px solid var(--tl-line);
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__label {
	margin: 0;
	padding: 0;
	color: var(--tl-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 20px;
	overflow-wrap: anywhere;
}
/* The value: text with Edit at its right; on a tentative row, the pill with Confirm under it. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__value {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "text edit" "pill confirm";
	column-gap: 8px;
	align-items: center;
	margin: 0;
	padding: 0;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__text {
	grid-area: text;
	align-self: start;
	min-width: 0;
	color: var(--tl-body);
	font-size: 14.5px;
	font-weight: 400;
	line-height: 20px;
	overflow-wrap: anywhere;
}
/* Edit: S6's review-row Edit (teal 700, underlined) on a <button>, so every property
   Astra's and the Kit's bare button rules paint is set. 44px box on -12px margins: it
   takes only the value's first 20px line; -8px right puts the text on the card's edge. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__edit {
	grid-area: edit;
	align-self: start;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: -12px -8px -12px 0;
	padding: 0 8px;
	border: 0;
	border-radius: var(--tl-radius-btn);
	background: transparent;
	box-shadow: none;
	color: var(--tl-teal);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__edit:is(:hover, :focus, :active) { background: transparent; color: var(--tl-teal-hover); text-decoration: underline; }
/* "Please confirm": the wizard's tentative language (amber-soft, navy, an amber dot that
   is decoration only: the words carry it) as a pill. Text, not colour alone. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__pill {
	grid-area: pill;
	justify-self: start;
	position: relative;
	max-width: 100%;
	margin: 12px 0 0;
	padding: 3px 10px 3px 24px;
	border-radius: var(--tl-radius-pill);
	background: var(--tl-amber-soft);
	color: var(--tl-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 18px;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] :is(.tl-ai-summary__pill, .tl-ai-summary__blocked)::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 10px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background-color: var(--tl-amber);
}
/* Confirm: the shared outline button (.tl-btn.tl-btn-outline: white, teal border and
   label, teal-soft on hover) at the wizard Confirm's 44px, sized for a row. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__confirm {
	grid-area: confirm;
	justify-self: end;
	min-width: 88px;
	min-height: 44px;
	margin: 12px 0 0;
	padding: 0 14px;
	font-size: 14.5px;
	font-weight: 700;
	white-space: nowrap;
}
/* Edit and Confirm while posting ([disabled]): read as off, no hover change. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__edit:disabled,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__edit:disabled:is(:hover, :focus, :active) { color: var(--tl-mute); text-decoration: none; cursor: not-allowed; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__confirm:disabled,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__confirm:disabled:is(:hover, :focus, :active) {
	border-color: var(--tl-line);
	background: var(--tl-neutral-soft);
	color: var(--tl-mute);
	cursor: not-allowed;
}
/* Wide enough (300px inside the card): label | value, S6's review-row order. */
@container tl-ai-summary (min-width: 300px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__row { grid-template-columns: 96px minmax(0, 1fr); }
}
/* Very narrow (200% text): the pill over a full-row Confirm. */
@container tl-ai-summary (max-width: 239px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__value { grid-template-areas: "text edit" "pill pill" "confirm confirm"; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__confirm { justify-self: stretch; }
}

/* Consent: the S5 wording as a statement right above the button, on a wash panel. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__consent {
	margin: 4px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--tl-wash);
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__consent-label { margin: 0; color: var(--tl-navy); font-size: 14px; font-weight: 700; line-height: 20px; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__consent-text { margin: 4px 0 0; color: var(--tl-body); font-size: 13.5px; font-weight: 400; line-height: 20px; }
/* "What happens next", compact (BRIEF-what-happens-next §2.2, mock panel 4; markup includes/what-happens-next.php,
   div.tl-whn.tl-whn--compact between the rows and the consent; no title, no note, no closing line). The form's
   box (traveller.css A5) at the consent panel's size here: 12 / 14 padding, 10px radius, wash, a 1px teal
   edge; 22px teal circles, 14 / 20 navy text (the consent text's type), 6px between steps. 8px above the
   consent panel. Every box property set: Astra and the Kit style ol / li. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-whn { margin: 4px 0 0; padding: 12px 14px; border: 1px solid var(--tl-teal); border-radius: 10px; background: var(--tl-wash); color: var(--tl-navy); }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-whn + .tl-ai-summary__consent { margin-top: 8px; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-whn__steps { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-whn__step { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-items: start; margin: 0; padding: 0; list-style: none; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-whn__step::marker { content: none; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-whn__num { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: -1px; border-radius: 50%; background: var(--tl-teal); color: var(--tl-white); font-size: 12px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-whn__body { display: flex; flex-direction: column; min-width: 0; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-whn__text { color: var(--tl-navy); font-size: 14px; font-weight: 500; line-height: 20px; overflow-wrap: anywhere; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__disclaimer { margin: 8px 0 0; color: var(--tl-body); font-size: 13px; font-weight: 400; line-height: 18px; }
/* "Please confirm the items marked above first.": the pill's amber dot ties it to them. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__blocked {
	position: relative;
	margin: 12px 0 0;
	padding: 0 0 0 24px;
	color: var(--tl-navy);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 20px;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__blocked::before { top: 10px; }
/* Honeypot: off-screen (triplead.css 2b's .tl-hp, grouped there with the wizard's). */

/* "Agree and post my plan": the shared .tl-btn (teal, white, 8px, 48px), full width. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__post {
	display: flex;
	width: 100%;
	margin: 12px 0 0;
	padding: 0 16px;
	font-size: 16px;
	white-space: normal;
}
/* aria-disabled (not ready yet): reads as off, but a tap still asks the AI what's missing,
   so it keeps the pointer. Body on neutral-soft (6.6:1) keeps the label readable. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__post[aria-disabled="true"],
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__post[aria-disabled="true"]:is(:hover, :focus, :active) {
	border-color: var(--tl-line);
	background: var(--tl-neutral-soft);
	color: var(--tl-body);
}
/* Posting: the button stays teal and shows a spinner; it is [disabled], the status line
   says "Posting your plan…". Reduced motion: a still ring. Posted (UX20-05): the job is done,
   so no spinner: the button reads as off (the aria-disabled grey, default cursor) while the
   finish line and "Go to my plan" take over. :not([data-ai-posted]) keeps the spinner off
   even if both attributes are ever set at once. */
@keyframes tl-ai-spin { to { transform: rotate(360deg); } }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-posting="1"]:not([data-ai-posted="1"]) .tl-ai-summary__post,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-posting="1"]:not([data-ai-posted="1"]) .tl-ai-summary__post:is(:hover, :focus, :active) {
	border-color: var(--tl-teal);
	background: var(--tl-teal);
	color: var(--tl-white);
	cursor: progress;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-posting="1"]:not([data-ai-posted="1"]) .tl-ai-summary__post::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: tl-ai-spin 0.8s linear infinite;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-posted="1"] .tl-ai-summary__post,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-posted="1"] .tl-ai-summary__post:is(:hover, :focus, :active) {
	border-color: var(--tl-line);
	background: var(--tl-neutral-soft);
	color: var(--tl-body);
	cursor: default;
}
/* A failed post: the card's notice (M5c .tl-home-card__status) in the danger tone
   (danger on danger-soft 5.9:1); its "Finish in the form" link takes the same colour. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__error {
	margin: 10px 0 0;
	padding: 8px 12px;
	border-left: 3px solid var(--tl-danger);
	border-radius: 8px;
	background: var(--tl-danger-soft);
	color: var(--tl-danger);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__error .tl-link,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__error .tl-link:is(:visited, :hover, :focus, :active) { color: var(--tl-danger); }

/* The finish line is a normal AI message; its fallback "Go to my plan →" sits under the
   bubble, lined up with it (a 2-column grid: label | bubble, then the link), in the
   arrow-link look (M1 --tl-arrow-link-*, M8's arrow), 44px tall on -12px margins. While the
   link is [hidden] the second row is empty and takes no space. <=259 goes back to M5c's
   column (label over bubble). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg.tl-ai__msg--finish {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0 10px;
	justify-items: start;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__finish-link:not([hidden]) {
	grid-column: 2;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: -4px 0 -12px;
	padding: 0;
	color: var(--tl-arrow-link-color);
	font-size: var(--tl-arrow-link-size);
	font-weight: var(--tl-arrow-link-weight);
	line-height: var(--tl-arrow-link-lh);
	text-decoration: none;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__finish-link:is(:hover, :focus, :active) {
	color: var(--tl-arrow-link-hover);
	text-decoration: underline;
	text-underline-offset: var(--tl-arrow-link-underline-offset);
}
@media (prefers-reduced-motion: reduce) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-posting="1"]:not([data-ai-posted="1"]) .tl-ai-summary__post::before { animation: none; }
}
/* ---- end M5c4 ---- */

/* ---- M5c5. Edit keeps the old card (0.19.1, Daniel's BRIEF-20 feedback) ----------------
   Markup (core-dev, ai-card.js), same transcript (ol.tl-ai__msgs) as M5c4:
     .tl-ai-summary.is-stale[inert] > p.tl-ai-summary__stale-label "Updated below", then the
       old card's content (its Edit/Confirm/post [disabled])
     li.tl-ai__msg--ai > span.tl-ai__label + p.tl-ai__text + button.tl-ai__chip.tl-ai__chip--back
     the one live card, always last: .tl-ai-summary__row.is-changed on the row that changed
   - Stale card: COMPACT. Only the label, the title and the rows stay (same 600px cap and the
     same container-query row layout as the live card). The hint, pills, Edit, Confirm,
     consent, blocked line, post button and error are display:none and the rows are 6px (not
     12px) padded, so nothing on it looks tappable and it is about half a live card's height.
     Dimmed by colour, not opacity: rows in mute (4.55:1 on white), title in body (7.2:1).
     The label is not dimmed: a neutral-soft pill in body 700 (6.4:1).
   - Back chip: the chip look lives in triplead.css 3c (grouped with .tl-inspire-option: wash,
     line border, navy 600, pill radius, 44px, teal ring on :focus-visible). Here only its
     place: the message becomes the finish line's grid (label | bubble), chip in column 2.
   - Changed row: a teal-soft wash that holds 1s and fades out by 2.5s, run 12px into the
     card's side padding by two offset shadows (no layout change). The row's Edit is
     teal-hover while the wash shows (teal on teal-soft is 4.15:1; teal-hover 5.6:1).
     ai-card.js removes the class at 2.5s and never sets it with reduced motion (no marker). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary.is-stale { padding-bottom: 4px; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary.is-stale .tl-ai-summary__row { padding: 6px 0; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__stale-label {
	width: fit-content;
	max-width: 100%;
	margin: 0 0 8px;
	padding: 2px 10px;
	border-radius: var(--tl-radius-pill);
	background: var(--tl-neutral-soft);
	color: var(--tl-body);
	font-size: 13px; /* 13px floor (Daniel, 4 Oct; was 12.5) */
	font-weight: 700;
	line-height: 18px;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary.is-stale :is(.tl-ai-summary__hint, .tl-ai-summary__pill, .tl-ai-summary__edit, .tl-ai-summary__confirm, .tl-ai-summary__consent, .tl-ai-summary__blocked, .tl-ai-summary__post, .tl-ai-summary__error) { display: none; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary.is-stale .tl-ai-summary__title { color: var(--tl-body); }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary.is-stale :is(.tl-ai-summary__label, .tl-ai-summary__text) { color: var(--tl-mute); }

/* "Back to summary" under the bubble (M5c4's finish-line grid; <=259 goes back to the column). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg:has(> .tl-ai__chip) {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0 10px;
	justify-items: start;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg > .tl-ai__chip { grid-column: 2; margin-top: 8px; }
/* Disabled while a turn runs: the post button's off look (body on neutral-soft 6.4:1). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__chip:disabled,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__chip:disabled:is(:hover, :focus, :active) {
	border-color: var(--tl-line);
	background: var(--tl-neutral-soft);
	color: var(--tl-body);
	cursor: not-allowed;
}

/* The changed row. No `to` keyframe: each fades back to the row's own (transparent, teal). */
@keyframes tl-ai-changed {
	0%, 40% { background-color: var(--tl-teal-soft); box-shadow: -12px 0 0 var(--tl-teal-soft), 12px 0 0 var(--tl-teal-soft); }
}
@keyframes tl-ai-changed-edit {
	0%, 90% { color: var(--tl-teal-hover); }
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__row.is-changed { animation: tl-ai-changed 2.5s ease-out; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__row.is-changed .tl-ai-summary__edit { animation: tl-ai-changed-edit 2.5s linear; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary.is-stale .tl-ai-summary__row.is-changed { animation: none; }
/* Reduced motion: ai-card.js doesn't set .is-changed then; if it ever does, no wash. */
@media (prefers-reduced-motion: reduce) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__row.is-changed,
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai-summary__row.is-changed .tl-ai-summary__edit { animation: none; }
}
/* ---- end M5c5 ---- */
/* Empty live/status lines take no space. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] :is(.tl-home-card__status, .tl-ai__status):empty { display: none; }

@media (max-width: 1024px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] { --tl-card-px: 18px; --tl-card-pt: 20px; --tl-card-pb: 20px; }
}
/* Phones, portrait mode (M5m): the trust row is the card's footer, so the card squares
   off at the bottom and drops its shadow, as the form did. Send becomes an icon button
   (its label hidden visually, not display:none; the button keeps aria-label="Send"). */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] {
		--tl-card-px: 14px;
		--tl-card-pb: 18px;
		border-bottom-width: 0;
		border-radius: 16px 16px 0 0;
		box-shadow: none;
	}
	/* The helper wraps to two lines beside the link at 320-430: 18px lines keep it compact. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__foot { margin-top: 8px; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__helper { line-height: 18px; } /* 14px since chunk 3 (was 13) */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__title { font-size: 18px; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__send { width: var(--tl-control-h); min-width: 0; padding: 0; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__send-text {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}
	/* Band mode (M5o): the card takes the band card's 16px sides and 14px top corners.
	   (0,7,1)/(0,8,1): M5o's .tl-home-form rule is (0,6,1). */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-hero-card[data-mode] {
		--tl-card-px: 16px;
		border-radius: var(--tl-radius-card) var(--tl-radius-card) 0 0;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-hero-card[data-mode] > .tl-home-form { padding: 0; border-radius: 0; }
}
/* Keep the AI header on one row down to 320 (it wrapped at 360: title 173 + link 118 + 16
   > 294). 360-389: a smaller link; below 360: a 16px title and no arrow (decorative). */
@media (max-width: 389px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__header { column-gap: 12px; }
	body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch { gap: 4px; font-size: 14px; }
	body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch .tl-icon { width: 14px; height: 14px; }
}
@media (max-width: 359px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__title { font-size: 16px; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__switch--form .tl-icon { display: none; }
}
/* 200% zoom on a phone (a 160-259px layout viewport): reflow, never clip. The card cap is
   dropped (the header and composer wrap taller than 320px could hold); the transcript
   keeps its own cap so it still scrolls. Labels go above their bubbles; the composer
   stacks with Send under the input, right. */
@media (max-width: 259px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode="ai"] { max-height: none; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__transcript { flex: none; max-height: 50vh; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg { flex-direction: column; align-items: flex-start; gap: 2px; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg--you { align-items: flex-end; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__text { max-width: 100%; }
	/* BRIEF-20 (M5c4): the finish message leaves its grid for the same column; the link under the bubble. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] :is(.tl-ai__msg.tl-ai__msg--finish, .tl-ai__msg:has(> .tl-ai__chip)) { display: flex; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__msg > .tl-ai__chip { margin-top: 6px; } /* 0.19.1 Back chip, under the bubble */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__finish-link:not([hidden]) { margin: 0; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__composer { flex-wrap: wrap; justify-content: flex-end; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__input { flex-basis: 100%; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] :is(.tl-home-card__switch, .tl-ai__label, .tl-ai__new) { white-space: normal; }
}

/* ---- M5c3. "Continue with AI →" under the submit (0.18.6; every width since 0.18.14) ----
   Replaces M5c2 (0.18.3/0.18.4): the outline button, its sparkles icon and the "or"
   divider are gone.
   Markup (core-dev, 0.18.6): div.tl-home-card__foot > button.tl-home-card__switch
   .tl-home-card__switch--ai[data-tl-mode-switch=ai] > span.tl-home-card__switch-label, then
   p.tl-home-card__helper, then p.tl-home-card__status. No icon.
   Every width (phones since 0.18.6, 768+ since 0.18.14, Daniel 29 Sep): the switch IS the
   agent card's "Learn more →" link (M8). It reads the same --tl-arrow-link-* values
   (colour, size, weight, line-height, hover, underline offset) and its arrow is M8's
   grouped ::after rule (15px mask, 5px gap, -2px drop, never announced). The focus ring is
   the shared 2px teal :focus-visible (triplead.css), round an 8px radius. (0,6,1) with the
   double class beats M5c's switch rules (0,5,1): its own 15px/20px teal type and the <=389
   14px shrink. Nothing here sets display, so aiOff()'s [hidden] (0,5,1, end of M5c) still
   wins. "Not sure? Get inspired" is not this component and keeps its own icon (3c).
   <=767, portrait and band mode alike: centred on its own row, its line box 12px under
   the submit; the 44px tap area is its own padding-free min-height (12.25px above and
   below the 19.5px line), so nothing about it looks like a button. The helper is its
   caption: centred, the -6px bottom margin puts it ~6px under the link's line. Every box
   property is set: Astra's and the Kit's bare button rules paint a <button>.
   >=768: M5c's layout, unchanged: right-aligned (margin-left:auto), 44px hit area on
   -12px margins so it takes one line, 2px side padding. 0.18.8 (Codex H-04): the helper is
   the link's caption here too: its own row directly under the link, right-aligned, its
   right edge on the link's text edge (the switch's 2px side padding), 2px under the
   link's line. The link's line sits 12px under the submit, so its 44px hit area ends at
   the submit's bottom edge. 0.18.14 changed only the look: the arrow (it had content:none
   here) and the shared 1.3 line (19.5px, was 20px), centred in the same 44px box, so the
   line's centre, and its level with "Get inspired" on the 1025+ bottom row, doesn't move;
   the link is 20px wider (5px gap + 15px arrow), still one line. No !important. */
body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch.tl-home-card__switch--ai {
	color: var(--tl-arrow-link-color);
	font-size: var(--tl-arrow-link-size);
	font-weight: var(--tl-arrow-link-weight);
	line-height: var(--tl-arrow-link-lh);
	letter-spacing: normal;
}
body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch.tl-home-card__switch--ai:is(:hover, :focus, :active) {
	background: transparent;
	color: var(--tl-arrow-link-hover);
	text-decoration: underline;
	text-underline-offset: var(--tl-arrow-link-underline-offset);
}
@media (min-width: 768px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__foot { row-gap: 2px; margin-top: 12px; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__helper { flex-basis: 100%; padding-right: 2px; text-align: right; text-wrap: balance; }
	/* 0.20.2: the -12px margins (M5c) assume the 19.5px line. With larger text the line
	   fills more of the 44px box, so the margins shrink with it: the line stays 12.25px
	   under the submit and the helper 2.25px under the line at any text size (-12px at
	   19.5px, -2.25 at 39px, 0 from about 44px). Browsers without the lh unit drop these
	   two and keep M5c's -12px. */
	body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch.tl-home-card__switch--ai {
		margin-top: min(0px, calc((1lh - 43.5px) / 2));
		margin-bottom: min(0px, calc((1lh - 43.5px) / 2));
	}
}
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__foot { row-gap: 0; margin-top: 0; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-card__helper { flex-basis: 100%; text-align: center; text-wrap: balance; }
	body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch.tl-home-card__switch--ai {
		flex: none;
		justify-content: center;
		min-width: 0;
		max-width: 100%;
		min-height: 44px;
		margin: 0 auto -6px;
		/* 0.20.2: the line stays 12.25px under the submit and the helper 6.25px under the
		   line at any text size (the 44px box centres a taller line with less air, so the
		   margins take up the difference). 0 and -6px at the 19.5px line, as before. */
		margin-top: min(12.25px, max(0px, calc((1lh - 19.5px) / 2)));
		margin-bottom: min(6.25px, calc((1lh - 31.5px) / 2));
		padding: 0;
		border: 0;
		border-radius: var(--tl-radius-btn);
		background: transparent;
		box-shadow: none;
		font-family: inherit;
		text-align: center;
		text-decoration: none;
		text-transform: none;
		white-space: nowrap;
	}
	/* 200% text (<=259): the link wraps to two centred, balanced lines ("Continue / with AI
	   →", never the arrow alone), 6px above and below inside the tap area, which is then
	   taller than 44px, so no negative margin. Kept from 0.18.3: portrait mode's
	   submit takes 12px sides and wraps, as band mode's already did (M5o); it kept 28px and
	   nowrap and was clipped ("Post a travel pla"). (0,5,1) beats M5b's (0,2,1); band mode's
	   own rule (0,6,1) sets the same values. */
	@media (max-width: 259px) {
		body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-home-form__submit { padding-left: 12px; padding-right: 12px; white-space: normal; }
		body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch.tl-home-card__switch--ai { margin-bottom: 0; padding: 6px 0; white-space: normal; text-wrap: balance; }
	}
}
/* ---- end M5c3 ---- */

/* No animated mode or state changes: nothing here transitions except colour on hover, and
   that goes too. */
@media (prefers-reduced-motion: reduce) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode],
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] :is(.tl-ai__transcript, .tl-ai__input, .tl-btn, .tl-home-card__switch, .tl-ai__new) { transition: none; scroll-behavior: auto; }
}
/* The HTML contract: hidden means gone. Last, at (0,5,1), so it beats every display rule
   above (none of which is more specific). */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] [hidden] { display: none; }
/* ---- end M5c ---- */

/* ---- M5t. Homepage form tabs: Trips | Cruises (0.24.305, BRIEF-home-cruise-tabs.md §1) -------
   Mock: Images/homepage-cruise-folder-tabs-mockup.png (tab 1 is "Trips" with a plane, PLAN §9).
   Markup (includes/home-form.php, triplead_home_tabs(); only when a live Cruise funnel page exists,
   otherwise none of this matches and the hero is exactly as before):
     div.tl-home-tabs[data-tl-home-tabs][data-tl-tab-current]
       div.tl-home-tabs__list (role=tablist from JS; [hidden] while the AI card is in AI mode)
         a.tl-home-tabs__tab.--trips|--cruises(.is-selected) > svg.tl-icon + span.tl-home-tabs__label
       div.tl-home-tabs__panel--trips > the card exactly as before (.tl-hero-card, or .tl-home-form
         with TripLead AI off)
       div.tl-home-tabs__panel--cruises[hidden] > form.tl-home-cruise (its own card)
   - Folder tabs on the card's top edge, its left edge. 46px tabs that overlap the card's 1px top
     border, so the card drops 45px and nothing above it moves. The selected tab is white with the
     card's border on three sides and covers the card's top line (it joins the card); a 3px teal
     underline sits under its icon + label. The other tab is 1px shorter, so the card's top line
     runs under it, and soft grey-blue (--tl-neutral-soft). The card's top-left corner (phones: both
     top corners) goes square under the tabs.
   - Labels: selected teal-hover on white 6.4:1, other body on neutral-soft 6.4:1 (hover: navy on teal-soft 12.6:1). Weight 700 / 600
     and a fixed width (180px min, phones half the card each), so selecting never moves a tab.
   - The Cruises card mirrors the Trips card (M5c's surface, paddings by width, the footer pairing
     on phones) and its pieces are the Trips card's: labels, select + chevron, submit (M5b, shared
     by :is()), the field skin (triplead.css 3b), the AI switch (M5c / M5c3, shared by :is()).
   - "What kind of cruise?": 768 and up, the site's segmented row (traveller.css's timing row,
     decision #75: one bordered row, chosen cell teal-soft + 1.5px teal ring), 48px like the select
     next to it (the cells are 46 inside the row's border). The sub-lines are visually hidden there
     (kept for screen readers). Phones: card 52's 2 x 2 chips with sub-lines (traveller.css A6 +
     A6b values; traveller.css isn't loaded on the homepage, so they're repeated here), one column
     under 360 as card 52's.
   - AI mode: the list is [hidden], but it keeps its 45px (visibility, not display) so the card
     doesn't jump at the switch (and M5f's held place on phones doesn't change); the card's corner
     rounds again. No !important. */
body.tl-marketing-body .tl-marketing-main .tl-home-tabs { position: relative; margin: 0; padding: 0; }
body.tl-marketing-body .tl-marketing-main .tl-home-tabs__list {
	position: relative;
	z-index: 1; /* over the card's top border; the card's lists (z 30) still go over the tabs */
	display: flex;
	align-items: flex-end;
	gap: 6px;
	margin: 0 0 -1px;
	padding: 0;
}
body.tl-marketing-body .tl-marketing-main .tl-home-tabs__list[hidden] { display: flex; visibility: hidden; }
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-width: 180px;
	height: 45px;
	margin: 0 0 1px;
	padding: 0 22px;
	border: 1px solid var(--tl-line);
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background: var(--tl-neutral-soft);
	box-shadow: none;
	color: var(--tl-body);
	font-family: var(--tl-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab:hover { background: var(--tl-teal-soft); color: var(--tl-navy); text-decoration: none; }
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab.is-selected {
	height: 46px;
	margin-bottom: 0;
	background: var(--tl-white);
	color: var(--tl-teal-hover);
	font-weight: 700;
	cursor: default;
}
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab .tl-icon { flex: none; width: 18px; height: 18px; }
/* Trello 57: the cruise ship (viewBox 32 x 24) at its own shape, 20px tall and 26.67px wide, not squashed
   into the 18px square. Centred on the label by the tab's align-items; colour = currentColor (the tab's). */
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab .tl-icon.tl-icon-cruise-ship { width: auto; height: 20px; aspect-ratio: 32 / 24; }
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__label { position: relative; min-width: 0; }
/* The underline: under the icon (18px + the 8px gap) and the label, 6px below the text. */
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab.is-selected .tl-home-tabs__label::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -7px;
	left: -26px;
	height: 3px;
	border-radius: 2px;
	background: var(--tl-teal);
}
/* Trello 57: the ship is 26.67px wide, so the line starts under its left end (26.67 + the 8px gap). */
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab.is-selected:has(> .tl-icon-cruise-ship) .tl-home-tabs__label::after { left: calc(-8px - 20px * 32 / 24); }
/* 2px inside the tab (STYLE-CHECKLIST: in-card items, as the FAQ questions), so the ring isn't drawn
   over the card or lost on the photo. */
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: -2px; box-shadow: none; }
body.tl-marketing-body .tl-marketing-main .tl-home-tabs__panel[hidden] { display: none; }

/* Square the card corner under the tabs. (0,8,1)/(0,7,1): beat M5c's card (0,4,1), its band rule
   (0,7,1, by source order) and M5o's .tl-home-form rule (0,6,1). */
body.tl-marketing-body .tl-marketing-main .tl-home-hero .tl-home-tabs[data-tl-home-tabs] > .tl-home-tabs__panel--trips > .tl-hero-card[data-mode],
body.tl-marketing-body .tl-marketing-main .tl-home-hero .tl-home-tabs[data-tl-home-tabs] > .tl-home-tabs__panel--trips > .tl-home-form,
body.tl-marketing-body .tl-marketing-main .tl-home-hero .tl-home-tabs[data-tl-home-tabs] > .tl-home-tabs__panel--cruises > .tl-home-cruise { border-top-left-radius: 0; }
body.tl-marketing-body .tl-marketing-main .tl-home-hero .tl-home-tabs[data-tl-home-tabs]:has(> .tl-home-tabs__list[hidden]) > .tl-home-tabs__panel--trips > :is(.tl-hero-card[data-mode], .tl-home-form) { border-top-left-radius: 16px; }

/* The Cruises card: M5c's surface and paddings. */
body.tl-marketing-body .tl-marketing-main .tl-home-cruise {
	--tl-card-px: 24px;
	--tl-card-pt: 22px;
	--tl-card-pb: 24px;
	position: relative;
	margin: 0;
	padding: var(--tl-card-pt) var(--tl-card-px) var(--tl-card-pb);
	border: 1px solid var(--tl-line);
	border-radius: 16px;
	background: var(--tl-white);
	box-shadow: var(--tl-shadow-pop);
	color: var(--tl-body);
	font-family: var(--tl-font);
	text-align: left;
	display: flex; /* a column: the fields take any min-height room (below) */
	flex-direction: column;
	box-sizing: border-box;
}
body.tl-marketing-body .tl-marketing-main .tl-home-cruise *,
body.tl-marketing-body .tl-marketing-main .tl-home-cruise *::before,
body.tl-marketing-body .tl-marketing-main .tl-home-cruise *::after { box-sizing: border-box; }
/* Same height as the Trips card, so the trust row doesn't jump on a switch: --tl-home-tabs-card-h is
   the Trips card's height in px, written on .tl-home-tabs by home-form.js when Cruises is selected
   (like ai-card.js's --tl-vvh). Unset = the card's own height (it already matches at 1200+ and
   390-430; the Trips card is taller at 1025 and 768-1024, by its "open to ideas" row). Any room it
   adds goes to the fields (flex: 1): on tablets the rows spread apart, from 1025 the one row
   stretches with its labels at the top and its controls at the bottom (below); either way the
   button lands where the Trips button is, with the AI link right under it as on Trips; a taller
   Cruises card (320-359, one column) is kept. */
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-cruise { min-height: var(--tl-home-tabs-card-h, 0px); }
/* With the AI row showing: the Trips card's tighter bottom (M5c, form mode with its foot). */
body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-cruise:has(> .tl-home-cruise__foot:not([hidden])) { --tl-card-pb: 16px; }
body.tl-marketing-body .tl-marketing-main .tl-home-cruise__fields {
	display: grid;
	flex: 1 0 auto;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; /* the kind row needs ~88px a cell */
	align-content: space-between;
	align-items: end;
	gap: 14px 16px;
}
/* Astra styles fieldset and legend (border, 2em padding); reset all of it. The legend floats so
   it lays out as a normal block (a 100% float, the chips clear it). */
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__field { min-width: 0; margin: 0; padding: 0; border: 0; background: none; }
body.tl-marketing-body .tl-marketing-main .tl-home-cruise legend.tl-home-cruise__label { float: left; width: 100%; padding: 0; border: 0; }
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__submit { align-self: end; margin-top: 0; }

/* Kind: the segmented row (768 and up). */
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kinds {
	position: relative;
	display: grid;
	clear: both;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--tl-line);
	border-radius: 10px;
	background: var(--tl-white);
}
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kinds .tl-option-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: calc(var(--tl-control-h) - 2px);
	margin: 0;
	padding: 4px;
	border: 0;
	border-radius: 0;
	background: var(--tl-white);
	color: var(--tl-navy);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind + .tl-home-cruise__kind { border-left: 1px solid var(--tl-line); }
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind:first-child { border-radius: 9px 0 0 9px; }
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind:last-child { border-radius: 0 9px 9px 0; }
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind:hover { background: var(--tl-wash); }
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind:is(.is-checked, :has(.tl-option-input:checked)) {
	background: var(--tl-teal-soft);
	box-shadow: inset 0 0 0 1.5px var(--tl-teal);
	color: var(--tl-teal-hover);
}
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind:has(.tl-option-input:focus-visible) { z-index: 1; outline: 2px solid var(--tl-teal); outline-offset: 2px; }
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind :is(.tl-option-label, .tl-option-sub) { display: block; max-width: 100%; min-width: 0; }
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind .tl-option-sub {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* The AI row: the Trips card's switch (M5c / M5c3 share their rules with .tl-home-cruise), right
   under the button from 768 as on Trips. 768+: as tall as the Trips foot's link + helper (19.5px
   line + 2px + 20px), so both cards are the same height; the Cruises row has no helper. */
body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__foot:not([hidden]) {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 4px 16px;
	min-height: calc(19.5px + 2px + 20px);
	margin: 12px 0 0;
	padding: 0;
}
body.tl-marketing-body .tl-marketing-main .tl-home-cruise [hidden] { display: none; }

/* 1025+ (ux-review H3): one row. Any height-match room stretches the row: the labels stay at the
   top (where the Trips labels are), the kind row, the select and the button drop to its bottom, so
   the button sits level with the Trips button and "Continue with AI" stays 12px under it. The legend
   is floated, so it is an ordinary flex item. Without the room nothing changes (the row is as tall
   as its content). */
@media (min-width: 1025px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise__fields { align-content: stretch; align-items: stretch; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__field { display: flex; flex-direction: column; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__field > :is(.tl-home-cruise__kinds, .tl-home-cruise__control) { margin-top: auto; }
}
@media (max-width: 1024px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise { --tl-card-px: 18px; --tl-card-pt: 20px; --tl-card-pb: 20px; }
	/* Two columns, the button full width 12px under them (the Trips card's tablet layout). */
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise__fields { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__submit { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 767px) {
	/* The card above the trust row (its footer): square bottom, no shadow; both top corners square
	   under the two half-width tabs. */
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise { --tl-card-px: 14px; --tl-card-pb: 18px; border-bottom-width: 0; border-radius: 0; box-shadow: none; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-cruise { --tl-card-px: 16px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero .tl-home-tabs[data-tl-home-tabs] > .tl-home-tabs__panel--trips > :is(.tl-hero-card[data-mode], .tl-home-form) { border-top-right-radius: 0; }
	body.tl-marketing-body .tl-marketing-main .tl-home-hero .tl-home-tabs[data-tl-home-tabs]:has(> .tl-home-tabs__list[hidden]) > .tl-home-tabs__panel--trips > :is(.tl-hero-card[data-mode], .tl-home-form) { border-radius: var(--tl-radius-card) var(--tl-radius-card) 0 0; }
	body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab { flex: 1 1 0; min-width: 0; padding: 0 12px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise__fields { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; } /* any min-height room at the bottom */
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__submit { min-width: 0; margin-top: 4px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__foot:not([hidden]) { justify-content: center; min-height: 0; margin: 0; }
	/* Kind: card 52's chips (A6 + A6b), 2 x 2. */
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 0; border-radius: 0; background: none; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind,
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind + .tl-home-cruise__kind,
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind:is(:first-child, :last-child) {
		min-height: 44px;
		padding: 6px 8px;
		border: 1px solid var(--tl-line);
		border-radius: var(--tl-radius-pill);
		background: var(--tl-wash);
		color: var(--tl-body);
		font-weight: 500;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind:hover { border-color: var(--tl-teal-bright); color: var(--tl-navy); }
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind:is(.is-checked, :has(.tl-option-input:checked)) {
		border-color: var(--tl-teal);
		background: var(--tl-teal-soft);
		box-shadow: none;
		color: var(--tl-teal-hover);
		font-weight: 700;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind :is(.tl-option-label, .tl-option-sub) { line-height: 1.3; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kind .tl-option-sub {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
		clip-path: none;
		white-space: normal;
		font-size: 13px;
		font-weight: 400;
	}
}
/* Under 360: one column, card 52's rule (traveller.css A6c, the brief). Measured with phone
   emulation: a cell is 157px at 390 (139 inside, every sub-line on one line), but 149.5 at 375 and
   142 at 360, where "Antarctica, Galápagos" (and at 360 "big ships, many ports") wrap to a second
   line: the chips are 67px three-line pills there. Kept at 2 x 2 from 360 because one column there
   makes the Cruises card ~80px taller than Trips (the trust row would jump on every switch); a
   one-column switch from 390 is the alternative (flagged to Daniel, 0.24.305). */
@media (max-width: 359px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__kinds { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 259px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-tabs .tl-home-tabs__tab { padding: 0 6px; gap: 4px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise .tl-home-cruise__submit { padding-left: 12px; padding-right: 12px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
	body.tl-marketing-body .tl-marketing-main :is(.tl-home-tabs .tl-home-tabs__tab, .tl-home-cruise .tl-home-cruise__kind) { transition: none; }
}
/* 0.24.313: the dropped-region line (triplead.css 3e .tl-cruise-dropped) under the region select, from 768.
   The row aligns its fields to the bottom (the kind row, the select and, from 1025, the button), so a line
   under the select lifted the select above the kind row and the button. While the line has text, both
   fields align to the top instead: each label at the top, its control under it at the same offset (both
   labels are one 22px line from 768), the line under the select, and the card grows by the line. From
   1025 the button keeps level with the controls: top-aligned, 30px down (the label line + its 8px gap, measured
   level with the kind row and the select). The extra room of the height match goes under the row while
   the line shows. Empty (the usual case) nothing here applies, so the layout is the 0.24.312 one.
   (A subgrid would line them up without the number, but the kind group is a <fieldset>, which Chrome
   doesn't lay out as a subgrid.) */
@media (min-width: 768px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise__fields:has(.tl-cruise-dropped:not(:empty)) { align-content: start; align-items: start; }
}
@media (min-width: 1025px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-cruise__fields:has(.tl-cruise-dropped:not(:empty)) > .tl-home-cruise__submit { align-self: start; margin-top: 30px; }
}
/* ---- end M5t ---- */

/* ---- M5f. AI chat full screen on phones (slice 19b) ----------------------------------
   Phones only (<=767px); desktop, tablet and the in-card chat are untouched. JS contract
   (assets/ai-card.js):
     .tl-hero-card[data-ai-fullscreen="1"]      open full screen
     .tl-hero-card[data-ai-fs-anim=PHASE]       open:  expand > content-in > open
                                                close: content-out > shrink > (removed)
                                                reduced motion: content-in > open and
                                                content-out > closed (no expand/shrink)
                                                JS advances on the card's animationend
                                                (check e.animationName), with a timeout
     html.tl-ai-fs-open                         page scroll locked
     on <html>: --tl-vvh / --tl-vv-top          visualViewport height / offsetTop
                --tl-fs-from-top/-left/-width/-height   the card's rect (px, from
                getBoundingClientRect) before expand; re-measured (from the card's
                parent, which holds its place) before shrink
                --tl-fs-site-h                  (0.17.8) the site header's height (px), set
                before the full-screen attributes, kept current, removed on close.
                Fallback everywhere: 73px (the one-row phone bar: 72 + its 1px rule)
                --tl-fs-flow-h                  (0.17.9) the header's IN-FLOW height, set with
                site-h before the class, never updated while open, removed on close.
                Only .tl-marketing's padding reads it; the panel, the menu and the
                clip read site-h (the clip is relative to the panel, whose top is site-h)
     textarea.tl-ai__input style.height         grown by JS; clamped here (1 to 4 lines)
   Markup: div.tl-ai__fs-header (span.tl-ai__fs-title, button.tl-ai__fs-close >
   svg.tl-icon + span.tl-ai__fs-close-label "Use the form instead", button.tl-ai__restart),
   first child of section.tl-ai, rendered WITHOUT [hidden]: it shows only in full screen.
   - (0.17.8) The site header stays: while html.tl-ai-fs-open it is fixed at the top of the
     visual viewport (top = --tl-vv-top) over everything (z 100001, above the lifted hero),
     so its menu opens over the chat. .tl-marketing gets padding-top = its height, so the
     page behind (and the card's held place, which JS measures) doesn't move.
   - Motion: the card (the white panel) expands from its box in the hero to the panel's box
     under the site header with clip-path (no top/left/width/height animation), then the
     content (section.tl-ai) fades in; closing is the reverse. While the card is lifted out,
     its parent holds its height (min-height = --tl-fs-from-height), so the hero never jumps.
   - The card becomes a fixed panel from the site header's bottom edge to the bottom of the
     visual viewport: top = --tl-vv-top + --tl-fs-site-h, height = --tl-vvh - --tl-fs-site-h,
     so the composer sits just above the keyboard. Column: fs-header, transcript (flex 1,
     the only scroller; the BRIEF-20 summary lives in it), New message, composer, privacy
     note, status.
   - The in-card .tl-ai__header (title + "Use the form") is hidden; the fs-header replaces it
     (the section keeps its aria-labelledby name from the hidden h2): title on row 1,
     "Use the form instead" left and "Start over" right on row 2.
   - Safe areas: --tl-fs-safe-* = env(safe-area-inset-*). No top inset any more (the site
     header is at the top). The bottom inset is paid only while the keyboard is closed: it
     shrinks by the keyboard height (layout viewport 100dvh less --tl-vvh), so with the
     keyboard up it is 0.
   - Stacking: the hero (z 2) is the stacking context that traps the panel under the site
     header (z 50), so it rises to z 100000 while html.tl-ai-fs-open is set, and the fixed
     site header rises to 100001 over it. No !important. */
@keyframes tl-ai-fs-expand { from { clip-path: var(--tl-fs-clip-card); } to { clip-path: inset(0 round 0); } }
@keyframes tl-ai-fs-shrink { from { clip-path: inset(0 round 0); } to { clip-path: var(--tl-fs-clip-card); } }
@keyframes tl-ai-fs-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes tl-ai-fs-fade-out { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 767px) {
	html.tl-ai-fs-open,
	html.tl-ai-fs-open body.tl-marketing-body { overflow: hidden; overscroll-behavior: none; }
	/* The hero is the stacking context that holds the card (z 2; inside it the inner box z 1
	   and the widget z 3), so the panel can only rise above the site header (z 50) if the
	   hero does. (0,4,2) beats M5's (0,3,1). Nothing overlaps the hero, so nothing else moves. */
	html.tl-ai-fs-open body.tl-marketing-body .tl-marketing-main .tl-home-hero { z-index: 100000; }
	/* The site header stays on screen, pinned to the top of the visual viewport, above the
	   lifted hero (100000) so its menu panel (absolute, inside it) opens over the chat.
	   (0,3,2) beats M2's (0,2,1). Over the WP admin bar (99999) too: logged-in admins lose
	   the admin bar while the chat is full screen (as they did before 0.17.8). */
	html.tl-ai-fs-open body.tl-marketing-body .tl-site-header {
		position: fixed;
		top: var(--tl-vv-top, 0px);
		right: 0;
		left: 0;
		z-index: 100001;
	}
	/* Holds the header's place in the flow, so nothing behind it moves (JS measures the
	   card's parent with this on). (0,3,2) vs M1's (0,2,1), which sets no padding.
	   (0.17.9) The IN-FLOW height (--tl-fs-flow-h, measured once before the header goes
	   fixed, never updated while open), not the live one: at <=319 the fixed header drops to
	   one row (below), and padding by the live height would pull the page up 52px. */
	html.tl-ai-fs-open body.tl-marketing-body .tl-marketing { padding-top: var(--tl-fs-flow-h, var(--tl-fs-site-h, 73px)); }
	/* The menu panel fits the visible area under the header (keyboard up or not). (0,3,2)
	   beats M2's base and <=319 max-heights (0,2,1). */
	html.tl-ai-fs-open body.tl-marketing-body .tl-mobile-menu { max-height: calc(var(--tl-vvh, 100dvh) - var(--tl-fs-site-h, 73px)); }
	/* (0.17.9) 200% text (a <320px layout viewport): the fixed header is one row (65px, not
	   M2's two-row 117) so the chat keeps its room: the logo shrinks to what's left beside the
	   menu button (bar padding 24 + gap 8 + button 48 = 80px; the logo is 424x96), 28px tall at
	   most, as M2 <=319. Full screen only; the logo link keeps its 44px hit area. (0,3,2) beats
	   M2's (0,1,2)/(0,2,1). 0.18.5 dropped this block's display:none on "Log in"/"My inbox":
	   M2 already hides both below 768, so it was dead. */
	@media (max-width: 319px) {
		html.tl-ai-fs-open body.tl-marketing-body .tl-site-logo__img { height: min(28px, calc((100vw - 80px) * 96 / 424)); }
	}
	/* The card's place in the hero, held while it is lifted out (no Elementor class needed). */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero :has(> .tl-hero-card[data-mode][data-ai-fullscreen="1"]) { min-height: var(--tl-fs-from-height, 0px); }

	/* (0,5,1): above M5c's (0,4,1) card rules, cap included. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] {
		--tl-fs-safe-r: env(safe-area-inset-right, 0px);
		--tl-fs-safe-b: env(safe-area-inset-bottom, 0px);
		--tl-fs-safe-l: env(safe-area-inset-left, 0px);
		/* Side padding = the shared phone form edge (#47, QA2-03: --tl-form-m-edge, 16px), or the
		   safe-area inset if that's larger. Every full-screen row reads these two. */
		--tl-fs-pl: max(var(--tl-form-m-edge, 16px), var(--tl-fs-safe-l));
		--tl-fs-pr: max(var(--tl-form-m-edge, 16px), var(--tl-fs-safe-r));
		--tl-fs-pb: max(0px, calc(var(--tl-fs-safe-b) - (var(--tl-ai-vh) - var(--tl-vvh, var(--tl-ai-vh)))));
		--tl-ai-gap: 0px;
		/* The card's own box in the hero, as an inset of the full-screen panel (card radius).
		   The panel starts at the site header's bottom edge, so its height comes off the top
		   inset. If the page was scrolled so the card sat partly under the header, the top
		   inset goes negative: the clip then starts above the panel, i.e. the panel's own top
		   edge, which is where the card meets the header anyway. */
		--tl-fs-clip-card: inset(
			calc(var(--tl-fs-from-top, 0px) - var(--tl-vv-top, 0px) - var(--tl-fs-site-h, 73px))
			calc(100% - var(--tl-fs-from-left, 0px) - var(--tl-fs-from-width, 100%))
			calc(100% - var(--tl-fs-from-top, 0px) + var(--tl-vv-top, 0px) + var(--tl-fs-site-h, 73px) - var(--tl-fs-from-height, 100%))
			var(--tl-fs-from-left, 0px)
			round 16px 16px 0 0);
		position: fixed;
		top: calc(var(--tl-vv-top, 0px) + var(--tl-fs-site-h, 73px));
		right: 0;
		left: 0;
		z-index: 100000; /* within the lifted hero; the site header (100001) stays above it */
		width: auto;
		height: calc(var(--tl-vvh, var(--tl-ai-vh)) - var(--tl-fs-site-h, 73px));
		max-height: none;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
	/* Band mode's (0,7,1) top corners. */
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-hero-card[data-mode][data-ai-fullscreen="1"] { border-radius: 0; }
	/* Phases. The panel expands/shrinks (300ms ease-out / 260ms ease-in); the content is
	   invisible and inert until content-in (180ms fade), and fades out first on close. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"][data-ai-fs-anim="expand"] { animation: tl-ai-fs-expand 0.3s cubic-bezier(0.2, 0, 0, 1) both; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"][data-ai-fs-anim="shrink"] { animation: tl-ai-fs-shrink 0.26s cubic-bezier(0.4, 0, 1, 1) both; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"]:is([data-ai-fs-anim="expand"], [data-ai-fs-anim="shrink"]) .tl-ai { opacity: 0; pointer-events: none; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"][data-ai-fs-anim="content-in"] .tl-ai { animation: tl-ai-fs-fade-in 0.18s ease-out both; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"][data-ai-fs-anim="content-out"] .tl-ai { animation: tl-ai-fs-fade-out 0.15s ease-in both; pointer-events: none; }

	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai { padding-bottom: var(--tl-fs-pb); }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__header { display: none; }

	/* The chat's bar, directly under the site header. Two rows: "TripLead AI" (24px line,
	   8px above it), then "Use the form instead" left and "Start over" right (44px hit areas,
	   text lined up with the title 16px in). 77px in all. One row doesn't fit at 360 (title
	   + both buttons need ~410px). The title is ordered first even if the DOM has Close
	   first; the flex wrap puts it on its own row (basis 100%). */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-header {
		display: flex;
		flex: none;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 12px;
		margin: 0;
		padding: 8px var(--tl-fs-pr) 0 var(--tl-fs-pl);
		border-bottom: 1px solid var(--tl-line);
		background: var(--tl-white);
	}
	/* "Use the form instead": a quiet link-style button, navy 15px/600, the shared back link
	   (triplead.css 7b gives the chevron and the span's underline; the grid box is restated here).
	   Every property set: Astra's and the Kit's bare button rules would paint it. -8px left
	   margin + 8px padding: the chevron lines up with the title, the hit area stays 44 tall. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-close {
		display: inline-grid;
		flex: 0 1 auto;
		grid-template-columns: auto minmax(0, auto);
		align-content: center;
		justify-content: start;
		align-items: start;
		gap: 0;
		width: auto;
		min-width: 0;
		height: auto;
		min-height: 44px;
		margin: 0 auto 0 -8px;
		padding: 0 8px;
		border: 0;
		border-radius: var(--tl-radius-btn);
		background: transparent;
		box-shadow: none;
		color: var(--tl-navy);
		font-family: inherit;
		font-size: 15px;
		font-weight: 600;
		line-height: 20px;
		letter-spacing: 0;
		text-align: left;
		text-decoration: none;
		text-transform: none;
		cursor: pointer;
	}
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-close:is(:hover, :focus, :active) {
		background: transparent;
		color: var(--tl-navy);
		text-decoration: none;
	}
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-close:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 0; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-close-label { min-width: 0; overflow-wrap: anywhere; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-title {
		order: -1;
		flex: 1 0 100%;
		min-width: 0;
		color: var(--tl-navy);
		font-size: 17px;
		font-weight: 700;
		line-height: 24px;
		letter-spacing: -0.01em;
		overflow-wrap: anywhere;
	}

	/* Transcript: fills the space, the only scroller; no side borders to clip bubbles. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__transcript {
		flex: 1 1 auto;
		min-height: 0;
		max-height: none;
		padding: 14px var(--tl-fs-pr) 14px var(--tl-fs-pl);
		border: 0;
		overscroll-behavior: contain;
	}
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__msgs { gap: 10px; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__text { font-size: 15.5px; line-height: 22px; }
	/* Start state (transcript hidden): the composer still sits at the bottom. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__composer { margin-top: auto; }

	/* Composer: a full-bleed row with a top rule. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__composer {
		gap: 8px;
		padding: 8px var(--tl-fs-pr) 8px var(--tl-fs-pl); /* was 12px: now on the 16px line with the rest (QA2-03) */
		border-top: 1px solid var(--tl-line);
		background: var(--tl-white);
	}
	/* One line (48px, the Send height) growing to four (4 x 22 + 24 + 2 = 114px), then it
	   scrolls. JS sets style.height; min/max clamp it. 16px text: no iOS focus zoom. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__input {
		height: var(--tl-control-h);
		min-height: var(--tl-control-h);
		max-height: 114px;
		font-size: 16px;
		overflow-y: auto;
		resize: none;
		overscroll-behavior: contain;
	}
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__status { padding: 0 var(--tl-fs-pr) 6px var(--tl-fs-pl); }
	/* BRIEF-20 privacy note (M5c4): the status line's side padding; 6px above and below it. */
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__privacy { margin: 0; padding: 6px var(--tl-fs-pr) 6px var(--tl-fs-pl); }

	/* 200% text (a 160-259px layout viewport): M5c's reflow rules still apply (labels over
	   bubbles). The transcript stays the flexible part (the rule above beats M5c's 50vh).
	   Every fixed row is kept to its minimum so the transcript keeps some room: the bar
	   loses its title row (the visible title goes; the section keeps its name) and is just
	   the buttons ("Use the form instead" wraps its label rather than overflow; Start over
	   drops under it when both don't fit), Send stays beside the input (M5c stacks it
	   under), and the input caps at 3 lines; the composer row loses some padding. The site header above wraps to two rows here (M2 <=319), so the panel is
	   shorter too. */
	@media (max-width: 259px) {
		body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-header { padding-top: 0; }
		/* Last resort when the rows can't all fit (200% text with the keyboard up: ~250px
		   visible, 117 of it the two-row site header): the whole chat column scrolls, so
		   the composer isn't pushed under the keyboard: it sticks to the bottom of the
		   column and the rows above it scroll. When everything fits nothing scrolls here
		   (the transcript does) and sticky changes nothing. */
		body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai { overflow-y: auto; overscroll-behavior: contain; }
		/* BRIEF-20: the privacy note is one more fixed row (4-5 lines here), which left the transcript
		   28px tall at 160px. It keeps 96px; past that the column scrolls (the path above). */
		body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__transcript { min-height: 96px; }
		body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__composer { position: sticky; bottom: 0; z-index: 1; }
		body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-close { font-size: 14px; line-height: 18px; }
		body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-title { display: none; }
		body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__composer { flex-wrap: nowrap; padding-top: 6px; padding-bottom: 6px; }
		body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__input { flex-basis: auto; max-height: 92px; }
	}

}
/* "Start over" (button.tl-ai__restart, optional: nothing else depends on it). Two copies,
   both toggled by JS: one in .tl-ai__header before "Use the form" (desktop/tablet), one at
   the right of .tl-ai__fs-header (phones, full screen). A quiet text button: mute (4.6:1 on
   white), 14px, no fill; navy + underline on hover; a teal focus ring. 44px hit area that
   takes only its 20px line in the card header (-12px margins, like the mode switch). The
   in-card copy is hidden on phones: with the title and "Use the form" it can't share one
   row at 320-430, and the full-screen copy covers it. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__restart:not([hidden]) {
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 44px;
	margin: -12px 0;
	padding: 0 4px;
	border: 0;
	border-radius: var(--tl-radius-btn);
	background: transparent;
	box-shadow: none;
	color: var(--tl-mute);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__restart:is(:hover, :focus, :active) {
	background: transparent;
	color: var(--tl-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__restart:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 0; }
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__header .tl-ai__restart { display: none; }
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen="1"] .tl-ai__fs-header .tl-ai__restart { margin: 0 -8px 0 auto; padding: 0 8px; }
}
@media (max-width: 259px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__restart:not([hidden]) { white-space: normal; }
}
/* After a close JS focuses the card itself (tabindex=-1; "Plan with AI" is hidden in AI
   mode). Ring on :focus-visible only: browsers flag a programmatic focus as focus-visible
   when the user was on the keyboard (Escape, Enter on Close), so keyboard users see where
   they are; a tap on Close gets no ring round the whole card. The UA's plain :focus ring
   (older Safari draws one on tabindex elements) is removed for the same reason. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode]:focus:not(:focus-visible) { outline: 0; }
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode]:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
/* Outside full screen (desktop, tablet, the in-card chat) the fs-header never shows. */
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode]:not([data-ai-fullscreen="1"]) .tl-ai__fs-header { display: none; }
@media (min-width: 768px) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__fs-header { display: none; }
}
/* Reduced motion: JS skips expand/shrink; if a phase still lands here, no clip motion.
   The content fades stay (opacity only, no movement). */
@media (prefers-reduced-motion: reduce) {
	body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode][data-ai-fullscreen][data-ai-fs-anim] { animation: none; }
}
/* ---- end M5f ---- */

/* ---- M5x. Contextual hero crossfade (slice 19c) ----------------------------------------
   BRIEF-19 §6. assets/hero-context.js creates div.tl-hero-layer[aria-hidden] as the FIRST
   child of its host (desktop/tablet: the managed hero; phones in band mode: the band), sets
   --tl-hero-layer-image / --tl-hero-layer-pos on it, then adds .is-active to fade it in over
   the current photo. After the fade it moves the new image onto the hero's own vars and
   removes .is-active, which must hide the layer AT ONCE (the same image is now underneath),
   so the transition lives on .is-active only.
   - Stacking (desktop/tablet): the hero (position relative, z 2) is the stacking context.
     The layer is positioned z 0 and comes first in tree order, so it paints above the hero's
     own background and below the ::after scrim (z 0, later in tree order) and .e-con-inner
     (z 1): the text, the form (z 3, its autocomplete list hanging out) and the trust row
     all stay above it. No new clip, no overflow:hidden (the list must hang out).
   - inset:0 fills the hero's padding box, exactly where its own background paints, so the
     fade never shows a band of the old image or of the wash.
   - Band (phones, option A): the band becomes the containing block (position relative, no
     z-index, so no new stacking context: the card's -20px overlap and z 3 still win). The
     layer fills the band only, square like it.
   - Nothing here has a size or a margin: no layout shift. The JS swaps instantly when the
     layer isn't absolute or its host is static, and never makes a layer for reduced motion;
     the media query below is the belt to that braces. */
/* The layer itself (absolute, opacity 0, 700ms fade on .is-active only, reduced motion): triplead.css 3g,
   shared with /post/ (0.22.3). */
/* The commit must be invisible: Elementor gives every container (.e-con, (0,1,0))
   "transition: background var(--background-transition, .3s), …", and Chromium/WebKit
   interpolate background-image, so the hero's (and the band's) own photo would crossfade
   old -> new for 300ms AFTER the JS commits, and removing the layer two frames later would
   flash the old photo back. Neither box animates anything else, so no transition at all. */
body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed,
body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed .tl-home-hero__band { transition: none; }
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-hero.tl-hero-managed.tl-hero-band .tl-home-hero__band { position: relative; }
}
/* ---- end M5x ---- */

/* ---- M6. How it works ------------------------------------------------------------- */
body.tl-marketing-body .tl-marketing-main .tl-home-how { padding-top: 64px; }
body.tl-marketing-body .tl-marketing-main .tl-home-how > .e-con-inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 40px 48px 44px;
	border: 1px solid var(--tl-line);
	border-radius: 16px; /* card radius, STYLE-CHECKLIST §6, chunk 4 (was 20) */
	background: var(--tl-wash);
}
body.tl-marketing-body .tl-marketing-main .tl-home-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 72px;
	margin-top: 28px;
}
body.tl-marketing-body .tl-marketing-main .tl-home-step {
	position: relative;
	display: grid;
	grid-template-columns: var(--tl-step-num-size) minmax(0, 1fr);
	align-items: start;
	gap: 0 var(--tl-step-col-gap);
	width: auto;
}
/* Arrow to the next step (desktop row). */
body.tl-marketing-body .tl-marketing-main .tl-home-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 8px;
	right: -52px;
	width: 32px;
	height: 24px;
	background-color: var(--tl-teal);
	-webkit-mask: var(--tl-i-step-arrow) center / contain no-repeat;
	mask: var(--tl-i-step-arrow) center / contain no-repeat;
}
/* Number circle (a Heading widget holding "1"/"2"/"3"). */
body.tl-marketing-body .tl-marketing-main .tl-home-step__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--tl-step-num-size);
	height: var(--tl-step-num-size);
	border-radius: 50%;
	background: var(--tl-step-num-bg);
}
body.tl-marketing-body .tl-marketing-main .tl-home-step .tl-home-step__num .elementor-heading-title { font-size: var(--tl-step-num-text); font-weight: 800; line-height: 1; }
body.tl-marketing-body .tl-marketing-main .tl-home-step__body .elementor-image-box-wrapper { text-align: left; }
body.tl-marketing-body .tl-marketing-main .tl-home-step__body .elementor-image-box-title { margin: 8px 0 6px; }
/* Step titles = the body H3 (STYLE-CHECKLIST §1, chunk 2; triplead.css --tl-h3-*): 18 / 700 / 1.3 /
   -0.01em navy at every width. Was the widget's 18 / -0.02em, 17 on phones. */
body.tl-marketing-body .tl-marketing-main .tl-home-steps .tl-home-step__body .elementor-image-box-title { color: var(--tl-navy); font-size: var(--tl-h3-size); font-weight: 700; line-height: var(--tl-h3-lh); letter-spacing: -0.01em; }
body.tl-marketing-body .tl-marketing-main .tl-home-step__body .elementor-image-box-description { margin: 0; }
/* Step icon (later): 64px above the title. (0,5,1) beats Elementor's 30% default. */
body.tl-marketing-body .tl-marketing-main .tl-home-steps .tl-home-step__body .elementor-image-box-wrapper .elementor-image-box-img { width: 64px; margin: 0 0 4px; }

/* ---- M7. Popular destinations (restyled: Trello 68 stage 1, 0.24.331/332; PLAN-home-destinations-cruises.md
   §1, §7; mocks Images/home-destinations-cruises-{desktop,tablet,phone}-mockup.png, destinations only; Daniel
   §7.4: no "All destinations" link, no "Plan {name}" pill) -------------------------------------------
   Markup (includes/destinations.php + marketing.php, core-dev):
     section.tl-home-destinations#destinations > .e-con-inner >
       div.tl-home-destinations__title (Elementor heading widget) > p.tl-home-dest-kicker + h2 + p.tl-home-dest-intro
       div.tl-home-dest-grid[data-count=1..9] > div.tl-home-dest(.--first)(.--wide)(.--odd-last).elementor-widget-image-box >
         div.elementor-image-box-wrapper.tl-home-dest__card >
           figure.elementor-image-box-img > picture.tl-home-dest__picture > source* + img.tl-home-dest__img
             (or a bare img.attachment-full on an uncropped seeded tile) [--tl-dest-focus / -tab / -phone]
           div.elementor-image-box-content > h3 > a.tl-home-dest__link + p.elementor-image-box-description
   - Heading: the kicker is the site's eyebrow (13 / 700 / 0.16em capitals, teal-hover 6.0:1 on white); the
     H2 stays the Elementor / kit H2, as How it works; the intro is How it works' sub (15 / 1.6 body, 36em),
     8px under the H2. The section keeps M3's frame and the 64px (40 phones) top padding of How it works /
     the boxes, and 24px (16 phones) from the heading to the grid.
   - Grid: desktop (1025+) 4 columns, 260px rows, 20px gaps; .--wide spans 2 columns (core-dev's table per
     count, so every row is full). Tablet (768-1024) 2 columns, 220px rows, 16px gaps; --first and --odd-last
     span both. Phones 2 columns, 12px gaps, rows a little under the column width (square-ish pairs); --first
     spans both columns and 2 rows (the feature, with its description); --odd-last spans both columns.
   - Tile: the whole card is the photo (20px radius, the card shadow), the image covering it round its focus
     point (--tl-dest-focus, -tab on tablets, -phone on phones), name and description on it over a bottom
     fade of --tl-overlay (navy at 72%), full strength behind the text block (--tl-dest-fade: 84px; 80px on
     the phone feature, 48px behind a phone pair's name) and gone 96px above it (72px on phone pairs), so the
     photo keeps its colour above the text. White on the full fade is 6:1 or better over any photo (a white
     photo under 72% navy = #546289): measured on the lightest 5% of pixels behind each name / description. A light text-shadow keeps the
     edges crisp where the fade thins. Name 22 / 800 (phone pairs 17), description 14 / 1.45
     --tl-on-navy-text; phone pairs hide the description (mock: name only).
   - One link per tile, as before: a.tl-home-dest__link's ::after stretched over the card (above the fade),
     with the 2px teal focus ring 4px outside the card. Hover / focus: the card lifts 2px with the pop
     shadow, the photo zooms 4% (hover). Reduced motion: no lift, no zoom.
   Specificity (0,5,1)+ through .tl-home-dest-grid > .elementor-widget-image-box, over Elementor's image box
   (0,5,0) and the widgets' kit typography (0,4,0). No !important. */
body.tl-marketing-body .tl-marketing-main .tl-home-destinations { padding-top: 64px; }
body.tl-marketing-body .tl-marketing-main .tl-home-destinations > .e-con-inner { display: flex; flex-direction: column; gap: 24px; }

/* Heading: kicker, H2, intro. */
body.tl-marketing-body .tl-marketing-main .tl-home-destinations__title .tl-home-dest-kicker { margin: 0 0 8px; color: var(--tl-teal-hover); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; }
body.tl-marketing-body .tl-marketing-main .tl-home-destinations__title .tl-home-dest-intro { max-width: 36em; margin: 8px 0 0; color: var(--tl-body); font-size: 15px; line-height: 1.6; }

/* The grid. */
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 260px;
	gap: 20px;
}
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box { min-width: 0; width: auto; margin: 0; }
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .tl-home-dest--wide { grid-column: span 2; }
/* One tile on: it takes the whole row (a lone wide tile would leave half the row empty). */
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid[data-count="1"] > .tl-home-dest--first { grid-column: 1 / -1; }

/* The card: the photo is the card. */
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	overflow: hidden;
	border-radius: 20px;
	background: var(--tl-navy);
	box-shadow: var(--tl-shadow-card);
	text-align: left;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* (0,6,1): fill the card. Beats Elementor's per-widget 30% width and 15px margin (0,5,0). */
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-wrapper .elementor-image-box-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: 0;
	background: var(--tl-wash);
}
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, var(--tl-overlay) 0, var(--tl-overlay) var(--tl-dest-fade, 84px), transparent calc(var(--tl-dest-fade, 84px) + 96px));
	pointer-events: none;
}
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-img picture { display: contents; }
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: var(--tl-dest-focus, 50% 50%);
	transition: transform 0.3s ease;
}
/* Name and description on the photo. */
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-content {
	position: relative;
	z-index: 1;
	padding: 0 20px 18px;
	text-shadow: 0 1px 2px var(--tl-overlay);
}
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-title {
	margin: 0;
	color: var(--tl-white);
	font-family: var(--tl-font);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	overflow-wrap: anywhere;
}
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-description {
	margin: 4px 0 0;
	color: var(--tl-on-navy-text);
	font-family: var(--tl-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	overflow-wrap: anywhere;
}
/* The stretched link: the whole card is its hit area (above the fade, the ::after of the figure). */
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid .elementor-image-box-title a { color: inherit; text-decoration: none; }
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid .elementor-image-box-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 20px;
}
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid .elementor-image-box-title a:focus-visible { outline: 0; }
/* Teal ring on the page's white: 4.74:1, 4px outside the card (the card clips its own overflow, so the ring
   is drawn by the widget, which doesn't). */
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box:has(a:focus-visible) { border-radius: 20px; outline: 2px solid var(--tl-teal); outline-offset: 4px; }
/* Hover and keyboard focus. */
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-wrapper:is(:hover, :focus-within) { box-shadow: var(--tl-shadow-pop); transform: translateY(-2px); }
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box:has(a:focus-visible) { transform: translateY(-2px); }
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box:has(a:focus-visible) .elementor-image-box-wrapper { transform: none; }
body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-wrapper:hover .elementor-image-box-img img { transform: scale(1.04); }

/* Tablets (768-1024): 2 columns; the first and an odd last tile full width. */
@media (min-width: 768px) and (max-width: 1024px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .tl-home-dest--wide { grid-column: auto; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > :is(.tl-home-dest--first, .tl-home-dest--odd-last) { grid-column: 1 / -1; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-img img { object-position: var(--tl-dest-focus-tab, var(--tl-dest-focus, 50% 50%)); }
}
/* Phones: the first tile a 2-row feature with its description; then square-ish pairs, name only; an odd
   last tile full width. Rows = 86% of a column (the page gutter is 16px under 768, the gap 12). */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-destinations > .e-con-inner { gap: 16px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc((100vw - 44px) / 2 * 0.86); gap: 12px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .tl-home-dest--wide { grid-column: auto; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .tl-home-dest--first { grid-column: 1 / -1; grid-row: span 2; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .tl-home-dest--odd-last { grid-column: 1 / -1; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-wrapper,
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid .elementor-image-box-title a::after,
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box:has(a:focus-visible) { border-radius: 16px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-img img { object-position: var(--tl-dest-focus-phone, var(--tl-dest-focus, 50% 50%)); }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-content { padding: 0 14px 12px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-title { font-size: 17px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box { --tl-dest-fade: 48px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-img::after { background: linear-gradient(to top, var(--tl-overlay) 0, var(--tl-overlay) var(--tl-dest-fade), transparent calc(var(--tl-dest-fade) + 72px)); }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > :is(.tl-home-dest--first, .tl-home-dest--odd-last) { --tl-dest-fade: 80px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box:not(.tl-home-dest--first, .tl-home-dest--odd-last) .elementor-image-box-description { display: none; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .tl-home-dest--first .elementor-image-box-content { padding: 0 18px 16px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .tl-home-dest--first .elementor-image-box-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-wrapper,
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-img img { transition: none; }
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-wrapper:is(:hover, :focus-within),
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box:has(a:focus-visible),
	body.tl-marketing-body .tl-marketing-main .tl-home-dest-grid > .elementor-widget-image-box .elementor-image-box-wrapper:hover .elementor-image-box-img img { transform: none; }
}

/* ---- M8. Traveller / agent panels -------------------------------------------------
   Slice 15 (BRIEF-15 §5), mobile and desktop: the traveller panel is the primary call to
   action (solid navy, white button); the agent panel is secondary (white card, text link,
   the whole card links). Both "pills" are now plain kickers. Elementor's colour settings on
   these widgets are gone; what's left to beat is the Kit (h2 navy, links teal, the
   .elementor-kit-N .elementor-button rule at (0,2,0)/(0,3,0)) and the widgets' typography
   (0,4,0). Our selectors run through .tl-home-cards at (0,4,1) and up. */
body.tl-marketing-body .tl-marketing-main .tl-home-cards { padding-top: 64px; padding-bottom: 72px; }
body.tl-marketing-body .tl-marketing-main .tl-home-cards > .e-con-inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
body.tl-marketing-body .tl-marketing-main .tl-home-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: auto;
	min-width: 0;
	padding: 36px 40px 40px;
	overflow: hidden;
	border: 1px solid var(--tl-line);
	border-radius: 16px; /* STYLE-CHECKLIST §6, chunk 4 (was 18) */
	background: var(--tl-white);
}
body.tl-marketing-body .tl-marketing-main .tl-home-card > * { position: relative; z-index: 1; max-width: 100%; }
/* Kicker (was a pill): no box. */
body.tl-marketing-body .tl-marketing-main .tl-home-card__pill { display: block; width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
body.tl-marketing-body .tl-marketing-main .tl-home-card__pill .elementor-heading-title { letter-spacing: 0.16em; text-transform: uppercase; }
body.tl-marketing-body .tl-marketing-main .tl-home-card__title .elementor-heading-title { text-wrap: balance; }
body.tl-marketing-body .tl-marketing-main .tl-home-card__text { max-width: 440px; }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-card__text, .tl-home-card__note) p { margin: 0; }
body.tl-marketing-body .tl-marketing-main .tl-home-card .tl-home-btn { margin-top: 8px; }
/* Card art (later): bottom-right, behind the text; text column narrows to make room. The
   empty palm-trees slot collapses (M4). */
body.tl-marketing-body .tl-marketing-main .tl-home-card :is(.tl-art-slot--palm-trees, .tl-art-slot--agents-illustration) {
	position: absolute;
	z-index: 0;
	right: 24px;
	bottom: 24px;
	width: 36%;
	max-width: 220px;
}
@media (min-width: 768px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-card:has(.tl-art-slot img) > :not(.tl-art-slot) { max-width: 62%; }
}

/* Traveller panel: navy. Contrast on #12265c: kicker 9.29, title white 14.41, text 11.41,
   note 7.52; the button is navy on white 14.41 with a white focus ring (14.41 on navy). */
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers { border-color: var(--tl-navy); background: var(--tl-navy); }
/* Decorative ring, top right, clipped by the panel's overflow:hidden. Sized and placed so it
   clears the kicker and title (checked at 360-430 and desktop). */
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: -120px;
	right: -110px;
	width: 220px;
	height: 220px;
	box-sizing: border-box;
	border: 2px solid var(--tl-teal-bright);
	border-radius: 50%;
	opacity: 0.4;
	pointer-events: none;
}
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers .tl-home-card__pill .elementor-heading-title { color: var(--tl-on-navy-kicker); }
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers .tl-home-card__title .elementor-heading-title,
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers .tl-home-card__title .tl-accent-text { color: var(--tl-white); }
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers .tl-home-card__text { color: var(--tl-on-navy-text); }
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers .tl-home-card__note { margin-top: -6px; color: var(--tl-on-navy-mute); font-size: 13px; line-height: 1.4; }
/* White button, navy label. Every state is set, because the Kit's :hover/:focus rule is
   teal-hover with white text. */
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers .tl-home-btn--primary .elementor-button,
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers .tl-home-btn--primary .elementor-button:is(:hover, :focus, :active, :visited) {
	border: 0;
	border-radius: var(--tl-radius-btn);
	background-color: var(--tl-white);
	color: var(--tl-navy);
	fill: var(--tl-navy);
	font-weight: 700;
}
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers .tl-home-btn--primary .elementor-button:hover { background-color: var(--tl-on-navy-text); }
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers .tl-home-btn--primary .elementor-button:focus-visible { outline: 2px solid var(--tl-white); outline-offset: 3px; }

/* Agent panel: white card, muted kicker, teal text link; the whole card is the link. */
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents { overflow: visible; }
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents .tl-home-card__pill .elementor-heading-title { color: var(--tl-mute); }
/* The link widget must not be positioned (Elementor's .elementor-widget is relative, and
   M8's "> *" rule too), so the link's ::after stretches to the card. */
body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents > .tl-home-btn--link,
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--agent > .tl-faq-cta__btn--link { position: static; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--agent:has(> .tl-faq-cta__btn--link) { position: relative; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn--link .elementor-button-icon { display: none; } /* the arrow is the CSS mask below */
/* Neutralise the Kit's global button (fill, padding, radius, hover fill) in every state. */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-cards .tl-home-card--agents .tl-home-btn--link, .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn--link) .elementor-button,
body.tl-marketing-body .tl-marketing-main :is(.tl-home-cards .tl-home-card--agents .tl-home-btn--link, .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn--link) .elementor-button:is(:hover, :focus, :active, :visited) {
	display: inline-flex;
	align-items: center;
	width: auto;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--tl-arrow-link-color);
	font-size: var(--tl-arrow-link-size);
	font-weight: var(--tl-arrow-link-weight);
	line-height: var(--tl-arrow-link-lh);
	text-decoration: none;
	white-space: nowrap;
}
body.tl-marketing-body .tl-marketing-main :is(.tl-home-cards .tl-home-card--agents:hover .tl-home-btn--link, .tl-faq .tl-faq-cta--agent:hover .tl-faq-cta__btn--link) .elementor-button { color: var(--tl-arrow-link-hover); text-decoration: underline; text-underline-offset: var(--tl-arrow-link-underline-offset); }
/* "→" drawn with the arrow mask (decorative, not announced). Shared: the "Continue with
   AI" switch (M5c3) draws the same arrow at every width (phones since 0.18.6, 768+ since
   0.18.14), and so does the chat's "Go to my plan" fallback link (M5c4, BRIEF-20). */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-cards .tl-home-card--agents .tl-home-btn--link, .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn--link) .elementor-button-text::after,
body.tl-marketing-body .tl-marketing-main :is(.tl-hero-card[data-mode], .tl-home-cruise) .tl-home-card__switch--ai .tl-home-card__switch-label::after,
body.tl-marketing-body .tl-marketing-main .tl-hero-card[data-mode] .tl-ai__finish-link::after {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-left: 5px;
	vertical-align: -2px;
	background-color: currentColor;
	-webkit-mask: var(--tl-i-arrow-right) center / contain no-repeat;
	mask: var(--tl-i-arrow-right) center / contain no-repeat;
}
/* Stretched link over the card, above the kicker/title (z 1) so a tap anywhere lands on it. */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-cards .tl-home-card--agents .tl-home-btn--link, .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn--link) .elementor-button::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 16px; /* the card's (chunk 4) */
}
body.tl-marketing-body .tl-marketing-main :is(.tl-home-cards .tl-home-card--agents .tl-home-btn--link, .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn--link) .elementor-button:focus-visible { outline: 0; }
/* Teal ring round the whole card, on white: 4.74:1. */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-cards .tl-home-card--agents .tl-home-btn--link, .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn--link) .elementor-button:focus-visible::after { outline: 2px solid var(--tl-teal); outline-offset: 3px; }
/* The FAQ card's own radius (16 / 14) for the stretched link and its ring. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn--link .elementor-button::after { border-radius: var(--tl-page-radius); }
/* Phone-only widgets in the agent card (decision #70, M9): the one-line pitch and "See how it
   works for agents". Hidden at 768+, so the desktop card is exactly as before. */
@media (min-width: 768px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents > :is(.tl-home-card__mobile-line, .tl-home-card__mobile-link) { display: none; }
}

/* ---- M9. Section breakpoints ------------------------------------------------------ */
@media (max-width: 1024px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-how > .e-con-inner { padding: 32px 32px 36px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-steps { gap: 28px 48px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-step:not(:last-child)::after { right: -40px; width: 28px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-card { padding: 32px; }
	/* Narrower 2-up panels (901-1024): a smaller ring clears the 34px title. */
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers::after { top: -100px; right: -90px; width: 170px; height: 170px; }
}
@media (max-width: 900px) {
	/* Steps become a vertical timeline: number circles joined by a dashed line. */
	body.tl-marketing-body .tl-marketing-main .tl-home-steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 20px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-step { padding-bottom: 24px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-step:last-child { padding-bottom: 0; }
	body.tl-marketing-body .tl-marketing-main .tl-home-step:not(:last-child)::after {
		top: 48px;
		right: auto;
		bottom: 6px;
		left: 19px;
		width: 0;
		height: auto;
		border-left: 2px dashed var(--tl-teal);
		background: none;
		-webkit-mask: none;
		mask: none;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-step__body .elementor-image-box-title { margin-top: 6px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cards > .e-con-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-how,
	body.tl-marketing-body .tl-marketing-main .tl-home-destinations,
	body.tl-marketing-body .tl-marketing-main .tl-home-cards { padding-top: 40px; }
	/* How it works goes flat on phones (decision #70): no wash card, so the heading, intro, video,
	   steps and FAQs line sit on the page at the 16px gutter (the logo's x), like For agents' How
	   it works. The column and its 8px gap stay, so the vertical spacing is unchanged. Was a
	   20px-padded wash card, 14px radius, with the video bleeding through its sides. */
	body.tl-marketing-body .tl-marketing-main .tl-home-how > .e-con-inner { padding: 0; border: 0; border-radius: 0; background: none; }

	/* Panels on phones (decision #70, replaces BRIEF-15 §5 mobile): no navy traveller panel (it
	   repeated the hero and its form), and the agent card is a flat short block, not a card:
	   a 1px line on top, 24px down to one 15 / 1.6 body line ("Are you a travel agent?" in navy
	   700), then the standard arrow link "See how it works for agents". Both are Elementor widgets
	   that exist only for phones (.tl-home-card__mobile-line / __mobile-link, hidden at 768+ in M8);
	   the desktop kicker, title, text and "Learn more" are hidden here. The section keeps 40px
	   above (M9) and 48px below to the footer line. */
	body.tl-marketing-body .tl-marketing-main .tl-home-cards { padding-bottom: 48px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--travellers { display: none; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents {
		gap: 16px;
		padding: 24px 0 0;
		border: 0;
		border-top: 1px solid var(--tl-line);
		border-radius: 0;
		background: none;
		box-shadow: none;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents > :is(.tl-home-card__pill, .tl-home-card__title, .tl-home-card__text, .tl-home-btn--link:not(.tl-home-card__mobile-link)) { display: none; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents .tl-home-card__mobile-line p { margin: 0; color: var(--tl-body); font-size: 15px; line-height: 1.6; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents .tl-home-card__mobile-line strong { color: var(--tl-navy); font-weight: 700; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents > .tl-home-card__mobile-link { margin: 0; }
	/* The link is a plain arrow link here, not the desktop card's stretched link: no ::after over
	   the block, no block-hover underline, hover and focus on the link itself (the a.tl-arrow-link
	   look, M13: an 8px box padded 4px either side, cancelled by margins, 2px teal ring at offset 0).
	   (0,7,1) / (0,8,1) beat M8's (0,6,1) / (0,7,1), including its .tl-home-card--agents:hover rule. */
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents .tl-home-btn--link.tl-home-card__mobile-link .elementor-button,
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents .tl-home-btn--link.tl-home-card__mobile-link .elementor-button:is(:hover, :focus, :active, :visited) {
		margin: 0 -4px;
		padding: 0 4px;
		border-radius: var(--tl-radius-btn);
		color: var(--tl-arrow-link-color);
		text-decoration: none;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents .tl-home-btn--link.tl-home-card__mobile-link .elementor-button:hover { color: var(--tl-arrow-link-hover); text-decoration: underline; text-underline-offset: var(--tl-arrow-link-underline-offset); }
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents .tl-home-btn--link.tl-home-card__mobile-link .elementor-button::after { content: none; }
	body.tl-marketing-body .tl-marketing-main .tl-home-cards .tl-home-card--agents .tl-home-btn--link.tl-home-card__mobile-link .elementor-button:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 0; }
}

/* ---- M10. Footer ------------------------------------------------------------------
   The footer sits on the header's frame, so its logo is on the logo line at every width
   (#55 round 2): --tl-ftr-pad-x follows M2's bar sides: 24 / 20 (<=1279) / 16 (<=900, or
   the compact header at any width) / 12 (<=319). The header's tokens live on the header
   element and don't reach the footer, so the steps are repeated here; change both together. */
body.tl-marketing-body .tl-site-footer { --tl-ftr-pad-x: 24px; border-top: 1px solid var(--tl-line); background: var(--tl-white); }
@media (max-width: 1279px) {
	body.tl-marketing-body .tl-site-footer { --tl-ftr-pad-x: 20px; }
}
@media (max-width: 900px) {
	body.tl-marketing-body .tl-site-footer { --tl-ftr-pad-x: 16px; }
}
body.tl-marketing-body:has(.tl-site-header--compact) .tl-site-footer { --tl-ftr-pad-x: 16px; }
body.tl-marketing-body .tl-site-footer__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 40px;
	max-width: 1248px;
	margin: 0 auto;
	padding: 32px var(--tl-ftr-pad-x) 20px;
}
body.tl-marketing-body .tl-site-footer__logo { display: inline-flex; flex: none; border-radius: var(--tl-radius-btn); }
body.tl-marketing-body .tl-site-footer__logo-img { display: block; width: auto; height: 44px; max-width: none; }
body.tl-marketing-body .tl-site-footer__nav { flex: 1 1 auto; min-width: 0; }
body.tl-marketing-body .tl-site-footer__list { display: flex; flex-wrap: wrap; gap: 4px 28px; }
body.tl-marketing-body .tl-site-footer__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	border-radius: var(--tl-radius-btn);
	color: var(--tl-navy);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
body.tl-marketing-body .tl-site-footer__link:is(:hover, :focus) { color: var(--tl-teal-hover); text-decoration: underline; text-underline-offset: 4px; }
body.tl-marketing-body .tl-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.tl-marketing-body .tl-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border-radius: 50%;
	color: var(--tl-navy);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
body.tl-marketing-body .tl-social__link:is(:hover, :focus) { background: var(--tl-wash); color: var(--tl-teal-hover); }
body.tl-marketing-body .tl-social-icon { width: 24px; height: 24px; fill: currentColor; }
body.tl-marketing-body .tl-social__text { font-size: 14px; font-weight: 600; }
body.tl-marketing-body .tl-social__link:has(.tl-social__text) { border-radius: var(--tl-radius-pill); }
body.tl-marketing-body .tl-art-slot--footer-script { flex: none; width: 120px; }
/* Since 5 Oct the copy is inside .tl-site-footer__inner, straight after the logo; its
   padding and place are set per width below (beside the logo from 768, last on phones). */
body.tl-marketing-body .tl-site-footer__copy {
	/* Decision #60: the same small print as the slim footer's .tl-slim-copyright (triplead.css
	   §8): 14px/1.5 --tl-mute (4.6:1 on this white footer). Was 13px --tl-body, the odd one out. */
	color: var(--tl-mute);
	font-size: 14px;
	line-height: 1.5;
	overflow-wrap: break-word; /* as the slim footer's children at <=767 (triplead.css §8) */
}
/* Decision #60: " · ABN …" never splits; at narrow widths it drops to its own line whole. */
body.tl-marketing-body .tl-site-footer__copy .tl-footer-abn { white-space: nowrap; }
/* 768 and up, shared: links right-aligned to the frame's right edge (= the header's Post
   button / menu button right edge, same 1248 max-width and --tl-ftr-pad-x); the copyright
   left-aligned and never shrinking. */
@media (min-width: 768px) {
	body.tl-marketing-body .tl-site-footer__copy { flex: none; text-align: left; }
	body.tl-marketing-body .tl-site-footer__list { justify-content: flex-end; }
}
/* 768-899: the 0.22.80 two rows (coordinator, 5 Oct: no width may get taller). Row 1: logo
   left, links right, centred on the logo. Row 2: the copy (second in the DOM, so order: 1 and
   a 100% basis) left-aligned under the logo, 20px below (row-gap), 28px under it: 1 + 32 + 44
   + 20 + 21 + 28 = 146, as 0.22.80. The nav's 0 basis keeps it beside the logo (0.22.80's
   nowrap); when the links don't fit (large text) the list wraps inside it, right-aligned.
   Astra's back-to-top keeps its 30px here: the links end 69px above the page bottom, 7.5px
   above it, as in 0.22.80. */
@media (min-width: 768px) and (max-width: 899px) {
	body.tl-marketing-body .tl-site-footer__inner { gap: 20px 40px; padding-bottom: 28px; }
	body.tl-marketing-body .tl-site-footer__nav { flex-basis: 0; }
	body.tl-marketing-body .tl-site-footer__copy { order: 1; flex-basis: 100%; padding: 0; }
}
/* 900 and up (Daniel, 5 Oct): one row, the copyright beside the logo. Logo + 24 + copy + 40 +
   the six links at their 28px gap first fit on one row at 877 (876 wraps; Chrome, Windows
   fonts); 900 leaves about 23px for other font rendering, and from 901 the frame's 20px sides
   still fit. Logo left (on the header logo line), the copy 24px after it (column gap), then
   the nav (flex 1 1 auto), whose 16px margin, and the social and script slots' 16px, keep the
   old 40px gaps. Top-aligned: the logo, each link row and the social links are all 44px, so
   they share a mid line, and the copy's padding, (44px - its 1.5em line) / 2, puts its line
   on it too. If the links still wrap (large text), they wrap inside the nav, right-aligned and downwards; the logo and copy don't move.
   Bottom: 32 / 32, so the footer is 1 + 32 + 44 + 32 = 109 at every width from 900. Astra's
   fixed back-to-top would sit under the links' right end at the foot of the page (below about
   1368 + the scrollbar), so from 900 triplead.css §9 lifts it to 84px off the bottom, 8px
   above the links row (Daniel, 5 Oct). Change the two together. */
@media (min-width: 900px) {
	body.tl-marketing-body .tl-site-footer__inner { flex-wrap: nowrap; align-items: flex-start; column-gap: 24px; padding-bottom: 32px; }
	body.tl-marketing-body .tl-site-footer__copy { padding: calc((44px - 1.5em) / 2) 0; }
	body.tl-marketing-body .tl-site-footer__nav { margin-left: 16px; }
	body.tl-marketing-body .tl-site-footer__inner > :is(.tl-social, .tl-art-slot--footer-script) { margin-left: 16px; }
}
@media (max-width: 767px) {
	body.tl-marketing-body .tl-site-footer__inner { flex-direction: column; gap: 12px; padding: 28px 16px 12px; text-align: center; }
	body.tl-marketing-body .tl-site-footer__list { justify-content: center; gap: 0 20px; }
	body.tl-marketing-body .tl-social { justify-content: center; }
	body.tl-marketing-body .tl-art-slot--footer-script { width: 100px; }
	/* The copy is second in the DOM (beside the logo from 768); on phones it goes last, under
	   the links, social and script art, where it sat when it followed the inner: 12px gap +
	   4px = the old 12px inner bottom + 4px; 60px + the inner's 12px = the old 72px under the
	   line (Decision #60: clear of Astra's fixed scroll-to-top, triplead.css §9). The sides
	   come from the inner (16, or 12 at <=319). */
	body.tl-marketing-body .tl-site-footer__copy { order: 1; padding: 4px 0 60px; }
}
/* Large text (below 320px layout, i.e. zoom): the 44px logo is 194px wide, which pushed
   the footer column (and the nav with it) past the edge at 160-195. */
@media (max-width: 319px) {
	body.tl-marketing-body .tl-site-footer__inner { padding: 24px 12px 12px; }
	body.tl-marketing-body .tl-site-footer__logo-img { height: 28px; }
	body.tl-marketing-body .tl-site-footer__list { gap: 0 16px; }
}

/* ---- M11. Motion ------------------------------------------------------------------
   Each selector mirrors the one that sets the transition, so it has the same specificity
   and wins by coming later. */
@media (prefers-reduced-motion: reduce) {
	body.tl-marketing-body .tl-menu-toggle__bar,
	body.tl-marketing-body .tl-social__link,
	body.tl-marketing-body .tl-marketing-main .tl-home-btn .elementor-button { transition: none; }
	body.tl-marketing-body .tl-mobile-menu { animation: none; }
}

/* ---- M12. FAQs page (BRIEF-22, /faqs/) --------------------------------------------
   Page 2645 on the marketing template. Elementor markup, our classes (Advanced > CSS
   Classes; a container stores them as `css_classes`, a widget as `_css_classes`):
     div.tl-faq.tl-page > .tl-faq-intro (kicker, h1, intro: pages.css P2)
                > section.tl-faq-group.tl-faq-group--{travellers|agents|about}
                    > .tl-faq-group__head (icon widget + .tl-faq-group__text: h2 + sub)
                    > .tl-faq-acc (Nested Accordion: details > summary + .tl-faq-answer)
                > .tl-faq-ctas > .tl-faq-cta--traveller (navy) + .tl-faq-cta--agent (white)
   With "On this page" (1 Oct) the groups and CTAs move into .tl-page__layout >
   .tl-page__body.tl-faq-body, beside .tl-page__aside (see the layout block below).
   No widget on the page sets typography or colour, so every heading would be the Kit's
   primary (40px/800). This block sets the type (Kit globals where one fits) and colours
   from our tokens. Specificity: everything runs through
   body.tl-marketing-body .tl-marketing-main .tl-faq (0,3,1)+, which beats the page CSS
   (.elementor-2645 .elementor-element.elementor-element-X, (0,3,0)), the widget CSS
   ((0,2,0)-(0,4,0)) and the Kit (.elementor-kit-6 .elementor-button:hover, (0,3,0)). No
   !important. The accordion is styled through its --n-accordion-* properties where one
   exists. marketing.css loads before Elementor's CSS, so nothing here relies on order. */
/* Frame, header block and intro links: moved to pages.css (BRIEF-24, the shared .tl-page
   framework; pages.css loads after this file on the four info pages only). The FAQ root
   carries tl-page too; pages.css also matches .tl-faq and the .tl-faq-intro / .tl-faq__*
   names, so the page is the same with or without it. From there this block uses:
     --tl-page-pad-x (the header-matched side padding), --tl-page-radius (12px),
     --tl-page-card-line (#e8f0f6), --tl-page-row-line (#eef3f7),
     --tl-page-h2-* (the legal H2's size, line height and spacing, shared with the group titles).
   FAQ-only metrics stay here:
     --tl-faq-lh     the question's line height;
     --tl-faq-bleed  how far a question's hover/focus area reaches past the column on each
                     side (the text stays on the column edge);
     --tl-faq-panel  how far the open answer's wash panel reaches past the column on each
                     side, its text padded back to the edge. Below 1024 it's the page's side
                     padding, so the panel runs to the screen edges (see the media blocks). */
body.tl-marketing-body .tl-marketing-main .tl-faq {
	--tl-faq-lh: 1.4;
	--tl-faq-bleed: 8px;
	--tl-faq-panel: 16px;
}
/* Every FAQ container is ours: no Elementor padding (the frame's own: pages.css P1). */
body.tl-marketing-body .tl-marketing-main .tl-faq :is(.tl-faq-group, .tl-faq-group__head, .tl-faq-group__text, .tl-faq-ctas, .tl-faq-cta) { box-sizing: border-box; min-width: 0; padding: 0; }

/* "On this page" (FAQ TOC, 1 Oct). The root also holds .tl-page__layout:
     .tl-page__aside > (HTML widget) nav.tl-page-toc   (Terms' markup; pages.css P3 + P5)
     .tl-page__body.tl-faq-body > section.tl-faq-group x3 + .tl-faq-ctas
   pages.css P3 puts the body in the 9 columns (75%, the intro's width and left edge) and the
   TOC pinned in the right 3 from 1024, and stacks them below (TOC first). P4's reading-text
   rules are .tl-page--legal only. Here the body is a plain stack, each block the column's
   full width. Flat (Daniel, 1 Oct): the groups and the CTA row are spaced like the legal
   pages' sections, --tl-page-h2-space (48px, 40px on phones) above each, set as margins so
   the first group starts at the top of the column. The group anchors (#for-travellers,
   #for-agents, #about-triplead) are on the h2 widgets: the same 24px of air above as the
   questions (the header isn't sticky). */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-body { display: flex; flex-direction: column; gap: 0; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-body > * { width: auto; max-width: none; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-body > * + * { margin-top: var(--tl-page-h2-space); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-body [id] { scroll-margin-top: 24px; }

/* Links in the answers: teal-hover (6.4:1 on white, 6.1:1 on the wash), underlined, so they
   don't rely on colour. Focus: a 2px teal ring, 2px clear of the text. The intro's links are
   the same rule in pages.css P2.
   UX22-03: Astra's "a { transition: all .2s linear }" also animated the outline, so the ring
   grew in from Astra's thin dotted, 1px-offset one (measured mid-way as 1px/3px, 0-1px
   offset). Only the colour fades here, so the ring is instant and exact. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-answer__text a {
	border-radius: 2px;
	color: var(--tl-teal-hover);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: color 0.15s ease;
}
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-answer__text a:hover { color: var(--tl-navy); text-decoration-thickness: 2px; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-answer__text a:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }

/* Groups: flat (Daniel, 1 Oct). No card at any width: no border, background, radius or
   padding. Each group is a section heading (the legal pages' H2) with its grey sub-line,
   then the questions straight on the page, across the column. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-group {
	gap: 20px; /* sub-line to the first question's hairline */
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
/* Head: the title and sub-line, flush with the column's left edge. The teal icon widgets
   are hidden (and are being removed from the page): the head is laid out as a plain column,
   so it's the same with the icon element there or not. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-group__head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 0; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-group__icon { display: none; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-group__text { flex: none; width: 100%; gap: var(--tl-page-h2-after); }
/* Title = the /terms/ and /privacy/ H2 (pages.css P4): the same tokens, weight, tracking
   and colour. 23px/1.3/800 (21px on phones), navy 14.4:1. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-group__title .elementor-heading-title {
	color: var(--tl-navy);
	font-size: var(--tl-page-h2-size);
	font-weight: 800;
	line-height: var(--tl-page-h2-lh);
	letter-spacing: -0.01em;
}
/* Sub-line: mute on white 4.6:1. */
/* Sub-line = the section intro (STYLE-CHECKLIST §3, chunk 3): 15 / 1.6, body colour (7.0:1), 36em. Was mute, 1.5, uncapped. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-group__sub { max-width: 36em; color: var(--tl-body); font-size: 15px; line-height: 1.6; }

/* Questions: Nested Accordion. Chevron on the right (order 1), no widget borders or
   padding (we draw the rows), navy title, teal-hover on hover. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc {
	--n-accordion-title-font-size: 16px;
	--n-accordion-title-icon-order: 1;
	--n-accordion-border-width: 0px;
	--n-accordion-padding: 0px;
	--n-accordion-item-title-space-between: 0px;
	--n-accordion-item-title-distance-from-content: 0px;
	--n-accordion-icon-size: 14px;
	--n-accordion-icon-gap: 0 16px;
	--n-accordion-title-normal-color: var(--tl-navy);
	--n-accordion-title-hover-color: var(--tl-teal-hover);
	--n-accordion-title-active-color: var(--tl-navy);
	--n-accordion-icon-normal-color: var(--tl-navy);
	--n-accordion-icon-hover-color: var(--tl-teal-hover);
	--n-accordion-icon-active-color: var(--tl-navy);
}
/* Rows: a hairline above each question (the first too) and one under the last, the
   column's full width. The item never changes when it opens: no margin, border, padding,
   radius or background in either state.
   The jump (fixed 1 Oct): the open item used to get `margin: 8px 0` (the first item of a
   list was let off with margin-top: 0), so from the 2nd question on, the row moved 8px down
   when it opened and back up when it closed. Now the open state only shows the answer. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc .e-n-accordion { border-bottom: 1px solid var(--tl-page-row-line); }
body.tl-marketing-body .tl-marketing-main .tl-faq details.e-n-accordion-item,
body.tl-marketing-body .tl-marketing-main .tl-faq details.e-n-accordion-item[open] {
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--tl-page-row-line);
	border-radius: 0;
	background: transparent;
	scroll-margin-top: 24px; /* the header isn't sticky (position: relative): this is just air */
	transition: none; /* no accordion animation (Daniel): the answer appears at once */
}
/* The question: 48px (a 22.4px line + 2 x 13px). The text sits on the column edge; the
   hover/focus area reaches --tl-faq-bleed past it on both sides. The chevron sits in a box
   one line tall, so it stays level with the first line when the question wraps. Same box
   open or closed (Elementor's [open] rule only adds margin-block-end: 0 and the colour). */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc summary.e-n-accordion-item-title {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0 calc(-1 * var(--tl-faq-bleed));
	padding: 13px var(--tl-faq-bleed);
	border: 0;
	border-radius: 8px;
	background: transparent;
	list-style: none;
}
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc summary.e-n-accordion-item-title::-webkit-details-marker { display: none; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc summary.e-n-accordion-item-title::marker { content: ""; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc .e-n-accordion-item-title-header { flex: 1 1 auto; min-width: 0; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc .e-n-accordion-item-title-text {
	display: block;
	font-family: var(--tl-font);
	font-weight: 600;
	line-height: var(--tl-faq-lh);
	overflow-wrap: anywhere;
	transition: none; /* no fade either: opening or closing a hovered row changed its colour over 150ms */
}
/* Hover reads the same open or closed (Elementor's hover colour is closed-only), so a
   click on a hovered question changes nothing but the chevron. These outrank Elementor's
   [open] > title rules ((0,3,0) colour, (0,5,1) fill). */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc details.e-n-accordion-item[open] > summary.e-n-accordion-item-title:hover { color: var(--tl-teal-hover); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc details.e-n-accordion-item[open] > summary.e-n-accordion-item-title:hover .e-n-accordion-item-title-icon svg { fill: var(--tl-teal-hover); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc .e-n-accordion-item-title-icon { flex: none; height: calc(var(--n-accordion-title-font-size) * var(--tl-faq-lh)); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc .e-n-accordion-item-title-icon span { align-items: center; height: 100%; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc .e-n-accordion-item-title-icon svg { width: var(--n-accordion-icon-size); height: var(--n-accordion-icon-size); }
/* Focus (Daniel): a 2px teal ring on the row, inset; it reads on white (4.74:1). */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc summary.e-n-accordion-item-title:focus { outline: 0; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc summary.e-n-accordion-item-title:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: -2px; }
/* The answer: the soft wash panel is the answer's alone (1 Oct), under the question row.
   It reaches --tl-faq-panel past the column and pads its text back, so the answer starts on
   the question's left edge. Body colour on the wash 6.8:1. 16px of white under it, before
   the next hairline. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-answer {
	width: auto; /* Elementor's e-con-full is 100% wide, which would cancel the right-hand reach */
	max-width: none;
	margin: 0 calc(-1 * var(--tl-faq-panel)) 16px;
	padding: 14px var(--tl-faq-panel) 16px;
	border: 0;
	border-radius: 8px;
	background: var(--tl-wash);
}
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-answer__text { color: var(--tl-body); font-size: 15px; line-height: 1.6; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-answer__text p + p { margin-top: 0.75em; }

/* CTA cards: side by side; stacked below 768, traveller first (the source order). They
   stay cards. The space above is the column rule's --tl-page-h2-space. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-ctas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: auto;
	padding: 28px 28px 30px;
	border: 1px solid var(--tl-line); /* STYLE-CHECKLIST §6, chunk 4 (was --tl-page-card-line) */
	border-radius: var(--tl-page-radius);
	background: var(--tl-white);
}
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta > .elementor-widget { max-width: 100%; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__kicker .elementor-heading-title { color: var(--tl-mute); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__title .elementor-heading-title { color: var(--tl-navy); font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__text { max-width: 340px; color: var(--tl-body); font-size: 15px; line-height: 1.5; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn { margin-top: 10px; }
/* Buttons: 48px (--tl-control-h), 8px radius, every state set (the Kit's :hover/:focus is
   teal-hover with white text). */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: var(--tl-control-h);
	padding: 0 24px;
	border: 1.5px solid transparent;
	border-radius: var(--tl-radius-btn);
	font-family: var(--tl-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn .elementor-button-icon { display: inline-flex; margin: 0; }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn .elementor-button-icon svg { width: 18px; height: 18px; fill: currentColor; }

/* Traveller card: navy, the homepage panel's colours (M8). Kicker 9.3:1, title 14.4:1,
   text 11.4:1; the button is navy on white 14.4:1 with a white ring. */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--traveller { border-color: var(--tl-navy); background: var(--tl-navy); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--traveller .tl-faq-cta__kicker .elementor-heading-title { color: var(--tl-on-navy-kicker); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--traveller .tl-faq-cta__title .elementor-heading-title { color: var(--tl-white); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--traveller .tl-faq-cta__text { color: var(--tl-on-navy-text); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--traveller .tl-faq-cta__btn .elementor-button,
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--traveller .tl-faq-cta__btn .elementor-button:is(:focus, :active, :visited) { border-color: var(--tl-white); background-color: var(--tl-white); color: var(--tl-navy); fill: var(--tl-navy); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--traveller .tl-faq-cta__btn .elementor-button:hover { border-color: var(--tl-on-navy-text); background-color: var(--tl-on-navy-text); color: var(--tl-navy); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--traveller .tl-faq-cta__btn .elementor-button:focus-visible { outline: 2px solid var(--tl-white); outline-offset: 3px; }
/* Agent card: white with the line border; outline teal button (.tl-btn-outline's look:
   teal on white 4.74:1, teal-hover on teal-soft on hover). */
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn:not(.tl-faq-cta__btn--link) .elementor-button,
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn:not(.tl-faq-cta__btn--link) .elementor-button:is(:focus, :active, :visited) { border-color: var(--tl-teal); background-color: var(--tl-white); color: var(--tl-teal); fill: var(--tl-teal); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn:not(.tl-faq-cta__btn--link) .elementor-button:hover { border-color: var(--tl-teal); background-color: var(--tl-teal-soft); color: var(--tl-teal-hover); }
body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta--agent .tl-faq-cta__btn:not(.tl-faq-cta__btn--link) .elementor-button:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; } /* §10 offset (chunk 4; was 3) */

/* Below 1024 (one column, 16-20px page sides): the open answer's wash panel runs edge to
   edge of the screen (no radius) and pads its text back to the gutter, so the answer stays
   on the logo line (the 0.21.2 phone treatment, now the only width where it applies). */
@media (max-width: 1023px) {
	body.tl-marketing-body .tl-marketing-main .tl-faq { --tl-faq-panel: var(--tl-page-pad-x); }
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-answer { border-radius: 0; }
}
/* Phones (<=767): the 16px gutter (#47, M3's --tl-sec-pad-x; pages.css P1), the CTA cards
   stacked. The groups' flat look, 40px apart, and the 21px titles come from the shared
   rules and tokens above (0.21.2's phone-only no-card block is folded in). */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-group { gap: 16px; }
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-ctas { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta { padding: 24px 20px 26px; }
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__title .elementor-heading-title { font-size: 23px; }
	/* Primary buttons full width on phones (STYLE-CHECKLIST §7, chunk 4); the arrow link stays a link. */
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn:not(.tl-faq-cta__btn--link),
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn:not(.tl-faq-cta__btn--link) .elementor-button { width: 100%; }
}
/* 200% zoom on a phone (a 160-259px layout viewport; the M2/M10 large-text step): the
   sides tighten, so nothing clips or scrolls sideways. */
@media (max-width: 319px) {
	body.tl-marketing-body .tl-marketing-main .tl-faq { --tl-faq-bleed: 6px; } /* the 12px sides: pages.css P1 */
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-acc { --n-accordion-icon-gap: 0 8px; }
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta { padding: 20px 14px 22px; }
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn,
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn .elementor-button { width: 100%; }
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn .elementor-button { padding: 10px 14px; white-space: normal; }
}
/* Motion: colour fades only, and none with reduced motion (same selectors, later). */
@media (prefers-reduced-motion: reduce) {
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-answer__text a,
	body.tl-marketing-body .tl-marketing-main .tl-faq .tl-faq-cta__btn .elementor-button { transition: none; }
}
/* ---- end M12 ---- */

/* ---- M6b. How it works: "Questions? Read our FAQs →" (Daniel, 1 Oct) -----------------
   Markup (Elementor text-editor widget, LAST child of .e-con-inner, after .tl-home-steps):
     div.tl-home-how__faq.elementor-widget-text-editor > p > a.tl-home-how__faq-link
   The text is Daniel's to edit; the arrow is the ::after (no markup), so editing can't break it.
   - Looks like "Get inspired →" (triplead.css 3c): 15px/600/22px, the same arrow geometry
     (--tl-i-arrow-right-ui, 15px, 4px gap), underline on hover, 2px teal focus ring at
     offset 0 round a padded box. One difference: this box is the wash, where --tl-teal text
     is 4.47:1 (below AA at 15px), so the text is --tl-teal-hover (6.02:1) at rest, per the
     token rule for teal text on tinted surfaces. The ring is non-text (teal 4.47 > 3).
   - Hit area: 11px above/below and 4px each side, cancelled by equal negative margins, so the
     box is 44px tall but the text sits exactly where it would without it.
   - 768+: the widget shares the heading's grid cell (row 1, col 1), right-aligned, first
     baselines shared with the H2. .e-con-inner becomes a one-column grid ONLY when the widget
     is there (:has), so the live page without it is untouched. One column, so the title keeps
     its full width; the link's line box (22px) is shorter than the H2's above and below its
     baseline, so row 1 stays the H2's height and the sub-line and steps don't move.
     max-width 50% keeps the H2 clear if the text is ever made much longer (it would wrap).
   - Phones (<=767): in flow below the steps, left edge on the steps' left edge, 20px above
     (8px container gap + 12px).
   - Without :has() (Firefox <121), the link stays below the steps at every width. */
body.tl-marketing-body .tl-marketing-main .tl-home-how__faq { margin: 12px 0 0; }
/* (0,4,2): the widget's p must not take Astra's 1.6em bottom margin or the Kit's body size. */
body.tl-marketing-body .tl-marketing-main .tl-home-how__faq p { margin: 0; font-size: 15px; line-height: 22px; }
body.tl-marketing-body .tl-marketing-main .tl-home-how__faq .tl-home-how__faq-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: -11px -4px;
	padding: 11px 4px;
	border-radius: var(--tl-radius-btn);
	color: var(--tl-teal-hover);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	text-decoration: none;
	transition: none; /* Astra's "a { transition: all .2s linear }" faded the focus ring in; Get inspired has none */
}
body.tl-marketing-body .tl-marketing-main .tl-home-how__faq .tl-home-how__faq-link::after {
	content: "";
	flex: none;
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: var(--tl-i-arrow-right-ui) center / contain no-repeat;
	mask: var(--tl-i-arrow-right-ui) center / contain no-repeat;
}
/* Kit/Astra link hover/focus colours ((0,1,1)-(0,2,1)) can't reach (0,4,1); the colour stays. */
body.tl-marketing-body .tl-marketing-main .tl-home-how__faq .tl-home-how__faq-link:hover { text-decoration: underline; }
body.tl-marketing-body .tl-marketing-main .tl-home-how__faq .tl-home-how__faq-link:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 0; }
/* Phones: no wash card behind it any more (decision #70), so it's the site arrow link on white:
   --tl-arrow-link-color (teal, 4.74:1), --tl-arrow-link-hover on hover, as on For agents. */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-how__faq .tl-home-how__faq-link { color: var(--tl-arrow-link-color); }
	body.tl-marketing-body .tl-marketing-main .tl-home-how__faq .tl-home-how__faq-link:hover { color: var(--tl-arrow-link-hover); }
}
@media (min-width: 768px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-how > .e-con-inner:has(> .tl-home-how__faq) {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
		justify-items: stretch;
	}
	body.tl-marketing-body .tl-marketing-main .tl-home-how > .e-con-inner:has(> .tl-home-how__faq) > .tl-home-how__title { grid-area: 1 / 1; align-self: baseline; }
	body.tl-marketing-body .tl-marketing-main .tl-home-how > .e-con-inner > .tl-home-how__faq {
		grid-area: 1 / 1;
		justify-self: end;
		align-self: baseline;
		max-width: 50%;
		margin: 0;
		text-align: right;
	}
}
/* ---- end M6b ---- */

/* ---- M6p. Video player, shared (.tl-how-player; decision #61 How it works, #62 For agents) --
   The light player from BRIEF-how-it-works-video §4b, for every [data-tl-how-player] on a
   marketing page: the homepage's How it works (M6c holds its layout) and the For agents hero's
   voiced video (for-agents.css F4b holds its layout). Lifted out of M6c in #62 with no change to
   the homepage (computed styles and screenshots diffed before/after in poster, playing, idle,
   CC, ended, loading and full-screen states at 390, 1024 and 1440). Markup (assets/how-video.js):
     div.tl-how-player[data-tl-how-player]   state: is-enhanced is-started is-playing is-paused
                                             is-ended is-idle is-cc is-muted is-fullscreen is-loading is-error
       video.tl-how-video                    (JS removes [controls] once enhanced)
       button.tl-how-play                    big centred play/replay button
       span.tl-how-spinner[aria-hidden]      slow-network ring (.is-loading only)
       div.tl-how-controls > button.tl-how-btn.tl-how-btn--play|--mute|--cc|--fs (two svgs, one [hidden])
       div.tl-how-progress[role=slider] > div.tl-how-progress__fill   (--tl-how-progress: 0-1)
   What lives here: the frame (radius 16, 12 under 768, overflow, wash, the CSS poster slot
   --tl-how-poster), the video's resets, native-control hiding, focus, captions, the play button,
   spinner, pill, buttons, icons, progress line, no-JS and full screen. What doesn't: the video's
   ratio, the poster URLs and the widget spacing (each page's own block), and where captions sit
   on a given cut (a cut's own artwork decides that).
   Specificity: the descendants keep M6c's old weight ((0,4,1): ".tl-how-player .tl-how-x" for
   ".tl-home-how .tl-how-x"); rules on the player itself are one class lighter than before, so a
   page block re-sets ratio / poster / caption band over them by plain specificity. This block
   comes BEFORE M6c, so a page rule of equal weight wins on order. Full screen: a page's per-cut
   ratio rule can outweigh the shared one, so a page that sets a ratio on a state class repeats
   aspect-ratio: auto for full screen in its own block (M6c, F4b).
   - No JS: the play button, spinner, pill and progress line stay display:none and the native
     controls show. Enhanced: native control pseudo-elements are hidden too (Chrome/WebKit can
     still draw an overlay play button without [controls]); each in its own rule, because an
     unknown ::-webkit pseudo-element would drop a whole selector list in Firefox.
   - Pill + progress: shown once started (playing or paused), hidden before the first play and
     when ended (the big button shows then). .is-idle (JS sets it only while playing) fades them
     over 200ms (opacity + pointer-events only, so Tab still reaches them); :has(:focus-visible)
     keeps them up for keyboard users only (a mouse click or tap that moves focus into the pill
     isn't :focus-visible, so it still fades; F1 in reviews/UX-how-it-works-video-v2.md). Reduced motion: no fade.
   - Error (.is-error, a media error): the big button shows again over the poster, as the retry.
   - Spinner (Daniel, #62): .is-loading (JS: 250ms after Play with no frames, or a mid-play
     stall). Where the big button sits and its size (72, 56 under 768); a white-90% disc with
     the pill's shadow and a thin teal arc turning every 0.8s (tl-ai-spin, M5's posting spinner).
     No scrim. Fades in over 150ms; never takes a click; the big button hides under it. Reduced
     motion: the arc stands still (still visible).
   - Focus: keyboard only, the site's 2px teal ring (triplead.css 3). Play button: 3px offset
     (teal ring on the light poster). Pill buttons: 2px offset, inside the pill's 4px padding
     (teal on white 4.74:1). Slider: a drawn ring (::after) round its 20px hit band, because an
     outline at the bottom edge would be clipped by the player. No-JS video: ring on the player.
   - Component colours: --tl-how-glass (white 90%) and --tl-how-track (white 60%) are set once
     on the player; everything else is a site token. */
body.tl-marketing-body .tl-marketing-main .tl-how-player {
	--tl-how-glass: rgba(255, 255, 255, 0.9);
	--tl-how-track: rgba(255, 255, 255, 0.6);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: 16px;
	background-color: var(--tl-wash);
	/* A page may paint its poster here (M6c: --tl-how-poster, one URL per width); else none. */
	background-image: var(--tl-how-poster, none);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	-webkit-tap-highlight-color: transparent;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-video {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: inherit;
	/* Transparent so the player's wash + CSS poster show until the first frame (no-JS has no
	   poster attribute at all on the homepage). Playing frames are opaque and cover-fitted. */
	background: transparent;
	box-shadow: none;
	object-fit: cover;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced .tl-how-video { cursor: pointer; }
/* No JS: the native controls make the video focusable. The ring goes on the player, which isn't
   clipped by its own overflow. */
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-video:focus { outline: 0; }
body.tl-marketing-body .tl-marketing-main .tl-how-player:has(> .tl-how-video:focus-visible) { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
/* Enhanced: no native chrome at all. */
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced .tl-how-video::-webkit-media-controls { display: none; }
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced .tl-how-video::-webkit-media-controls-overlay-play-button { display: none; }
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced .tl-how-video::-webkit-media-controls-start-playback-button { display: none; }
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced .tl-how-video::-webkit-media-controls-panel { display: none; }
/* Captions: navy on white 90%, never a black box (::cue takes colour, background, font only). */
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-video::cue {
	color: var(--tl-navy);
	background-color: var(--tl-how-glass);
	text-shadow: none;
	font-family: var(--tl-font); /* the site font (chunk 5; inherit gave the UA's sans-serif) */
	font-size: 16px;
	line-height: 1.4;
}
/* Blink/WebKit draw cues on the bottom edge, under the pill (measured at 390: the second line sat
   behind the buttons). Once started, the cue box rises 64px (12px inset + 48px pill + 4px), and it
   stays up while idle so the lines don't jump when the pill fades. Firefox has no such hook.
   A cut whose artwork needs another band says so in its page block (M6c wide cut, F4b). */
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced.is-started:not(.is-ended) .tl-how-video::-webkit-media-text-track-container { transform: translateY(-64px); }
/* No JS, no poster attribute (v3r): Chrome fills the native controls layer with dark grey until
   a frame loads. Transparent, so the CSS poster (or the poster attribute) shows under the native bar. */
body.tl-marketing-body .tl-marketing-main .tl-how-player:not(.is-enhanced) .tl-how-video::-webkit-media-controls { background: transparent; }

/* Custom controls: nothing until the JS has taken over. */
body.tl-marketing-body .tl-marketing-main .tl-how-player:not(.is-enhanced) :is(.tl-how-play, .tl-how-controls, .tl-how-progress, .tl-how-spinner) { display: none; }

/* Big play / replay button. Only the circle is a target; a click on the rest of the poster
   reaches the video, which the JS toggles. */
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 72px;
	height: 72px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tl-teal);
	box-shadow: var(--tl-shadow-pop);
	color: var(--tl-white);
	line-height: 1;
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: background-color 0.15s ease;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-play:is(:hover, :focus, :active) { background: var(--tl-teal-hover); color: var(--tl-white); }
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-play:focus:not(:focus-visible) { outline: 0; }
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-play:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; box-shadow: var(--tl-shadow-pop); } /* §10 offset (chunk 5; was 3) */
/* No nudge: the JS triangle (x 8.5-18.5 in a 24 box) already has its centroid on the centre. */
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-play svg { display: block; flex: none; width: 28px; height: 28px; margin: 0; pointer-events: none; }
/* .is-error (a media error): the big button comes back as the retry (the JS also clears [hidden]). */
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-started:not(.is-ended):not(.is-error) .tl-how-play { display: none; }
/* Loading before the first frame: the spinner takes the button's place. */
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-loading .tl-how-play { visibility: hidden; }

/* Spinner: a white-90% disc the size of the play button, a thin teal arc on a pale track. */
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-spinner {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	display: block;
	box-sizing: border-box;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 50%;
	background: var(--tl-how-glass);
	box-shadow: var(--tl-shadow-card);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, visibility 0s linear 0.15s;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-spinner::before {
	content: "";
	position: absolute;
	inset: 22px;
	box-sizing: border-box;
	border: 3px solid var(--tl-teal-soft);
	border-top-color: var(--tl-teal);
	border-radius: 50%;
	animation: tl-ai-spin 0.8s linear infinite;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced.is-loading .tl-how-spinner {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.15s ease, visibility 0s;
}

/* The pill and the progress line: shown once started, faded when idle. */
body.tl-marketing-body .tl-marketing-main .tl-how-player :is(.tl-how-controls, .tl-how-progress) {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced.is-started:not(.is-ended) :is(.tl-how-controls, .tl-how-progress) {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.2s ease, visibility 0s;
}
/* Idle: fade only. They stay visible to the keyboard (so Tab can come back into a playing,
   idle player and :has(:focus-visible) brings them up), but ignore the pointer while invisible. */
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced.is-started.is-idle:not(.is-ended):not(:has(:focus-visible)) :is(.tl-how-controls, .tl-how-progress) {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-controls {
	position: absolute;
	z-index: 2;
	right: 12px;
	bottom: 12px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 4px;
	border-radius: 999px;
	background: var(--tl-how-glass);
	box-shadow: var(--tl-shadow-card);
}
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--tl-navy);
	line-height: 1;
	cursor: pointer;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-btn:is(:hover, :focus, :active) { background: var(--tl-teal-soft); color: var(--tl-navy); }
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-btn[aria-pressed="true"] { background: var(--tl-teal-soft); }
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-btn:focus:not(:focus-visible) { outline: 0; }
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-btn:focus:not(:focus-visible):not(:hover):not([aria-pressed="true"]) { background: transparent; }
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-btn:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; box-shadow: none; }
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-btn svg { display: block; flex: none; width: 20px; height: 20px; pointer-events: none; }
/* The JS hides the big button and any unavailable pill button (e.g. full screen where the API is
   missing) with [hidden]; our display:flex/inline-flex would otherwise beat the UA's [hidden]. */
body.tl-marketing-body .tl-marketing-main .tl-how-player :is(.tl-how-btn, .tl-how-play) svg[hidden],
body.tl-marketing-body .tl-marketing-main .tl-how-player :is(.tl-how-play, .tl-how-btn)[hidden] { display: none; }
/* Icon pairs follow the player state too (svg.hidden = true writes no attribute: SVGElement has no
   hidden property, so [hidden] alone showed both icons in the combined preview). */
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-playing .tl-how-icon--play,
body.tl-marketing-body .tl-marketing-main .tl-how-player:not(.is-playing) .tl-how-icon--pause,
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-muted .tl-how-icon--volume,
body.tl-marketing-body .tl-marketing-main .tl-how-player:not(.is-muted) .tl-how-icon--muted,
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-fullscreen .tl-how-icon--fs,
body.tl-marketing-body .tl-marketing-main .tl-how-player:not(.is-fullscreen) .tl-how-icon--fs-exit { display: none; }
/* Touch: the site's 44px tap target (the brief's 40px holds for mouse). */
@media (pointer: coarse) {
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-btn { width: 44px; height: 44px; }
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-controls { padding: 2px; }
}

/* Progress line: 3px on the bottom edge; ::before is a 20px invisible hit band above it
   (under the pill, which sits higher in z). The fill scales from the left. */
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-progress {
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	margin: 0;
	padding: 0;
	background: var(--tl-how-track);
	cursor: pointer;
	touch-action: none;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-progress::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 20px;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-progress__fill {
	position: absolute;
	inset: 0;
	background: var(--tl-teal);
	transform: scaleX(var(--tl-how-progress, 0));
	transform-origin: left center;
	pointer-events: none;
}
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-progress:focus { outline: 0; }
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-progress:focus-visible { outline: 0; box-shadow: none; }
body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-progress:focus-visible::after {
	content: "";
	position: absolute;
	right: 4px;
	bottom: 4px;
	left: 4px;
	height: 12px;
	border: 2px solid var(--tl-teal);
	border-radius: 6px;
	box-shadow: 0 0 0 2px var(--tl-how-glass);
	pointer-events: none;
}

/* Phones: 12px radius, a 56px play button and spinner, 14px captions. */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-how-player { border-radius: 14px; } /* the card radius on phones (Daniel, 4 Oct; was 12) */
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-play { width: 56px; height: 56px; }
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-play svg { width: 22px; height: 22px; }
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-spinner { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-spinner::before { inset: 17px; }
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-video::cue { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	body.tl-marketing-body .tl-marketing-main .tl-how-player :is(.tl-how-controls, .tl-how-progress),
	body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced.is-started:not(.is-ended) :is(.tl-how-controls, .tl-how-progress),
	body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced.is-started.is-idle:not(.is-ended):not(:has(:focus-visible)) :is(.tl-how-controls, .tl-how-progress),
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-play,
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-spinner,
	body.tl-marketing-body .tl-marketing-main .tl-how-player.is-enhanced.is-loading .tl-how-spinner { transition: none; }
	/* A still arc: no turning, still on screen while loading. */
	body.tl-marketing-body .tl-marketing-main .tl-how-player .tl-how-spinner::before { animation: none; }
}

/* Full screen (requestFullscreen on the player; iPhone uses the video's own full screen, which
   the browser draws). The player fills the screen and the whole frame shows (contain); the
   browser's dark backdrop is acceptable here. Separate rules: an unsupported :-webkit-full-screen
   would drop a whole list. Last in the block so they beat the phone radius. */
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-fullscreen { width: 100%; height: 100%; border-radius: 0; background-image: none; }
body.tl-marketing-body .tl-marketing-main .tl-how-player:fullscreen { width: 100%; height: 100%; border-radius: 0; background-image: none; }
body.tl-marketing-body .tl-marketing-main .tl-how-player:-webkit-full-screen { width: 100%; height: 100%; border-radius: 0; background-image: none; }
body.tl-marketing-body .tl-marketing-main .tl-how-player.is-fullscreen .tl-how-video { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: contain; }
body.tl-marketing-body .tl-marketing-main .tl-how-player:fullscreen .tl-how-video { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: contain; }
body.tl-marketing-body .tl-marketing-main .tl-how-player:-webkit-full-screen .tl-how-video { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: contain; }
/* ---- end M6p ---- */

/* ---- M6c. How it works: the video, v2 (decision #61, BRIEF-how-it-works-video v2 §2, §3b) --
   v2 replaces the 760px-capped v1 (no 720/760 cap anywhere now). The player's controls, frame,
   captions look, spinner and full screen are the shared M6p (#62); this block is the homepage's
   layout only. Markup (core-dev shortcode in the Elementor Shortcode widget .tl-home-how__video,
   between .tl-home-how__sub and .tl-home-steps; this Elementor prints no .elementor-widget-container):
     div.tl-how-video-wrap > div.tl-how-player[data-tl-how-player] (+ the picker's is-wide /
     is-169 / is-square) > video.tl-how-video (+ tl-how-video--wide|169|square) + M6p's controls
   - Width: the widget is 100% of the card's content box at 768+ (same inset as the step row,
     no max-width). Under 768 there's no card (decision #70), so it's the page's content width
     on the 16px gutter, like the heading, sub and steps.
   - Rhythm: the card is a column on an 8px gap. Sub -> video 24/20/16px (desktop/tablet/phone)
     = 8 + margin 16/12/8. Video -> steps 28/24/20px = 8 + steps margin 20/16/12 (the steps'
     own 28px/20px top margin is only reset when the video is right above them).
   - Shared (#63): the shape, poster-per-width and full-screen rules below are scoped
     :is(.tl-home-how, .tl-fa-section--how), so the For agents How it works player (for-agents.css
     F7d) gets the same cuts; one class of weight either way, so the homepage is unchanged.
     The spacing, the phone bleed and the wide cut's top caption band stay homepage-only.
   - Shape (v3r): 12/5 at 1200+, 16:9 at 768-1199, 1:1 under 768 by media query (no-JS), and by
     the picker's .is-wide / .is-169 / .is-square once it has run (classes win). Radius 16/12
     (M6p). The poster is the player's CSS background (M6p paints --tl-how-poster; the URLs are
     --tl-how-poster-* inline on the player), one image per width; the video itself is
     transparent. No border, shadow, gradient or scrim: wash behind everything, so
     loading/letterbox never shows black. aspect-ratio + the width/height attributes reserve
     the box: no layout shift. */
body.tl-marketing-body .tl-marketing-main .tl-home-how :is(.tl-home-how__video, .elementor-widget-shortcode:has(.tl-how-video-wrap)) {
	width: 100%;
	max-width: 100%;
	margin: 16px 0 0;
	padding: 0;
}
body.tl-marketing-body .tl-marketing-main .tl-home-how :is(.tl-home-how__video, .elementor-widget-shortcode:has(.tl-how-video-wrap)) + .tl-home-steps { margin-top: 20px; }
body.tl-marketing-body .tl-marketing-main .tl-home-how .tl-how-video-wrap { width: 100%; max-width: none; margin: 0; }
/* The poster for this cut, painted by M6p (v3r: the markup has no poster attribute; the picker
   sets one later with the same URL, so it comes from cache). One image per width: only the
   resolved var is fetched. The URLs are inline custom properties on the player (core-dev):
   --tl-how-poster-wide / -169 / -square, each url(...). */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player { --tl-how-poster: var(--tl-how-poster-wide); }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-video { aspect-ratio: 1920 / 800; }
/* Ratio and poster per width (v3r). Media queries are the no-JS fallback: 12/5 at 1200+ (the
   markup default is the wide file), 16/9 at 768-1199 and 1/1 under 768 (both crop the wide file
   with object-fit: cover, accepted). The picker's classes win over them (0,5,1)/(0,6,1) vs (0,4,1)
   so a cut keeps its own ratio and poster once chosen. The full-screen rule at the end of this
   block has the same weight and comes later, so it still wins. */
@media (max-width: 1199px) {
	body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player { --tl-how-poster: var(--tl-how-poster-169); }
	body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-video { aspect-ratio: 16 / 9; }
}
/* <768 fallback: 1/1 and the square poster (was in the phone block below; lifted with the rest for #63). */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player { --tl-how-poster: var(--tl-how-poster-square); }
	body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-video { aspect-ratio: 1 / 1; }
}
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player.is-wide { --tl-how-poster: var(--tl-how-poster-wide); }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player.is-169 { --tl-how-poster: var(--tl-how-poster-169); }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player.is-square { --tl-how-poster: var(--tl-how-poster-square); }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player.is-wide .tl-how-video,
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-video.tl-how-video--wide { aspect-ratio: 1920 / 800; }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player.is-169 .tl-how-video { aspect-ratio: 16 / 9; }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player.is-square .tl-how-video { aspect-ratio: 1 / 1; }
/* v3r wide cut: captions in the TOP band. The re-exported wide cut puts each scene's headline in
   the bottom band (about 428-447px of a 459px frame at 1440), so cues on the floor covered it in
   every scene, and M6p's 64px raise put them on the phone (centred in scene 1) and the cards.
   The top ~36px is the only band clear in every scene: the cue box (bottom-anchored by the UA) is
   moved up by the frame height less 61px, which puts a two-line cue at about 4-50px and a
   one-line cue at about 26-50px. Scene 1 (0-9s): it overlaps the top ~10px of the centred phone's
   bezel; from 9s on it's clear (measured at 1440 and 1200). 768+ only: a wide cut kept after
   play at a phone width keeps the 64px raise. Full screen (letterboxed) goes back to the floor,
   which is the browser's backdrop band there. */
@media (min-width: 768px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-how .tl-how-player.is-wide.is-enhanced.is-started:not(.is-ended) .tl-how-video::-webkit-media-text-track-container { transform: translateY(calc(-100% + 61px)); }
	body.tl-marketing-body .tl-marketing-main .tl-home-how .tl-how-player.is-wide.is-enhanced.is-started.is-fullscreen:not(.is-ended) .tl-how-video::-webkit-media-text-track-container { transform: none; }
}

/* Tablet 768-1199: 20px above, 24px below. */
@media (max-width: 1199px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-how :is(.tl-home-how__video, .elementor-widget-shortcode:has(.tl-how-video-wrap)) { margin-top: 12px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-how :is(.tl-home-how__video, .elementor-widget-shortcode:has(.tl-how-video-wrap)) + .tl-home-steps { margin-top: 16px; }
}
/* Phones: the section is flat (decision #70, M9), so the player is simply the content width on
   the 16px gutter (358 at 390); no bleed. Square, 16px above, 20px below (radius 14, play 56,
   captions 14: M6p). Was a bleed through the wash card's 20px padding and 1px border (v3r §4). */
@media (max-width: 767px) {
	body.tl-marketing-body .tl-marketing-main .tl-home-how :is(.tl-home-how__video, .elementor-widget-shortcode:has(.tl-how-video-wrap)) { margin-top: 8px; }
	body.tl-marketing-body .tl-marketing-main .tl-home-how :is(.tl-home-how__video, .elementor-widget-shortcode:has(.tl-how-video-wrap)) + .tl-home-steps { margin-top: 12px; }
}
/* Full screen: the cut ratios above outweigh M6p's full-screen video rule ((0,6,1) vs (0,5,1)),
   so the whole frame (aspect-ratio: auto) is re-set here, last. Separate rules (see M6p). */
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player.is-fullscreen .tl-how-video { aspect-ratio: auto; }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player:fullscreen .tl-how-video { aspect-ratio: auto; }
body.tl-marketing-body .tl-marketing-main :is(.tl-home-how, .tl-fa-section--how) .tl-how-player:-webkit-full-screen .tl-how-video { aspect-ratio: auto; }
/* ---- end M6c ---- */

/* ---- M13. Shared pieces: tick list, dash list, arrow link (About page #69, 5 Oct) -------
   Generic classes any marketing page can use (STYLE-CHECKLIST §6 "Repeated components", §8).
   (0,3,2): above Astra's bare ul/li/a and the Kit. Inside the legal reading text (pages.css P4)
   the list rules are re-asserted at P4's level, and P2's link rule skips .tl-arrow-link.

   ul.tl-tick-list / ul.tl-dash-list > li (each li may start with <strong>):
     the For agents checklist look (for-agents.css F8): 15 / 1.5 body, 26px indent, 12px apart
     (10 on phones), a 16px marker centred on the first line. Tick: --tl-teal, stroke 2.4, no disc.
     Dash: --tl-mute, the same size, stroke and spacing, no circle (Daniel, 5 Oct). The markers
     are decorative (the list's text carries the meaning), so they're masks with no content. */
body.tl-marketing-body .tl-marketing-main ul:is(.tl-tick-list, .tl-dash-list) {
	display: flex;
	flex-direction: column;
	gap: var(--tl-list-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
body.tl-marketing-body .tl-marketing-main :is(.tl-tick-list, .tl-dash-list) > li {
	position: relative;
	margin: 0;
	padding: 0 0 0 var(--tl-list-indent);
	color: var(--tl-body);
	font-size: 15px;
	line-height: 1.5;
}
body.tl-marketing-body .tl-marketing-main :is(.tl-tick-list, .tl-dash-list) > li::before {
	content: "";
	position: absolute;
	top: calc(0.75em - var(--tl-list-mark-size) / 2); /* centred on the 1.5 first line */
	left: 0;
	width: var(--tl-list-mark-size);
	height: var(--tl-list-mark-size);
	background-color: var(--tl-teal);
	-webkit-mask: var(--tl-i-tick) center / contain no-repeat;
	mask: var(--tl-i-tick) center / contain no-repeat;
}
body.tl-marketing-body .tl-marketing-main .tl-dash-list > li::before {
	background-color: var(--tl-mute);
	-webkit-mask-image: var(--tl-i-dash);
	mask-image: var(--tl-i-dash);
}
body.tl-marketing-body .tl-marketing-main :is(.tl-tick-list, .tl-dash-list) > li > strong:first-child { color: var(--tl-navy); font-weight: 700; }

/* a.tl-arrow-link: the site arrow link (STYLE-CHECKLIST §8; the same look as M6b and for-agents.css
   F10): 15 / 600 / 22px, --tl-arrow-link-color on white, the 15px --tl-i-arrow-right-ui mask as
   ::after 4px after the text (never a typed arrow). Hover: underline + --tl-arrow-link-hover.
   Focus: 2px teal ring, offset 0, round an 8px box. 44px hit area from 11px padding cancelled by
   negative margins, so the text sits where it would without it. On the wash, set
   --tl-arrow-link-color: var(--tl-teal-hover) on the host (teal is 4.47:1 there). */
body.tl-marketing-body .tl-marketing-main a.tl-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: -11px -4px;
	padding: 11px 4px;
	border-radius: var(--tl-radius-btn);
	color: var(--tl-arrow-link-color);
	font-family: inherit;
	font-size: var(--tl-arrow-link-size);
	font-weight: var(--tl-arrow-link-weight);
	line-height: 22px;
	text-decoration: none;
	transition: none; /* Astra's "a { transition: all }" would fade the focus ring in */
}
body.tl-marketing-body .tl-marketing-main a.tl-arrow-link::after {
	content: "";
	flex: none;
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: var(--tl-i-arrow-right-ui) center / contain no-repeat;
	mask: var(--tl-i-arrow-right-ui) center / contain no-repeat;
}
body.tl-marketing-body .tl-marketing-main a.tl-arrow-link:hover { color: var(--tl-arrow-link-hover); text-decoration: underline; text-underline-offset: var(--tl-arrow-link-underline-offset); text-decoration-thickness: 1px; }
body.tl-marketing-body .tl-marketing-main a.tl-arrow-link:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 0; }
/* ---- end M13 ---- */
