/* ==========================================================================
   ThinkMoney — shared stylesheet
   Rebuilt from the Claude Design handoff (HTML/CSS/JS prototypes) as a
   dependency-free, class-based design system. Reproduces the mockups exactly.
   Palette, type and spacing tokens live in :root; components follow.
   Primary responsive breakpoint: 820px (phones + small tablets).
   ========================================================================== */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Brand palette */
  --ink-900: #07212f;
  --ink-800: #0c3a51;
  --ink-750: #103f63;
  --ink-700: #12476b;
  --ink-650: #14526f;   /* primary heading blue */
  --blue-500: #1f9fd6;  /* bright accent */
  --blue-600: #1c74b3;  /* button gradient top */
  --blue-700: #1565a0;  /* button gradient bottom */
  --teal-400: #7ed3c5;
  --teal-300: #8fe0d2;
  --text: #16242b;
  --muted: #5c6a72;
  --muted-2: #46555e;
  --bg: #ffffff;
  --bg-alt: #f6f9fb;
  --border: #e6edf0;
  --placeholder: #93a2aa;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --shell-pad: max(20px, 40px);
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::placeholder { color: var(--placeholder); opacity: 1; }
/* The `hidden` attribute must win over component display rules (e.g. the
   flex quote-form banners), which otherwise override the UA stylesheet. */
[hidden] { display: none !important; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  /* --cw is the intended CONTENT width (as in the design, where max-width sits
     on a padding-less inner element). Add the gutters so padding doesn't eat
     into it — content resolves to exactly --cw on wide screens. */
  max-width: calc(var(--cw, 1280px) + 2 * var(--shell-pad));
  margin: 0 auto;
  padding: 0 var(--shell-pad);
}
.section { width: 100%; }
.section--white { background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--white-alt { background: linear-gradient(180deg, #ffffff, var(--bg-alt)); }

/* vertical rhythm utilities (values used across the mockups) */
.py-96 { padding-top: 96px; padding-bottom: 96px; }
.py-88 { padding-top: 88px; padding-bottom: 96px; }
.pt-96 { padding-top: 96px; } .pb-96 { padding-bottom: 96px; }
.pb-80 { padding-bottom: 80px; }
.pb-104 { padding-bottom: 104px; }

/* ==========================================================================
   Shared type: eyebrow, section titles, accent bar
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--blue-500);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  background: rgba(31, 159, 214, 0.10);
  padding: 7px 16px;
  border-radius: 100px;
}
.eyebrow--on-dark {
  color: #cdeaf6;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.eyebrow--pill-blue {
  color: #fff;
  background: linear-gradient(180deg, #1c6090, #14526f);
  font-size: 12.5px;
  letter-spacing: 1.6px;
  padding: 12px 26px;
  box-shadow: 0 10px 22px rgba(20, 82, 111, 0.25);
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink-650);
  letter-spacing: -.8px;
  margin: 14px 0 0;
  line-height: normal; /* matches the design (no line-height on these single-line
                          headings); .sz-34 sets its own 1.2 for the wrapping ones */
}
.section-title.sz-44 { font-size: 44px; }
.section-title.sz-42 { font-size: 42px; }
.section-title.sz-40 { font-size: 40px; }
.section-title.sz-34 { font-size: 34px; letter-spacing: -.5px; line-height: 1.2; }
.section-title.sz-32 { font-size: 32px; letter-spacing: -.5px; line-height: 1.1; }

.accent-bar { width: 56px; height: 4px; background: var(--teal-400); border-radius: 2px; }
.accent-bar--center { margin-left: auto; margin-right: auto; }
.accent-bar.mt-22 { margin-top: 22px; }

.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 22px auto 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { cursor: pointer; text-decoration: none; font-family: var(--font-body); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-700));
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .6px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(21, 101, 160, 0.32);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(21, 101, 160, 0.45);
  filter: brightness(1.05);
}
.btn-primary.block { width: 100%; }
.btn-primary.h-56 { height: 56px; }
.btn-primary.h-54 { height: 54px; padding: 0 30px; white-space: nowrap; }

/* Pending / disabled state while a lead is being submitted */
.btn-primary[disabled],
.btn-primary.is-loading {
  opacity: .6;
  cursor: default;
  transform: none;
  filter: none;
  box-shadow: 0 12px 26px rgba(21, 101, 160, 0.2);
}
.btn-primary.is-loading > svg { display: none; }   /* hide the arrow while loading */
.btn-primary.is-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  animation: tm-btn-spin .7s linear infinite;
}
@keyframes tm-btn-spin { to { transform: rotate(360deg); } }

.btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--teal-300), var(--teal-400));
  color: #0e4257;
  border: none;
  font-weight: 700;
  letter-spacing: .6px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-teal:hover { transform: translateY(-2px); }

/* ==========================================================================
   Header
   ========================================================================== */
.tm-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 90px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height .3s cubic-bezier(.22,.61,.36,1), background .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s cubic-bezier(.22,.61,.36,1), border-color .35s cubic-bezier(.22,.61,.36,1);
  font-family: var(--font-body);
}
.tm-header.is-solid {
  height: 74px;
  background: var(--ink-800);
  box-shadow: 0 10px 30px rgba(7, 33, 47, .3);
  border-bottom-color: transparent;
}
.tm-header__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.tm-header__logo { display: flex; align-items: center; gap: 11px; justify-self: start; }
.tm-header__logo img { height: 38px; width: auto; }

