/* CLAILA web v2: the product page of Analytics (page ai-analytics). Its own face is "live": light graph paper, the green of the
   app's Live dot and the indigo of its charts; dark bands in a deep green-black. The bar and the footer stay the website's.
   Classes a-*; reveal, stagger, counters and scenes come from motion.css / motion.js, the hero's live card from analytics.js. */
.w2-ai-analytics {
  --a-green: #0F9D6B; --a-green-2: #0B7A53; --a-green-soft: #E2F6EE; --a-green-line: #BFE8D6; --a-signal: #3DDC97;
  --a-indigo: #5B5BD6; --a-indigo-2: #4747B8; --a-indigo-soft: #EEEEFC;
  --a-ink: #07201A; --a-ink-2: #0E2D25; --a-ink-3: #1D4338; --a-on-ink: #B5D3C8; --a-on-ink-2: #86A89C;
  --a-paper: #F7FAF9; --a-grid: rgba(15, 157, 107, .07);
}
.a-over { color: var(--a-green-2); }
.a-over-light { color: var(--a-signal); }
.w2-ai-analytics .w-spot { --w-spot: var(--a-green); }

/* the pulsing dot of "live" (still without motion) */
.a-dot { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--a-green); }
.a-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--a-green); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .a-dot::after { animation: a-ping 1.8s ease-out infinite; }
}
@keyframes a-ping { from { opacity: .7; transform: scale(.5); } to { opacity: 0; transform: scale(1.6); } }

/* ---- hero: graph paper, the real live view and a live card that replays the demo shop's stream */
.a-hero { position: relative; overflow: hidden; padding: 72px 0 112px; background: var(--a-paper); }
.a-hero-grid, .a-close-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--a-grid) 1px, transparent 1px), linear-gradient(90deg, var(--a-grid) 1px, transparent 1px); background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); }
.a-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 64px; align-items: center; }
.a-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.a-eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--a-green-soft); color: var(--a-green-2); font-size: 13px; line-height: 18px; font-weight: 500; }
.a-hero h1 { font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -.028em; text-wrap: balance; }
.a-hero h1 span { color: var(--a-green); }
.a-lead { font-size: 19px; line-height: 30px; color: var(--w-text-2); }
.a-site { max-width: 500px; }
.a-btn { background: var(--a-green-2); }
.a-btn:hover { background: #08603F; }
/* a longer translation of a button label wraps instead of leaving a phone screen (English keeps its one line) */
html:not([lang="en"]) .a-btn { height: auto; min-height: 52px; padding-top: 6px; padding-bottom: 6px; white-space: normal; text-align: center; }
.a-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; line-height: 20px; color: var(--w-text-2); }
.a-trust li { display: inline-flex; align-items: center; gap: 6px; }
.a-trust .w-ic { color: var(--a-green); }
.a-trust-dark { color: var(--a-on-ink); } .a-trust-dark .w-ic { color: var(--a-signal); }
.a-hero-visual { position: relative; min-width: 0; }

/* a browser window around a real screenshot */
.a-window { overflow: hidden; border-radius: 14px; border: 1px solid var(--w-line); background: #fff; box-shadow: 0 8px 16px rgba(7, 32, 26, .06), 0 28px 56px rgba(7, 32, 26, .14); }
.a-window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F1F4F3; }
.a-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DCD8; }
.a-window-bar span { margin-left: auto; font-size: 11px; line-height: 14px; color: var(--w-text-3); }
.a-window img { display: block; width: 100%; height: auto; }

