/* Zoho CRM page (/zoho-crm) — light template.
   Measurements taken from the Framer desktop layout at 1440px. */

.zc { --zc-navy: rgb(17, 29, 52); --zc-text: rgb(60, 67, 80); --zc-muted: rgb(171, 171, 171); background: #fff; color: #000; }
.zc section { position: relative; }

/* Shared headings */
.zc-head { text-align: center; padding-inline: var(--gutter); }
.zc-h2 { max-width: 1290px; margin-inline: auto; font-family: var(--font-inter); font-weight: 600; font-size: 52px; line-height: 50.82px; letter-spacing: -1.02px; color: var(--zc-navy); white-space: pre-wrap; }
.zc-h2--overview { font-size: 50.8px; }
.zc-h2--toolkit { line-height: 48px; letter-spacing: -.9px; color: rgb(29, 29, 32); }
.zc-lead { max-width: 761px; margin: 41px auto 0; font-family: var(--font-inter); font-weight: 400; font-size: 18px; line-height: 28.61px; color: var(--zc-text); }
.zc-lead--toolkit { max-width: 839px; margin-top: 40px; line-height: 28px; letter-spacing: -.4px; color: rgb(29, 29, 32); }

/* Pill buttons */
.zc-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-inline: var(--gutter); }
.zc-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 192px; height: 61px; padding: 0 24px; border-radius: 32px; font-family: var(--font-inter); font-weight: 600; font-size: 18px; line-height: 52px; letter-spacing: -.52px; white-space: nowrap; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.zc-btn:active { transform: translateY(1px); }
.zc-btn--purple { background: rgb(117, 69, 253); color: #fff; box-shadow: inset 0 0 0 3px rgb(161, 180, 255); }
.zc-btn--purple:hover { background: rgb(99, 51, 240); }
.zc-btn--light { background: #f7f7f7; color: #000; font-weight: 500; box-shadow: inset 0 0 0 3px rgb(161, 180, 255); }
.zc-btn--light:hover { background: #ececf3; }
.zc-btn--bold { font-weight: 600; }
.zc-btn--dark { min-width: 225px; background: #000; color: #fff; }
.zc-btn--dark:hover { background: #26262b; }

/* Full-bleed images that overhang the viewport by 15px each side, as on the old site */
.zc-wide { width: calc(100% + 31px); margin-left: -15px; }
.zc-wide--dashboard img { aspect-ratio: 1471 / 835; }
.zc-wide--toolkit img { aspect-ratio: 1471 / 564; }

/* ---------- Hero ---------- */
.zc-hero { padding: 342px var(--gutter) 207px; text-align: center; }
.zc-hero-bg { position: absolute; z-index: -1; top: 84px; left: 0; right: 0; bottom: 0; }
.zc-hero-bg img { width: 100%; height: 100%; }
.zc-hero-title { max-width: 979px; margin-inline: auto; font-family: var(--font-inter); font-weight: 700; font-size: 60px; line-height: 72px; color: #000; }
.zc-hero-sub { max-width: 785px; margin: 46px auto 0; font-family: var(--font-inter); font-weight: 400; font-size: 20px; line-height: 24px; color: rgb(113, 113, 113); }
.zc-hero-sub span { font-weight: 600; font-size: 40px; line-height: 1.2; color: #000; }
.zc-hero .zc-btns { margin-top: 50px; }
.zc-hero { z-index: 0; }

/* ---------- Say goodbye ---------- */
.zc-slumps { padding-top: 50px; background: rgb(245, 249, 255); overflow: hidden; }
.zc-slumps .zc-h2 { max-width: 920px; }
.zc-wide--dashboard { margin-top: 54px; }

/* ---------- Benefits ---------- */
.zc-benefits { padding: 75px var(--gutter) 50px; background: rgb(245, 249, 255); }
.zc-benefit-list { display: grid; grid-template-columns: repeat(3, 315px); justify-content: center; gap: 40px; }
.zc-benefit { display: flex; flex-direction: column; align-items: center; gap: 47px; text-align: center; }
.zc-benefit h3 { max-width: 240px; font-family: var(--font-inter); font-weight: 500; font-size: 24px; line-height: 28.8px; color: #000; }
.zc-benefit img { width: 315px; aspect-ratio: 315 / 276; }

/* ---------- Bird's-eye view (scroll-linked features) ---------- */
.zc-overview { padding: 100px 0 20px; background: rgb(242, 242, 246); }
.zc-overview .zc-h2 { max-width: 1122px; }
.zc-overview .zc-lead { max-width: 968px; margin-top: 45px; }
.zc-scrolly { display: grid; grid-template-columns: 356px 674px; justify-content: center; gap: 80px; margin-top: 100px; padding-left: 32px; min-height: 1174px; }
.zc-scrolly-items { display: flex; flex-direction: column; gap: 24px; padding: 7px 0 15px; }
.zc-scrolly-item h3 { font-family: var(--font-inter); font-weight: 700; font-size: 42px; line-height: 55px; letter-spacing: -.6px; color: var(--zc-navy); transition: color .35s ease; }
.zc-scrolly-item p { font-family: var(--font-inter); font-weight: 400; font-size: 20px; line-height: 40px; letter-spacing: -.6px; color: var(--zc-navy); transition: color .35s ease; }
.js .zc-scrolly-item:not(.is-active) h3, .js .zc-scrolly-item:not(.is-active) p { color: var(--zc-muted); }
.zc-scrolly-media { position: relative; }
.zc-scrolly-frame { position: sticky; top: 100px; width: 674px; aspect-ratio: 674 / 673; border-radius: 23px; overflow: hidden; background: rgb(242, 242, 246); }
.zc-scrolly-frame img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s ease; }
.zc-scrolly-frame img.is-active { opacity: 1; }

/* ---------- Fuel your growth ---------- */
.zc-growth { padding-top: 100px; background: linear-gradient(#fff 0%, #fff 45.95%, #f8f8f8 100%); }
.zc-growth .zc-h2 { max-width: 1290px; }
.zc-growth .zc-lead { max-width: 993px; margin-top: 40px; }
.zc-cards { display: grid; grid-template-columns: repeat(2, 515px); justify-content: center; gap: 30px 29px; width: min(1050px, 100%); margin: 50px auto 0; padding: 50px 0; background: #fff; }
.zc-card { position: relative; height: 600px; padding-top: 46px; border-radius: 24px; overflow: hidden; background: rgb(249, 249, 250); box-shadow: inset 0 0 0 2px rgb(227, 231, 236); display: flex; flex-direction: column; align-items: center; text-align: center; color: rgb(19, 19, 19); }
.zc-card--violet { background: linear-gradient(rgba(183, 159, 251, .75) 0%, rgb(250, 250, 250) 70%); }
.zc-card h3 { max-width: 349px; font-family: var(--font-inter); font-weight: 600; font-size: 24px; line-height: 32.47px; }
.zc-card p { max-width: 349px; margin-top: 9px; font-family: var(--font-inter); font-weight: 400; font-size: 16px; line-height: 24.09px; letter-spacing: .15px; }
.zc-card img { flex: none; max-width: none; }
.zc-card:nth-child(1) { padding-top: 45px; }
.zc-card:nth-child(1) img { width: 550px; aspect-ratio: 550 / 448; margin-top: 55px; }
.zc-card:nth-child(2) { padding-top: 51px; }
.zc-card:nth-child(2) p { margin-top: 10px; }
.zc-card:nth-child(2) img { width: 592px; aspect-ratio: 592 / 435; margin-top: 55px; }
.zc-card:nth-child(3) { padding-top: 44px; }
.zc-card:nth-child(3) h3, .zc-card:nth-child(3) p, .zc-card:nth-child(4) h3, .zc-card:nth-child(4) p { max-width: 405px; }
.zc-card:nth-child(3) img { width: 483px; aspect-ratio: 483 / 375; margin-top: 44px; }
.zc-card:nth-child(4) { padding-top: 48px; }
.zc-card:nth-child(4) p { margin-top: 10px; }
.zc-card:nth-child(4) img { width: 365px; aspect-ratio: 365 / 357; margin-top: 53px; }

/* ---------- Toolkit ---------- */
.zc-toolkit { padding: 100px 0 50px; background: rgb(242, 242, 246); overflow: hidden; }
.zc-toolkit .zc-h2 { max-width: 890px; }
.zc-wide--toolkit { margin-top: 2px; }

/* ---------- Final CTA ---------- */
.zc-cta { z-index: 0; padding: 100px var(--gutter); text-align: center; }
.zc-cta-bg { position: absolute; z-index: -1; inset: 0; }
.zc-cta-bg img { width: 100%; height: 100%; }
.zc-cta-title { max-width: 787px; margin-inline: auto; font-family: var(--font-inter); font-weight: 600; font-size: 48px; line-height: 60px; color: #000; }
.zc-cta-text { max-width: 750px; margin: 35px auto 0; font-family: var(--font-inter); font-weight: 400; font-size: 18px; line-height: 27px; color: var(--zc-text); }
.zc-cta .zc-btns { margin-top: 45px; }

/* ==========================================================================
   Tablet (810–1199px) — measured from the Framer layout at 900px.
   Framer hides the bird's-eye illustration below desktop; ours keeps it (sticky,
   switched by zoho-a-crm.js) next to the feature list.
   ========================================================================== */
@media (min-width: 810px) and (max-width: 1199px) {
  .zc-hero { padding: 209px var(--gutter) 100px; }
  .zc-hero-title { max-width: min(820px, 100% - 202px); font-size: 40px; line-height: 48px; }
  .zc-hero-sub { margin-top: 13px; font-size: 16px; line-height: 19.2px; }
  .zc-hero-sub span { font-size: 28px; }
  .zc-hero .zc-btns { margin-top: 45px; }
  .zc-btn { min-width: 170px; height: 54px; }
  .zc-cta .zc-btn { font-size: 14px; }

  .zc-h2, .zc-h2--overview { font-size: 42px; line-height: 50.8px; }
  .zc-lead { font-size: 18px; line-height: 28.6px; }

  .zc-wide--dashboard { width: calc(100% + 23px); margin-left: -11px; }

  .zc-benefits { padding: 75px 75px 50px; }
  .zc-benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 424px; gap: 28px 10px; padding-block: 30px; }
  .zc-benefit { justify-content: center; gap: 47px; }
  .zc-benefit h3 { max-width: calc(100% - 120px); font-size: 20px; line-height: 24px; }
  .zc-benefit img { width: 310px; }
  .zc-benefit:nth-child(3) { grid-column: 1 / -1; justify-self: center; width: 480px; gap: 39px; }
  .zc-benefit:nth-child(3) h3 { max-width: none; }
  .zc-benefit:nth-child(3) img { width: 411px; aspect-ratio: 411 / 359; }

  .zc-overview .zc-head { padding-inline: 75px; }
  .zc-overview .zc-h2 { max-width: 660px; }
  .zc-overview .zc-lead { max-width: 660px; margin-top: 36px; }
  .zc-scrolly { grid-template-columns: 356px minmax(0, 340px); gap: 40px; min-height: 0; margin-top: 100px; padding: 0 var(--gutter); }
  .zc-scrolly-items { gap: 61px; padding: 7px 0 155px; }
  .zc-scrolly-item h3 { font-size: 42px; line-height: 55px; }
  .zc-scrolly-item p { font-size: 16px; line-height: 30px; }
  .zc-scrolly-frame { width: 100%; top: calc(var(--header-h) + 40px); }

  .zc-growth { padding-top: 119px; }
  .zc-growth .zc-h2 { max-width: 600px; font-size: 38px; }
  .zc-growth .zc-lead { max-width: 600px; }
  .zc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; width: 100%; padding: 19px 75px 50px; }
  .zc-card, .zc-card:nth-child(n) { height: 430px; padding-top: 35px; }
  .zc-card h3, .zc-card p, .zc-card:nth-child(n) h3, .zc-card:nth-child(n) p { max-width: calc(100% - 52px); }
  .zc-card h3 { font-size: 18px; }
  .zc-card p, .zc-card:nth-child(n) p { margin-top: 5px; font-size: 14px; }
  .zc-card:nth-child(1) img { width: 359px; margin-top: 30px; }
  .zc-card:nth-child(2) img { width: 379px; margin-top: 40px; }
  .zc-card:nth-child(2) p { font-size: 15px; }
  .zc-card:nth-child(3) { padding-top: 38px; }
  .zc-card:nth-child(4) { padding-top: 55px; }
  .zc-card:nth-child(3) p, .zc-card:nth-child(4) p { max-width: 100%; }
  .zc-card:nth-child(3) img { width: 291px; margin-top: 40px; }
  .zc-card:nth-child(4) img { width: 239px; margin-top: 30px; }

  .zc-toolkit .zc-head { padding-inline: 75px; }
  .zc-toolkit .zc-h2 { font-size: 38px; line-height: 48px; }
  .zc-lead--toolkit { max-width: calc(100% - 150px); line-height: 28px; }
  .zc-wide--toolkit { width: calc(100% - 42px); margin: 60px 21px 0; }

  .zc-cta { padding: 140px 75px 100px; }
}

/* ==========================================================================
   Phone (≤809px) — measured from the Framer layout at 390px. Framer lays this
   page out at 415px and scrolls sideways; we keep its type sizes inside 390.
   ========================================================================== */
@media (max-width: 809px) {
  .zc-hero { padding: 141px 43px 41px; }
  .zc-hero-bg { top: 50px; }
  .zc-hero-title { font-size: 30px; line-height: 36px; }
  .zc-hero-sub { margin-top: 19px; font-size: 12px; line-height: 18px; }
  .zc-hero-sub span { font-size: 14px; line-height: 21px; }
  .zc-hero .zc-btns { margin-top: 29px; }
  .zc-btns { padding-inline: 0; }
  .zc-btn, .zc-btn--dark { min-width: 0; height: 38px; padding: 0 20px; font-size: 12px; box-shadow: inset 0 0 0 2px rgb(161, 180, 255); }
  .zc-btn--dark { box-shadow: none; }
  .zc-hero .zc-btn--purple { font-size: 11px; }
  .zc-cta .zc-btn { min-width: 126px; height: 45px; padding-inline: 17px; }

  .zc-head { padding-inline: 25px; }
  .zc-h2, .zc-h2--overview, .zc-h2--toolkit { font-size: 22px; line-height: 30px; letter-spacing: 0; }
  .zc-lead, .zc-lead--toolkit { margin-top: 16px; font-size: 14px; line-height: 20px; }

  .zc-slumps { padding-top: 50px; }
  .zc-slumps .zc-h2 { line-height: 50.8px; }
  .zc-wide--dashboard { width: calc(100% - 6px); margin: 65px 0 0 3px; }

  /* Benefits: a swipeable row on phones (a moving ticker on Framer) */
  .zc-benefits { padding: 34px 0 0; }
  .zc-benefit-list { display: flex; gap: 0; overflow-x: auto; padding: 8px 66px 25px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .zc-benefit-list::-webkit-scrollbar { display: none; }
  .zc-benefit { flex: 0 0 258px; gap: 30px; scroll-snap-align: center; }
  .zc-benefit h3 { max-width: 246px; min-height: 43px; font-size: 18px; line-height: 21.6px; }
  .zc-benefit img { width: 258px; }

  /* Bird's-eye view: sticky illustration on top, feature list scrolls underneath */
  .zc-overview { padding: 64px 0 237px; }
  .zc-overview .zc-lead { margin-top: 36px; }
  .zc-scrolly { display: flex; flex-direction: column-reverse; gap: 107px; min-height: 0; margin-top: 56px; padding: 0 17px; }
  .zc-scrolly-media { position: sticky; top: calc(var(--header-h) + 8px); z-index: 1; }
  .zc-scrolly-frame { position: relative; top: 0; width: min(100%, 340px); margin-inline: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
  .zc-scrolly-items { gap: 79px; padding: 0; }
  .zc-scrolly-item h3 { font-size: 42px; line-height: 55px; }
  .zc-scrolly-item p { margin-top: 8px; font-size: 12px; line-height: 25px; }

  .zc-growth { padding-top: 100px; }
  .zc-growth .zc-h2 { font-size: 21px; line-height: 32.5px; }
  .zc-growth .zc-lead { margin-top: 16px; }
  .zc-cards { grid-template-columns: minmax(0, 344px); gap: 20px; margin-top: 41px; padding: 0 0 30px; }
  .zc-card, .zc-card:nth-child(n) { height: 530px; padding-top: 48px; }
  .zc-card:nth-child(1) { height: 520px; }
  .zc-card:nth-child(3) { padding-top: 54px; }
  .zc-card h3, .zc-card p, .zc-card:nth-child(n) h3, .zc-card:nth-child(n) p { max-width: none; padding-inline: 16px; }
  .zc-card h3 { font-size: 20px; }
  .zc-card p, .zc-card:nth-child(n) p { margin-top: 20px; }
  .zc-card:nth-child(1) img { width: 120%; margin-top: 30px; }
  .zc-card:nth-child(2) img { width: 120%; margin-top: 40px; }
  .zc-card:nth-child(3) img { width: 98%; margin-top: 47px; }
  .zc-card:nth-child(4) img { width: 256px; margin-top: 60px; }

  .zc-toolkit { padding: 67px 0 50px; }
  .zc-toolkit .zc-head { padding-inline: 45px; }
  .zc-toolkit .zc-h2 { font-size: 21px; line-height: 48px; letter-spacing: -.9px; }
  .zc-lead--toolkit { margin-top: 12px; line-height: 22px; }
  .zc-wide--toolkit { margin-top: 30px; }

  .zc-cta { padding: 56px 25px; }
  .zc-cta-title { font-size: 32px; line-height: 40px; }
  .zc-cta-text { margin-top: 17px; padding-inline: 20px; font-size: 14px; line-height: 21px; }
  .zc-cta .zc-btns { margin-top: 30px; }
}
