/* launch-pages-1109 (owner bar, 2026-11-09: final product, no empty holes, 13-Oct gold look).
   Loaded by functions/[[path]].js ONLY for the published CMS launch pages that are not page.v2
   (/faq/ /about/ /web/ /apps/ /bots/ /voice/ /account/ /checkout/ /forgot-password/ and the branded 404),
   which now paint on the same gold chrome as /terms/ (site.css + header.bar + main.sheet + footer.site).
   Every rule is scoped to body.md-launch, so no other page can pick it up. No CMS content is touched.
   Reading column = the legal pages after legal-spacing-1109: 720px box with the gold gutter (618px text at 1280),
   header -> title 48px, h1 38.4px, section headings 22px with a 36px/10px rhythm, body 16.8px/1.55 weight 300. */
.cms-public body.md-launch main.sheet { padding-top: 28px; padding-bottom: 48px; }
.cms-public body.md-launch #cms-root,
.cms-public body.md-launch .cms-public-stack { min-height: 0 !important; }
/* gold Contact behaviour: the body is at least the viewport (paper, never the dark html canvas), the footer follows the content */
.cms-public body.md-launch { min-height: 100vh; }
.cms-public body.paper.md-launch .ff-section.ff-flow {
  max-width: 720px;
  padding: 20px var(--gutter) 0 !important;
  gap: 0;
  min-height: 0 !important;
}
.cms-public body.md-launch .ff-flow .ff-flow-body { padding: 0; }
.cms-public body.md-launch .ff-flow .ff-flow-block { max-width: none; }
/* page title (first heading) */
.cms-public body.md-launch .ff-flow .ff-flow-block h1,
.cms-public body.md-launch .ff-flow .ff-flow-block h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 12px;
}
/* every later heading block is a section heading (FAQ, Account): gold 22px h2 look, 36px above / 10px below */
.cms-public body.md-launch .ff-flow .ff-flow-block ~ .ff-flow-block h1,
.cms-public body.md-launch .ff-flow .ff-flow-block ~ .ff-flow-block h2 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
  margin: 36px 0 10px;
}
.cms-public body.md-launch .ff-flow .ff-flow-block p {
  margin: 0 0 10px;
  color: #334155;
  font-weight: 300;
  line-height: 1.55;
}
.cms-public body.md-launch .ff-flow .ff-flow-block:last-of-type p:last-child { margin-bottom: 0; }
/* CTAs: one row of gold capsules (13-Oct: black primary, panel secondary) instead of a stacked red column.
   Only the renderer DEFAULT button paint (inline #c8102e / #ffffff / uppercase) is replaced; a colour set in the editor still wins. */
.cms-public body.md-launch .ff-flow .ff-flow-cta { display: inline-block; margin: 22px 10px 0 0; vertical-align: top; }
.cms-public body.md-launch .ff-flow .ff-flow-btn[style*="background-color:#c8102e"] {
  min-height: 44px !important;
  padding: 0 22px !important;
  border: 1px solid #111111 !important;
  background-color: #111111 !important;
  color: #F7F6F2 !important;
  font-family: var(--display);
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.cms-public body.md-launch .ff-flow .ff-flow-cta ~ .ff-flow-cta .ff-flow-btn[style*="background-color:#c8102e"] {
  background-color: #EFEDE7 !important;
  border-color: #D8D6CF !important;
  color: #111111 !important;
}
.cms-public body.md-launch .ff-flow .ff-flow-btn:hover { opacity: 0.88; }
.cms-public body.md-launch .ff-flow .ff-flow-btn:focus-visible { outline: 2px solid #2996D9; outline-offset: 2px; }
/* reset-request form (/forgot-password/): title sits in the same centered 440px column as the gold sign-in form */
.cms-public body.md-launch .ff-sim { max-width: 440px; margin: 0 auto; }
.cms-public body.md-launch .ff-sim > h1 { margin: 0 0 20px; }
.cms-public body.md-launch .ff-sim form.auth { max-width: none; width: 100%; }
@media (max-width: 860px) {
  .cms-public body.md-launch main.sheet { width: min(1120px, calc(100% - 20px)); }
}
/* launch-pages-1109b: short pages (Checkout, Account, 404, service pages) left the footer floating mid-screen with
   empty paper below it. Same pattern as the gold body.fit pages: body is a column, main takes the free space,
   the footer sits on the bottom edge of the window. Long pages (FAQ) are unchanged: footer follows content. */
.cms-public body.md-launch { display: flex; flex-direction: column; }
.cms-public body.md-launch > main.sheet { flex: 1 0 auto; }
.cms-public body.md-launch > footer.site { flex: none; }
/* launch-pages-1109c: /forgot-password/ form column centered on the page like the gold Sign in (was centered in the
   720px reading box, so it sat ~200px left of center at 1280), and a two-line title (es/pt) no longer opens a 24px hole
   between its lines (48px type had a 72px line box). */
.cms-public body.paper.md-launch .ff-section.ff-flow:has(.ff-sim) { max-width: none; }
.cms-public body.md-launch .ff-sim > h1 { line-height: 1.1; }
/* launch-pages-1109d (polish-1109): the short pages (/web/ /apps/ /bots/ /voice/ /about/ /checkout/ and the branded 404) are a
   title + 1-2 lines + 2 buttons. Left-aligned at the top they left a 350-500px empty band above the footer. body.md-hero
   (set by the renderer for those slugs only) turns the one section into a centred gold panel (13-Oct Contact form panel:
   --panel, --line border, round corners; Sign in centred column), centred in the space between header and footer.
   Text, links and CMS content are untouched; only layout and paint. FAQ, Account and Forgot password keep the reading column. */
.cms-public body.md-launch.md-hero > main.sheet {
  display: flex;
  flex-direction: column;
  padding-top: clamp(16px, 3vh, 36px);
  padding-bottom: clamp(24px, 4vh, 48px);
}
.cms-public body.md-launch.md-hero #cms-root { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
.cms-public body.md-launch.md-hero .cms-public-stack { width: 100%; }
.cms-public body.paper.md-launch.md-hero .ff-section.ff-flow {
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(22px, 6vw, 72px) !important;
  min-height: clamp(300px, 48vh, 470px) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: center;
}
.cms-public body.md-launch.md-hero .ff-flow .ff-flow-body::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 auto 24px;
  border-radius: 3px;
  background: #2996D9;
}
.cms-public body.md-launch.md-hero .ff-flow .ff-flow-block:first-child h1,
.cms-public body.md-launch.md-hero .ff-flow .ff-flow-block:first-child h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
.cms-public body.md-launch.md-hero .ff-flow .ff-flow-block p {
  max-width: 34em;
  margin: 0 auto 10px;
  font-size: clamp(16.5px, 1.5vw, 18px);
  line-height: 1.55;
}
.cms-public body.md-launch.md-hero .ff-flow .ff-flow-cta { margin: 26px 5px 0; }
.cms-public body.md-launch.md-hero .ff-flow .ff-flow-cta ~ .ff-flow-cta .ff-flow-btn[style*="background-color:#c8102e"] {
  background-color: #F7F6F2 !important;
}
@media (max-width: 480px) {
  .cms-public body.md-launch.md-hero .ff-flow .ff-flow-cta { margin: 22px 4px 0; }
  .cms-public body.paper.md-launch.md-hero .ff-section.ff-flow { border-radius: 20px; min-height: 380px !important; }
}
