/* ==========================================================================
   Get Debt Support — Design system ("Blush" layout: light, soft, pastel tiles, lots of air)
   Type, spacing and layout follow the Debt Free UK system (Manrope, max 600).
   Colours: "Teal and sand" (option 1), with teal matched to the logo.
   Every colour in this file is a token.
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	/* ---- Colour: teal and sand (teal sampled from the logo) ---- */
	--main:        #08605E; /* buttons, step numbers, focus (white text 7.4:1) */
	--main-hover:  #054846; /* logo icon teal                                  */
	--ink:         #023C3A; /* logo wordmark teal: headings + body (12.3:1)     */
	--muted:       #4B5F60; /* secondary text (≥5.5:1 on every tile)           */
	--wash:        #EAF6F3; /* top of the hero                                 */
	--soft:        #F3F8F7; /* soft cards and bands                            */
	--t1:          #D6F0EA; /* tile 1                                          */
	--t2:          #DCEBFA; /* tile 2                                          */
	--t3:          #FBEBD6; /* tile 3                                          */
	--dark:        #054846; /* tile 4, mobile menu                             */
	--on-dark:     #D6F0EA; /* text on --dark                                  */
	--line:        #D5E3E1; /* hairlines                                       */
	--line-strong: #7E9896; /* input borders (3:1)                             */
	--white:       #FFFFFF;

	--c-error:     #B42318;
	--c-error-bg:  #FEF1F0;
	--c-success:   #1E7A4F;

	/* ---- Type (same scale as Debt Free UK) ---- */
	--font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fw-regular:  400;
	--fw-medium:   500;
	--fw-semibold: 600; /* max */

	--fs-h1:      clamp(2.625rem, 2.317rem + 1.315vw, 3.5rem);   /* 42 → 56 */
	--fs-h2:      clamp(2.25rem,  2.074rem + 0.751vw, 2.75rem);  /* 36 → 44 */
	--fs-h3:      clamp(1.5rem,   1.412rem + 0.376vw, 1.75rem);  /* 24 → 28 */
	--fs-body-m:  clamp(1rem,     0.956rem + 0.188vw, 1.125rem); /* 16 → 18 */
	--fs-body-s:  0.9375rem;                                     /* 15      */
	--fs-caption: clamp(0.8125rem, 0.79rem + 0.094vw, 0.875rem); /* 13 → 14 */
	--fs-card:    1.25rem; /* card titles (20) */

	--lh-body:  1.65;
	--lh-tight: 1.3;

	/* ---- Spacing (8px scale) ---- */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 3rem;
	--sp-8: 4rem;

	--section-y: clamp(3rem, 2.296rem + 3.005vw, 5rem); /* 48 → 80 max */
	--head-gap:  clamp(2rem, 1.78rem + 0.94vw, 3rem);  /* under section heads: 32 → 48 */

	/* ---- Layout ---- */
	--max-site:    1440px;
	--max-content: 1440px;
	--gutter:      clamp(1rem, 4vw, 2.5rem);
	--header-h:    84px;

	/* ---- Shape: big soft surfaces, smaller controls ---- */
	--r-panel: 32px;
	--r-tile:  26px;
	--r-card:  22px;
	--r-icon:  14px;
	--r-input: 12px;
	--r-pill:  999px;

	--shadow-lift: 0 18px 40px -22px rgba(16, 24, 32, 0.35);
	--shadow-pop:  0 24px 64px -18px rgba(16, 24, 32, 0.4);

	--ease:     cubic-bezier(0.25, 0.1, 0.25, 1);
	--ease-out: cubic-bezier(0.2, 0.75, 0.2, 1);
	--dur:      200ms;
}

/* ==========================================================================
   2. Reset + base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

body {
	font-family: var(--font-sans);
	font-size: var(--fs-body-m);
	line-height: var(--lh-body);
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .h3 { font-weight: var(--fw-semibold); color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.1;  letter-spacing: -0.03em; }
h3, .h3, h4, h5, h6 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.02em; }

p { text-wrap: pretty; }
strong, b { font-weight: var(--fw-semibold); }

.body-s  { font-size: var(--fs-body-s); line-height: 1.6; }
.caption { font-size: var(--fs-caption); line-height: 1.5; color: var(--muted); }
.legal   { font-size: var(--fs-caption); line-height: 1.55; color: var(--muted); }
.lead    { max-width: 36rem; margin-top: var(--sp-4); color: var(--muted); }

a { color: var(--main); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--main-hover); }

:focus-visible { outline: 3px solid var(--main); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--t1); color: var(--ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important;
	top: var(--sp-3); left: var(--sp-3);
	z-index: 1000;
	width: auto; height: auto;
	padding: var(--sp-3) var(--sp-5);
	clip: auto;
	background: var(--ink);
	color: var(--white);
	border-radius: var(--r-pill);
}

/* ==========================================================================
   3. Layout
   ========================================================================== */
