/* ClinXAi comparison pages. Uses the same centered Inter/white/neutral design as site landings.
   Visual hierarchy: comparison headline, buyer decision, genuine tables, source notes. */
body.sp-site.tesla-layout .page-family-comparison{background:#fff}
body.sp-site.tesla-layout .compare-page{
  --cc-ink:#101114;--cc-muted:#52565b;--cc-rule:#dedede;--cc-width:1120px;
  width:100%;max-width:none;padding:0 24px 110px;box-sizing:border-box;
  color:var(--cc-ink);font-family:Inter,Arial,sans-serif;background:#fff;
}
body.sp-site.tesla-layout .compare-page *,body.sp-site.tesla-layout .compare-page *::before{box-sizing:border-box}
body.sp-site.tesla-layout .compare-page :is(h1,h2,h3,p){margin:0}
body.sp-site.tesla-layout .compare-page a{color:inherit}
body.sp-site.tesla-layout .compare-intro{max-width:920px;margin:0 auto;padding:104px 0 90px;text-align:center}
body.sp-site.tesla-layout .compare-intro h1{
  max-width:920px;margin:0 auto;font-size:clamp(46px,5.2vw,72px);
  font-weight:650;letter-spacing:-.053em;line-height:1.055;text-wrap:balance;
}
body.sp-site.tesla-layout .compare-intro>p:not(.compare-date){
  max-width:650px;margin:24px auto 0;color:var(--cc-muted);
  font-size:17px;line-height:1.72;
}
body.sp-site.tesla-layout .compare-intro .compare-date{margin-top:22px;color:#777;font-size:12px;line-height:1.6}
body.sp-site.tesla-layout .compare-breadcrumb{
  display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 32px;
  font-size:12px;color:var(--cc-muted);
}
body.sp-site.tesla-layout .compare-breadcrumb a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#bbb}
body.sp-site.tesla-layout :is(.compare-directory,.compare-overview,.compare-fit,.compare-analysis,.compare-availability,.compare-sources,.compare-related){
  max-width:var(--cc-width);margin-right:auto;margin-left:auto;
}
body.sp-site.tesla-layout .compare-section-head{margin:0 auto 32px;max-width:760px;text-align:center}
body.sp-site.tesla-layout .compare-section-head h2,body.sp-site.tesla-layout .compare-fit>h2{
  font-size:clamp(30px,3.1vw,40px);font-weight:600;letter-spacing:-.04em;
  line-height:1.2;text-wrap:balance;
}
body.sp-site.tesla-layout .compare-section-head p{
  max-width:650px;margin:14px auto 0;color:var(--cc-muted);font-size:15px;line-height:1.7;
}
/* Competitor options are a balanced set of clear links, not pseudo-interactive UI tiles. */
body.sp-site.tesla-layout .compare-directory{max-width:1030px}
body.sp-site.tesla-layout .compare-directory-list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
body.sp-site.tesla-layout .compare-platform{
  display:flex;flex-direction:column;min-width:0;min-height:246px;padding:30px;
  border:1px solid #dadada;border-radius:9px;background:#fff;
  text-decoration:none;transition:background-color .15s ease,border-color .15s ease;
}
body.sp-site.tesla-layout .compare-platform:hover{background:#f7f7f7;border-color:#777}
body.sp-site.tesla-layout .compare-platform:focus-visible{outline:2px solid currentColor;outline-offset:4px}
body.sp-site.tesla-layout .compare-platform-name h3{
  font-size:clamp(25px,2.7vw,31px);line-height:1.18;font-weight:600;letter-spacing:-.038em;
}
body.sp-site.tesla-layout .compare-platform-name>span{
  display:block;margin-top:9px;color:var(--cc-muted);font-size:12px;line-height:1.55;
}
body.sp-site.tesla-layout .compare-platform>p{
  max-width:52ch;margin-top:22px;color:#606060;font-size:14px;line-height:1.68;
}
/* Each comparison is a true two-product specification table with aligned attributes. */
body.sp-site.tesla-layout .compare-overview{margin-top:114px}
body.sp-site.tesla-layout .compare-analysis{margin-top:96px}
body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table){
  overflow-x:auto;max-width:100%;border:1px solid #e5e5e5;border-radius:9px;background:#fff;
  -webkit-overflow-scrolling:touch;
}
body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table):focus-visible{outline:2px solid currentColor;outline-offset:4px}
body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table) table{
  width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left;
}
body.sp-site.tesla-layout .compare-table-scroll table{min-width:1070px}
body.sp-site.tesla-layout .compare-detail-table table{min-width:680px}
body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table) :is(th,td){
  padding:20px 22px;vertical-align:top;border-bottom:1px solid var(--cc-rule);
  font-size:13px;line-height:1.7;overflow-wrap:break-word;
}
body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table) thead th{
  position:sticky;top:0;z-index:2;background:#f5f5f5;font-weight:600;color:var(--cc-ink);
}
body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table) tbody th{
  font-weight:600;color:var(--cc-ink);background:#fff;
}
body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table) tbody td{color:#555}
body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table) tbody tr:last-child>*{border-bottom:0}
body.sp-site.tesla-layout .compare-table-scroll tr>*:first-child{
  position:sticky;left:0;z-index:3;width:160px;background:#fff;box-shadow:1px 0 0 var(--cc-rule);
}
body.sp-site.tesla-layout .compare-table-scroll thead tr>*:first-child{background:#f5f5f5;z-index:4}
body.sp-site.tesla-layout .compare-table-scroll th a{
  text-decoration:underline;text-underline-offset:4px;text-decoration-color:#bbb;
}
body.sp-site.tesla-layout .compare-detail-table .compare-area-col{width:22%}
body.sp-site.tesla-layout .compare-scroll-hint{display:none;font-size:12px;color:var(--cc-muted);margin-top:12px}
/* Buyer fit is represented as a deliberate comparison of two different needs. */
body.sp-site.tesla-layout .compare-fit{max-width:960px}
body.sp-site.tesla-layout .compare-fit>h2{text-align:center}
body.sp-site.tesla-layout .compare-fit .compare-takeaway{
  max-width:760px;margin:20px auto 0;color:var(--cc-muted);
  font-size:16px;line-height:1.75;text-align:center;
}
body.sp-site.tesla-layout .compare-fit-columns{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:38px;
}
body.sp-site.tesla-layout .compare-fit-columns>div{
  background:#fafafa;border:1px solid #ebebeb;border-radius:9px;padding:30px;min-width:0;
}
body.sp-site.tesla-layout .compare-fit-columns h3{
  font-size:22px;font-weight:600;line-height:1.25;letter-spacing:-.03em;
}
body.sp-site.tesla-layout .compare-fit-columns p{
  margin-top:15px;font-size:14px;line-height:1.75;color:#606060;
}
/* Status and research notes deliberately remain secondary to the decision. */
body.sp-site.tesla-layout .compare-availability{
  display:grid;grid-template-columns:240px minmax(0,1fr);gap:40px;
  max-width:880px;margin-top:108px;padding-top:28px;border-top:1px solid var(--cc-rule);
}
body.sp-site.tesla-layout .compare-availability h2{font-size:22px;font-weight:600;letter-spacing:-.03em}
body.sp-site.tesla-layout .compare-availability p{margin:0 0 20px;color:#626262;font-size:14px;line-height:1.72}
body.sp-site.tesla-layout .compare-availability strong{
  display:block;margin-bottom:6px;font-weight:500;color:#222;
}
body.sp-site.tesla-layout .compare-sources{
  max-width:880px;margin-top:74px;padding-top:28px;border-top:1px solid var(--cc-rule);
}
body.sp-site.tesla-layout .compare-sources h2{font-size:22px;font-weight:600;letter-spacing:-.03em}
body.sp-site.tesla-layout .compare-sources p{margin-top:18px;color:#737373;font-size:12px;line-height:1.8}
body.sp-site.tesla-layout .compare-sources ul{list-style:none;padding:0;margin:24px 0 0;columns:2;column-gap:40px}
body.sp-site.tesla-layout .compare-sources li{break-inside:avoid;margin-bottom:14px}
body.sp-site.tesla-layout .compare-sources a{font-size:13px;line-height:1.55;text-underline-offset:3px}
body.sp-site.tesla-layout .compare-related{max-width:880px;margin-top:76px;padding-top:28px;border-top:1px solid var(--cc-rule)}
body.sp-site.tesla-layout .compare-related h2{font-size:19px;font-weight:500}
body.sp-site.tesla-layout .compare-related>div{display:flex;gap:10px 26px;flex-wrap:wrap;margin-top:20px}
body.sp-site.tesla-layout .compare-related a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-underline-offset:4px}

/* ClinXAi remains the visual reference in both comparison matrices. */
body.sp-site.tesla-layout .compare-table-scroll :is(th,td):nth-child(2),
body.sp-site.tesla-layout .compare-detail-table :is(th,td):nth-child(2){background:#f6f6f6}
body.sp-site.tesla-layout .compare-table-scroll thead th:nth-child(2),
body.sp-site.tesla-layout .compare-detail-table thead th:nth-child(2){
  background:#ededed;color:#101114;font-weight:650;
}
body.sp-site.tesla-layout .compare-fit-columns>div:first-child{border-color:#d6d6d6}
body.sp-site.tesla-layout .compare-fit-columns>div:last-child{border-color:#c7c7c7;background:#f5f5f5}

@media(max-width:760px){
  body.sp-site.tesla-layout .compare-page{padding:0 20px 80px}
  body.sp-site.tesla-layout .compare-intro{padding:72px 0 60px}
  body.sp-site.tesla-layout .compare-intro h1{font-size:clamp(38px,9vw,52px);line-height:1.08}
  body.sp-site.tesla-layout .compare-intro>p:not(.compare-date){font-size:15px}
  body.sp-site.tesla-layout .compare-directory-list,body.sp-site.tesla-layout .compare-fit-columns{grid-template-columns:1fr}
  body.sp-site.tesla-layout .compare-platform{min-height:0;padding:24px}
  body.sp-site.tesla-layout .compare-platform>p{margin-top:18px}
  body.sp-site.tesla-layout .compare-overview,body.sp-site.tesla-layout .compare-analysis{margin-top:76px}
  body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table){margin-right:-20px;border-radius:8px 0 0 8px}
  body.sp-site.tesla-layout .compare-detail-table table{min-width:660px}
  body.sp-site.tesla-layout .compare-scroll-hint{display:block}
  body.sp-site.tesla-layout .compare-fit-columns>div{padding:24px}
  body.sp-site.tesla-layout .compare-availability{grid-template-columns:1fr;gap:24px;margin-top:76px}
  body.sp-site.tesla-layout .compare-sources{margin-top:60px}
  body.sp-site.tesla-layout .compare-sources ul{columns:1}
  body.sp-site.tesla-layout .compare-related{margin-top:60px}
}
@media(prefers-reduced-motion:reduce){body.sp-site.tesla-layout .compare-platform{transition:none}}
@media print{
  body.sp-site.tesla-layout .compare-page{padding-bottom:0}
  body.sp-site.tesla-layout :is(.compare-table-scroll,.compare-detail-table){overflow:visible}
}
