/* ============================================================================
   Page-specific design system: /products/zoho-analytics/
   Shares no section structure with p-crm.css, p-desk.css or p-one.css.
   CRM explores a pipeline, Desk converges channels into a clock, One explores a
   portfolio. Analytics is about one question producing different numbers, so its
   centrepiece is a definition switcher that visibly changes the result.

   Base colour: --product-accent (#f03030, sampled from the Analytics icon).
   Site-wide bans hold: no arrows, no line beside headings, no bar atop cards.
   ============================================================================ */

.an-page{--c:var(--product-accent,#f03030)}

/* ---------- 1. hero: three answers to one question ---------- */
.an-hero{
  position:relative;overflow:hidden;padding:56px 0 0;border-top:10px solid var(--c);
  background:
    radial-gradient(820px 300px at 20% 0%, color-mix(in srgb,var(--c) 26%,transparent), transparent 70%),
    linear-gradient(190deg,#1c1a1a,#0d1a17 68%);
}
.an-hero .wrap{position:relative;z-index:2}
.an-hero h1{color:#fff;font-size:clamp(28px,4.2vw,46px);max-width:21ch}
.an-hero .lede{color:rgba(255,255,255,.87);max-width:60ch;margin-top:16px}
.an-top{display:grid;grid-template-columns:1fr 340px;gap:44px;align-items:end}
@media (max-width:940px){.an-top{grid-template-columns:1fr;gap:30px}}
.an-tag{display:inline-flex;align-items:center;gap:9px;margin-bottom:16px;padding:7px 13px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:7px}
.an-tag img{width:22px;height:22px}
.an-tag span{font-size:12.5px;font-weight:700;color:#fff}
.an-acts{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 52px}
.an-hero .btn-ghost{border-color:rgba(255,255,255,.4);color:#fff}
.an-hero .btn-ghost:hover{background:rgba(255,255,255,.1);border-color:#fff;color:#fff}
/* three bars of different heights, same label - the whole page in one image */
.an-bars{display:flex;align-items:flex-end;gap:14px;height:190px;margin-bottom:52px}
.an-bar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:9px}
.an-bar i{display:block;width:100%;border-radius:8px 8px 0 0;background:var(--bz)}
.an-bar:nth-child(1){--bz:var(--zoho-red)}
.an-bar:nth-child(2){--bz:var(--zoho-yellow)}
.an-bar:nth-child(3){--bz:var(--zoho-blue)}
.an-bar span{font-size:11.5px;color:rgba(255,255,255,.7);font-weight:700}
@media (prefers-reduced-motion:no-preference){
  .an-bar i{animation:barUp .8s cubic-bezier(.2,.7,.3,1) both}
  .an-bar:nth-child(2) i{animation-delay:.12s}
  .an-bar:nth-child(3) i{animation-delay:.24s}
  @keyframes barUp{from{height:0}}
}

/* ---------- 2. THE centrepiece: same question, different definition ---------- */
.an-def{padding:82px 0;background:var(--white)}
.def-q{
  background:var(--dark);border-radius:calc(var(--radius) * 2);padding:34px 34px 30px;margin-top:30px;
  display:grid;grid-template-columns:1fr 300px;gap:36px;align-items:center;
}
@media (max-width:900px){.def-q{grid-template-columns:1fr;gap:24px;padding:26px 22px}}
.def-label{font-size:12.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  color:#8fa39c;margin-bottom:8px}
.def-q h3{color:#fff;font-size:clamp(19px,2.4vw,25px);margin-bottom:22px}
.def-opts{display:grid;gap:9px}
.defo{
  font-family:var(--font);text-align:start;cursor:pointer;border-radius:var(--radius);
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);
  padding:13px 16px;transition:background .16s,border-color .16s;
}
.defo:hover{border-color:rgba(255,255,255,.42)}
.defo[aria-selected="true"]{background:var(--dz);border-color:var(--dz)}
.defo b{display:block;font-size:14.5px;font-weight:700;color:#fff}
.defo span{display:block;font-size:12.5px;color:rgba(255,255,255,.62);margin-top:3px}
.defo[aria-selected="true"] span{color:rgba(255,255,255,.85)}
.defo:nth-child(1){--dz:var(--zoho-red)}
.defo:nth-child(2){--dz:var(--zoho-yellow)}
.defo:nth-child(3){--dz:var(--zoho-blue)}
.def-out{text-align:center}
/* colour is NOT transitioned here - same trap as the Desk SLA ring: with a transition on
   colour the element kept reporting the previous value long after the inline colour was set,
   so the number appeared stuck on the first definition. The count-up carries the change. */
.def-num{
  display:block;font-family:var(--font-display);font-size:clamp(46px,8vw,74px);font-weight:800;
  color:#fff;line-height:1;
}
.def-unit{display:block;font-size:13px;color:#8fa39c;margin-top:8px}
.def-why{
  margin-top:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);
  border-radius:var(--radius);padding:14px 16px;font-size:13.5px;color:#e2eae7;line-height:1.6;text-align:start;
}
.def-note{margin-top:22px;font-size:13.5px;color:var(--muted);line-height:1.7;max-width:80ch}
.def-note strong{color:var(--ink)}

/* ---------- 3. sources: what feeds a report ---------- */
.an-src{padding:78px 0;background:var(--paper)}
.src-list{margin-top:30px;display:grid;gap:0;border-top:1px solid var(--line)}
.src{display:grid;grid-template-columns:190px 1fr;gap:24px;padding:20px 0;
  border-bottom:1px solid var(--line);align-items:baseline}
@media (max-width:700px){.src{grid-template-columns:1fr;gap:6px}}
.src-n{font-size:15.5px;font-weight:800;color:var(--ink);display:flex;align-items:center;gap:10px}
.src-n em{flex:0 0 auto;width:8px;height:8px;border-radius:2px;background:var(--sz,var(--c));font-style:normal}
.src:nth-child(4n+1){--sz:var(--zoho-red)}
.src:nth-child(4n+2){--sz:var(--zoho-green)}
.src:nth-child(4n+3){--sz:var(--zoho-blue)}
.src:nth-child(4n+4){--sz:var(--zoho-yellow)}
.src p{font-size:14.5px;color:var(--muted);line-height:1.65}

/* ---------- 4. what makes a report trustworthy ---------- */
.an-trust{padding:80px 0;background:var(--white)}
.tr-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:30px}
@media (max-width:760px){.tr-grid{grid-template-columns:1fr}}
.an-trust-note{margin-top:22px;font-size:14px;color:var(--muted);line-height:1.7;max-width:80ch}
.tr{
  border:1px solid var(--line);border-radius:var(--radius);padding:24px 24px;
  display:grid;grid-template-columns:38px 1fr;gap:16px;align-items:start;
  transition:border-color .18s ease;
}
/* Not a link or button - no :hover treatment on purpose, see site rule "nothing may look
   clickable unless it is." */
.tr-k{
  width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  background:color-mix(in srgb,var(--tz,var(--c)) 14%,#fff);
  font-family:var(--font-display);font-size:13px;font-weight:800;color:var(--tz,var(--c));
}
.tr:nth-child(4n+1){--tz:var(--zoho-red)}
.tr:nth-child(4n+2){--tz:var(--zoho-green)}
.tr:nth-child(4n+3){--tz:var(--zoho-blue)}
.tr:nth-child(4n+4){--tz:var(--zoho-yellow)}
.tr h3{font-size:16.5px;margin-bottom:5px}
.tr p{font-size:14.5px;color:var(--muted);line-height:1.6}

/* ---------- 5. audiences: who gets which view ---------- */
.an-aud{padding:80px 0;background:var(--dark);color:#fff}
.an-aud h2{color:#fff}
.an-aud .lede{color:#b9c6c1;max-width:64ch}
.aud-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}
@media (max-width:820px){.aud-row{grid-template-columns:1fr}}
.aud{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.13);
  border-radius:var(--radius);padding:24px 22px}
.aud h3{color:#fff;font-size:17px;margin-bottom:4px}
.aud-who{font-size:12.5px;color:var(--az);font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;margin-bottom:10px;display:block}
.aud:nth-child(1){--az:var(--zoho-red)}
.aud:nth-child(2){--az:var(--zoho-green)}
.aud:nth-child(3){--az:var(--zoho-blue)}
.aud p{font-size:14px;color:#c8d2ce;line-height:1.6;margin-bottom:12px}
.aud ul{list-style:none;display:grid;gap:7px}
.aud li{position:relative;padding-inline-start:20px;font-size:13.5px;color:#e2eae7;line-height:1.5}
.aud li::before{content:"";position:absolute;inset-inline-start:0;top:7px;width:8px;height:8px;
  border-radius:2px;background:var(--az)}

/* ---------- 6. mid CTA: thin rule + inline row ---------- */
.an-turn{padding:70px 0;background:var(--white)}
.an-turn-in{display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap;
  padding-top:26px;border-top:3px solid color-mix(in srgb,var(--c) 55%,transparent)}
.an-turn-in h3{font-size:20px;margin-bottom:5px}
.an-turn-in p{font-size:15px;color:var(--muted);line-height:1.65;max-width:60ch}

/* ---------- 7. delivery: two-column ordered pairs ---------- */
.an-deliver{padding:80px 0;background:var(--paper)}
.ad{margin-top:30px;display:grid;gap:14px}
.ad-item{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 24px;display:grid;grid-template-columns:210px 1fr;gap:24px;align-items:baseline}
@media (max-width:800px){.ad-item{grid-template-columns:1fr;gap:8px}}
.ad-h{font-size:16.5px;font-weight:800;color:var(--ink)}
.ad-h em{display:block;font-style:normal;font-size:11.5px;font-weight:800;letter-spacing:.05em;
  text-transform:uppercase;color:var(--c);margin-bottom:4px}
.ad-item p{font-size:14.5px;color:var(--muted);line-height:1.65}

/* ---------- 8. FAQ ---------- */
.an-faq{padding:80px 0;background:var(--white)}
.faq-an{margin-top:26px;border-top:1px solid var(--line)}
.faq-an .accordion-item button{padding-inline-end:54px;padding-block:20px;font-size:16.5px}
.faq-an .accordion-item button::before,
.faq-an .accordion-item button::after{background:var(--c);border-radius:1px}
.faq-an .accordion-item button::before{inset-inline-end:16px;width:13px;height:2.5px}
.faq-an .accordion-item button::after{inset-inline-end:21px;width:2.5px;height:13px}
.faq-an .accordion-item button:hover,.faq-an .accordion-item.open button{color:var(--c)}

/* ---------- 9. closing: stacked bars motif reused as the card's own graphic ---------- */
.an-close{padding:0 0 92px;background:var(--white)}
.anc{
  display:grid;grid-template-columns:1fr 240px;border-radius:calc(var(--radius) * 2);overflow:hidden;
  background:linear-gradient(145deg,color-mix(in srgb,var(--c) 72%,#1c1a1a),#141d1b);
}
@media (max-width:820px){.anc{grid-template-columns:1fr}}
.anc-body{padding:46px 44px 42px}
@media (max-width:600px){.anc-body{padding:32px 24px}}
.anc h2{color:#fff;font-size:clamp(23px,3.2vw,32px);margin-bottom:12px;max-width:21ch}
.anc p{color:rgba(255,255,255,.86);font-size:15.5px;line-height:1.7;max-width:56ch;margin-bottom:24px}
.anc-btns{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.anc-alt{color:#fff;font-size:14.5px;font-weight:700;text-decoration:underline;
  text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.45)}
.anc-alt:hover{text-decoration-color:#fff}
.anc-side{background:rgba(255,255,255,.06);border-inline-start:1px solid rgba(255,255,255,.14);
  display:flex;align-items:flex-end;justify-content:center;gap:10px;padding:34px 26px}
@media (max-width:820px){.anc-side{display:none}}
.anc-side i{display:block;width:26px;border-radius:6px 6px 0 0;background:var(--cz)}
.anc-side i:nth-child(1){height:52%;--cz:var(--zoho-red)}
.anc-side i:nth-child(2){height:78%;--cz:var(--zoho-green)}
.anc-side i:nth-child(3){height:38%;--cz:var(--zoho-blue)}
.anc-side i:nth-child(4){height:64%;--cz:var(--zoho-yellow)}
