/* ConfidencePlus adviser campaign page.
   Served as a plain stylesheet, linked only from the confidenceplus page type, so it never
   passes through the site's SCSS -> LESS build (LESS mangles min()/clamp()/@container) and
   never reaches other pages. Ported from the approved HTML prototype (Figma 5502:4007). */

/* ---------- buttons ---------- */
.cp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--cp-body); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.cp-btn:hover { transform: translateY(-1px); }
.cp-page .cp-btn--primary { background: var(--cp-orange-btn); color: #1d1300; }
.cp-page .cp-btn--primary:hover { background: var(--cp-orange-btn-hover); }
.cp-page .cp-btn--secondary { background: transparent; color: var(--cp-navy); border-color: var(--cp-navy); }
.cp-page .cp-btn--secondary:hover { background: var(--cp-navy); color: #fff; }
.cp-page .cp-btn--arrow, .cp-page .cp-btn--link {
  min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--cp-navy); gap: 12px;
}
.cp-btn--arrow .cp-arrow { transition: transform .2s ease; }
.cp-btn--arrow:hover { transform: none; }
.cp-btn--arrow:hover .cp-arrow { transform: translateX(4px); }
.cp-btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- shared form controls (BDM form + quote pop-up) ---------- */
.cp-form__layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .cp-form__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; } }
.cp-form__intro p { color: var(--cp-muted); }
.cp-form__intro p + p { margin-top: 16px; }
.cp-form__alt a { font-weight: 700; }
.cp-form__form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: 18px; box-shadow: var(--cp-shadow); }
.cp-field-row { display: grid; gap: 16px; align-items: start; }
@media (min-width: 560px) { .cp-field-row { grid-template-columns: 1fr 1fr; } }
.cp-field { display: grid; gap: 8px; align-content: start; font-size: 14px; font-weight: 700; color: var(--cp-ink); }
.cp-page input:not([type="checkbox"]):not([type="radio"]), .cp-page select, .cp-page textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--cp-line); border-radius: var(--cp-radius-sm); background: #fff;
  font: 400 16px/1.4 var(--cp-body); color: var(--cp-ink); transition: border-color .15s, box-shadow .15s;
}
.cp-page input:focus, .cp-page select:focus, .cp-page textarea:focus { outline: none; border-color: var(--cp-navy); box-shadow: 0 0 0 3px rgba(49,74,155,.18); }
.cp-page [aria-invalid="true"]:not([type="checkbox"]):not([type="radio"]) { border-color: var(--cp-error); box-shadow: 0 0 0 3px rgba(198,40,40,.12); }
/* Custom tick box: the native one renders at different sizes/offsets per browser (Safari especially),
   which knocked it off the first line of text. Box height = text line height, so they always line up. */
.cp-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; font-size: 14px; font-weight: 400; line-height: 20px; color: var(--cp-muted); cursor: pointer; }
.cp-check input {
  -webkit-appearance: none; appearance: none; display: grid; place-content: center; flex: none;
  width: 20px; height: 20px; margin: 0; border: 1.5px solid #9aa3b8; border-radius: 4px; background: #fff; cursor: pointer;
  transition: background-color .12s, border-color .12s;
}
.cp-check input::after { content: ""; width: 10px; height: 5px; margin-top: -3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); opacity: 0; }
.cp-check input:checked { background: var(--cp-navy); border-color: var(--cp-navy); }
.cp-check input:checked::after { opacity: 1; }
.cp-check input[aria-invalid="true"] { border-color: var(--cp-error); }
.cp-check + .cp-qerr { padding-left: 32px; } /* error sits under the statement it refers to */
.cp-form__form .cp-btn { justify-self: start; margin-top: 8px; }
.cp-form__status { min-height: 1.5em; font-size: 15px; font-weight: 700; color: var(--cp-navy); }
.cp-form__form.is-sent .cp-form__status { color: var(--cp-green); }
.cp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- quote pop-up ---------- */
html.cp-modal-open { overflow: hidden; }
.cp-modal {
  width: min(680px, 100% - 32px); max-width: none; max-height: min(92vh, 1000px);
  padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--cp-ink);
  box-shadow: 0 40px 90px -24px rgba(15, 22, 60, .55); font-family: var(--cp-body); overflow: auto;
}
.cp-modal::backdrop { background: rgba(20, 28, 70, .62); backdrop-filter: blur(2px); }
.cp-modal[open] { animation: cp-modal-in .22s ease-out; }
.cp-modal[open]::backdrop { animation: cp-fade .22s ease-out; }
@keyframes cp-modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cp-fade { from { opacity: 0; } to { opacity: 1; } }
.cp-modal__panel { position: relative; }
.cp-modal__view { padding: 40px; }
.cp-modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--cp-tint); color: var(--cp-ink); cursor: pointer;
}
.cp-modal__close:hover { background: var(--cp-line); }
.cp-modal__head { padding-right: 48px; margin-bottom: 32px; }
.cp-modal__logo { width: 168px; margin-bottom: 16px; }
.cp-modal__title { font-family: var(--cp-display); font-weight: 900; font-size: 26px; line-height: 1.15; color: var(--cp-navy); margin-bottom: 8px; }
.cp-modal__intro { color: var(--cp-muted); }

.cp-qform { display: grid; gap: 24px; }
.cp-qrow { display: grid; gap: 24px 16px; align-items: start; }
@media (min-width: 600px) { .cp-qrow { grid-template-columns: 1fr 1fr; } }
.cp-qfield { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.cp-qfield > label:not(.cp-check), .cp-qfield > legend, .cp-qlabel-row label { padding: 0; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--cp-ink); }
.cp-qfield > legend { margin-bottom: 8px; }
.cp-opt { font-weight: 400; color: var(--cp-muted); }
.cp-qlabel-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cp-qcount { font-size: 12px; color: var(--cp-muted); font-variant-numeric: tabular-nums; }
.cp-qcount.is-near { color: var(--cp-error); }
.cp-qhint { font-size: 13px; line-height: 1.45; color: var(--cp-muted); }
.cp-qerr { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--cp-error); }
.cp-qerr::before { content: "!"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--cp-error); color: #fff; font-size: 11px; }
.cp-modal textarea { min-height: 136px; resize: vertical; }

