/* ==========================================================================
   Money Saving Help: Pensions (bespoke child theme)

   Two designs live side by side:
   A. The original styling, for every page without the "msh-new-design" class.
   B. The new design (matched to the reference build), for pages with the
      "msh-new-design" body class. The page IDs are set in functions.php
      (MSH_NEW_DESIGN_PAGE_IDS). Written as flat CSS so it also works
      on older iPhones.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/* Shared tokens (original set; the new set follows in section B.1) */
:root {
--msh-header-h: 68px;
--msh-section: clamp(3.75rem, 8vw, 6.5rem);
--msh-ease: cubic-bezier(0.22, 1, 0.36, 1);
--msh-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
--msh-tick-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5B83D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
--msh-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 16.5v-5M12 7.8h.01'/%3E%3C/svg%3E");
--msh-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
--msh-plus-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
--msh-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E");
--msh-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
--msh-swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 17C74 6 196 3 296 10' fill='none' stroke='%23F5B83D' stroke-width='6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
--msh-phone: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z"/></svg>');
}

.important-information-block {
	position: relative;
    color: var(--msh-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0px;
    padding: 1rem 1.25rem 1rem 3rem;
    border: 1px solid var(--msh-border);
    border-radius: 1rem;
    background: var(--msh-surface-alt);
	
	strong { color: var(--msh-navy); }
	
	&::before {
		content: "";
		position: absolute;
		left: 1.1rem;
		top: 1.15rem;
		width: 1.1rem;
		height: 1.1rem;
		background: var(--msh-primary);
		mask: var(--msh-info) center / contain no-repeat;
	}
}


/* ==========================================================================
   A. ORIGINAL STYLING: every page without the "msh-new-design" body class. Unchanged from before 25 Sep 2026, just wrapped so it
      no longer reaches the new design.
   ========================================================================== */

:where(body:not(.msh-new-design)) {
.gradient-background {
background: radial-gradient(44rem 30rem at 50% 64%, rgba(8, 98, 218, 0.58), transparent 66%),
radial-gradient(36rem 26rem at 100% 0%, rgba(8, 98, 218, 0.34), transparent 66%),
radial-gradient(36rem 26rem at 0% 100%, rgba(92, 200, 255, 0.14), transparent 66%),
linear-gradient(170deg, #0B2A6B 0%, #061D4E 46%, #03133A 100%);

> .wp-block-cover__background { display: none; }
}


.page-id-97 {
h2 {
font-size: 2.3rem;
}

.wp-block-columns { justify-content: center; }

.wp-block-cover .wp-block-cover__inner-container h1 {
color: white;
font-weight: 700;
font-size: clamp(1.7rem, 4.6vw, 3.4rem) !important;
max-width: 20ch;
margin-left: auto;
margin-right: auto;
margin-bottom: clamp(1.4rem, 3.5vw, 2.25rem);

mark { position: relative; color: #f2b740 !important; }
mark::after {
content: "";
position: absolute;
left: -1%;
right: -1%;
bottom: -0.2em;
height: 0.3em;
background: var(--msh-swoosh) center / 100% 100% no-repeat;
}
}

.wp-block-cover #questions-form {
border-top: solid 4px #f5b83d !important;

.progress {
margin: -20px -20px 0 -20px;
padding: 20px;
width: calc(100% + 40px);
background: #f4f8fe;
border-radius: 4px 4px 0 0;
border-bottom: solid 1px #e3eaf6;
font-weight: bold;
color: #061d4e;

.progress-steps {
position: relative;

&::after {
content: 'Your free pension check';
position: absolute;
left: 0;
width: max-content;
background: #f4f8fe;
}
}

.progress-percentage {
color: #0862da;

.progress-value { margin-right: -4px; }
}
}

.radio-buttons .radio-button {
border-radius: 8px;
border-width: 1px;
background: transparent;
font-size: 17px;
font-weight: 500;
}

.question-notice {
position: relative;
margin: 0.9rem 0 0;
padding: 0.7rem 0.85rem 0.7rem 2.3rem;
border-radius: 0.5rem;
background: #f5f8fd;
color: #56617c !important;
font-size: 0.8125rem;
line-height: 1.5;
font-weight: normal;
font-style: normal;
width: 100% !important;
text-align: left;

&::before {
content: "";
position: absolute;
left: 0.8rem;
top: 0.8rem;
width: 1rem;
height: 1rem;
background: #0862da;
-webkit-mask: var(--msh-info) center / contain no-repeat;
mask: var(--msh-info) center / contain no-repeat;
}
}

[data-name="advice"] .radio-buttons {
flex-direction: column;

.radio-button {
align-items: flex-start;
img { margin-bottom: 0; }
&::before, &::after {
top: 50%;
right: 10px;
transform: translateY(-50%);
}
&::before { right: 13px; }
}
}

.form-notice {
font-size: .8rem;
width: calc(100% - 12px);

&.checkbox-notice {
background: #f6f8fc;
padding: 15px;
border-radius: 10px;

label {
align-items: start;

input+span {
margin-right: 15px;
width: 22px;
height: 22px;

&::after {
margin-left: 15%;
margin-top: 15%;
}
}
}
}
}
}

.icon-list__icon {
width: 30px;
border: solid 1px;
border-radius: 100%;
padding: 5px;
}

.icon-list__wording {
color: white;
font-size: 70%;
font-weight: 500;
}

.cta-button-wrap {
.cta-button {
font-size: 17px;
box-shadow: 0 10px 24px -10px rgba(233, 162, 27, 0.7) !important;
margin-top: 0;

&::after {
content: "";
flex: none;
width: 1.1em;
height: 1.1em;
background: currentColor;
-webkit-mask: var(--msh-arrow) center / contain no-repeat;
mask: var(--msh-arrow) center / contain no-repeat;
margin-left: 8px;
}
}
}

.background-box .cta-button-wrap { text-align: left; }

.wp-block-accordion-item {
border: solid 1px #E1E7F2;
border-radius: 10px;
padding: 18px 20px;
margin-bottom: 0;
transition: all .4s ease;

.wp-block-accordion-heading {
font-size: 17px;

.wp-block-accordion-heading__toggle { padding: 0; }

.wp-block-accordion-heading__toggle-icon {
background: #e8f1fe;
border-radius: 50px;
padding: 15px;
color: #0862da;
font-size: 24px;
font-weight: 500;
}
}

&.is-open {
border-color: #BFD3F4;
box-shadow: 0 18px 40px -28px rgba(6, 29, 78, 0.45);
margin-bottom: 15px;

.wp-block-accordion-heading__toggle-title { color: unset; }

.wp-block-accordion-heading__toggle-icon {
background: #0862da;
color: #e8f1fe;
}
}
}

.step-list__item {
border: none;
text-align: center;
position: relative;
background-color: transparent;

&:not(:last-child)::after {
content: "";
position: absolute;
top: 60px;
left: calc(50% + 55px + 1rem);
right: calc(-50% - 3px + 32px + 1rem);
border-top: 2px dashed #C3D1EA;
}

&::before {
content: '';
width: 70px;
display: block;
height: 70px;
background-size: cover;
border-radius: 50%;
border: solid 1px lightgrey;
box-shadow: 0 6px 8px 1px #0000001f;
position: absolute;
left: 50%;
transform: translateX(-50%);
}

&:first-child::before {
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231e70de%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2217%22%20rx%3D%222%22%3E%3C%2Frect%3E%3Cpath%20d%3D%22M9%204V3h6v1%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22m9%2013%202%202%204-4%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
}
}
.step-list__number {
color: white;
background: #f5b83d;
border: solid 2px white;
width: 34px;
line-height: 30px;
border-radius: 50%;
left: 56%;
position: relative;
margin-bottom: 50px;
}
}

& header {
img {
max-height: 75px;
}

#header--right-text {
display: flex;
align-items: center;

p:first-child {
margin-right: 10px;
display: flex;
align-items: center;

&::before {
content: "";
display: inline-block;
width: 1rem;
height: 1rem;
background: green;
-webkit-mask: var(--msh-tick) center / contain no-repeat;
mask: var(--msh-tick) center / contain no-repeat;
margin-right: 4px;
}
}

a[href^="tel:"] {
--height: 50px;
background: white;
border: solid 1px #E1E7F2;
border-radius: var(--height);
position: relative;
height: var(--height);
color: #0862da;
padding-left: var(--height);
text-align: left;
font-size: 120%;
color: #061d4e;
margin-bottom: 2px;

&::before {
content: "Prefer to talk?";
display: block;
color: #56617c;
font-size: 80%;
}

&::after {
content: var(--msh-phone);
background: #0862da;
border-radius: 50%;
position: absolute;
left: 4px;
top: 4px;
width: calc(var(--height) - 10px);
height: calc(var(--height) - 10px);
display: flex;
align-items: center;
justify-content: center;
}
}
}
}

& footer {
background: #03133a;
padding-top: 70px;

> div {
max-width: 1200px;
margin: 0 auto;
}

.footer-top {
display: flex;
justify-content: space-between;
align-items: center;

img {
max-height: 70px;
width: auto;
}
}

.footer-disclaimer {
border-top: solid 1px #E1E7F2;
margin-top: 60px;
padding: 30px 0;
text-align: left;
opacity: 0.5;
}
}

@media (max-width: 700px) {
.hide-on-mobile { display: none; }

& header {
img { max-height: 60px; }
#header--container #header--right-text {
p:first-child { display: none; }
a[href^="tel:"] {
font-size: 0;
padding: 0;
width: 50px;
border: none;
}
}
}

.page-id-97 {
h2 { font-size: 1.7rem; }

.wp-block-cover #questions-form .progress {
margin: -10px -10px 0 -10px;
width: calc(100% + 20px);
}

.step-list__item:not(:last-child)::after { display: none; }
.step-list__number { left: 53%; }
}

.icon-list__item {
flex-direction: column;
flex: 1;
min-width: 100px;
text-align: center;

.icon-list__icon {
margin-right: 0;
margin-bottom: 4px;
}
}

& footer {
padding-top: 30px;

ul { border: none; }
.footer-top { flex-direction: column; }
.footer-disclaimer { margin-top: 30px; }
}
}
}

