/* UKSalarySacrificeCalculator on the portfolio design system (Settle style, 24 Oct 2026; same approach as
   ukcapitalgainstaxcalculator's cgt.css and pensiontaxreliefcalculator's pension.css). custom.css and cards.css are
   local copies of the shared system; this file restyles this site's own components onto it (nav, footer, offer cards,
   guides, calculators, packs page, cookie banner) and adds the homepage sections. Loaded after each page's own <style>, so it wins at equal specificity.
   No ads, no transforms on cards. Behaviour, copy, maths and tracking are unchanged. */

:root {
  --accent: #1B6B6B;
  --accent-light: #E8F5F5;
  --accent-hover: #155A5A;
  --sp-bg: #F7F7F4;
  --ss-ink: #1C2928;
  --ss-muted: #667370;
  --ss-teal: #176C69;
  --ss-line: #E4E6E3;
  --ss-warm: #7A5A33;
  --ss-shadow: 0 1px 2px rgba(28,41,40,.04), 0 12px 32px -24px rgba(28,41,40,.28);
  --ss-serif: 'BenSerifF', 'Fraunces', Georgia, serif;
}
body { background: #FAFAF8; color: #1A1A18; }
h1, h2, h3, .font-display { font-variation-settings: 'opsz' 24; }

/* ── Site nav (Settle site-nav) ─────────────────────────── */
.nav.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid #E8E6E1; }
.site-nav .nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; position: relative; }
@media (min-width: 768px) { .site-nav .nav-inner { height: 72px; padding: 0 1.25rem; } }
.site-nav .nav-brand { font-family: var(--ss-serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -.015em; color: #1A1A18; white-space: nowrap; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.site-nav .nav-brand span { color: var(--accent); }
.site-nav .nav-brand:hover { color: var(--accent); }
.site-nav .nav-links { display: flex; gap: 22px; align-items: center; white-space: nowrap; }
.site-nav .nav-links a { color: #6B6860; background: none; font-size: .9375rem; font-weight: 500; padding: 6px 0; border-radius: 6px; text-decoration: none; }
.site-nav .nav-links a:hover, .site-nav .nav-links a.active { color: var(--accent); background: none; }
.site-nav .nav-links a.site-nav__cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; line-height: 1; box-shadow: 0 1px 2px rgba(14,74,71,.18); }
.site-nav .nav-links a.site-nav__cta:hover { background: var(--accent-hover); color: #fff; }
.site-nav .nav-links a:focus-visible, .site-nav .nav-brand:focus-visible { outline: 3px solid rgba(27,107,107,.38); outline-offset: 3px; }
.site-nav .nav-mm-only { display: none; }
.site-nav .nav-mobile-toggle { display: none; flex: 0 0 auto; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; }
.site-nav .nav-mobile-toggle svg { width: 22px; height: 22px; color: #1A1A18; }
@media (min-width: 1280px) { .site-nav .nav-links { gap: 28px; } }
@media (max-width: 1023px) {
  .site-nav .nav-mobile-toggle { display: flex; }
  .site-nav .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; z-index: 101; flex-direction: column; align-items: stretch; gap: .25rem;
    background: #fff; border-bottom: 1px solid #E8E6E1; box-shadow: 0 10px 24px -12px rgba(28,41,40,.25); padding: 1rem 1.25rem 1.25rem; white-space: normal; }
  .site-nav .nav-links.open { display: flex; }
  .site-nav .nav-links a { padding: .55rem 0; font-size: 1rem; color: #1A1A18; }
  .site-nav .nav-links a.site-nav__cta { justify-content: center; margin-top: .6rem; min-height: 48px; color: #fff; }
  .site-nav .nav-mm-only { display: block; }
}
@media (min-width: 768px) and (max-width: 1023px) { .site-nav .nav-links { top: 72px; } }
@media (max-width: 380px) { .site-nav .nav-brand { font-size: 1.02rem; } }

/* ── Breadcrumbs ────────────────────────────────────────── */
.breadcrumbs { font-size: .8125rem; }
.breadcrumbs a, .art-bc a { color: #6B6860; }

/* ── Footer (Settle footer) ─────────────────────────────── */
.footer.ss-footer { background: #F5F4F0; border-top: 1px solid #E8E6E1; padding: 3rem 1rem 2.25rem; margin-top: 4rem; }
.ss-footer__notice { max-width: 1120px; margin: 0 auto 2rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid #E8E6E1; border-radius: 12px; font-size: .875rem; line-height: 1.6; color: #6B6860; }
.ss-footer__notice strong { color: #1A1A18; font-weight: 600; }
.ss-footer__brand { max-width: 1120px; margin: 0 auto 1.75rem; }
.ss-footer__logo { font-family: var(--ss-serif); font-weight: 600; font-size: 1.125rem; color: #1A1A18; margin: 0 0 .25rem; overflow-wrap: anywhere; }
.ss-footer__logo span { color: var(--accent); }
.ss-footer__tag { font-size: .875rem; color: #6B6860; margin: 0; max-width: 32rem; }
.ss-footer .footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.ss-footer .footer-col h4 { font-family: 'DM Sans', system-ui, sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9C9890; margin: 0 0 .7rem; }
.ss-footer .footer-col a { display: block; font-size: .875rem; color: #6B6860; padding: .22rem 0; text-decoration: none; overflow-wrap: break-word; }
.ss-footer .footer-col a:hover { color: var(--accent); }
.ss-footer .footer-bottom { max-width: 1120px; margin: 2rem auto 0; padding-top: 1.25rem; text-align: center; font-size: .75rem; line-height: 1.6; color: #9C9890; border-top: 1px solid #E8E6E1; }
.ss-footer .footer-bottom a { display: inline; }
@media (min-width: 768px) { .footer.ss-footer { padding-left: 1.25rem; padding-right: 1.25rem; } }
@media (max-width: 900px) { .ss-footer .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1rem; } }
@media (max-width: 640px) { .ss-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; } }

/* ── Buttons on this site's own classes → the system button ─ */
.pko .pko-btn, .side-offer-btn, .pk-btn, .hero-cta, .ups .ups-btn, .upc .upc-btn {
  border-radius: 12px !important; font-weight: 600 !important; letter-spacing: -.005em;
  background: var(--sp-teal, #176C69); color: #fff; box-shadow: 0 1px 2px rgba(14,74,71,.18);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.pko .pko-btn:hover, .side-offer-btn:hover, .pk-btn:hover, .hero-cta:hover, .ups .ups-btn:hover, .upc .upc-btn:hover { background: var(--sp-teal-hover, #125A57); color: #fff; filter: none; transform: none; }
.pko .pko-btn:focus-visible, .side-offer-btn:focus-visible, .pk-btn:focus-visible { outline: 3px solid rgba(23,108,105,.35) !important; outline-offset: 2px; }

/* ── In-content offer cards (.pko) → Settle offer panel ─── */
.pko { background: #fff; border: 1px solid var(--ss-line); border-left: 1px solid var(--ss-line); border-radius: 16px; box-shadow: var(--ss-shadow); padding: 1.25rem; gap: 1.125rem; color: var(--ss-ink); }
.pko-cover { box-shadow: none; border-radius: 4px; overflow: visible; background: none; }
.pko-cover img { border-radius: 4px; border: 1px solid rgba(28,41,40,.10); box-shadow: 0 4px 12px -6px rgba(28,41,40,.25); }
.pko .pko-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--ss-teal); margin-bottom: .375rem; }
.pko .pko-head { font-family: var(--ss-serif); font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; color: var(--ss-ink); line-height: 1.3; }
.pko .pko-text { font-size: .9375rem; color: var(--ss-muted); line-height: 1.55; }
.pko .pko-btn { min-height: 46px; padding: .75rem 1.15rem; font-size: .9375rem; display: inline-flex; align-items: center; justify-content: center; }
.pko .pko-micro { font-size: .8125rem; color: var(--ss-muted); }
.pko-alt { color: var(--ss-muted); }
.pko-alt a { color: var(--ss-teal); }
.pko-inset { padding: 0 1.1rem 1.1rem; }
@media (max-width: 639px) {
  .pko .pko-btn { display: flex; width: 100%; }
  .pko { padding: 1.05rem; }
}
.ups { background: var(--sp-bg); border-color: var(--ss-line); border-radius: 14px; }
.ups .ups-head, .upc .upc-head { font-family: var(--ss-serif); font-weight: 600; color: var(--ss-ink); }
.upc { border: 1px solid var(--ss-line); border-left: 1px solid var(--ss-line); border-radius: 16px; box-shadow: var(--ss-shadow); }
.upc .upc-eyebrow { color: var(--ss-teal); font-weight: 600; }

/* Desktop sidebar card (side_offer_card) → sp-card--side */
@media (min-width: 1024px) {
  .side-offer { border: 1px solid var(--ss-line) !important; border-radius: 16px !important; box-shadow: var(--ss-shadow); padding: 1.125rem 1.125rem 1.25rem !important; grid-template-columns: 58px minmax(0,1fr) !important; }
  .side-offer:hover { border-color: rgba(23,108,105,.38) !important; box-shadow: 0 1px 2px rgba(28,41,40,.05), 0 18px 40px -22px rgba(28,41,40,.38) !important; }
  .side-offer-img { width: 58px !important; border-radius: 3px !important; border: 1px solid rgba(28,41,40,.10); box-shadow: 0 1px 2px rgba(28,41,40,.06), 0 6px 14px -8px rgba(28,41,40,.30) !important; }
  .side-offer-name { font-family: var(--ss-serif); font-weight: 600 !important; font-size: 1rem !important; color: var(--ss-ink); }
  .side-offer-price { color: var(--ss-ink) !important; font-weight: 600 !important; font-size: .9375rem !important; }
  .side-offer-price small { color: var(--ss-muted) !important; }
  .side-offer-ticks li { color: var(--ss-ink) !important; font-size: .8125rem !important; }
  .side-offer-ticks li::before { color: var(--ss-teal) !important; }
  .side-offer-btn { display: flex !important; justify-content: center; align-items: center; min-height: 42px; font-size: .875rem !important; padding: .5rem .75rem !important; }
  .side-offer-btn::after { border-radius: 16px !important; }
}

/* ── Guides (Settle guide layout) ───────────────────────── */
.art-body h1 { font-family: var(--ss-serif) !important; font-weight: 500 !important; letter-spacing: -.02em !important; line-height: 1.12 !important; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem) !important; max-width: 24ch; }
.art-body h2 { font-family: var(--ss-serif) !important; font-size: 1.375rem !important; font-weight: 600 !important; letter-spacing: -.01em !important; color: #1A1A18 !important; border-bottom: 0 !important; padding-bottom: 0 !important; margin: 2.25rem 0 .75rem !important; }
.art-body h3 { font-family: var(--ss-serif) !important; font-weight: 600 !important; font-size: 1.0625rem !important; }
.art-body p { font-size: 1rem; line-height: 1.72; color: #5F5C55; }
.art-body ul, .art-body ol { font-size: .975rem; color: #5F5C55; }
.art-body a { color: var(--ss-teal); }
.art-body a.pko-btn, .art-body .pko a.pko-btn { color: #fff; }
.art-body .badge, .art-body [style*="text-transform:uppercase"][style*="font-weight:700"] { background: #E8F5F5 !important; border-color: rgba(27,107,107,.18) !important; color: #1B6B6B !important; font-weight: 600 !important; }
.art-takeaways { background: #E8F5F5; border: 0; border-left: 3px solid #1B6B6B; border-radius: 0 .75rem .75rem 0; padding: 1.1rem 1.35rem; }
.art-toc-card { border-radius: 16px; border-color: var(--ss-line); }
.art-calc-card { background: #1B6B6B; border-radius: 16px; }
.art-body .pko-wrap { margin: 1.75rem 0; }
.art-body > section > div:last-child, .art-body > section.section > div:last-of-type { border-radius: 14px; border-color: var(--ss-line); }
.art-body table { border-color: var(--ss-line); }
.art-body th { background: #F5F4F0; }

/* ── Generic content pages (guide_page, static pages, blog) ── */
.section h2 { font-family: var(--ss-serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.section-label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ss-warm); }
.badge { background: #E8F5F5; color: #1B6B6B; font-weight: 600; }
.card { border-radius: 14px; border-color: var(--ss-line); }
.pill { border-radius: 999px; }
.guide-card, .tool-card { background: #fff; border: 1px solid var(--ss-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(28,41,40,.04); }
.guide-card:hover, .tool-card:hover { border-color: rgba(23,108,105,.45); box-shadow: 0 1px 2px rgba(28,41,40,.05), 0 18px 40px -22px rgba(28,41,40,.38); transform: none; }
.guide-card h3, .tool-card h3 { font-family: var(--ss-serif); font-weight: 600; font-size: 1rem; }
.guide-card .guide-topic { color: #9C9890; font-weight: 600; letter-spacing: .06em; }
.guide-arrow { transform: none !important; }
.tool-tag-live { background: #E8F5F5; color: #1B6B6B; border-color: rgba(27,107,107,.2); }

/* ── Calculators ────────────────────────────────────────── */
.calc-card { border: 1px solid var(--ss-line) !important; border-top: 1px solid var(--ss-line) !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(28,41,40,.04), 0 18px 44px -28px rgba(28,41,40,.35) !important; }
.calc-header h2 { font-family: var(--ss-serif); font-weight: 600 !important; }
.calc-year-badge { background: #E8F5F5 !important; color: #1B6B6B !important; border-radius: 999px !important; border-color: rgba(27,107,107,.18) !important; }
.calc-widget { border: 1px solid var(--ss-line); border-top: 1px solid var(--ss-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(28,41,40,.04), 0 18px 44px -28px rgba(28,41,40,.35); }
.calc-widget-header h2 { font-family: var(--ss-serif); font-weight: 600; }
.calc-widget-results { background: var(--sp-bg); }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27,107,107,.14); }
.assumptions { border-radius: 10px; }

/* ── Homepage (data-home-*) ─────────────────────────────── */
.ss-home-hero { padding-left: 1rem; padding-right: 1rem; text-align: center; }
.ss-home-hero .hh__title { max-width: 18ch; font-size: clamp(2rem, .9rem + 3.6vw, 3.5rem); font-weight: 400; margin-left: auto; margin-right: auto; }
.ss-home-hero .hh__lede { max-width: 640px; }
@media (max-width: 767px) { .ss-home-hero { min-height: 0; padding-top: 30px; padding-bottom: 22px; } .ss-home-hero .hh__lede { margin-top: 16px; } .ss-home-hero .hh__ctas { margin-top: 22px; } }
.hh__btn { white-space: nowrap; }
@media (max-width: 380px) { .ss-home-hero .hh__btn { padding: 0 16px; font-size: 1rem; } }
.ss-sm { display: none; }
@media (max-width: 639px) { .ss-lg { display: none; } .ss-sm { display: inline; } }
.ss-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 22px auto 0; padding: 0; list-style: none; max-width: 46rem; }
.ss-stats li { font-size: .8125rem; color: #6B6860; padding: .35rem .8rem; border: 1px solid #E8E6E1; border-radius: 999px; background: #fff; }
.ss-stats strong { color: #1A1A18; font-weight: 600; }
.ss-xsite { margin: 18px auto 0; padding: 0; list-style: none; display: grid; gap: .3rem; font-size: .875rem; line-height: 1.45; }
.ss-xsite a { color: #6B6860; text-decoration: none; }
.ss-xsite a span { color: var(--accent); font-weight: 600; white-space: nowrap; }
.ss-xsite a:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 639px) { .ss-stats { display: none; } }

.ss-band { background: var(--sp-bg); border-top: 1px solid #E8E6E1; border-bottom: 1px solid #E8E6E1; padding: 3rem 1rem; margin: 1.5rem 0 0; }
@media (min-width: 768px) { .ss-band { padding: 4rem 1.25rem; } }
.ss-wrap { max-width: 1000px; margin: 0 auto; }
.ss-sec-h { font-family: var(--ss-serif); font-weight: 600; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.015em; color: #1A1A18; margin: 0 0 .5rem; }
@media (min-width: 768px) { .ss-sec-h { font-size: 1.875rem; } }
.ss-sec-lede { color: #6B6860; font-size: 1rem; line-height: 1.6; margin: 0 auto 2rem; max-width: 40rem; }
.ss-center { text-align: center; }

/* The featured pack, as one product card: cover + inside page left, value stack right (stacked on phones). */
.ss-pack.sp-card { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 940px; margin: 0 auto; height: auto; }
@media (min-width: 820px) {
  .ss-pack.sp-card { grid-template-columns: 400px minmax(0, 1fr); }
  .ss-pack .sp-media--pack { height: auto; align-self: stretch; border-bottom: 0; border-right: 1px solid var(--sp-border); }
  .ss-pack .sp-media--pack .sp-cover { height: 300px; }
  .ss-pack .sp-media--pack .sp-page--back { height: 240px; }
}
.ss-pack .sp-media--pack { padding: 28px 20px; }
@media (max-width: 819px) { .ss-pack .sp-media--pack { height: 260px; } }
@media (max-width: 420px) { .ss-pack .sp-media--pack { height: 236px; } }
.ss-pack .sp-body { padding: 1.5rem 1.5rem 1.4rem; }
@media (max-width: 420px) { .ss-pack .sp-body { padding: 1.15rem 1rem 1.1rem; } }
.ss-pack .sp-badge { text-transform: none; letter-spacing: .02em; font-size: .8125rem; }
.ss-pack .sp-badge::before { content: none; }
.ss-pack .sp-head { flex-wrap: wrap; row-gap: .25rem; }
.ss-pack .sp-title { font-family: var(--ss-serif); font-size: 1.375rem; line-height: 1.25; }
.ss-pack .sp-price { font-size: 1.5rem; }
.ss-pack .sp-ticks { margin: 1.1rem 0 .9rem; gap: .7rem; }
.ss-pack .sp-ticks b { font-weight: 600; color: var(--sp-text); }
.ss-pack .sp-ticks span { color: #46524F; }
.ss-pack__plus { margin: 0 0 1.1rem; padding-top: .75rem; border-top: 1px solid #EEF0ED; font-size: .875rem; line-height: 1.5; color: var(--ss-muted); }
.ss-pack .sp-btn { white-space: nowrap; }
.ss-pack .sp-note span { white-space: nowrap; }
.ss-pack .sp-kit__alt { text-align: center; }
.ss-free-line { max-width: 46rem; margin: 1.5rem auto 0; text-align: center; font-size: .9375rem; line-height: 1.55; color: var(--ss-muted); }
.ss-free-line a { color: #1B6B6B; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Homepage FAQ (white accordion boxes) */
.ss-faq .faq-item { background: #fff; border: 1px solid #E8E6E1; border-radius: .75rem; margin: 0 0 .5rem; overflow: hidden; }
.ss-faq .faq-item summary { padding: 1.1rem 1.25rem; font-weight: 500; font-size: .9375rem; }
.ss-faq .faq-item summary:hover { background: #F5F4F0; }
.ss-faq .faq-answer { padding: 0 1.25rem 1.2rem; }
.mft-card { border-radius: 14px !important; border-color: var(--ss-line) !important; }

/* ── Packs page ─────────────────────────────────────────── */
.pkl-item { border-radius: 16px !important; border-color: var(--ss-line) !important; box-shadow: var(--ss-shadow); }
.pkl-btn { border-radius: 12px !important; background: var(--sp-teal, #176C69) !important; font-weight: 600 !important; }

/* ── Cookie banner (Settle cc-card look; behaviour unchanged) ─ */
#cookie-consent-banner { background: transparent !important; border-top: 0 !important; box-shadow: none !important; padding: .75rem !important; pointer-events: none; }
#cookie-consent-banner .cc-inner { pointer-events: auto; max-width: 40rem !important; background: #fff; border: 1px solid #E8E6E1; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); padding: 1rem; }
#cookie-consent-banner .cc-long { color: #6B6860 !important; font-size: .78rem !important; }
#cookie-consent-banner .cc-long a { color: #1B6B6B !important; }
#cookie-consent-banner #cookie-accept-btn { background: #1B6B6B !important; border-radius: .75rem !important; padding: .55rem 1.1rem !important; }
#cookie-consent-banner #cookie-decline-btn { border-radius: .75rem !important; border: 1px solid #E8E6E1 !important; color: #6B6860 !important; padding: .55rem 1.1rem !important; }
@media (max-width: 640px) {
  html #cookie-consent-banner.cc-compact { padding: .4rem .75rem !important; background: #fff !important; box-shadow: 0 -4px 20px rgba(0,0,0,.08) !important; border-top: 1px solid #E8E6E1 !important; }
  html #cookie-consent-banner.cc-compact .cc-inner { max-width: none !important; box-shadow: none; border: 0; border-radius: 0; padding: 0; }
  #cookie-consent-banner.cc-compact #cookie-accept-btn, #cookie-consent-banner.cc-compact #cookie-decline-btn { padding: .4rem .75rem !important; }
}
/* Base breadcrumbs already show on guides; the article's own duplicate trail is hidden (BreadcrumbList JSON-LD unchanged). */
.breadcrumbs ~ .art-wrap .art-bc { display: none; }
/* Phones: the calculator's title wraps instead of being cut off with an ellipsis (serif headings set wider). */
@media (max-width: 640px) { .calc-header h2 { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; max-width: none !important; } }

/* ── Homepage top block (partials/home_landing_top.html), as on the CGT / HomeBuyingCosts homepages ── */
.ss-home-hero .hh__title { max-width: 19ch; font-size: clamp(2.125rem, .9rem + 4vw, 4rem); }
.ss-band--top { margin-top: 0; }
@media (min-width: 768px) { .ss-band--top { padding: 4.5rem 1.25rem; } }
.ss-band--top .ss-wrap { max-width: 1120px; }
.ss-packs { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 760px; margin: 0 auto; }
@media (min-width: 640px) { .ss-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
.ss-packs .sp-badge::before { content: none; }
.ss-packs .sp-media--pack { height: 230px; padding: 20px 16px 18px; }
.ss-packs .sp-body { padding: 1.25rem; }
.ss-packs .sp-title { font-family: var(--ss-serif); font-size: 1.125rem; }
.ss-packs .sp-line { font-size: .9rem; }
.ss-packs .sp-ticks { font-size: .875rem; gap: .5rem; margin: 1rem 0 1.25rem; }
.ss-packs .sp-btn { font-size: .9375rem; padding: .7rem 1rem; }
.ss-packs .sp-badge { margin-bottom: .5rem; letter-spacing: .03em; text-transform: none; font-size: .8125rem; }
.ss-packs .sp-note span { white-space: nowrap; }
.ss-tpack__price { font-size: .875rem; color: var(--ss-muted); white-space: nowrap; font-weight: 500; }
@media (max-width: 639px) {
  .ss-packs .sp-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
  .ss-packs .sp-media--pack { height: auto; padding: 1rem 0 0 1rem; background: none; border: 0; justify-content: flex-start; }
  .ss-packs .sp-media--pack .sp-page--back { display: none; }
  .ss-packs .sp-media--pack .sp-page--cover { width: 80px; height: auto; }
  .ss-packs .sp-body { padding: 1rem 1rem 1.1rem .9rem; }
  .ss-packs .sp-ticks { display: none; }
  .ss-packs .sp-line { margin-bottom: .85rem; }
  .ss-packs .sp-btn, .ss-packs .sp-note { margin-left: -94px; width: calc(100% + 94px); }
  .ss-packs .sp-btn { min-height: 46px; white-space: nowrap; font-size: .9375rem; }
  .ss-packs .sp-note { text-align: center; }
  .ss-packs .sp-title { font-size: 1.0625rem; }
  .ss-packs .sp-line { font-size: .875rem; line-height: 1.5; }
}
.ss-band--top .ss-free-line { margin-top: 1.75rem; }
/* Calculator intro (keeps the page's H1) */
.ss-calc-intro { max-width: var(--max-w); margin: 0 auto; padding: 3rem 1.25rem 1rem; }
.ss-calc-intro .hero-badge { background: #E8F5F5; color: #1B6B6B; }
.ss-calc-intro h1 { font-family: var(--ss-serif); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); letter-spacing: -.02em; line-height: 1.15; }
.ss-calc-intro p { color: #6B6860; max-width: 640px; font-size: 1rem; line-height: 1.6; }
.ss-calc-intro .hero-links a, .ss-calc-intro .hero-stat { border-color: #E8E6E1; background: #fff; }
@media (max-width: 639px) { .ss-calc-intro { padding-top: 2.25rem; } .ss-calc-intro .hero-links { display: none; } }
.ss-intro-xsite { margin: .75rem 0 0; padding: 0; list-style: none; display: grid; gap: .3rem; font-size: .86rem; line-height: 1.45; }
.ss-intro-xsite a { color: #6B6860; text-decoration: none; }
.ss-intro-xsite a span { color: var(--accent); font-weight: 600; }
.ss-intro-xsite a:hover span { text-decoration: underline; text-underline-offset: 3px; }
/* Homepage result bar: hidden while the calculator is still below the screen (static/js/home-sticky.js). */
html.sr-pre .sticky-result { transform: translateY(calc(100% + var(--cc-h, 0px))) !important; visibility: hidden; }