.cp-interests > legend { margin-bottom: 2px; } /* the hint sits right under its label */
.cp-interests .cp-qhint { margin-bottom: 4px; }
.cp-choices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
/* dropdown: native select with our own chevron */
.cp-select { position: relative; display: block; }
.cp-page .cp-select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.cp-select::after {
  content: ""; position: absolute; top: 50%; right: 18px; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); pointer-events: none;
}
.cp-choice { position: relative; cursor: pointer; }
.cp-choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.cp-choice span {
  display: grid; place-items: center; min-height: 48px; border: 1.5px solid var(--cp-line); border-radius: 999px;
  font-size: 15px; font-weight: 700; color: var(--cp-ink); background: #fff;
  transition: background-color .12s, color .12s, border-color .12s;
}
.cp-choice:hover span { border-color: var(--cp-navy); }
.cp-choice input:checked + span { background: var(--cp-navy); border-color: var(--cp-navy); color: #fff; }
.cp-choice input:focus-visible + span { outline: 3px solid var(--cp-sky); outline-offset: 2px; }
.cp-choices.has-error .cp-choice span { border-color: var(--cp-error); }

.cp-qform__summary { padding: 16px; border-radius: var(--cp-radius-sm); background: #fdecea; border: 1px solid #f5c2c0; font-size: 14px; }
.cp-qform__summary:focus { outline: 3px solid rgba(198,40,40,.35); outline-offset: 2px; }
.cp-qform__summary ul { margin: 8px 0 0; padding-left: 20px; }
.cp-qform__summary a { color: var(--cp-error); font-weight: 700; }
.cp-qform__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.cp-qform__status { min-height: 1.4em; font-size: 14px; color: var(--cp-muted); text-align: right; }
.cp-qform__status:empty { display: none; }
.cp-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(29,19,0,.25); border-top-color: #1d1300; border-radius: 50%; animation: cp-spin .7s linear infinite; }
.is-busy .cp-spinner { display: inline-block; }
@keyframes cp-spin { to { transform: rotate(360deg); } }

.cp-modal__done:focus { outline: none; }
.cp-done__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cp-green); color: #fff; margin-bottom: 24px; }
.cp-modal__done .cp-modal__intro { margin-bottom: 32px; }
.cp-qform__actions--done { justify-content: space-between; align-items: center; }

/* Full-screen sheet (phones, small tablets, landscape phones), actions pinned to the bottom.
   Chosen by cp-quote-modal.js (.is-sheet), so it matches the JS breakpoint exactly. */
.cp-modal.is-sheet { width: 100%; height: 100%; max-width: none; max-height: 100%; margin: 0; inset: 0; border-radius: 0; }
.cp-modal.is-sheet .cp-modal__panel { min-height: 100%; }
.cp-modal.is-sheet .cp-modal__view { padding: 24px 16px 0; }
.cp-modal.is-sheet .cp-modal__close { top: 12px; right: 12px; }
.cp-modal.is-sheet .cp-modal__head { margin-bottom: 24px; }
.cp-modal.is-sheet .cp-modal__logo { width: 144px; }
.cp-modal.is-sheet .cp-modal__title { font-size: 23px; }
.cp-modal.is-sheet .cp-qform__actions {
  position: sticky; bottom: 0; z-index: 1; margin-inline: -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--cp-line); flex-wrap: nowrap;
}
.cp-modal.is-sheet .cp-qform__actions .cp-btn { padding-inline: 20px; }
.cp-modal.is-sheet .cp-qform__actions [data-cp-submit] { flex: 1; }
.cp-modal.is-sheet .cp-qform__actions--done { position: static; margin: 0; padding: 0 0 24px; border: 0; flex-direction: column-reverse; align-items: stretch; }
@media (min-width: 600px) { .cp-modal.is-sheet .cp-modal__view { padding: 32px 32px 0; } .cp-modal.is-sheet .cp-qform__actions { margin-inline: -32px; padding-inline: 32px; } }

/* ---------- enquiry side panel (tablets + desktops) ----------
   Non-modal: no backdrop, the page keeps scrolling and a playing video keeps playing.
   The page shifts left by the panel's width, so nothing (including a playing video) is covered.
   The heading/close stay put; fields scroll; Send stays pinned at the bottom. */
:root { --cp-panel-w: clamp(380px, 45vw, 460px); }
.cp-modal.is-panel {
  position: fixed; z-index: 1052; inset: 0 0 0 auto; margin: 0; /* above the live MENU rail (1051) */
  width: var(--cp-panel-w); height: 100%; max-height: none; border-radius: 0;
  overflow: hidden; box-shadow: -24px 0 60px -28px rgba(15, 22, 60, .55);
}
.cp-modal.is-panel[open] { animation: cp-panel-in .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes cp-panel-in { from { transform: translateX(100%); } to { transform: none; } }
.cp-modal.is-panel .cp-modal__panel { height: 100%; }
.cp-modal.is-panel .cp-modal__view { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 32px 28px 0; }
.cp-modal.is-panel .cp-modal__head { margin-bottom: 24px; }
.cp-modal.is-panel .cp-modal__title { font-size: 24px; }
.cp-modal.is-panel .cp-qrow { grid-template-columns: 1fr; }
.cp-modal.is-panel .cp-qrow:has(#cpq-first) { grid-template-columns: 1fr 1fr; }
.cp-modal.is-panel .cp-qform { gap: 20px; }
.cp-modal.is-panel .cp-qform__actions {
  position: sticky; bottom: 0; z-index: 1; margin: 4px -28px 0; padding: 16px 28px calc(16px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--cp-line); flex-wrap: nowrap;
}
.cp-modal.is-panel .cp-qform__actions [data-cp-submit] { flex: 1; }
.cp-modal.is-panel .cp-qform__actions--done { position: static; margin: 0; padding: 0 0 32px; border: 0; }
.cp-modal.is-panel .cp-qform__status:not(:empty) { padding-bottom: 16px; }
.cp-qform__recaptcha { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 12px; line-height: 1.5; color: var(--cp-muted); }
.cp-qform__recaptcha svg { flex: none; margin-top: 2px; }
.cp-qform__recaptcha a { color: inherit; }
/* Google allows hiding the floating badge only when the notice above is shown in the form */
.grecaptcha-badge { visibility: hidden !important; }
.cp-req { margin-left: 2px; color: var(--cp-error); font-weight: 700; }
.cp-modal__reqnote { margin-top: 12px; font-size: 13px; color: var(--cp-muted); }
.cp-modal__hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--cp-green); }
.cp-modal__hint[hidden] { display: none; }
html.cp-panel-open .cp-sticky, html.cp-panel-open .gl-sticky { display: none !important; } /* the enquiry is already open */
.cp-page { transition: margin-right .3s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) { .cp-modal.is-panel[open] { animation: none; } .cp-page { transition: none; } }

/* =====================================================================
   ConfidencePlus on genlife.com.au components
   Live-site component look (captured Nov 2026) recoloured to the ConfidencePlus brand.
   Mapping of the live site's colours to ConfidencePlus:
     site blue #2B41B1 / #3E54C7  -> CP navy      #314A9B
     key-insights navy #1B1C3C    -> CP deep navy #1F2A6B
     charcoal #29292E / #303036   -> CP ink navy  #161D4D
     footer #252529               -> CP night     #10163A
     teal numbers / thimble       -> CP sky #36B7E0 / CP orange #FAA638
     orange accent #E47448        -> CP orange    #FAA638
   ===================================================================== */