/* ==========================================================================
   B. NEW DESIGN: /new (page 97) and the thank-you page (page 10) only.
      Every selector is scoped with :where(.msh-new-design), which adds no
      specificity, so the cascade is exactly as it was when this was tested.
   ========================================================================== */

/* 1. Tokens and icons ===================================================== */

:root {
  --msh-navy: #061D4E;
  --msh-navy-deep: #03133A;
  --msh-primary: #0862DA;
  --msh-primary-dark: #064FB3;
  --msh-primary-soft: #E8F1FE;
  --msh-ink: #14203D;
  --msh-muted: #56617C;
  --msh-accent: #F5B83D;
  --msh-accent-dark: #E9A21B;
  --msh-border: #E1E7F2;
  --msh-surface-alt: #F5F8FD;
  --msh-success: #16A34A;
  --msh-success-soft: #E8F7EE;
  --msh-font-head: "Montserrat", system-ui, sans-serif;
  --msh-font-body: "Poppins", system-ui, sans-serif;
  --msh-section: clamp(3.75rem, 8vw, 6.5rem);
  --msh-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Masks: drawn in black, coloured by the element's background. */
  --msh-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
  --msh-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 16.5v-5M12 7.8h.01'/%3E%3C/svg%3E");
  --msh-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/svg%3E");
  --msh-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --msh-arrow-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
  --msh-swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 17C74 6 196 3 296 10' fill='none' stroke='%23F5B83D' stroke-width='6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --msh-i-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  --msh-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --msh-i-compass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m16.24 7.76-2.12 6.36-6.36 2.12 2.12-6.36 6.36-2.12z'/%3E%3C/svg%3E");

  /* Full-colour icons (brand blue), for use as background images. */
  --msh-c-clipboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1'/%3E%3Cpath d='m9 13 2 2 4-4'/%3E%3C/svg%3E");
  --msh-c-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --msh-c-check-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8.5 12.2 2.4 2.4 4.6-4.9'/%3E%3C/svg%3E");
  --msh-c-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  --msh-c-briefcase: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E");
  --msh-c-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E");
  --msh-c-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  --msh-c-trend: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpath d='M16 7h6v6'/%3E%3C/svg%3E");
  --msh-c-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230862DA'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E");
  --msh-c-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230862DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
  --msh-c-phone-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

/* 2. Base type ============================================================ */

html body:where(.msh-new-design) {
  font-family: var(--msh-font-body);
  color: var(--msh-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:where(.msh-new-design) h1, :where(.msh-new-design) h2, :where(.msh-new-design) h3, :where(.msh-new-design) h4 {
  font-family: var(--msh-font-head);
  text-wrap: balance;
}

:where(.msh-new-design) main h2,
:where(.msh-new-design) main h3 { color: var(--msh-navy); }

:where(.msh-new-design) main h2.wp-block-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

/* The full-bleed section backgrounds below overhang the columns they sit
   behind; clip them so the page never scrolls sideways. */
:where(.msh-new-design) main { overflow-x: clip; }

:where(.msh-new-design) .hide-on-mobile { display: block; }

/* 3. Header =============================================================== */

:where(.msh-new-design) header {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid rgba(6, 29, 78, 0.08) !important;
}

:where(.msh-new-design) header #header--container {
  width: min(1200px, calc(100% - 2rem));
  max-width: none;
  margin-inline: auto;
}

:where(.msh-new-design) header img { max-height: 75px; }

:where(.msh-new-design) header #header--right-text {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

:where(.msh-new-design) header #header--right-text p { margin: 0; }

:where(.msh-new-design) header #header--right-text p:first-child {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--msh-muted);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

:where(.msh-new-design) header #header--right-text p:first-child::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: var(--msh-success);
  -webkit-mask: var(--msh-tick) center / contain no-repeat;
  mask: var(--msh-tick) center / contain no-repeat;
}

:where(.msh-new-design) header #header--right-text a[href^="tel:"] {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 50px;
  padding: 0 1.15rem 0 56px;
  border: 1.5px solid var(--msh-border);
  border-radius: 999px;
  background: #fff;
  color: var(--msh-navy);
  font-family: var(--msh-font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

:where(.msh-new-design) header #header--right-text a[href^="tel:"]:hover {
  border-color: rgba(8, 98, 218, 0.45);
  box-shadow: 0 10px 22px -14px rgba(8, 98, 218, 0.7);
  transform: translateY(-1px);
}

:where(.msh-new-design) header #header--right-text a[href^="tel:"]::before {
  content: "Prefer to talk?";
  display: block;
  color: var(--msh-muted);
  font-family: var(--msh-font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
}

:where(.msh-new-design) header #header--right-text a[href^="tel:"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--msh-c-phone-white) center / 18px no-repeat, var(--msh-primary);
}

