/* Sprout Financial Services — site styles. Brand: blue #27A2DF, navy #00283B, pink accent #F03F85, mist #ECF7FC, Nunito. */
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@view-transition { navigation: auto; }

:root {
  --blue: #27a2df; --blue-600: #1586c0; --blue-700: #0f6a99; --navy: #00283b; --navy-2: #06344b; --navy-3: #0b4562;
  --pink: #f03f85; --mist: #ecf7fc; --mist-2: #f5fbfe; --ink: #1d2b33; --ink-2: #47585f; --line: #dbe8ef; --white: #fff;
  --green: #2bb38a; --amber: #f2a93b; --violet: #7a6ff0;
  --radius: 22px; --radius-sm: 14px; --shadow: 0 1px 2px rgba(0,40,59,.06), 0 10px 30px -12px rgba(0,40,59,.18);
  --shadow-lg: 0 2px 4px rgba(0,40,59,.06), 0 30px 60px -20px rgba(0,40,59,.30);
  --ease: cubic-bezier(.2,.7,.2,1); --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); font-weight: 500; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw + .5rem, 4rem); }
h2 { font-size: clamp(1.7rem, 2.4vw + .6rem, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 750; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * var(--gutter), 820px); }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.small { font-size: .88rem; color: var(--ink-2); }

/* ------------------------------------------------ buttons */
.btn { --bg: var(--blue); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent; background: var(--bg); color: var(--fg); font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; line-height: 1.2; white-space: nowrap; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(39,162,223,.7); color: var(--fg); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --bg: var(--blue-600); }
.btn-ghost { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); --fg: var(--blue-700); box-shadow: none; }
.btn-ghost-light { --bg: rgba(255,255,255,.08); --fg: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: rgba(255,255,255,.16); border-color: #fff; box-shadow: none; }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.04rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 750; color: var(--blue-700); text-decoration: none; background: none; border: 0; font: inherit; font-weight: 750; cursor: pointer; padding: 0; }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.center-link { text-align: center; margin-top: 36px; }

/* ------------------------------------------------ header */
.site-header { view-transition-name: site-header; position: sticky; top: 0; z-index: 50; background: rgba(0,40,59,.94); backdrop-filter: saturate(1.4) blur(12px); color: #fff; transition: box-shadow .3s, background .3s; }
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(0,0,0,.45); background: rgba(0,40,59,.98); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a, .nav-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; color: rgba(255,255,255,.9); text-decoration: none; font: inherit; font-weight: 700; font-size: .98rem; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.main-nav > ul > li > a:hover, .nav-btn:hover, .main-nav li.active > a, .main-nav li.active > .nav-btn { background: rgba(255,255,255,.1); color: #fff; }
.nav-btn .chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-sub .sub { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 340px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-sub .sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .chev, .has-sub.open .chev { transform: rotate(180deg); }
.mega-link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background .2s; }
.mega-link:hover { background: var(--mist); color: var(--ink); }
.mega-link strong { display: block; color: var(--navy); font-size: .98rem; }
.mega-link small { display: block; color: var(--ink-2); font-size: .85rem; line-height: 1.35; }
.mega-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mist); color: var(--blue-700); flex: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
.header-phone:hover { color: var(--blue); }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-toggle .icon { width: 28px; height: 28px; }
.menu-toggle .i-close, .menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.nav-mobile-cta { display: none; }
@media (max-width: 1180px) { .header-phone span { display: none; } }
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; gap: 6px; }
  .header-phone { padding: 8px; }
  .header-cta .btn { display: none; }
  .main-nav { position: fixed; inset: 76px 0 0; background: var(--navy); padding: 16px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .main-nav > ul > li > a, .nav-btn { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.15rem; border-radius: 10px; }
  .has-sub .sub { position: static; translate: none; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.05); display: none; margin: 4px 0 10px; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { opacity: 1; }
  .mega-link { color: #fff; } .mega-link strong { color: #fff; } .mega-link small { color: rgba(255,255,255,.7); } .mega-link:hover { background: rgba(255,255,255,.08); }
  .mega-ic { background: rgba(255,255,255,.1); color: var(--blue); }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  body.menu-open { overflow: hidden; }
}

/* ------------------------------------------------ hero (home) */
.hero { position: relative; min-height: min(92vh, 820px); display: grid; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy); }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.kenburns img { animation: kenburns 26s ease-out both; transform-origin: 60% 70%; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,40,59,.92) 0%, rgba(0,40,59,.72) 42%, rgba(0,40,59,.18) 75%), linear-gradient(0deg, rgba(0,40,59,.55), transparent 40%); }
.hero-inner { padding: 72px 0 84px; }
.hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.4rem, 4.4vw + .5rem, 4.1rem); }
.rotator { display: block; height: 1.15em; overflow: hidden; color: var(--blue); position: relative; }
.rotator span { display: block; animation: rotate-words 9s var(--ease) infinite; }
@keyframes rotate-words { 0%, 28% { transform: translateY(0); } 33%, 61% { transform: translateY(-100%); } 66%, 94% { transform: translateY(-200%); } 100% { transform: translateY(0); } }
.hero .lead { font-size: clamp(1.08rem, .6vw + 1rem, 1.3rem); max-width: 40ch; color: rgba(255,255,255,.9); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 40px; list-style: none; padding: 26px 0 0; margin: 36px 0 0; border-top: 1px solid rgba(255,255,255,.18); max-width: 760px; }
.hero-trust li { display: flex; align-items: center; gap: 12px; max-width: 220px; }
.hero-trust strong { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-trust span { font-size: .85rem; line-height: 1.3; color: rgba(255,255,255,.78); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; translate: -50% 0; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--blue-700); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: var(--blue); }

