/* CLAILA web v2: the product page of Lens (page ai-heatmaps). Its own face: the night ink of the website with the Marketing group's
   magenta and the warm scale of a heatmap (violet, magenta, orange, yellow); the bar and the footer stay the website's.
   Classes l-*; reveal, stagger, counters and scenes come from motion.css / motion.js, the hero's replaying cursor from lens.js. */
.w2-ai-heatmaps {
  --l-ink: #0B0F2A; --l-ink-2: #141A3E; --l-ink-3: #232A57; --l-on-ink: #B9C1E0; --l-on-ink-2: #8A93BC;
  --l-mag: #C2327A; --l-mag-2: #E0479A; --l-mag-soft: #FCE8F2; --l-hot: #FF7A3D; --l-sun: #FFC93C; --l-violet: #7B5CFA;
  --l-heat: linear-gradient(90deg, #7B5CFA, #E0479A 40%, #FF7A3D 72%, #FFC93C);
}
.l-over { color: var(--l-mag); }

/* ---- hero: the night page with a heatmap glowing over a real shop */
.l-hero { position: relative; overflow: hidden; padding: 72px 0 104px; background: var(--l-ink); color: #fff; }
.l-hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 420px at 78% 38%, rgba(224, 71, 154, .32), transparent 70%), radial-gradient(420px 340px at 88% 78%, rgba(255, 122, 61, .22), transparent 70%),
    radial-gradient(600px 460px at 8% 0%, rgba(123, 92, 250, .22), transparent 70%); }
