/* PC + mobile platform module migrated from the independent 4208 website. */
#showcase.connected-platform {
  --navy: #17233a;
  --text: #5f6e83;
  --line: #dce4ef;
  --line-2: #e8edf4;
  --green: #26a778;
  --green-soft: #eaf8f2;
  --amber: #d58b22;
  --red: #d85c57;
  --shadow-soft: 0 12px 36px rgba(43, 72, 122, .08);
  padding: 96px 0;
  scroll-margin-top: 32px;
  background: #f3f6fb;
  color: var(--navy);
  line-height: 1.7;
}
#showcase .platform-intro { max-width: 1050px; margin: 0 auto 60px; text-align: center; }
#showcase .platform-intro .eyebrow { margin-bottom: 20px; }
#showcase .platform-intro h2 { margin: 0; font-size: clamp(44px, 4.8vw, 64px); line-height: 1.24; letter-spacing: -.045em; font-weight: 650; }
#showcase .platform-intro h2 > span { display: inline-block; }
#showcase .platform-intro h2 em { display: block; color: #74839a; font-style: normal; }
#showcase .platform-intro > p { max-width: 730px; margin: 25px auto 0; color: var(--text); font-size: 17px; text-wrap: balance; }
#showcase .platform-grid { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, .82fr); gap: 20px; }
#showcase .platform-card { min-width: 0; min-height: 690px; background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; }
#showcase .platform-copy { padding: 43px 46px 34px; }
#showcase .platform-copy > p:first-child { color: var(--blue); margin: 0; font-size: 12px; font-weight: 800; }
#showcase .platform-copy h3 { margin: 16px 0 14px; font-size: 37px; line-height: 1.25; letter-spacing: -.045em; }
#showcase .platform-copy > p:nth-of-type(2) { color: var(--text); max-width: 510px; margin: 0 0 16px; font-size: 16px; }
#showcase .desktop-card .platform-copy > p:nth-of-type(2) { text-wrap: balance; }
#showcase .platform-link { border: 0; background: transparent; color: var(--blue); padding: 5px 0; font-weight: 700; cursor: pointer; text-align: left; }
#showcase .platform-link span { display: inline-block; margin-left: 10px; transition: transform .2s; }
#showcase .platform-link:hover span { transform: translateX(4px); }
#showcase button:focus-visible { outline: 3px solid rgba(45, 103, 232, .35); outline-offset: 3px; }
#showcase .desktop-preview { margin: auto 34px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 11px 11px 0 0; box-shadow: var(--shadow-soft); background: #fff; overflow: hidden; }
#showcase .preview-top { height: 45px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: #f8fafe; border-bottom: 1px solid var(--line-2); font-size: 10px; color: #78869a; }
#showcase .preview-top i { color: var(--green); font-style: normal; }
#showcase .preview-body { display: grid; grid-template-columns: 120px minmax(0, 1fr); min-height: 380px; }
#showcase .preview-body > aside { display: flex; flex-direction: column; gap: 8px; background: #f6f8fb; border-right: 1px solid var(--line-2); padding: 17px 10px; font-size: 9px; color: #718096; }
#showcase .preview-product-brand { display: block; width: 94px; height: 20px; flex: 0 0 auto; margin: 3px 2px 2px; }
#showcase .preview-sidebar > b { color: var(--navy); padding: 4px 6px 8px; }
#showcase .preview-nav-group { margin: 0; }
#showcase .preview-nav-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px; color: var(--navy); font-weight: 600; list-style: none; cursor: pointer; }
#showcase .preview-nav-group > summary::-webkit-details-marker { display: none; }
#showcase .preview-nav-chevron { width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 4px solid currentColor; transform: rotate(-90deg); }
#showcase .preview-nav-group[open] .preview-nav-chevron { transform: none; }
#showcase .preview-nav-group > summary:focus-visible, #showcase .preview-agent-center:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
#showcase .preview-submenu { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; padding-left: 8px; }
#showcase .preview-submenu > span { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 6px 7px; border-radius: 5px; }
#showcase .preview-submenu > span.is-active { color: var(--blue); background: #eaf2ff; }
#showcase .preview-submenu i { color: var(--blue); font-style: normal; }
#showcase .preview-agent-center { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 14px 6px 2px; border-top: 1px solid var(--line-2); color: #718096; white-space: nowrap; }
#showcase .preview-agent-center svg { width: 13px; height: 13px; flex: 0 0 auto; }
#showcase .preview-agent-center:hover { color: var(--blue); }
#showcase .preview-main { min-width: 0; padding: 18px; }
#showcase .preview-main > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
#showcase .preview-main > header > span:first-child { display: flex; flex-direction: column; }
#showcase .preview-main header small { color: #8190a3; font-size: 8px; }
#showcase .preview-main header b { font-size: 13px; }
#showcase .preview-filter { border: 1px solid var(--line); background: #fff; border-radius: 5px; font-size: 8px; padding: 5px 7px; }
#showcase .review-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
#showcase .review-table th, #showcase .review-table td { padding: 10px 6px; border-bottom: 1px solid var(--line-2); font-size: 8px; font-style: normal; overflow-wrap: anywhere; }
#showcase .review-table thead th { background: #f6f8fb; color: #7d899b; font-weight: 400; }
#showcase .review-table thead th:nth-child(1) { width: 42%; }
#showcase .review-table thead th:nth-child(2) { width: 20%; }
#showcase .review-table thead th:nth-child(3) { width: 22%; }
#showcase .review-table thead th:nth-child(4) { width: 16%; }
#showcase .review-table tbody th { font-size: 9px; }
#showcase .review-table em { color: var(--red); font-style: normal; }
#showcase .review-table em.medium { color: var(--amber); }
#showcase .review-table em.low { color: #7c899b; }
#showcase .review-table button { width: 100%; min-height: 25px; border: 1px solid #c9d7ee; color: var(--blue); background: #fff; border-radius: 5px; padding: 4px 5px; font-size: 8px; cursor: pointer; }
#showcase .review-table button:hover { background: #edf4ff; }
#showcase .mobile-card { position: relative; }
#showcase .mobile-card .platform-copy { padding-bottom: 10px; }
#showcase .phone { width: 278px; max-width: calc(100% - 32px); min-height: 438px; margin: 6px auto -40px; background: #fff; border: 8px solid #1b293f; border-bottom: 0; border-radius: 37px 37px 0 0; box-shadow: 0 26px 50px rgba(26, 47, 83, .18); padding: 15px 16px 24px; }
#showcase .phone-bar { display: flex; justify-content: space-between; padding: 1px 6px 12px; font-size: 8px; }
#showcase .phone-bar i { font-style: normal; }
#showcase .phone > header { display: flex; flex-direction: column; padding: 5px 5px 15px; }
#showcase .phone > header small { color: #8390a1; font-size: 9px; }
#showcase .phone > header b { font-size: 17px; }
#showcase .scan-card { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 15px; background: #edf4ff; padding: 17px; text-align: center; }
#showcase .scan-card > i { width: 50px; height: 50px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-style: normal; font-size: 25px; }
#showcase .scan-card b { margin-top: 9px; font-size: 13px; }
#showcase .scan-card span { color: #74839a; font-size: 8px; }
#showcase .scan-card button { margin-top: 13px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; font-size: 9px; padding: 8px 13px; cursor: pointer; }
#showcase .phone-tasks { padding: 16px 3px 0; }
#showcase .phone-tasks > header { display: flex; justify-content: space-between; font-size: 9px; margin-bottom: 4px; }
#showcase .phone-tasks > header span { color: #8794a5; }
#showcase .phone-tasks article { display: flex; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
#showcase .phone-tasks article > i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; background: #edf4ff; color: var(--blue); font-size: 10px; font-style: normal; }
#showcase .phone-tasks article > i.ok { color: var(--green); background: var(--green-soft); }
#showcase .phone-tasks article div { display: flex; flex-direction: column; }
#showcase .phone-tasks article b { font-size: 9px; }
#showcase .phone-tasks article span { color: #8794a6; font-size: 7px; }