.site { padding-top: var(--header-h); overflow-x: clip; } /* backgrounds run full width; content is capped by .container (1440px) */
.container { width: 100%; max-width: calc(var(--max-content) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--soft { background: var(--soft); }
.section-head { max-width: 46rem; margin-bottom: var(--head-gap); }

.text-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: var(--fw-semibold);
	color: var(--main);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
.text-link:hover { color: var(--main-hover); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	min-height: 52px;
	padding: 0 var(--sp-6);
	border: 0;
	border-radius: var(--r-pill);
	font-size: 1rem;
	font-weight: var(--fw-semibold);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--main); color: var(--white); }
.btn--primary:hover { background: var(--main-hover); color: var(--white); }

.btn--ghost, .btn--outline { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover, .btn--outline:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Light button for the dark mobile menu */
.btn--gold, .btn--apricot { background: var(--t1); color: var(--ink); }
.btn--gold:hover, .btn--apricot:hover { background: var(--white); color: var(--ink); }

.btn--sm    { min-height: 44px; padding: 0 var(--sp-5); font-size: var(--fs-body-s); }
.btn--lg    { min-height: 56px; padding: 0 var(--sp-7); font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

/* ==========================================================================
   5. Notices
   ========================================================================== */
.notice { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-input); font-size: var(--fs-body-s); margin-bottom: var(--sp-5); }
.notice--error { background: var(--c-error-bg); color: var(--c-error); }
.notice--info  { background: var(--soft); color: var(--ink); }

/* ==========================================================================
   6. Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px) !important; }
	.admin-bar .site-header.is-scrolled .primary-nav { top: calc(68px + 46px) !important; }
}
/* Small phones: the admin bar is 46px tall too, so the header stays below it. */

.site-header__inner { display: flex; align-items: center; gap: var(--sp-5); height: var(--header-h); transition: height 300ms var(--ease-out); }
.site-header.is-scrolled .site-header__inner { height: 68px; }

.site-logo { display: block; flex-shrink: 0; margin-right: auto; }
.site-logo img { width: auto; height: 40px; transition: height 300ms var(--ease-out); }
@media (min-width: 768px) { .site-logo img { height: 46px; } }
.site-header.is-scrolled .site-logo img { height: 36px; }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.site-header__cta { display: none; }
@media (min-width: 640px) { .site-header__cta { display: inline-flex; } }

.header-phone {
	display: none;
	align-items: center;
	gap: var(--sp-2);
	min-height: 44px;
	padding: 0 var(--sp-3);
	color: var(--ink);
	font-weight: var(--fw-semibold);
	text-decoration: none;
}
@media (min-width: 768px) { .header-phone { display: inline-flex; } }
@media (max-width: 1359.98px) { .header-phone__number { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	min-height: 44px;
	padding: 0 var(--sp-4);
	border: 0;
	border-radius: var(--r-pill);
	background: var(--soft);
	color: var(--ink);
	font-size: var(--fs-body-s);
	font-weight: var(--fw-semibold);
}
/* Hamburger: three lines that turn into an X when open */
.menu-toggle__bars { position: relative; width: 20px; height: 14px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 300ms var(--ease-out), top 300ms var(--ease-out), opacity 200ms var(--ease); }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.menu-toggle { min-width: 44px; }
.menu-toggle[aria-expanded="true"] { background: var(--dark); color: var(--white); }

.primary-nav__menu, .primary-nav__menu .sub-menu { list-style: none; padding: 0; }
.primary-nav__menu a { text-decoration: none; }
.primary-nav__menu > li { position: relative; }
.submenu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; }
.submenu-toggle .icon { transition: transform 300ms var(--ease-out); }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* ---------- Mobile: full-height panel (< 1200px) ---------- */
@media (max-width: 1199.98px) {
	/* No blur on the header here: a backdrop-filter traps the fixed menu panel inside the header box. */
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }

	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 99;
		display: flex;
		flex-direction: column;
		gap: var(--sp-6);
		padding: var(--sp-6) var(--gutter) var(--sp-7);
		overflow-y: auto;
		background: var(--dark);
		visibility: hidden;
		clip-path: inset(0 0 100% 0);
		transition: clip-path 450ms var(--ease-out), visibility 0s linear 450ms;
	}
	.site-header.is-scrolled .primary-nav { top: 68px; }
	.admin-bar .primary-nav { top: calc(var(--header-h) + 32px); }
	.admin-bar .site-header.is-scrolled .primary-nav { top: calc(68px + 32px); }
	.primary-nav.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 450ms var(--ease-out); }

	.primary-nav__menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
	.primary-nav__menu a { display: flex; align-items: center; min-height: 64px; font-size: 1.375rem; font-weight: var(--fw-medium); color: var(--white); }
	.primary-nav__menu a:hover, .primary-nav__menu .current-menu-item > a, .primary-nav__menu .current-menu-ancestor > a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 6px; }

	.primary-nav__menu > .menu-item-has-children { display: grid; grid-template-columns: 1fr 44px; align-items: center; }
	.primary-nav__menu .submenu-toggle { color: var(--on-dark); }
	.primary-nav__menu .sub-menu { grid-column: 1 / -1; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 350ms var(--ease-out), visibility 0s linear 350ms; }
	.primary-nav__menu .is-expanded > .sub-menu { max-height: 400px; padding-bottom: var(--sp-3); visibility: visible; transition: max-height 350ms var(--ease-out); }
	.primary-nav__menu .sub-menu li { border: 0; }
	.primary-nav__menu .sub-menu a { min-height: 48px; padding-left: var(--sp-4); border-left: 2px solid rgba(255, 255, 255, 0.3); font-size: 1.0625rem; color: rgba(255, 255, 255, 0.88); }

	.primary-nav__extras { display: grid; gap: var(--sp-4); }
	.primary-nav__phone { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-card); background: rgba(255, 255, 255, 0.1); color: var(--white); text-decoration: none; }
	.primary-nav__phone .icon { color: var(--on-dark); flex-shrink: 0; }
	.primary-nav__phone > span { display: grid; }
	.primary-nav__phone .caption { color: rgba(255, 255, 255, 0.78); }

	body.menu-open { overflow: hidden; }
}

/* ---------- Desktop nav (≥ 1200px) ---------- */
@media (min-width: 1200px) {
	.menu-toggle, .primary-nav__extras { display: none; }
	.site-logo { margin-right: 0; }
	.primary-nav { flex: 1; display: flex; justify-content: center; }
	.primary-nav__menu { display: flex; gap: var(--sp-1); }
	.primary-nav__menu > li > a {
		display: inline-flex;
		align-items: center;
		min-height: 40px;
		padding: 0 var(--sp-4);
		border-radius: var(--r-pill);
		font-size: var(--fs-body-s);
		font-weight: var(--fw-medium);
		color: var(--ink);
		transition: background-color var(--dur) var(--ease);
	}
	.primary-nav__menu > li > a:hover,
	.primary-nav__menu > .current-menu-item > a,
	.primary-nav__menu > .current-menu-ancestor > a { background: var(--soft); }

	.primary-nav__menu > .menu-item-has-children { display: flex; align-items: center; }
	.primary-nav__menu .submenu-toggle { width: 28px; color: var(--muted); }
	.primary-nav__menu .sub-menu {
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		z-index: 10;
		min-width: 290px;
		padding: var(--sp-2);
		border-radius: var(--r-card);
		background: var(--white);
		box-shadow: var(--shadow-pop);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
	}
	.primary-nav__menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
	.primary-nav__menu .menu-item-has-children:hover > .sub-menu,
	.primary-nav__menu .is-expanded > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
	.primary-nav__menu .sub-menu a { display: flex; min-height: 44px; padding: var(--sp-2) var(--sp-4); border-radius: var(--r-input); color: var(--ink); }
	.primary-nav__menu .sub-menu a:hover,
	.primary-nav__menu .sub-menu .current-menu-item > a { background: var(--soft); }
}

/* ==========================================================================
   7. Hero + debt type tiles
   ========================================================================== */
.hero {
	padding-block: clamp(2rem, 1.4rem + 2.6vw, 4rem) var(--section-y);
	background: linear-gradient(180deg, var(--wash) 0%, var(--white) 100%);
}
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--sp-8); } }

.hero__title { max-width: 15ch; }
.hero__text { max-width: 34rem; margin-top: var(--sp-5); font-size: 1.0625rem; color: var(--muted); }

.hero__points { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-5); }
.hero__points li { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-body-s); font-weight: var(--fw-semibold); }
.hero__tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--t1); color: var(--main); }
.hero__tick .icon { stroke-width: 2.5; }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
@media (max-width: 479.98px) { .hero__actions .btn { width: 100%; } }

.tiles__title { margin-bottom: var(--sp-3); font-size: var(--fs-body-s); line-height: 1.4; letter-spacing: 0; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }

.tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--sp-6);
	min-height: 176px;
	padding: var(--sp-5);
	border-radius: var(--r-tile);
	background: var(--t1);
	transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.tile:hover, .tile:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tile--t1 { background: var(--t1); }
.tile--t2 { background: var(--t2); }
.tile--t3 { background: var(--t3); }
.tile--dark { background: var(--dark); color: var(--white); }

.tile__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-icon); background: rgba(255, 255, 255, 0.72); color: var(--dark); }
.tile--dark .tile__icon { background: rgba(255, 255, 255, 0.14); color: var(--on-dark); }
.tile__body { display: grid; gap: 2px; }
.tile__title { font-size: 1.125rem; line-height: var(--lh-tight); letter-spacing: -0.01em; }
.tile--dark .tile__title { color: var(--white); }
.tile__text { font-size: var(--fs-body-s); line-height: 1.45; color: var(--muted); }
.tile--dark .tile__text { color: var(--on-dark); }
.tile__link {
	margin-top: var(--sp-2);
	font-size: var(--fs-body-s);
	font-weight: var(--fw-semibold);
	color: var(--ink);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
}
.tile--dark .tile__link { color: var(--white); }
.tile__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-tile); } /* whole tile is the link */
.tile__link:focus-visible { outline: none; }
.tile:has(.tile__link:focus-visible) { outline: 3px solid var(--main); outline-offset: 3px; }

@media (max-width: 379.98px) {
	.tile { min-height: 0; padding: var(--sp-4); gap: var(--sp-4); }
	.tile__text { display: none; }
}

/* ==========================================================================
   8. Bills to pay first
   ========================================================================== */
