/* TALVIOH compare page (js/compare.js): a headline, one table with all five notch apps (ours
   tinted and marked), then the two buttons. Colours from css/landing.css. */

.cmp { --ease: cubic-bezier(.22, 1, .36, 1); min-height: 100vh; padding-bottom: clamp(80px, 10vw, 120px); }
.cmp-hero { display: flex; flex-direction: column; align-items: center; padding: clamp(64px, 9vw, 110px) 20px 0; text-align: center; }
.cmp-title { margin-top: 16px; font-size: clamp(40px, 6.2vw, 82px); font-weight: 650; line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
.cmp-hero .dl-lede { max-width: 38em; }
.cmp-sec { display: flex; flex-direction: column; align-items: center; width: min(1100px, calc(100% - 32px)); margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; }
.cmp-mono { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--dl-lav); background: rgba(218, 204, 245, .14); }
.cmp-badge { padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--dl-deep); box-shadow: 0 0 16px -2px rgba(124, 73, 247, .9); }
.cmp-row--head .cmp-col.is-ours { background: rgba(124, 73, 247, .22); box-shadow: inset 0 2px 0 var(--dl-violet); }
.cmp .dl-ctas { margin-top: 44px; }

.cmp-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 0; font-size: 13px; color: var(--dl-text-3); }
.cmp-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.cmp-scroll { width: 100%; margin-top: 18px; overflow-x: auto; border-radius: 22px; background: var(--dl-card); box-shadow: inset 0 0 0 1px var(--dl-line); scrollbar-width: thin; }
.cmp-table { min-width: 780px; text-align: left; }
.cmp-row { display: grid; grid-template-columns: minmax(200px, 1.6fr) repeat(5, minmax(96px, 1fr)); align-items: center; border-top: 1px solid var(--dl-line); }
.cmp-row--head { border-top: 0; background: #120a19; }
.cmp-feat { position: sticky; left: 0; z-index: 1; align-self: stretch; display: flex; align-items: center; padding: 14px 18px; font-size: 14.5px; color: var(--dl-text-2); background: #110918; }
.cmp-row--head .cmp-feat { background: #120a19; }
.cmp-col { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; align-self: stretch; padding: 12px 8px; text-align: center; transition: background .4s ease; }
.cmp-col.is-ours { background: rgba(124, 73, 247, .12); }
.cmp-row--head .cmp-col { gap: 8px; padding: 16px 8px; }
.cmp-row--head .cmp-col b { font-size: 13px; font-weight: 600; line-height: 1.2; }
.cmp-row--head .pxicon { width: 30px; border-radius: 8px; }
.cmp-row--head .cmp-mono { width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }
.cmp-group__name { padding: 22px 18px 10px; border-top: 1px solid var(--dl-line); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dl-lav); }
.cmp-group__name span { position: sticky; left: 18px; }
.cmp-yes { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; color: #fff; background: var(--dl-deep); box-shadow: 0 0 14px -2px rgba(124, 73, 247, .8); }
.cmp-yes .pxui { height: 7px; }
.cmp-some { width: 22px; height: 22px; flex: none; border-radius: 50%; background: linear-gradient(90deg, var(--dl-violet) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--dl-violet); }
.cmp-no { width: 12px; height: 2px; flex: none; border-radius: 2px; background: var(--dl-text-3); opacity: .6; }
.cmp-legend .cmp-yes, .cmp-legend .cmp-some { width: 18px; height: 18px; }
.cmp-note { font-size: 11.5px; line-height: 1.25; color: var(--dl-text-3); }
.cmp-txt { font-size: 14px; font-weight: 600; color: var(--dl-text); }
.cmp-txt.is-none { font-weight: 400; color: var(--dl-text-3); }

.cmp-fine { max-width: 46em; margin-top: 34px; font-size: 13px; line-height: 1.6; color: var(--dl-text-3); }
.cmp-fine a { color: var(--dl-text-2); border-bottom: 1px solid var(--dl-line-2); }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .cmp .dl-nav__links { display: none; }
  .cmp .dl-nav__get { margin-left: auto; }
}
@media (max-width: 820px) {
  .cmp-row { grid-template-columns: 150px repeat(5, minmax(84px, 1fr)); }
  .cmp-table { min-width: 600px; }
  .cmp-feat { padding: 12px; font-size: 13px; }
}