.tm-nav { display: flex; align-items: center; gap: 34px; justify-content: center; }
.tm-nav a {
  color: #eaf4f9;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all .25s cubic-bezier(.22,.61,.36,1);
}
.tm-nav a:hover, .tm-nav a.is-active { color: #fff; border-bottom-color: var(--teal-400); }

.tm-actions { display: flex; align-items: center; gap: 20px; justify-self: end; }
.tm-social { display: flex; align-items: center; gap: 9px; }
.tm-social a {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background .2s, transform .2s;
}
.tm-social a:hover { transform: translateY(-2px); }

.tm-quote-btn {
  background: linear-gradient(180deg, var(--teal-300), var(--teal-400));
  color: #0e4257;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .6px;
  padding: 13px 26px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(126, 211, 197, 0.4);
  transition: transform .2s, box-shadow .2s;
}
.tm-quote-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(126, 211, 197, 0.55); }

.tm-mobile-cluster { display: none; align-items: center; gap: 10px; justify-self: end; }
.tm-mobile-quote {
  display: inline-flex; align-items: center;
  background: linear-gradient(180deg, var(--teal-300), var(--teal-400));
  color: #0e4257; text-decoration: none;
  font-weight: 700; font-size: 11.5px; letter-spacing: .5px;
  padding: 11px 16px; border-radius: 9px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(126, 211, 197, 0.42);
}
.tm-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px; color: #fff; cursor: pointer;
}
.tm-burger .icon-open { display: flex; align-items: center; justify-content: center; }
.tm-burger .icon-close { display: none; align-items: center; justify-content: center; }
.tm-burger.is-open .icon-open { display: none; }
.tm-burger.is-open .icon-close { display: flex; }
/* Block SVG removes the inline baseline gap that pushed the lines off-centre. */
.tm-burger svg { display: block; }

