/* Shared portal components. Rule order preserves the approved visual cascade. */

/* Navigation and shared page sections */
.sectionnav {
  display: flex;
  gap: 25px;
  margin-left: auto;
  margin-right: 25px;
  font-size: 14px;
  font-weight: 600;
}
.sectionnav a {
  color: var(--brand);
  text-decoration: none;
}
.sectionnav a:hover,
.story a:hover {
  text-decoration: underline;
}
.feature {
  padding: 76px 0;
  scroll-margin-top: 80px;
}
.feature h2,
.closebar h2 {
  font: 540 clamp(34px, 4vw, 62px)/1.04 var(--fd);
  letter-spacing: -0.045em;
  color: var(--brand);
  margin: 18px 0;
}
.tag,
.credit,
.sum span {
  font: 600 12px/1.5 var(--fm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.tag {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tag:before {
  content: "";
  width: 32px;
  height: 3px;
  background: #36885c;
}
.intro {
  max-width: 660px;
}
.cases {
  background: #e8eeea;
}
.casegrid,
.split,
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.casegrid {
  margin: 32px 0 14px;
}
.casegrid article {
  padding: 30px 34px;
  background: #fcfcf9;
  border-top: 3px solid var(--brand);
}
.casegrid h3 {
  font: 550 31px/1.15 var(--fd);
  color: var(--brand);
  margin: 0 0 10px;
}
.casegrid p {
  max-width: 48ch;
  min-height: 3.2em;
}
.meter {
  display: flex;
  height: 10px;
  background: #97d9b8;
  margin: 25px 0 16px;
}
.meter i {
  background: var(--brand);
}
.meter b {
  background: #b9c1cd;
}
.casegrid dl {
  margin: 0;
}
.casegrid dl div,
.sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.casegrid dl div {
  border-bottom: 1px solid #d8ddd7;
  padding: 7px 0;
}
.casegrid dd {
  font-weight: 650;
}
.sum {
  color: #20563f;
  margin-top: 17px;
}
.sum strong {
  font: 550 46px var(--fd);
}
.cases small {
  font-size: 13px;
}
.agents {
  background: var(--brand);
  color: white;
}
.agents h2,
.agents .tag {
  color: white;
}
.split {
  align-items: center;
  gap: 8%;
}
.agents ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.agents li {
  border-top: 1px solid #ffffff36;
  padding: 13px 0;
}
.agents li p {
  font-size: 16px;
  color: #e0e1eb;
  margin: 4px 0;
}
.agents aside {
  background: #e6f0e8;
  padding: clamp(24px, 3vw, 54px);
  color: var(--brand);
}
.agents aside .tag {
  color: #254e3a;
}
.qmark {
  font: 100px/0.84 Georgia;
  color: #347455;
  height: 65px;
  margin-top: 32px;
}
.feature blockquote {
  font: 430 clamp(24px, 2.4vw, 38px)/1.24 var(--fd);
  letter-spacing: -0.025em;
  margin: 0;
}
.credit {
  border-top: 1px solid #a9bdaf;
  margin-top: 28px;
  padding-top: 16px;
  font-size: 11px;
}
.story {
  align-items: center;
  grid-template-columns: minmax(200px, 0.62fr) 1fr;
  gap: 7%;
}
.story img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: 50% 35%;
}
.story blockquote {
  margin: 20px 0;
  font-size: clamp(23px, 2.1vw, 33px);
}
.story p {
  margin: 0 0 12px;
}
.story a {
  display: inline-block;
  margin: 4px 20px 0 0;
  font-size: 14px;
  font-weight: 650;
  color: #274f84;
}
.closebar {
  background: #e0e8ec;
  padding: 22px 0;
}
.closebar .v2-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.closebar h2 {
  font-size: 34px;
}
.ks-debts {
  padding: 52px 0;
}
.feature p {
  line-height: 1.5;
}
@media (max-width: 850px) {
  .sectionnav {
    display: none;
  }
}
@media (max-width: 700px) {
  .feature {
    padding: 48px 0;
  }
  .casegrid,
  .split,
  .story {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .casegrid article {
    padding: 24px;
  }
  .story img {
    height: 270px;
  }
  .closebar .v2-wrap {
    display: grid;
  }
  .casegrid p {
    min-height: 0;
  }
}

/* Accepted debts section */
.eligibility {
  padding: clamp(40px, 5vw, 80px) 0;
  background: #f7f6f1;
}
.eligibility h2 {
  font: 520 clamp(36px, 4.2vw, 64px)/1.05 var(--fd);
  letter-spacing: -0.045em;
  color: var(--brand);
  margin: 0 0 32px;
}
.debtgroups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.debtgroups article {
  --tint: #e4efea;
  --line: #77a48d;
  --tone: #28604c;
  background: #fff;
  border: 1px solid #d8dcd6;
  border-top: 4px solid var(--line);
  border-radius: 5px;
  padding: clamp(22px, 2.4vw, 38px);
  box-shadow: 0 3px 9px #242c3910;
}
.debtgroups article:nth-child(2) {
  --tint: #e4edf8;
  --line: #789dc7;
  --tone: #365b8d;
}
.debtgroups article:nth-child(3) {
  --tint: #eceaf3;
  --line: #9994b7;
  --tone: #62567e;
}
.debticon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--tint);
  color: var(--tone);
}
.debtgroups h3 {
  font: 530 clamp(24px, 2.2vw, 34px)/1.12 var(--fd);
  color: var(--brand);
  letter-spacing: -0.035em;
  margin: 22px 0 18px;
}
.debtgroups ul {
  border-top: 1px solid #dddeda;
  list-style: none;
  margin: 0;
  padding: 13px 0 0;
}
.debtgroups li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 5px 0;
  font-size: 17px;
}
.debtgroups li:before {
  content: "";
  display: block;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--tone);
  border-bottom: 2px solid var(--tone);
  transform: rotate(-45deg);
  flex: none;
}
.eligfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 0;
}
.eligfoot p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
}
.eligfoot b {
  color: var(--brand);
}
.eligfoot span {
  color: inherit;
}
.eligfoot a {
  gap: 16px;
}
@media (max-width: 760px) {
  .debtgroups {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .debtgroups article {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    column-gap: 14px;
    padding: 18px 20px;
  }
  .debticon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .debticon svg {
    width: 25px;
  }
  .debtgroups h3 {
    margin: 0;
  }
  .debtgroups ul {
    grid-column: 1/-1;
    margin-top: 13px;
    padding-top: 8px;
  }
  .eligfoot,
  .eligfoot p {
    align-items: flex-start;
    flex-direction: column;
  }
  .eligfoot p {
    gap: 0;
  }
  .eligfoot a {
    width: 100%;
    justify-content: center;
  }
}
/* Hero colors and typography */
.ks-hero {
  --hero-bg: #edf2f7;
  --hero-ink: #172442;
  --hero-detail: #364964;
  --hero-accent: #22589a;
  --hero-card: #f8fafc;
  --hero-border: #acbbcc;
  --hero-grid: rgba(32, 61, 95, 0.12);
  background: var(--hero-bg);
  color: var(--hero-ink);
  font-family: var(--fb);
}
html[data-theme="dark"] .ks-hero {
  --hero-bg: #1b2044;
  --hero-ink: #f8faff;
  --hero-detail: #d6e2f2;
  --hero-accent: #a9cfff;
  --hero-card: #2b3355;
  --hero-border: #617293;
  --hero-grid: rgba(206, 221, 245, 0.16);
}
.ks-hero .v2-hero__grid-bg {
  --rule-light: var(--hero-grid);
}
.ks-hero__photo {
  opacity: 0.46;
  background: var(--hero-bg);
}
.ks-hero__photo:before {
  background: linear-gradient(90deg, var(--hero-bg), transparent 85%);
}
.ks-hero__photo:after {
  background: var(--hero-bg);
  opacity: 0.25;
  mix-blend-mode: normal;
}
.ks-hero__in {
  padding-block: clamp(44px, 5.3vw, 82px);
}
.ks-hero .v2-eyebrow {
  font: 600 clamp(14px, 1.1vw, 17px)/1.45 var(--fb);
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--hero-detail);
  margin: 0 0 18px;
}
.ks-hero .v2-dot {
  background: var(--hero-accent);
}
.ks-hero .v2-display {
  font: 650 clamp(40px, 5.2vw, 78px)/1.09 var(--fb);
  letter-spacing: -0.04em;
  color: var(--hero-ink);
  max-width: none;
  margin: 0;
}
.ks-hero .v2-display em {
  font: inherit;
  color: var(--hero-accent);
}
.ks-lede {
  margin: 20px 0 0;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.5;
  max-width: 55ch;
  color: var(--hero-detail);
}
.ks-actions {
  margin-top: clamp(27px, 3vw, 44px);
}
.v2 .ks-action {
  min-height: 116px;
  padding: 25px 54px 25px 24px;
  align-content: center;
  color: var(--hero-ink);
  background: var(--hero-card);
  border-color: var(--hero-border);
  border-radius: 5px;
}
.ks-action__t {
  font: 650 clamp(21px, 1.7vw, 27px)/1.2 var(--fb);
  letter-spacing: -0.018em;
}
.ks-action__d {
  font: 400 16px/1.5 var(--fb);
  color: var(--hero-detail);
  opacity: 1;
}
.ks-action .arrow {
  top: 28px;
  right: 19px;
  width: 22px;
  height: 22px;
}
.v2 .ks-action:hover {
  background: var(--hero-card);
  border-color: var(--hero-accent);
}
.v2 .ks-action--main {
  background: #245da3;
  border-color: #245da3;
  color: white;
}
.v2 .ks-action--main:hover {
  background: #184981;
}
.ks-action--main .ks-action__d {
  color: #f4f8ff;
}
.ks-hero a:focus-visible {
  outline: 3px solid var(--hero-accent);
  outline-offset: 4px;
}
.v2 .ks-help,
.ks-help b {
  color: var(--hero-detail);
}
.v2 .ks-help {
  font-size: 16px;
  margin-top: 22px;
}
@media (max-width: 760px) {
  .v2 .ks-action {
    min-height: 0;
    padding: 16px 46px 16px 18px;
  }
  .ks-action .arrow {
    top: 21px;
  }
  .ks-hero .v2-eyebrow {
    max-width: 32ch;
  }
  .ks-hero .v2-display {
    font-size: clamp(34px, 8vw, 46px);
  }
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/instrument-sans.woff2) format("woff2");
}
/* Portal palette and typography shared by both themes */
.v2.ks {
  --fd: var(--fb);
  --fm: var(--fb);
  --page: #fbfcfd;
  --panel: #fff;
  --mist: #eaf0f4;
  --mint: #e7f1ec;
  --text: #182640;
  --detail: #3a4b60;
  --edge: #c7d1da;
  --link: #245a98;
  --saving: #205a42;
  --bar: #324c70;
  --bar-save: #90cfb1;
  --chapter: #20304c;
  --chapter-text: #f6f9ff;
  --chapter-detail: #d6e2ef;
  --accent: #245da3;
  --accent-dark: #184981;
  color: var(--text);
  background: var(--page);
}
html[data-theme="dark"] .v2.ks {
  --page: #161d2b;
  --panel: #232e40;
  --mist: #1c2635;
  --mint: #223831;
  --text: #f0f5fc;
  --detail: #cad6e6;
  --edge: #46556b;
  --link: #a9cfff;
  --saving: #a9e3c6;
  --bar: #96b0d8;
  --bar-save: #57947d;
  --chapter: #19243b;
  --chapter-text: #f6f9ff;
  --chapter-detail: #d6e2ef;
}
html[data-theme="dark"] .ks-header .v2-lockup {
  background: #eff3f8;
  border-radius: 5px;
  padding: 6px 12px;
}
html[data-theme="dark"] .debtgroups article:nth-child(1) {
  --tint: #274439;
  --tone: #b1e4cb;
}
html[data-theme="dark"] .debtgroups article:nth-child(2) {
  --tint: #293c56;
  --tone: #bad9ff;
}
html[data-theme="dark"] .debtgroups article:nth-child(3) {
  --tint: #39364f;
  --tone: #ddd4fa;
}