/* The thank-you page carries just the logo, centred. */
body:where(.msh-new-design):has(.msh-thanks) header #header--container { justify-content: center !important; }
body:where(.msh-new-design):has(.msh-thanks) header #header--right { display: none; }

/* 4. Hero ================================================================= */

/* No stacking context is created anywhere in the hero (no isolation, no
   z-index): the chat widget lives inside it and must float above the page. */
:where(.msh-new-design) .wp-block-cover.gradient-background {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 3.5rem) 1rem clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(44rem 30rem at 50% 64%, rgba(8, 98, 218, 0.58), transparent 66%),
    radial-gradient(36rem 26rem at 100% 0%, rgba(8, 98, 218, 0.34), transparent 66%),
    radial-gradient(36rem 26rem at 0% 100%, rgba(92, 200, 255, 0.14), transparent 66%),
    linear-gradient(170deg, #0B2A6B 0%, #061D4E 46%, #03133A 100%);
}

/* Texture: a fading dot grid (::before), and faint rings centred on the form
   (drawn on the cover's own background layer). Both come before the content
   in the page, so they paint underneath it without needing a z-index. */
:where(.msh-new-design) .wp-block-cover.gradient-background::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 35%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 50% 35%, #000 0%, transparent 75%);
  opacity: 0.5;
}

:where(.msh-new-design) .wp-block-cover.gradient-background > .wp-block-cover__background {
  display: block;
  z-index: auto;
  top: 58%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 76rem;
  height: 76rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.065) 0 1.5px, transparent 1.5px 76px) !important;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 66%);
  mask-image: radial-gradient(circle, #000 20%, transparent 66%);
  pointer-events: none;
}

:where(.msh-new-design) .wp-block-cover.gradient-background .wp-block-cover__inner-container {
  position: relative;
  z-index: auto;
}

:where(.msh-new-design) .wp-block-cover.gradient-background .wp-block-cover__inner-container h1 {
  max-width: 20ch;
  margin: 0 auto clamp(1.4rem, 3.5vw, 2.25rem);
  color: #fff;
  font-size: clamp(2.25rem, 4.6vw, 3.4rem) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: wrap;
}

:where(.msh-new-design) .wp-block-cover.gradient-background h1 mark {
  position: relative;
  background: none !important;
  color: var(--msh-accent) !important;
  white-space: nowrap;
}

:where(.msh-new-design) .wp-block-cover.gradient-background h1 mark::after {
  content: "";
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: -0.2em;
  height: 0.3em;
  background: var(--msh-swoosh) center / 100% 100% no-repeat;
}

/* Trust points under the form */
:where(.msh-new-design) .wp-block-cover .icon-list {
  gap: 0.75rem 2.25rem;
  margin-top: clamp(1.5rem, 3vw, 2rem) !important;
  margin-bottom: 0;
}

:where(.msh-new-design) .wp-block-cover .icon-list .icon-list__item {
  min-width: 0;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}

:where(.msh-new-design) .wp-block-cover .icon-list .icon-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  max-width: none;
  margin: 0 0.6rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  filter: none !important;
}

:where(.msh-new-design) .wp-block-cover .icon-list .icon-list__icon img { display: none; }

:where(.msh-new-design) .wp-block-cover .icon-list .icon-list__icon::before {
  content: "";
  width: 17px;
  height: 17px;
  background: var(--msh-accent);
  -webkit-mask: var(--msh-i-users) center / contain no-repeat;
  mask: var(--msh-i-users) center / contain no-repeat;
}

:where(.msh-new-design) .wp-block-cover .icon-list .icon-list__item:nth-child(2) .icon-list__icon::before {
  -webkit-mask-image: var(--msh-i-phone);
  mask-image: var(--msh-i-phone);
}

:where(.msh-new-design) .wp-block-cover .icon-list .icon-list__item:nth-child(3) .icon-list__icon::before {
  -webkit-mask-image: var(--msh-i-compass);
  mask-image: var(--msh-i-compass);
}

:where(.msh-new-design) .wp-block-cover .icon-list .icon-list__wording {
  color: inherit;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.3;
}

/* 5. The pension check (lead form) ======================================== */

/* #flex-body-wrap lifts these rules above the plugin's own #questions-form
   selectors without resorting to !important. */

:where(.msh-new-design) #flex-body-wrap #questions-form {
  --msh-card-pad: clamp(1.1rem, 3.6vw, 2.25rem);
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  padding: var(--msh-card-pad);
  border: 0 !important;
  border-radius: 1rem;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 34px 70px -26px rgba(0, 6, 28, 0.9),
    0 0 90px -12px rgba(63, 139, 255, 0.5);
  color: var(--msh-ink);
  font-family: var(--msh-font-body);
  text-align: left;
}

/* Progress: its own pale band, capped in gold */
:where(.msh-new-design) #flex-body-wrap #questions-form .progress {
  width: auto;
  margin: calc(-1 * var(--msh-card-pad)) calc(-1 * var(--msh-card-pad)) clamp(1.15rem, 3vw, 1.6rem);
  padding: calc(0.95rem + 4px) var(--msh-card-pad) 1rem;
  border-bottom: 1px solid #E3EAF6;
  border-radius: 1rem 1rem 0 0;
  background: #F4F8FE;
  box-shadow: inset 0 4px 0 var(--msh-accent);
  color: var(--msh-navy);
  font-family: var(--msh-font-head);
}