.rank { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .rank { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); } }
.rank__item { display: grid; align-content: start; gap: var(--sp-1); padding: var(--sp-6); border-radius: var(--r-tile); }
.tone-t1 { background: var(--t1); }
.tone-t2 { background: var(--t2); }
.tone-t3 { background: var(--t3); }
.rank__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.rank__num { font-size: var(--fs-h2); font-weight: var(--fw-semibold); line-height: 1; letter-spacing: -0.04em; }
.rank__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-icon); background: rgba(255, 255, 255, 0.72); color: var(--dark); }
.rank__title { font-size: var(--fs-card); line-height: var(--lh-tight); }
.rank__reason { color: var(--muted); }

.rank__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-5); }
.rank__after { flex: 1 1 28rem; padding: var(--sp-4) var(--sp-5); border: 1.5px dashed var(--line-strong); border-radius: var(--r-card); color: var(--muted); }

/* ==========================================================================
   9. How it works
   ========================================================================== */
.steps__list { display: grid; gap: var(--sp-3); }
@media (min-width: 900px) { .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); } }
.step { display: grid; align-content: start; gap: var(--sp-2); padding: var(--sp-6); border-radius: var(--r-tile); background: var(--soft); }
.step__num {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	margin-bottom: var(--sp-4);
	border-radius: 50%;
	background: var(--main);
	color: var(--white);
	font-weight: var(--fw-semibold);
}
.step__title { font-size: var(--fs-card); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.step__text { color: var(--muted); }
.steps__cta { margin-top: var(--sp-6); }
@media (max-width: 479.98px) { .steps__cta { width: 100%; } }

/* ==========================================================================
   10. Ways to deal with debt
   ========================================================================== */
.option-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 640px) { .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.option-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-4); }
	.option { grid-column: span 2; }
	.option:nth-child(4), .option:nth-child(5) { grid-column: span 3; }
}
.option { display: grid; align-content: start; gap: var(--sp-2); padding: var(--sp-6); border-radius: var(--r-card); background: var(--white); }
.option__title { font-size: var(--fs-card); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.option__text { color: var(--muted); }

.options__notes { display: grid; gap: var(--sp-3); max-width: 46rem; margin-top: var(--sp-6); }
.options__note { color: var(--muted); }
.risk {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: var(--sp-3);
	padding: var(--sp-4) var(--sp-5);
	border-radius: var(--r-input);
	background: var(--white);
	font-size: var(--fs-body-s);
}
.risk .icon { margin-top: 2px; color: var(--main); }

/* ==========================================================================
   11. FAQ
   ========================================================================== */
.faq__grid { display: grid; gap: var(--sp-6) var(--sp-8); }
@media (min-width: 1024px) {
	.faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
	.faq__head { position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
}
.faq__list { display: grid; gap: var(--sp-3); }
.faq__item { border-radius: var(--r-card); background: var(--soft); transition: background-color var(--dur) var(--ease); }
.faq__item[open] { background: var(--t1); }
.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	min-height: 68px;
	padding: var(--sp-4) var(--sp-5);
	font-size: 1.125rem;
	font-weight: var(--fw-semibold);
	cursor: pointer;
	list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline-offset: -3px; border-radius: var(--r-card); }
.faq__icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--white); transition: transform 300ms var(--ease-out), background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--main); color: var(--white); }
.faq__a { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink); }
.faq__item[open] .faq__a { animation: reveal 300ms var(--ease-out); }

/* ==========================================================================
   12. Closing CTA — soft gradient panel
   ========================================================================== */
.closing { padding-block: 0 var(--section-y); }
.closing__panel {
	display: grid;
	gap: var(--sp-5);
	padding: clamp(2rem, 1.3rem + 3vw, 4rem);
	border-radius: var(--r-panel);
	background: linear-gradient(120deg, var(--t1) 0%, var(--t2) 100%);
}
@media (min-width: 900px) {
	.closing__panel { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--sp-8); }
	.closing__risk { grid-column: 1 / -1; }
}
.closing h2 { max-width: 18ch; }
.closing__text { margin-top: var(--sp-3); max-width: 32rem; color: var(--muted); }
@media (max-width: 479.98px) { .closing__btn { width: 100%; } }
.closing__action { display: grid; gap: var(--sp-2); justify-items: start; }
@media (max-width: 479.98px) { .closing__action { justify-items: stretch; } }
.closing__safe { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-caption); color: var(--muted); }
.closing__safe .icon { color: var(--main); }
.closing__risk { display: flex; gap: var(--sp-2); align-items: flex-start; padding-top: var(--sp-4); border-top: 1px solid rgba(255, 255, 255, 0.7); font-size: var(--fs-caption); line-height: 1.55; color: var(--muted); }
.closing__risk .icon { flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   13. Lead form popup
   ========================================================================== */
.lead-modal {
	width: min(560px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100dvh - 48px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--r-panel);
	background: var(--white);
	color: var(--ink);
	box-shadow: var(--shadow-pop);
	overflow: hidden;
}
.lead-modal::backdrop { background: rgba(16, 24, 32, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lead-modal[open] { animation: modalIn 380ms var(--ease-out); }
.lead-modal[open]::backdrop { animation: fadeIn 300ms var(--ease); }
.lead-modal__panel { display: flex; flex-direction: column; max-height: inherit; }

.lead-modal__head { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: var(--sp-3); padding: var(--sp-5) var(--sp-5) 0; }
@media (min-width: 480px) { .lead-modal__head { padding-inline: var(--sp-6) var(--sp-5); } }
.lead-modal__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-icon); background: var(--soft); }
.lead-modal__mark img { width: 34px; height: 34px; }
.lead-modal__title { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; }
.lead-modal__sub { display: inline-flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-caption); font-weight: var(--fw-medium); color: var(--muted); }
.lead-modal__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); transition: background-color var(--dur) var(--ease); }
.lead-modal__close:hover { background: var(--line); }

.lead-progress { padding: var(--sp-5) var(--sp-5) 0; }
@media (min-width: 480px) { .lead-progress { padding-inline: var(--sp-6); } }
.lead-progress__label { margin-bottom: var(--sp-2); font-size: var(--fs-caption); font-weight: var(--fw-semibold); color: var(--muted); }
.lead-progress__track { display: block; height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.lead-progress__bar { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--main); transition: width 500ms var(--ease-out); } /* width set per step by main.js */

.lead-modal__body { padding: var(--sp-5); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 480px) { .lead-modal__body { padding: var(--sp-5) var(--sp-6) var(--sp-6); } }

.lead-disclosure { margin-top: var(--sp-5); }
.lead-disclosure a { color: inherit; }

.lead-form { display: grid; }
.lead-step { display: grid; gap: var(--sp-5); }
.js .lead-step[hidden] { display: none; }
.js .lead-step.is-entering { animation: stepIn 360ms var(--ease-out); }
.js .lead-step.is-entering-back { animation: stepBack 360ms var(--ease-out); }
.lead-step__actions { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); }
.lead-step__actions--first { grid-template-columns: 1fr; }

/* The question at the top of each step */
.lead-step__q { display: grid; gap: var(--sp-1); padding: 0; margin-bottom: var(--sp-4); font-size: 1.25rem; font-weight: var(--fw-semibold); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.lead-step__count { font-size: var(--fs-caption); font-weight: var(--fw-semibold); letter-spacing: 0; color: var(--muted); }
.js .lead-step__count { display: none; } /* the popup's progress bar shows the step instead */

/* "Why we ask" + tip */
.lead-why { display: grid; gap: var(--sp-2); padding: var(--sp-4); border-radius: var(--r-input); background: var(--soft); font-size: var(--fs-body-s); line-height: 1.5; color: var(--muted); }
.lead-why strong { color: var(--ink); }
.lead-stop { display: grid; gap: var(--sp-2); padding: var(--sp-4); border-radius: var(--r-input); background: var(--t3); border: 1px solid #E8C99A; font-size: var(--fs-body-s); line-height: 1.5; color: var(--ink); }
.lead-stop[hidden] { display: none; }
.lead-stop a { font-weight: 600; color: var(--main); text-decoration: underline; }
.lead-step__next:disabled { opacity: .45; cursor: not-allowed; }

/* First + last name side by side */
.field-row { display: grid; gap: var(--sp-5); }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; gap: var(--sp-3); } }