.ks-header,
.eligibility,
.clients {
  background: var(--page);
}
.ks-header {
  border-color: var(--edge);
}
.sectionnav a,
.v2 .ks-login,
.eligibility h2,
.feature h2,
.closebar h2,
.debtgroups h3,
.casegrid h3,
.eligfoot b {
  color: var(--text);
}
.v2 .ks-login {
  border-color: var(--edge);
}
.v2 .ks-login:hover {
  background: var(--text);
  color: var(--page);
}
.eligibility h2,
.feature h2,
.closebar h2 {
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.debtgroups h3,
.casegrid h3 {
  font-weight: 620;
  line-height: 1.17;
  letter-spacing: -0.025em;
}
.debtgroups article,
.casegrid article {
  background: var(--panel);
  border-radius: 5px;
}
.debtgroups article {
  border-color: var(--edge);
  border-top-color: var(--line);
}
.debtgroups ul,
.casegrid dl div {
  border-color: var(--edge);
}
.cases,
.closebar {
  background: var(--mist);
}
.casegrid article {
  border: 1px solid var(--edge);
  border-top: 3px solid var(--bar);
}
.casegrid dt,
.intro,
.eligfoot span,
.story p,
.tag {
  color: var(--detail);
}
.eligfoot .v2-btn span {
  color: inherit;
}
.meter {
  background: var(--bar-save);
}
.meter i {
  background: var(--bar);
}
.sum {
  color: var(--saving);
}
.casegrid dd,
.sum strong {
  font-variant-numeric: tabular-nums;
}
.sum strong {
  font-weight: 650;
  letter-spacing: -0.04em;
}
.tag,
.credit,
.sum span {
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: none;
}
.tag:before {
  background: var(--saving);
}
.agents {
  background: var(--chapter);
  color: var(--chapter-text);
}
.agents h2,
.agents .tag {
  color: var(--chapter-text);
}
.agents li p {
  color: var(--chapter-detail);
}
.agents > .split > div > .tag:before {
  background: #96d6b6;
}
.agents aside {
  background: var(--mint);
  color: var(--text);
  border-radius: 5px;
}
.agents aside .tag,
.qmark,
.credit {
  color: var(--saving);
}
.credit {
  border-color: var(--edge);
}
.qmark {
  font-family: var(--fb);
  font-weight: 600;
}
.feature blockquote {
  font-weight: 480;
  letter-spacing: -0.014em;
  line-height: 1.36;
}
.story a {
  color: var(--link);
  font-size: 16px;
}
.ks-footer {
  background: #131c2c;
  color: #d6e2ef;
}
.v2 a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 4px;
}