/* the live card */
.a-live { position: absolute; left: -56px; bottom: -72px; width: 290px; display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 12px; border-radius: 18px;
  background: #fff; border: 1px solid var(--a-green-line); box-shadow: 0 2px 6px rgba(7, 32, 26, .06), 0 24px 48px rgba(7, 32, 26, .18); }
.a-live-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.a-live-tag { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 24px; padding: 0 10px; border-radius: 999px; background: var(--a-green-soft); color: var(--a-green-2); font-size: 12px; line-height: 16px; font-weight: 600; }
.a-live-note { font-size: 11px; line-height: 14px; color: var(--w-text-3); }
.a-live-n { display: flex; align-items: baseline; gap: 8px; font-size: 14px; line-height: 20px; color: var(--w-text-2); }
.a-live-n strong { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -.02em; color: var(--w-text-1); font-variant-numeric: tabular-nums; }
.a-live-n strong.is-tick { animation: a-tick .5s ease; }
@keyframes a-tick { 40% { color: var(--a-green); transform: translateY(-2px); } }
/* page views a minute: one series, thin bars with a 2px gap, rounded at the data end, anchored to the baseline */
.a-bars { display: flex; align-items: flex-end; gap: 2px; height: 40px; border-bottom: 1px solid var(--w-line); }
.a-bars i { flex: 1; height: max(2px, var(--h)); border-radius: 4px 4px 0 0; background: var(--a-indigo); opacity: .9; transition: height .5s cubic-bezier(.2, .7, .2, 1); }
.a-bars i:last-child { background: var(--a-green); }
.a-bars-x { display: flex; justify-content: space-between; margin-top: -4px; font-size: 11px; line-height: 14px; color: var(--w-text-3); }
.a-stream { display: flex; flex-direction: column; gap: 6px; }
.a-ev { display: flex; flex-direction: column; gap: 0; padding: 6px 10px 6px 26px; border-radius: 10px; background: var(--a-paper); position: relative; font-size: 13px; line-height: 18px; }
.a-ev::before { content: ''; position: absolute; left: 10px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--a-indigo); }
.a-ev-v::before { background: var(--a-green); }
.a-ev-g { background: var(--a-green-soft); }
.a-ev-g::before { background: var(--a-green-2); box-shadow: 0 0 0 3px rgba(15, 157, 107, .2); }
.a-ev b { font-weight: 600; color: var(--w-text-1); }
.a-ev span { color: var(--w-text-3); font-size: 12px; }
.a-ev.is-new { animation: a-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes a-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---- cards */
.a-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.a-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); }
.a-card > .w-ic { color: var(--a-green); }
.a-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.a-card p { font-size: 16px; line-height: 26px; color: var(--w-text-2); }
.a-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--a-green-soft); color: var(--a-green-2); }
.a-cards-6 { margin-top: 20px; }
.a-cards-6 .a-card { padding: 24px; gap: 8px; }
.a-cards-6 .a-card h3 { font-size: 18px; line-height: 26px; }
.a-cards-6 .a-card p { font-size: 15px; line-height: 24px; }

/* ---- autopilot: four steps that play by themselves */
.a-auto { padding: 96px 0; background: linear-gradient(180deg, var(--a-paper), #F1F6FB); }
.a-auto .w-h2 { max-width: 760px; }
.a-scenes { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.a-scenes-tabs { display: flex; flex-direction: column; gap: 8px; }
.a-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; }
.a-step:hover { background: rgba(255, 255, 255, .7); }
.a-step[aria-selected="true"] { background: #fff; border-color: var(--a-green-line); box-shadow: 0 2px 6px rgba(7, 32, 26, .04), 0 12px 28px rgba(7, 32, 26, .08); }
.a-step-n { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #E3ECE8; color: var(--w-text-2); font-size: 15px; line-height: 20px; font-weight: 600; transition: background .2s, color .2s; }
.a-step[aria-selected="true"] .a-step-n { background: var(--a-green); color: #fff; }
.a-step-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; padding-top: 5px; }
.a-step-copy strong { font-size: 19px; line-height: 26px; font-weight: 600; color: var(--w-text-1); }
.a-step-text { display: none; font-size: 15px; line-height: 24px; color: var(--w-text-2); }
.a-step .w-scene-bar { display: none; margin-top: 10px; color: var(--a-green); background: #E3ECE8; }
.a-step[aria-selected="true"] .a-step-text, .a-step[aria-selected="true"] .w-scene-bar { display: block; }
.a-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); }
.a-scenes-note .w-ic { flex: none; margin-top: 4px; color: var(--a-green); }
.a-scenes-view { min-width: 0; }

/* ---- AI: a real question and answer */
.a-ai-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; }
.a-ai-copy { display: flex; flex-direction: column; gap: 18px; }
.a-ai-copy .w-sub { margin: 0; }
.a-ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.a-ticks li { display: flex; gap: 12px; font-size: 16px; line-height: 25px; color: var(--w-text-2); }
.a-ticks .w-ic { flex: none; margin-top: 3px; color: var(--a-green); }
.a-ai-chat { padding: 24px; border-radius: 22px; background: var(--a-paper); border: 1px solid var(--w-line); box-shadow: var(--w-shadow-md); }
.a-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(--a-green-2); }
.a-talk { display: flex; flex-direction: column; gap: 10px; }
.a-msg p { font-size: 15px; line-height: 24px; }
.a-msg-q { align-self: flex-end; max-width: 80%; padding: 10px 16px; border-radius: 16px 16px 4px 16px; background: var(--a-indigo); color: #fff; }
.a-msg-a { max-width: 94%; padding: 14px 18px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--w-line); color: var(--w-text-1); }

/* ---- Google Analytics head-on */
.a-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); }
.a-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.a-table th, .a-table td { padding: 18px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--w-line); }
.a-table tbody tr:last-child th, .a-table tbody tr:last-child td { border-bottom: 0; }
.a-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); }
.a-table tbody th { width: 200px; font-weight: 600; }
.a-table td { color: var(--w-text-2); }
.a-table .a-us { background: #F2FBF7; color: var(--w-text-1); }
.a-table thead .a-us { color: var(--a-green-2); }
.a-table td.a-us { display: flex; gap: 10px; }
.a-table td.a-us .w-ic { flex: none; margin-top: 2px; color: var(--a-green); }
.a-foot { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--w-text-3); }