@media (max-width: 1100px) {
  #showcase .platform-grid { grid-template-columns: minmax(0, 1fr); }
  #showcase .platform-card { min-height: 650px; }
  #showcase .mobile-card { min-height: 440px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; padding: 30px; }
  #showcase .mobile-card .platform-copy { padding: 30px; }
  #showcase .phone { margin: 20px auto -80px; }
}
@media (max-width: 640px) {
  #showcase.connected-platform { padding: 64px 0; }
  #showcase .platform-intro { margin-bottom: 36px; }
  #showcase .platform-intro h2 { font-size: clamp(27px, 7.2vw, 42px); }
  #showcase .platform-intro > p { margin-top: 20px; font-size: 15px; }
  #showcase .platform-grid { gap: 14px; }
  #showcase .platform-card { min-height: auto; }
  #showcase .platform-copy, #showcase .mobile-card .platform-copy { padding: 30px 24px 24px; }
  #showcase .platform-copy h3 { font-size: 31px; }
  #showcase .platform-copy > p:nth-of-type(2) { font-size: 14px; }
  #showcase .desktop-preview { margin: 5px 12px 0; }
  #showcase .preview-body { grid-template-columns: minmax(0, 1fr); min-height: 260px; }
  #showcase .preview-body > aside { display: none; }
  #showcase .preview-main { padding: 16px 10px; }
  #showcase .review-table th, #showcase .review-table td { padding: 10px 3px; }
  #showcase .review-table thead th:nth-child(1) { width: 36%; }
  #showcase .review-table thead th:nth-child(2) { width: 23%; }
  #showcase .review-table thead th:nth-child(3) { width: 23%; }
  #showcase .review-table thead th:nth-child(4) { width: 18%; }
  #showcase .review-table button { min-height: 32px; }
  #showcase .mobile-card { display: block; padding: 0; }
  #showcase .phone { width: 270px; margin: 6px auto -40px; }
}
@media (prefers-reduced-motion: reduce) {
  #showcase .platform-link span { transition: none; }
}