/* Theme switch */
#theme-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 0;
  background: transparent;
  padding: 0 2px;
  height: 46px;
  cursor: pointer;
  border-radius: 24px;
  color: #40556d;
}
#theme-switch .track {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-around;
  width: 70px;
  height: 36px;
  background: #e4ebf2;
  border: 1px solid #a4b4c6;
  border-radius: 30px;
}
#theme-switch .track:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #17244238;
  transition: transform 0.16s ease;
}
#theme-switch svg {
  position: relative;
  width: 17px;
  height: 17px;
}
html[data-theme="dark"] #theme-switch {
  color: #c7d9f0;
}
html[data-theme="dark"] #theme-switch .track {
  background: #26344a;
  border-color: #677a95;
}
html[data-theme="dark"] #theme-switch .track:before {
  background: #516988;
  transform: translateX(34px);
}
html[data-theme="dark"] #theme-switch .moon {
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  #theme-switch .track:before {
    transition: none;
  }
}
@media (max-width: 500px) {
  .ks-header__in {
    gap: 8px;
  }
  .ks-header .v2-lockup {
    gap: 8px;
    min-width: 0;
    max-width: calc(100% - 83px);
  }
  .ks-header .v2-lockup img {
    min-width: 0;
    object-fit: contain;
    max-width: 46%;
  }
}