/* ------------------------------------------------ page hero */
.page-hero { position: relative; background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 70%, #fff 100%); padding: 70px 0 80px; overflow: hidden; isolation: isolate; }
.ph-glow { position: absolute; z-index: -1; width: 620px; height: 620px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(39,162,223,.28), transparent 65%); animation: float 14s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(-60px, 60px) scale(1.08); } }
.ph-grid { display: grid; gap: 48px; align-items: center; }
.page-hero.has-media .ph-grid { grid-template-columns: 1.05fr .95fr; }
.ph-copy h1 { font-size: clamp(2.1rem, 3.6vw + .6rem, 3.5rem); max-width: 20ch; }
.lead { font-size: clamp(1.06rem, .4vw + 1rem, 1.22rem); color: var(--ink-2); max-width: 58ch; }
.ph-media { position: relative; }
.ph-media picture, .ph-media img { border-radius: 28px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-lg); }
.ph-media::after { content: ""; position: absolute; z-index: -1; inset: 24px -18px -18px 24px; border-radius: 30px; background: linear-gradient(135deg, var(--blue), #7fd0f4); opacity: .35; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .86rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9db3be; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue-700); text-decoration: underline; }
@media (max-width: 900px) { .page-hero.has-media .ph-grid { grid-template-columns: 1fr; } .page-hero { padding: 44px 0 56px; } }

/* ------------------------------------------------ sections & layout */
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section.pt0 { padding-top: 0; }
.section.tint { background: var(--mist-2); }
.section.navy { background: radial-gradient(1200px 500px at 85% -10%, var(--navy-3), transparent 60%), var(--navy); color: rgba(255,255,255,.88); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .eyebrow { color: var(--blue); }
.light-p, .light-p p { color: rgba(255,255,255,.85); font-size: 1.08rem; }
.light-p a { color: #9fdcf8; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; }
.section.navy .sec-head p { color: rgba(255,255,255,.8); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 0; }
.split .sec-head { margin-bottom: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .split, .grid-3 { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.rounded, .rounded img { border-radius: 26px; overflow: hidden; }
.split picture.rounded img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow-lg); }

/* ------------------------------------------------ cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.svc-card, .cover-card, .value-card { padding: 30px 28px 28px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
a.svc-card:hover, .cover-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #bfe3f5; color: var(--ink); }
.svc-card p, .cover-card p, .value-card p { color: var(--ink-2); flex: 1; }
.svc-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--mist), #d9effa); color: var(--blue-700); margin-bottom: 20px; transition: transform .4s var(--ease), background .3s, color .3s; }
.svc-ic .icon { width: 28px; height: 28px; }
.svc-card:hover .svc-ic, .cover-card:hover .svc-ic { transform: rotate(-6deg) scale(1.06); background: var(--blue); color: #fff; }
.more { display: inline-flex; align-items: center; gap: .4em; font-weight: 750; color: var(--blue-700); text-decoration: none; margin-top: 8px; }
.more .icon { transition: transform .25s var(--ease); }
a:hover > .more .icon, .more:hover .icon { transform: translateX(4px); }
.card-links { display: flex; gap: 18px; flex-wrap: wrap; }
.more.alt { color: var(--navy); }

/* ------------------------------------------------ audience tabs */
.aud-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.aud { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 10px 10px 32px; }
.aud-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--mist); border-radius: 20px; padding: 6px; margin-bottom: 26px; }
.aud-tabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 0; border-radius: 15px; background: transparent; font: inherit; font-weight: 750; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.aud-tabs button .icon { width: 26px; height: 26px; }
.aud-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 6px 18px -8px rgba(0,40,59,.3); }
.aud-tabs button[aria-selected="true"] .icon { color: var(--blue); }
.aud-panel { padding: 0 22px; animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.aud-panel h3 { font-size: 1.5rem; }
.aud-panel p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
@media (max-width: 900px) { .aud-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ marquee */
.marquee-sec { padding: 44px 0; border-block: 1px solid var(--line); background: #fff; }
.mq-title { text-align: center; color: var(--ink-2); font-weight: 700; font-size: .95rem; margin-bottom: 20px; padding-inline: var(--gutter); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.mq-dup { display: contents; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { padding: 0 34px; font-size: 1.35rem; font-weight: 800; color: #8aa3b0; white-space: nowrap; letter-spacing: -.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------ steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 30px; height: 2px; background: linear-gradient(90deg, var(--blue), #9fdcf8); transform-origin: left; transform: scaleX(var(--line-p, 0)); transition: transform 1.4s var(--ease); }
.steps.in::before { --line-p: 1; }
.step { position: relative; padding: 0 6px; }
.step-n { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue-700); font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; position: relative; z-index: 1; box-shadow: 0 0 0 8px #fff; }
.section.tint .step-n { box-shadow: 0 0 0 8px var(--mist-2); }
.steps.icons .step-n .icon { width: 26px; height: 26px; }
.step p { color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 34px 22px; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------ runway */
.runway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.runway { padding: 30px; display: grid; gap: 16px; color: var(--ink); }
.runway label { display: grid; gap: 6px; font-weight: 750; color: var(--navy); font-size: .95rem; }
.runway-out { background: var(--mist); border-radius: 16px; padding: 18px; }
.rw-bar { height: 14px; border-radius: 10px; background: #d4e8f2; overflow: hidden; }
.rw-bar span { display: block; height: 100%; width: 30%; border-radius: 10px; background: linear-gradient(90deg, var(--pink), var(--amber) 45%, var(--green)); transition: width .8s var(--ease); }
.runway-out p { margin: 10px 0 0; color: var(--ink-2); }
.runway-out strong { font-size: 2rem; color: var(--navy); }
@media (max-width: 900px) { .runway-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ forms */
input, textarea, select { font: inherit; color: var(--ink); width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(39,162,223,.18); }
.money { position: relative; display: block; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--ink-2); font-weight: 700; }
.money input { padding-left: 28px; }
.pct { position: relative; display: block; }
.pct::after { content: "%"; position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--ink-2); font-weight: 700; }
.field { display: grid; gap: 6px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 750; color: var(--navy); font-size: .95rem; padding: 0; margin-bottom: 4px; }
.field small { color: var(--ink-2); font-size: .84rem; }
.form { padding: clamp(24px, 4vw, 40px); }
.form h2 { font-size: 1.6rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 650; font-size: .93rem; cursor: pointer; transition: all .2s; background: #fff; }
.chip-check input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-weight: 700; }
.form-status.ok { color: #12805f; } .form-status.err { color: #b4235a; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
.contact-side { display: grid; gap: 22px; }
.contact-side .card { padding: 28px; }
.contact-side h2 { font-size: 1.3rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list a { display: flex; gap: 14px; text-decoration: none; color: var(--ink); align-items: flex-start; }
.contact-list .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--mist); color: var(--blue-700); }
.contact-list strong { display: block; color: var(--navy); }
.contact-list small { color: var(--ink-2); line-height: 1.4; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ calculators */
.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.calc { padding: clamp(24px, 4vw, 36px); }
.calc-result { padding: 34px; position: sticky; top: 100px; }
.navy-card { background: radial-gradient(500px 260px at 100% 0, var(--navy-3), transparent 70%), var(--navy); color: rgba(255,255,255,.88); border-color: transparent; }
.calc-total { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: #fff; margin: 0 0 18px; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-break { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.calc-break li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.calc-break li span:last-child { font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; }
.calc-break li.neg span:last-child { color: #ffb3cf; }
.navy-card .small { color: rgba(255,255,255,.65); }
.holders { display: grid; gap: 10px; }
.holder { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.add-holder { margin-top: 10px; font-size: .95rem; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .calc-result { position: static; } }

/* ------------------------------------------------ quotes */
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%; }
.quote-card blockquote { margin: 0 0 18px; flex: 1; font-size: 1.05rem; color: var(--ink); }
.quote-card blockquote p:last-child { margin-bottom: 0; }
.q-mark { width: 36px; height: 36px; color: var(--blue); margin-bottom: 10px; fill: currentColor; fill-opacity: .15; }
.quote-card figcaption strong { display: block; color: var(--navy); }
.quote-card figcaption span { color: var(--ink-2); font-size: .88rem; }
.quote-card.on-navy { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.quote-card.on-navy blockquote, .quote-card.on-navy figcaption strong { color: #fff; }
.quote-card.on-navy figcaption span { color: rgba(255,255,255,.7); }
.quotes-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 85%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; }
.quotes-scroller > * { scroll-snap-align: start; }
.masonry { columns: 2 340px; column-gap: 24px; }
.masonry > div { break-inside: avoid; margin-bottom: 24px; }

/* ------------------------------------------------ MDRT */
.mdrt-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; max-width: 1000px; }
.mdrt-badge-lg { width: 200px; height: 200px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.mdrt-badge-lg img { width: 120px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 700px) { .mdrt-grid { grid-template-columns: 1fr; } .mdrt-badge-lg { width: 150px; height: 150px; } .mdrt-badge-lg img { width: 90px; } }

/* ------------------------------------------------ question list, timeline */
.qlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.qlist li { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--mist-2); border: 1px solid var(--line); }
.qlist h3 { font-size: 1.12rem; margin-bottom: 6px; }
.qlist p { margin: 0; color: var(--ink-2); }
.q-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.timeline { list-style: none; padding: 0 0 0 28px; margin: 0; border-left: 2px solid var(--line); display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -37px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl-date { font-weight: 800; color: var(--blue-700); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.timeline p { margin: 4px 0 0; }

/* ------------------------------------------------ FAQ */
.faqs { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .25s, border-color .25s; }
.faq[open] { box-shadow: var(--shadow); border-color: #c6e4f3; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 750; color: var(--navy); font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { transition: transform .3s var(--ease); color: var(--blue); }
.faq[open] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }
.faq[open] .faq-a { animation: panel-in .35s var(--ease); }

/* ------------------------------------------------ posts & covers */
.cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cover-art { display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; }
.cover-art .ca-icon { width: 34%; height: auto; stroke-width: 1.1; position: relative; z-index: 1; transition: transform .8s var(--ease); filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)); }
.ca-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); }
.ca-ring.r1 { width: 70%; aspect-ratio: 1; animation: spin-slow 40s linear infinite; border-style: dashed; }
.ca-ring.r2 { width: 110%; aspect-ratio: 1; right: -45%; bottom: -60%; background: rgba(255,255,255,.07); }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.ca-label { position: absolute; left: 18px; bottom: 14px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; opacity: .9; }
.c-business { --c1: #00283b; --c2: #0f6a99; } .c-family { --c1: #1586c0; --c2: #5cc4f0; } .c-kiwisaver { --c1: #0b7a63; --c2: #2bb38a; }
.c-claims { --c1: #7a2a59; --c2: #f03f85; } .c-about { --c1: #0b4562; --c2: #27a2df; }
.post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card:hover .cover-photo img, .post-lead:hover .cover-photo img { transform: scale(1.05); }
.post-card:hover .ca-icon, .post-lead:hover .ca-icon { transform: scale(1.1) rotate(-4deg); }
.pc-link { position: absolute; inset: 0; z-index: 2; }
.pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.15rem; }
.pc-body p { color: var(--ink-2); font-size: .97rem; flex: 1; }
.pc-meta { display: flex; gap: 12px; align-items: center; font-size: .84rem; color: var(--ink-2); margin-bottom: 12px; font-weight: 650; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: linear-gradient(135deg, var(--c1, var(--blue)), var(--c2, var(--blue))); }
.post-lead { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; text-decoration: none; color: var(--ink); margin-bottom: 40px; transition: box-shadow .35s var(--ease); }
.post-lead:hover { box-shadow: var(--shadow-lg); color: var(--ink); }
.post-lead .cover { aspect-ratio: auto; min-height: 320px; height: 100%; }
.pl-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.pl-body h2 { font-size: clamp(1.5rem, 2vw + .6rem, 2.2rem); }
.pl-body p { color: var(--ink-2); }
@media (max-width: 900px) { .post-lead { grid-template-columns: 1fr; } .post-lead .cover { min-height: 0; aspect-ratio: 16 / 9; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--navy); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-card.hide { display: none; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; }
.read-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--pink)); transform-origin: left; transform: scaleX(0); }
.post-head { background: linear-gradient(180deg, var(--mist), #fff); padding: 56px 0 30px; }
.post-head h1 { font-size: clamp(2rem, 3vw + .7rem, 3.1rem); }
.byline { color: var(--ink-2); font-size: .92rem; font-weight: 650; }
.post-cover-wrap { max-width: 1000px; }
.post-cover { border-radius: 26px; aspect-ratio: 21 / 9; box-shadow: var(--shadow-lg); }
.post-cover.cover-photo img { object-position: center 35%; }
.post-grid { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 56px; justify-content: center; padding: 56px 0 80px; }
.post-side { position: sticky; top: 100px; align-self: start; }
.post-side .side-cta { margin-top: 24px; padding: 22px; }
.toc p { font-weight: 800; color: var(--navy); text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: .92rem; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.on { color: var(--navy); border-left-color: var(--blue); }
@media (max-width: 1020px) { .post-grid { grid-template-columns: 1fr; gap: 0; } .post-side { order: 2; position: static; } .toc { display: none; } }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.45rem, 1.2vw + 1rem, 1.85rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); font-weight: 800; }
.prose ul.ticks { padding-left: 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
.prose th { background: var(--mist); color: var(--navy); text-align: left; font-weight: 800; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose .faq-title { margin-top: 2em; }
.disclaimer { margin-top: 2em; padding: 16px 18px; background: var(--mist-2); border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; font-size: .92rem; color: var(--ink-2); }
.author-box { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.author-box img, .author-box picture { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box strong { display: block; color: var(--navy); }
.author-box span { color: var(--ink-2); font-size: .92rem; }
.ab-ic { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--mist); color: var(--blue-700); }

/* ------------------------------------------------ team */
.person { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.person-photo { aspect-ratio: 1; overflow: hidden; background: var(--mist); }
.person-photo img, .person-photo picture { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person:hover .person-photo img { transform: scale(1.04); }
.avatar { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: var(--blue-700); }
.person-body { padding: 22px 24px 26px; }
.person-body h3 { margin-bottom: 2px; font-size: 1.3rem; }
.role { color: var(--blue-700); font-weight: 750; margin-bottom: 8px; }
.fsp { display: inline-block; font-size: .78rem; font-weight: 750; color: var(--ink-2); background: var(--mist); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px 0 12px; }
.chips li { font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--navy); }
.bio summary { cursor: pointer; font-weight: 750; color: var(--blue-700); list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.bio summary::-webkit-details-marker { display: none; }
.bio .chev { transition: transform .3s var(--ease); }
.bio[open] .chev { transform: rotate(180deg); }
.bio p { color: var(--ink-2); font-size: .97rem; margin-top: 10px; }
.bio[open] p { animation: panel-in .35s var(--ease); }
.person-links { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.icon-link { color: var(--navy); } .icon-link .icon { width: 28px; height: 28px; }
.feed-note { margin-top: 18px; display: inline-block; font-size: .88rem; background: #fff6d9; color: #6b5313; border-radius: 12px; padding: 8px 14px; }

/* ------------------------------------------------ legal */
.legal h2 { font-size: 1.5rem; }
.draft-note { background: #fff6d9; color: #6b5313; padding: 14px 18px; border-radius: 14px; font-size: .95rem; }

/* ------------------------------------------------ CTA band + footer */
.cta-band { background: linear-gradient(120deg, var(--blue-700), var(--blue) 60%, #4fbdee); color: #fff; padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: rgba(255,255,255,.1); animation: float 12s ease-in-out infinite alternate; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
.cta-band .eyebrow.light { color: #fff; }
.cta-band .btn-primary { --bg: var(--navy); }
.cta-band .btn-primary:hover { --bg: #000f17; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 900px) { .cta-inner { flex-direction: column; align-items: flex-start; } }
.site-footer { background: #001b28; color: rgba(255,255,255,.75); padding: 72px 0 30px; font-size: .95rem; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 36px; }
.f-brand img { width: 150px; margin-bottom: 18px; }
.f-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 16px; }
.f-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.f-contact li a, .f-contact li span { display: inline-flex; gap: 10px; align-items: flex-start; }
.f-contact .icon { color: var(--blue); margin-top: 3px; }
.f-social { display: flex; gap: 12px; }
.f-social .icon { width: 28px; height: 28px; }
.mdrt-badge { display: inline-block; margin-top: 20px; background: #fff; border-radius: 14px; padding: 8px; }
.mdrt-badge img { width: 56px; }
.f-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; font-size: .84rem; color: rgba(255,255,255,.6); }
.f-legal a { color: rgba(255,255,255,.75); text-decoration: underline; }
.f-links { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 1020px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }
.preview-badge { position: fixed; left: 16px; bottom: 16px; z-index: 70; background: var(--pink); color: #fff; font-weight: 800; font-size: .78rem; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); letter-spacing: .04em; }

/* ------------------------------------------------ reveal motion */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal, .js .page-hero .reveal, .js .post-head .reveal, .js .post-cover-wrap.reveal { opacity: 1; transform: none; transition: none; animation: rise .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.reveal[data-delay="1"] { --d: 1; } .reveal[data-delay="2"] { --d: 2; } .reveal[data-delay="3"] { --d: 3; } .reveal[data-delay="4"] { --d: 4; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rotator span { animation: none; }
  .mq-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .mq-dup { display: none; }
}
@media print { .site-header, .cta-band, .site-footer, .post-side, .read-progress, .preview-badge { display: none; } }
.page-hero:not(.has-media) { padding: 48px 0 44px; }
.page-hero:not(.has-media) .ph-copy h1 { max-width: 24ch; }
@media (max-width: 480px) { .hero h1 { font-size: 2.15rem; } .hero-inner { padding: 48px 0 70px; } .hero-trust li { max-width: none; } }
/* legal pages (verbatim FMA information) */
.legal-grid { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 56px; justify-content: center; align-items: start; }
.legal-side { position: sticky; top: 100px; }
.legal-side .card { padding: 22px; }
.legal-side ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.legal-side a { font-weight: 700; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal h2 { font-size: 1.45rem; margin-top: 1.6em; }
.legal h2:first-child { margin-top: 0; }
.legal-updated { margin-top: 2em; }
.has-sub .sub a.mega-link[href$="-disclosure/"] { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; padding-top: 16px; }
@media (max-width: 1020px) { .legal-grid { grid-template-columns: 1fr; gap: 28px; } .legal-side { position: static; } .has-sub .sub a.mega-link[href$="-disclosure/"] { border-top-color: rgba(255,255,255,.12); } }

/* Mobile overflow fixes (20 Nov 2026): single-column grids must be allowed to shrink below their content's
   natural width, long buttons wrap, and the audience tabs stay inside the card on small phones. */
@media (max-width: 1020px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .aud-grid, .calc-grid, .split, .grid-3, .contact-grid, .runway-grid, .post-lead { grid-template-columns: minmax(0, 1fr); }
  .aud-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-side .side-cta, .calc-result, .calc { overflow: hidden; }
}
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .aud-tabs button { padding: 12px 4px; font-size: .9rem; }
  .actions .btn { width: 100%; }
}
.prose img, .prose table { max-width: 100%; }

/* AWS WAF CAPTCHA pop-up for the contact form */
.captcha-overlay { position: fixed; inset: 0; z-index: 999; background: rgba(10, 25, 41, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.captcha-box { background: #fff; color: var(--ink, #1b2a3a); border-radius: 16px; padding: 22px; max-width: 440px; width: 100%; max-height: 100%; overflow: auto; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.captcha-title { font-weight: 800; margin: 0 0 12px; }
.captcha-cancel { margin-top: 12px; background: none; border: 0; color: var(--muted, #5b6b7b); text-decoration: underline; cursor: pointer; padding: 4px 0; }