:root {
  --gl-blue: #314a9b;
  --gl-navy: #1f2a6b;
  --gl-ink-navy: #161d4d;
  --gl-night: #10163a;
  --gl-orange: #faa638;
  --gl-orange-btn: #f5951d;
  --gl-orange-hover: #ffa733;
  --gl-sky: #36b7e0;
  --gl-text: #252729;
  --gl-grey: #5e5d5d;
  --gl-bg: #f5f5f7;
  --gl-line: #dcdde3;
  --gl-rail: 0px;
  /* The site's .container: the content column, and the logo, line up with every other page.
     --gl-cont = container width (full width on phones), --gl-pad = its side padding. */
  --gl-cont: 100000px;
  --gl-pad: 24px;
  --gl-gut: var(--gl-pad);
  --gl-max: calc(var(--gl-cont) - 2 * var(--gl-pad));  /* content column width */
  --gl-col: calc(var(--gl-max) / 2);                    /* half of the content column */
  /* Left edge of the content column: the container is centred in the page (the MENU rail is
     outside the page). % = the width of the element it's used on (section/grid), so it still
     lines up when the enquiry panel narrows the page. */
  --gl-edge: calc((100% - min(var(--gl-cont), 100%)) / 2 + var(--gl-pad));
  --gl-nav-h: 62px;         /* height of the site navbar (logo row) */
  --gl-orange-text: #f5a23a; /* eyebrows, subheads, big % (design colour) */
  --gl-sec: 72px;           /* section padding, matches live */
  --gl-font: "Helvetica Neue", Arial, sans-serif;
}
/* Site breakpoints: sm 576, md 768, lg 1200, xl 1441.
   --gl-rail = the live MENU rail (body margin-right): 0 / 52px from 768px / 60px from 1441px */
@media (min-width: 576px) { :root { --gl-cont: 540px; } }
@media (min-width: 768px) { :root { --gl-rail: 52px; --gl-cont: 720px; --gl-pad: 26px; --gl-nav-h: 80px; } }
@media (min-width: 992px) { :root { --gl-sec: 88px; } }
@media (min-width: 1200px) { :root { --gl-cont: 960px; } }
@media (min-width: 1441px) { :root { --gl-rail: 60px; --gl-cont: 1206px; --gl-pad: 30px; --gl-nav-h: 92px; } }
@media (max-width: 599px) { :root { --gl-sec: 56px; } }

/* Scoped to the campaign page: the live site's own html/body rules stay untouched */
.gl-page, .gl-sticky, .cp-modal { color: var(--gl-text); font: 400 16px/24px var(--gl-font); letter-spacing: -.1px; -webkit-font-smoothing: antialiased; }
.gl-page *, .gl-page *::before, .gl-page *::after, .gl-sticky *, .cp-modal * { box-sizing: border-box; }
.gl-page { overflow-x: clip; container: page / inline-size; } /* components respond to the page's width, so they also adapt when the enquiry panel narrows it */
.cp-page [hidden] { display: none !important; }
.gl-page :where(h1, h2, h3, p, ol, ul, figure) { margin: 0; }
/* the live site's h1-h3 rules carry their own sizes/colours; the campaign widgets below set theirs */
.gl-page :where(h1, h2, h3) { font-size: inherit; line-height: inherit; color: inherit; letter-spacing: inherit; padding: 0; }
.cp-page a { color: var(--gl-blue); }
.cp-page :focus-visible { outline: 3px solid var(--gl-orange); outline-offset: 3px; }
.cp-page section { position: relative; }

/* ---------- grid: every widget aligns to the same 940px column ---------- */
.gl-wrap { width: min(var(--gl-max), 100% - var(--gl-edge) - var(--gl-gut)); margin-left: var(--gl-edge); margin-right: auto; position: relative; }
.gl-measure > * { max-width: 620px; }
/* Type: the site's own scale (src/bootstrap/components/type.scss), so the page reads like every other page.
   Section headings = .font-24-32-m (24/32, 32/38 from 1441px); intros = .font-18-r; body = .font-16-r. */
.gl-video__title, .gl-twocol .gl-h-accent, .gl-br__title, .gl-media .gl-h-section, .gl-event__title, .gl-docs .gl-h-section,
.gl-h-section, .gl-h-accent, .gl-quote blockquote p {
  font-family: var(--gl-font); font-size: 24px; font-weight: 500; line-height: 32px; letter-spacing: -.4px;
}
@media (min-width: 1441px) {
  .gl-video__title, .gl-twocol .gl-h-accent, .gl-br__title, .gl-media .gl-h-section, .gl-event__title, .gl-docs .gl-h-section,
  .gl-h-section, .gl-h-accent, .gl-quote blockquote p { font-size: 32px; line-height: 38px; letter-spacing: -.5px; }
}
.gl-video__intro, .gl-media__intro, .gl-docs .gl-cards__intro, .gl-cards__intro, .gl-event__body, .gl-br__copy, .gl-twocol__text p, .gl-twocol__sub {
  font-size: 18px; line-height: 26px; letter-spacing: -.3px;
}