/* Mobile menu overlay */
.tm-mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: linear-gradient(162deg, rgba(16, 78, 114, 0.46), rgba(7, 33, 47, 0.58));
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  padding: 22px 26px 38px;
  display: none;
  flex-direction: column;
  overflow-x: hidden; overflow-y: auto;
  animation: tmMenuIn .3s ease both;
}
.tm-mobile-menu.is-open { display: flex; }
.tm-mm-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tm-mm-orb-1 { position: absolute; top: -90px; right: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(31,159,214,0.22), transparent 70%); }
.tm-mm-orb-2 { position: absolute; bottom: -120px; left: -110px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(126,211,197,0.15), transparent 70%); }
.tm-mm-top {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  min-height: 44px; margin: 0 0 14px 0;
  animation: tmLinkIn .5s cubic-bezier(.22,.61,.36,1) both;
}
.tm-mm-eyebrow { color: var(--teal-400); font-weight: 700; font-size: 11.5px; letter-spacing: 2.6px; text-transform: uppercase; padding-left: 6px; }
.tm-mm-close {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; cursor: pointer; transition: background .2s;
}
.tm-mm-close:hover { background: rgba(255, 255, 255, 0.2); }
.tm-mm-nav { position: relative; display: flex; flex-direction: column; }
.tm-mm-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 6px; color: #eef5f9; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -.2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  animation: tmLinkIn .5s cubic-bezier(.22,.61,.36,1) both;
}
.tm-mm-nav a:last-child { border-bottom: none; }
.tm-mm-nav a svg { opacity: .5; }
.tm-mm-nav a:hover { color: var(--teal-400); }
.tm-mm-nav a:nth-child(1) { animation-delay: .05s; }
.tm-mm-nav a:nth-child(2) { animation-delay: .1s; }
.tm-mm-nav a:nth-child(3) { animation-delay: .15s; }
.tm-mm-nav a:nth-child(4) { animation-delay: .2s; }
.tm-mm-nav a:nth-child(5) { animation-delay: .25s; }
.tm-mm-nav a:nth-child(6) { animation-delay: .3s; }
.tm-mm-cta {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 30px;
  background: linear-gradient(180deg, var(--teal-300), var(--teal-400));
  color: #0e4257; text-decoration: none;
  font-family: var(--font-head); font-weight: 800; font-size: 15.5px; letter-spacing: .4px;
  padding: 17px 26px; border-radius: 13px;
  box-shadow: 0 16px 32px rgba(126, 211, 197, 0.42);
  animation: tmLinkIn .5s cubic-bezier(.22,.61,.36,1) both; animation-delay: .36s;
}
.tm-mm-foot {
  position: relative; margin-top: auto; padding-top: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: tmLinkIn .5s cubic-bezier(.22,.61,.36,1) both; animation-delay: .42s;
}
.tm-mm-foot .socials { display: flex; gap: 12px; }
.tm-mm-foot .socials a {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1); color: #fff; transition: background .2s;
}
.tm-mm-foot .tagline { color: #88aebf; font-size: 12.5px; letter-spacing: .3px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.tm-footer {
  background: var(--ink-900);
  width: 100%;
  font-family: var(--font-body);
  color: #b9ccd6;
  padding: 72px 0 0;
}
.tm-footer__inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--shell-pad); }
.tm-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 44px; }
.tm-footer__brand img { height: 40px; width: auto; }
.tm-footer h4 {
  color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .8px;
  text-transform: uppercase; margin: 0 0 18px;
}
.tm-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tm-footer ul a { font-size: 14.5px; color: #9fb6c2; text-decoration: none; transition: color .2s; }
.tm-footer ul a:hover { color: var(--teal-400); }
.tm-footer__copyright {
  margin-top: 52px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 36px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
}
.tm-footer__copyright .line1 { font-size: 13.5px; color: #c3d2da; font-weight: 600; letter-spacing: .2px; }
.tm-footer__copyright .line2 { font-size: 12.5px; color: #7f97a4; line-height: 1.6; }
.tm-footer__copyright .line2 a { color: var(--teal-400); font-weight: 600; text-decoration: none; transition: color .2s; }
.tm-footer__copyright .line2 a:hover { color: #a7e6da; }

/* ==========================================================================
   Hero (generic shell)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; }
.hero__content { position: relative; z-index: 2; width: 100%; margin: 0 auto; }

/* Home hero */
.hero--home { min-height: 100vh; padding: 150px var(--shell-pad) 90px; display: flex; align-items: center; }
.hero--home .hero__media { background-position: center 26%; }
.hero--home .hero__overlay {
  background: linear-gradient(100deg, rgba(7,33,47,0.92) 0%, rgba(10,44,62,0.82) 34%, rgba(12,58,81,0.42) 60%, rgba(12,58,81,0.12) 100%),
              linear-gradient(180deg, rgba(7,33,47,0.45) 0%, transparent 30%, transparent 70%, rgba(7,33,47,0.4) 100%);
}
.hero__bottom-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(246,249,251,0) 0%, rgba(246,249,251,0.12) 30%, rgba(246,249,251,0.35) 55%, rgba(246,249,251,0.7) 80%, #f6f9fb 100%);
}
.hero--home .hero__content { max-width: 1280px; display: grid; grid-template-columns: 1fr 446px; gap: 56px; align-items: center; }
.hero-copy { color: #fff; max-width: 620px; }
.hero-kicker { display: inline-block; color: var(--teal-400); font-weight: 700; font-size: 13px; letter-spacing: 2.6px; text-transform: uppercase; }
.hero-h1 {
  font-family: var(--font-head); font-weight: 800; font-size: 56px; line-height: 1.05;
  letter-spacing: -.6px; text-wrap: balance; margin: 20px 0 0;
  text-shadow: 0 3px 20px rgba(5, 24, 36, 0.35);
}
.hero-h1 .accent, .hero-title .accent, .hero-title-lg .accent { color: var(--teal-400); }
.hero-sub {
  color: #cfe0e8; font-size: 18.5px; line-height: 1.6; margin: 20px 0 0; max-width: 500px;
  text-shadow: 0 2px 10px rgba(5, 24, 36, 0.4);
}
.hero-checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.hero-checks li { display: flex; align-items: center; gap: 12px; color: #e4eef3; font-size: 15.5px; font-weight: 500; }
.hero-checks .tick {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(126, 211, 197, 0.18); border: 1px solid rgba(126, 211, 197, 0.5);
  display: flex; align-items: center; justify-content: center; color: var(--teal-400); flex: none;
}

/* Centered hero (Life/Funeral/Car product pages) */
.hero--product { min-height: 720px; padding: 150px var(--shell-pad) 80px; display: flex; align-items: center; }
.hero--product .hero__overlay { background: linear-gradient(180deg, rgba(7,33,47,0.58) 0%, rgba(8,38,54,0.34) 50%, rgba(7,33,47,0.52) 100%); }
.hero--product .hero__content { max-width: 1080px; display: flex; flex-direction: column; align-items: center; }
.hero-head-center { color: #fff; text-align: center; max-width: 740px; margin-bottom: 38px; }
.hero-title {
  font-family: var(--font-head); font-weight: 800; font-size: 58px; line-height: 1.04; letter-spacing: -.7px;
  margin: 20px 0 0; text-shadow: 0 4px 26px rgba(5,24,36,0.6), 0 1px 3px rgba(5,24,36,0.4);
}
.hero-sub-center {
  color: #eef5f8; font-weight: 500; font-size: 18.5px; line-height: 1.65; margin: 18px auto 0; max-width: 600px;
  text-shadow: 0 2px 16px rgba(5, 24, 36, 0.7);
}

/* Simple image hero (About / Contact / BlogPost) */
.hero--simple { overflow: hidden; }
.hero--about { padding: 170px var(--shell-pad) 110px; }
.hero--about .hero__overlay { background: linear-gradient(100deg, rgba(7,33,47,0.92), rgba(12,58,81,0.55)); }
.hero--contact { padding: 160px var(--shell-pad) 120px; }
.hero--contact .hero__overlay { background: linear-gradient(180deg, rgba(7,33,47,0.85), rgba(12,58,81,0.62)); }
.hero--post { min-height: 460px; padding: 160px var(--shell-pad) 90px; display: flex; align-items: center; }
.hero--post .hero__overlay { background: linear-gradient(180deg, rgba(7,33,47,0.62), rgba(7,33,47,0.78)); }
.hero-center { position: relative; z-index: 2; margin: 0 auto; text-align: center; }
.hero-title-lg {
  font-family: var(--font-head); font-weight: 800; font-size: 56px; line-height: 1.05; letter-spacing: -.6px;
  color: #fff; margin: 18px 0 0; text-shadow: 0 3px 20px rgba(5, 24, 36, 0.35);
}
/* Contact "Get In Touch" runs a touch larger than About's heading. */
.hero-title-lg.hero-contact { font-size: 60px; line-height: 1.03; letter-spacing: -.8px; margin: 18px 0 8px; }
.hero-sub-lg { color: #cfe0e8; font-size: 18.5px; line-height: 1.6; margin: 18px auto 0; max-width: 620px; text-shadow: 0 2px 10px rgba(5,24,36,0.4); }

/* Gradient hero (News / Legal) */
.hero--gradient { position: relative; overflow: hidden; background: linear-gradient(155deg, #12476b, var(--ink-900)); padding: 150px var(--shell-pad) 70px; }
.hero-orb-1 { position: absolute; top: -120px; right: -110px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(31,159,214,0.16), transparent 72%); pointer-events: none; }
.hero-orb-2 { position: absolute; bottom: -140px; left: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(126,211,197,0.10), transparent 72%); pointer-events: none; }

/* Scroll-down chevron */
.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 4; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #0e4257; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(7, 33, 47, 0.22);
  animation: tmBob 1.8s ease-in-out infinite; transition: background .2s;
}
.scroll-cue:hover { background: #fff; }

/* ==========================================================================
   Quote form card
   ========================================================================== */
.quote-card {
  scroll-margin-top: 110px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(12,58,81,0.28), 0 4px 14px rgba(12,58,81,0.10), inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: box-shadow .45s ease;
}
.quote-card.pad-a { padding: 32px 30px 28px; }  /* home / about / contact */
.quote-card.pad-b { padding: 28px 30px; }        /* product pages (wide) */
.quote-card.w-full { width: 100%; }
.quote-card.mx-460 { max-width: 460px; margin: 0 auto; text-align: left; }

.quote-head { text-align: center; margin-bottom: 22px; }
.quote-head.mb-20 { margin-bottom: 20px; }
.quote-head .kicker { color: var(--blue-500); font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; }
.quote-head h2 { font-family: var(--font-head); font-weight: 800; font-size: 23px; color: var(--ink-650); margin: 6px 0 0; letter-spacing: -.2px; }

.qf-fields { display: flex; flex-direction: column; gap: 13px; }
.qf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.qf-row-inline { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 13px; align-items: center; }

.qf-field { position: relative; }
.qf-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: #97a6ae; display: flex; pointer-events: none;
}
.qf-input, .qf-select {
  width: 100%; height: 54px; background: #fff;
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 0 16px 0 44px;
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  outline: none; transition: background .2s, border-color .2s, box-shadow .2s;
}
.qf-input:focus, .qf-select:focus {
  border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31, 159, 214, 0.15);
}

/* custom dropdown */
.qf-dd { position: relative; }
.qf-dd-icon { z-index: 1; }
.qf-select {
  text-align: left; cursor: pointer; display: flex; align-items: center;
  color: var(--placeholder); padding: 0 44px;
}
.qf-select.has-value { color: var(--text); }
.qf-chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #65727a; display: flex; pointer-events: none; }
.qf-chevron svg { transition: transform .25s ease; }
.qf-dd.is-open .qf-chevron svg { transform: rotate(180deg); }
.qf-menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid #eef3f6; border-radius: 14px;
  box-shadow: 0 20px 50px rgba(12, 58, 81, 0.20); padding: 6px; z-index: 30; display: none;
}
.qf-dd.is-open .qf-menu { display: block; }
.qf-option {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 10px;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--text);
  text-align: left; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.qf-option:hover { background: rgba(126, 211, 197, 0.32); }
.qf-option .chk { display: none; }
.qf-option.is-selected .chk { display: inline-flex; }

/* validation banners */
.qf-error {
  display: flex; align-items: center; gap: 11px;
  background: rgba(214, 58, 58, 0.09);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(214, 58, 58, 0.24);
  box-shadow: 0 8px 22px rgba(150, 30, 30, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 14px; padding: 13px 15px;
  color: #a3282a; font-size: 12.5px; font-weight: 500; line-height: 1.45;
}
.qf-error .badge { flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(214, 58, 58, 0.13); display: flex; align-items: center; justify-content: center; }
.qf-success {
  display: flex; align-items: center; gap: 13px;
  background: rgba(31, 157, 87, 0.10);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(31, 157, 87, 0.26);
  box-shadow: 0 10px 26px rgba(20, 110, 60, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  border-radius: 14px; padding: 15px 17px;
}
.qf-success .badge {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(180deg, #2bb169, #1f9d57);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(31, 157, 87, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.qf-success .title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #114a2a; letter-spacing: -.2px; }
.qf-success .desc { display: block; color: #3c7752; font-size: 12.5px; margin-top: 2px; }
/* centered banners on product pages */
.qf-banner-center { max-width: 680px; margin: 16px auto 0; justify-content: center; }

.qf-note { text-align: center; color: var(--muted); font-size: 12.5px; margin: 14px 0 0; line-height: 1.5; }

/* consent checkboxes */
.qf-consent { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(20, 60, 90, 0.10); }
.qf-consent--inline {
  flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 28px; margin-top: 18px;
}
.qf-check {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--muted); font-size: 12.5px; line-height: 1.45; cursor: pointer;
}
.qf-consent--inline .qf-check { align-items: center; }
.qf-check a { color: var(--ink-650); font-weight: 700; text-decoration: none; }
.qf-consent-note { color: #8795a0; font-size: 12px; line-height: 1.45; }
.cb {
  width: 20px; height: 20px; border-radius: 6px; flex: none; position: relative; margin-top: 1px;
  background: #fff; border: 1.5px solid #cdd8dd;
  transition: background .2s ease, border-color .2s ease;
}
.cb svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cb svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .38s cubic-bezier(.65,0,.35,1) .04s; }
.cb.is-checked { background: var(--blue-500); border-color: var(--blue-500); }
.cb.is-checked svg path { stroke-dashoffset: 0; }

/* ==========================================================================
   Trusted bridge (Home)
   ========================================================================== */
.bridge-section { padding-top: 96px; padding-bottom: 80px; }
.split-card {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(12, 58, 81, 0.12);
}
.split-media { min-height: 480px; background-position: center; background-size: cover; }
.bridge-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--ink-750), var(--ink-900));
  padding: 76px max(28px, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.bridge-panel .orb-1 { position: absolute; top: -120px; right: -110px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(31,159,214,0.14), transparent 72%); pointer-events: none; }
.bridge-panel .orb-2 { position: absolute; bottom: -140px; left: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(126,211,197,0.10), transparent 72%); pointer-events: none; }
.bridge-badge {
  position: relative; display: inline-flex; align-items: center; align-self: flex-start;
  color: #cdeaf6; font-weight: 700; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 16px; border-radius: 100px;
}
.bridge-text { position: relative; color: #e3edf3; font-size: 19px; line-height: 1.85; margin: 26px 0 0; max-width: 540px; }
.bridge-sign { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.bridge-sign .rule { width: 34px; height: 2px; background: var(--teal-400); border-radius: 2px; }
.bridge-sign .name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 15px; letter-spacing: .3px; }

/* Generic split feature panel (Life "why", Funeral "features", Car "how") */
.feature-panel { background: var(--bg-alt); padding: 64px max(28px, 52px); display: flex; flex-direction: column; justify-content: center; }
.feature-panel .eyebrow { align-self: flex-start; }
.feature-lead { color: var(--ink-650); font-weight: 700; font-size: 17px; margin: 0 0 12px; }
.feature-copy { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0; max-width: 480px; }
.feature-list { display: flex; flex-direction: column; gap: 18px; max-width: 500px; }
.feature-list .item { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .tick {
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(126, 211, 197, 0.18); border: 1px solid rgba(126, 211, 197, 0.5);
  flex: none; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.feature-list .item span:last-child { color: #3a4a52; font-size: 15.5px; line-height: 1.55; }

/* numbered steps (Car "how does it work") */
.steps-rows { display: flex; flex-direction: column; gap: 26px; }
.step-row { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 54px; height: 54px; border-radius: 15px;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-700)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 20px; flex: none;
}
.step-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-650); margin-bottom: 6px; }
.step-copy { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; max-width: 420px; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners { background: var(--bg-alt); width: 100%; font-family: var(--font-body); text-align: center; padding: 96px max(20px, 24px); }
.partners__inner { max-width: 1000px; margin: 0 auto; }
.partners__title { font-family: var(--font-head); color: var(--ink-650); font-weight: 800; font-size: 44px; letter-spacing: -.8px; margin: 26px 0 0; }
.partners__lead { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 560px; margin: 20px auto 0; }
.partners__row { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 52px; flex-wrap: wrap; }
.partner-card {
  flex: 1; min-width: 200px; max-width: 280px; height: 150px; padding: 20px 10px;
  border-radius: 16px; background: #fff; border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(20, 60, 90, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, box-shadow .3s;
}
.partner-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(20, 60, 90, 0.14); }
.partner-card img { max-width: 100%; width: auto; object-fit: contain; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.product-cards { background: linear-gradient(180deg, #ffffff, var(--bg-alt)); width: 100%; font-family: var(--font-body); padding: 88px var(--shell-pad) 96px; }
.product-cards__head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.product-cards__head h2 { font-family: var(--font-head); font-weight: 800; font-size: 42px; line-height: 1.14; letter-spacing: -.8px; color: var(--ink-650); margin: 16px auto 0; max-width: 760px; }
.product-cards__head h2 .accent { color: var(--blue-500); }
.product-cards__head p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 22px auto 0; max-width: 620px; }
.product-cards__grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  position: relative; text-decoration: none; border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--border); box-shadow: 0 12px 34px rgba(20, 60, 90, 0.08);
  display: block; transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(20, 60, 90, 0.18); border-color: #cdebf7; }
.product-card__media { position: relative; height: 210px; background-position: center; background-size: cover; }
.product-card__media .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,33,47,0) 40%, rgba(7,33,47,0.55)); }
.product-card__body { position: relative; padding: 0 24px 26px; }
.product-card__icon {
  position: absolute; top: -30px; left: 24px; width: 60px; height: 60px; border-radius: 17px;
  background: #fff; border: 1px solid #eef4f7; box-shadow: 0 12px 26px rgba(20, 60, 90, 0.20);
  display: flex; align-items: center; justify-content: center;
}
.product-card__row { padding-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card__row .name { font-family: var(--font-head); color: var(--ink-650); font-weight: 700; font-size: 19px; }
.product-card__row .arrow { width: 40px; height: 40px; border-radius: 50%; background: rgba(31, 159, 214, 0.10); display: flex; align-items: center; justify-content: center; flex: none; }

/* ==========================================================================
   Better deal bar
   ========================================================================== */
.deal-bar { position: relative; width: 100%; font-family: var(--font-body); background: linear-gradient(120deg, var(--ink-650) 0%, var(--ink-800) 60%, var(--ink-900) 100%); }
.deal-bar__glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(40% 80% at 85% 25%, rgba(31,159,214,0.25), transparent 70%), radial-gradient(34% 70% at 8% 95%, rgba(126,211,197,0.16), transparent 70%); }
.deal-bar__inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 54px var(--shell-pad); display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.deal-bar__copy { min-width: 280px; max-width: 560px; }
.deal-bar__copy h2 { font-family: var(--font-head); font-weight: 800; font-size: 32px; letter-spacing: -.5px; color: #fff; margin: 0; line-height: 1.1; }
.deal-bar__copy p { color: #cfe0e8; font-size: 16.5px; margin: 12px 0 0; line-height: 1.55; }
.deal-bar__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.deal-dd { position: relative; }
.deal-dd__button {
  min-width: 240px; background: #fff; border: none; border-radius: 12px;
  padding: 15px 44px 15px 18px; font-family: var(--font-body); font-size: 14.5px; color: var(--muted);
  text-align: left; outline: none; cursor: pointer; display: flex; align-items: center; transition: box-shadow .2s;
}
.deal-dd__button.has-value { color: var(--text); }
.deal-dd__button:focus { box-shadow: 0 0 0 4px rgba(126, 211, 197, 0.25); }
.deal-dd__chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #114477; display: flex; pointer-events: none; }
.deal-dd__chevron svg { transition: transform .25s ease; }
.deal-dd.is-open .deal-dd__chevron svg { transform: rotate(180deg); }
.deal-dd__menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid #eef3f6; border-radius: 14px; box-shadow: 0 20px 50px rgba(7, 33, 47, 0.45); padding: 6px; z-index: 40; display: none; }
.deal-dd.is-open .deal-dd__menu { display: block; }
.deal-bar__start {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, var(--teal-300), var(--teal-400)); color: #0e4257; border: none; border-radius: 12px;
  padding: 15px 32px; font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: .6px;
  text-transform: uppercase; cursor: pointer; transition: transform .2s;
}
.deal-bar__start:hover { transform: translateY(-2px); }

/* ==========================================================================
   News / cards (Latest News on Home, News & Tips grid)
   ========================================================================== */
.news-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.news-title { font-family: var(--font-head); font-weight: 800; font-size: 52px; line-height: 1.05; letter-spacing: -.8px; color: #fff; margin: 18px 0 0; }
/* Vertical-only padding — horizontal comes from .container (no double-padding). */
.news-section { padding: 80px 0 96px; }
.news-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-section .news-grid { gap: 28px; } /* News index uses 28px; Home "Latest News" stays 26px */
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; box-shadow: 0 12px 34px rgba(20, 60, 90, 0.08);
  text-decoration: none; transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(20, 60, 90, 0.18); border-color: #cdebf7; }
.news-card__media { position: relative; height: 200px; overflow: hidden; }
.news-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card__media .shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.34)); }
.news-card__cat { position: absolute; top: 16px; left: 16px; background: rgba(7, 33, 47, 0.85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: #fff; font-weight: 600; font-size: 11.5px; letter-spacing: .5px; padding: 6px 14px; border-radius: 100px; }
.news-card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.news-card__body h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink-650); margin: 0 0 12px; line-height: 1.3; }
.news-card__body p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.news-card__spacer { flex: 1; }
.news-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #eef2f5; }
.news-card__date { display: flex; align-items: center; gap: 8px; color: #9aa8b0; font-size: 13px; }
.news-card__read { display: inline-flex; align-items: center; gap: 5px; color: var(--blue-500); font-weight: 700; font-size: 13px; }

/* smaller card variant used on News & Tips index */
.news-card--sm .news-card__body { padding: 24px 24px 26px; }
.news-card--sm .news-card__body h3 { font-size: 19px; }
.news-card--sm .news-card__cat { top: 14px; left: 14px; }
.news-card--sm:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 60, 90, 0.14); }
.news-card--sm .news-card__read { font-weight: 600; font-size: 13.5px; }

/* ==========================================================================
   About page cards
   ========================================================================== */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 34px 30px; box-shadow: 0 12px 34px rgba(20, 60, 90, 0.08); transition: box-shadow .3s; }
.value-card:hover { box-shadow: 0 24px 50px rgba(20, 60, 90, 0.14); }
.value-card__icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(180deg, #eaf6fc, #d6eef9); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.value-card__icon img { width: 42px; height: 42px; }
.value-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink-650); margin: 0 0 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
.value-grid__pair { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 26px; justify-content: center; }

/* About page section paddings (vertical only — horizontal comes from .container,
   so the section itself must NOT add horizontal padding or it double-pads). */
.about-how { padding: 96px 0 104px; }
.about-quote { padding: 8px 0 88px; }
.how-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.how-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; box-shadow: 0 12px 34px rgba(20, 60, 90, 0.08); transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s; }
.how-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 60, 90, 0.14); }
.how-card__num { position: absolute; top: 30px; right: 32px; font-family: var(--font-head); font-weight: 800; font-size: 40px; color: #eef4f7; line-height: 1; }
.how-card__icon { width: 58px; height: 58px; border-radius: 15px; background: linear-gradient(180deg, #eaf6fc, #d6eef9); display: flex; align-items: center; justify-content: center; }
.how-card__icon img { width: 34px; height: 34px; }
.how-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--ink-650); margin: 22px 0 0; }
.how-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 10px 0 0; }

