:root {
  --navy: #043726;
  --navy-dark: #01281c;
  --blue: #0b4f37;
  --green: #0f6f38;
  --green-dark: #084d2a;
  --gold: #c79a3a;
  --ink: #06261d;
  --muted: #56645d;
  --line: #d8ded8;
  --soft: #f8f2e6;
  --white: #fff;
  --shadow: 0 18px 45px rgba(6, 38, 29, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(199, 154, 58, 0.22), transparent 32rem),
    linear-gradient(135deg, #fff9ed 0%, #f3f5ef 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  align-content: center;
  justify-items: center;
  padding: 12px;
}

.funnel-page {
  display: none;
  width: min(100%, 1180px);
}

.funnel-page.active {
  display: block;
}

.optin-card,
.thankyou-card,
.questions-card,
.final-card {
  overflow: hidden;
  border: 1px solid rgba(8, 39, 91, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.optin-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 455px);
  grid-template-areas:
    "copy form"
    "media form";
  gap: 18px 26px;
  padding: 20px;
}

.optin-copy,
.optin-media {
  min-width: 0;
}

.optin-copy {
  grid-area: copy;
  align-self: end;
}

.optin-media {
  grid-area: media;
  display: block;
  width: min(100%, 84%);
  justify-self: start;
}

.funnel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 1180px);
  margin-bottom: 26px;
}

.funnel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.funnel-brand span {
  display: grid;
  gap: 1px;
}