.lead-trust { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-caption); line-height: 1.5; color: var(--muted); }
.lead-trust .icon { flex-shrink: 0; margin-top: 1px; color: var(--main); }

@media (max-width: 639.98px) {
	.lead-modal { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: var(--r-panel) var(--r-panel) 0 0; }
	.lead-modal[open] { animation: sheetUp 400ms var(--ease-out); }
	.lead-modal__body { padding-bottom: calc(var(--sp-5) + env(safe-area-inset-bottom)); }
}

html:not(.js) .lead-modal { display: block; position: static; width: auto; max-width: 600px; max-height: none; margin: var(--section-y) auto; }
html:not(.js) .lead-modal__close,
html:not(.js) .lead-progress,
html:not(.js) [data-step-next],
html:not(.js) [data-step-back] { display: none; }
html:not(.js) .lead-step + .lead-step { margin-top: var(--sp-5); }

/* ---------- Fields ---------- */
.field { display: grid; gap: var(--sp-2); min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field__label { padding: 0; font-size: var(--fs-body-s); font-weight: var(--fw-semibold); }
.field__optional { font-weight: var(--fw-regular); color: var(--muted); }

.input {
	width: 100%;
	height: 52px;
	padding: 0 var(--sp-4);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--r-input);
	background: var(--white);
	font-size: 1rem; /* 16px stops iOS zoom */
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:hover { border-color: var(--ink); }
.input:focus { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px var(--t1); }

.choices { display: grid; gap: var(--sp-2); }
.choices--amount { grid-template-columns: repeat(2, 1fr); }
.choices--amount .choice:last-child { grid-column: 1 / -1; }
.choices--count  { grid-template-columns: repeat(5, 1fr); }
.choices--nation { grid-template-columns: repeat(2, 1fr); }
.choices--list { grid-template-columns: 1fr; }
.choices--list .choice span { justify-content: flex-start; min-height: 56px; padding-inline: var(--sp-5); font-size: 1rem; text-align: left; }

.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: var(--sp-2) var(--sp-3);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--r-input);
	background: var(--white);
	font-size: var(--fs-body-s);
	font-weight: var(--fw-medium);
	line-height: 1.3;
	text-align: center;
	transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform 120ms var(--ease);
	pointer-events: none;
}
.choice:hover span { border-color: var(--ink); }
.choice input:active + span { transform: scale(0.97); }
.choice input:checked + span { border-color: var(--main); background: var(--t1); box-shadow: inset 0 0 0 1px var(--main); font-weight: var(--fw-semibold); }
.choice input:focus-visible + span { outline: 3px solid var(--main); outline-offset: 2px; }

.consent { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: var(--sp-3); align-items: start; cursor: pointer; }
.consent input { position: absolute; top: 0; left: 0; width: 24px; height: 24px; opacity: 0; margin: 0; cursor: pointer; }
.consent__box { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 1.5px solid var(--line-strong); border-radius: 7px; background: var(--white); color: transparent; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); pointer-events: none; }
.consent input:checked + .consent__box { background: var(--main); border-color: var(--main); color: var(--white); }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--main); outline-offset: 2px; }
.consent__text { font-size: var(--fs-body-s); line-height: 1.5; }

.error-msg { display: none; font-size: var(--fs-caption); font-weight: var(--fw-medium); color: var(--c-error); }
.field.has-error .error-msg { display: block; }
.field.has-error .input, .field.has-error .choice span, .field.has-error .consent__box { border-color: var(--c-error); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-done { display: grid; justify-items: start; gap: var(--sp-3); padding-block: var(--sp-4); }
.lead-done__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--t1); color: var(--main); animation: pop 500ms var(--ease-out) both; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer { padding-block: var(--section-y) var(--sp-6); background: var(--soft); font-size: var(--fs-body-s); }
.site-footer__top { display: grid; gap: var(--sp-7); padding-bottom: var(--sp-7); }
@media (min-width: 640px)  { .site-footer__top { grid-template-columns: repeat(2, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 900px)  { .site-footer__top { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .site-footer__top { grid-template-columns: 1.5fr 1fr 0.8fr 1.15fr 1.1fr; gap: var(--sp-6); } .site-footer__brand { grid-column: auto; } }

.site-footer__brand { display: grid; gap: var(--sp-4); justify-items: start; max-width: 420px; }
.site-footer .site-logo { margin: 0; }
.site-footer .site-logo img { height: 44px; }
.site-footer__brand p { color: var(--muted); }
.site-footer__phone { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; font-size: 1.125rem; font-weight: var(--fw-semibold); color: var(--ink); text-decoration: none; }

.site-footer__heading { margin-bottom: var(--sp-3); font-size: 1rem; letter-spacing: 0; }
.site-footer__col > p { margin-bottom: var(--sp-3); color: var(--muted); }
.footer-menu { list-style: none; padding: 0; display: grid; gap: 2px; }
.footer-menu a { display: inline-flex; align-items: center; gap: var(--sp-1); min-height: 36px; color: var(--muted); text-decoration: none; }
.footer-menu a:hover, .footer-menu .current-menu-item > a { color: var(--ink); text-decoration: underline; }

.site-footer__legal { display: grid; gap: var(--sp-3); padding-top: var(--sp-6); border-top: 1px solid var(--line); }
.site-footer__risk { color: var(--ink); }
.site-footer__legal .legal a { color: inherit; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-3); }
.legal-menu { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-4); font-size: var(--fs-caption); }
.legal-menu a { color: var(--muted); }

/* ==========================================================================
   15. Mobile sticky CTA (home, < 768px)
   ========================================================================== */
.mobile-cta {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 90;
	padding: var(--sp-3) var(--gutter) calc(var(--sp-3) + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
	transform: translateY(110%);
	transition: transform 350ms var(--ease-out);
}
.mobile-cta.is-visible { transform: translateY(0); }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* Floating WhatsApp button (bottom left, every page) */
.wa-float {
	position: fixed;
	left: calc(16px + env(safe-area-inset-left));
	bottom: calc(16px + env(safe-area-inset-bottom));
	z-index: 95;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: var(--fs-body-s);
	box-shadow: 0 8px 24px rgba(2, 60, 58, 0.22);
	transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease), bottom 350ms var(--ease-out), opacity 200ms var(--ease);
}
.wa-float svg { flex: none; }
.wa-float__label { display: none; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(2, 60, 58, 0.28); color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.mobile-cta-on .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
.menu-open .wa-float, .lead-open .wa-float { opacity: 0; pointer-events: none; }
@media (min-width: 768px) {
	.wa-float { left: 24px; bottom: 24px; width: 60px; height: 60px; }
	.wa-float svg { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ==========================================================================
   15b. Inner pages (Help with Debt hub and future guides)
   ========================================================================== */

/* Breadcrumb */
.breadcrumb { margin-bottom: var(--sp-5); font-size: var(--fs-caption); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: var(--fw-semibold); }

/* Hero summary: pay these first, then these */
.order-card { display: grid; gap: var(--sp-3); }
.order-card__group { padding: var(--sp-6); border-radius: var(--r-tile); background: var(--t3); }
.order-card__group--first { background: var(--t1); }
.order-card__label { margin-bottom: var(--sp-3); font-size: var(--fs-body-s); font-weight: var(--fw-semibold); color: var(--muted); }
.order-card__group--first .order-card__label { color: var(--main); }
.order-card ul { display: grid; gap: var(--sp-2); }
.order-card li { display: flex; align-items: center; gap: var(--sp-3); font-size: 1.125rem; font-weight: var(--fw-semibold); }
.order-card__group:not(.order-card__group--first) li { font-weight: var(--fw-medium); color: var(--muted); }
.order-card .icon { flex-shrink: 0; color: var(--main); stroke-width: 2.5; }
.js .order-card__group { animation: tileIn 700ms var(--ease-out) backwards; }
.js .order-card__group + .order-card__group { animation-delay: 220ms; }

/* Priority / non-priority */
.compare__intro { display: grid; gap: var(--sp-4); max-width: 46rem; margin-bottom: var(--sp-6); color: var(--muted); }
.compare__intro strong { color: var(--ink); }

.compare-table { overflow-x: auto; border-radius: var(--r-tile); box-shadow: inset 0 0 0 1px var(--line); }
.compare-table table { width: 100%; min-width: 480px; border-collapse: collapse; }
.compare-table th, .compare-table td { width: 50%; padding: var(--sp-4) var(--sp-5); text-align: left; vertical-align: top; }
.compare-table th { font-size: 1rem; font-weight: var(--fw-semibold); background: var(--t3); }
.compare-table th.compare-table__first { background: var(--t1); }
.compare-table td { border-top: 1px solid var(--line); color: var(--muted); }
.compare-table td.compare-table__first { color: var(--ink); font-weight: var(--fw-medium); }
.compare-table td + td, .compare-table th + th { border-left: 1px solid var(--line); }

.subhead { margin: var(--sp-7) 0 var(--sp-4); font-size: var(--fs-card); line-height: var(--lh-tight); letter-spacing: -0.01em; }

.happens { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .happens { grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }
.happens__item { display: grid; gap: var(--sp-1); padding: var(--sp-5) var(--sp-6); border-radius: var(--r-card); }
.happens__label { font-size: 1.0625rem; }
.happens__item p { color: var(--muted); }

.chip-links { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--sp-5);
	border-radius: var(--r-pill);
	background: var(--soft);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-body-s);
	text-decoration: none;
	transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.chip-links a:hover { background: var(--t1); box-shadow: inset 0 0 0 1px var(--main); }

/* Heading on the left, content on the right */
.split-2 { display: grid; gap: var(--sp-6) var(--sp-8); }
@media (min-width: 1024px) {
	.split-2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
	.split-2__head { position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
}

/* Action checklist (behind on rent) */
.check-cards { display: grid; gap: var(--sp-3); }
.check-cards li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--sp-4); align-items: start; padding: var(--sp-5); border-radius: var(--r-card); background: var(--white); }
.check-cards__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--t1); color: var(--main); }
.check-cards__icon .icon { stroke-width: 2.5; }
.check-cards p { color: var(--muted); }
.check-cards strong { color: var(--ink); }

/* Budgeting: 4 steps + ways to save */
.budget { display: grid; gap: var(--sp-4); }
@media (min-width: 1024px) { .budget { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.budget__steps { display: grid; gap: var(--sp-3); }
.budget__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--sp-4); align-items: center; padding: var(--sp-4) var(--sp-5); border-radius: var(--r-card); background: var(--soft); }
.budget__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--main); color: var(--white); font-weight: var(--fw-semibold); }
.budget__steps p { color: var(--muted); }
.budget__steps strong { color: var(--ink); }
.budget__save { padding: var(--sp-6); border-radius: var(--r-tile); background: var(--t3); }
.budget__save-title { margin-bottom: var(--sp-4); font-size: var(--fs-card); line-height: var(--lh-tight); letter-spacing: -0.01em; }