.l-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 56px; align-items: center; }
.l-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.l-eyebrow { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 6px 12px; border-radius: 999px; background: rgba(224, 71, 154, .16); color: #FFB3D8; font-size: 13px; line-height: 18px; font-weight: 500; }
.l-hero h1 { font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -.028em; text-wrap: balance; }
.l-hero h1 span { background: var(--l-heat); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-lead { font-size: 19px; line-height: 30px; color: var(--l-on-ink); }
.l-site { max-width: 500px; background: #fff; }
.l-site input { color: var(--w-text-1); }
.l-btn { background: var(--l-mag); color: #fff !important; }
.l-btn:hover { background: #A82A69; }
.l-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; line-height: 20px; color: var(--w-text-2); }
.l-trust li { display: inline-flex; align-items: center; gap: 6px; }
.l-trust .w-ic { color: var(--l-mag); }
.l-trust-dark { color: var(--l-on-ink); } .l-trust-dark .w-ic { color: var(--l-sun); }
.l-hero-visual { position: relative; min-width: 0; }

/* a browser window around a real screenshot */
.l-window { overflow: hidden; border-radius: 14px; border: 1px solid var(--w-line); background: #fff; box-shadow: 0 8px 16px rgba(10, 18, 48, .08), 0 28px 56px rgba(10, 18, 48, .18); }
.l-hero .l-window { border-color: rgba(255, 255, 255, .14); box-shadow: 0 0 0 1px rgba(224, 71, 154, .18), 0 30px 80px rgba(0, 0, 0, .55), 0 0 120px rgba(224, 71, 154, .22); }
.l-window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F1F3F8; }
.l-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DAE5; }
.l-window-bar span { margin-left: auto; font-size: 11px; line-height: 14px; color: var(--w-text-3); }
.l-window img { display: block; width: 100%; height: auto; }

/* the hero picture: hot spots breathing over it and a cursor that replays a visit (lens.js moves it; without scripts it rests) */
.l-heat-frame { position: relative; }
.l-hot { position: absolute; width: var(--s, 12%); aspect-ratio: 1; left: var(--x); top: var(--y); translate: -50% -50%; border-radius: 50%; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(closest-side, rgba(255, 60, 40, .55), rgba(255, 140, 40, .35) 45%, rgba(255, 220, 80, .18) 70%, transparent); }
.l-hot-1 { --x: 19.5%; --y: 35%; --s: 24%; }   /* the product photo: rage and dead clicks */
.l-hot-2 { --x: 48%; --y: 47%; --s: 10%; }     /* Add to cart */
.l-cursor { position: absolute; left: var(--cx, 62%); top: var(--cy, 58%); width: 18px; height: 22px; translate: -2px -2px; pointer-events: none;
  transition: left .9s cubic-bezier(.45, .05, .25, 1), top .9s cubic-bezier(.45, .05, .25, 1); }
.l-cursor svg { position: relative; z-index: 1; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.l-cursor i { position: absolute; left: -16px; top: -16px; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--l-mag-2); opacity: 0; }
.l-cursor.is-click i { animation: l-ripple .5s ease-out; }
.l-cursor.is-rage i { border-color: #FF3B3B; animation: l-ripple .32s ease-out 4; }
@keyframes l-ripple { from { opacity: .95; transform: scale(.3); } to { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: no-preference) {
  .l-hot { animation: l-breathe 3.2s ease-in-out infinite; }
  .l-hot-2 { animation-delay: 1.1s; }
}
@keyframes l-breathe { 0%, 100% { opacity: .75; scale: .92; } 50% { opacity: 1; scale: 1.08; } }

/* "AI found …": the cards that arrive next to the picture */
.l-found { position: absolute; right: -24px; bottom: -44px; width: 320px; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(20, 26, 62, .92);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.l-found-head { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--l-sun); }
.l-found-item { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 14px; line-height: 20px; color: #fff; }
.l-found-item::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--l-sun); }
.l-found-item.l-sev-3::before { background: #FF5A5A; box-shadow: 0 0 0 4px rgba(255, 90, 90, .2); }
.l-found-item.l-sev-2::before { background: var(--l-hot); }
.l-found-ask { background: rgba(123, 92, 250, .16); color: var(--l-on-ink); }
.l-found-ask::before { background: #A995FF; }
.l-found-ask b { color: #fff; font-weight: 600; }

/* ---- cards */
.l-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.l-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: var(--w-r-card); background: var(--w-surface); border: 1px solid var(--w-line); }
.l-card > .w-ic { color: var(--l-mag); }
.l-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.l-card p { font-size: 16px; line-height: 26px; color: var(--w-text-2); }
.l-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--l-mag-soft); color: var(--l-mag); }
.l-cards-6 { margin-top: 20px; }
.l-cards-6 .l-card { padding: 24px; gap: 8px; }
.l-cards-6 .l-card h3 { font-size: 18px; line-height: 26px; }
.l-cards-6 .l-card p { font-size: 15px; line-height: 24px; }

/* ---- autopilot: four steps that play by themselves */
.l-auto { padding: 96px 0; background: linear-gradient(180deg, #FBF5FA, #F6F3FD); }
.l-auto .w-h2 { max-width: 760px; }
.l-scenes { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.l-scenes-tabs { display: flex; flex-direction: column; gap: 8px; }
.l-step { display: flex; gap: 16px; width: 100%; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; text-align: left; transition: background .2s, border-color .2s, box-shadow .2s; }
.l-step:hover { background: rgba(255, 255, 255, .6); }
.l-step[aria-selected="true"] { background: #fff; border-color: #EEDCEA; box-shadow: 0 2px 6px rgba(80, 20, 60, .05), 0 12px 28px rgba(80, 20, 60, .09); }
.l-step-n { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #F1E4EE; color: var(--w-text-2); font-size: 15px; line-height: 20px; font-weight: 600; transition: background .2s, color .2s; }
.l-step[aria-selected="true"] .l-step-n { background: var(--l-mag); color: #fff; }
.l-step-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; padding-top: 5px; }
.l-step-copy strong { font-size: 19px; line-height: 26px; font-weight: 600; color: var(--w-text-1); }
.l-step-text { display: none; font-size: 15px; line-height: 24px; color: var(--w-text-2); }
.l-step .w-scene-bar { display: none; margin-top: 10px; color: var(--l-mag); background: #F1E4EE; }
.l-step[aria-selected="true"] .l-step-text, .l-step[aria-selected="true"] .w-scene-bar { display: block; }
.l-scenes-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 0 20px; font-size: 15px; line-height: 24px; color: var(--w-text-2); }
.l-scenes-note .w-ic { flex: none; margin-top: 4px; color: var(--l-mag); }
.l-scenes-view { min-width: 0; }
.w2-ai-heatmaps .w-spot { --w-spot: var(--l-mag); }

/* ---- what AI found */
.l-ai-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; }
.l-ai-copy { display: flex; flex-direction: column; gap: 18px; }
.l-ai-copy .w-sub { margin: 0; }
.l-ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.l-ticks li { display: flex; gap: 12px; font-size: 16px; line-height: 25px; color: var(--w-text-2); }
.l-ticks .w-ic { flex: none; margin-top: 3px; color: var(--l-mag); }
.l-ai-list { padding: 24px; border-radius: 22px; background: var(--l-ink); box-shadow: 0 30px 60px rgba(10, 15, 42, .25); }
.l-ai-label { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--l-sun); }
.l-findings { display: flex; flex-direction: column; gap: 10px; }
.l-finding { position: relative; padding: 16px 18px 16px 20px; border-radius: 14px; background: var(--l-ink-2); border: 1px solid var(--l-ink-3); color: #fff; overflow: hidden; }
.l-finding::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--l-sun); }
.l-finding.l-sev-3::before { background: #FF5A5A; } .l-finding.l-sev-2::before { background: var(--l-hot); }
.l-finding-ask::before { background: #A995FF; } .l-finding-ask .l-sev { color: #C9BDFF; text-transform: none; letter-spacing: 0; font-size: 13px; }
.l-finding-ask p { margin-top: 0; color: #fff; }
.l-sev { display: inline-block; margin-bottom: 6px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--l-sun); }
.l-sev-3 .l-sev { color: #FF8A8A; } .l-sev-2 .l-sev { color: #FFB089; }
.l-finding h3 { font-size: 16px; line-height: 23px; font-weight: 600; }
.l-finding p { margin-top: 4px; font-size: 14px; line-height: 21px; color: var(--l-on-ink); }

/* ---- Clarity head-on */
.l-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--w-r-card); border: 1px solid var(--w-line); background: var(--w-surface); box-shadow: var(--w-shadow-sm); }
.l-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.l-table th, .l-table td { padding: 18px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--w-line); }
.l-table tbody tr:last-child th, .l-table tbody tr:last-child td { border-bottom: 0; }
.l-table thead th { padding: 16px 24px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--w-text-3); }
.l-table tbody th { width: 210px; font-weight: 600; }
.l-table td { color: var(--w-text-2); }
.l-table .l-us { background: #FDF4F9; color: var(--w-text-1); }
.l-table thead .l-us { color: var(--l-mag); }
.l-table td.l-us { display: flex; gap: 10px; }
.l-table td.l-us .w-ic { flex: none; margin-top: 2px; color: var(--l-mag); }
.l-foot { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--w-text-3); }

/* ---- the price */
.l-save { position: relative; overflow: hidden; padding: 88px 0; background: var(--l-ink); color: #fff; }
.l-save::before { content: ''; position: absolute; right: -120px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 71, 154, .28), transparent); pointer-events: none; }
.l-save-in { position: relative; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 64px; align-items: center; }
.l-save-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.l-save-copy h2 { font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.l-save-copy p:not(.w-over) { font-size: 18px; line-height: 28px; color: var(--l-on-ink); }
.l-save-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--w-mint); }
.l-save-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.l-calc { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 20px; background: var(--l-ink-2); border: 1px solid var(--l-ink-3); }
.l-bar-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; align-items: center; font-size: 15px; line-height: 22px; color: var(--l-on-ink); }
.l-bar { display: flex; align-items: baseline; gap: 8px; width: var(--p, 100%); min-width: 120px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--l-ink-3); color: #fff; line-height: 42px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.l-bar strong { font-size: 17px; font-weight: 600; }
.l-bar em { font-style: normal; font-size: 13px; color: var(--l-on-ink); }
.l-bar-us { background: var(--w-mint); color: var(--l-ink); }
.l-bar-us em { color: rgba(11, 15, 42, .7); }
.l-plan-list { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.l-plan-list li { display: grid; grid-template-columns: minmax(70px, max-content) minmax(0, 1fr) auto; gap: 12px; padding: 6px 0; font-size: 15px; line-height: 22px; }
.l-plan-list span { color: var(--l-on-ink-2); } .l-plan-list b { font-weight: 600; } .l-plan-list i { font-style: normal; color: var(--l-on-ink-2); font-size: 14px; }
.l-calc-note { font-size: 13px; line-height: 20px; color: var(--l-on-ink-2); }

/* ---- features */
.l-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.l-cap { margin-top: 12px; font-size: 15px; line-height: 23px; color: var(--w-text-2); }

/* ---- one line of code */
.l-code { max-width: 860px; margin: 0 auto 24px; padding: 18px 22px; border-radius: 14px; background: var(--l-ink); color: #DCE2F7; font: 14px/22px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: nowrap; }
.l-code span { color: var(--l-sun); }
.l-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.l-chips i { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--w-line); font-style: normal; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--w-text-1); }
.l-chips .l-chip-ai { background: var(--l-mag-soft); border-color: #F3C6DE; color: #8E1F57; }

/* ---- privacy */
.l-trustband { padding: 72px 0; background: var(--l-ink); color: #fff; }
.l-trustband-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.l-trustband-in > div { display: flex; gap: 14px; }
.l-trustband-in > div > .w-ic { flex: none; margin-top: 2px; color: var(--l-mag-2); }
.l-trustband h3 { font-size: 17px; line-height: 24px; font-weight: 600; }
.l-trustband p { margin-top: 4px; font-size: 15px; line-height: 24px; color: var(--l-on-ink); }

/* ---- closing */
.l-close { position: relative; overflow: hidden; padding: 96px 0; background: var(--l-ink); color: #fff; text-align: center; }
.l-close-glow { position: absolute; left: 50%; top: 100%; width: 1100px; height: 700px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 71, 154, .4), rgba(255, 122, 61, .18) 55%, transparent); pointer-events: none; }
.l-close-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.l-close h2 { max-width: 820px; font-size: 48px; line-height: 54px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.l-close-in > p:not(.l-bundle) { max-width: 640px; font-size: 18px; line-height: 28px; color: var(--l-on-ink); }
.l-close .l-site { margin-top: 8px; }
.l-close .l-trust { justify-content: center; }
.l-bundle { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-size: 14px; line-height: 20px; color: var(--l-on-ink-2); }
.l-bundle i { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--l-ink-3); font-style: normal; font-size: 13px; font-weight: 500; color: var(--l-on-ink); }
.l-bundle a { color: var(--w-mint); font-weight: 600; }
.l-close + .w-foot { border-top: 1px solid rgba(255, 255, 255, .08); }

@media (max-width: 1180px) {
  .l-hero h1 { font-size: 48px; line-height: 52px; }
  .l-found { right: -8px; }
}
@media (max-width: 1020px) {
  .l-hero { padding: 48px 0 72px; }
  .l-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .l-hero h1 { font-size: 44px; line-height: 48px; }
  .l-found { position: relative; right: auto; bottom: auto; width: auto; margin: -28px 16px 0; }
  .l-cards { grid-template-columns: 1fr; gap: 12px; }
  .l-cards-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-auto { padding: 64px 0; }
  .l-scenes { grid-template-columns: 1fr; gap: 24px; }
  .l-scenes-tabs { flex-direction: row; flex-wrap: wrap; }
  .l-step { width: auto; flex: 1 1 calc(50% - 4px); padding: 12px 14px; gap: 10px; }
  .l-step-n { width: 30px; height: 30px; font-size: 13px; }
  .l-step-copy { padding-top: 3px; } .l-step-copy strong { font-size: 16px; line-height: 22px; }
  .l-step[aria-selected="true"] .l-step-text { display: none; }
  .l-scenes-note { flex-basis: 100%; padding: 0 4px; }
  .l-ai-in { grid-template-columns: 1fr; gap: 32px; }
  .l-save { padding: 64px 0; } .l-save-in { grid-template-columns: 1fr; gap: 32px; }
  .l-shots { grid-template-columns: 1fr; }
  .l-trustband { padding: 56px 0; } .l-trustband-in { grid-template-columns: 1fr; gap: 24px; }
  .l-close { padding: 72px 0; } .l-close h2 { font-size: 36px; line-height: 42px; }
}
@media (max-width: 680px) {
  .l-hero { padding: 32px 0 56px; }
  .l-hero h1 { font-size: 34px; line-height: 39px; }
  .l-lead { font-size: 17px; line-height: 27px; }
  .l-site { flex-wrap: wrap; height: auto; padding: 6px; border-radius: 18px; }
  .l-site .w-site-ic { display: none; }
  .l-site input { flex: 1 1 100%; height: 48px; padding: 0 12px; }
  .l-site .w-btn { flex: 1 1 100%; justify-content: center; }
  .l-trust { flex-direction: column; gap: 6px; }
  .l-found { margin: -20px 6px 0; padding: 12px; }
  .l-found-item { font-size: 13px; line-height: 19px; }
  .l-cards-6 { grid-template-columns: 1fr; }
  .l-card { padding: 22px; }
  .l-ai-list { padding: 16px; }
  .l-save-copy h2 { font-size: 28px; line-height: 34px; }
  .l-calc { padding: 20px; }
  .l-bar-row { grid-template-columns: 1fr; gap: 6px; }
  .l-plan-list li { grid-template-columns: minmax(56px, max-content) minmax(0, 1fr); } .l-plan-list i { grid-column: 2; }
  .l-close h2 { font-size: 28px; line-height: 34px; }
  .l-code { font-size: 12px; }
  /* the comparison as stacked cards: topic, Lens, Clarity */
  .l-table-scroll { overflow: visible; border: 0; background: none; box-shadow: none; }
  .l-table, .l-table tbody, .l-table tr, .l-table th, .l-table td { display: block; width: auto; min-width: 0; }
  .l-table thead { display: none; }
  .l-table tr { margin-bottom: 12px; border-radius: 14px; border: 1px solid var(--w-line); background: var(--w-surface); overflow: hidden; }
  .l-table tbody th { width: auto; padding: 14px 16px 4px; border: 0; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--w-text-3); }
  .l-table td { padding: 8px 16px; border: 0; }
  .l-table td.l-us { padding-top: 10px; padding-bottom: 10px; }
  .l-table td:last-child { padding-bottom: 14px; font-size: 14px; color: var(--w-text-3); }
  .l-table td:last-child::before { content: attr(data-label) ' '; font-weight: 600; }
}
