/* Littlebird compare template refresh.
   Targets the existing classes on the Sept 16 compare template, so every page built
   from it picks this up with no element changes. Scoped to pages that have .cmp-hero-h1. */

body:has(.cmp-hero-h1) {
  --c-ink: #1b1c15;
  --c-ink-2: rgba(27, 28, 21, .66);
  --c-ink-3: rgba(27, 28, 21, .45);
  --c-line: rgba(27, 28, 21, .09);
  --c-egg: #f4edd9;
  --c-off: #fffaeb;
  --c-paper: #fffdf5;
  --c-emerald: #00674f;
  --c-emerald-2: #0b8a6a;
  --c-mint: #e3f1e8;
  --c-sky: #2f6fd6;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow-lift: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -30px rgba(17, 45, 30, .35), 0 12px 24px -12px rgba(17, 45, 30, .18);
  --paint-hero: url("https://cdn.prod.website-files.com/694043d273dceabab479f631/6abc6d20045fdc9d67737c71_lb-v2-paint-brief-03.webp");
  --paint-a: url("https://cdn.prod.website-files.com/694043d273dceabab479f631/6abf14e10ad4cd6ec4410b03_lb-v2-paint-brief-08.webp");
  --paint-b: url("https://cdn.prod.website-files.com/694043d273dceabab479f631/6abc6d20aacc5dfcb8e730a6_lb-v2-paint-brief-01.webp");
  --paint-c: url("https://cdn.prod.website-files.com/694043d273dceabab479f631/6abfc20e20700c739e4c6933_lb-v2-paint-brief-11.webp");
}

/* ---------- Hero: the painting becomes the stage ---------- */

.features-hero.comparison { padding-top: 120px; padding-bottom: 0; }
.features-hero.comparison > .container { max-width: 1280px; }
.features-hero.comparison .div-block-51 {
  position: relative;
  /* one centred composition: the marks sit on the sky and overlap the top of the sheet */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 72px 48px 48px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #2b62c9;
  box-shadow: 0 40px 80px -40px rgba(20, 50, 110, .45);
  isolation: isolate;
}
.features-hero.comparison .div-block-51::before {
  content: "";
  position: absolute; inset: -24px;
  background: var(--paint-hero) 50% 45% / cover no-repeat;
  z-index: -2;
  transform: translate3d(calc(var(--mx, 0) * -6px), calc(var(--my, 0) * -4px), 0) scale(1.02);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.features-hero.comparison .div-block-51::after {
  /* a soft, even vignette so the frame reads the same on both sides */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, rgba(20, 52, 120, 0) 55%, rgba(20, 52, 120, .22) 100%);
  z-index: -1;
  pointer-events: none;
}
.features-hero.comparison .div-block-52 {
  margin: -64px 0 0;
  padding: 88px 72px 56px;
  width: 100%;
  max-width: 880px;
  box-sizing: border-box;
  text-align: center;
  align-items: center;
  border-radius: var(--r-lg);
  background: rgba(255, 253, 245, .94);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
}
.features-hero.comparison .features-top-left { max-width: none; width: 100%; padding: 0; margin: 0; align-items: center; }
.features-hero.comparison .cmp-hero-h1 {
  margin-bottom: 24px; width: auto; min-width: 0; max-width: 100%;
  font-size: 52px; line-height: 1.08; letter-spacing: -0.01em;
}
.features-hero.comparison .cmp-hero-h1 .feature-page-text-hero {
  font-size: inherit; line-height: inherit; letter-spacing: inherit; color: var(--c-ink);
}
.features-hero.comparison .cmp-hero-h1 { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }
.features-hero.comparison .p-main { color: var(--c-ink-2); font-size: 17px; line-height: 1.6; text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }

/* Verdict: a clear, confident answer instead of a grey note */
.features-hero.comparison .cmp-verdict {
  position: relative;
  margin: 28px auto 0;
  max-width: 680px;
  text-align: left;
  padding: 22px 24px 22px 64px;
  border-radius: var(--r-md);
  background: var(--c-mint);
  border: 1px solid rgba(0, 103, 79, .14);
}
.features-hero.comparison .cmp-verdict::before {
  content: "";
  position: absolute; left: 22px; top: 22px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.features-hero.comparison .cmp-verdict-label {
  color: var(--c-emerald); font-family: "Soehne Kraftig", Arial, sans-serif;
  font-size: 13px; letter-spacing: .02em; text-transform: none; margin-bottom: 6px;
}
.features-hero.comparison .cmp-verdict-text { color: var(--c-ink); font-size: 16px; line-height: 1.55; margin: 0; }
.features-hero.comparison .cmp-verdict + .p-main { margin-top: 24px; }
.features-hero.comparison .div-block-56 { margin-top: 32px; display: flex; justify-content: center; width: 100%; }

/* The two marks sit centred above the sheet, overlapping its top edge */
.features-hero.comparison .div-block-53 {
  background: none !important;
  order: -1;
  position: relative; z-index: 2;
  width: auto; max-width: none; height: auto; min-height: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border-radius: 0;
}
.features-hero.comparison .div-block-54 { display: flex; align-items: center; gap: 28px; position: relative; }
.features-hero.comparison .div-block-55 {
  width: 136px; height: 136px; border-radius: 36px;
  background: rgba(255, 250, 235, .92);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 24px 48px -16px rgba(10, 30, 80, .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
}
.features-hero.comparison .div-block-54 > .div-block-55:first-child {
  width: 136px; height: 136px; border-radius: 36px;
  background: var(--c-off);
  box-shadow: 0 0 0 10px rgba(255, 250, 235, .22), 0 32px 64px -18px rgba(10, 30, 80, .6);
}
.features-hero.comparison .div-block-54 > .div-block-55:first-child img { width: 68px; height: auto; }
.features-hero.comparison .cmp-mark-hero { width: 64px; height: 64px; }
/* competitor tiles that carry their own artwork */
.features-hero.comparison .div-block-55.cluely-box { background: #000c24; }
.features-hero.comparison .div-block-55 .image-20 { border-radius: inherit; min-width: 0; }
.features-hero.comparison .div-block-55 .sp-hero-mark { height: 56px; width: auto; min-width: 0; border-radius: 12px; }

/* ---------- Difference cards: each one sits on a painting ---------- */

.compete-icon-section { padding-top: 160px; }
.compete-icon-section h2 { max-width: 760px; margin-left: auto; margin-right: auto; margin-bottom: 64px !important; }
.compete-grid-icon { gap: 24px !important; }
.compete-grid-icon .privacy-card {
  position: relative;
  padding: 0 0 36px;
  border-radius: var(--r-lg);
  background: var(--c-off);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.compete-grid-icon .privacy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.compete-grid-icon .privacy-card::before {
  content: "";
  display: block;
  height: 168px;
  margin-bottom: 0;
  background: var(--paint-a) center 40% / cover no-repeat;
}
.compete-grid-icon .privacy-card:nth-child(2)::before { background-image: var(--paint-b); background-position: center 45%; }
.compete-grid-icon .privacy-card:nth-child(3)::before { background-image: var(--paint-c); background-position: center 35%; }
.compete-grid-icon .privacy-card .color-bar { display: none; }
.compete-grid-icon .privacy-card .lock-icon {
  width: 56px; height: 56px; padding: 14px;
  margin: -28px 0 20px 32px;
  border-radius: 16px;
  background: var(--c-off);
  box-shadow: 0 10px 24px -10px rgba(17, 45, 30, .35), 0 0 0 1px var(--c-line);
  position: relative; z-index: 1;
  box-sizing: border-box;
  min-width: 0;
}
.compete-grid-icon .privacy-card h6 { margin: 0 32px 10px; font-size: 22px; line-height: 1.25; }
.compete-grid-icon .privacy-card .p-main { margin: 0 32px; color: var(--c-ink-2); font-size: 15px; line-height: 1.6; }

/* ---------- The table: Littlebird's column is the raised card ---------- */

body:has(.cmp-hero-h1) .table { padding-top: 160px; }
body:has(.cmp-hero-h1) .table .how-it-works-top { margin-bottom: 56px; }
body:has(.cmp-hero-h1) .compare-table { position: relative; }
body:has(.cmp-hero-h1) .compare-table.m-t-32 { margin-top: 0; }
body:has(.cmp-hero-h1) .compare-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1.35fr);
  column-gap: 0;
  border-bottom: 1px solid var(--c-line);
  transition: background-color .2s;
}
body:has(.cmp-hero-h1) .compare-table:not(.m-t-32) .compare-row:hover { background: rgba(244, 237, 217, .45); }
body:has(.cmp-hero-h1) .compare-table:not(.m-t-32) .compare-row:last-child { border-bottom: 0; }
body:has(.cmp-hero-h1) .compare-row-cell { padding: 22px 28px; border: 0 !important; align-items: center; width: auto; max-width: none; min-width: 0; box-sizing: border-box; }
body:has(.cmp-hero-h1) .compare-row-cell.left p {
  font-family: "Soehne Kraftig", Arial, sans-serif; font-size: 15px; color: var(--c-ink);
}
body:has(.cmp-hero-h1) .compare-row-cell .table-text { font-size: 15px; line-height: 1.55; color: var(--c-ink-2); }

/* the Littlebird cell */
body:has(.cmp-hero-h1) .compare-row-cell._2 {
  position: relative;
  background: #fff !important;
  box-shadow: -1px 0 0 rgba(0,103,79,.16), 1px 0 0 rgba(0,103,79,.16);
  padding-left: 60px;
}
body:has(.cmp-hero-h1) .compare-row-cell._2 .table-text { color: var(--c-ink); }
body:has(.cmp-hero-h1) .compare-row-cell._2:not(.top)::before {
  content: "";
  position: absolute; left: 24px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--c-emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat;
}
body:has(.cmp-hero-h1) .compare-table:not(.m-t-32) .compare-row:last-child .compare-row-cell._2 {
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: -1px 0 0 rgba(0,103,79,.16), 1px 0 0 rgba(0,103,79,.16), 0 1px 0 rgba(0,103,79,.16), 0 40px 60px -40px rgba(0, 70, 50, .35);
}

/* header row */
body:has(.cmp-hero-h1) .compare-table.m-t-32 .compare-row { border-bottom: 0; }
body:has(.cmp-hero-h1) .compare-row-cell._2.top {
  background: var(--c-emerald) var(--paint-b) center 30% / cover no-repeat !important;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  min-height: 112px;
  justify-content: center;
  padding-left: 28px;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}
body:has(.cmp-hero-h1) .compare-row-cell._2.top::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 72, 55, .55), rgba(0, 72, 55, .82));
}
body:has(.cmp-hero-h1) .compare-row-cell._2.top img { filter: brightness(0) invert(1); height: 26px; width: auto; min-width: 0; }
body:has(.cmp-hero-h1) .compare-table.m-t-32 .compare-row-cell:not(._2):not(.left) { justify-content: center; padding-top: 40px; }
body:has(.cmp-hero-h1) .sp-lockup-name { font-size: 18px; color: var(--c-ink-2); }