.tick-list { display: grid; gap: var(--sp-3); }
.tick-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--sp-3); align-items: start; }
.tick-list .icon { margin-top: 3px; color: var(--main); stroke-width: 2.5; }
.tick-list a { color: var(--ink); font-weight: var(--fw-semibold); }

/* Mental health: calm sky band */
.section--calm { background: var(--t2); }
.support-cards { display: grid; gap: var(--sp-3); }
@media (min-width: 900px) { .support-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); } }
.support-cards li { display: grid; align-content: start; gap: var(--sp-4); padding: var(--sp-6); border-radius: var(--r-tile); background: var(--white); }
.support-cards__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-icon); background: var(--t2); color: var(--dark); }
.support-cards p { color: var(--muted); }
.support-cards strong { color: var(--ink); }
.support-cards a { color: var(--ink); font-weight: var(--fw-semibold); white-space: nowrap; }

/* ---------- Debt guide pages ---------- */

/* Hero aside: numbered stages */
.order-card__steps { display: grid; gap: var(--sp-3); }
.order-card__steps li { display: flex; align-items: center; gap: var(--sp-3); font-size: 1.125rem; font-weight: var(--fw-semibold); }
.order-card__num { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--main); font-size: var(--fs-body-s); font-weight: var(--fw-semibold); }
.order-card__steps li + li { position: relative; }
.order-card__steps li + li::before { content: ""; position: absolute; left: 15px; top: calc(-1 * var(--sp-3)); height: var(--sp-3); border-left: 2px dotted var(--main); opacity: 0.4; }

/* Timeline: a real sequence, numbered */
.timeline { display: grid; gap: var(--sp-3); }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-4); } }
.timeline__item { position: relative; display: grid; align-content: start; gap: var(--sp-4); padding: var(--sp-6); border-radius: var(--r-tile); background: var(--soft); }
.timeline__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--main); color: var(--white); font-weight: var(--fw-semibold); }
.timeline__item:last-child { background: var(--t3); }
.timeline__item:last-child .timeline__num { background: var(--dark); }
.timeline__body { display: grid; gap: var(--sp-2); }
.timeline__title { font-size: var(--fs-card); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.timeline__body p { color: var(--muted); }

/* Notes under a section */
.section-note { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--sp-3); max-width: 46rem; margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-input); background: var(--t2); font-size: var(--fs-body-s); }
.section-note .icon { margin-top: 3px; color: var(--dark); }
.section-notes { display: grid; gap: var(--sp-3); max-width: 46rem; margin-top: var(--sp-5); }
.section-outro { margin-top: var(--sp-5); font-weight: var(--fw-semibold); }
.section-link { margin-top: var(--sp-3); }

/* Tick list on a white panel */
.list-panel { max-width: 46rem; padding: var(--sp-6); border-radius: var(--r-tile); background: var(--white); }
.tick-list--large { gap: var(--sp-4); }
.tick-list--large li { font-size: 1.0625rem; }
.tick-list__dot { width: 10px; height: 10px; margin: 8px 5px 0; border-radius: 50%; background: var(--dark); }
.section-risk { max-width: 46rem; margin-top: var(--sp-4); background: var(--soft); }
.section--soft .section-risk { background: var(--white); }

/* Action cards on a white section */
.check-cards--on-white li { background: var(--soft); }

/* Paragraphs before a section's list */
.section-body { display: grid; gap: var(--sp-3); max-width: 46rem; margin-bottom: var(--sp-5); color: var(--muted); }
.section-body strong { color: var(--ink); }

/* List panel: a heading inside, and a soft fill when the section itself is white */
.list-panel__title { margin-bottom: var(--sp-4); font-size: 1.125rem; line-height: var(--lh-tight); letter-spacing: -0.01em; }
.section:not(.section--soft):not(.section--calm) .list-panel { background: var(--soft); }
.tick-list strong { color: var(--ink); }
.section-outro a { color: var(--ink); }
.section-notes strong { color: var(--ink); }