.funnel-brand strong {
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.funnel-brand em {
  color: var(--muted);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.funnel-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.logo-emblem {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  object-fit: contain;
}

.header-call {
  display: grid;
  min-width: 248px;
  gap: 2px;
  border-radius: 7px;
  padding: 9px 18px;
  color: var(--white);
  background: var(--green);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(16, 130, 50, 0.16);
}

.header-call span {
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.header-call strong {
  font-size: 1.34rem;
  line-height: 1.05;
  white-space: nowrap;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.optin-copy h1 {
  max-width: 660px;
  color: var(--navy);
  font-size: clamp(2rem, 3.55vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.subcopy {
  max-width: 620px;
  margin-top: 12px;
  color: #17233a;
  font-size: 1.05rem;
  line-height: 1.45;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 5px;
  background: #dce4e7;
  aspect-ratio: 16 / 9.4;
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(8, 39, 91, 0.72);
  transform: translate(-50%, -50%);
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--white);
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--ink);
  font-size: 0.89rem;
  line-height: 1.35;
}

.check-list strong {
  font-weight: 900;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
}

.optin-form-panel {
  grid-area: form;
  align-self: start;
  padding: 24px;
  border-radius: 7px;
  color: var(--white);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.optin-form-panel h2 {
  color: var(--white);
  font-size: 1.42rem;
  text-align: center;
}

.optin-form-panel > p {
  margin: 4px 0 14px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

form {
  display: grid;
  gap: 10px;
}

.optin-form-panel form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.optin-form-panel label:nth-of-type(7),
.optin-form-panel .primary-button,
.optin-form-panel .consent-note,
.optin-form-panel .security-note {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

label span {
  color: rgba(255, 255, 255, 0.72);
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(8, 39, 91, 0.22);
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  padding: 0 10px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(205, 164, 72, 0.25);
}

.primary-button {
  min-height: 54px;
  border: 0;
  border-radius: 5px;
  color: var(--white);
  background: linear-gradient(180deg, #11913b, var(--green-dark));
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(16, 130, 50, 0.22);
}

.security-note {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.consent-note {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.security-note.dark {
  color: var(--navy);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(8, 39, 91, 0.12);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.82);
}

.trust-strip span {
  padding: 12px 10px;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip span + span {
  border-left: 1px solid rgba(8, 39, 91, 0.12);
}

.thankyou-card,
.final-card {
  width: min(100%, 420px);
  margin: 0 auto;
}

.navy-header {
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 26px 22px;
  color: var(--white);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  text-align: center;
}

.circle-check,
.success-badge {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
}

.circle-check {
  width: 54px;
  height: 54px;
  border: 2px solid currentColor;
  font-size: 1.65rem;
}

.success-badge {
  width: 62px;
  height: 62px;
  background: #66ba42;
  font-size: 2.1rem;
}

.navy-header h1,
.navy-header h2 {
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1;
}

.navy-header p {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.advisor-body,
.final-body {
  padding: 24px;
  text-align: center;
}

.advisor-body img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.advisor-body h2 {
  margin-top: 14px;
  color: var(--navy);
  font-size: 1.45rem;
}

.advisor-body > p {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 600;
}

.soft-callout,
.next-box,
.callout-row {
  border: 1px solid #cdd9e7;
  border-radius: 6px;
  background: #f1f7fc;
}

.soft-callout {
  margin-top: 18px;
  padding: 16px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.45;
}

.phone-lite {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 13px;
  border-radius: 6px;
  color: var(--navy);
  background: #f8fbfe;
  border: 1px solid #d5e0ec;
}

.phone-lite span {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-lite strong {
  font-size: 1.45rem;
}

.preference-form {
  margin-top: 16px;
}

.next-box {
  margin-top: 18px;
  padding: 16px;
  text-align: left;
}

.next-box h3 {
  color: var(--navy);
  font-size: 1.05rem;
}

.compact li {
  font-weight: 700;
}

.advisor-body .primary-button {
  width: 100%;
  margin-top: 18px;
  padding: 0 14px;
}

.thankyou-card footer {
  padding: 14px 18px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.questions-card {
  width: min(100%, 610px);
  margin: 0 auto;
  padding: 26px;
}

.questions-card h1,
.questions-card > h2 {
  color: var(--navy);
  font-size: 1.72rem;
  text-align: center;
}

.questions-card > p {
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.95rem;
  text-align: center;
}

.progress-mini {
  width: 220px;
  height: 8px;
  margin: 16px auto 18px;
  overflow: hidden;
  border-radius: 99px;
  background: #d7d7d7;
}

.progress-mini span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

fieldset {
  margin: 0 0 15px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.35;
}

.choice-grid {
  display: grid;
  gap: 9px;
}

.choice-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.choice-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.choice-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.choice-grid label {
  position: relative;
  min-height: 43px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.83rem;
  text-align: center;
  transition: 150ms ease;
}

.choice-grid input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.choice-grid label:has(input:checked) {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}

.questions-card .primary-button {
  width: 100%;
  margin-top: 5px;
}

.submission-error {
  display: none;
  border: 1px solid #f0b3b3;
  border-radius: 6px;
  padding: 10px 12px;
  color: #7b1f1f;
  background: #fff2f2;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.submission-error.visible {
  display: block;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.lead-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cf-turnstile {
  min-height: 65px;
}

.cf-turnstile iframe {
  max-width: 100%;
}

.back-link {
  justify-self: start;
  width: auto;
  min-height: 0;
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.back-link::before {
  content: "← ";
}

.back-link:hover {
  color: var(--navy);
}

.final-advisor-photo {
  width: 82px;
  height: 82px;
  margin: -8px auto 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(7, 24, 50, 0.16);
}

.callout-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: var(--ink);
  text-align: left;
}

.callout-row span {
  color: var(--green);
  font-size: 2rem;
}

.callout-row p {
  line-height: 1.45;
}

.final-body h2 {
  margin: 22px 0 14px;
  color: var(--green);
  font-size: 1.3rem;
}

.icon-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  list-style: none;
  text-align: left;
}

.icon-list li {
  position: relative;
  padding-left: 34px;
  line-height: 1.45;
}

.icon-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--blue);
  content: "♡";
  font-size: 1.35rem;
  font-weight: 900;
}

.phone-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
}

.phone-panel p {
  font-weight: 900;
}

.phone-panel span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 800;
}

.phone-panel strong {
  display: block;
  margin: 8px 0 12px;
  font-size: 1.9rem;
}

.phone-panel a {
  display: block;
  min-height: 42px;
  border-radius: 5px;
  color: var(--white);
  background: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 42px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 34px;
  width: min(100%, 1180px);
  margin-top: 44px;
  padding: 20px 0 8px;
  border-top: 1px solid rgba(7, 24, 50, 0.12);
  color: rgba(7, 24, 50, 0.62);
  font-size: 0.72rem;
  text-align: left;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.footer-brand-link span {
  display: grid;
  gap: 1px;
}

.footer-brand strong,
.footer-brand-link strong {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-brand-link em {
  color: var(--muted);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 0;
}

.footer-call {
  display: inline-grid;
  gap: 2px;
  max-width: 220px;
  border-radius: 7px;
  padding: 8px 12px;
  margin-top: 10px;
  color: var(--white);
  background: var(--green);
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 111, 56, 0.15);
}

.footer-call span {
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-call strong {
  font-size: 0.98rem;
  line-height: 1.05;
}

.footer-link-groups {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(120px, 0.45fr);
  gap: 32px;
  text-align: left;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 11px;
}

.site-footer h2 {
  margin: 0;
  color: rgba(7, 24, 50, 0.5);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer nav div {
  display: grid;
  gap: 9px;
}

.site-footer a,
.site-footer button {
  justify-self: start;
  border: 0;
  padding: 0;
  color: rgba(8, 39, 91, 0.88);
  background: transparent;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.site-footer a:hover,
.site-footer button:hover {
  color: var(--green);
}

.niche-page .page-shell {
  align-content: start;
  padding-top: 12px;
}

.niche-page .funnel-page.active {
  display: grid;
}

.niche-optin-card {
  align-items: stretch;
}

.niche-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.advisor-spotlight,
.niche-proof-list {
  border: 1px solid rgba(8, 39, 91, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.advisor-spotlight {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px;
}

.advisor-spotlight img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
}

.advisor-spotlight span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.advisor-spotlight strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 900;
}

.advisor-spotlight p {
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.45;
}

.niche-proof-list {
  margin-top: 12px;
  padding: 17px;
}

.niche-proof-list h2 {
  color: var(--navy);
  font-size: 1rem;
}

.niche-proof-list ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.niche-proof-list li {
  position: relative;
  padding-left: 25px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.4;
}

.niche-proof-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.niche-detail-section,
.niche-faq-section {
  width: 100%;
  margin-top: 24px;
}

.niche-detail-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0 6px;
}

.niche-detail-intro {
  display: grid;
  align-content: start;
  gap: 10px;
}

.niche-detail-intro h2,
.niche-faq-section h2 {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.12;
}

.niche-detail-intro p,
.niche-scan-list span,
.niche-faq-item p {
  color: #2f4038;
  font-size: 0.92rem;
  line-height: 1.5;
}

.niche-scan-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.niche-scan-list li {
  position: relative;
  display: grid;
  gap: 3px;
  padding-left: 24px;
}

.niche-scan-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--navy);
  content: "✓";
  font-weight: 900;
}

.niche-scan-list strong {
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.2;
}

.niche-faq-section {
  display: grid;
  gap: 10px;
  max-width: 760px;
  padding: 8px 0 12px;
}

.niche-faq-list {
  display: grid;
  border-top: 1px solid rgba(8, 39, 91, 0.12);
}

.niche-faq-item {
  border-bottom: 1px solid rgba(8, 39, 91, 0.12);
  padding: 0;
}

.niche-faq-item summary {
  cursor: pointer;
  padding: 15px 0;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.3;
}

.niche-faq-item summary::marker {
  color: var(--gold);
}

.niche-faq-item p {
  max-width: 650px;
  padding: 0 0 16px;
}

@media (max-width: 820px) {
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
    gap: 22px;
    text-align: left;
  }

  .footer-brand {
    justify-items: start;
  }

  .footer-link-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

.resource-page {
  background: #f4f7f5;
}

.resource-page .page-shell {
  display: block;
  min-height: auto;
  padding: 0;
}

.resource-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(8, 39, 91, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.resource-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 32px, 1120px);
  min-height: 70px;
  margin: 0 auto;
}

.brand-link,
.resource-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-link {
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-link img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.resource-nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.resource-nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.resource-nav-links a:hover {
  color: var(--green);
}

.resource-main {
  background: var(--white);
}

.resource-hero {
  border-bottom: 1px solid rgba(8, 39, 91, 0.1);
  background:
    linear-gradient(90deg, rgba(8, 39, 91, 0.93), rgba(8, 39, 91, 0.78)),
    url("Assets/elderly-couple.png") center/cover;
}

.resource-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: 36px;
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 72px 0;
  color: var(--white);
}

.resource-eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.resource-hero h1 {
  max-width: 760px;
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.resource-hero p {
  max-width: 690px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.resource-cta,
.resource-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 5px;
  padding: 0 18px;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.resource-cta {
  color: var(--white);
  background: var(--green);
}

.resource-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.resource-proof {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.11);
}

.resource-proof h2 {
  color: var(--white);
  font-size: 1.15rem;
}

.resource-proof ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.resource-proof li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  line-height: 1.4;
}

.resource-proof li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✓";
  font-weight: 900;
}

.resource-section {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 56px 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 40px;
}

.resource-content {
  display: grid;
  gap: 28px;
}

.resource-content h2,
.resource-panel h2,
.resource-faq h2,
.related-links h2 {
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.resource-content h3 {
  color: var(--green);
  font-size: 1.1rem;
}

.resource-content p,
.resource-content li,
.resource-panel p,
.resource-faq p {
  color: #2e3c52;
  font-size: 1rem;
  line-height: 1.72;
}

.resource-content ul,
.resource-faq ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.resource-panel {
  align-self: start;
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(8, 39, 91, 0.14);
  border-radius: 8px;
  padding: 22px;
  background: #f8fbfe;
}

.resource-panel img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
}

.resource-panel .resource-cta {
  width: 100%;
}

.service-states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.service-states span {
  border: 1px solid rgba(8, 39, 91, 0.12);
  border-radius: 99px;
  padding: 6px 10px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.resource-faq {
  background: #f4f7f5;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.faq-list article {
  border-bottom: 1px solid rgba(8, 39, 91, 0.12);
  padding-bottom: 16px;
}

.faq-list h3 {
  color: var(--navy);
  font-size: 1rem;
}

.faq-list p {
  margin-top: 8px;
}

.related-links {
  display: grid;
  gap: 18px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-grid a {
  display: grid;
  gap: 6px;
  min-height: 118px;
  border: 1px solid rgba(8, 39, 91, 0.12);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}

.related-grid strong {
  color: var(--navy);
}

.related-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.resource-final-cta {
  color: var(--white);
  background: linear-gradient(90deg, var(--navy), var(--navy-dark));
}

.resource-final-cta .resource-section {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.resource-final-cta h2 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
}

.resource-final-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.resource-footer {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.resource-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.resource-footer a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.resource-footer a:hover {
  color: var(--green);
}

.legal-modal,
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 18px;
}

.legal-modal.open,
.video-modal.open {
  display: grid;
}

.legal-backdrop,
.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 26, 64, 0.58);
}

.legal-dialog,
.video-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 620px);
  max-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(4, 26, 64, 0.28);
}

.legal-dialog header,
.video-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  color: var(--white);
  background: var(--navy);
}

.legal-dialog h2,
.video-dialog h2 {
  color: var(--white);
  font-size: 1.24rem;
}

.modal-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
}

.legal-content {
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 20px;
  color: var(--ink);
  line-height: 1.55;
}

.legal-content h3 {
  color: var(--navy);
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  color: #28384f;
  font-size: 0.92rem;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.legal-content .legal-disclaimer {
  border-radius: 6px;
  padding: 12px;
  background: #f3f6fa;
  color: var(--muted);
  font-size: 0.84rem;
}

.video-dialog {
  width: min(100%, 860px);
  max-height: calc(100vh - 36px);
}

.video-embed {
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .page-shell {
    align-content: start;
    align-items: start;
    padding: 10px;
  }

  .funnel-header {
    position: sticky;
    top: 0;
    z-index: 5;
    width: calc(100% + 20px);
    margin: -10px -10px 22px;
    padding: 10px;
    border-bottom: 1px solid rgba(8, 39, 91, 0.1);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }

  .funnel-brand strong {
    font-size: 0.82rem;
  }

  .funnel-brand em {
    display: none;
  }

  .funnel-nav {
    gap: 0;
  }

  .header-call {
    min-width: 0;
    padding: 10px 12px;
  }

  .header-call span {
    display: none;
  }

  .header-call strong {
    font-size: 1rem;
  }

  .optin-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "form"
      "media";
    gap: 16px;
  }

  .optin-form-panel {
    align-self: stretch;
  }

  .optin-form-panel form {
    grid-template-columns: 1fr;
  }

  .optin-form-panel label:nth-of-type(7),
  .optin-form-panel .primary-button,
  .optin-form-panel .consent-note,
  .optin-form-panel .security-note {
    grid-column: auto;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .media-trust-strip {
    margin-top: 10px;
  }

  .niche-detail-section,
  .niche-scan-list {
    grid-template-columns: 1fr;
  }

  .resource-page .page-shell {
    padding: 0;
  }

  .resource-nav-inner,
  .resource-hero-inner,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-nav-inner {
    display: grid;
    min-height: auto;
    padding: 14px 0;
  }

  .resource-nav-links {
    justify-content: flex-start;
  }

  .resource-hero-inner {
    gap: 26px;
    padding: 48px 0;
  }

  .resource-panel {
    position: static;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer,
  .footer-link-groups {
    grid-template-columns: 1fr;
  }

  .footer-call {
    max-width: 100%;
  }

  .optin-card,
  .questions-card {
    padding: 14px;
  }

  .funnel-brand {
    gap: 7px;
  }

  .funnel-brand strong {
    font-size: 0.76rem;
  }

  .logo-emblem {
    width: 31px;
    height: 31px;
  }

  .header-call {
    padding: 10px 11px;
  }

  .header-call strong {
    font-size: 0.94rem;
  }

  .optin-copy {
    align-self: start;
  }

  .optin-copy h1 {
    font-size: 1.88rem;
    line-height: 1.04;
  }

  .subcopy {
    margin-top: 10px;
    font-size: 0.98rem;
  }

  .optin-form-panel {
    padding: 18px;
  }

  .advisor-spotlight {
    grid-template-columns: 76px 1fr;
    padding: 13px;
  }

  .advisor-spotlight img {
    width: 76px;
    height: 76px;
  }

  .niche-detail-section {
    gap: 18px;
    padding-top: 20px;
  }

  .optin-form-panel h2 {
    font-size: 1.22rem;
  }

  .optin-form-panel > p {
    margin-bottom: 12px;
  }

  form {
    gap: 9px;
  }

  .video-frame {
    aspect-ratio: 16 / 10;
  }

  .choice-grid.four,
  .choice-grid.two,
  .choice-grid.three,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip span + span {
    border-top: 1px solid rgba(8, 39, 91, 0.12);
    border-left: 0;
  }
}
