/* Pure white chapter backgrounds requested for these homepage sections. */
#main > :is(#product-demos, #template-library, #moving-to-webnewbiz, #connected-tools, #business-stack, #questions),
#main > .crm-story { background: #fff; }

/* A shared editorial rhythm for the complete homepage. */
body:has(.page-explore) {
  --polish-ink: #28262d;
  --polish-muted: #595361;
  --polish-line: #65587924;
}
#main { --chapter-title: clamp(34px, 3.6vw, 54px); }
#main :is(.library-intro, .wx-heading, .bs-heading, .section-top, .section-heading) h2 {
  line-height: 1.08;
  letter-spacing: -.045em;
}
#main .chapter-description {
  max-width: 52ch;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--polish-muted);
  text-wrap: pretty;
}
#main :is(.section-description, .pricing-intro p, .guide-body p, .preview-caption p) { text-wrap: pretty; }
#main :is(.pd-kicker, .library-label, .wx-heading .eyebrow, .bs-kicker) { font-size: 11px; letter-spacing: .12em; }
#home .cg-header { border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
#home .cg-intro-note { font-size: 13px; line-height: 1.65; }
#home .cg-footer-note p { font-size: 13px; line-height: 1.7; }
#home .cg-main-cta { min-height: 44px; font-size: 14px; }
#home .cg-summary { margin: 17px auto 0; max-width: 40em; font-size: 16px; line-height: 1.5; color: var(--cg-ink); opacity: .82; }

