/* Themis | Firm Setup & Client Portal feature page.
   Everything is scoped to .cp-page, so the site's existing global navigation,
   footer, typography, and other pages are unaffected. The genuine screenshot
   is loaded through the HTML <img src="images/themis-portal-checklist.png">. */
.cp-page {
  --cp-navy: #09182d;
  --cp-button: #0d2d64;
  --cp-teal: #087c74;
  --cp-muted: #576987;
  --cp-line: #dfebf1;
  --cp-shadow: 0 15px 34px rgba(24, 57, 85, .067);
  color: var(--cp-navy);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.cp-page, .cp-page * { box-sizing: border-box; }
.cp-page h1, .cp-page h2, .cp-page h3, .cp-page p { margin-top: 0; }
.cp-page h1, .cp-page h2, .cp-page h3 { font-family: inherit; line-height: 1.14; letter-spacing: -.034em; }
.cp-page a { color: inherit; }
.cp-page a:focus-visible, .cp-page summary:focus-visible { outline: 3px solid #1775d5; outline-offset: 4px; }
.cp-page .cp-container { width: min(100% - 64px, 1240px); margin-inline: auto; }
.cp-page .cp-container-narrow { max-width: 900px; }
.cp-page .cp-eyebrow { color: var(--cp-teal); font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.cp-page .cp-hero {
  padding: 22px 0 85px;
  background: radial-gradient(ellipse 60% 47% at 2% 0%, rgba(109, 202, 189, .40), transparent 86%),
    radial-gradient(ellipse 55% 36% at 100% 0%, rgba(128, 202, 222, .30), transparent 86%),
    linear-gradient(#f3fbfa, #fff 64%);
}
.cp-page .cp-back { display: inline-flex; gap: 11px; align-items: center; border-radius: 100px; padding: 10px 20px; border: 1px solid #ecf1f5; background: #fff; text-decoration: none; font-weight: 760; font-size: 14px; box-shadow: var(--cp-shadow); }
.cp-page .cp-back span { font-size: 23px; line-height: .5; }
.cp-page .cp-hero-center { max-width: 900px; margin: 38px auto 0; text-align: center; }
.cp-page .cp-hero-center h1 { font-size: clamp(38px, 5vw, 68px); font-weight: 820; line-height: 1.07; letter-spacing: -.053em; margin: 20px auto 26px; max-width: 890px; }
.cp-page .cp-hero-center h1 span { color: var(--cp-teal); display: block; }
.cp-page .cp-hero-summary { max-width: 770px; margin: 0 auto 32px; color: var(--cp-muted); font-size: 18px; line-height: 1.65; }
.cp-page .cp-button { display: inline-flex; align-items: center; justify-content: center; text-align: center; border-radius: 13px; min-height: 54px; padding: 13px 28px; text-decoration: none; font-size: 15px; font-weight: 780; transition: transform .16s ease, box-shadow .16s ease; }
.cp-page .cp-button:hover { transform: translateY(-2px); }
.cp-page .cp-button-primary { background: var(--cp-button); color: white !important; box-shadow: 0 12px 28px rgba(14, 45, 95, .17); }
.cp-page .cp-button-secondary { background: #fff; border: 1px solid var(--cp-line); color: var(--cp-button); }
.cp-page .cp-proof { list-style: none; margin: 31px 0 0; padding: 0; display: flex; justify-content: center; gap: 13px 34px; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
@media (min-width: 1200px) { .cp-page .cp-proof { margin-inline: -120px; } }
.cp-page .cp-proof li { display: inline-flex; align-items: center; gap: 9px; }
.cp-page .cp-proof li::before { content: '✓'; color: var(--cp-teal); font-size: 19px; font-weight: 800; }
.cp-page .cp-benefits { margin-top: 82px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.cp-page .cp-benefit, .cp-page .cp-feature, .cp-page .cp-related-grid a { border: 1px solid var(--cp-line); border-radius: 21px; background: #fff; box-shadow: var(--cp-shadow); }
.cp-page .cp-benefit { border-top: 4px solid var(--cp-teal); padding: 32px 29px; }
.cp-page .cp-benefit h2 { font-size: 20px; font-weight: 800; margin-bottom: 13px; }
.cp-page .cp-benefit p, .cp-page .cp-feature p, .cp-page .cp-related-grid span { color: var(--cp-muted); font-size: 15px; line-height: 1.65; margin: 0; }
.cp-page .cp-process { padding: 90px 0; background: #f4f7fb; }
.cp-page .cp-process-layout { display: grid; grid-template-columns: .97fr 1.03fr; gap: 60px; align-items: center; }
.cp-page .cp-pill { display: inline-block; border-radius: 100px; background: #dff2ef; color: var(--cp-teal); padding: 5px 13px; font-size: 12px; font-weight: 800; letter-spacing: .05em; margin-bottom: 17px; }
.cp-page .cp-process h2, .cp-page .cp-section-heading h2, .cp-page .cp-final h2 { font-size: clamp(31px,3.2vw,46px); font-weight: 820; margin-bottom: 18px; }
.cp-page .cp-process-lead { color: var(--cp-muted); font-size: 16px; margin-bottom: 27px; }
.cp-page .cp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 23px; }
.cp-page .cp-steps li { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: start; gap: 16px; }
.cp-page .cp-step-count { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--cp-teal); box-shadow: 0 6px 16px #056f6429; color: #fff; font-weight: 800; }
.cp-page .cp-steps h3 { font-size: 17px; margin: 3px 0 6px; font-weight: 800; }
.cp-page .cp-steps p { font-size: 15px; color: var(--cp-muted); line-height: 1.6; margin: 0; }
.cp-page .cp-path { margin-top: 30px; color: var(--cp-muted); font-size: 13px; }
.cp-page .cp-path strong { color: var(--cp-teal); font-size: 12px; margin-right: 8px; }
.cp-page .cp-portal-figure { margin: 0; background: linear-gradient(145deg,#e2f7f3,#afdeda 40%,#f4f8fe); padding: 32px; border: 1px solid #d4e6e5; border-radius: 27px; box-shadow: var(--cp-shadow); }
.cp-page .cp-portal-figure img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 16px 32px rgba(17,39,65,.13); background: white; }
.cp-page .cp-portal-figure figcaption { color: #526b7a; margin-top: 14px; text-align: center; font-size: 12px; }
.cp-page .cp-included { padding: 90px 0 100px; }
.cp-page .cp-section-heading { max-width: 810px; margin: 0 auto 44px; text-align: center; }
.cp-page .cp-section-heading h2 { margin: 12px 0 18px; }
.cp-page .cp-section-heading p:last-child { font-size: 17px; color: var(--cp-muted); max-width: 720px; margin: 0 auto; }
.cp-page .cp-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.cp-page .cp-feature { padding: 29px; min-height: 232px; }
.cp-page .cp-feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--cp-teal); font-size: 24px; font-weight: 800; background: #e0f5f2; border: 1px solid #c6e8e3; }
.cp-page .cp-feature h3 { font-size: 19px; margin: 20px 0 12px; font-weight: 800; }
.cp-page .cp-faq { padding: 90px 0; background: #f4f7fb; }
.cp-page .cp-faq .cp-section-heading { margin-bottom: 28px; }
.cp-page .cp-faq details { background: white; padding: 21px 24px; border: 1px solid var(--cp-line); border-radius: 15px; margin-bottom: 12px; }
.cp-page .cp-faq summary { position: relative; list-style: none; cursor: pointer; font-weight: 780; font-size: 16px; padding-right: 32px; }
.cp-page .cp-faq summary::-webkit-details-marker { display: none; }
.cp-page .cp-faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--cp-teal); font-size: 24px; font-weight: 500; line-height: 1; }
.cp-page .cp-faq details[open] summary::after { content: '−'; }
.cp-page .cp-faq details p { padding-top: 15px; color: var(--cp-muted); margin-bottom: 0; }
.cp-page .cp-faq details a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.cp-page .cp-related { padding: 90px 0; }
.cp-page .cp-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.cp-page .cp-related-grid a { padding: 25px; border-top: 4px solid var(--cp-teal); display: grid; gap: 11px; text-decoration: none; }
.cp-page .cp-related-grid a:hover { box-shadow: 0 17px 35px rgba(21,59,88,.13); }
.cp-page .cp-related-grid strong { font-size: 18px; }
.cp-page .cp-related-grid em { font-size: 13px; color: var(--cp-teal); font-weight: 800; font-style: normal; }
.cp-page .cp-final { background: #eaf4ff; padding: 60px 0; }
.cp-page .cp-final-layout { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
.cp-page .cp-final-layout > div:first-child { max-width: 760px; }
.cp-page .cp-final h2 { font-size: clamp(28px,3vw,39px); margin: 10px 0 14px; }
.cp-page .cp-final-layout p:last-child { color: var(--cp-muted); margin: 0; }
.cp-page .cp-final-buttons { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 1040px) {
  .cp-page .cp-container { width: min(100% - 40px, 910px); }
  .cp-page .cp-process-layout { grid-template-columns: 1fr; gap: 32px; }
  .cp-page .cp-portal-figure { width: 100%; max-width: 750px; margin: 0 auto; }
  .cp-page .cp-final-layout { flex-direction: column; align-items: flex-start; gap: 27px; }
}
@media (max-width: 760px) {
  .cp-page .cp-container { width: min(100% - 30px, 630px); }
  .cp-page .cp-hero { padding-bottom: 55px; }
  .cp-page .cp-hero-center h1 { font-size: clamp(35px, 9vw, 52px); }
  .cp-page .cp-hero-summary { font-size: 16px; }
  .cp-page .cp-benefits, .cp-page .cp-feature-grid, .cp-page .cp-related-grid { grid-template-columns: 1fr; gap: 14px; }
  .cp-page .cp-benefits { margin-top: 46px; }
  .cp-page .cp-benefit, .cp-page .cp-feature { min-height: unset; }
  .cp-page .cp-process, .cp-page .cp-included, .cp-page .cp-faq, .cp-page .cp-related { padding: 58px 0; }
  .cp-page .cp-proof { flex-direction: column; width: fit-content; max-width: 100%; margin: 29px auto 0; text-align: left; font-size: 13px; }
  .cp-page .cp-portal-figure { padding: 14px; border-radius: 18px; }
  .cp-page .cp-final h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .cp-page * { transition: none !important; } }

.cp-page .cp-feature-icon .ft-ico { width: 24px; height: 24px; }
