/* The homepage owns its layout; CMS text is always allowed to wrap and grow. */
.cp-home {
  --hm-ink: #12374b;
  --hm-muted: #607783;
  --hm-line: #dfe8eb;
  --cp-deep: #12374b;
  --cp-orange: #ec6038;
  background: #fafbf9;
  color: var(--hm-ink);
  padding-bottom: 72px;
  overflow-wrap: anywhere;
}
.cp-home *, .cp-home *::before, .cp-home *::after { box-sizing: border-box; }
.cp-home :is(section, article, div, nav, a, h1, h2, h3, p, span, strong, summary) { min-width: 0; }
.cp-home :is(h1, h2, h3, p, .cp-kicker, .cp-prose, .hm-visual-brand, .hm-hero-note strong, .hm-pricing-note strong) { white-space: pre-line; }
.cp-home :is(h1, h2, h3) { text-wrap: pretty; }
.cp-home svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; flex-shrink: 0; }
.cp-home :is(a, button, summary):focus-visible { outline: 3px solid #ec6038; outline-offset: 5px; }
.cp-home [id] { scroll-margin-top: 150px; }
.cp-home .cp-kicker { display: block; font-size: 12px; line-height: 2; }
.cp-home h2 { font-size: clamp(23px, 2.6vw, 32px); line-height: 1.8; letter-spacing: -.65px; margin: 8px 0 0; }
.cp-home .cp-text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; line-height: 2; flex-shrink: 0; }
.cp-home .cp-button { gap: 24px; min-height: 52px; padding: 14px 23px; font-size: 13px; border-radius: 12px; line-height: 1.9; }
.cp-home .cp-button > span { flex-shrink: 0; }
.cp-home .cp-primary:hover { background: #cf4926; }

.hm-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 66px 0 48px; }
.hm-eyebrow { display: flex; align-items: baseline; gap: 10px; font-size: 12px; line-height: 2.1; color: var(--hm-muted); }
.hm-eyebrow > span { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--cp-orange); }
.hm-hero h1 { max-width: 620px; font-size: clamp(36px, 4.4vw, 57px); line-height: 1.65; letter-spacing: -1.8px; margin: 21px 0 19px; }
.hm-intro { font-size: 15px; line-height: 2.3; color: var(--hm-muted); margin: 0; }
.hm-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 29px; }
.hm-secondary { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; line-height: 2; padding: 10px 0; }
.hm-secondary:hover { color: var(--cp-orange); }
.hm-hero-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 27px; color: var(--hm-muted); font-size: 12px; line-height: 2; }
.hm-hero-note svg { margin-top: 2px; color: #518374; width: 20px; height: 20px; }
.hm-hero-note strong { font-weight: 500; color: var(--hm-ink); }
.hm-hero-note p { margin: 2px 0 0; }
.hm-visual { position: relative; isolation: isolate; padding: 26px 30px 24px; border-radius: 27px; background: #12374b; color: #fff; box-shadow: 0 24px 50px #12374b12; }
.hm-visual::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(circle at 0 0, #517b862e, transparent 70%); pointer-events: none; }
.hm-visual-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.hm-visual-brand { font-size: 12px; line-height: 2; color: #cadbe2; }
.hm-visual-symbol { font-size: 39px; line-height: 1; color: #ff9876; flex-shrink: 0; }
.cp-home .hm-visual-heading h2 { color: #fff; font-size: 27px; line-height: 1.9; margin: 19px 0 0; }
.hm-visual-heading p { color: #ffa381; font-size: 22px; font-weight: 500; line-height: 1.9; margin: 1px 0 22px; }
.hm-message-preview { padding: 19px; border: 1px solid #fff3; border-radius: 18px; background: #ffffff0a; }
.hm-message-top { display: flex; gap: 10px; align-items: center; padding-bottom: 17px; }
.hm-message-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #ffffff12; flex-shrink: 0; color: #ffb093; }
.hm-message-top > div { flex: 1; }
.hm-message-top strong { display: block; font-size: 12px; font-weight: 500; line-height: 1.9; }
.hm-message-top div > span { display: block; font-size: 11px; line-height: 2; color: #b7cdd8; }
.hm-message-dots { color: #9ab7c6; letter-spacing: 2px; }
.hm-message-bubble { padding: 15px 17px 11px; border-radius: 14px 3px 14px 14px; background: #f3f6f5; color: #244c5a; font-size: 12px; line-height: 2; margin-left: 28px; }
.hm-message-bubble > span { display: block; font-size: 10px; color: #647d89; margin-top: 8px; }
.hm-message-reply { margin: 13px 35px 0 0; background: #244e62; color: #f1f6f7; border-radius: 3px 14px 14px 14px; }
.hm-message-reply > span { color: #b7cdd8; }
.hm-preview-link { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid #ffffff20; padding-top: 15px; margin-top: 18px; font-size: 11px; line-height: 2; color: #d4e2e8; }
.hm-preview-link:hover { color: #ffa381; }
.hm-connection { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 13px; margin-top: 20px; font-size: 11px; line-height: 2; color: #c4d6df; }
.hm-connection i { color: #ffa381; font-style: normal; }
.hm-page-nav { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; padding: 19px 0; border-top: 1px solid var(--hm-line); border-bottom: 1px solid var(--hm-line); }
.hm-page-nav > span { margin-left: auto; color: var(--hm-muted); font-size: 12px; line-height: 2; }
.hm-page-nav a { padding: 7px 15px; border-radius: 8px; font-size: 12px; line-height: 1.9; color: #345769; background: #edf2f2; }
.hm-page-nav a:hover { background: #e2ebed; }

.hm-section { margin-top: 65px; }
.hm-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.hm-section-head > div { flex: 1; }
.hm-section-head .cp-text-link { padding-bottom: 8px; }
.cp-home .cp-home-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; border: 0; border-radius: 0; background: none; overflow: visible; }
.cp-home .hm-services .hm-service { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px; border: 1px solid var(--hm-line); border-radius: 16px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.cp-home .hm-services a.hm-service:hover { border-color: #e8997b; box-shadow: 0 12px 24px #12374b08; }
.hm-service-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.hm-service-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: #eef4f5; color: #245d72; font-size: 25px; flex-shrink: 0; }
.hm-service:nth-child(even) .hm-service-icon { background: #fff0e8; color: #d96540; }
.hm-service-index { color: #7c929c; font-size: 12px; font-variant-numeric: tabular-nums; }
.cp-home .hm-service h3 { font-size: 16px; line-height: 1.9; margin: 0 0 9px; }
.cp-home .hm-service p { font-size: 12px; line-height: 2.15; color: var(--hm-muted); flex: 1; margin: 0 0 20px; }
.hm-service-link { display: flex; justify-content: space-between; gap: 14px; align-items: center; font-size: 12px; line-height: 2; color: #346174; border-top: 1px solid #e8eef0; padding-top: 14px; }
.hm-service-link > span { color: var(--cp-orange); }
.cp-home .cp-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.cp-home .cp-card { border-color: var(--hm-line); padding: 24px; border-radius: 16px; }
.cp-home .cp-card h3 { font-size: 18px; margin-top: 18px; }
.cp-home .cp-card p { font-size: 13px; line-height: 2.15; color: var(--hm-muted); }
.cp-home .cp-card-top { font-size: 11px; flex-wrap: wrap; }
.cp-home .cp-card-link { font-size: 12px; line-height: 2; }
.cp-home .cp-icon { background: #eef4f5; }
.cp-home .cp-card-image { height: auto; }

.hm-api { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 66px; padding: 39px 42px; border: 1px solid #dce7e8; border-radius: 22px; background: #edf3f2; }
.hm-api-copy p { font-size: 14px; line-height: 2.2; color: var(--hm-muted); margin: 18px 0 25px; }
.hm-api-diagram { padding: 25px; border: 1px solid #d7e3e5; border-radius: 17px; background: #fafcfb; }
.hm-api-label { display: block; font: 10px/2.2 Consolas, monospace; letter-spacing: 1px; color: #66828c; text-align: center; margin-bottom: 18px; }
.hm-api-node { display: flex; align-items: center; gap: 13px; padding: 14px 17px; background: #fff; border: 1px solid #dee8eb; border-radius: 12px; }
.hm-api-node > svg { color: #56818e; }
.hm-api-node strong { display: block; font-size: 12px; line-height: 2; font-weight: 500; }
.hm-api-node div > span { display: block; font-size: 11px; line-height: 2; color: var(--hm-muted); }
.hm-api-node-main { background: #12374b; color: #fff; border-color: #12374b; }
.hm-api-node-main > svg { color: #ff9b7b; }
.hm-api-node-main div > span { color: #b8d0dc; text-align: right; }
.hm-api-spark { margin-right: auto; font-size: 29px; color: #ffa381; }
.hm-api-connector { text-align: center; color: #86a2ac; font-size: 23px; line-height: 1.5; }
.cp-home .cp-packages { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.cp-home .cp-package { padding: 25px; border-color: var(--hm-line); border-radius: 16px; }
.cp-home .cp-package:nth-child(3) { border: 1px solid #eda88d; background: #fffaf6; }
.cp-home .cp-package h3 { font-size: 19px; margin: 12px 0; }
.cp-home .cp-package-price { gap: 8px; }
.cp-home .cp-package-price strong { font-size: 30px; line-height: 1.7; }
.cp-home .cp-package-description { font-size: 13px; line-height: 2.1; color: var(--hm-muted); }
.cp-home .cp-package .cp-button { font-size: 12px; padding: 12px 15px; }
.hm-pricing-note { display: flex; align-items: flex-start; gap: 11px; padding: 18px 0; margin-top: 7px; color: var(--hm-muted); font-size: 12px; line-height: 2; }
.hm-pricing-note svg { width: 20px; height: 20px; margin-top: 2px; }
.hm-pricing-note strong { font-weight: 500; color: var(--hm-ink); }
.hm-pricing-note p { margin: 3px 0 0; }

.hm-learning { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 60px; align-items: center; border-top: 1px solid var(--hm-line); border-bottom: 1px solid var(--hm-line); padding: 33px 0; }
.hm-learning > div > .cp-text-link { margin-top: 21px; }
.hm-learning-links > a { display: flex; align-items: center; gap: 20px; padding: 20px 5px; border-bottom: 1px solid var(--hm-line); }
.hm-learning-links > a:last-child { border: 0; }
.hm-learning-links > a:hover strong { color: var(--cp-orange); }
.hm-learning-number { font-size: 24px; color: #859ca5; flex-shrink: 0; }
.hm-learning-links a > div { flex: 1; }
.hm-learning-links strong { display: block; font-size: 15px; line-height: 2; font-weight: 500; }
.hm-learning-links div > span { display: block; font-size: 12px; line-height: 2; color: var(--hm-muted); margin-top: 3px; }
.hm-learning-links a > span:last-child { color: var(--cp-orange); }
.hm-editorial > .cp-prose { background: #fff; border: 1px solid var(--hm-line); padding: 28px; border-radius: 16px; }
.hm-editorial .cp-block { background: #fff; border: 1px solid var(--hm-line); padding: 28px; border-radius: 16px; }
.cp-home .cp-blocks { margin-top: 0; }
.cp-home .cp-prose { color: var(--hm-muted); }
.cp-home .cp-prose :last-child { margin-bottom: 0; }
.cp-home .cp-block :is(img, video) { display: block; max-width: 100%; height: auto; }
.cp-home .cp-block video { width: 100%; margin-top: 20px; border-radius: 12px; }
.cp-home .cp-faq { gap: 50px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.cp-home .cp-faq details { border: 1px solid var(--hm-line); background: #fff; border-radius: 13px; padding: 18px 22px; margin-bottom: 12px; }
.cp-home .cp-faq summary { font-size: 14px; line-height: 2.1; cursor: pointer; }
.cp-home .cp-faq p { font-size: 13px; line-height: 2.25; color: var(--hm-muted); margin: 13px 0 0; }
.cp-home .cp-steps { grid-template-columns: minmax(0, 1fr); }
.cp-home .cp-steps li > span { flex-shrink: 0; }
.hm-cta { display: flex; align-items: center; gap: 28px; background: #12374b; border-radius: 22px; padding: 34px 38px; margin-top: 60px; color: #fff; }
.hm-cta-symbol { font-size: 62px; color: #ff9b7b; flex-shrink: 0; }
.hm-cta > div { flex: 1; }
.hm-cta .cp-kicker { color: #bcd2dc; }
.cp-home .hm-cta h2 { color: #fff; font-size: 27px; }
.hm-cta .cp-button { flex-shrink: 0; }
.cp-home .cp-empty { font-size: 13px; line-height: 2.1; border-color: #c5d6dc; }

@media (max-width: 1050px) {
  .hm-hero { gap: 35px; padding-top: 48px; }
  .hm-visual { padding: 24px; }
  .hm-api { padding: 30px; gap: 30px; }
  .hm-learning { gap: 35px; }
  .hm-page-nav { gap: 10px; }
}
@media (max-width: 760px) {
  .hm-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 34px 0 30px; }
  .hm-hero-copy { max-width: 580px; }
  .hm-hero h1 { font-size: clamp(34px, 6vw, 45px); line-height: 1.7; letter-spacing: -1.2px; margin: 15px 0; }
  .hm-intro { font-size: 14px; }
  .hm-visual { padding: 25px; }
  .hm-page-nav > span { flex-basis: 100%; }
  .hm-page-nav a { padding: 7px 12px; }
  .hm-section { margin-top: 43px; }
  .hm-section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 21px; }
  .hm-section-head .cp-text-link { padding-bottom: 0; }
  .hm-api { grid-template-columns: minmax(0, 1fr); padding: 27px 22px; gap: 28px; }
  .hm-learning { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 26px 0; }
  .cp-home .cp-faq { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cp-home .cp-faq details { padding: 17px 19px; }
  .hm-cta { flex-wrap: wrap; gap: 18px; padding: 27px 25px; margin-top: 43px; }
  .hm-cta-symbol { font-size: 42px; }
  .cp-home .hm-cta h2 { font-size: 24px; }
  .hm-cta .cp-button { width: 100%; }
  .cp-home { padding-bottom: 43px; }
}
@media (max-width: 380px) {
  .hm-eyebrow { font-size: 11px; }
  .hm-actions { gap: 12px; }
  .hm-visual { padding: 20px 17px; border-radius: 20px; }
  .hm-message-preview { padding: 15px; }
  .hm-message-bubble { margin-left: 10px; }
  .hm-message-reply { margin-right: 12px; margin-left: 0; }
  .hm-message-dots { display: none; }
  .hm-connection { gap: 9px; font-size: 10px; }
  .hm-api-diagram { padding: 18px; }
  .hm-api-node { padding: 12px; gap: 9px; }
  .hm-api-label { letter-spacing: .2px; }
  .hm-learning-links > a { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-home * { transition: none !important; }
}