/* ==========================================================================
   Blog post
   ========================================================================== */
/* Vertical-only padding — horizontal comes from .container (no double-padding). */
.post-section { padding: 72px 0 90px; }
.post-layout { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.post-hero-img { width: 100%; height: auto; max-height: 430px; object-fit: cover; border-radius: 18px; display: block; margin: 0 0 36px; box-shadow: 0 16px 40px rgba(12, 58, 81, 0.12); }
.post-cat { display: inline-flex; align-items: center; color: #cdeaf6; font-weight: 700; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); padding: 7px 16px; border-radius: 100px; }
.post-title { font-family: var(--font-head); font-weight: 800; font-size: 42px; line-height: 1.12; letter-spacing: -.6px; color: #fff; margin: 18px 0 0; text-shadow: 0 3px 18px rgba(5, 24, 36, 0.4); }
.post-subtitle { color: #dbe7ee; font-size: 17.5px; line-height: 1.55; margin: 16px auto 0; max-width: 680px; text-shadow: 0 2px 10px rgba(5, 24, 36, 0.4); }

#post-body { font-family: var(--font-body); color: var(--muted-2); font-size: 16px; line-height: 1.85; }
#post-body p { margin: 0 0 18px; }
#post-body h3 { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.3px; color: var(--blue-500); margin: 34px 0 12px; }
#post-body h4 { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--ink-650); margin: 24px 0 8px; }
#post-body ul { margin: 0 0 20px; padding-left: 22px; }
#post-body li { margin: 0 0 10px; line-height: 1.7; }
#post-body strong { color: var(--ink-650); font-weight: 700; }
#post-body ul.chk { list-style: none; padding-left: 0; margin: 10px 0 24px; display: flex; flex-direction: column; gap: 13px; }
#post-body ul.chk li { position: relative; padding-left: 36px; margin: 0; line-height: 1.65; }
#post-body ul.chk li::before { content: ""; position: absolute; left: 0; top: 1px; width: 23px; height: 23px; border-radius: 7px; background: linear-gradient(180deg, #28a9e0, #1577b0); box-shadow: 0 4px 10px rgba(31, 159, 214, .30); }
#post-body ul.chk li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 7px; height: 7px; border: solid #fff; border-width: 2.4px 2.4px 0 0; transform: rotate(45deg); }

.post-aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 26px; }
.post-cta { background: linear-gradient(165deg, var(--ink-700), #0a3349); border-radius: 18px; padding: 26px; color: #fff; }
.post-cta__label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.post-cta__label .rule { width: 30px; height: 3px; background: var(--teal-400); border-radius: 2px; }
.post-cta__label span:last-child { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #cdeaf6; }
.post-cta h3 { font-family: var(--font-head); font-weight: 800; font-size: 19px; margin: 0 0 8px; }
.post-cta p { color: #cfe0e8; font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.post-cta a { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(180deg, var(--teal-300), var(--teal-400)); color: #0e4257; font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; padding: 12px 24px; border-radius: 10px; text-decoration: none; box-shadow: 0 8px 18px rgba(126, 211, 197, 0.35); transition: transform .2s; }
.post-cta a:hover { transform: translateY(-2px); }
.post-recent { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.post-recent__label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.post-recent__label .rule { width: 30px; height: 3px; background: var(--teal-400); border-radius: 2px; }
.post-recent__label span:last-child { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink-650); }
.post-recent__list { display: flex; flex-direction: column; gap: 16px; }
.post-recent__item { display: flex; align-items: flex-start; gap: 12px; text-decoration: none; }
.post-recent__item .chip { flex: none; background: var(--ink-750); color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .4px; padding: 6px 9px; border-radius: 7px; white-space: nowrap; }
.post-recent__item .t { color: #3a4a52; font-size: 14px; line-height: 1.45; font-weight: 500; transition: color .2s; }
.post-recent__item:hover .t { color: var(--blue-500); }

/* ==========================================================================
   Legal pages (Privacy / Terms) — numbered clause counters
   ========================================================================== */
.legal-hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.legal-hero-inner h1 { font-family: var(--font-head); font-weight: 800; font-size: 46px; line-height: 1.07; letter-spacing: -.8px; color: #fff; margin: 0; max-width: 680px; }
.legal-hero-inner .bar { width: 60px; height: 4px; background: var(--teal-400); border-radius: 2px; margin: 24px 0 0; }
.legal-hero-inner .sub { color: #bcd4e2; font-weight: 500; font-size: 15.5px; line-height: 1.5; margin: 18px 0 0; letter-spacing: .2px; }
.legal-hero-inner .sub .accent { color: var(--teal-400); font-weight: 600; }

#pp-body { max-width: 860px; margin: 0 auto; padding: 64px var(--shell-pad) 96px; font-family: var(--font-body); color: #4a5860; font-size: 16px; line-height: 1.8; counter-reset: sec; }
#pp-body > p { margin: 0 0 18px; }
#pp-body > ul { margin: 0 0 22px; padding-left: 22px; }
#pp-body section { counter-increment: sec; counter-reset: clause; margin: 46px 0 0; }
#pp-body section:first-of-type { margin-top: 0; }
#pp-body section > h2 { font-family: var(--font-head); font-weight: 800; font-size: 25px; letter-spacing: -.4px; color: var(--ink-650); margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
#pp-body section > h2::before { content: counter(sec) ". "; }
#pp-body section > p { margin: 0 0 16px; }
#pp-body .pp-clauses { list-style: none; margin: 0 0 18px; padding-left: 0; }
#pp-body .pp-clauses > li { counter-increment: clause; counter-reset: sub; position: relative; padding-left: 3.4em; margin: 0 0 13px; line-height: 1.75; }
#pp-body .pp-clauses > li::before { content: counter(sec) "." counter(clause); position: absolute; left: 0; top: 0; font-weight: 700; color: var(--ink-650); }
#pp-body .pp-clauses > li > .pp-clauses-nested { list-style: none; margin: 12px 0 4px; padding-left: 0; }
#pp-body .pp-clauses > li > .pp-clauses-nested > li { counter-increment: sub; counter-reset: subsub; position: relative; padding-left: 4em; margin: 0 0 10px; line-height: 1.7; }
#pp-body .pp-clauses > li > .pp-clauses-nested > li::before { content: counter(sec) "." counter(clause) "." counter(sub); position: absolute; left: 0; top: 0; font-weight: 700; color: var(--ink-650); }
#pp-body .pp-clauses-nested > li > .pp-clauses-nested { list-style: none; margin: 10px 0 4px; padding-left: 0; }
#pp-body .pp-clauses-nested > li > .pp-clauses-nested > li { counter-increment: subsub; position: relative; padding-left: 5em; margin: 0 0 8px; line-height: 1.7; }
#pp-body .pp-clauses-nested > li > .pp-clauses-nested > li::before { content: counter(sec) "." counter(clause) "." counter(sub) "." counter(subsub); position: absolute; left: 0; top: 0; font-weight: 700; color: var(--ink-650); }
#pp-body strong { color: var(--ink-650); font-weight: 700; }
#pp-body a { color: #1f8fce; font-weight: 600; text-decoration: none; }
#pp-body dl { margin: 18px 0 0; }
#pp-body dt { font-weight: 700; color: var(--ink-650); margin: 16px 0 2px; font-size: 15px; }
#pp-body dd { margin: 0 0 6px; }
#pp-body section > ul { margin: 8px 0 4px; padding-left: 22px; }

/* ==========================================================================
   Reveal-on-scroll (progressive enhancement; no-JS keeps everything visible).
   Elements start visible; JS hides ONLY the ones below the fold (adding
   .reveal-hidden), which then fade in as they scroll into view. Above-the-fold
   content — the hero quote form, hero text — is never hidden, so it appears
   instantly (no load-time fade), matching the source design.
   ========================================================================== */
.reveal { transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.reveal-hidden { opacity: 0; transform: translateY(26px); }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes tmBob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 9px); } }
@keyframes tmMenuIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tmLinkIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive — phones + small tablets
   ========================================================================== */
@media (max-width: 820px) {
  html, body { overflow-x: hidden; }
  :root { --shell-pad: 18px; }

  /* Header */
  .tm-header { height: 64px; }
  .tm-header.is-solid { height: 64px; }
  .tm-header__inner { display: flex; align-items: center; justify-content: space-between; }
  .tm-nav, .tm-actions { display: none; }
  .tm-mobile-cluster { display: flex; }

  /* Stack every 2/3-column layout */
  .hero--home .hero__content { grid-template-columns: 1fr; } /* gap stays 56px (design keeps it) */
  /* !important so it also beats the Car page's inline grid-template-columns
     (1.05fr 0.95fr) — otherwise that section wouldn't stack on mobile. */
  .split-card, .product-cards__grid, .news-grid, .value-grid, .value-grid__pair, .how-grid, .post-layout, .qf-row-2, .qf-row-inline { grid-template-columns: 1fr !important; }
  .tm-footer__grid { grid-template-columns: 1fr; gap: 28px; }

  /* Hero vertical rhythm + type */
  .hero--home { padding-top: 104px; padding-bottom: 52px; } /* min-height:100vh kept (design) */
  .hero--product { padding-top: 104px; padding-bottom: 52px; min-height: 540px; }
  /* !important on the bottom so it also beats the legal pages' inline
     padding-bottom:60px — all these heroes are 52px at the bottom on mobile. */
  .hero--about, .hero--contact, .hero--post, .hero--gradient { padding-top: 104px; padding-bottom: 52px !important; }
  .hero-h1 { font-size: 35px; line-height: 1.12; }
  .hero-title { font-size: 34px; }
  .hero-title-lg { font-size: 33px; }              /* About "About Us" (56px -> 33px) */
  .hero-title-lg.hero-contact { font-size: 34px; } /* Contact "Get In Touch" (60px -> 34px) */
  .news-title { font-size: 32px; }                 /* News "Money tips & insights" (52px -> 32px) */
  .hero-sub { font-size: 16.5px; line-height: 1.62; max-width: 440px; text-wrap: pretty; }
  .hero-sub br, .hero-sub-center br { display: none; }
  .post-title { font-size: 28px; }
  .legal-hero-inner h1 { font-size: 30px; }

  /* Section titles down a notch. Note: 34px headings (.sz-34, the product-page
     "What's it about" etc. panels) are NOT reduced on mobile in the design —
     they stay 34px, so there is deliberately no .sz-34 rule here. */
  .section-title.sz-44 { font-size: 29px; }
  .section-title.sz-42 { font-size: 28px; }
  .section-title.sz-40 { font-size: 30px; }
  .partners__title { font-size: 29px; }
  .product-cards__head h2 { font-size: 28px; }

  /* Section paddings tightened */
  .partners, .product-cards, .py-96 { padding-top: 56px; padding-bottom: 56px; }
  .partners { padding-left: 18px; padding-right: 18px; }
  .bridge-section { padding-top: 56px; padding-bottom: 56px; }
  .about-how { padding-top: 56px; padding-bottom: 56px; }
  .about-quote { padding-bottom: 52px; }
  .news-section { padding-top: 52px; padding-bottom: 58px; }
  .post-section { padding-top: 48px; padding-bottom: 54px; }
  .how-card__num { font-size: 30px; }
  .deal-bar__inner { padding-top: 40px; padding-bottom: 40px; }
  .bridge-panel { padding: 44px 22px; }
  .feature-panel { padding: 44px 22px 52px; }

  /* Partner cards 2-up */
  .partner-card { min-width: 140px; }

  /* Consent stacks + left aligns */
  .qf-consent--inline { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 12px; }
  .qf-consent--inline .qf-check { align-items: flex-start; }

  /* Product form: button full width when stacked */
  .qf-row-inline .btn-primary { width: 100%; }

  /* Sidebar loses sticky when stacked */
  .post-aside { position: static; top: auto; }
  #pp-body, #post-body { overflow-wrap: anywhere; word-break: break-word; }
  /* Legal body: tighten the inline 64px/40px/96px padding down for phones. */
  #pp-body { padding: 44px 18px 52px !important; }

  /* Footer stacked + centered */
  .tm-footer { padding-bottom: 0; }
  .tm-footer__brand { display: flex; justify-content: center; margin-bottom: 4px; }
  .tm-footer__grid > div { text-align: center; }
  .tm-footer h4 { margin-bottom: 13px; }
  .tm-footer__copyright { gap: 11px; padding-bottom: 28px; }
  .tm-footer__copyright .line2 { line-height: 1.7; max-width: 300px; }
  .tm-footer__copyright .line2 a { display: block; margin-top: 7px; font-size: 13px; }
}