/* Two side-by-side lists (e.g. what bailiffs can / can't do) */
.cols { display: grid; gap: var(--sp-3); }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }
.cols__panel { padding: var(--sp-6); border-radius: var(--r-tile); }
.cols__title { margin-bottom: var(--sp-4); font-size: var(--fs-card); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.cols__panel .tick-list { gap: var(--sp-3); }
.cols__item--cross .icon { color: var(--dark); stroke-width: 2.25; }

/* Ways to lower a bill: tile grid */
.perk-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 640px)  { .perk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.perk-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-4); }
	.perk { grid-column: span 2; }
	.perk:nth-child(4), .perk:nth-child(5) { grid-column: span 3; }
}
.perk { display: grid; align-content: start; gap: var(--sp-2); padding: var(--sp-6); border-radius: var(--r-tile); background: var(--white); }
.perk__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--sp-2); border-radius: var(--r-icon); background: var(--t2); color: var(--dark); }
.perk__title { font-size: var(--fs-card); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.perk p { color: var(--muted); }


/* ---------- Contact page ---------- */
.contact-card { display: grid; gap: var(--sp-3); }
.contact-card__ways { display: grid; gap: var(--sp-3); }
.contact-card__ways li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--sp-4); align-items: center; padding: var(--sp-5); border-radius: var(--r-card); background: var(--t1); }
.contact-card__ways li:nth-child(2) { background: var(--t2); }
.contact-card__ways li:nth-child(3) { background: var(--t3); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-icon); background: rgba(255, 255, 255, 0.72); color: var(--dark); }
.contact-card__text { display: grid; min-width: 0; }
.contact-card__label { font-size: var(--fs-caption); color: var(--muted); }
.contact-card__text a { font-size: 1.125rem; font-weight: var(--fw-semibold); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-card__text a:hover { text-decoration: underline; }
.contact-card__hours { padding: var(--sp-5); border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.contact-card__hours-title { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); font-size: 1.0625rem; letter-spacing: 0; }
.contact-card__hours-title .icon { color: var(--main); }
.contact-card__row { display: flex; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-2); border-top: 1px solid var(--line); font-size: var(--fs-body-s); }
.contact-card__row dd { margin: 0; font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
.contact-card__row.is-closed dd { color: var(--muted); font-weight: var(--fw-regular); }

.callback { display: grid; gap: var(--sp-5); padding: clamp(1.5rem, 1rem + 2vw, 3rem); border-radius: var(--r-panel); background: var(--soft); }
@media (min-width: 900px) { .callback { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sp-8); } }
.callback__action { display: grid; gap: var(--sp-2); justify-items: start; }
@media (max-width: 479.98px) { .callback__action { justify-items: stretch; } }

.contact-more { display: grid; gap: var(--sp-6); }
.urgent { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--sp-4); padding: var(--sp-6); border-radius: var(--r-tile); background: var(--white); }
.urgent__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-icon); background: var(--t3); color: var(--dark); }
.urgent__body { display: grid; gap: var(--sp-3); }
.urgent__title { font-size: var(--fs-h3); }
.urgent__body a { color: var(--ink); font-weight: var(--fw-semibold); }
.contact-legal { display: grid; gap: var(--sp-2); max-width: 46rem; }
.contact-legal a { color: inherit; }

/* ---------- Default pages (legal text) + not found ---------- */
.hero--plain { padding-block: var(--section-y) var(--sp-6); }
.hero--plain .hero__title { max-width: 24ch; }

.prose { max-width: 46rem; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-7); font-size: var(--fs-h3); line-height: 1.25; }
.prose h3 { margin-top: var(--sp-6); font-size: var(--fs-card); }
.prose ul, .prose ol { padding-left: var(--sp-5); }
.prose li + li { margin-top: var(--sp-2); }
.prose a { color: var(--main); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-body-s); }
.prose th, .prose td { padding: var(--sp-3); border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }

/* ---------- Legal pages ---------- */
.legal-hero__head { display: flex; gap: var(--sp-4); align-items: flex-start; }
.legal-hero__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; margin-top: 4px; border-radius: 16px; background: var(--t1); color: var(--main); }
.legal-hero__intro { margin-top: var(--sp-3); max-width: 40rem; color: var(--muted); }
.legal-hero__updated { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); color: var(--muted); }
.legal { padding-top: var(--sp-6); }
.legal__grid { display: grid; gap: var(--sp-6); }
.legal__nav { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-4); border-radius: var(--r-card, 20px); background: var(--soft); border: 1px solid var(--line); }
.legal__nav-title { font-weight: 600; color: var(--ink); }
.legal__nav ul { display: grid; gap: 2px; padding: 0; margin: 0; list-style: none; }
.legal__nav a { display: flex; align-items: center; gap: var(--sp-3); padding: 10px var(--sp-3); border-radius: 12px; color: var(--ink); text-decoration: none; font-size: var(--fs-body-s); line-height: 1.35; transition: background 200ms var(--ease); }
.legal__nav a svg { flex: none; color: var(--main); }
.legal__nav a:hover { background: var(--wash); }
.legal__nav a[aria-current="page"] { background: var(--main); color: var(--white); font-weight: 600; }
.legal__nav a[aria-current="page"] svg { color: var(--white); }
.legal__nav-help { padding-top: var(--sp-3); border-top: 1px solid var(--line); font-size: var(--fs-body-s); color: var(--muted); }
.legal__nav-help a { display: inline; padding: 0; color: var(--main); text-decoration: underline; }
.legal__nav-help a:hover { background: none; }
.legal__body { max-width: 50rem; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body address { font-style: normal; padding: var(--sp-4); border-radius: 12px; background: var(--soft); }
.legal__body table { margin-top: var(--sp-4); }
@media (max-width: 899.98px) {
	.legal__nav ul { grid-template-columns: 1fr 1fr; }
	.legal__nav-help { display: none; }
}
@media (max-width: 479.98px) {
	.legal-hero__icon { width: 44px; height: 44px; border-radius: 12px; }
	.legal__nav ul { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
	.legal__grid { grid-template-columns: 280px minmax(0, 1fr); gap: var(--sp-8, 64px); align-items: start; }
	.legal__nav { position: sticky; top: calc(var(--header-h) + 24px); }
	.admin-bar .legal__nav { top: calc(var(--header-h) + 56px); }
}

.notfound__links { margin-top: var(--sp-6); }

/* ==========================================================================
   15c. Page personalities — same design system, a different look per page
   Each inner page picks a hero layout (split / reverse / banner / dark /
   centered), an accent (mint / sky / sand), section icons and photos.
   ========================================================================== */

/* ---- Accents: tint the hero and the icon badges ---- */
.accent-mint { --wash: #E9F6F1; --badge: var(--t1); }
.accent-sky  { --wash: #EDF4FC; --badge: var(--t2); }
.accent-sand { --wash: #FDF3E6; --badge: var(--t3); }

/* ---- Photos ---- */
.page-img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-panel); }
.page-img--empty {
	display: grid;
	place-items: center;
	align-content: center;
	gap: var(--sp-2);
	padding: var(--sp-5);
	background:
		radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, 0.55), transparent 60%),
		linear-gradient(135deg, var(--badge, var(--t1)) 0%, var(--t2) 100%);
	color: var(--dark);
	text-align: center;
}
.page-img--empty .icon { opacity: 0.45; }
.page-img__label { font-size: var(--fs-caption); line-height: 1.5; color: var(--ink); }
.page-img__label strong { font-weight: var(--fw-semibold); overflow-wrap: anywhere; }

/* ---- Section icon badge ---- */
.section-badge {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: var(--sp-4);
	border-radius: var(--r-icon);
	background: var(--badge, var(--t1));
	color: var(--dark);
}
.section--calm .section-badge, .section--soft .section-badge { background: var(--white); }

/* ---- Hero media column + floating summary card ---- */
.hero__media { position: relative; }
.hero__media .page-img { box-shadow: var(--shadow-lift); }
.order-card--float { position: relative; margin-top: calc(-1 * var(--sp-8)); margin-inline: var(--sp-4); box-shadow: var(--shadow-pop); border-radius: var(--r-tile); background: var(--white); }
.order-card--float .order-card__group { padding: var(--sp-5); }
.order-card--float .order-card__group--first { background: var(--white); }
.order-card--float li { font-size: 1rem; }
@media (min-width: 1024px) {
	.order-card--float { position: absolute; left: calc(-1 * var(--sp-7)); bottom: calc(-1 * var(--sp-6)); width: min(320px, 70%); margin: 0; }
}
.order-card--duo { display: grid; gap: 0; overflow: hidden; }
.order-card--duo .order-card__group + .order-card__group { border-top: 1px solid var(--line); background: var(--soft); }
@media (min-width: 1024px) { .order-card--duo { width: min(360px, 75%); } }

/* Split (default): copy left, photo right */
.hero--split .hero__media { padding-bottom: var(--sp-5); }

/* Reverse: photo left, copy right */
@media (min-width: 1024px) {
	.hero--reverse .hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
	.hero--reverse .hero__media { order: -1; }
	.hero--reverse .order-card--float { left: auto; right: calc(-1 * var(--sp-7)); }
}

/* Banner: copy on top, wide photo underneath with the summary on it */
.hero--banner .hero__grid { grid-template-columns: 1fr; gap: var(--sp-7); }
.hero--banner .hero__copy { display: grid; gap: 0 var(--sp-8); }
@media (min-width: 1024px) {
	.hero--banner .hero__copy { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; }
	.hero--banner .breadcrumb, .hero--banner .hero__title { grid-column: 1; }
	.hero--banner .hero__text, .hero--banner .hero__points, .hero--banner .hero__actions { grid-column: 2; }
	.hero--banner .hero__title { grid-row: 2 / span 3; align-self: start; }
	.hero--banner .order-card--float { left: auto; right: var(--sp-6); bottom: var(--sp-6); }
}

/* Dark: a deep teal band, white type */
.hero--dark { background: var(--dark); color: rgba(255, 255, 255, 0.88); }
.hero--dark .hero__title { color: var(--white); }
.hero--dark .hero__text { color: rgba(255, 255, 255, 0.82); }
.hero--dark .hero__points li { color: var(--white); }
.hero--dark .hero__tick { background: rgba(255, 255, 255, 0.16); color: var(--on-dark); }
.hero--dark .breadcrumb li, .hero--dark .breadcrumb a, .hero--dark .breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, 0.85); }
.hero--dark .breadcrumb li + li::before { color: rgba(255, 255, 255, 0.4); }
.hero--dark .btn--primary { background: var(--white); color: var(--dark); }
.hero--dark .btn--primary:hover { background: var(--t1); color: var(--dark); }
.hero--dark .btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }
.hero--dark .btn--ghost:hover { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.hero--dark :focus-visible { outline-color: var(--white); }
/* The white summary card keeps dark text inside the dark hero */
.hero--dark .order-card { color: var(--ink); }
.hero--dark .order-card li { color: var(--ink); }
.hero--dark .order-card__label { color: var(--main); }

/* Centered: centred copy, wide photo underneath */
.hero--centered .hero__grid { grid-template-columns: 1fr; gap: var(--sp-7); }
.hero--centered .hero__copy { display: grid; justify-items: center; max-width: 48rem; margin-inline: auto; text-align: center; }
.hero--centered .hero__title { max-width: 20ch; }
.hero--centered .breadcrumb ol, .hero--centered .hero__points, .hero--centered .hero__actions { justify-content: center; }
.hero--centered .order-card--float { display: none; }

/* ---- Section photo beside the content ---- */
.with-media { display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) {
	.with-media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); align-items: start; }
	.with-media--right .with-media__img { order: 2; }
	.with-media__img { position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
}
.with-media .list-panel, .with-media .section-note, .with-media .section-notes { max-width: none; }
.section-media { margin-top: var(--sp-6); }
@media (max-width: 1023.98px) { .section-media { max-width: 420px; } }

/* ---- Timeline as a vertical rail ---- */
.timeline--rail { position: relative; grid-template-columns: 1fr !important; gap: 0; max-width: 46rem; }
.timeline--rail::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; border-left: 2px dashed var(--line-strong); }
.timeline--rail .timeline__item { grid-template-columns: 44px minmax(0, 1fr); gap: var(--sp-5); padding: 0 0 var(--sp-6); background: none; }
.timeline--rail .timeline__item:last-child { padding-bottom: 0; background: none; }
.timeline--rail .timeline__num { position: relative; box-shadow: 0 0 0 6px var(--section-bg, var(--white)); }
.section--soft .timeline--rail .timeline__num { box-shadow: 0 0 0 6px var(--soft); }
.timeline--rail .timeline__body { padding: var(--sp-5); border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }

/* ---- Hub: mental health heading with a photo ---- */
.wellbeing-head { display: grid; gap: var(--sp-6); margin-bottom: var(--sp-6); }
@media (min-width: 1024px) { .wellbeing-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); align-items: center; } }
.wellbeing-head .section-head { margin-bottom: 0; }

/* ---- Contact: call-back with a photo ---- */
@media (min-width: 900px) { .callback--media { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; } }
.callback__img .page-img { border-radius: var(--r-tile); }

/* ---- 404 ---- */
.notfound .section-badge { margin-bottom: var(--sp-5); }

/* ---- HTML sitemap ---- */
.sitemap { display: grid; gap: var(--sp-4); }
@media (min-width: 900px) { .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.sitemap__group { padding: var(--sp-6); border-radius: var(--r-tile); background: var(--soft); }
.sitemap__title { margin-bottom: var(--sp-4); font-size: var(--fs-card); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.sitemap__list { display: grid; gap: var(--sp-2); }
.sitemap__list a { display: inline-flex; min-height: 36px; align-items: center; color: var(--ink); font-weight: var(--fw-medium); }

/* ---- Home page photos ---- */
/* Hero: copy + photo side by side, the four debt tiles in one row underneath */
.hero__photo .page-img { box-shadow: var(--shadow-lift); }
.hero__types--row { grid-column: 1 / -1; }
.hero__types--row .tiles__title { margin-bottom: var(--sp-4); font-size: 1.125rem; font-weight: var(--fw-semibold); color: var(--ink); }
.hero__types--row .tile { min-height: 0; gap: var(--sp-5); }
@media (min-width: 1024px) {
	.hero__types--row .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
	.hero__photo { align-self: center; }
}
@media (max-width: 1023.98px) {
	.hero__photo { max-width: 640px; }
}

/* How it works: photo left, steps stacked right */
.steps__layout { display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) {
	.steps__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); align-items: center; }
}
@media (max-width: 1023.98px) { .steps__photo { max-width: 420px; } }
.steps__list--stack { grid-template-columns: 1fr !important; }
.steps__list--stack .step { grid-template-columns: 44px minmax(0, 1fr); gap: var(--sp-1) var(--sp-4); align-items: start; padding: var(--sp-5); }
.steps__list--stack .step__num { grid-row: span 2; margin-bottom: 0; }
.steps__list--stack .step__title { margin-top: 0; }

/* Closing panel with a photo */
@media (min-width: 900px) {
	.closing__panel--photo { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; }
}
.closing__photo .page-img { border-radius: var(--r-tile); }

/* ==========================================================================
   15d. Compact guide pages (debt guides + About): same design, much shorter
   ========================================================================== */