/* Google review cards */
.client-reviews {
  margin-top: clamp(36px, 4vw, 64px);
}
.review-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--edge);
  margin-bottom: 18px;
}
.review-head h3 {
  font: 620 clamp(25px, 2.2vw, 34px)/1.15 var(--fb);
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}
.review-head a {
  color: var(--link);
  font-size: 16px;
  font-weight: 600;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-grid figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: clamp(20px, 2.2vw, 32px);
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 5px;
  color: var(--text);
}
.review-stars {
  color: #98600e;
  font-size: 17px;
  letter-spacing: 2px;
}
html[data-theme="dark"] .review-stars {
  color: #f4cb75;
}
.review-grid blockquote {
  font: 470 clamp(18px, 1.4vw, 21px)/1.48 var(--fb);
  letter-spacing: -0.01em;
  margin: 15px 0 22px;
}
.review-grid figcaption {
  border-top: 1px solid var(--edge);
  width: 100%;
  padding-top: 14px;
  margin-top: auto;
  font-weight: 650;
}
.review-grid figcaption span {
  display: block;
  color: var(--detail);
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 760px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* Partner benefits and referrer testimonial */
.partnership > h2 {
  max-width: 24ch;
  text-wrap: balance;
  margin-bottom: 16px;
}
.partner-intro {
  color: var(--chapter-detail);
  max-width: 78ch;
  margin: 0;
  font-size: clamp(17px, 1.35vw, 20px);
}
.partner-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 20px;
}
.partner-roles article {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 36px);
  color: var(--text);
  background: var(--panel);
  border-radius: 5px;
  border-top: 4px solid #88a8cf;
}
.partner-roles article + article {
  border-top-color: #85ba9f;
}
.role-label {
  font-size: 15px;
  font-weight: 650;
  color: var(--link);
}
.partner-roles article + article .role-label {
  color: var(--saving);
}
.partner-roles h3 {
  font: 630 clamp(24px, 2.25vw, 34px)/1.15 var(--fb);
  letter-spacing: -0.025em;
  margin: 8px 0 16px;
}
.partner-roles ul {
  margin: 0 0 18px;
}
.partner-roles li {
  position: relative;
  padding: 11px 0 11px 23px;
  border-color: var(--edge);
  line-height: 1.45;
}
.partner-roles li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--saving);
  border-left: 2px solid var(--saving);
  transform: rotate(-45deg);
}
.partner-benefit {
  background: var(--mist);
  border-radius: 4px;
  padding: 16px 18px;
  margin-top: auto;
}
.partner-benefit p {
  margin: 3px 0 0;
  color: var(--detail);
  font-size: 16px;
}
.agents .partner-voice {
  display: grid;
  grid-template-columns: minmax(175px, 1fr) 3fr;
  align-items: center;
  gap: 28px;
  padding: clamp(22px, 2.5vw, 38px);
}
.voice-source {
  display: grid;
  gap: 3px;
}
.voice-source b {
  font-size: 14px;
  color: var(--saving);
}
.voice-source a {
  font-size: 14px;
  color: var(--link);
}
.partner-voice blockquote {
  font-size: clamp(21px, 2vw, 30px);
}
@media (max-width: 760px) {
  .partner-roles,
  .agents .partner-voice {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .partner-voice blockquote {
    grid-row: 1;
  }
}

.agents {
  background: var(--mist);
  color: var(--text);
}
.agents h2,
.agents .tag {
  color: var(--text);
}
.agents .partner-intro {
  color: var(--detail);
}

/* Agent and client benefit columns */
.agent-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  margin: 32px 0 24px;
}
.agent-benefits article {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 17px;
}
.agent-benefits article:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--brand);
}
.agent-benefits article + article:before {
  background: #57ac50;
}
.agent-benefits header {
  padding: 26px 28px 22px;
}
.agent-benefits h3 {
  font: 650 22px/1.25 var(--fb);
  letter-spacing: -0.02em;
  margin: 0;
}
.agent-benefits header p,
.agent-benefits li p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--detail);
}
.agent-benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.agent-benefits li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 14px;
  border-top: 1px solid var(--edge);
  padding: 20px 28px;
}
.agent-benefits li strong {
  font-size: 17px;
  line-height: 1.4;
}
.agent-benefits article {
  --icon-ink: var(--brand);
  --icon-tile: #e5e8f3;
}
.agent-benefits article + article {
  --icon-ink: #317c30;
  --icon-tile: #e7f3e6;
}
html[data-theme="dark"] .agent-benefits article {
  --icon-tile: #c7cfe4;
}
html[data-theme="dark"] .agent-benefits article + article {
  --icon-ink: #9ad995;
  --icon-tile: #243d30;
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--icon-tile);
  color: var(--icon-ink);
  border-radius: 10px;
}
.benefit-icon svg {
  width: 21px;
  height: 21px;
}
@media (max-width: 760px) {
  .agent-benefits {
    grid-template-columns: 1fr;
  }
  .agent-benefits header {
    padding: 23px 20px 18px;
  }
  .agent-benefits li {
    padding: 16px 20px;
  }
}
.anne-image {
  margin: 0;
}
.anne-image img {
  display: block;
  border-radius: 5px;
}
.appointment-note {
  display: block;
  margin-top: 4px;
}