/* A quick route through a long page, without covering the scroll artwork. */
.page-explore {
  padding: 22px max(32px, calc((100% - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fffdf8;
  border-block: 1px solid var(--polish-line);
}
.page-explore > span { color: #716578; font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.page-explore-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.page-explore a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 0; color: #353039; font-weight: 600; font-size: 14px; text-decoration: none; }
.page-explore a small { font-size: 10px; color: #8a7897; }
.page-explore a:hover { text-decoration: underline; text-underline-offset: 5px; }
.page-explore a:focus-visible { outline: 2px solid #77548e; outline-offset: 4px; border-radius: 3px; }

#product-demos .pd-layout { gap: clamp(32px, 5vw, 72px); }
#product-demos .pd-heading h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.12; letter-spacing: -.04em; }
#product-demos :is(.pd-summary, .pd-description) { color: #5a5562; }
#template-library .library-intro { align-items: center; }
#template-library .library-switcher { margin-top: 32px; }
#template-library .preview-picker { padding: 18px 12px 16px; border: 1px solid #ffffffa6; border-radius: 20px; background: #faf8fd6b; }
#template-library .preview-picker-label { padding-inline: 10px; font-size: 10px; }
#template-library .preview-tabs { max-height: 560px; padding-right: 5px; }
#template-library .preview-tabs button { font-size: 16px; min-height: 48px; padding: 12px; letter-spacing: -.02em; }
#template-library .preview-tabs button[aria-selected="true"] { background: #332d3b; color: #fff; border-radius: 10px; }
#template-library .preview-tabs button:hover:not([aria-selected="true"]) { background: #ffffff80; border-radius: 10px; }
#template-library .product-preview-mat { box-shadow: 0 15px 35px -28px #4c365c66; }
#template-library :is(.preview-kind, .preview-how > p) { color: #665b6e; font-size: 12px; }
#template-library .preview-caption { padding-top: 24px; }
#template-library .preview-caption h3 { line-height: 1.15; }
#template-library .preview-related { row-gap: 15px; }
#moving-to-webnewbiz .move-guide-intro h2 { font-size: clamp(42px, 4.5vw, 64px); }
#moving-to-webnewbiz .move-guide-links a { padding-block: 20px; }
#grow-story .grow-note, #grow-story .journey-text p { line-height: 1.6; }

/* The primary workspace previews keep their strong colour; shortcuts are quieter. */
#connected-tools .wx-heading { align-items: center; margin-bottom: 32px; }
#connected-tools .wx-shortcuts { gap: 14px; }
#connected-tools .wx-shortcut {
  --shortcut-ink: #513b2d;
  background: #f7e4d4;
  border: 1px solid #dec9b6;
  box-shadow: 0 8px 18px -16px #392c3755, inset 0 1px #fff9;
  padding: 22px;
}
#connected-tools .wx-shortcut:nth-child(2) { --shortcut-ink: #304d3b; background: #e0ebdf; border-color: #c0d4be; }
#connected-tools .wx-shortcut:nth-child(3) { --shortcut-ink: #4b3e61; background: #e9e0f2; border-color: #d3c4e1; }
#connected-tools .wx-shortcut:nth-child(4) { --shortcut-ink: #2b4a5d; background: #deebf2; border-color: #bfd4e1; }
#connected-tools .wx-shortcut :is(strong, .wx-shortcut-copy > span, .wx-arrow) { color: var(--shortcut-ink) !important; }
#connected-tools .wx-shortcut-copy > span { font-size: 14px; line-height: 1.5; }
#connected-tools .wx-crm, #connected-tools .wx-brand { box-shadow: 0 16px 32px -24px #273c3866; }

/* A readable service index, with its introduction alongside the choices. */
@media (min-width: 1000px) {
  #main > #services { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 0 clamp(40px,5vw,76px); align-items: start; }
  #services .section-top { position: sticky; top: 36px; }
  #services .section-top h2 { max-width: 8em; }
  #services .dashboard-guide { grid-column: 2; grid-row: 1 / span 2; width: 100%; }
  #services .guide-browse { grid-column: 2; justify-self: start; margin-left: 0; }
}
#services .section-description { font-size: 16px; line-height: 1.7; }
#services .section-top { text-align: left; }
#services .dashboard-guide { border-top: 0; }
#services .dashboard-guide details { margin-bottom: 10px; border: 1px solid #bccddc; border-radius: 16px; background: #f8fbfd80; }
#services .dashboard-guide details[open] { background: #ffffffd4; border-color: #b5c8da; box-shadow: 0 12px 24px -23px #2e4569; }
#services .dashboard-guide summary { padding: 21px 23px; font-size: 21px; line-height: 1.25; }
#services .guide-body { display: block; padding: 0 23px 24px; }
#services .guide-body h3 { font-size: 17px; line-height: 1.35; }
#services .guide-body p { font-size: 15px; }
#services .guide-body ul { margin-top: 18px; gap: 8px 18px; }
#services .guide-body a { font-size: 14px; line-height: 1.4; text-decoration-color: #a494b5; }
#business-stack .bs-heading { margin-bottom: 38px; }
#business-stack .bs-heading h2 { max-width: 11em; }
#business-stack .bs-heading > p { max-width: 34ch; font-size: 16px; }
#testimonials .ts-heading > p { line-height: 1.6; }
#main > .included { font-size: 13px; padding-block: 27px; }
#main > .included > span { font-weight: 650; }

/* All four monthly plans are visible together; filters remain optional. */
#pricing .section-heading { align-items: end; margin-bottom: 34px; gap: 30px; }
#pricing .pricing-intro { max-width: 440px; }
#pricing .plan-switch { width: fit-content; max-width: 100%; margin-top: 18px; }
#pricing .plan-switch button { min-height: 40px; padding: 9px 15px; font-size: 13px; }
#pricing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: stretch; }
@media (min-width: 1120px) { #pricing-grid[data-plan-view="all"] { grid-template-columns: repeat(4,minmax(0,1fr)); } }
#pricing .price-card { padding: 27px 22px; border-radius: 22px; border: 1px solid #d5ccdf; background: #fffdfefa; box-shadow: 0 12px 28px -22px #46344c44; }
#pricing .price-card.popular { background: linear-gradient(145deg,#3d354b,#25212e); color: #fcf9ff; border-color: #675675; }
#pricing .plan-name { font-size: 24px; line-height: 1.25; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#pricing .popular-label { font-size: 10px; letter-spacing: .01em; white-space: nowrap; padding: 5px 9px; border-radius: 20px; color: #e9d9ff; background: #ffffff14; }
#pricing .price-card > p { color: #635c6b; min-height: 48px; font-size: 14px; line-height: 1.55; }
#pricing .price { font-size: 50px; letter-spacing: -.05em; line-height: 1.15; margin-top: 20px; }
#pricing .price > span { color: #6c6474; font-size: 13px; letter-spacing: 0; }
#pricing .price-card .offer { font-size: 12px; color: #65586f; margin: 10px 0 23px; }
#pricing .price-card .button { font-size: 13px; padding-inline: 13px; gap: 12px; min-height: 44px; }
#pricing .price-card .includes { border-top: 1px solid #dfd7e6; padding-top: 20px; margin: 24px 0 14px; min-height: 0; color: #716479; font-size: 10px; letter-spacing: .06em; }
#pricing .price-card ul { font-size: 13px; line-height: 1.55; display: grid; gap: 12px; color: #4f4858; }
#pricing .price-card li { display: flex; align-items: baseline; }
#pricing .price-card li::before { flex: none; }
#pricing .price-card.popular :is(p,.offer,.price > span,ul) { color: #e0d7e9; }
#pricing .price-card.popular .includes { border-color: #64556f; color: #cbb9dc; }
#pricing .price-footnote { font-size: 12px; line-height: 1.6; color: #64566f; }

#questions .faq-list details { border: 1px solid #ddd7df; background: #fff; border-radius: 16px; box-shadow: 0 3px 9px -7px #342c4140; margin-bottom: 12px; }
#questions .faq-list summary { padding: 22px 24px; font-size: 17px; font-weight: 600; }
#questions .faq-list details[open] { background: #f4effa; border-color: #d5c6e2; }
#questions .faq-list details p { color: #5e5367; font-size: 15px; line-height: 1.7; padding: 0 24px 24px; }
#questions .text-link { color: #51396b; font-weight: 600; }
#start .launch-copy h2 { font-size: clamp(42px,5vw,72px); line-height: 1.02; }
#start .launch-copy p { color: #dcd4e5; font-size: 16px; line-height: 1.65; }
body:has(.page-explore) > .footer {
  width: 100%; max-width: none; margin: 0; padding: 64px max(32px,calc((100% - 1200px) / 2)) 0;
  color: #ede8f3; background: #29242f; border: 0;
}
body:has(.page-explore) > .footer .brand-artwork img { filter: brightness(0) invert(1); }
body:has(.page-explore) > .footer :is(.footer-column,.footer-link,.footer-main p) { color: #c7bdcf; font-size: 14px; }
body:has(.page-explore) > .footer .footer-column > span { color: #fff9ff; font-size: 13px; letter-spacing: .06em; }
body:has(.page-explore) > .footer .footer-column a:hover { color: white; }
body:has(.page-explore) > .footer .footer-bottom { border-color: #514657; color: #b8acbf; font-size: 12px; }

@media (max-width: 760px) {
  .page-explore { display: block; padding: 20px 22px; }
  .page-explore-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 13px; margin-top: 10px; }
  .page-explore a { font-size: 13px; gap: 7px; min-height: 42px; }
  #main .chapter-description { font-size: 15px; margin-top: 12px; }
  #home .cg-summary { max-width: 28ch; font-size: 14px; margin-top: 14px; }
  #template-library .library-intro { align-items: start; }
  #template-library .preview-picker { padding: 0; border: 0; background: none; }
  #template-library .preview-picker-label { padding-inline: 0; }
  #template-library .preview-caption { padding-top: 18px; }
  #connected-tools .wx-heading { gap: 20px; }
  #connected-tools .wx-shortcut { padding: 18px 14px; }
  #connected-tools .wx-shortcut-copy > span { font-size: 13px; }
  #services .dashboard-guide summary { padding: 19px 17px; font-size: 19px; }
  #services .guide-body { padding: 0 17px 20px; }
  #services .guide-body ul { gap: 8px 12px; }
  #business-stack .bs-heading > p { font-size: 14px; }
  #pricing .section-heading { align-items: start; }
  #pricing .plan-switch button { padding-inline: 11px; font-size: 12px; }
  #pricing .price-card > p { min-height: 0; }
  #questions .faq-list summary { padding: 19px 18px; font-size: 16px; }
  #questions .faq-list details p { padding: 0 18px 21px; }
  body:has(.page-explore) > .footer { padding: 45px 22px 0; }
}
@media (max-width: 570px) { #pricing-grid { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: no-preference) and (hover:hover) {
  #services .dashboard-guide details, #questions .faq-list details { transition: background .2s, border-color .2s; }
  #pricing .price-card { transition: transform .22s ease, box-shadow .22s ease; }
  #pricing .price-card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -20px #46344c44; }
}