/* ---- the price */
.a-save { position: relative; overflow: hidden; padding: 88px 0; background: var(--a-ink); color: #fff; }
.a-save::before { content: ''; position: absolute; right: -120px; top: -180px; width: 580px; height: 580px; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 220, 151, .2), transparent); pointer-events: none; }
.a-save-in { position: relative; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 64px; align-items: center; }
.a-save-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.a-save-copy h2 { font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.a-save-copy p:not(.w-over) { font-size: 18px; line-height: 28px; color: var(--a-on-ink); }
.a-save-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--a-signal); }
.a-save-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.a-calc { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 20px; background: var(--a-ink-2); border: 1px solid var(--a-ink-3); }
.a-calc-head { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--a-on-ink-2); }
.a-bar-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: center; }
.a-bar-row > span { display: flex; flex-direction: column; font-size: 15px; line-height: 21px; }
.a-bar-row b { font-weight: 600; color: #fff; }
.a-bar-row i { font-style: normal; font-size: 13px; line-height: 18px; color: var(--a-on-ink-2); }
.a-bar { display: flex; align-items: center; width: var(--p, 100%); min-width: 64px; height: 40px; padding: 0 12px; border-radius: 4px 10px 10px 4px; background: var(--a-ink-3); color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.a-bar strong { font-size: 17px; font-weight: 600; }
.a-bar-free { background: rgba(61, 220, 151, .3); color: #fff; }
.a-bar-row-us b { color: var(--a-signal); }
.a-bar-us { background: var(--a-signal); color: var(--a-ink); }
.a-calc-note { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; line-height: 20px; color: var(--a-on-ink-2); }

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

/* ---- one line of code */
.a-code { max-width: 860px; margin: 0 auto 24px; padding: 18px 22px; border-radius: 14px; background: var(--a-ink); color: #D5EDE4; font: 14px/22px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: nowrap; }
.a-code span { color: var(--a-signal); }
.a-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.a-chips i { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 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); }
.a-chips .a-chip-ai { background: var(--a-green-soft); border-color: var(--a-green-line); color: var(--a-green-2); }
.a-one { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; max-width: 860px; margin: 28px auto 0; font-size: 16px; line-height: 25px; color: var(--w-text-2); text-align: center; }
.a-one > .w-ic { color: var(--a-green); }
.a-one a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--a-green-2); }
.a-one a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

/* ---- closing */
.a-close { position: relative; overflow: hidden; padding: 96px 0; background: var(--a-ink); color: #fff; text-align: center; }
.a-close-grid { --a-grid: rgba(61, 220, 151, .08); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 100%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 50% 100%, #000 20%, transparent 70%); }
.a-close-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.a-close h2 { max-width: 820px; font-size: 48px; line-height: 54px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.a-close-in > p:not(.a-bundle) { max-width: 640px; font-size: 18px; line-height: 28px; color: var(--a-on-ink); }
.a-close .a-site { margin-top: 8px; border-color: transparent; }
.a-close .a-trust { justify-content: center; }
.a-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(--a-on-ink-2); }
.a-bundle i { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--a-ink-3); font-style: normal; font-size: 13px; font-weight: 500; color: var(--a-on-ink); }
.a-bundle a { color: var(--a-signal); font-weight: 600; }
.a-close + .w-foot { border-top: 1px solid rgba(255, 255, 255, .08); }

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