/* ============================================================
   Clearlii — Products page + shared inner-page helpers
   ============================================================ */

/* ---- shared page hero (inner pages) ---- */
.page-hero { position: relative; overflow: hidden; padding-top: 40px; }
.page-hero .watermark-word { top: -30px; }

/* products hero */
.prod-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 30px 0 80px; }
.prod-hero-grid h1 { margin: 18px 0 0; max-width: 11ch; }
.prod-hero-grid .lead { margin-top: 24px; max-width: 520px; }
.prod-hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.prod-hero-cta .btn svg:first-child { transform: rotate(0); }
.prod-hero-photo { position: relative; }
.prod-hero-photo .main { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3.5; box-shadow: 0 30px 70px rgba(40,53,131,.18); }
.prod-hero-photo .main img { width: 100%; height: 100%; object-fit: cover; }
.prod-hero-photo .inset {
  position: absolute; left: -28px; bottom: -28px; width: 44%; aspect-ratio: 1/1; border-radius: 22px; overflow: hidden;
  border: 6px solid #fff; box-shadow: 0 24px 50px rgba(40,53,131,.22); background: #eee;
}
.prod-hero-photo .inset img { width: 100%; height: 100%; object-fit: cover; }
.prod-hero-glow { position: absolute; inset: -14% -16% auto -8%; height: 70%; z-index: -1; filter: blur(64px);
  background: radial-gradient(circle at 30% 30%, rgba(255,150,120,.5), transparent 60%), radial-gradient(circle at 80% 50%, rgba(180,80,220,.4), transparent 60%); }

/* section heading block (left aligned) */
.compare-head .sec-head-anchor { }

/* ---- showcase: floating product boxes overlapping a list card ---- */
.showcase { position: relative; padding-block: 86px; }
.showcase.tinted { background: var(--surface); }
.showcase-head { position: relative; }
.showcase-head .wm {
  position: absolute; left: -6px; top: -84px; z-index: 0; user-select: none; pointer-events: none;
  font-size: clamp(72px, 12vw, 160px); font-weight: 600; letter-spacing: -0.045em; line-height: 1;
  color: #ecebf0; white-space: nowrap;
}
.showcase.tinted .showcase-head .wm { color: #e3e2ea; }
.showcase-head h2 { position: relative; z-index: 1; margin: 0 0 12px; }
.showcase-head p { position: relative; z-index: 1; color: var(--muted); font-size: 16px; margin: 0; max-width: 560px; }

.product-float { position: relative; z-index: 2; text-align: center; margin: 26px 0 -96px; }
.product-float img { display: inline-block; max-height: 300px; width: auto; filter: drop-shadow(0 44px 54px rgba(70,50,110,.30)); }
.product-float.single img { max-height: 250px; }

.list-card { position: relative; z-index: 1; border-radius: var(--r-lg); padding: 128px 50px 22px; }
.list-card.gray { background: #f4f4f7; }
.list-card.white { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-soft); }
.list-card .card-kicker { font-size: 14px; color: var(--muted); margin: 0 0 4px; }

.plist { display: flex; flex-direction: column; }
.plist-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px;
  padding: 30px 0; border-top: 1px solid rgba(0,0,0,.08);
}
.plist-row:first-child { border-top: none; }
.plist-row .pk { font-size: 13px; color: #d65a7d; font-weight: 500; margin: 0 0 7px; }
.plist-row h3 { font-size: 23px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 9px; }
.plist-row p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 74ch; }
.plist-row .btn { flex: none; }

/* comparison table */
.compare-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
table.compare th, table.compare td { padding: 18px 20px; text-align: center; font-size: 14.5px; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--surface); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
table.compare tbody th { text-align: left; font-weight: 500; color: var(--ink); white-space: nowrap; }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: none; }
table.compare .yes { color: var(--purple); font-weight: 700; font-size: 16px; }
table.compare .no { color: #d8dade; }
table.compare tbody tr:hover td, table.compare tbody tr:hover th { background: #faf7fb; }
.compare-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.compare-head .sec-head { margin-bottom: 0; }
.refs { margin-top: 30px; font-size: 11.5px; color: var(--muted-2); line-height: 1.7; }
.refs h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.refs ol { margin: 0; padding-left: 18px; columns: 2; column-gap: 40px; }
.refs li { margin-bottom: 5px; break-inside: avoid; }

/* triple CTA */
.cta-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cta-block { padding-right: 20px; }
.cta-block .eyebrow { margin-bottom: 18px; }
.cta-block h3 { font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.0; color: var(--ink); margin: 0 0 16px; }
.cta-block p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0 0 24px; }
.cta-trio.bordered .cta-block + .cta-block { border-left: 1px solid var(--line); padding-left: 30px; }

@media (max-width: 1000px) {
  .prod-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .prod-hero-photo { order: -1; max-width: 460px; }
  .cta-trio { grid-template-columns: 1fr; gap: 0; }
  .cta-trio.bordered .cta-block + .cta-block { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 30px; margin-top: 30px; }
  .cta-block { padding-right: 0; }
  .refs ol { columns: 1; }
}
@media (max-width: 640px) {
  .list-card { padding: 110px 24px 16px; }
  .plist-row { grid-template-columns: 1fr; gap: 18px; }
  .plist-row .btn { justify-self: start; }
  .product-float img { max-height: 200px; }
}
