/* Site-wide refinements: spacing, clickable affordance and legacy article alignment */
a[href],button,input[type="button"],input[type="submit"],input[type="reset"],summary,[role="button"]{cursor:pointer}.search-btn{cursor:pointer}
.hero .btn+.btn,.page-hero .btn+.btn,.prose .btn+.btn{margin-left:10px}.article-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.article-actions .btn{margin:0}
.prose a.btn,.hero.compact~.section>.container.prose a.btn{color:#fff!important;text-decoration:none}.prose a.btn.alt,.prose a.btn.secondary{color:#087f45!important;background:#fff}

/* Homepage typography and card system. */
.home-hero-tight{padding-top:42px!important;padding-bottom:42px!important}.home-hero-tight h1{font-size:clamp(3rem,5.1vw,5rem)!important;line-height:.98!important;margin-bottom:16px!important}.home-hero-tight .hero-grid{gap:42px!important;align-items:center}.home-hero-tight .hero-card{padding:24px!important}.home-hero-tight .actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:22px}.home-hero-tight .actions .btn{margin:0}.home-hero-tight p{color:#344f61}.home-hero-tight .eyebrow,.home-goals .eyebrow,.home-quick-actions .eyebrow{font-weight:750;letter-spacing:.095em}.hero-text-link{font-weight:800;color:#087f45;text-decoration:none}.hero-text-link:hover{text-decoration:underline}.home-goals .eyebrow{display:block;margin-bottom:14px}.goal-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.goal-grid a{display:flex;flex-direction:column;gap:5px;padding:15px 14px;border:1px solid #d2e1d9;border-radius:14px;color:#0b2a45!important;text-decoration:none!important;background:#fff;box-shadow:0 1px 2px rgba(11,42,69,.02);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease}.goal-grid a:hover{transform:translateY(-2px);border-color:#78b996;background:#f7fcf9;box-shadow:0 7px 18px rgba(11,42,69,.07)}.goal-grid b{font-size:1.06rem;line-height:1.25;font-weight:850}.goal-grid small{color:#405c6d;font-size:.92rem;line-height:1.4}.home-quick-actions{padding:28px 0 34px;background:#082b48}.home-quick-actions .eyebrow{color:#075f3a;background:#e6f6ed}.quick-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px}.quick-head h2{margin:5px 0 0;color:#fff;font-size:clamp(1.55rem,2.5vw,2.15rem)}.quick-head>a{color:#d9e8ef;font-size:.94rem;font-weight:700;text-decoration:none}.quick-head>a:hover{color:#fff;text-decoration:underline}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.quick-grid>a{display:flex;min-height:92px;flex-direction:column;justify-content:center;padding:16px 18px;border-radius:14px;background:#fff;color:#0b2a45!important;text-decoration:none!important;border:1px solid #d7e3de;box-shadow:0 2px 7px rgba(0,0,0,.06);transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}.quick-grid>a:hover{transform:translateY(-2px);background:#f6fbf8;border-color:#7db99a;box-shadow:0 8px 20px rgba(0,0,0,.11)}.quick-grid b{display:flex;align-items:center;gap:10px;font-size:1.02rem;font-weight:850;line-height:1.3}.quick-grid span:not(.quick-icon){margin-top:7px;color:#405c6d;font-size:.93rem;line-height:1.42}.quick-icon{display:inline-flex;flex:0 0 26px;width:26px;height:26px;align-items:center;justify-content:center;border-radius:8px;background:#e9f6ef;color:#087f45;font-family:Arial,sans-serif;font-size:.88rem;font-style:normal;font-weight:800;line-height:1}

/* Money Path: the six-stage organising journey for the whole product. */
.money-path{border-top:1px solid #e3ece8;border-bottom:1px solid #e3ece8}.money-path .section-head{max-width:760px}.money-path-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:24px}.path-step{position:relative;display:flex;min-height:160px;flex-direction:column;padding:20px 16px;border:1px solid #d8e6df;border-radius:14px;background:#fff;color:#0b2a45!important;text-decoration:none!important;box-shadow:0 2px 8px rgba(11,42,69,.03);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.path-step:hover{transform:translateY(-3px);border-color:#7db99a;box-shadow:0 10px 24px rgba(11,42,69,.08)}.path-step b{font-size:.8rem;letter-spacing:.075em;color:#087f45}.path-step span{margin:12px 0 8px;font-size:1.05rem;font-weight:850;line-height:1.3}.path-step small{margin-top:auto;color:#405c6d;font-size:.91rem;line-height:1.45}.privacy-note{margin:14px 0 0!important;font-size:.92rem!important;color:#405c6d!important}.trust-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px}.trust-links a{font-weight:800;color:#087f45}.home-trust-panel .callout{max-width:920px;margin:auto}

/* Guides directory */
[data-auto-guides="true"]{padding-top:56px}.guide-section-head{margin-top:0;margin-bottom:22px}.guide-section-head:not(:first-child){margin-top:58px}.guide-section-head h2{font-size:clamp(1.8rem,3vw,2.35rem);margin-bottom:6px}.guide-section-head p{margin:0;color:#405c6d}.guide-grid{align-items:stretch;gap:22px}.guide-card{display:flex;flex-direction:column;min-height:245px;padding:25px 25px 22px;border:1px solid #dbe5ea;border-radius:14px;background:#fff;text-decoration:none!important;color:#0b2a45!important;box-shadow:0 2px 8px rgba(11,42,69,.03);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.guide-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(11,42,69,.09);border-color:#7db99a}.guide-card .tag{align-self:flex-start;margin-bottom:12px;font-size:.76rem;font-weight:800;letter-spacing:.06em;color:#087f45}.guide-card h3{font-size:1.18rem;line-height:1.35;margin:0 0 12px;color:#0b2a45}.guide-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 20px;font-size:.96rem;line-height:1.6;color:#405c6d}.guide-card .guide-link{margin-top:auto;font-weight:800;color:#087f45}.guide-card:hover .guide-link{text-decoration:underline}

/* Money-saving idea detail pages */
body.money-idea-detail .page-hero{background:radial-gradient(circle at 78% 24%,#fff0a8 0,transparent 24%),linear-gradient(120deg,#eaf7ff,#fff9df 58%,#eef6f1);padding:46px 0 48px}body.money-idea-detail .page-hero .wrap{max-width:1120px}body.money-idea-detail .page-hero h1{max-width:820px;font-size:clamp(2.8rem,5vw,4.7rem);margin-bottom:16px}body.money-idea-detail .page-hero p{max-width:760px;font-size:1.14rem;line-height:1.65}body.money-idea-detail .section>.container.prose{max-width:800px;margin:0 auto;padding:10px 20px 0}body.money-idea-detail .content{padding:0}body.money-idea-detail .content>.wrap{max-width:840px}body.money-idea-detail .article-layout{display:block}body.money-idea-detail .article-layout>article.prose{max-width:800px;margin:0 auto;padding:0 20px}body.money-idea-detail .article-layout .sidebar{display:none}body.money-idea-detail .prose h2{font-size:clamp(1.55rem,2.4vw,2rem);line-height:1.2;margin:0 0 14px;padding-top:42px;letter-spacing:-.03em}body.money-idea-detail .prose h3{font-size:1.25rem;margin:28px 0 10px}body.money-idea-detail .prose p{font-size:1.03rem;line-height:1.78;margin:0 0 18px}body.money-idea-detail .updated{max-width:800px;padding:20px 20px 54px;margin:0 auto;border-top:1px solid #e2e8f0}
@media(max-width:980px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.money-path-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.hero .btn+.btn,.page-hero .btn+.btn,.prose .btn+.btn{margin-left:0;margin-top:10px}.home-hero-tight{padding-top:30px!important;padding-bottom:30px!important}.home-hero-tight h1{font-size:3rem!important}.goal-grid{grid-template-columns:1fr 1fr}.quick-head{align-items:start;flex-direction:column;gap:8px}.quick-grid{grid-template-columns:1fr 1fr;gap:9px}.quick-grid>a{min-height:98px;padding:14px}.quick-grid b{gap:8px}.quick-icon{width:24px;height:24px;flex-basis:24px}.money-path-grid{grid-template-columns:1fr 1fr;gap:10px}.path-step{min-height:145px;padding:17px 14px}.trust-links{flex-direction:column;gap:10px}body.money-idea-detail .page-hero{padding:34px 0 38px}body.money-idea-detail .page-hero h1{font-size:2.65rem}body.money-idea-detail .section>.container.prose,body.money-idea-detail .article-layout>article.prose{padding-left:0;padding-right:0}}
@media(max-width:420px){.goal-grid,.quick-grid,.money-path-grid{grid-template-columns:1fr}.path-step{min-height:0}}

/* Debt Planner: labelled inputs and repayment results. */
#debtRows label{display:block;font-size:.85rem;font-weight:700;min-width:0}#debtRows input{display:block;width:100%;font:inherit;font-weight:400}#debtRows input[aria-invalid="true"]{border:2px solid #b42318}.debt-row{align-items:end}.debt-row .remove-row{min-height:40px}.debt-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.debt-summary p{margin:0;padding:12px;background:#fff;border-radius:10px}.debt-table-scroll{overflow-x:auto;margin:16px 0}.debt-table-scroll table{width:100%;border-collapse:collapse;background:#fff;font-size:.9rem}.debt-table-scroll th,.debt-table-scroll td{padding:10px;text-align:left;border-bottom:1px solid #c8d5df;vertical-align:top}.debt-table-scroll th{background:#dcefe3}#calcResult details summary{font-weight:800;margin:20px 0}#calcResult small{display:block;line-height:1.6}@media print{#calcResult details>summary{display:none}#calcResult details>*{display:block!important}.debt-table-scroll{overflow:visible}.debt-table-scroll table{font-size:8pt}.debt-table-scroll tr{break-inside:avoid}}@media(max-width:620px){#debtRows .dname{grid-column:auto}.debt-row label:first-child{grid-column:1/-1}.debt-summary{grid-template-columns:1fr}}
/* Preserve the former hero target shortcuts below the stable homepage hero. */
.target-shortcuts{margin-top:24px;color:#fff}.target-shortcuts h3{font-size:1.05rem}.target-shortcuts .amounts a{background:#fff;color:#0b2a45}
.search-description{display:block}

/* Mobile usability: generous tap targets and visible keyboard focus for key discovery links. */
@media(max-width:620px){.home-quick-actions .quick-grid>a,.home-hero-tight .actions a,.mobile-nav a,.mobile-nav summary,.target-shortcuts .amounts a{min-height:44px}.home-hero-tight .actions{flex-wrap:wrap}.home-hero-tight .actions a{max-width:100%;overflow-wrap:anywhere}}
.home-quick-actions a:focus-visible,.home-hero-tight a:focus-visible,.mobile-nav a:focus-visible,.mobile-nav summary:focus-visible{outline:3px solid #087f45;outline-offset:3px}

/* 2026-10-12 mobile browser QA: expand text-link hit areas without changing destinations. */
@media(max-width:620px){
.site-header .menu{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.mobile-nav>a,.mobile-nav details>a,.mobile-nav summary{display:flex;align-items:center;min-height:44px;padding-block:10px}
.home-quick-actions .quick-head>a,.payday-return a,.home-trust-panel .trust-links a{display:inline-flex;align-items:center;min-height:44px;padding-block:9px}
.home-trust-panel .trust-links{gap:8px 18px}
.footer .footer-grid a:not(.brand){display:flex;align-items:center;min-height:44px;margin:0;padding-block:9px}
.footer .cookie-settings-link{min-height:44px;padding:9px 0;text-align:left}
}

/* Keep the full header within the viewport; use the menu before links crowd. */
@media screen and (min-width:1321px){
 .site-header .wrap{width:min(1440px,calc(100% - 36px))}
}
@media screen and (min-width:1021px) and (max-width:1320px){
 .desktop-nav{display:none}
 .menu{display:block}
 .nav-cta{margin-left:auto}
 .mobile-nav.open{display:block;position:absolute;top:72px;left:0;right:0;background:#fff;border-bottom:1px solid #dfe8ee;padding:15px 24px;max-height:calc(100vh - 72px);overflow:auto}
 .mobile-nav details{border-bottom:1px solid #edf1f4;padding:8px 0}
 .mobile-nav summary{font-weight:800;cursor:pointer}
 .mobile-nav details a{display:block;padding:8px 14px;text-decoration:none}
 .mobile-nav>.btn{margin-top:12px}
}

.print-document-title{font-size:2rem;line-height:1.15;margin:0 0 12px}.search-overlay.open{overflow-y:auto}.search-description{display:block;color:#40566b;line-height:1.45;margin-top:4px}.cookie-settings-link:focus-visible,.close:focus-visible{outline:3px solid #087f45;outline-offset:3px}

.sam-progress{display:block;width:100%;height:10px;border:0;border-radius:99px;overflow:hidden;appearance:none;background:#e4ebef}.sam-progress::-webkit-progress-bar{background:#e4ebef;border-radius:99px}.sam-progress::-webkit-progress-value{background:#087f45;border-radius:99px}.sam-progress::-moz-progress-bar{background:#087f45;border-radius:99px}.moneyfinder-amount{max-width:180px}.desktop-nav .nav-group:nth-last-child(-n+2) .mega{left:auto;right:0}

.breadcrumbs{color:#40566b}.page-hero h1,.hero h1,.prose a{overflow-wrap:anywhere}
@media(max-width:620px){.site-header .search-btn,.site-header .menu{min-width:44px;min-height:44px}}
@media(max-width:380px){.site-header .nav{gap:6px}.site-header .brand{font-size:.84rem}.site-header .mark{width:27px;height:27px;margin-right:6px}.site-header .search-btn{padding:8px}.site-header .menu{padding:7px 9px}}
@media print{body.samm-pound-tracker .checklist{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}body.samm-pound-tracker .check{padding:8px;font-size:10pt}body.samm-pound-tracker .print-sheet{break-inside:avoid}body.samm-pound-tracker .article-layout{display:block}}
@media print{@page{size:A4;margin:14mm}.print-only-title{display:none!important}.printable-page .article-layout{display:block}.printable-page .print-sheet{padding:0;border:0}}

/* Keep the shared header usable at the 640px reflow width as well as narrow phones. */
@media screen and (min-width:621px) and (max-width:700px){.site-header .nav-cta{display:none}}