/* Accepted debts checklist */
.eligible-debts {
  list-style: none;
  margin: 0;
  padding: clamp(18px, 2.5vw, 36px);
  columns: 3;
  column-gap: clamp(20px, 4vw, 64px);
  border: 1px solid var(--edge);
  border-top: 4px solid var(--saving);
  border-radius: 9px;
  background: var(--panel);
  color: var(--text);
}
.eligible-debts li {
  position: relative;
  break-inside: avoid;
  line-height: 1.45;
  padding: 9px 0 9px 25px;
}
.eligible-debts li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 17px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--saving);
  border-bottom: 2px solid var(--saving);
  transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .eligible-debts {
    columns: 2;
  }
}
@media (max-width: 550px) {
  .eligible-debts {
    columns: 1;
  }
  .eligible-debts li {
    padding-block: 7px;
  }
}

/* Desktop navigation and mobile header */
.ks-header .sectionnav {
  display: flex;
}
.portal-return {
  display: inline-block;
  color: var(--link);
  font-weight: 600;
  margin-bottom: 22px;
}
.partnership > h1 {
  max-width: 24ch;
  text-wrap: balance;
  font: 650 clamp(34px, 4vw, 62px)/1.1 var(--fb);
  letter-spacing: -0.035em;
  margin: 18px 0 16px;
  color: var(--text);
}
@media (max-width: 640px) {
  .ks-header__in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: clamp(5px, 1.8vw, 12px);
    padding: 10px clamp(10px, 3vw, 18px);
    min-height: 64px;
  }
  .ks-header .v2-lockup {
    width: 100%;
    max-width: 210px;
    min-width: 0;
    gap: 5px;
  }
  .ks-header .v2-lockup img {
    min-width: 0;
    max-width: 46%;
    object-fit: contain;
  }
  html[data-theme="dark"] .ks-header .v2-lockup {
    padding: 4px;
  }
  .ks-header .sectionnav {
    margin: 0;
  }
  .ks-header .sectionnav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 6px;
    color: var(--link);
    font-size: 14px;
    white-space: nowrap;
  }
  .ks-header #theme-switch {
    width: 44px;
    height: 44px;
    padding: 0;
  }
  #theme-switch .track {
    width: 34px;
    height: 34px;
    background: var(--panel);
    border-color: var(--edge);
  }
  #theme-switch .track:before {
    display: none;
  }
  #theme-switch svg {
    display: none;
  }
  #theme-switch svg.moon {
    display: block;
  }
  html[data-theme="dark"] #theme-switch svg:first-child {
    display: block;
  }
  html[data-theme="dark"] #theme-switch svg.moon {
    display: none;
  }
}
