/* Zoho Books ("/zoho-books") — measurements from the Framer desktop layout at 1440px. */

.zc-books { background: var(--white); }
.zc-books main { overflow: hidden; color: #000; font-family: var(--font-inter); }

/* ---------- Shared bits ---------- */
.zb-h2 { font-family: var(--font-inter); font-weight: 700; font-size: 56px; line-height: 72px; letter-spacing: -1px; color: #000; text-align: center; }
.zb-sub { max-width: 834px; font-family: var(--font-inter); font-weight: 500; font-size: 20px; line-height: 35px; letter-spacing: -1px; color: #535353; text-align: center; }
.zb-sub--2 { line-height: 30px; }
.zb-head { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; max-width: 1200px; }

.zb-btn { display: inline-flex; align-items: center; justify-content: center; width: 192px; height: 61px; border-radius: 32px; font-family: var(--font-inter); font-weight: 600; font-size: 18px; line-height: 27px; white-space: nowrap; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.zb-btn:active { transform: translateY(1px); }
.zb-btn--green { background: #146f4a; color: #fff; letter-spacing: -0.52px; }
.zb-btn--green:hover { background: #0f5a3b; }
.zb-btn--outline { background: #fff; color: #000; border: 5px solid #019e5c; }
.zb-btn--outline:hover { background: #effaf4; }
.zb-btn--clear { background: transparent; }

/* ---------- Hero ---------- */
.zb-hero { position: relative; min-height: 1146px; padding: 60px 50px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 50px; }
.zc-books img.zb-hero-bg { position: absolute; left: 0; top: 60px; width: 100%; height: calc(100% - 60px); z-index: 0; }
.zb-hero-copy, .zb-hero-shots { position: relative; z-index: 1; }
.zb-hero-copy { width: 100%; max-width: 1200px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.zb-hero-head { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; max-width: 1100px; }
.zc-books img.zb-hero-logo { width: 179px; aspect-ratio: 179 / 62; margin-top: 13px; }
.zb-hero-title { width: 100%; max-width: 659px; padding-bottom: 8px; font-family: var(--font-inter); font-weight: 600; font-size: 62px; line-height: 70px; letter-spacing: -1px; color: #000; text-align: left; }
.zb-effortless { margin-left: -12px; padding: 11.8px; font-family: "DM Serif Text", Georgia, serif; font-style: italic; font-weight: 400; font-size: 72px; line-height: 70px; letter-spacing: -1px; background-image: radial-gradient(189% 168% at 45% 60.2%, #01603f 0%, #2a8157 20.72%, #3d9062 38.29%, #a7d7b5 58.11%, #41893d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.zb-hero-cta { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.zb-hero-cta p { font-family: var(--font-inter); font-weight: 400; font-size: 20px; line-height: 20px; letter-spacing: -1px; color: #000; text-align: center; }
.zb-hero-shots { display: flex; justify-content: center; gap: 20px; }
.zc-books .zb-hero-shots img { border-radius: 8px; }
.zc-books img.zb-shot-main { width: 579px; aspect-ratio: 579 / 412; }
.zc-books img.zb-shot-side { width: 363px; aspect-ratio: 363 / 412; }

/* ---------- Services cards ---------- */
.zb-services { padding: 100px 50px 75px; display: flex; flex-direction: column; align-items: center; gap: 75px; }
.zb-cards { display: grid; grid-template-columns: repeat(3, 383px); grid-template-rows: repeat(2, 325px); grid-auto-flow: column; gap: 25px; justify-content: center; }
.zb-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 30px; background: #fff; border-radius: 15px; overflow: hidden; }
.zb-card::after { content: ""; position: absolute; inset: 0; border: 1px solid #d6d6d6; border-radius: inherit; pointer-events: none; }
.zb-card-icon { width: 102px; height: 105px; margin-left: 20px; flex: none; color: #0e6b47; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.zb-card-body { height: 180px; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 50px 20px; background: #fafffd; border-top: 0.6px solid #d6d6d6; }
.zb-card-body h3 { font-family: var(--font-inter); font-weight: 600; font-size: 24px; line-height: 24px; letter-spacing: -1px; color: #303030; }
.zb-card-body p { max-width: 300px; font-family: var(--font-inter); font-weight: 500; font-size: 16px; line-height: 25px; letter-spacing: -1px; color: #6a6a6a; }

/* ---------- Demo CTA ---------- */
.zb-demo { position: relative; min-height: 348px; padding: 100px 50px 75px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.zc-books img.zb-demo-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.zb-demo-copy { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 40px; }

/* ---------- Reliable accounting solutions ---------- */
.zb-solutions { background: #f1fbf5; padding: 100px 50px; display: flex; flex-direction: column; align-items: center; gap: 50px; }
.zb-dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 588px)); gap: 25px; justify-content: center; width: 100%; }
.zb-dash { position: relative; height: 570px; border-radius: 20px; overflow: hidden; background: #fff; }
.zb-dash::after { content: ""; position: absolute; inset: 0; border: 1.07px solid #d6d6d6; border-radius: inherit; pointer-events: none; }
.zc-books img.zb-dash-bg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 20px; }
.zc-books img.zb-hero-bg:not(.ph), .zc-books img.zb-demo-bg:not(.ph), .zc-books img.zb-dash-bg:not(.ph) { object-fit: cover; }
/* keep the placeholder icon of background slots out from under the copy */
.zc-books img.ph.zb-hero-bg, .zc-books img.ph.zb-demo-bg, .zc-books img.ph.zb-dash-bg { object-position: right 24px bottom 24px; }
.zb-dash-text { position: relative; padding: 41px 20px 0; display: flex; flex-direction: column; gap: 20px; }
.zb-dash-text h3 { font-family: var(--font-inter); font-weight: 600; font-size: 28px; line-height: 33.6px; color: #000; }
.zb-dash-text p { font-family: var(--font-inter); font-weight: 500; font-size: 20px; line-height: 35px; letter-spacing: -1px; color: #666; }
.zb-dash-shot { position: relative; height: 365px; margin: 40px 20px 0; overflow: hidden; }
.zc-books .zb-dash-shot img { position: absolute; left: -56px; top: 9px; width: 738px; max-width: none; height: 332px; border-radius: 6.42px; }
.zc-books .zb-dash-shot img:not(.ph) { object-fit: contain; }

/* ---------- Pricing ---------- */
.zb-pricing { padding: 100px 50px 75px; display: flex; flex-direction: column; align-items: center; gap: 78px; }
.zb-price-wrap { width: 100%; max-width: 1080px; display: flex; flex-direction: column; align-items: center; gap: 50px; }
.zb-toggle { display: flex; align-items: center; gap: 10px; height: 30px; opacity: .85; font-family: var(--font-inter); }
.zb-toggle-label { font-weight: 500; font-size: 16px; line-height: 20.8px; color: #000; cursor: pointer; transition: opacity .2s ease; }
.zb-toggle-label--annual { opacity: .5; }
.is-annual .zb-toggle-label--monthly { opacity: .5; }
.is-annual .zb-toggle-label--annual { opacity: 1; }
.zb-switch { position: relative; width: 64px; height: 30px; flex: none; border-radius: 100px; background: #8c8c8c; box-shadow: inset 0 0 0 1px #808080; transition: background-color .25s ease; }
.zb-knob { position: absolute; left: 2px; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: #b3b3b3; box-shadow: 0 0 20px #fff; transition: transform .25s ease, background-color .25s ease; }
.zb-switch[aria-checked="true"] { background: #0040ff; box-shadow: none; }
.zb-switch[aria-checked="true"] .zb-knob { transform: translateX(34px); background: #fff; }
.zb-save { margin-left: -5px; padding: 2px 6px; border-radius: 6px; background: #ebebeb; color: #6b6b6b; font-size: 11px; line-height: 16.5px; letter-spacing: .22px; transition: background-color .25s ease, color .25s ease; }
.zb-save strong { font-weight: 700; }
.is-annual .zb-save { background: #0e6b47; color: #fff; }

.zb-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; font-family: var(--font-inter); text-align: center; }
.zb-table th, .zb-table td { border: 1px solid #d9d9d9; vertical-align: middle; text-align: center; font-weight: 400; }
.zb-table thead th { height: 101px; padding: 0 30px; font-weight: 700; font-size: 24px; line-height: 21px; letter-spacing: -1px; color: #0e6b47; }
.zb-table tbody th, .zb-table tbody td { height: 184px; padding: 0 30px; }
.zb-plan { display: block; font-weight: 600; font-size: 24px; line-height: 21px; letter-spacing: -1px; color: #303030; }
.zb-plan-desc { display: block; width: 217px; margin: 40px auto 0; font-weight: 400; font-size: 14px; line-height: 21px; letter-spacing: -0.76px; color: #525252; }
.zb-plan-desc--207 { width: 207px; }
.zb-plan-desc--209 { width: 209px; }
.zb-price { display: flex; align-items: center; justify-content: center; gap: 10px; color: #303030; }
.zb-cur { font-weight: 500; font-size: 14px; line-height: 21px; letter-spacing: -1px; }
.zb-num { font-weight: 500; font-size: 46px; line-height: 35px; letter-spacing: -1px; }
.zb-impl .zb-num { line-height: 36px; }
.zb-old { margin-right: 15px; font-weight: 400; font-size: 16px; line-height: 35px; letter-spacing: -1px; color: #8c8c8c; text-decoration: line-through; }
.zb-meta { display: flex; flex-direction: column; gap: 7px; margin-top: 40px; font-weight: 500; font-size: 14px; line-height: 21px; letter-spacing: -0.76px; color: #525252; }
.zb-a { display: none; }
.is-annual .zb-a { display: inline; }
.is-annual .zb-m { display: none; }

.zb-notes { align-self: stretch; text-align: right; font-family: var(--font-inter); font-weight: 500; font-size: 20px; line-height: 35px; letter-spacing: -1px; color: #535353; }
.zb-notes li { position: relative; padding-left: 25.8px; }
.zb-notes li::before { content: "\2022"; position: absolute; left: 0; top: 0; font-size: 16px; color: #000; }

/* ---------- Add ons ---------- */
.zb-addons-section { padding: 75px 50px 100px; display: flex; justify-content: center; }
.zb-addons { width: 100%; max-width: 1200px; padding: 29px 19px; border: 1px solid #d6d6d6; border-radius: 40px; background: linear-gradient(rgba(2, 191, 128, .1) 0%, rgba(0, 137, 90, 0) 31.91%, rgba(0, 86, 57, 0) 100%); }
.zb-addons-head { display: flex; align-items: center; gap: 40px; min-height: 112px; }
.zb-addons-icon { width: 94px; height: 88px; flex: none; color: #000; }
.zb-addons-head > div { display: flex; flex-direction: column; gap: 10px; }
.zb-addons-head h2 { font-family: var(--font-inter); font-weight: 700; font-size: 56px; line-height: 72px; letter-spacing: -1px; color: #000; }
.zb-addons-head p { font-family: var(--font-inter); font-weight: 500; font-size: 20px; line-height: 30px; letter-spacing: -1px; color: #808080; }
.zb-addons-list { display: flex; margin-top: 50px; padding-left: 30px; }
.zb-addons-list ul { width: 565px; display: flex; flex-direction: column; gap: 30px; }
.zb-addons-list li { display: flex; align-items: center; gap: 16px; max-width: 293px; font-family: var(--font-inter); font-weight: 500; font-size: 16px; line-height: 19.2px; color: #000; }
.zb-addons-list svg { width: 24px; height: 24px; flex: none; fill: none; stroke: #009e5a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Final CTA ---------- */
.zb-final { padding: 50px 50px 100px; display: flex; flex-direction: column; align-items: center; gap: 51px; text-align: center; }
.zb-final-copy { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.zb-final-copy h2 { font-family: var(--font-inter); font-weight: 700; font-size: 42px; line-height: 63px; color: #000; }
.zb-final-copy p { max-width: 632px; font-family: var(--font-inter); font-weight: 400; font-size: 18px; line-height: 27px; color: #3c4350; }
.zb-final-actions { display: flex; justify-content: center; gap: 18px; }

/* ---------- Tablet + phone (Framer reference: 900px and 390px) ---------- */
@media (max-width: 1199px) {
  .zb-btn--green { line-height: 52px; }

  .zb-hero { min-height: 1412px; padding: 60px 50px 0; }
  .zb-hero-copy { gap: 21px; }
  .zb-hero-cta p { font-size: 18px; }
  .zb-hero-shots { gap: 18px; }
  .zc-books img.zb-shot-main { width: 420px; }
  .zc-books img.zb-shot-side { width: 263px; }

  /* Services: two columns in reading order (desktop fills its 3x2 grid column by column). */
  .zb-services { padding: 75px 50px; }
  .zb-services .zb-h2 { font-size: 42px; line-height: 65px; }
  .zb-services .zb-sub { max-width: 584px; font-size: 18px; line-height: 30px; }
  .zb-cards { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 325px; grid-auto-flow: row; }
  .zb-card:nth-child(2) { order: 4; }
  .zb-card:nth-child(3) { order: 2; }
  .zb-card:nth-child(4) { order: 5; }
  .zb-card:nth-child(5) { order: 3; }
  .zb-card:nth-child(6) { order: 6; }

  .zb-demo { min-height: 0; padding: 75px 50px; }
  .zb-demo .zb-h2 { font-size: 42px; line-height: 72px; }

  .zb-solutions .zb-head { gap: 15px; }
  .zb-solutions .zb-h2 { font-size: 42px; line-height: 72px; }
  .zb-solutions .zb-sub { max-width: 559px; font-size: 18px; line-height: 25px; }
  .zb-dash-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .zb-dash { height: auto; padding-bottom: 0; }
  /* screenshot stays 190px wider than its slot, centred 175px down the 365px window */
  .zc-books .zb-dash-shot img { top: 175.19px; width: calc(100% + 190px); height: auto; aspect-ratio: 738 / 332; transform: translateY(-50%); }

  /* Pricing: the table becomes one card per plan (header bar + body with a green cost box). */
  .zb-pricing { padding: 75px 50px; }
  .zb-price-wrap { max-width: none; }
  .zb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .zb-table, .zb-table tbody, .zb-table tr, .zb-table th, .zb-table td { display: block; width: 100%; }
  .zb-table { background: transparent; }
  .zb-table tbody { display: flex; flex-direction: column; gap: 50px; }
  .zb-table tbody tr { padding-bottom: 49px; border: 1px solid #d9d9d9; border-radius: 20px 20px 0 0; background: #fff; }
  .zb-table tbody th, .zb-table tbody td { height: auto; padding: 0 30px; border: 0; }
  .zb-plan { margin: 0 -30px; padding: 19px 0 18px; border-bottom: 2px solid #d9d9d9; font-size: 32px; line-height: 30px; color: #0e6b47; }
  .zb-plan-desc, .zb-plan-desc--207, .zb-plan-desc--209 { width: auto; margin: 50px 0 0; font-size: 20px; line-height: 24px; letter-spacing: normal; color: #000; }
  .zb-table td.zb-lic { padding-top: 30px; }
  .zb-meta { margin-top: 20px; }
  .zb-table td.zb-impl { width: auto; margin: 30px 30px 0; padding: 12px 0; border-radius: 12px; background: #0c6b47; }
  .zb-impl::before { content: attr(data-label); display: block; margin-bottom: 13px; font-size: 16px; line-height: 25px; letter-spacing: -0.76px; color: #fff; }
  .zb-impl .zb-price { color: #fff; }
  .zb-impl .zb-num { line-height: 40px; letter-spacing: -0.76px; }
  .zb-impl .zb-cur { font-weight: 400; font-size: 12px; line-height: 14.4px; letter-spacing: normal; }
  .zb-notes { text-align: center; }
  .zb-notes li { padding-left: 0; }
  .zb-notes li::before { content: none; }

  .zb-addons-section { padding: 100px 50px; }
  .zb-addons-head { min-height: 0; }
  .zb-addons-head p { font-size: 18px; line-height: 25px; }
  .zb-addons-list ul { width: 50%; }
}

/* ---------- Phone ---------- */
@media (max-width: 809px) {
  .zb-hero { min-height: 0; padding: 160px 24px 100px; }
  .zb-hero-copy { gap: 23px; }
  .zb-hero-head { gap: 50px; }
  .zc-books img.zb-hero-logo { margin-top: 0; }
  .zb-hero-title { max-width: 330px; padding-bottom: 0; font-size: 32px; line-height: 45px; }
  .zb-effortless { margin-left: -4px; padding: 2.2px; font-size: 38px; line-height: 45px; }
  .zb-hero-cta { gap: 26px; }
  .zb-hero-cta p { font-size: 14px; line-height: 20px; }
  .zb-hero-cta .zb-btn { width: 130px; height: 41px; border-radius: 22px; font-size: 12px; line-height: 35.33px; letter-spacing: -0.35px; }
  .zb-hero-shots { flex-direction: column; align-items: center; gap: 30px; width: 100%; }
  .zc-books img.zb-shot-main { width: 100%; }
  .zc-books img.zb-shot-side { width: 363px; max-width: calc(100vw - 16px); }

  .zb-services { padding: 75px 24px; gap: 50px; }
  .zb-services .zb-head { gap: 10px; }
  .zb-services .zb-h2 { font-size: 28px; line-height: 40px; }
  .zb-services .zb-sub { font-size: 14px; line-height: 25px; }
  .zb-cards { grid-template-columns: minmax(0, 1fr); }

  .zb-demo { padding: 71px 24px; }
  .zb-demo .zb-h2 { font-size: 36px; line-height: 45px; }
  .zb-demo-copy { gap: 30px; }
  .zb-demo .zb-btn { width: 146px; height: 46px; border-width: 3px; border-radius: 24px; font-size: 14px; line-height: 21px; }

  .zb-solutions { padding: 75px 24px 100px; }
  .zb-solutions .zb-head { gap: 20px; }
  .zb-solutions .zb-h2 { font-size: 28px; line-height: 45px; }
  .zb-solutions .zb-sub { font-size: 14px; line-height: 25px; }
  .zb-dash-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }

  .zb-pricing { padding: 50px 24px 75px; }
  .zb-pricing .zb-head { gap: 0; }
  .zb-pricing .zb-h2 { font-size: 28px; line-height: 45px; }
  .zb-pricing .zb-sub { font-size: 14px; line-height: 35px; }
  .zb-notes { text-align: left; }

  .zb-addons-section { padding: 75px 24px; }
  .zb-addons { padding: 29px 0; }
  .zb-addons-icon { display: none; }
  .zb-addons-head > div { gap: 0; align-items: center; width: 100%; text-align: center; }
  .zb-addons-head h2 { font-size: 28px; line-height: 45px; }
  .zb-addons-head p { font-size: 14px; line-height: 30px; }
  .zb-addons-list { flex-direction: column; gap: 30px; padding-left: 25px; }
  .zb-addons-list ul { width: 100%; }

  .zb-final { padding: 75px 24px; gap: 38px; }
  .zb-final-copy { gap: 28px; }
  .zb-final-copy h2 { font-size: 36px; line-height: 45px; letter-spacing: -1px; }
  .zb-final-copy p { font-size: 14px; line-height: 25px; letter-spacing: -1px; }
  .zb-final-actions { flex-direction: column; width: 100%; }
  .zb-final-actions .zb-btn { width: 100%; }
}
