/* CRM product detail. Shared brand/type/navigation rules stay in landing styles. */
.crm-page { --crm-frame: #b3c3e5; }
.crm-page .header-inner { width: min(1280px, calc(100% - 80px)); }
.crm-hero { padding: 30px 0 54px; background: linear-gradient(110deg, #fdfeff, #edf5ff 60%, #dfefff); }
.crm-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #69779c; font-size: 12px; line-height: 1.5; margin-bottom: 48px; }
.crm-breadcrumbs a:hover { color: var(--blue); }
.crm-breadcrumbs [aria-current] { color: var(--ink); }
.crm-hero .eyebrow { margin-bottom: 16px; }
.crm-hero h1 { max-width: 950px; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -2.2px; text-wrap: balance; }
.crm-hero h1 span { display: block; }
.crm-hero-lede { margin-top: 24px; max-width: 740px; font-size: 20px; line-height: 1.65; color: #5b6b8f; }
.crm-hero .primary-action { margin-top: 28px; border-radius: 100px; font-size: 15px; }
.crm-content { padding-block: 28px var(--section-space); }
.crm-section-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.crm-section-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 17px; border: 1px solid #dce3f3; border-radius: 100px; background: #fff; font-size: 13px; font-weight: 650; }
.crm-section-links a:hover { background: #eaf4ff; border-color: #b8b5ef; }
.crm-feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--feature-row-gap); align-items: stretch; margin-bottom: var(--feature-row-gap); scroll-margin-top: 112px; }
.crm-feature-row--reverse > .crm-visual { order: 2; }
.crm-feature-row > * { min-width: 0; }
.crm-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--crm-frame); border-radius: 32px; padding: 16px; background: linear-gradient(130deg, #e5f2ff, #d6eaff); overflow: hidden; }
.crm-visual--patients { background: linear-gradient(130deg, #eaf4ff, #e5f2ff); }
.crm-visual img { width: 100%; height: auto; max-width: 640px; object-fit: contain; }
.crm-visual figcaption { color: #5b6b8f; font-size: 10px; line-height: 1.6; text-align: center; margin: 11px 8px 1px; }
.crm-visual figcaption a { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding-inline: 5px; color: #3156ce; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.crm-copy { min-height: 590px; padding: 34px; }
.crm-copy .section-heading { overflow-wrap: normal; }
.crm-copy h2 { font-size: clamp(32px, 3.05vw, 42px); }
.crm-copy .section-heading > p:not(.eyebrow) { color: #5b6b8f; font-size: 17px; }
.crm-copy .crm-points { margin-top: 26px; gap: 21px; }
.crm-points h3 { font-size: 16px; letter-spacing: -.3px; font-weight: 750; }
.crm-points p { color: #5b6b8f; font-size: 14px; line-height: 1.65; margin-top: 5px; }
.crm-spark { display: block; flex: 0 0 25px; width: 25px; height: 25px; margin-top: 1px; background: var(--gradient); -webkit-mask: url('/static/tiempify/ai-sparkle.svg') center / contain no-repeat; mask: url('/static/tiempify/ai-sparkle.svg') center / contain no-repeat; }
.crm-visual--placeholder { min-height: 570px; background: #f3f9ff; }
.crm-placeholder { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; padding: 24px 18px; text-align: center; }
.crm-preview-label { color: #747fa3; font-size: 9px; letter-spacing: 1.6px; font-weight: 650; line-height: 1.7; }
.crm-placeholder-icon { width: 80px; height: 80px; margin-top: 30px; stroke: #7b72da; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.crm-placeholder-title { margin-top: 16px; font-size: 22px; font-weight: 750; letter-spacing: -.5px; }
.crm-placeholder-note { margin-top: 23px; color: #737e9d; font-size: 11px; line-height: 1.6; }
.crm-record-skeleton { width: 100%; margin-top: 25px; border: 1px solid #d7d6ef; border-radius: 18px; padding: 0 17px; background: #ffffffb3; text-align: left; }
.crm-record-skeleton > div { padding: 15px 0; }
.crm-record-skeleton > div + div { border-top: 1px solid #e4e5f4; }
.crm-record-skeleton strong { font-size: 11px; color: #5b6594; font-weight: 600; }
.crm-record-skeleton i { display: block; height: 5px; margin-top: 9px; border-radius: 5px; background: #e0e4f7; width: 87%; }
.crm-record-skeleton i + i { width: 62%; }
.crm-import-preview { display: flex; justify-content: center; align-items: center; gap: 13px; width: 100%; margin-top: 32px; }
.crm-import-preview > span { display: grid; place-items: center; flex: 0 0 74px; height: 92px; border: 1px solid #beb7e6; border-radius: 13px; font-size: 18px; font-weight: 750; color: #6b5fba; background: #fff; }
.crm-import-preview > svg { width: 54px; min-width: 30px; stroke: #8e86d9; stroke-width: 1.5; }
.crm-import-preview > div { padding: 16px; flex: 1; max-width: 150px; border: 1px solid #ccc9e9; border-radius: 14px; background: #fff; }
.crm-import-preview i { display: block; height: 8px; border-radius: 6px; background: #dce8ff; margin-bottom: 9px; }
.crm-import-preview i:nth-child(2) { width: 76%; background: #d2e6ff; }
.crm-import-preview strong { display: block; color: #5f6b91; font-size: 10px; margin-top: 14px; white-space: nowrap; }
.crm-soon { display: inline-flex; align-items: center; flex: none; gap: 4px; width: fit-content; border: 1px solid #dacbfa; border-radius: 100px; padding: 4px 9px; color: #6d449d; background: #eaf4ff; font-size: 10px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.crm-planned { margin-top: 25px; border-top: 1px solid #dce3f3; padding-top: 17px; }
.crm-planned summary { display: flex; align-items: center; gap: 10px; list-style: none; color: #59678c; font-size: 12px; line-height: 1.6; cursor: pointer; }
.crm-planned summary::-webkit-details-marker { display: none; }
.crm-planned summary > span:nth-child(2) { flex: 1; }
.crm-planned summary > span:last-child { font-size: 23px; font-weight: 400; }
.crm-planned[open] summary > span:last-child { transform: rotate(45deg); }
.crm-planned ul { padding: 15px 0 0 18px; color: #647294; font-size: 12px; line-height: 1.8; }
.crm-planned li + li { margin-top: 6px; }
.crm-copy .section-heading > .crm-planned-note { margin-top: 25px; font-size: 12px; line-height: 1.8; }
.crm-planned-note .crm-soon { margin: 0 5px 4px 0; }
.crm-demo { display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--crm-frame); border-radius: 32px; padding: 40px; background: linear-gradient(110deg, #f3faff, #e7f3ff); margin-top: var(--section-space); }
.crm-demo > div { max-width: 740px; }
.crm-demo .eyebrow { margin-bottom: 16px; }
.crm-demo h2 { font-size: clamp(30px, 3vw, 42px); }
.crm-demo p:not(.eyebrow) { margin-top: 20px; font-size: 16px; color: #5b6b8f; line-height: 1.7; }
.crm-demo .primary-action { flex: none; border-radius: 100px; font-size: 14px; }
@media (max-width: 1100px) {
  .crm-page .header-inner { width: calc(100% - 48px); }
  .crm-copy { padding: 28px; }
  .crm-copy h2 { font-size: 34px; }
  .crm-copy .section-heading > p:not(.eyebrow) { font-size: 16px; }
  .crm-points h3 { font-size: 15px; }
  .crm-demo { padding: 32px; gap: 28px; }
}
@media (max-width: 900px) {
  .crm-page .mobile-menu { margin-left: auto; }
  .crm-hero { padding-bottom: 42px; }
  .crm-breadcrumbs { margin-bottom: 32px; }
  .crm-hero-lede { font-size: 18px; }
  .crm-demo { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 850px) {
  .crm-feature-row { grid-template-columns: minmax(0, 1fr); }
  .crm-feature-row--reverse > .crm-visual { order: 0; }
  .crm-visual { padding: 20px; }
  .crm-visual img { max-width: 650px; }
  .crm-copy { min-height: 0; padding: 32px; }
  .crm-copy h2 { font-size: 38px; }
  .crm-copy .section-heading > p:not(.eyebrow) { font-size: 18px; }
  .crm-visual--placeholder { min-height: 470px; }
}
@media (max-width: 650px) {
  .crm-page .header-inner { width: calc(100% - 32px); }
  .crm-hero { padding-top: 23px; }
  .crm-breadcrumbs { font-size: 10px; gap: 7px; }
  .crm-hero .eyebrow { font-size: 9px; letter-spacing: 1.8px; }
  .crm-hero h1 { font-size: clamp(34px, 9vw, 46px); letter-spacing: -1.5px; }
  .crm-hero-lede { font-size: 17px; margin-top: 22px; }
  .crm-hero .primary-action { padding-inline: 22px; gap: 20px; width: 100%; font-size: 14px; }
  .crm-section-links { gap: 7px; margin-bottom: 24px; }
  .crm-section-links a { font-size: 11px; padding: 9px 13px; }
  .crm-visual { border-radius: 26px; padding: 8px; }
  .crm-visual figcaption { font-size: 9px; margin-block: 8px 3px; }
  .crm-copy { padding: 28px 22px; }
  .crm-copy h2 { font-size: clamp(30px, 8vw, 38px); }
  .crm-copy .section-heading > p:not(.eyebrow) { font-size: 17px; }
  .crm-copy .section-heading > .crm-planned-note { font-size: 12px; }
  .crm-points h3 { font-size: 16px; }
  .crm-points p { font-size: 14px; }
  .crm-planned summary { flex-wrap: wrap; }
  .crm-planned summary > span:nth-child(2) { flex-basis: 50%; }
  .crm-visual--placeholder { min-height: 450px; }
  .crm-placeholder { padding: 26px 16px; }
  .crm-demo { border-radius: 26px; padding: 28px 22px; }
  .crm-demo .primary-action { width: 100%; }
}