:where(.msh-new-design) #flex-body-wrap #questions-form .progress .progress-readout {
  align-items: baseline;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

/* Swap the "1 / 8" step count for a label. */
:where(.msh-new-design) #flex-body-wrap #questions-form .progress .progress-steps {
  position: relative;
  font-size: 0;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .progress .progress-steps::after {
  content: "Your free pension check";
  font-size: 0.875rem;
  white-space: nowrap;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .progress .progress-percentage { color: var(--msh-primary); }
:where(.msh-new-design) #flex-body-wrap #questions-form .progress .progress-value { margin-right: -4px; }

:where(.msh-new-design) #flex-body-wrap #questions-form .progress .progress-bar {
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: #DCE6F4;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .progress .progress-bar > div {
  min-width: 10px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--msh-primary) 0%, #3FA2FF 100%) !important;
  transition: width 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Question */
:where(.msh-new-design) #flex-body-wrap #questions-form .question-blocks .question-block { padding-top: 0; }
:where(.msh-new-design) #flex-body-wrap #questions-form .question-label { margin-bottom: 0.85rem; }

:where(.msh-new-design) #flex-body-wrap #questions-form .question-label .question-label-text {
  color: var(--msh-navy);
  font-family: var(--msh-font-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .question-instruction {
  margin: -0.45rem 5px 0.85rem;
  color: var(--msh-muted);
  font-size: 0.9375rem;
  font-style: normal;
}

/* Answers */
:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button {
  min-height: 60px;
  margin: 6px 5px;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border: 1.5px solid #D5DEEC;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(6, 29, 78, 0.04);
  color: var(--msh-ink);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button:hover {
  border-color: #9EBDEB;
  background: #F8FBFF;
  box-shadow: 0 10px 22px -16px rgba(8, 98, 218, 0.6);
}

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button:has(input:checked) {
  border-color: var(--msh-primary);
  background: #F2F7FF;
  box-shadow: 0 0 0 3px rgba(8, 98, 218, 0.12);
}

/* A radio you can see before choosing, filled once chosen. */
:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button::before { display: none; }

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button::after {
  flex: none;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  margin-left: 0.75rem;
  border: 2px solid #C5D0E2;
  background: #fff;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button:hover::after { border-color: #8FB2E8; }

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button:has(input:checked)::after {
  border-color: var(--msh-primary);
  background: var(--msh-primary);
  box-shadow: inset 0 0 0 4px #fff;
}

/* Picture answers ("Are you already retired?") become tiles. */
:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button.radio-button-with-image {
  min-height: 120px;
  padding: 1.1rem 0.75rem 1rem;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button.radio-button-with-image::after {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  margin: 0;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button.radio-button-with-image img {
  max-width: 56px;
  margin-bottom: 0.6rem;
}

/* Answers with a small inline icon ("What advice are you looking for?")
   stay compact rows: icon, label, radio on the right. */
:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons[data-layout="image_inline"] { flex-direction: column; }

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons[data-layout="image_inline"] .radio-button.radio-button-with-image {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  min-height: 60px;
  padding: 0.8rem 3.1rem 0.8rem 1.1rem;
  text-align: left;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons[data-layout="image_inline"] .radio-button.radio-button-with-image > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons[data-layout="image_inline"] .radio-button.radio-button-with-image img {
  width: 22px;
  max-width: 22px;
  height: auto;
  margin: 0;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons[data-layout="image_inline"] .radio-button.radio-button-with-image::after {
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

/* Small print for one question, under its answers */
:where(.msh-new-design) #flex-body-wrap #questions-form .question-notice {
  position: relative;
  width: calc(100% - 10px) !important;
  margin: 0.9rem 5px 0;
  padding: 0.7rem 0.85rem 0.7rem 2.3rem;
  border-radius: 0.5rem;
  background: var(--msh-surface-alt);
  color: var(--msh-muted) !important;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.5;
  text-align: left;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .question-notice::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  width: 1rem;
  height: 1rem;
  background: var(--msh-primary);
  -webkit-mask: var(--msh-info) center / contain no-repeat;
  mask: var(--msh-info) center / contain no-repeat;
}

/* Text fields. Border colour is left alone when a field is invalid, so the
   plugin's red error state still shows. */
:where(.msh-new-design) #flex-body-wrap #questions-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"]) {
  min-height: 58px;
  padding: 0 1rem;
  border-width: 1.5px;
  border-radius: 10px;
  background: #fff;
  color: var(--msh-ink);
  font-family: var(--msh-font-body);
  font-size: 1.0625rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .question:not([data-validity="invalid"]) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"]) {
  border-color: #CFD9EA;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .question:not([data-validity="invalid"]) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"]):hover {
  border-color: #AFC3E4;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .question:not([data-validity="invalid"]) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"]):focus {
  border-color: var(--msh-primary);
  box-shadow: 0 0 0 4px rgba(8, 98, 218, 0.14);
}

:where(.msh-new-design) #flex-body-wrap #questions-form input::placeholder { color: #9AA3B0; }

/* Continue / submit */
:where(.msh-new-design) #flex-body-wrap #questions-form .question-blocks .question-block > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: calc(100% - 10px);
  min-height: 58px;
  margin: 1.1rem 5px 0;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  background: var(--msh-accent);
  color: var(--msh-navy);
  font-family: var(--msh-font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  box-shadow: 0 16px 30px -16px rgba(233, 162, 27, 0.95);
  transition: background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .question-blocks .question-block > button:hover {
  background: var(--msh-accent-dark);
  transform: translateY(-1px);
}

:where(.msh-new-design) #flex-body-wrap #questions-form .question-blocks .question-block > button::after {
  content: "";
  flex: none;
  width: 1.1em;
  height: 1.1em;
  background: currentColor;
  -webkit-mask: var(--msh-arrow) center / contain no-repeat;
  mask: var(--msh-arrow) center / contain no-repeat;
}

/* Back: a quiet text link rather than a grey block */
:where(.msh-new-design) #flex-body-wrap #questions-form .form-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.35rem 0.5rem 0.35rem 0.25rem;
  border-radius: 6px;
  background: none;
  color: var(--msh-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .form-back:hover {
  background: none;
  color: var(--msh-ink);
}

:where(.msh-new-design) #flex-body-wrap #questions-form .form-back::before {
  content: "";
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--msh-arrow-back) center / contain no-repeat;
  mask: var(--msh-arrow-back) center / contain no-repeat;
}

/* Consent and privacy notes */
:where(.msh-new-design) #flex-body-wrap #questions-form .form-notice {
  width: calc(100% - 10px);
  margin-inline: 5px;
  color: #3D4966;
  font-size: 0.8125rem;
  line-height: 1.55;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .form-notice.checkbox-notice {
  padding: 0.95rem 1rem;
  border-radius: 10px;
  background: var(--msh-surface-alt);
}

:where(.msh-new-design) #flex-body-wrap #questions-form .form-notice.checkbox-notice label { align-items: flex-start; }

:where(.msh-new-design) #flex-body-wrap #questions-form .form-notice.checkbox-notice label input + span {
  flex: none;
  width: 22px;
  height: 22px;
  margin-right: 12px;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .form-notice.checkbox-notice label input + span::after {
  margin-left: 15%;
  margin-top: 15%;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .form-notice.text-notice {
  color: #6B7690;
  font-size: 0.75rem;
}

:where(.msh-new-design) #flex-body-wrap #questions-form .form-notice a { color: var(--msh-primary); }

@media (min-width: 48em) {
  :where(.msh-new-design) #flex-body-wrap #questions-form .question-label .question-label-text { font-size: 1.625rem; }
  :where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button { min-height: 64px; font-size: 1.125rem; }
}

/* 6. How it works ========================================================= */

:where(.msh-new-design) main > .wp-block-columns:has(.step-list) {
  position: relative;
  isolation: isolate;
  margin-top: 0 !important;
  margin-bottom: 0;
  padding-block: var(--msh-section);
  text-align: center;
}

/* A soft wash behind the whole section, edge to edge. */
:where(.msh-new-design) main > .wp-block-columns:has(.step-list)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--msh-surface-alt) 0%, #fff 100%);
}

:where(.msh-new-design) main > .wp-block-columns:has(.step-list) h2.wp-block-heading {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

:where(.msh-new-design) .step-list {
  gap: 2rem;
  max-width: 58rem;
  margin: 0 auto;
  font-family: var(--msh-font-body);
}

:where(.msh-new-design) .step-list .step-list__item {
  position: relative;
  padding: 80px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

/* The icon disc */
:where(.msh-new-design) .step-list .step-list__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--msh-c-clipboard) center / 26px no-repeat, #fff;
  box-shadow: 0 0 0 1px var(--msh-border), 0 16px 30px -18px rgba(6, 29, 78, 0.5);
}

:where(.msh-new-design) .step-list .step-list__item:nth-child(2)::before { background-image: var(--msh-c-phone); }
:where(.msh-new-design) .step-list .step-list__item:nth-child(3)::before { background-image: var(--msh-c-check-circle); }

/* The gold number sits on the disc's shoulder */
:where(.msh-new-design) .step-list .step-list__number {
  position: absolute;
  z-index: 1;
  top: -4px;
  left: calc(50% + 12px);
  width: 26px;
  height: 26px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: var(--msh-accent);
  box-shadow: 0 0 0 3px #fff;
  color: var(--msh-navy);
  font-family: var(--msh-font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 26px;
  text-align: center;
}

:where(.msh-new-design) .step-list .step-list__heading {
  margin: 0 0 0.3rem;
  color: var(--msh-navy);
  font-family: var(--msh-font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

:where(.msh-new-design) .step-list .step-list__body {
  color: var(--msh-muted);
  font-size: 0.96875rem;
  line-height: 1.6;
}

@media (min-width: 48em) {
  :where(.msh-new-design) .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* A dashed path from each disc to the next */
  :where(.msh-new-design) .step-list .step-list__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    left: calc(50% + 32px + 1rem);
    right: calc(-50% - 2rem + 32px + 1rem);
    border-top: 2px dashed #C3D1EA;
  }
}

:where(.msh-new-design) main .step-list ~ p {
  margin: clamp(2.25rem, 5vw, 3rem) auto 0;
  max-width: 54rem;
  color: var(--msh-muted);
  font-size: 1rem;
  line-height: 1.65;
}

:where(.msh-new-design) main .step-list ~ p strong { color: var(--msh-navy); }
:where(.msh-new-design) main .step-list ~ p:empty { display: none; }

/* Buttons (mdk/button) */
:where(.msh-new-design) .cta-button-wrap .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  background: var(--msh-accent);
  color: var(--msh-navy) !important;
  font-family: var(--msh-font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  box-shadow: 0 16px 30px -16px rgba(233, 162, 27, 0.95) !important;
  transition: background-color 180ms ease, transform 180ms ease;
}

:where(.msh-new-design) .cta-button-wrap .cta-button:hover {
  background: var(--msh-accent-dark);
  transform: translateY(-1px);
}

:where(.msh-new-design) .cta-button-wrap .cta-button::after {
  content: "";
  flex: none;
  width: 1.1em;
  height: 1.1em;
  background: currentColor;
  -webkit-mask: var(--msh-arrow) center / contain no-repeat;
  mask: var(--msh-arrow) center / contain no-repeat;
  transition: transform 220ms var(--msh-ease);
}

:where(.msh-new-design) .cta-button-wrap .cta-button:hover::after { transform: translateX(3px); }

/* 7. Closing call to action =============================================== */

:where(.msh-new-design) main > .wp-block-columns:has(.background-box) { margin-top: 0 !important; }

:where(.msh-new-design) main .background-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 0;
  padding: clamp(2.25rem, 6vw, 4.25rem) clamp(1.5rem, 6vw, 4.5rem);
  border-radius: 2rem !important;
  background-image:
    radial-gradient(40rem 26rem at 100% 0%, rgba(8, 98, 218, 0.66), transparent 60%),
    linear-gradient(160deg, #0B2A6B 0%, #061D4E 55%, #03133A 100%) !important;
  box-shadow: 0 40px 80px -44px rgba(3, 19, 58, 0.7) !important;
}

:where(.msh-new-design) main .background-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 80% at 0% 100%, #000, transparent 70%);
  mask-image: radial-gradient(60% 80% at 0% 100%, #000, transparent 70%);
}

:where(.msh-new-design) main .background-box > .acf-innerblocks-container > .wp-block-columns {
  align-items: center;
  width: auto;
  max-width: none;
  margin: 0;
}

:where(.msh-new-design) main .background-box h2.wp-block-heading {
  max-width: 17ch;
  margin: 0.35rem 0 1.75rem;
  color: #fff;
}

:where(.msh-new-design) main .background-box .cta-button-wrap { text-align: left; }
:where(.msh-new-design) main .background-box .cta-button-wrap .cta-button { margin-top: 0; }

:where(.msh-new-design) .msh-eyebrow-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  padding: 0.45rem 0.95rem 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

:where(.msh-new-design) .msh-eyebrow-dark::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--msh-accent);
  box-shadow: 0 0 0 4px rgba(245, 184, 61, 0.22);
}

:where(.msh-new-design) main .background-box .wp-block-image img { max-width: 300px; }

@media (prefers-reduced-motion: no-preference) {
  :where(.msh-new-design) main .background-box .wp-block-image img { animation: msh-float 7s ease-in-out infinite; }
}

@keyframes msh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 8. Important information ================================================ */

.msh-new-design main > .wp-block-columns:last-child {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0;
  padding-bottom: var(--msh-section);
}

.msh-new-design main > .wp-block-columns:last-child p {
  position: relative;
  margin: 0;
  padding: 1rem 1.25rem 1rem 3rem;
  border: 1px solid var(--msh-border);
  border-radius: 1rem;
  background: var(--msh-surface-alt);
  color: var(--msh-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.msh-new-design main > .wp-block-columns:last-child p::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--msh-primary);
  -webkit-mask: var(--msh-info) center / contain no-repeat;
  mask: var(--msh-info) center / contain no-repeat;
}

.msh-new-design main > .wp-block-columns:last-child p strong { color: var(--msh-navy); }

/* 9. Footer =============================================================== */

:where(.msh-new-design) footer {
  margin-top: 0;
  padding: clamp(3rem, 6vw, 4.5rem) 1rem 2rem;
  background: var(--msh-navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
}

:where(.msh-new-design) footer > div {
  max-width: 1200px;
  margin: 0 auto;
}

:where(.msh-new-design) footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

:where(.msh-new-design) footer .footer-top img {
  max-height: 50px;
  width: auto;
}

:where(.msh-new-design) footer ul.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

:where(.msh-new-design) footer ul.menu li {
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
}

:where(.msh-new-design) footer ul.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

:where(.msh-new-design) footer ul.menu a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(.msh-new-design) footer .footer-disclaimer {
  margin-top: 0;
  padding: 1.75rem 0 0;
  border-top: 0;
  opacity: 1;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

:where(.msh-new-design) footer .footer-disclaimer p {
  max-width: 62rem;
  margin: 0 0 0.75rem;
  color: inherit;
}

:where(.msh-new-design) footer .footer-disclaimer p:last-child { margin-bottom: 0; }

/* 10. Thank-you page ====================================================== */

:where(.msh-new-design) .msh-thanks {
  padding: clamp(2rem, 5vw, 3.5rem) 1rem var(--msh-section);
  background:
    radial-gradient(56rem 26rem at 50% -4rem, #E3EEFE 0%, transparent 70%),
    #fff;
}

:where(.msh-new-design) .msh-thanks .msh-thanks__card,
:where(.msh-new-design) .msh-thanks .msh-next {
  max-width: 45rem;
  margin-inline: auto;
}

:where(.msh-new-design) .msh-thanks .msh-thanks__card {
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 40px 80px -48px rgba(6, 29, 78, 0.55), 0 0 0 1px rgba(6, 29, 78, 0.06);
  text-align: center;
}

/* Reset kept deliberately weak (:where) so each element's own margin wins. */
:where(.msh-new-design) .msh-thanks :where(.msh-thanks__card, .msh-thanks__card > .wp-block-group__inner-container) > * {
  margin-top: 0;
  margin-bottom: 0;
}

:where(.msh-new-design) .msh-thanks__check {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.35rem;
  border-radius: 50%;
  background: var(--msh-success-soft);
  box-shadow: 0 0 0 10px rgba(22, 163, 74, 0.06);
  color: var(--msh-success);
}

:where(.msh-new-design) .msh-thanks .msh-thanks__check { margin: 0 auto 1.35rem; }

:where(.msh-new-design) .msh-thanks__check svg { width: 40px; height: 40px; }

:where(.msh-new-design) .msh-thanks__tick {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: msh-draw 600ms 250ms var(--msh-ease) forwards;
}

@media (prefers-reduced-motion: reduce) {
  :where(.msh-new-design) .msh-thanks__tick { stroke-dashoffset: 0; animation: none; }
}

@keyframes msh-draw { to { stroke-dashoffset: 0; } }

:where(.msh-new-design) .msh-thanks .msh-thanks__title {
  margin: 0 0 0.75rem;
  color: var(--msh-navy);
  font-size: clamp(2rem, 4.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

:where(.msh-new-design) .msh-thanks .msh-thanks__lead {
  color: var(--msh-muted);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
}

:where(.msh-new-design) .msh-thanks .msh-thanks__partner {
  margin: 0.35rem 0 1.4rem;
  color: var(--msh-primary);
  font-family: var(--msh-font-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

:where(.msh-new-design) .msh-thanks .msh-thanks__eta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--msh-primary-soft);
  color: var(--msh-primary-dark);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

:where(.msh-new-design) .msh-thanks .msh-thanks__eta::before {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  background: currentColor;
  -webkit-mask: var(--msh-clock) center / contain no-repeat;
  mask: var(--msh-clock) center / contain no-repeat;
}

:where(.msh-new-design) .msh-thanks .msh-next { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

:where(.msh-new-design) .msh-thanks .msh-next h2.wp-block-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
}

:where(.msh-new-design) .msh-thanks .msh-next__list {
  display: grid;
  gap: 0.85rem;
}

:where(.msh-new-design) .msh-thanks .msh-next__list > .wp-block-group__inner-container {
  display: grid;
  gap: 0.85rem;
}

:where(.msh-new-design) .msh-thanks .msh-next__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--msh-border);
  border-radius: 1.1rem;
  background: #fff;
  color: var(--msh-ink);
  font-size: 1rem;
  line-height: 1.55;
}

:where(.msh-new-design) .msh-thanks .msh-next__item::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--msh-c-phone) center / 22px no-repeat, var(--msh-primary-soft);
}

:where(.msh-new-design) .msh-thanks .msh-next__item:nth-child(2)::before { background-image: var(--msh-c-users); }
:where(.msh-new-design) .msh-thanks .msh-next__item:nth-child(3)::before { background-image: var(--msh-c-check-circle); }

/* Questions: each one a card, with a plus that turns into a minus */
:where(.msh-new-design) .msh-thanks .msh-next--faq .wp-block-details + .wp-block-details { margin-top: 0.75rem; }

:where(.msh-new-design) .wp-block-details {
  border: 1px solid var(--msh-border);
  border-radius: 1rem;
  background: #fff;
  transition: border-color 200ms ease, box-shadow 260ms ease;
}

:where(.msh-new-design) .wp-block-details:hover { border-color: #C9D7EE; }

:where(.msh-new-design) .wp-block-details[open] {
  border-color: #BFD3F4;
  box-shadow: 0 18px 40px -28px rgba(6, 29, 78, 0.45);
}

:where(.msh-new-design) .wp-block-details summary {
  position: relative;
  display: block;
  padding: 1.15rem 4rem 1.15rem 1.35rem;
  border-radius: 1rem;
  color: var(--msh-navy);
  font-family: var(--msh-font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color 160ms ease;
}

:where(.msh-new-design) .wp-block-details summary::-webkit-details-marker { display: none; }
:where(.msh-new-design) .wp-block-details summary::marker { content: ""; }
:where(.msh-new-design) .wp-block-details summary:hover { color: var(--msh-primary); }

:where(.msh-new-design) .wp-block-details summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    var(--msh-primary-soft);
  color: var(--msh-primary);
  transition: background-size 280ms var(--msh-ease), background-color 200ms ease, color 200ms ease, transform 280ms var(--msh-ease);
}

:where(.msh-new-design) .wp-block-details[open] summary::after {
  background-color: var(--msh-primary);
  background-size: 12px 2px, 2px 0;
  color: #fff;
  transform: rotate(180deg);
}

:where(.msh-new-design) .wp-block-details > :not(summary) {
  margin: 0;
  padding: 0 4rem 1.25rem 1.35rem;
  color: var(--msh-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* 11. Policy pop-ups (privacy, cookies) =================================== */

/* Styling only: the policy text is loaded into this pop-up as-is. */

:where(.msh-new-design) #informational-modal {
  z-index: 10000;
  /* Pinned to the visible screen rather than 100vh, which on phones runs
     underneath the browser's toolbar. */
  inset: 0;
  height: auto;
  background-color: rgba(3, 33, 64, 0.55);
}

:where(.msh-new-design) #informational-modal .container {
  top: 50%;
  width: min(46rem, calc(100% - 2rem));
  max-width: none;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 24px 64px rgba(3, 33, 64, 0.22);
  transform: translate(-50%, -50%);
}

/* Close: a round grey button in the title bar */
:where(.msh-new-design) #informational-modal .close-icon {
  top: calc(2.125rem - 19px);
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F1F3F7;
  transition: background-color 160ms ease;
}

:where(.msh-new-design) #informational-modal .close-icon:hover { background: #E5E8EE; }

:where(.msh-new-design) #informational-modal .close-icon::before {
  position: static;
  top: auto;
  left: auto;
  width: 18px;
  height: 18px;
  background: var(--msh-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

:where(.msh-new-design) #informational-modal .content {
  max-height: min(84vh, calc(100vh - 3rem));
  margin-top: 0;
  padding: 4.25rem 1.35rem 1.35rem;
  overscroll-behavior: contain;
  color: var(--msh-ink);
  font-family: var(--msh-font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* The policy's own title becomes the pinned title bar. */
:where(.msh-new-design) #informational-modal .content > h1:first-child {
  position: sticky;
  top: -4.25rem;
  z-index: 1;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 4.25rem;
  margin: -4.25rem -1.35rem 1.35rem;
  padding: 0.5rem 4.25rem 0.5rem 1.35rem;
  border-bottom: 1px solid var(--msh-border);
  background: #fff;
  color: var(--msh-navy);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

:where(.msh-new-design) #informational-modal .content p { margin: 0 0 0.9rem; }

:where(.msh-new-design) #informational-modal .content :is(h2, h3, h4) {
  margin: 1.75rem 0 0.6rem;
  color: var(--msh-navy);
  font-weight: 700;
  line-height: 1.3;
}

:where(.msh-new-design) #informational-modal .content h2 { font-size: 1.125rem; }
:where(.msh-new-design) #informational-modal .content :is(h3, h4) { font-size: 1rem; }

/* Numbered section titles are bold paragraphs after a divider: give them
   heading type, and let the space above do the divider's job. */
:where(.msh-new-design) #informational-modal .content hr {
  height: 0;
  margin: 1.75rem 0 0;
  border: 0;
  background: none;
}

:where(.msh-new-design) #informational-modal .content hr + p:has(> strong:first-child),
:where(.msh-new-design) #informational-modal .content > h1:first-child + p + p:has(> strong:only-child) {
  margin-bottom: 0.6rem;
  color: var(--msh-navy);
  font-family: var(--msh-font-head);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

:where(.msh-new-design) #informational-modal .content hr + p:has(> strong:first-child) strong,
:where(.msh-new-design) #informational-modal .content > h1:first-child + p + p:has(> strong:only-child) strong { font-weight: inherit; }

:where(.msh-new-design) #informational-modal .content strong { color: var(--msh-navy); }

:where(.msh-new-design) #informational-modal .content :is(ul, ol) {
  margin: 0 0 0.9rem;
  padding-left: 1.25rem;
}

:where(.msh-new-design) #informational-modal .content li { margin-bottom: 0.35rem; }
:where(.msh-new-design) #informational-modal .content a { color: var(--msh-primary); }

:where(.msh-new-design) #informational-modal .content table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

:where(.msh-new-design) #informational-modal .content :is(th, td) {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--msh-border);
  text-align: left;
  vertical-align: top;
}

/* 12. Answer icons and chat widget ======================================== */

/* The answer icons are small raster images (24px PNGs and two cropped
   screenshots) that blur when scaled up. The known ones are redrawn here as
   sharp vector icons, in the form and in the chat. Any other image is left
   exactly as it is. */

:where(.msh-new-design) .live-chat-option.has-image:has(img[src*="Screenshot-2026-09-24-112605"]),
:where(.msh-new-design) .radio-button-with-image > div:has(> img[src*="Screenshot-2026-09-24-112605"]) { --msh-answer-icon: var(--msh-c-briefcase); }

:where(.msh-new-design) .live-chat-option.has-image:has(img[src*="Screenshot-2026-09-24-112639"]),
:where(.msh-new-design) .radio-button-with-image > div:has(> img[src*="Screenshot-2026-09-24-112639"]) { --msh-answer-icon: var(--msh-c-sun); }

:where(.msh-new-design) .live-chat-option.has-image:has(img[src*="shield-icon"]),
:where(.msh-new-design) .radio-button-with-image > div:has(> img[src*="shield-icon"]) { --msh-answer-icon: var(--msh-c-shield); }

:where(.msh-new-design) .live-chat-option.has-image:has(img[src*="arrow-chart-icon"]),
:where(.msh-new-design) .radio-button-with-image > div:has(> img[src*="arrow-chart-icon"]) { --msh-answer-icon: var(--msh-c-trend); }

:where(.msh-new-design) .live-chat-option.has-image:has(img[src*="dots-icon"]),
:where(.msh-new-design) .radio-button-with-image > div:has(> img[src*="dots-icon"]) { --msh-answer-icon: var(--msh-c-dots); }

:where(.msh-new-design) .live-chat-option.has-image:has(img[src*="question-circle-icon"]),
:where(.msh-new-design) .radio-button-with-image > div:has(> img[src*="question-circle-icon"]) { --msh-answer-icon: var(--msh-c-help); }

/* Chat: hide the raster image and draw the icon on a soft disc */
:where(.msh-new-design) .live-chat-option.has-image:is(:has(img[src*="Screenshot-2026-09-24-112605"]), :has(img[src*="Screenshot-2026-09-24-112639"]), :has(img[src*="shield-icon"]), :has(img[src*="arrow-chart-icon"]), :has(img[src*="dots-icon"]), :has(img[src*="question-circle-icon"])) img {
  display: none;
}

:where(.msh-new-design) .live-chat-option.has-image:is(:has(img[src*="Screenshot-2026-09-24-112605"]), :has(img[src*="Screenshot-2026-09-24-112639"]), :has(img[src*="shield-icon"]), :has(img[src*="arrow-chart-icon"]), :has(img[src*="dots-icon"]), :has(img[src*="question-circle-icon"]))::before {
  content: "";
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--msh-answer-icon) center / 22px no-repeat, var(--msh-primary-soft);
}

/* Form: the same icons, as a disc on picture tiles and bare on inline rows */
:where(.msh-new-design) .radio-button-with-image > div:is(:has(> img[src*="Screenshot-2026-09-24-112605"]), :has(> img[src*="Screenshot-2026-09-24-112639"]), :has(> img[src*="shield-icon"]), :has(> img[src*="arrow-chart-icon"]), :has(> img[src*="dots-icon"]), :has(> img[src*="question-circle-icon"])) > img {
  display: none;
}

:where(.msh-new-design) .radio-button-with-image > div:is(:has(> img[src*="Screenshot-2026-09-24-112605"]), :has(> img[src*="Screenshot-2026-09-24-112639"]), :has(> img[src*="shield-icon"]), :has(> img[src*="arrow-chart-icon"]), :has(> img[src*="dots-icon"]), :has(> img[src*="question-circle-icon"]))::before {
  content: "";
  flex: none;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: var(--msh-answer-icon) center / 26px no-repeat, var(--msh-primary-soft);
}

:where(.msh-new-design) .radio-buttons[data-layout="image_inline"] .radio-button-with-image > div:is(:has(> img[src*="Screenshot-2026-09-24-112605"]), :has(> img[src*="Screenshot-2026-09-24-112639"]), :has(> img[src*="shield-icon"]), :has(> img[src*="arrow-chart-icon"]), :has(> img[src*="dots-icon"]), :has(> img[src*="question-circle-icon"]))::before {
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 0;
  background: var(--msh-answer-icon) center / 22px no-repeat;
}

/* Chat answers sit centred under the conversation, not pushed to the right */
:where(.msh-new-design) .live-chat .live-chat-options { justify-content: center; }

/* Picture answers become an even two-column grid of tiles */
:where(.msh-new-design) .live-chat .live-chat-options:not(.is-stacked):has(.has-image) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

:where(.msh-new-design) .live-chat .live-chat-option.has-image {
  justify-content: center;
  gap: 6px;
  min-height: 96px;
  padding: 12px 8px;
}

/* Mobile ================================================================== */

@media (max-width: 781px) {
  :where(.msh-new-design) .hide-on-mobile { display: none !important; }

  :where(.msh-new-design) main .background-box h2.wp-block-heading { max-width: none; }
}

@media (max-width: 700px) {
  :where(.msh-new-design) header img { max-height: 60px; }

  :where(.msh-new-design) header #header--container #header--right-text p:first-child { display: none; }

  :where(.msh-new-design) header #header--container #header--right-text a[href^="tel:"] {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0;
  }

  :where(.msh-new-design) header #header--container #header--right-text a[href^="tel:"]::before { display: none; }

  :where(.msh-new-design) header #header--container #header--right-text a[href^="tel:"]::after {
    left: 2px;
    width: 44px;
    height: 44px;
  }

  :where(.msh-new-design) .wp-block-cover.gradient-background {
    padding: 1.25rem 0.75rem 2.25rem;
  }

  :where(.msh-new-design) .wp-block-cover.gradient-background .wp-block-cover__inner-container h1 {
    font-size: min(2.25rem, calc((100vw - 1.5rem) * 0.0845)) !important;
  }

  :where(.msh-new-design) #flex-body-wrap #questions-form .progress {
    margin-bottom: 1rem;
    padding-top: calc(0.7rem + 4px);
    padding-bottom: 0.75rem;
  }

  :where(.msh-new-design) #flex-body-wrap #questions-form .question-label .question-label-text { font-size: 1.25rem; }

  :where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button {
    min-height: 52px;
    margin: 4px;
    padding: 0.55rem 0.8rem;
    font-size: 1rem;
  }

  :where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button::after {
    width: 20px;
    height: 20px;
  }

  :where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button.radio-button-with-image {
    min-height: 100px;
    padding: 0.8rem 0.6rem;
  }

  :where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons .radio-button.radio-button-with-image img { max-width: 44px; }

  :where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons[data-layout="image_inline"] .radio-button.radio-button-with-image {
    min-height: 52px;
    padding: 0.55rem 2.8rem 0.55rem 0.8rem;
  }

  :where(.msh-new-design) #flex-body-wrap #questions-form .radio-buttons[data-layout="image_inline"] .radio-button.radio-button-with-image img { max-width: 20px; }

  :where(.msh-new-design) #flex-body-wrap #questions-form .question-blocks .question-block > button { min-height: 54px; }

  /* Three short trust points fit a phone as a row of three. */
  :where(.msh-new-design) .wp-block-cover .icon-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  :where(.msh-new-design) .wp-block-cover .icon-list .icon-list__item {
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.8125rem;
    text-align: center;
  }

  :where(.msh-new-design) .wp-block-cover .icon-list .icon-list__icon { margin: 0; }

  :where(.msh-new-design) .wp-block-details summary { padding: 1rem 3.5rem 1rem 1.1rem; font-size: 1rem; }
  :where(.msh-new-design) .wp-block-details summary::after { right: 0.85rem; }
  :where(.msh-new-design) .wp-block-details > :not(summary) { padding: 0 1.1rem 1.1rem; font-size: 0.9375rem; }

  :where(.msh-new-design) footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px)); }

  :where(.msh-new-design) footer .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  :where(.msh-new-design) footer ul.menu { gap: 0 1.5rem; }

  /* Policy pop-up: a card that floats clear of the screen edges on phones */
  :where(.msh-new-design) #informational-modal .container {
    top: auto;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    left: 0.75rem;
    width: calc(100% - 1.5rem);
    border-radius: 1rem;
    transform: none;
  }

  :where(.msh-new-design) #informational-modal .content {
    max-height: calc(100vh - 1.5rem - env(safe-area-inset-bottom, 0px) - 2.5rem);
    max-height: calc(100dvh - 1.5rem - env(safe-area-inset-bottom, 0px) - 2.5rem);
    padding-bottom: 1.75rem;
  }
}