/* ---------- type ---------- */
.gl-h-section { color: var(--gl-text); margin-bottom: 24px; }
.gl-h-light { color: #fff; }
.gl-h-accent { color: var(--gl-blue); margin-bottom: 24px; }
.gl-h-accent--orange { color: var(--gl-orange); }
.gl-text p + p { margin-top: 16px; }
.gl-info { font-size: 13px; line-height: 1.5; color: var(--gl-grey); margin-top: 24px; max-width: 720px; }
.gl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- arrow-link buttons: square, uppercase, long arrow ---------- */
.gl-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
/* the site's .btn sizing: 14/21 and 44px tall on phones, 16/24 and 60px tall from 768px */
.gl-btn {
  display: inline-flex; align-items: center; gap: 20px; min-height: 44px; padding: 10px 24px;
  border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  font: 500 14px/21px var(--gl-font); letter-spacing: -.1px; text-transform: uppercase;
  transition: background-color .15s ease, color .15s ease;
}
@media (min-width: 768px) { .gl-btn { min-height: 60px; padding: 16px 32px; font-size: 16px; line-height: 24px; } }
.cp-page a.gl-btn { text-decoration: none; }
.gl-btn .gl-arrow { flex: none; transition: transform .2s ease; }
.gl-btn:hover .gl-arrow { transform: translateX(4px); }
.cp-page .gl-btn--white { background: #fff; color: var(--gl-blue); }
.cp-page .gl-btn--white:hover { background: #e9ecf6; }
.cp-page .gl-btn--navy { background: var(--gl-blue); color: #fff; }
.cp-page .gl-btn--navy:hover { background: var(--gl-navy); }
.cp-page .gl-btn--orange { background: var(--gl-orange-btn); color: var(--gl-ink-navy); }
.cp-page .gl-btn--orange:hover { background: var(--gl-orange-hover); }
.cp-page .gl-btn--outline { background: transparent; color: var(--gl-blue); box-shadow: inset 0 0 0 1.5px var(--gl-blue); } /* border without changing the button's size */
.cp-page .gl-btn--outline:hover { background: #e9ecf6; }
.gl-backlink { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 500; line-height: 20px; text-transform: uppercase; letter-spacing: -.08px; text-decoration: none; }
.gl-backlink:hover .gl-arrow { transform: translateX(-4px); }
.gl-backlink .gl-arrow { transition: transform .2s ease; }
.gl-backlink--next:hover .gl-arrow { transform: translateX(4px); }
.gl-header__new { margin-top: 24px; }

/* ---------- corner bracket ("thimble") ---------- */
.gl-thimble { position: absolute; width: 18px; height: 18px; border-right: 3px solid var(--gl-orange); border-bottom: 3px solid var(--gl-orange); pointer-events: none; }

/* =========================== WIDGETS =========================== */

/* generic-page-header (campaign variant: background photo) */
/* Sits under the site navbar (transparent here), as the site's photo headers do, so the navbar's
   own white logo shows over the photo at exactly the size and place it has on every other page */
.gl-header { margin-top: calc(-1 * var(--gl-nav-h)); background: #0d1233; color: #fff; overflow: hidden; }
/* Editors: the banner's edit bar would sit behind the navbar, so move it below, as the site's own
   photo headers do (generic-page-header.scss) */
[data-apos-widget-wrapper="cp-header"] .apos-area-widget-controls { top: 100px; }
.gl-header__bg { position: absolute; inset: 0; background-size: cover; background-position: 70% 40%; }
.gl-header__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,22,58,.96) 0%, rgba(16,22,58,.9) 38%, rgba(16,22,58,.45) 66%, rgba(16,22,58,.15) 100%);
}
.gl-header__inner { padding: 0 0 72px; }
/* The logo row: the navbar's logo is on the left; the login is centred on it, on the right.
   Logo: 22px down and 27px tall on phones, 40px down from 768px, 39px tall from 1441px. */
.gl-header__top { display: flex; align-items: flex-start; justify-content: flex-end; gap: 16px 24px; min-height: var(--gl-nav-h); padding-top: 13.5px; }
@media (min-width: 768px) { .gl-header__top { padding-top: 31.5px; } }
@media (min-width: 1441px) { .gl-header__top { padding-top: 37.5px; } }
.gl-header__right { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 16px; }
.cp-page .gl-login {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; flex: none;
  border: 1px solid rgba(255,255,255,.7); color: #fff; text-decoration: none;
  font: 500 12px/1.2 var(--gl-font); letter-spacing: .04em; text-transform: uppercase; transition: background-color .15s, border-color .15s;
}
.cp-page .gl-login:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.gl-login svg { flex: none; color: var(--gl-orange); }
@container page (max-width: 767px) {
  .gl-header__right { display: contents; }
  .gl-header .gl-login { order: 1; }
  .gl-header .gl-notice { order: 2; width: 100%; }
}
.gl-notice {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-left: 3px solid var(--gl-orange);
  background: rgba(255,255,255,.1); font-size: 12px; font-weight: 500; line-height: 1.4; color: #fff;
}
/* Breadcrumb: the site's .breadcrumbs (14px medium), white as on the site's photo headers, at the
   site's distance below the logo row (34 / 39 / 79px). The row is 44px tall for the "Back to home
   page" link, so its text sits 12px down: the margins below are the site's, less those 12px. */
.gl-header__crumbs { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 24px; margin-top: 24px; }
.gl-header__crumbs nav { display: flex; align-items: center; min-height: 44px; } /* same offset when the row wraps on phones */
.cp-page .gl-header__crumbs .breadcrumbs { margin: 0; }
.cp-page .gl-header .breadcrumbs .breadcrumb-font, .cp-page .gl-header .breadcrumbs .breadcrumb-link { color: #fff; }
.cp-page .gl-header .gl-backlink { color: #fff; }
.gl-header__copy { max-width: 720px; margin-top: 8px; }
@media (min-width: 768px) { .gl-header__crumbs { margin-top: 29px; } .gl-header__copy { margin-top: 15px; } }
@media (min-width: 1441px) { .gl-header__crumbs { margin-top: 69px; } .gl-header__copy { margin-top: 18px; } }
.gl-header__title, .gl-header__desc { max-width: 560px; }
@media (min-width: 1441px) { .gl-header__title, .gl-header__desc { max-width: 680px; } }
.gl-header__title { margin: 0; font-weight: 500; }
.gl-header__logo-cp { display: block; width: min(300px, 80%); margin-bottom: 20px; }
.gl-header__logo-cp svg { display: block; width: 100%; height: auto; }
/* the site's page title (.font-24-32-40-m) and header description (.font-18-24-r) */
.gl-header__sub { display: block; font-size: 24px; line-height: 32px; letter-spacing: -.4px; color: #fff; }
.gl-header__desc { margin-top: 24px; font-size: 18px; line-height: 26px; letter-spacing: -.3px; color: rgba(255,255,255,.92); }
@media (min-width: 768px) { .gl-header__sub { font-size: 32px; line-height: 38px; letter-spacing: -.5px; } }
@media (min-width: 1441px) { .gl-header__sub { font-size: 40px; line-height: 44px; letter-spacing: -.6px; } .gl-header__desc { font-size: 24px; line-height: 32px; letter-spacing: -.4px; } }
.gl-header .gl-thimble { right: 22%; top: 46%; }
@container page (max-width: 767px) { .gl-header .gl-thimble { display: none; } .gl-header__bg::after { background: rgba(16,22,58,.86); } }

/* text */
.gl-text { padding-block: var(--gl-sec); }
.gl-bg-white { background: #fff; }
.gl-bg-grey { background: var(--gl-bg); }

/* video: CEO video, click-to-play (placeholder until a link is added) */
.gl-video { background: var(--gl-bg); padding-block: var(--gl-sec); }
.gl-eyebrow { font-size: 16px; font-weight: 700; line-height: 24px; letter-spacing: -.1px; text-transform: uppercase; color: var(--gl-orange-text); margin-bottom: 12px; } /* site label style (.font-16-b) */
.gl-video__title { max-width: 900px; color: var(--gl-blue); margin-bottom: 16px; text-wrap: balance; }
.gl-video__intro { max-width: 1060px; color: #3c3f44; margin-bottom: 40px; }
.gl-video__player { margin: 0; }
/* highlights between the intro and the video; without them the intro's own spacing applies */
.gl-video__intro:has(+ .gl-video__highlights) { margin-bottom: 24px; }
.gl-video__highlights { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 16px; max-width: 1060px; }
.gl-video__highlights li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: start; }
.gl-video__hl-icon svg, .gl-video__hl-icon img { display: block; width: 32px; height: 32px; object-fit: contain; }
.gl-video__hl-title { display: block; font-size: 16px; font-weight: 700; line-height: 24px; color: var(--gl-blue); }
.gl-video__hl-text { display: block; font-size: 16px; line-height: 24px; color: #3c3f44; }
/* video: 11 of the 12 grid columns (1048px at full width), so it and its caption fit a 1366 × 768 laptop */
@container page (min-width: 1024px) { .gl-video__player { max-width: calc((100% + 30px) * 11 / 12 - 30px); } }
.gl-video__frame {
  position: relative; aspect-ratio: 16 / 9;
  background:
    radial-gradient(110% 90% at 90% 10%, rgba(54,183,224,.35) 0%, transparent 55%),
    linear-gradient(135deg, var(--gl-ink-navy) 0%, var(--gl-blue) 100%);
}
.gl-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gl-video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Vimeo thumbnail: shade it so the white label and play button stay readable on any frame */
.gl-video__frame.has-thumb .gl-video__play { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%); }
.gl-video__play {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 16px;
  width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit;
}
.gl-video__icon { display: grid; place-items: center; width: 84px; height: 84px; padding-left: 4px; background: var(--gl-orange-btn); color: var(--gl-ink-navy); transition: background-color .15s ease, transform .2s ease; }
.gl-video__play:hover .gl-video__icon { background: var(--gl-orange-hover); transform: scale(1.05); }
.cp-page .gl-video__play:focus-visible { outline: 3px solid var(--gl-orange); outline-offset: -6px; }
.gl-video__label { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.gl-video__time { position: absolute; left: 16px; bottom: 16px; padding: 4px 10px; background: rgba(0,0,0,.45); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cp-video__note { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; padding: 8px 14px; background: #fff; color: var(--gl-text); font-size: 13px; font-weight: 500; white-space: nowrap; }
.gl-video__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; font-size: 14px; color: var(--gl-grey); }
.gl-video__caption strong { color: var(--gl-text); font-weight: 500; }
.cp-page .gl-video__caption a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.gl-video .gl-btns { margin-top: 32px; }
@container page (max-width: 599px) { .gl-video__icon { width: 60px; height: 60px; } .gl-video__icon svg { width: 20px; height: 20px; } .gl-video__frame .gl-thimble { display: none; } }

/* hero "New" tag */
.gl-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.gl-tag span { padding: 4px 8px; background: var(--gl-orange-btn); color: var(--gl-ink-navy); font-weight: 700; }

/* two-column photo: the supplied image has the Generation Life + BlackRock logos built in, near the top.
   Anchor the crop at the top and ~40% across so both logos always stay in frame. */

/* Powered by BlackRock: white band, black logo, three option cards with a growth/defensive split bar */
.gl-br { background: #fff; color: var(--gl-text); padding-block: var(--gl-sec); border-top: 1px solid #e6e7ec; }
.gl-br__inner { display: grid; gap: 32px 64px; align-items: center; }
@container page (min-width: 900px) { .gl-br__inner { grid-template-columns: minmax(0, 362px) minmax(0, 1fr); column-gap: 98px; } } /* logo = cols 1–4, text from col 5 */
.gl-br__logo { margin: 0; color: #000; }
.gl-br__svg { display: block; width: min(100%, 360px); height: auto; }
.gl-br__title { color: var(--gl-blue); }
.gl-br__copy { margin-top: 12px; max-width: 560px; color: #3c3f44; }
.gl-br__models { grid-column: 1 / -1; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 30px 30px; } /* 3 cards × 4 columns */
@container page (min-width: 768px) { .gl-br__models { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gl-br__opt {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.2vw, 32px) clamp(18px, 2vw, 30px) clamp(20px, 2vw, 28px);
  background: var(--gl-bg); border: 1px solid transparent; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.gl-br__opt:hover { transform: translateY(-3px); background: #fff; border-color: #dfe3ef; box-shadow: 0 16px 32px -20px rgba(16, 22, 58, .45); }
.gl-br__num { position: absolute; top: 18px; right: 24px; font-size: 54px; font-weight: 700; line-height: 1; letter-spacing: -1px; color: rgba(49, 74, 155, .1); }
.gl-br__name { position: relative; font-size: 26px; font-weight: 500; letter-spacing: -.2px; color: var(--gl-blue); }
.gl-br__big { position: relative; display: flex; align-items: baseline; gap: 6px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.gl-br__g { font-size: clamp(36px, 3.4vw, 48px); font-weight: 500; line-height: 1; letter-spacing: -1px; color: var(--gl-orange-text); }
.gl-br__slash { font-size: 22px; color: #b9bbc4; }
.gl-br__d { font-size: 26px; font-weight: 700; line-height: 1; color: var(--gl-blue); }
.gl-br__bar { position: relative; height: 12px; margin-top: 6px; background: var(--gl-blue); overflow: hidden; }
.gl-br__bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--g) * 1%); background: var(--gl-orange-btn); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.gl-br__opt:nth-child(2) .gl-br__bar i { transition-delay: .12s; }
.gl-br__opt:nth-child(3) .gl-br__bar i { transition-delay: .24s; }
/* bars grow in when the cards scroll into view (only once JS has armed it; without JS they're simply full) */
.cp-reveal-armed:not(.is-in) .gl-br__bar i { width: 0; }
.gl-br__keys { display: flex; gap: 18px; font-size: 14px; font-weight: 500; color: var(--gl-grey); }
.gl-br__keys span { display: inline-flex; align-items: center; gap: 6px; }
.gl-br__dot { width: 8px; height: 8px; }
.gl-br__dot--g { background: var(--gl-orange-btn); }
.gl-br__dot--d { background: var(--gl-blue); }
@media (prefers-reduced-motion: reduce) { .gl-br__bar i { transition: none; } .gl-br__opt { transition: none; } .gl-br__opt:hover { transform: none; } }

/* in the media: live cards look with an image on top */
.gl-media { background: var(--gl-bg); padding-block: var(--gl-sec); }
.gl-media .gl-h-section { margin-bottom: 12px; color: var(--gl-blue); }
.gl-media__intro { color: #3c3f44; margin-bottom: 32px; }
.gl-media__grid { list-style: none; padding: 0; display: grid; gap: 20px; }
@container page (min-width: 600px) { .gl-media__grid { grid-template-columns: repeat(2, 1fr); } }
@container page (min-width: 900px) { .gl-media__grid { grid-template-columns: repeat(3, 1fr); } }
.cp-page .gl-mcard { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; transition: box-shadow .15s ease; }
.gl-mcard:hover { box-shadow: 0 10px 30px -14px rgba(16,22,58,.35); }
.gl-mcard__img { position: relative; aspect-ratio: 16 / 9; background: var(--gl-ink-navy) center 70% / cover no-repeat; }
.gl-mcard__kind { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: var(--gl-ink-navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gl-mcard__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 28px 30px 30px; }
.gl-mcard__meta { font-size: 14px; font-weight: 500; color: var(--gl-grey); }
.gl-mcard__title { flex: 1; font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--gl-text); }
.gl-mcard:hover .gl-card__link span:first-of-type { text-decoration: underline; text-underline-offset: 3px; }
.gl-media__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.gl-media__logos p { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gl-grey); }
.gl-media__logos ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; }
.gl-logo-ph { display: grid; place-items: center; width: 146px; height: 48px; border: 1px dashed #b9bbc4; font-size: 11px; color: #8a8d96; }

/* adviser quote: live "text" widget in a dark theme, set large */
.gl-quote { background: var(--gl-blue); color: #fff; padding-block: var(--gl-sec); overflow: hidden; }
.gl-quote__fig { margin: 0; max-width: 1080px; }
.gl-quote blockquote { margin: 0; }

.gl-quote blockquote p::before { content: "“"; display: block; height: 44px; font-size: 64px; line-height: 1; color: var(--gl-orange); }
.gl-quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.8); }
.gl-quote figcaption strong { color: #fff; font-weight: 500; }
.gl-quote__avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.22); flex: none; }
.gl-quote .gl-thimble { right: 0; bottom: -24px; width: 52px; height: 52px; border-width: 0 4px 4px 0; }

/* webinar: live "find-out-more" contained grey box */
.gl-event { padding-block: 56px; background: #fff; }
.gl-event__box {
  background: var(--gl-bg); display: grid; gap: 8px 48px; align-items: end;
  margin-left: max(0px, calc(var(--gl-edge) - 80px));
  padding: 56px max(var(--gl-gut), calc(100% - var(--gl-edge) - var(--gl-max))) 48px min(80px, var(--gl-edge));
}
/* % above = the section's width (not 100vw), so it stays right when the enquiry panel narrows the page */
@container page (min-width: 900px) { .gl-event__box { grid-template-columns: minmax(0, 1fr) auto; } }
.gl-event__title { color: var(--gl-blue); margin-bottom: 16px; }
.gl-event__body { color: #3c3f44; }
.gl-event__details { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.gl-event__details li { padding: 8px 12px; background: #fff; font-size: 13px; font-weight: 500; color: var(--gl-blue); }
.gl-event .gl-btns { margin-top: 24px; }
@container page (max-width: 767px) { .gl-event__box { margin: 0; padding: 40px var(--gl-gut); } }

/* documents: simple download list (new component) */
.gl-docs { background: #fff; padding-block: var(--gl-sec); }
.gl-docs .gl-h-section { color: var(--gl-blue); margin-bottom: 12px; }
.gl-docs .gl-cards__intro { max-width: 820px; color: #3c3f44; }
.gl-docs__list { list-style: none; margin: 0; padding: 8px 0; background: #f7f7f9; }
.cp-page .gl-doc {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 20px;
  min-height: 74px; padding: 14px 28px; text-decoration: none; color: inherit; transition: background-color .15s ease;
}
.gl-doc:hover { background: #eef0f6; }
.gl-doc__icon { display: grid; place-items: center; color: var(--gl-blue); }
.gl-doc__title { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--gl-text); }
.gl-doc__meta { display: block; margin-top: 4px; font-size: 14px; color: var(--gl-grey); }
.gl-doc__go { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--gl-blue); white-space: nowrap; }
.gl-doc:hover .gl-doc__go span:first-of-type { text-decoration: underline; text-underline-offset: 3px; }
@container page (max-width: 599px) { .cp-page .gl-doc { gap: 14px; padding: 14px 16px; } .gl-doc__go span:first-of-type { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* two-column: text left on the content column, image bleeds to the rail */
.gl-twocol { display: grid; grid-template-columns: [full-start] var(--gl-edge) [content-start] minmax(0, min(var(--gl-col), (100% - var(--gl-edge) - var(--gl-gut)) / 2)) [mid] 1fr [full-end content-end]; background: #fff; }
.gl-twocol__text { grid-column: content-start / mid; padding: var(--gl-sec) 64px var(--gl-sec) 0; }
.gl-twocol .gl-h-accent { margin-bottom: 24px; }
.gl-twocol__sub { color: var(--gl-orange-text); font-weight: 500; margin-bottom: 24px; }
.gl-twocol__text p + p { margin-top: 16px; }
.gl-stat { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.4px; color: var(--gl-blue); line-height: 1.1; margin-bottom: 6px; }
.gl-twocol__text p + p { margin-top: 28px; }
.gl-twocol__img { grid-column: mid / full-end; min-height: 420px; background: var(--gl-ink-navy) 30% top / cover no-repeat; }
/* the supplied photo has the Generation Life + BlackRock logos near the top: crop is anchored top and 30% across so both always stay in frame */

/* cards: every document as a white file card on grey (live "cards" widget) */
.gl-cards { background: var(--gl-bg); padding-block: var(--gl-sec); }
.gl-cards__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: 32px; }
.gl-cards__head .gl-h-section { margin-bottom: 8px; }
.gl-cards__intro { max-width: 560px; color: #4a4c50; }
.cp-page .gl-textlink { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--gl-blue); text-decoration: none; }
.gl-textlink .gl-arrow { transition: transform .2s ease; }
.gl-textlink:hover .gl-arrow { transform: translateX(4px); }
.cp-page .gl-textlink:hover span { text-decoration: underline; text-underline-offset: 3px; }
.gl-cards__grid { list-style: none; padding: 0; display: grid; gap: 16px; }
@container page (min-width: 600px) { .gl-cards__grid { grid-template-columns: repeat(2, 1fr); } }
@container page (min-width: 900px) { .gl-cards__grid { grid-template-columns: repeat(3, 1fr); } }
.cp-page .gl-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 220px; height: 100%; padding: 24px 24px 20px; background: #fff; text-decoration: none; transition: box-shadow .15s ease; }
.gl-card:hover { box-shadow: 0 10px 30px -14px rgba(16,22,58,.35); }
.gl-card__title { display: block; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.3px; color: var(--gl-text); }
.gl-card__meta { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--gl-grey); }
.gl-card__link { display: inline-flex; align-items: center; gap: 10px; min-height: 24px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--gl-blue); }
.gl-card:hover .gl-card__link span:first-of-type { text-decoration: underline; text-underline-offset: 3px; }

/* disclaimer + footnotes: own light-grey section above the footer (Figma design) */
.gl-legal { background: var(--gl-bg); padding-block: 48px; }
.gl-legal__h { font-size: 14px; font-weight: 700; line-height: 20px; letter-spacing: -.08px; color: var(--gl-text); margin-bottom: 6px; }
.gl-legal p, .gl-legal li { font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: -.06px; color: #575761; }
.gl-legal p + .gl-legal__h { margin-top: 24px; }
.gl-legal ol { padding-left: 1.4em; }
@container page (max-width: 599px) { .gl-legal { padding-block: 40px; } }

/* footer: the live genlife.com.au footer, unchanged */
.gl-footer { background: #252529; color: #9a9ba2; padding: 72px 0 72px; font-size: 14px; }
.gl-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cp-page .gl-footer a.gl-footer__logo { display: flex; align-items: center; width: 114px; min-height: 44px; color: #fff; }
.gl-footer__logo svg { display: block; width: 100%; height: auto; }
.cp-page .gl-footer a.gl-footer__in { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -11px; color: #fff; }
.gl-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 40px; }
@container page (min-width: 768px) { .gl-footer__cols { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.gl-footer__cols > div { display: grid; align-content: start; gap: 14px; }
.gl-footer__cols--2 { padding-top: 40px; }
.cp-page .gl-footer a { color: #9a9ba2; text-decoration: none; line-height: 1.4; }
.cp-page .gl-footer a:hover { color: #fff; }
.cp-page .gl-footer a.gl-footer__h { color: #fff; font-weight: 500; margin-bottom: 6px; }
.gl-footer__about { margin-top: 40px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; line-height: 1.6; color: #8b8c93; }
.gl-footer__copy { margin-top: 20px; font-size: 12px; color: #8b8c93; }
.cp-page .gl-footer .gl-footer__copy a { color: #8b8c93; }

/* sticky CTA bar (square, site-style) */
.gl-sticky {
  position: fixed; z-index: 40; left: 0; right: var(--gl-rail); bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  /* content edges of the page (the bar spans the page: the screen less the MENU rail) */
  --gl-sticky-edge: calc((100vw - var(--gl-rail) - min(var(--gl-cont), 100vw - var(--gl-rail))) / 2 + var(--gl-pad));
  padding: 10px var(--gl-sticky-edge); background: var(--gl-navy);
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4); animation: gl-up .25s ease-out;
}
@keyframes gl-up { from { transform: translateY(100%); } to { transform: none; } }
.gl-sticky__logo { width: 150px; }
.gl-sticky__logo svg { display: block; width: 100%; height: auto; }
.gl-sticky .gl-btn { min-height: 44px; padding-block: 10px; }
.gl-sticky__ctas { display: flex; align-items: center; gap: 12px; }
.cp-page .gl-login--sticky { min-height: 44px; }
.gl-sticky .gl-btn, .gl-sticky .gl-login { white-space: nowrap; }
@media (max-width: 599px) {
  .gl-sticky { gap: 12px; }
  .gl-sticky__logo { display: none; } /* the page above already carries the brand; buttons get the room */
  .gl-sticky__ctas { gap: 8px; width: 100%; }
  .gl-sticky__ctas .gl-btn { flex: 1; justify-content: center; }
  .gl-sticky .gl-arrow { display: none; }
  .gl-sticky .gl-btn { padding-inline: 14px; }
  .cp-page .gl-login--sticky { padding-inline: 12px; }
  .cp-page .gl-card { min-height: 0; gap: 24px; }
}

/* ---------- phones/tablets: stack the split widgets ---------- */
@container page (max-width: 1023px) { /* stacks earlier than other split widgets so the photo is never cropped into its logos */
  .gl-twocol__text { grid-column: content-start / full-end; padding: var(--gl-sec) var(--gl-gut) 40px 0; }
  .gl-twocol__img { grid-column: full-start / full-end; min-height: 0; width: 100%; aspect-ratio: 1200 / 1326; max-height: 760px; background-position: center top; } /* whole photo on phones; on wider stacked layouts the bottom is trimmed, never the logos */
}
@container page (max-width: 767px) {
  .gl-btns .gl-btn { flex: 1 1 100%; justify-content: flex-start; gap: 12px; padding-inline: 16px; }
  .gl-btns .gl-btn .gl-arrow { width: 28px; }
}

/* small phones: the header login reads "Login" so it stays clear of the site-sized logo
   (screen readers still hear "Adviser Online login") */
@media (max-width: 479px) {
  .gl-header .gl-login__adv { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 419px) {
  /* login becomes an icon button on small phones; the label stays for screen readers */
  .cp-page .gl-login--sticky { width: 44px; padding: 0; justify-content: center; }
  .gl-login--sticky .gl-login__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gl-login--sticky svg { width: 18px; height: 18px; }
}
@container page (max-width: 359px) { .gl-btn { font-size: 12.5px; letter-spacing: 0; } .gl-btns .gl-btn .gl-arrow { display: none; } }

/* =================== enquiry pop-up: site modal look =================== */
.cp-modal {
  --cp-navy: #314a9b; --cp-navy-deep: #1f2a6b; --cp-orange: #faa638; --cp-orange-btn: #f5951d; --cp-orange-btn-hover: #ffa733;
  --cp-sky: #36b7e0; --cp-green: #2f8a5b; --cp-ink: #fff; --cp-muted: rgba(255,255,255,.72); --cp-line: rgba(255,255,255,.18);
  --cp-error: #ff8a80; --cp-radius-sm: 0; --cp-body: var(--gl-font); --cp-display: var(--gl-font);
  border-radius: 0 !important; background: var(--gl-ink-navy) !important; color: #fff; font-family: var(--gl-font);
}
.cp-modal::backdrop { background: rgba(8, 12, 36, .72) !important; backdrop-filter: none !important; }
.cp-modal__close { background: transparent !important; color: #fff !important; border-radius: 0 !important; }
.cp-modal__close:hover { background: rgba(255,255,255,.1) !important; }
.cp-modal__logo { width: 180px !important; }
.cp-modal__title { font-family: var(--gl-font) !important; font-weight: 500 !important; font-size: 26px !important; letter-spacing: -.4px; color: #fff !important; }
.cp-modal__intro { color: rgba(255,255,255,.8) !important; }
.cp-qfield > label:not(.cp-check), .cp-qfield > legend, .cp-qlabel-row label { color: rgba(255,255,255,.8) !important; font-size: 12px !important; font-weight: 500 !important; }
.cp-page .cp-modal input:not([type="checkbox"]):not([type="radio"]), .cp-page .cp-modal select, .cp-page .cp-modal textarea {
  border-radius: 0 !important; border: 1px solid transparent !important; background: rgba(255,255,255,.08) !important; color: #fff !important;
}
.cp-page .cp-modal input:focus, .cp-page .cp-modal select:focus, .cp-page .cp-modal textarea:focus { border-color: var(--gl-orange) !important; box-shadow: none !important; background: rgba(255,255,255,.12) !important; }
.cp-page .cp-modal [aria-invalid="true"]:not([type="checkbox"]):not([type="radio"]) { border-color: #ff8a80 !important; box-shadow: none !important; }
.cp-qhint, .cp-qcount, .cp-opt { color: rgba(255,255,255,.6) !important; }
.cp-qerr { color: #ffb4ab !important; }
.cp-modal .cp-select { color: #fff; }
.cp-page .cp-modal select:invalid { color: rgba(255,255,255,.6) !important; } /* "Select your state" reads as a placeholder */
.cp-page .cp-modal select option { background: #fff; color: var(--gl-ink-navy); } /* the open list is drawn by the browser, on white */
.cp-qerr::before { background: #ffb4ab !important; color: var(--gl-ink-navy) !important; }
.cp-choice span { border-radius: 0 !important; background: rgba(255,255,255,.08) !important; border-color: transparent !important; color: #fff !important; font-weight: 500 !important; }
.cp-choice:hover span { border-color: rgba(255,255,255,.5) !important; }
.cp-choice input:checked + span { background: var(--gl-orange-btn) !important; border-color: var(--gl-orange-btn) !important; color: var(--gl-ink-navy) !important; }
.cp-choices.has-error .cp-choice span { border-color: #ff8a80 !important; }
.cp-modal .cp-check { color: rgba(255,255,255,.8) !important; }
/* square tick boxes, as on the site's forms */
.cp-modal .cp-check input { border-radius: 0; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.cp-modal .cp-check input::after { border-color: var(--gl-ink-navy); }
.cp-modal .cp-check input:checked { background: var(--gl-orange-btn); border-color: var(--gl-orange-btn); }
.cp-modal .cp-check input[aria-invalid="true"] { border-color: #ff8a80; }
.cp-page .cp-modal .cp-check a { color: #fff; }
.cp-qform__summary { background: rgba(255,138,128,.12) !important; border: 1px solid rgba(255,138,128,.5) !important; color: #fff; }
.cp-page .cp-qform__summary a { color: #ffb4ab !important; }
.cp-modal .cp-btn { border-radius: 0 !important; text-transform: uppercase; font-weight: 500 !important; font-size: 14px !important; letter-spacing: .02em; transform: none !important; }
.cp-page .cp-modal .cp-btn--primary { background: #fff; color: var(--gl-blue); }
.cp-page .cp-modal .cp-btn--primary:hover { background: #e9ecf6; }
.cp-page .cp-modal .cp-btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cp-page .cp-modal .cp-btn--secondary:hover { background: rgba(255,255,255,.1); color: #fff; }
.cp-page .cp-modal .cp-btn--arrow { color: #fff; }
.cp-spinner { border-color: rgba(49,74,155,.25) !important; border-top-color: var(--gl-blue) !important; }
.cp-qform__status { color: rgba(255,255,255,.7) !important; }
.cp-done__icon { background: var(--gl-orange-btn) !important; color: var(--gl-ink-navy) !important; }
.cp-page .cp-modal :focus-visible { outline: 3px solid var(--gl-orange); outline-offset: 3px; }
.cp-page .cp-modal .cp-modal__done:focus-visible { outline: none; }
/* side panel (tablets + desktops): dark, square, page stays live behind it */
.cp-modal.is-panel { box-shadow: -32px 0 60px -30px rgba(0,0,0,.7) !important; }
.cp-modal.is-panel .cp-qform__actions { background: var(--gl-ink-navy) !important; border-top-color: rgba(255,255,255,.15) !important; }
.cp-modal .cp-req { color: #ff6b6b; }
.cp-modal .cp-qform__recaptcha { color: rgba(255,255,255,.62) !important; }
.cp-page .cp-modal .cp-qform__recaptcha a { color: rgba(255,255,255,.85); }
.cp-modal__reqnote { color: rgba(255,255,255,.65) !important; }
.cp-modal__hint { color: var(--gl-sky) !important; font-weight: 500 !important; }
/* body already reserves the MENU rail (60px from 992px); the panel covers the rail, so shift by the difference */
html.cp-panel-open .cp-page { margin-right: calc(var(--cp-panel-w) - var(--gl-rail)); }
@media all {
  .cp-modal.is-sheet .cp-qform__actions { background: var(--gl-ink-navy) !important; border-top-color: rgba(255,255,255,.15) !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gl-page *, .cp-modal, .cp-modal::backdrop { transition: none !important; animation: none !important; }
}

/* =================== fitting into the live site layout =================== */
/* the live CSS displays <dialog> even when closed */
.cp-modal:not([open]) { display: none; }
/* The top banner carries the logo and breadcrumb, so the live white logo bar and breadcrumb strip
   are hidden here. The MENU rail (.navbar-toggler, fixed) is untouched. */
/* The site navbar stays as on every other page (navigation.js positions the open menu and its
   white logo from it); it is see-through here (.transparent-bg) and its logo white, as the site's
   photo headers make it. The filter whitens the logo before the site's script swaps the image for
   inline SVG, so it never flashes blue over the photo. */
.cp-body .navbar-brand-logo img { filter: brightness(0) invert(1); }
.cp-body .navbar-brand-logo svg path, .cp-body .navbar-brand-logo svg use { fill: #fff; }
/* The hero carries the breadcrumb */
.cp-body .main-breadcrumb { display: none; }
/* The enquiry panel narrows the page: narrow the navbar too, so the logo stays over the content edge */
.cp-body .navbar { transition: margin-right .3s cubic-bezier(.2, .8, .2, 1); }
html.cp-panel-open .cp-body .navbar { margin-right: calc(var(--cp-panel-w) - var(--gl-rail)); }
@media (prefers-reduced-motion: reduce) { .cp-body .navbar { transition: none; } }
.cp-page { transition: margin-right .3s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) { .cp-page { transition: none; } }

.gl-header__sub { font-family: var(--gl-font); }

/* Powered by BlackRock: optional donut (off by default) */
.gl-br__donut {
  width: 96px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--gl-orange-btn) calc(var(--g) * 1%), var(--gl-blue) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent 60%, #000 61%); mask: radial-gradient(farthest-side, transparent 60%, #000 61%);
}

/* in the media: uploaded outlet logos */
.gl-media__logo { display: block; height: 48px; width: auto; max-width: 160px; object-fit: contain; }
div.gl-mcard:hover { box-shadow: none; }

/* documents not uploaded yet */
.gl-doc__go--soon { color: var(--gl-grey); font-weight: 500; }

/* footer: disclaimer + footnotes on grey, then the live footer; "Back to home page" in the top row */
.cp-footer .gl-legal { color: var(--gl-text); }
.cp-page .cp-footer__home { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-left: auto; margin-right: 32px; color: #fff; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.cp-footer__home:hover { text-decoration: underline; }
/* the live footer's Bootstrap container sizes by screen width; let it fit the narrowed page */
html.cp-panel-open .cp-footer .container { max-width: 100%; }

/* phones: the live MENU button is a 56px square in the top-right corner; keep the login beside the logo, clear of it */
@media (max-width: 767px) {
  .gl-header__top { flex-wrap: nowrap; padding-right: 40px; } /* clear of the 56px MENU square */
  .cp-page .gl-header .gl-login { padding: 0 10px; font-size: 11px; letter-spacing: .02em; }
}
