/* The Premium hosted booking page (bookmylesson.app/studio-name).
   Everything is scoped under .hosted-page / .hosted-body so the Booking Page
   Builder can load this same stylesheet and show the real page inside its
   preview. Responsive rules are container queries against the `hosted`
   container (the page itself), so they fire both on a real phone and inside
   the builder's phone-sized preview. */

.hosted-page {
  --brand: #0b55ff;
  --brand-ink: #fff;
  --ink: #0f1f3a;
  --muted: #5d6b84;
  --line: #e3e9f3;
  --soft: #f5f8fd;
  --navy: #07162f;
  --radius: 26px;
  --shadow: 0 24px 60px rgba(16, 40, 82, .10);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
  --brand-line: color-mix(in srgb, var(--brand) 26%, #fff);
  --brand-deep: color-mix(in srgb, var(--brand) 72%, #07162f);
  --font-head: Manrope, Inter, system-ui, sans-serif;
  container-type: inline-size;
  container-name: hosted;
  position: relative;
  min-width: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.hosted-page *, .hosted-page *::before, .hosted-page *::after { box-sizing: border-box; }
.hosted-page [hidden] { display: none !important; }
/* :where() keeps this reset at zero specificity so single-class button
   rules (.hosted-header-cta etc.) can set their own color. */
.hosted-page :where(a) { color: inherit; text-decoration: none; }
.hosted-page button { font: inherit; }
.hosted-page img { max-width: 100%; }
.hosted-page ul { margin: 0; padding: 0; list-style: none; }

/* Live page only: the builder has its own document chrome. */
.hosted-body { margin: 0; background: #fff; font-family: Inter, system-ui, sans-serif; overflow-x: hidden; }
/* The loader and error boxes live outside .hosted-page; their display rules
   must not outrank the hidden attribute. */
.hosted-body [hidden] { display: none !important; }
.hosted-body.hosted-loading { overflow: hidden; }
html:has(.hosted-body) { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html:has(.hosted-body) { scroll-behavior: auto; } }

.hosted-loading-state { min-height: 100vh; display: grid; place-content: center; gap: 16px; text-align: center; color: #5d6b84; }
.hosted-loading-state span { width: 34px; height: 34px; margin: auto; border: 3px solid #dce6f8; border-top-color: #0b55ff; border-radius: 50%; animation: hosted-spin .8s linear infinite; }
@keyframes hosted-spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.hosted-header {
  height: 78px;
  padding: 0 clamp(20px, 5cqw, 72px);
  display: flex;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(227, 233, 243, .9);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.hosted-identity { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; }
.hosted-identity img { height: 44px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.hosted-identity span { font: 800 clamp(17px, 1.7cqw, 21px)/1.05 var(--font-head); letter-spacing: -.035em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hosted-nav { display: flex; align-items: center; gap: 4px; }
.hosted-nav a { padding: 9px 12px; border-radius: 999px; color: #3d4a62; font-size: 13px; font-weight: 700; transition: background .18s, color .18s; }
.hosted-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.hosted-nav:empty { display: none; }
.hosted-nav .hosted-nav-login { display: none; }
.hosted-header-link { padding: 9px 12px; border-radius: 999px; color: #3d4a62; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .18s, color .18s; }
.hosted-header-link:hover { background: var(--brand-soft); color: var(--brand); }
.hosted-header-cta, .hosted-contact-button, .hosted-contact-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; font-size: 14px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.hosted-header-cta { background: var(--brand); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 26%, transparent); }
.hosted-header-cta:hover, .hosted-contact-button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px color-mix(in srgb, var(--brand) 32%, transparent); }
.hosted-menu { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.hosted-menu span { display: block; height: 2px; margin: 6px 0; border-radius: 3px; background: var(--ink); transition: transform .2s, opacity .2s; }
.hosted-menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.hosted-menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero (Codex's look, founder-approved: the photo IS the hero,
   dark left-to-right gradient, white copy; the contrast slider is the
   gradient's opacity and the focal point is the background position) ---------- */
.hosted-hero {
  position: relative;
  min-height: 560px;
  padding: clamp(56px, 8cqw, 112px) clamp(24px, 7cqw, 110px);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(4, 20, 49, .96) 0%, rgba(4, 20, 49, .88) 42%, rgba(4, 20, 49, .28) 100%), #071b3c center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hosted-hero-copy { width: min(680px, 72%); min-width: 0; }
.hosted-kicker { display: inline-block; margin: 0 0 14px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hosted-kicker:empty { display: none; }
.hosted-hero h1 { margin: 0 0 20px; font: 800 clamp(42px, 5.6cqw, 78px)/1 var(--font-head); letter-spacing: -.05em; text-wrap: balance; overflow-wrap: anywhere; }
.hosted-hero-lede { margin: 0; max-width: 620px; color: #dce8fa; font-size: clamp(16px, 1.5cqw, 20px); line-height: 1.65; font-weight: 500; text-wrap: pretty; }

.hosted-hero.hero-style-center { justify-content: center; text-align: center; }
.hosted-hero.hero-style-center .hosted-hero-copy { width: min(820px, 88%); }
.hosted-hero.hero-style-center .hosted-hero-lede { margin-inline: auto; }


/* ---------- Sections ---------- */
.hosted-section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.hosted-section-heading h2 { margin: 0; font: 800 clamp(30px, 3.8cqw, 52px)/1.04 var(--font-head); letter-spacing: -.045em; text-wrap: balance; }
.hosted-section-heading > p:last-child:not(.hosted-kicker) { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 16.5px; line-height: 1.7; text-wrap: pretty; }
.hosted-section-heading > p:last-child:empty { display: none; }

/* Founder, 2026-09-26: white on white didn't lift the booking app. A soft
   blue-grey backdrop, tinted with the studio's brand color, so the white app
   card reads as the object on the page. */
.hosted-booking-section {
  padding: clamp(60px, 7cqw, 100px) max(16px, 4cqw);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, color-mix(in srgb, var(--brand) 12%, #fff) 0%, transparent 70%),
    linear-gradient(180deg, #f2f5fa 0%, #eaf0f8 100%);
  border-top: 1px solid color-mix(in srgb, var(--brand) 10%, #e6ecf5);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 10%, #e6ecf5);
}
.hosted-booking-heading { margin-bottom: 30px; }
/* Founder, 2026-09-26: no card around the booking app - it brings its own
   container (the same one the embed and the Experience Builder use). */
.hosted-booking-shell { max-width: none; margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.hosted-booking-shell iframe { display: block; width: 100%; border: 0; border-radius: 22px; }

.hosted-content-section { padding: clamp(68px, 8cqw, 112px) clamp(20px, 6cqw, 96px); }
.hosted-feature-grid, .hosted-person-grid, .hosted-offer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Instructor and Pricing cards follow the booking app's card rows (founder,
   2026-10-03): --cards is set per count by the page script (1-2 centered,
   3 across, 4 = 2+2, 5 = 3+2, 6 = 3+3, 7 = 4+3, 8 = 4+4); a short last row
   sits centered. */
.hosted-person-grid, .hosted-offer-grid { --cards: var(--cards-desktop, 3); --card-gap: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--card-gap); }
.hosted-person-grid > *, .hosted-offer-grid > * { flex: 0 1 calc((100% - var(--card-gap) * (var(--cards) - 1)) / var(--cards)); min-width: 0; max-width: 400px; }
.hosted-person-grid[data-cards="1"] > *, .hosted-offer-grid[data-cards="1"] > *, .hosted-person-grid[data-cards="2"] > *, .hosted-offer-grid[data-cards="2"] > * { max-width: 380px; }

.hosted-why { background: var(--soft); }
.hosted-feature { padding: 32px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(16, 40, 82, .05); }
.hosted-feature span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand); font: 800 15px var(--font-head); }
/* Why Choose Us, 2026-09-26: photo + parent quote on the left, four icon
   features on the right, optional stats strip below. */
.hosted-why-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4cqw, 56px); align-items: center; }
.hosted-why-photo { position: relative; margin: 0; min-height: 380px; aspect-ratio: 4 / 3; border-radius: 22px; background: var(--brand-soft) center/cover no-repeat; box-shadow: 0 24px 60px rgba(16, 40, 82, .14); overflow: hidden; }
.hosted-why-media { position: relative; min-width: 0; }
/* Desktop: on the photo, then it fades off after a few seconds so the photo
   shows (js quoteRest); hovering the photo brings it back (founder,
   2026-10-19: "it gets too in front of the picture"). No quote mark. */
.hosted-why-quote { position: absolute; left: 22px; bottom: 22px; right: 22px; z-index: 2; max-width: 420px; margin: 0; padding: 16px 20px; border-radius: 14px; background: rgba(12, 24, 48, .78); color: #fff; backdrop-filter: blur(8px); transition: opacity .7s ease, transform .7s ease; }
.hosted-why-media.is-quote-away .hosted-why-quote { opacity: 0; transform: translateY(10px); pointer-events: none; }
.hosted-why-media.is-quote-away:hover .hosted-why-quote,
.hosted-why-media.is-quote-away:focus-within .hosted-why-quote { opacity: 1; transform: none; }
.hosted-why-quote p { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 600; }
.hosted-why-quote cite { display: block; margin-top: 8px; font: 800 11px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; opacity: .78; font-style: normal; }
.hosted-why-features { display: grid; }
.hosted-why-feature { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 20px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.hosted-why-feature:first-child { padding-top: 0; }
.hosted-why-feature:last-child { border-bottom: 0; padding-bottom: 0; }
.hosted-why-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 20px; background: var(--tone-bg, var(--brand-soft)); color: var(--tone-ink, var(--brand)); }
.hosted-why-icon svg { width: 26px; height: 26px; }
.hosted-why-feature.tone-0 { --tone-bg: color-mix(in srgb, var(--brand) 12%, #fff); --tone-ink: var(--brand); }
.hosted-why-feature.tone-1 { --tone-bg: #fff1e3; --tone-ink: #b9611d; }
.hosted-why-feature.tone-2 { --tone-bg: #e6f6ee; --tone-ink: #1f8a55; }
.hosted-why-feature.tone-3 { --tone-bg: #efe9fb; --tone-ink: #6b46c1; }
.hosted-why-feature h3 { margin: 4px 0 6px; font: 800 20px/1.2 var(--font-head); letter-spacing: -.02em; }
.hosted-why-feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.hosted-why-stats { max-width: 1180px; margin: clamp(32px, 4cqw, 48px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 18px; background: color-mix(in srgb, var(--brand) 6%, #f5f8fd); }
.hosted-why-stats[hidden] { display: none; }
.hosted-why-stat { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 26px 28px; border-right: 1px solid color-mix(in srgb, var(--brand) 12%, #e3e9f3); }
.hosted-why-stat:last-child { border-right: 0; }
.hosted-why-stat .hosted-why-icon { width: 44px; height: 44px; border-radius: 12px; background: transparent; color: var(--brand); }
.hosted-why-stat strong { display: block; font: 800 28px/1.1 var(--font-head); letter-spacing: -.03em; }
.hosted-why-stat small { display: block; margin-top: 4px; font: 800 11px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hosted-why-stat p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hosted-feature h3, .hosted-person h3, .hosted-offer h3 { margin: 22px 0 8px; font: 800 19px/1.25 var(--font-head); letter-spacing: -.02em; }
.hosted-feature p, .hosted-person p, .hosted-offer p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

.hosted-person { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 12px 34px rgba(16, 40, 82, .06); }
.hosted-person-image { height: 250px; display: grid; place-items: center; background: linear-gradient(145deg, var(--brand-soft), #e6edf9) center/cover no-repeat; color: var(--brand); font: 800 40px var(--font-head); }
.hosted-person-image.has-photo span { display: none; }
/* Frame instructor photos from the upper part, where faces are - a centered
   crop cut faces off in the wide card (founder, 2026-10-13: "where u can
   still see there faces ok before clicking view full profile"). */
.hosted-person-image.has-photo { background-position: center 18%; }
.hosted-person-body { padding: 24px 26px 28px; }
.hosted-person h3 { margin-top: 0; }
.hosted-person-instruments { display: inline-flex; margin: 0 0 10px; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 800; }

/* Pricing (2026-09-29): the booking app's image-on-top offer card - photo
   inset at the top, centered name, big price, bullets, lengths. */
/* Pricing cards use the booking app's own offer-card language (founder,
   2026-10-03): tighter radius, uppercase name, big price, bullets, one per
   row on phones - plus the button at the bottom. */
.hosted-offer { position: relative; display: flex; flex-direction: column; align-items: center; padding: 24px 22px 22px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 12px 34px rgba(16, 40, 82, .06); transition: transform .2s, box-shadow .2s; }
.hosted-offer.has-image { padding-top: 14px; }
.hosted-offer:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(16, 40, 82, .10); }
.hosted-offer-image { align-self: stretch; height: 150px; margin: 0 -8px 14px; border-radius: 12px; background: #eef3f8 center/cover no-repeat; }
.hosted-offer-image.is-placeholder { display: grid; place-items: center; border: 1px dashed color-mix(in srgb, var(--brand) 22%, #d6e0ee); background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 8%, #f3f7fd), #fbfcff); color: color-mix(in srgb, var(--brand) 55%, #8ca5c7); }
.hosted-offer-image.is-placeholder svg { width: 46px; height: 46px; }
/* No type eyebrow on the cards (founder, 2026-10-04). */
.hosted-offer h3 { margin: 12px 0 4px; font-size: 18px; text-transform: uppercase; letter-spacing: .02em; }
.hosted-offer-sub { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.hosted-offer-price { margin: 12px 0 4px; }
.hosted-offer-price strong { color: var(--ink); font: 800 34px/1 var(--font-head); letter-spacing: -.045em; }
.hosted-offer-durations { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 0; }
.hosted-offer-durations button { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #3d4a62; font: 700 12px/1.2 inherit; font-family: inherit; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.hosted-offer-durations button:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--brand); }
.hosted-offer-durations button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.hosted-offer-highlights { margin: 12px 0 0 !important; display: grid; gap: 7px; text-align: left; }
.hosted-offer-highlights li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14px; line-height: 1.45; font-weight: 550; }
.hosted-offer-highlights li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 10px; font-weight: 900; }
.hosted-offer-description { margin: 12px 0 0 !important; }
.hosted-offer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 0; }
.hosted-offer-meta span { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: #3d4a62; font-size: 12px; font-weight: 700; background: #fff; }
/* Room above the card button (founder, 2026-10-03): the spacer keeps at
   least 22px and grows so buttons still line up across a row. */
.hosted-offer-space { flex: 1 0 22px; }
.hosted-offer-book { align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 0; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 14px; transition: background .18s, color .18s; }
.hosted-offer-book:hover { background: var(--brand); color: var(--brand-ink); }
.hosted-offer > :nth-last-child(2) { margin-bottom: 20px !important; }

/* Instructors (2026-09-29): tap a card to open the full profile - it takes
   the whole row, photo left, story right. */
.hosted-person.can-open { cursor: pointer; transition: box-shadow .2s, transform .2s; }
.hosted-person.can-open:not(.is-open):hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(16, 40, 82, .10); }
.hosted-person-title { margin: -2px 0 10px !important; color: var(--brand) !important; font-weight: 700; font-size: 14px !important; }
.hosted-person-role { margin: -4px 0 10px !important; color: var(--muted) !important; font-weight: 650; font-size: 13.5px !important; }
.hosted-person-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 0; border: 0; background: none; color: var(--brand); font: 800 14px var(--font-head); cursor: pointer; }
.hosted-person-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.hosted-person-more { display: none; }
/* Phones (founder, 2026-10-04): "Close profile ^" sits at the bottom of the
   open profile, centered, clear of the Book with button. Desktop keeps the
   top-right toggle. */
.hosted-person-close { display: none; }
.hosted-person.is-open { grid-column: 1 / -1; flex-basis: 100%; max-width: none; display: grid; grid-template-columns: minmax(240px, 34%) minmax(0, 1fr); grid-template-rows: auto 1fr; cursor: default; }
.hosted-person.is-open .hosted-person-image { grid-row: 1 / span 2; height: auto; min-height: 340px; }
.hosted-person.is-open .hosted-person-body { padding: 30px 34px 0; }
.hosted-person.is-open .hosted-person-toggle svg { transform: rotate(180deg); }
.hosted-person.is-open .hosted-person-toggle { position: absolute; top: 22px; right: 26px; margin: 0; }
.hosted-person.is-open { position: relative; }
.hosted-person.is-solo { cursor: default; }
.hosted-person.is-solo .hosted-person-more { animation: none; }
.hosted-person.is-open .hosted-person-more { display: block; padding: 18px 34px 32px; animation: hosted-profile-in .3s ease both; }
@keyframes hosted-profile-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Desktop "View full profile" pop-up (2026-10-06): centered over the page,
   photo left, the whole profile right; phones open the card in place. */
.hosted-profile-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 32px; }
.hosted-profile-backdrop { position: absolute; inset: 0; background: rgba(7, 22, 47, .55); backdrop-filter: blur(3px); animation: hosted-profile-fade .2s ease both; }
.hosted-profile-sheet { position: relative; width: min(900px, 100%); max-height: min(760px, 100%); display: flex; border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 40px 90px rgba(7, 22, 47, .35); animation: hosted-profile-pop .24s cubic-bezier(.2, .8, .2, 1) both; }
.hosted-profile-sheet .hosted-person-image { flex: 0 0 38%; height: auto; min-height: 420px; }
.hosted-profile-main { flex: 1 1 auto; min-width: 0; overflow-y: auto; padding: 38px 42px 36px; }
.hosted-profile-main .hosted-person-body { padding: 0; }
.hosted-profile-main .hosted-person-more { display: block; padding: 18px 0 0; }
.hosted-profile-main h3 { margin: 0 0 8px; padding-right: 36px; font-size: 26px; }
.hosted-profile-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 6px 18px rgba(16, 40, 82, .12); }
.hosted-profile-x:hover, .hosted-profile-x:focus-visible { border-color: var(--brand-line); color: var(--brand); outline: none; }
.hosted-profile-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@keyframes hosted-profile-fade { from { opacity: 0; } }
@keyframes hosted-profile-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .hosted-profile-backdrop, .hosted-profile-sheet { animation: none; } }
.hosted-person-more dl { margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.hosted-person-more dl div { padding: 12px 14px; border-radius: 14px; background: var(--soft); }
.hosted-person-more dt { margin: 0 0 4px; color: var(--muted); font: 800 10.5px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.hosted-person-more dd { margin: 0; color: var(--ink); font-size: 14.5px; font-weight: 650; line-height: 1.4; }
.hosted-person-more p { margin: 0 0 12px; color: #3d4a62; font-size: 15px; line-height: 1.7; }
.hosted-person-book { display: inline-flex; align-items: center; margin-top: 6px; min-height: 44px; padding: 0 20px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font: 800 14px var(--font-head); }

/* Why Choose Us slideshow (2026-09-29) */
.hosted-slides { position: absolute; inset: 0; }
.hosted-slide { background: var(--brand-soft) center/cover no-repeat; }
.hosted-slides.is-fade .hosted-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hosted-slides.is-fade .hosted-slide.is-active { opacity: 1; }
.hosted-slides.is-slide { display: flex; transition: transform .7s cubic-bezier(.4, .1, .2, 1); }
.hosted-slides.is-slide .hosted-slide { position: relative; flex: 0 0 100%; height: 100%; }
.hosted-slide-caption { position: absolute; top: 18px; left: 18px; max-width: calc(100% - 36px); padding: 7px 12px; border-radius: 999px; background: rgba(12, 24, 48, .66); color: #fff; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); }
.hosted-slide-arrow { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 8px 20px rgba(7, 23, 53, .18); cursor: pointer; opacity: 0; transition: opacity .2s; }
.hosted-slide-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hosted-slide-arrow.is-prev { left: 14px; }
.hosted-slide-arrow.is-next { right: 14px; }
.hosted-why-photo:hover .hosted-slide-arrow, .hosted-slide-arrow:focus-visible { opacity: 1; }
.hosted-slide-dots { position: absolute; top: 18px; right: 18px; z-index: 2; display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px; background: rgba(12, 24, 48, .45); }
.hosted-slide-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .25s, background .25s; }
.hosted-slide-dots button.is-active { width: 20px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .hosted-slides.is-fade .hosted-slide, .hosted-slides.is-slide { transition: none; } }

/* FAQ (2026-09-29) */
.hosted-faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.hosted-faq-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(16, 40, 82, .04); transition: border-color .2s, box-shadow .2s; }
.hosted-faq-item[open] { border-color: var(--brand-line); box-shadow: 0 14px 34px rgba(16, 40, 82, .08); }
.hosted-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; list-style: none; font: 800 17px/1.35 var(--font-head); letter-spacing: -.015em; }
.hosted-faq-item summary::-webkit-details-marker { display: none; }
.hosted-faq-item summary i { position: relative; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); }
.hosted-faq-item summary i::before, .hosted-faq-item summary i::after { content: ""; position: absolute; left: 9px; top: 14px; width: 12px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .2s; }
.hosted-faq-item summary i::after { transform: rotate(90deg); }
.hosted-faq-item[open] summary i::after { transform: rotate(0deg); }
.hosted-faq-answer { padding: 0 24px 20px; }
.hosted-faq-answer p { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hosted-faq-answer p:last-child { margin-bottom: 0; }

/* Contact (2026-09-29): a lead form on the brand panel - a family's note
   lands in the studio's inbox, not their mail app. */
.hosted-contact-section { padding: 0 clamp(20px, 6cqw, 96px) clamp(68px, 8cqw, 112px); }
.hosted-contact { max-width: 1180px; margin: 0 auto; padding: clamp(34px, 5cqw, 60px); border-radius: 32px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 4cqw, 56px); background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; box-shadow: 0 30px 70px color-mix(in srgb, var(--brand) 30%, transparent); }
/* No box behind the label - it read as highlighted text (founder, 2026-10-22). */
.hosted-contact .hosted-kicker { color: rgba(255, 255, 255, .86); }
.hosted-contact h2 { margin: 0; font: 800 clamp(28px, 3.4cqw, 46px)/1.05 var(--font-head); letter-spacing: -.045em; }
.hosted-contact-copy > p:last-of-type { margin: 14px 0 0; max-width: 520px; color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.6; }
.hosted-contact-copy > p:empty { display: none; }
.hosted-contact-direct { display: grid; gap: 10px; margin-top: 26px; }
.hosted-contact-direct a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: #fff; font-weight: 700; font-size: 15px; }
.hosted-contact-direct a svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .14); }
.hosted-contact-direct a:hover span { text-decoration: underline; }
.hosted-lead-form { display: grid; gap: 12px; padding: clamp(20px, 2.6cqw, 30px); border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px rgba(4, 16, 40, .22); }
.hosted-lead-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hosted-lead-row:has(> [hidden]) { grid-template-columns: 1fr; }
.hosted-lead-row:has(> [hidden] + [hidden]) { display: none; }
.hosted-lead-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: #33445f; font: 800 12px/1.2 var(--font-head); }
.hosted-lead-form label > :is(input, select, textarea) { flex: 0 0 100%; }
.hosted-lead-form label small { color: #8391a7; font-weight: 700; font-size: 11px; }
.hosted-lead-form input, .hosted-lead-form select, .hosted-lead-form textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #d1d9e6; border-radius: 12px; background: #fff; color: inherit; font: 500 15px Inter, system-ui, sans-serif; outline: 0; transition: border-color .15s, box-shadow .15s; }
.hosted-lead-form textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.hosted-lead-form input:focus, .hosted-lead-form select:focus, .hosted-lead-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.hosted-lead-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hosted-lead-submit { min-height: 50px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font: 800 15px var(--font-head); cursor: pointer; transition: filter .15s; }
.hosted-lead-submit:hover { filter: brightness(1.06); }
.hosted-lead-submit:disabled { opacity: .6; cursor: default; }
.hosted-lead-status { min-height: 0; margin: 0; font-size: 13.5px; font-weight: 650; text-align: center; color: var(--muted); }
.hosted-lead-status:empty { display: none; }
.hosted-lead-status.is-ok { padding: 10px 12px; border-radius: 10px; background: #e8f7ee; color: #17663d; }
.hosted-lead-status.is-error { color: #b42318; }

/* ---------- Footer ---------- */
.hosted-footer { padding: 64px clamp(20px, 6cqw, 96px) 28px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; background: var(--navy); color: #fff; }
/* Footer logo on a clean white plate (founder, 2026-10-03): a dark logo on
   the dark footer would otherwise vanish. */
.hosted-footer-brand img { display: block; max-width: 170px; max-height: 54px; margin-bottom: 16px; padding: 10px 14px; border-radius: 12px; background: #fff; box-sizing: content-box; object-fit: contain; }
.hosted-footer-brand strong { display: block; font: 800 22px var(--font-head); letter-spacing: -.03em; }
.hosted-footer-brand p { max-width: 340px; margin: 10px 0 0; color: #9daac0; line-height: 1.6; font-size: 14px; }
.hosted-footer-column > strong { display: block; margin-bottom: 14px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hosted-footer-links { display: flex; flex-direction: column; gap: 10px; color: #bdc7d8; font-size: 14px; }
.hosted-footer-links a:hover { color: #fff; }
.hosted-footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.hosted-footer-social a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #dbe4f3; font-size: 12.5px; font-weight: 700; transition: background .18s; }
.hosted-footer-social a:hover { background: rgba(255, 255, 255, .1); }
.hosted-footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.hosted-footer-bottom { grid-column: 1 / -1; margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; color: #8290a8; font-size: 12.5px; }
.hosted-footer-bottom a { color: #b7c3d8; }
.hosted-footer-bottom a b { color: #fff; font-weight: 800; }

/* Focused layout: header, hero, booking, footer - no nav, no sections. */
.hosted-page.layout-focused .hosted-nav, .hosted-page.layout-focused .hosted-menu { display: none; }
.hosted-page.layout-focused .hosted-header-link { display: inline-flex; }
.hosted-page.layout-focused .hosted-hero { min-height: 0; }
.hosted-page.layout-focused .hosted-footer { padding-top: 48px; }

/* ---------- Scroll reveal (off for reduced motion) ---------- */
.hosted-page [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.hosted-page [data-reveal].is-visible, .hosted-page.no-reveal [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hosted-page [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Not available ---------- */
.hosted-error { min-height: 100vh; display: grid; place-items: center; padding: 30px; text-align: center; background: #f5f8fd; font-family: Inter, system-ui, sans-serif; }
.hosted-error > div { max-width: 540px; padding: 48px; border: 1px solid #e3e9f3; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(16, 40, 82, .10); }
.hosted-error span { width: 64px; height: 64px; display: grid; place-items: center; margin: auto; border-radius: 20px; background: #e9f0ff; color: #0b55ff; font-size: 28px; }
.hosted-error h1 { font: 800 34px Manrope, Inter, sans-serif; letter-spacing: -.04em; }
.hosted-error p { color: #5d6b84; line-height: 1.6; }

/* ---------- Phone-width layout (container query: fires on real phones and
   inside the builder's phone preview alike) ---------- */
@container hosted (max-width: 860px) {
  .hosted-header { height: 68px; padding: 0 16px; gap: 10px; }
  .hosted-identity img { height: 36px; max-width: 130px; }
  .hosted-menu { display: block; flex: 0 0 44px; }
  .hosted-header-cta { min-height: 38px; padding: 0 14px; font-size: 12.5px; }
  .hosted-header-link { display: none; }
  .hosted-nav .hosted-nav-login { display: block; border-top: 1px solid var(--line); margin-top: 4px; }
  .hosted-nav { position: absolute; top: 68px; left: 10px; right: 10px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .hosted-nav.is-open { display: flex; }
  .hosted-nav a { padding: 13px 14px; border-radius: 12px; font-size: 14px; }
  .hosted-hero { min-height: 400px; padding: 44px 22px 52px; background-position: 60% center; }
  .hosted-hero-copy { width: 100%; }
  .hosted-hero h1 { font-size: clamp(34px, 10cqw, 46px); }
  .hosted-hero-lede { font-size: 16px; }
  .hosted-section-heading { margin-bottom: 26px; }
  .hosted-section-heading h2 { font-size: clamp(28px, 8cqw, 36px); }
  /* Founder, 2026-09-26: on a phone the booking app stands for itself -
     hero, then the app. No section copy in between. */
  .hosted-booking-section { padding: 18px 10px 52px; }
  .hosted-booking-heading { display: none; }
  .hosted-booking-shell iframe { border-radius: 17px; }
  .hosted-content-section { padding: 64px 20px; }
  .hosted-feature-grid, .hosted-person-grid, .hosted-offer-grid { grid-template-columns: 1fr; gap: 14px; }
  .hosted-person-grid, .hosted-offer-grid { --cards: 1; --card-gap: 12px; }
  .hosted-offer { padding: 18px; }
  .hosted-offer-price strong { font-size: 34px; }
  .hosted-person-grid > *, .hosted-offer-grid > * { max-width: none; }
  .hosted-why-layout { grid-template-columns: 1fr; gap: 26px; }
  .hosted-why-photo { min-height: 0; aspect-ratio: 4 / 3; }
  /* Phones: the quote sits under the slideshow, always shown (founder, 2026-10-19). */
  .hosted-why-quote,
  .hosted-why-media.is-quote-away .hosted-why-quote { position: static; max-width: none; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); backdrop-filter: none; box-shadow: 0 10px 26px rgba(16, 40, 82, .06); opacity: 1; transform: none; pointer-events: auto; }
  .hosted-why-feature { grid-template-columns: 50px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .hosted-why-icon { width: 50px; height: 50px; border-radius: 16px; }
  .hosted-why-stats { grid-template-columns: 1fr; }
  .hosted-why-stat { border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--brand) 12%, #e3e9f3); padding: 18px 20px; }
  .hosted-why-stat:last-child { border-bottom: 0; }
  .hosted-person-image { height: 230px; }
  .hosted-person.is-open { display: block; }
  .hosted-person.is-open .hosted-person-image { min-height: 0; height: 260px; }
  .hosted-person.is-open .hosted-person-body { padding: 24px 22px 0; }
  .hosted-person.is-open .hosted-person-toggle { display: none; }
  .hosted-person.is-open .hosted-person-close { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 26px 0 0; padding: 6px 0; border: 0; background: none; color: var(--brand); font: 800 14px var(--font-head); cursor: pointer; }
  .hosted-person-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transform: rotate(180deg); }
  .hosted-person.is-open .hosted-person-more { padding: 16px 22px 26px; }
  .hosted-person-more dl { grid-template-columns: 1fr; }
  .hosted-offer-image { height: 150px; }
  .hosted-slide-arrow { opacity: 1; width: 36px; height: 36px; margin-top: -18px; }
  .hosted-faq-item summary { padding: 17px 18px; font-size: 16px; }
  .hosted-faq-answer { padding: 0 18px 18px; }
  .hosted-contact-section { padding: 0 16px 64px; }
  .hosted-contact { display: block; padding: 32px 20px 20px; border-radius: 26px; }
  .hosted-lead-form { margin-top: 26px; padding: 18px; }
  .hosted-lead-row { grid-template-columns: 1fr; }
  .hosted-footer { grid-template-columns: 1fr; gap: 28px; padding: 48px 22px 22px; }
  .hosted-footer-bottom { flex-direction: column; align-items: flex-start; }
}
@container hosted (min-width: 861px) and (max-width: 1100px) {
  .hosted-feature-grid, .hosted-person-grid, .hosted-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hosted-person-grid:not([data-cards="1"]), .hosted-offer-grid:not([data-cards="1"]) { --cards: 2; }
  .hosted-footer { grid-template-columns: 1.4fr 1fr 1fr; }
  .hosted-footer-column:last-child { grid-column: 1 / -1; }
}

/* Log in modal (founder, 2026-09-27): the page blurs, a studio-branded
   sign-in card handles Manage My Lessons. Same design language as BML's own
   modals, in the studio's brand color. */
html.hosted-login-open .hosted-page > *:not(.hosted-login-overlay) { filter: blur(9px); }
html.hosted-login-open { overflow: hidden; }
.hosted-login-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(10, 22, 44, .42); }
.hosted-login-overlay[hidden] { display: none; }
.hosted-login-dialog { position: relative; width: min(100%, 440px); padding: 34px 32px 26px; border-radius: 24px; background: #fff; color: var(--ink, #10233f); box-shadow: 0 40px 100px rgba(7, 23, 53, .35); text-align: center; animation: hosted-login-in .28s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hosted-login-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.hosted-login-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f0f4fa; color: #52627a; font-size: 20px; line-height: 1; cursor: pointer; }
.hosted-login-brand { display: grid; place-items: center; margin-bottom: 16px; }
.hosted-login-brand img { max-height: 56px; max-width: 200px; object-fit: contain; }
.hosted-login-brand strong { font: 800 22px/1.1 var(--font-head); letter-spacing: -.03em; }
.hosted-login-kicker { margin: 0 0 8px; color: var(--brand); font: 800 11px/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; }
.hosted-login-dialog h2 { margin: 0 0 8px; font: 800 28px/1.1 var(--font-head); letter-spacing: -.035em; }
.hosted-login-copy { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.hosted-login-form { display: grid; gap: 12px; text-align: left; }
.hosted-login-form label { display: grid; gap: 6px; font: 800 12px/1 var(--font-head); color: #33445f; }
.hosted-login-form input { height: 46px; padding: 0 14px; border: 1px solid #d1d9e6; border-radius: 12px; font: 500 15px Inter, system-ui, sans-serif; color: inherit; outline: 0; }
.hosted-login-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.hosted-login-submit { height: 48px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font: 800 15px var(--font-head); cursor: pointer; }
.hosted-login-submit:disabled { opacity: .6; cursor: default; }
.hosted-login-message { min-height: 18px; margin: 0; color: var(--brand); font-size: 13px; font-weight: 600; text-align: center; }
.hosted-login-message.is-error { color: #b42318; }
.hosted-login-powered { margin: 18px 0 0; color: #7b889b; font-size: 11px; font-weight: 700; }
/* Backdrop mode: this page is the blurred background behind Manage My Lessons. */
html.hosted-backdrop, html.hosted-backdrop body { overflow: hidden; }
html.hosted-backdrop .hosted-page { pointer-events: none; }
html.hosted-backdrop .hosted-header { visibility: hidden; }
html.hosted-backdrop [data-hosted="bookingEmbed"] { min-height: 520px; border-radius: 24px; background: rgba(255, 255, 255, .9); box-shadow: 0 24px 60px rgba(16, 40, 82, .14); }

/* Footer extras (2026-10-03): Subscribe for updates, policy links and the
   policy pop-up. */
/* Under Contact, with real breathing room from the email / phone lines
   (founder, 2026-10-03: "under contact with some padding between them"). */
.hosted-subscribe { display: grid; gap: 8px; max-width: 300px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hosted-footer-links:empty + .hosted-subscribe { margin-top: 0; padding-top: 0; border-top: 0; }
.hosted-subscribe[hidden] { display: none; }
.hosted-subscribe label { display: grid; gap: 6px; color: #fff; font: 800 12px/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.hosted-subscribe input { width: 100%; min-height: 42px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 11px; background: rgba(255, 255, 255, .08); color: #fff; font: 500 14px Inter, sans-serif; }
.hosted-subscribe input::placeholder { color: #8f9cb3; }
.hosted-subscribe button { justify-self: start; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font: 800 13px var(--font-head); cursor: pointer; }
.hosted-subscribe small { min-height: 1em; color: #9daac0; font-size: 12px; }
.hosted-subscribe small.is-error { color: #ffb4a8; }
.hosted-subscribe small.is-ok { color: #9fe3b7; }
.hosted-footer-policies { display: inline-flex; flex-wrap: wrap; gap: 14px; }
.hosted-footer-policies[hidden] { display: none; }
.hosted-footer-policies a { color: #b7c3d8; font-size: 13px; }
.hosted-footer-policies a:hover { color: #fff; text-decoration: underline; }
.hosted-policy { width: min(680px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(4, 16, 40, .35); }
.hosted-policy::backdrop { background: rgba(7, 23, 53, .55); }
.hosted-policy-card { display: grid; max-height: 80vh; }
.hosted-policy-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px 14px; border-bottom: 1px solid var(--line); }
.hosted-policy-card h2 { margin: 0; font: 800 22px/1.2 var(--font-head); letter-spacing: -.03em; }
.hosted-policy-card header button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 20px; cursor: pointer; }
.hosted-policy-body { overflow: auto; padding: 18px 26px 26px; font-size: 15px; line-height: 1.7; color: #3d4a62; }
.hosted-policy-body p { margin: 0 0 12px; }

/* Section background colors (founder, 2026-10-07): on a dark color the
   section's own heading and loose text go light; cards keep their look. */
.hosted-on-dark .hosted-section-heading h2,
.hosted-on-dark .hosted-why-feature h3 { color: #fff; }
.hosted-on-dark .hosted-section-heading > p:last-child:not(.hosted-kicker),
.hosted-on-dark .hosted-why-feature p { color: rgba(255, 255, 255, .8); }
.hosted-on-dark .hosted-section-heading .hosted-kicker { color: rgba(255, 255, 255, .86); }
.hosted-on-dark .hosted-why-feature { border-bottom-color: rgba(255, 255, 255, .16); }

/* The browser's autofill tint (pale blue/yellow on the field it filled -
   usually the first one) clashed with the page (founder, 2026-10-22: "that
   weird highlight on the booking page contact field"). A filled field looks
   like every other field. */
.hosted-lead-form input:-webkit-autofill,
.hosted-lead-form input:-webkit-autofill:hover,
.hosted-lead-form input:-webkit-autofill:focus,
.hosted-login-form input:-webkit-autofill,
.hosted-login-form input:-webkit-autofill:hover,
.hosted-login-form input:-webkit-autofill:focus { -webkit-text-fill-color: #10233f; caret-color: #10233f; box-shadow: 0 0 0 1000px #fff inset; transition: background-color 600000s 0s; }
.hosted-lead-form input:-webkit-autofill:focus,
.hosted-login-form input:-webkit-autofill:focus { box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.hosted-lead-form input:autofill, .hosted-login-form input:autofill { background-color: #fff; }