.is-guide .section { padding-block: clamp(2rem, 1.5rem + 2.2vw, 3.5rem); }
.is-guide .section-head { margin-bottom: var(--sp-5); }
.is-guide .section-head .lead { margin-top: var(--sp-2); }
.is-guide .section-badge { width: 44px; height: 44px; margin-bottom: var(--sp-3); border-radius: 12px; }
.is-guide .section-badge .icon { width: 20px; height: 20px; }
.is-guide h2 { font-size: clamp(1.75rem, 1.5rem + 1.1vw, 2.5rem); }

/* Section photos: landscape instead of tall portrait */
.is-guide .section-media .page-img,
.is-guide .with-media__img .page-img { aspect-ratio: 4 / 3 !important; }
.is-guide .section-media { margin-top: var(--sp-5); }
@media (max-width: 1023.98px) {
	.is-guide .section-media .page-img,
	.is-guide .with-media__img .page-img { aspect-ratio: 16 / 9 !important; }
	.is-guide .section-media, .is-guide .with-media__img { max-width: none; }
	.is-guide .with-media { gap: var(--sp-5); }
}
@media (min-width: 1024px) {
	.is-guide .with-media { align-items: center; gap: var(--sp-7); }
	.is-guide .with-media__img { position: static; }
}

/* Timeline cards: tighter; on phones the number sits beside the text */
.is-guide .timeline__item { gap: var(--sp-3); padding: var(--sp-5); }
.is-guide .timeline__num { width: 40px; height: 40px; }
@media (max-width: 899.98px) {
	.is-guide .timeline:not(.timeline--rail) { gap: var(--sp-2); }
	.is-guide .timeline:not(.timeline--rail) .timeline__item { grid-template-columns: 40px minmax(0, 1fr); align-items: start; padding: var(--sp-4); }
	.is-guide .timeline__title { font-size: 1.0625rem; }
}
.is-guide .timeline--rail .timeline__item { padding-bottom: var(--sp-3); }
.is-guide .timeline--rail .timeline__body { padding: var(--sp-4); }

/* Lists: two columns on desktop, tighter everywhere */
.is-guide .list-panel { max-width: none; padding: var(--sp-5); }
.is-guide .tick-list--large { gap: var(--sp-3); }
.is-guide .tick-list--large li { font-size: 1rem; }
@media (min-width: 900px) {
	.is-guide .list-panel .tick-list { grid-template-columns: 1fr 1fr; column-gap: var(--sp-6); }
}
.is-guide .section-notes, .is-guide .section-note, .is-guide .section-risk { max-width: none; margin-top: var(--sp-4); }
.is-guide .section-notes { gap: var(--sp-2); }
.is-guide .section-note { padding: var(--sp-3) var(--sp-4); }

/* Action cards: two columns, tighter */
.is-guide .check-cards { gap: var(--sp-2); }
.is-guide .check-cards li { padding: var(--sp-4); gap: var(--sp-3); grid-template-columns: 32px minmax(0, 1fr); }
.is-guide .check-cards__icon { width: 32px; height: 32px; }
@media (min-width: 900px) { .is-guide .check-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
	.is-guide .split-2 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--sp-7); }
	.is-guide .split-2__head { position: static; }
}

/* Tiles (perks) and columns: tighter */
.is-guide .perk { padding: var(--sp-5); gap: var(--sp-1); }
.is-guide .perk__icon { width: 40px; height: 40px; margin-bottom: var(--sp-1); }
.is-guide .perk__title { font-size: 1.125rem; }
.is-guide .perk-grid, .is-guide .cols, .is-guide .option-grid { gap: var(--sp-3); }
.is-guide .cols__panel { padding: var(--sp-5); }
.is-guide .cols__title { margin-bottom: var(--sp-3); font-size: 1.125rem; }
.is-guide .cols__panel .tick-list { gap: var(--sp-2); }

/* Hero: tighter, smaller banner */
.is-guide .hero { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.is-guide .hero__grid { gap: var(--sp-6); }
.is-guide .hero--banner .hero__media .page-img { aspect-ratio: 21 / 7 !important; }
@media (max-width: 767.98px) {
	.is-guide .hero--banner .hero__media .page-img,
	.is-guide .hero--centered .hero__media .page-img { aspect-ratio: 16 / 9 !important; }
	.is-guide .order-card--float { margin-top: calc(-1 * var(--sp-6)); }
	.is-guide .hero__points { gap: var(--sp-2) var(--sp-4); }
}

/* FAQ + closing panel: tighter on guide pages */
.is-guide .faq__q { min-height: 56px; padding: var(--sp-3) var(--sp-4); font-size: 1.0625rem; }
.is-guide .faq__a { padding: 0 var(--sp-4) var(--sp-4); }
.is-guide .faq__list { gap: var(--sp-2); }
.is-guide .closing { padding-bottom: clamp(2rem, 1.5rem + 2.2vw, 3.5rem); }
.is-guide .closing__panel { padding: clamp(1.5rem, 1rem + 2vw, 3rem); gap: var(--sp-4); }
.is-guide .related-help, .is-guide #related-help { padding-block: var(--sp-6); }

/* Compact: Help with Debt page sections */
.is-guide .compare__intro { margin-bottom: var(--sp-5); gap: var(--sp-3); }
.is-guide .compare-table th, .is-guide .compare-table td { padding: var(--sp-3) var(--sp-4); }
.is-guide .subhead { margin: var(--sp-6) 0 var(--sp-3); font-size: 1.125rem; }
.is-guide .happens__item { padding: var(--sp-4) var(--sp-5); }
.is-guide .budget__steps { gap: var(--sp-2); }
.is-guide .budget__steps li { padding: var(--sp-3) var(--sp-4); }
.is-guide .budget__num { width: 36px; height: 36px; }
.is-guide .budget__steps li { grid-template-columns: 36px minmax(0, 1fr); }
.is-guide .budget__save { padding: var(--sp-5); }
.is-guide .tick-list { gap: var(--sp-2); }
.is-guide .support-cards li { padding: var(--sp-5); gap: var(--sp-3); }
.is-guide .support-cards__icon { width: 40px; height: 40px; }
.is-guide .wellbeing-head { margin-bottom: var(--sp-5); gap: var(--sp-5); }
@media (max-width: 1023.98px) {
	.is-guide .wellbeing-head__img .page-img, .is-guide .hero__photo .page-img { aspect-ratio: 16 / 9 !important; }
	.is-guide .hero__media .page-img { aspect-ratio: 16 / 9 !important; }
}

/* Compact: home page sections */
.is-guide .rank__item, .is-guide .step, .is-guide .option { padding: var(--sp-5); }
.is-guide .rank__top { margin-bottom: var(--sp-3); }
.is-guide .steps__cta, .is-guide .options__notes { margin-top: var(--sp-5); }
.is-guide .rank__foot { margin-top: var(--sp-4); }
@media (max-width: 1023.98px) {
	.is-guide .steps__photo .page-img, .is-guide .closing__photo .page-img { aspect-ratio: 16 / 9 !important; }
	.is-guide .steps__photo { max-width: none; }
}

/* Compact: contact page */
.is-guide .contact-card__ways li { padding: var(--sp-4); }
.is-guide .contact-card__hours { padding: var(--sp-4); }
.is-guide .callback { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); gap: var(--sp-4); }
.is-guide .urgent { padding: var(--sp-5); }
.is-guide .contact-more { gap: var(--sp-4); }

/* ==========================================================================
   16. Motion
   One orchestrated moment: the four tiles settle in on load. Everything
   else only responds to the visitor (hover, open, step change).
   ========================================================================== */
@keyframes tileIn   { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn  { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes sheetUp  { from { transform: translateY(100%); } to { transform: none; } }
@keyframes stepIn   { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes reveal   { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes pop      { 0% { transform: scale(0.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }

.js .tile { animation: tileIn 700ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