/* ---------- Where each one wins ---------- */

body:has(.cmp-hero-h1) .how-it-works.p-t-0 { padding-top: 160px; }
body:has(.cmp-hero-h1) .compare-grid { gap: 24px !important; margin-top: 56px; }
body:has(.cmp-hero-h1) .when-card {
  border-radius: var(--r-lg);
  padding: 48px;
  text-align: left;
  border: 1px solid var(--c-line);
  background-color: var(--c-off);
}
body:has(.cmp-hero-h1) .when-card h6 { font-size: 26px; line-height: 1.2; margin-bottom: 28px; }
body:has(.cmp-hero-h1) .when-card .p-main { font-size: 16px; line-height: 1.6; }
body:has(.cmp-hero-h1) .when-card .div-block-50 { gap: 14px; align-items: flex-start; }
body:has(.cmp-hero-h1) .when-card .checkmark { min-width: 0; margin-top: 3px; }
body:has(.cmp-hero-h1) .when-card._2 {
  position: relative; overflow: hidden; isolation: isolate; border: 0;
  background: #2b62c9 var(--paint-a) 70% center / cover no-repeat !important;
  box-shadow: 0 40px 80px -40px rgba(20, 50, 110, .55);
}
body:has(.cmp-hero-h1) .when-card._2::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(16, 46, 120, .82) 0%, rgba(16, 46, 120, .62) 55%, rgba(16, 46, 120, .18) 100%);
}
body:has(.cmp-hero-h1) .when-card._2 h6 { color: #fff; }
body:has(.cmp-hero-h1) .when-card._2 .p-main { color: rgba(255, 255, 255, .94); }
body:has(.cmp-hero-h1) .when-card._2 .cmp-link { color: #fff; text-decoration-color: rgba(255,255,255,.6); }

/* privacy note: a quiet sheet with a lock */
body:has(.cmp-hero-h1) .compare-note {
  position: relative;
  max-width: 920px;
  margin: 40px auto 0;
  padding: 28px 32px 28px 92px;
  border-radius: var(--r-md);
  background: var(--c-egg);
  text-align: left;
  font-size: 15px; line-height: 1.6;
  color: var(--c-ink-2);
}
body:has(.cmp-hero-h1) .compare-note::before {
  content: "";
  position: absolute; left: 28px; top: 28px;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--c-off) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80Z' fill='%2300674f'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* mid-page CTAs get room to breathe */
body:has(.cmp-hero-h1) .mid-page-cta { margin-top: 56px; }

/* FAQ */
body:has(.cmp-hero-h1) .section:has(.lb-faq-list) { padding-top: 120px; left: 0; }
body:has(.cmp-hero-h1) .section:has(.lb-faq-list) > .container { width: 100%; min-width: 0; box-sizing: border-box; }
body:has(.cmp-hero-h1) .lb-faq-list { width: 880px; max-width: 100%; margin-left: auto; margin-right: auto; }
body:has(.cmp-hero-h1) .lb-faq-item { border-radius: var(--r-md); transition: background-color .2s; padding-left: 20px; padding-right: 20px; }
body:has(.cmp-hero-h1) .lb-faq-item[open] { background: rgba(244, 237, 217, .5); }
body:has(.cmp-hero-h1) .lb-faq-item:hover { background: rgba(244, 237, 217, .5); }

/* ---------- Motion ----------
   Every sequence is time-based and plays once when its block enters view (the JS adds .is-in).
   Nothing pins, nothing is scrubbed by scroll, and everything comes to rest. Hover and cursor
   responses are the only ongoing motion. Animations fill backwards only, so hover transforms
   work once a sequence has finished. Without JS, or with reduced motion, all content is static. */

@keyframes lbcmp-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lbcmp-word { from { transform: translateY(110%); } to { transform: none; } }
@keyframes lbcmp-settle { from { transform: scale(1.06); filter: saturate(.85) brightness(1.04); } to { transform: scale(1.02); filter: none; } }
@keyframes lbcmp-strip { from { transform: scale(1.22); } to { transform: none; } }
@keyframes lbcmp-pop { 0% { transform: scale(0) rotate(-35deg); } 70% { transform: scale(1.18) rotate(6deg); } 100% { transform: none; } }
@keyframes lbcmp-land { 0% { opacity: 0; transform: translateY(-20px) scale(.92) rotate(-3deg); } 60% { opacity: 1; transform: translateY(2px) scale(1.01) rotate(.5deg); } 100% { opacity: 1; transform: none; } }
@keyframes lbcmp-slide-l { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes lbcmp-slide-r { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes lbcmp-flash {
  0%, 100% { box-shadow: -1px 0 0 rgba(0,103,79,.16), 1px 0 0 rgba(0,103,79,.16), inset 0 0 0 999px rgba(0,103,79,0); }
  35% { box-shadow: -1px 0 0 rgba(0,103,79,.16), 1px 0 0 rgba(0,103,79,.16), inset 0 0 0 999px rgba(0,103,79,.1); }
}
@keyframes lbcmp-drop { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes lbcmp-shut { 0% { transform: scale(0) rotate(-20deg); } 55% { transform: scale(1.12) rotate(8deg); } 75% { transform: rotate(-6deg); } 100% { transform: none; } }
@keyframes lbcmp-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* hover and cursor responses (always on, they only react to the pointer) */
body:has(.cmp-hero-h1) .button { transition: transform .35s cubic-bezier(.2,1.4,.4,1), box-shadow .35s; }
body:has(.cmp-hero-h1) .button:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(27, 28, 21, .45); }
.features-hero.comparison .div-block-54 {
  transform: translate3d(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 6px), 0);
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
}
.features-hero.comparison .div-block-55 { transition: transform .5s cubic-bezier(.2,1.4,.4,1), box-shadow .5s; }
.features-hero.comparison .div-block-55:hover { transform: translateY(-6px) rotate(-3deg) !important; }
.compete-grid-icon .privacy-card { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
.compete-grid-icon .privacy-card:hover { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(-6px); }
.compete-grid-icon .privacy-card::before { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.compete-grid-icon .privacy-card:hover::before { transform: scale(1.07); }
.compete-grid-icon .privacy-card .lock-icon { transition: transform .5s cubic-bezier(.2,1.6,.4,1); }
.compete-grid-icon .privacy-card:hover .lock-icon { transform: translateY(-4px) rotate(-6deg); }
body:has(.cmp-hero-h1) .compare-table:not(.m-t-32) .compare-row-cell.left p { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
body:has(.cmp-hero-h1) .compare-table:not(.m-t-32) .compare-row:hover .compare-row-cell.left p { transform: translateX(6px); }
body:has(.cmp-hero-h1) .when-card { transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
body:has(.cmp-hero-h1) .when-card:hover { transform: translateY(-4px); }
body:has(.cmp-hero-h1) .lb-faq-q .faq__plus { transition: transform .4s cubic-bezier(.2,1.4,.4,1); }
body:has(.cmp-hero-h1) .lb-faq-item[open] .faq__plus { transform: rotate(45deg); }

/* split headings: each word sits in a mask */
.lbcmp-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin-bottom: -.12em; }
.lbcmp-wi { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  /* headings: words rise into place */
  html.lbcmp-js .lbcmp-split:not(.is-in) .lbcmp-wi { transform: translateY(110%); }
  html.lbcmp-js .lbcmp-split.is-in .lbcmp-wi { animation: lbcmp-word .85s cubic-bezier(.2,.9,.25,1) backwards; animation-delay: calc(var(--i) * 55ms + var(--d0, 0ms)); }

  /* generic rise */
  html.lbcmp-js .lbcmp-reveal:not(.is-in) { opacity: 0; }
  html.lbcmp-js .lbcmp-reveal.is-in { animation: lbcmp-rise .8s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: var(--d, 0ms); }

  /* hero: the painting settles, the sheet rises, the marks land */
  html.lbcmp-js .features-hero.comparison.is-in .div-block-51::before { animation: lbcmp-settle 2.2s cubic-bezier(.16,.84,.3,1) backwards; }
  html.lbcmp-js .features-hero.comparison:not(.is-in) .div-block-52,
  html.lbcmp-js .features-hero.comparison:not(.is-in) .p-main,
  html.lbcmp-js .features-hero.comparison:not(.is-in) .cmp-verdict,
  html.lbcmp-js .features-hero.comparison:not(.is-in) .div-block-56 { opacity: 0; }
  html.lbcmp-js .features-hero.comparison.is-in .div-block-52 { animation: lbcmp-rise .9s cubic-bezier(.2,.8,.2,1) .1s backwards; }
  html.lbcmp-js .features-hero.comparison.is-in .p-main { animation: lbcmp-rise .8s cubic-bezier(.2,.8,.2,1) .55s backwards; }
  html.lbcmp-js .features-hero.comparison.is-in .cmp-verdict { animation: lbcmp-rise .8s cubic-bezier(.2,.8,.2,1) .75s backwards; }
  html.lbcmp-js .features-hero.comparison:not(.is-in) .cmp-verdict::before { transform: scale(0); }
  html.lbcmp-js .features-hero.comparison.is-in .cmp-verdict::before { animation: lbcmp-pop .6s cubic-bezier(.2,1,.3,1) 1.15s backwards; }
  html.lbcmp-js .features-hero.comparison.is-in .div-block-56 { animation: lbcmp-rise .8s cubic-bezier(.2,.8,.2,1) .95s backwards; }
  html.lbcmp-js .features-hero.comparison:not(.is-in) .div-block-55 { opacity: 0; }
  html.lbcmp-js .features-hero.comparison.is-in .div-block-54 > .div-block-55:not(:first-child) { animation: lbcmp-rise .8s cubic-bezier(.2,.8,.2,1) 1.15s backwards; }
  html.lbcmp-js .features-hero.comparison.is-in .div-block-54 > .div-block-55:first-child { animation: lbcmp-land 1.1s cubic-bezier(.2,.9,.3,1) .4s backwards; }

  /* difference cards: paintings settle, icons pop */
  html.lbcmp-js .compete-grid-icon .privacy-card.is-in::before { animation: lbcmp-strip 1.6s cubic-bezier(.16,.84,.3,1) var(--d, 0ms) backwards; }
  html.lbcmp-js .compete-grid-icon .privacy-card:not(.is-in) .lock-icon { transform: scale(0); }
  html.lbcmp-js .compete-grid-icon .privacy-card.is-in .lock-icon { animation: lbcmp-pop .7s cubic-bezier(.2,1,.3,1) calc(var(--d, 0ms) + 450ms) backwards; }

  /* table: Littlebird's header drops in, rows follow, checks pop, a wave runs down the column */
  html.lbcmp-js .compare-table:not(.is-in) .compare-row-cell._2.top { opacity: 0; }
  html.lbcmp-js .compare-table.is-in .compare-row-cell._2.top { animation: lbcmp-drop .8s cubic-bezier(.2,.9,.3,1) backwards; }
  html.lbcmp-js .compare-table:not(.m-t-32):not(.is-in) .compare-row { opacity: 0; }
  html.lbcmp-js .compare-table.is-in .compare-row { animation: lbcmp-rise .7s cubic-bezier(.2,.8,.2,1) var(--rd, 0ms) backwards; }
  html.lbcmp-js .compare-table:not(.is-in) .compare-row-cell._2:not(.top)::before { transform: scale(0); }
  html.lbcmp-js .compare-table.is-in .compare-row-cell._2:not(.top)::before { animation: lbcmp-pop .6s cubic-bezier(.2,1,.3,1) calc(var(--rd, 0ms) + 300ms) backwards; }
  html.lbcmp-js .compare-table.is-in .compare-row-cell._2:not(.top) { animation: lbcmp-flash 1.1s ease calc(var(--rd, 0ms) + 380ms) backwards; }

  /* where each one wins: cards meet in the middle, Littlebird's list follows */
  html.lbcmp-js .compare-grid:not(.is-in) .when-card { opacity: 0; }
  html.lbcmp-js .compare-grid.is-in .when-card:not(._2) { animation: lbcmp-slide-l .9s cubic-bezier(.2,.8,.2,1) backwards; }
  html.lbcmp-js .compare-grid.is-in .when-card._2 { animation: lbcmp-slide-r .9s cubic-bezier(.2,.8,.2,1) .1s backwards; }
  html.lbcmp-js .compare-grid:not(.is-in) .when-card._2 .div-block-50 { opacity: 0; }
  html.lbcmp-js .compare-grid.is-in .when-card._2 .div-block-50 { animation: lbcmp-rise .6s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 90ms + 450ms) backwards; }
  html.lbcmp-js .compare-grid:not(.is-in) .when-card._2 .checkmark { transform: scale(0); }
  html.lbcmp-js .compare-grid.is-in .when-card._2 .checkmark { animation: lbcmp-pop .5s cubic-bezier(.2,1,.3,1) calc(var(--i) * 90ms + 600ms) backwards; }

  /* privacy lock clicks shut */
  html.lbcmp-js .compare-note:not(.is-in)::before { transform: scale(0); }
  html.lbcmp-js .compare-note.is-in::before { animation: lbcmp-shut .8s cubic-bezier(.2,1,.3,1) .35s backwards; }

  /* closing card */
  html.lbcmp-js .cta-inner:not(.is-in) .cta-text,
  html.lbcmp-js .cta-inner:not(.is-in) .div-block-43 { opacity: 0; }
  html.lbcmp-js .cta-inner.is-in .cta-text { animation: lbcmp-rise .8s cubic-bezier(.2,.8,.2,1) .45s backwards; }
  html.lbcmp-js .cta-inner.is-in .div-block-43 { animation: lbcmp-rise .8s cubic-bezier(.2,.8,.2,1) .65s backwards; }

  /* FAQ answers ease open */
  body:has(.cmp-hero-h1) .lb-faq-item[open] .lb-faq-a { animation: lbcmp-open .4s cubic-bezier(.2,.8,.2,1) backwards; }
}

/* ---------- Small laptop ---------- */

@media (min-width: 992px) and (max-width: 1239px) {
  .features-hero.comparison .div-block-51 { padding: 56px 40px 40px; }
  .features-hero.comparison .div-block-52 { padding: 76px 56px 48px; margin-top: -52px; }
  .features-hero.comparison .cmp-hero-h1 { font-size: 44px; }
  .features-hero.comparison .div-block-55,
  .features-hero.comparison .div-block-54 > .div-block-55:first-child { width: 116px; height: 116px; border-radius: 30px; }
  .features-hero.comparison .div-block-54 > .div-block-55:first-child img { width: 60px; }
  .features-hero.comparison .cmp-mark-hero { width: 48px; height: 48px; }
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 991px) {
  .features-hero.comparison { padding-top: 16px; margin-top: 80px; }
  .features-hero.comparison > .container { padding-left: 16px; padding-right: 16px; }
  .features-hero.comparison .div-block-51 {
    padding: 0;
    align-items: stretch;
    min-height: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }
  .features-hero.comparison .div-block-51::after,
  .features-hero.comparison .div-block-51::before { display: none; }
  .features-hero.comparison .div-block-53 {
    order: -1;
    height: 300px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #2b62c9 var(--paint-hero) 0% 50% / cover no-repeat !important;
    box-shadow: 0 30px 60px -36px rgba(20, 50, 110, .55);
  }
  .features-hero.comparison .div-block-52 {
    margin: 0; padding: 48px 8px 0; max-width: none;
    background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    text-align: center; align-items: center;
  }
  .features-hero.comparison .cmp-hero-h1 { font-size: 38px; line-height: 1.1; }
  .features-hero.comparison .cmp-hero-h1 { text-align: center; }
  .features-hero.comparison .p-main { text-align: center; }
  .features-hero.comparison .cmp-verdict { text-align: left; }
  .features-hero.comparison .div-block-56 { display: flex; justify-content: center; }
  .features-hero.comparison .div-block-55,
  .features-hero.comparison .div-block-54 > .div-block-55:first-child { width: 104px; height: 104px; border-radius: 28px; }
  .features-hero.comparison .div-block-54 > .div-block-55:first-child img { width: 56px; }
  .features-hero.comparison .cmp-mark-hero { width: 46px; height: 46px; }

  .compete-icon-section, body:has(.cmp-hero-h1) .table, body:has(.cmp-hero-h1) .how-it-works.p-t-0 { padding-top: 112px; }
  .compete-icon-section h2 { margin-bottom: 40px !important; padding: 0 16px; }
  .compete-grid-icon .privacy-card,
  .compete-grid-icon .privacy-card h6,
  .compete-grid-icon .privacy-card .p-main { text-align: center; }
  .compete-grid-icon .privacy-card .lock-icon { margin-left: auto; margin-right: auto; }

  body:has(.cmp-hero-h1) .when-card { padding: 36px 28px; }
  body:has(.cmp-hero-h1) .compare-note { padding: 76px 24px 24px; text-align: center; }
  body:has(.cmp-hero-h1) .compare-note::before { left: 50%; margin-left: -20px; top: 24px; }
}

@media (max-width: 479px) {
  /* the site hides .section below 480px, which was hiding the compare FAQ on phones */
  body:has(.cmp-hero-h1) .section:has(.lb-faq-list) { display: flex !important; padding-top: 96px; }
}

@media (max-width: 767px) {
  .features-hero.comparison .div-block-54 { gap: 16px; }
  .features-hero.comparison .div-block-55,
  .features-hero.comparison .div-block-54 > .div-block-55:first-child { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 0 0 6px rgba(255, 250, 235, .22), 0 20px 40px -14px rgba(10, 30, 80, .6); }
  .features-hero.comparison .div-block-54 > .div-block-55:first-child img { width: 42px; }
  .features-hero.comparison .cmp-mark-hero { width: 36px; height: 36px; }
  body:has(.cmp-hero-h1) .compare-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1.2fr); }
  body:has(.cmp-hero-h1) .compare-row-cell { padding: 16px 12px; }
  body:has(.cmp-hero-h1) .compare-row-cell._2 { padding-left: 14px; }
  body:has(.cmp-hero-h1) .compare-row-cell._2:not(.top)::before { display: none; }
  body:has(.cmp-hero-h1) .compare-row-cell .table-text, body:has(.cmp-hero-h1) .compare-row-cell.left p { font-size: 13px; }
  body:has(.cmp-hero-h1) .compare-row-cell._2.top { min-height: 80px; padding-left: 12px; padding-right: 12px; justify-content: center; }
  body:has(.cmp-hero-h1) .compare-row-cell._2.top img { height: 22px; max-width: 100%; }
  .features-hero.comparison .cmp-hero-h1 { font-size: 34px; }
}
