/* Design audit: intentional section rhythm, concise navigation and stronger proof. */
.header-v2 .header-actions { gap: 10px; }
.header-v2 .signin { align-items: center; justify-content: center; min-height: 36px; padding: 9px 17px; border-radius: 999px; background: #eee7fa; color: var(--purple); font-size: 13px; white-space: nowrap; }
.header-v2 .signin:hover { background: #e4d8f6; }
.header-v2 .language-switcher-compact { position: relative; margin-inline-end: 8px; padding-inline-end: 18px; gap: 2px; }
.header-v2 .language-switcher-compact::after { content: ""; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 22px; background: #ded9e5; }
.header-v2 .language-switcher-compact a { width: 34px; min-height: 36px; padding: 5px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.header-v2 .language-switcher-compact a:hover,
.header-v2 .language-switcher-compact a[aria-current="true"] { color: var(--purple); background: transparent; }
.header-v2 .nav-trigger > svg { transition: transform 150ms ease; }
.header-v2 .nav-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.header-v2 .mega-menu:not([hidden]) { transform-origin: top center; animation: menu-reveal 180ms ease-out both; }
.header-v2 .mega-menu:not([hidden]) .menu-section { animation: menu-content-reveal 200ms ease-out both; }
.header-v2 .mega-menu:not([hidden]) .menu-section:nth-child(2) { animation-delay: 25ms; }
.header-v2 .mega-menu:not([hidden]) .menu-section:nth-child(3) { animation-delay: 45ms; }
.header-v2 .menu-link { transition: background-color 140ms ease, color 140ms ease; }
.header-v2 .menu-link > svg { transition: transform 140ms ease; }
.header-v2 .menu-link:hover > svg { transform: translate(2px,-2px); }
@keyframes menu-reveal { from { opacity: 0; transform: translateY(-5px) scale(.992); } to { opacity: 1; transform: none; } }
@keyframes menu-content-reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.home-trust-band { padding-bottom: 56px; background: #f7f6fa; border-block: 1px solid #eae6ef; }
.home-trust-band .customers-strip { padding-block: clamp(28px,3vw,40px) clamp(44px,5vw,72px); }
.customer-strip-heading { position: relative; text-align: center; margin-bottom: 24px; padding-inline: 40px; }
.customer-strip-heading > p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.customer-logos-motion { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.customer-logos-motion:hover { background: #00000008; color: var(--ink); }
.customer-logos-motion:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.customers-strip .customer-logos { --logos-visible: 5; --logo-gap: 36px; --logo-height: 54px; --logo-scale: 1.25; display: block; min-height: calc(var(--logo-height) + 12px); overflow: hidden; }
.customer-logo-track { display: grid; mix-blend-mode: multiply; min-height: calc(var(--logo-height) + 12px); grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--logos-visible) - 1) * var(--logo-gap)) / var(--logos-visible)); gap: var(--logo-gap); width: 100%; transform: translateX(calc(var(--logo-position) * -1 * (100% + var(--logo-gap)) / var(--logos-visible))); }
.customer-logo-track[data-sliding="true"] { transition: transform 450ms cubic-bezier(.22,.61,.36,1); }
.customer-logo-slot { display: grid; place-items: center; min-width: 0; }
.customers-strip .customer-logos .customer-logo img { display: block; width: 100%; max-width: 100%; height: var(--logo-height); max-height: var(--logo-height); opacity: 1; filter: none; }
.customer-logo { width: min(100%, calc(var(--logo-width) * var(--logo-scale))); height: var(--logo-height); display: grid; place-items: center; min-width: 0; }
/* The padded PNG originals use 3:2 canvases; convert the ink-height cap to an image width. */
.customer-logo-cropped { --crop-image-aspect: 1.5; position: relative; overflow: hidden; }
.customers-strip .customer-logos .customer-logo-cropped img { position: absolute; left: 50%; top: 50%; width: min(var(--crop-width),calc(var(--crop-height-scale) * var(--logo-height) * var(--crop-image-aspect))); max-width: none; height: auto; max-height: none; transform: translate(var(--crop-x),var(--crop-y)); }
.trust-proof-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; gap: 20px; }
.home-page .early-proof { display: grid; grid-template-columns: 55px minmax(0,1fr); align-items: start; gap: 16px 23px; padding: 28px; background: #fff; border: 1px solid #eae6ef; border-radius: 22px; }
.home-page .early-proof > img:first-child { display: block; width: 55px; height: auto; margin: 4px 0 0; grid-column: 1; }
.home-page .early-proof blockquote { grid-column: 2; font-size: 18px; line-height: 1.45; font-weight: 500; margin: 0; }
.home-page .early-proof .proof-attribution { display: flex; align-items: center; gap: 12px; grid-column: 2; min-width: 0; }
.home-page .early-proof .proof-portrait { width: 38px; height: 38px; flex-shrink: 0; }
.home-page .early-proof p { margin: 0; font-size: 13px; line-height: 1.5; }
.home-page .early-proof p span { display: block; font-size: 12px; }
.home-page .early-proof > a { grid-column: 2; font-size: 13px; margin: 0; width: fit-content; }
.trust-g2 { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 28px 22px; background: #fff; border: 1px solid #eae6ef; border-radius: 22px; }
.trust-g2-badges { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); width: 100%; max-width: 520px; }
.trust-g2-badges img { display: block; width: 100%; max-width: 100%; height: auto; }
.trust-g2 > span { font-size: 12px; color: var(--muted); }
.trust-g2 strong { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--purple); }
.trust-g2:hover { border-color: #c6b4df; }

.home-page .home-connected { padding-block: 72px; }
.home-page .new-workflows { margin-top: 0; background: #faf5ef; border-block: 1px solid #ece3d8; }
/* Give large headings and card groups room without changing the section scale. */
.home-page :is(.new-workflows, .new-stories) .new-section-heading { margin-bottom: 52px; }
.home-page .recipient-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.home-page .home-proof-cards { gap: 28px; }
.home-page .recipient-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee7df; border-radius: 24px; }
.home-page .recipient-image { margin: 0; overflow: hidden; display: block; aspect-ratio: 16/10; }
.home-page .recipient-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.home-page .recipient-creative .recipient-image { background: #e9e9f1; padding: 18px 18px 0; }
.home-page .recipient-creative .recipient-image img { aspect-ratio: auto; object-fit: cover; border-radius: 12px 12px 0 0; }
.home-page .recipient-copy { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.home-page .recipient-copy h3 { font-size: 26px; line-height: 1.16; letter-spacing: -.025em; text-wrap: balance; margin: 0; }
.home-page .recipient-copy .home-heading-break { display: none; }
.home-page .recipient-copy p { font-size: 16px; line-height: 1.55; margin: 17px 0 22px; }
.home-page .recipient-copy .text-link { margin-top: auto; font-size: 14px; }
.home-page .recipient-label { font-size: 12px; margin-bottom: 12px; }

/* A flat, localized Office illustration that stays legible at card size. */
.powerpoint-preview { display: block; width: 100%; height: auto; }
.home-page .recipient-powerpoint { display: grid; place-items: center; border: 0; background: #eeeae5; }
.home-page .recipient-powerpoint .powerpoint-preview { height: 100%; }
.buyer-microsoft .buyer-powerpoint-preview { max-width: 850px; margin-inline: auto; background: #eeeae5; }

.home-page .home-microsoft { position: relative; isolation: isolate; overflow: hidden; background: #111c39; color: #fff; }
.home-microsoft > .container { position: relative; z-index: 1; }
.microsoft-color-halo { position: absolute; z-index: 0; width: 510px; height: 510px; top: -70px; right: 7%; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; transform: rotate(-12deg); filter: blur(60px); opacity: .47; pointer-events: none; }
.microsoft-color-halo i:nth-child(1) { background: #f25022; }.microsoft-color-halo i:nth-child(2) { background: #7fba00; }.microsoft-color-halo i:nth-child(3) { background: #00a4ef; }.microsoft-color-halo i:nth-child(4) { background: #ffb900; }
.home-microsoft .microsoft-partner-copy .eyebrow { color: #fff; }
.home-microsoft .microsoft-partner-copy h2 { color: #fff; }
.home-microsoft .microsoft-partner-copy h2 span { color: #fff; }
.home-microsoft .microsoft-partner-copy > p { color: #fff; }
.home-microsoft .microsoft-partner-signature { background: #ffffffed; box-shadow: 0 24px 60px #02081e38; border: 1px solid #fff; }
.home-page .microsoft-partner-foundations { margin-top: 52px; gap: 24px; }
.home-page .microsoft-partner-footer { margin-top: 40px; }
.home-microsoft .microsoft-partner-foundations article { background: #ffffff0d; border: 1px solid #ffffff24; backdrop-filter: blur(20px); }
.home-microsoft .microsoft-partner-foundations h3 { color: #fff; }
.home-microsoft .microsoft-partner-foundations h3 svg { color: #fff; }
.home-microsoft .microsoft-partner-foundations p, .home-microsoft .microsoft-partner-footer > p { color: #fff; }
.home-microsoft .microsoft-partner-footer .text-link { color: #fff; }
.home-microsoft .microsoft-partner-footer > p svg { color: #fff; }
.home-proof-brand { height: 54px; margin-bottom: 24px; }
.home-proof-brand img { width: auto; max-width: 130px; height: 42px; }
.home-proof-payex { background: #eff9f1; border: 1px solid #d7eedd; }
.home-proof-payex :is(h3, .story-action) { color: #19663c; }
.home-proof-ica { background: #fff3f1; border: 1px solid #f3deda; }
.home-proof-ica :is(h3, .story-action) { color: #ad2923; }
.home-proof-haglofs { background: #f0f2ee; border: 1px solid #dde3d9; }
.home-proof-haglofs :is(h3, .story-action) { color: #343f31; }
.home-proof-haglofs .home-proof-brand img { height: 78px; width: 120px; }
.home-proof-ica .home-proof-brand img { height: 32px; }

.home-analytics { background: #eef5f8; border-top: 1px solid #e1ebef; }
.home-analytics > .container { grid-template-columns: .95fr 1.05fr; gap: 64px; }
.home-analytics-preview { margin: 0; min-width: 0; padding: 20px; border-radius: 26px; background: #ffffffc9; border: 1px solid #fff; box-shadow: 0 25px 55px -35px #25465d70; transform: rotate(-2deg); }
.analytics-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 4px 18px; color: #687889; font-size: 12px; }
.analytics-preview-dots { display: flex; gap: 5px; }.analytics-preview-dots i { width: 5px; height: 5px; border-radius: 50%; background: #bac7d2; }
.home-analytics .activity-card { padding: 19px 16px 12px; border: 1px solid #e5ebf0; border-radius: 16px; background: #fff; gap: 18px; --chart-color: #7e57c2; }
.home-analytics .activity-card-1 { --chart-color: #318d89; }.home-analytics .activity-card-2 { --chart-color: #4b7ede; }.home-analytics .activity-card-3 { --chart-color: #ae66a3; }
.activity-card-heading { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.home-analytics .activity-card-heading svg { color: var(--chart-color); flex-shrink: 0; }
.activity-line-chart { width: 100%; height: 92px; overflow: visible; }
.activity-chart-grid { fill: none; stroke: #ecedf3; stroke-width: 1; }
.activity-chart-area { fill: var(--chart-color); opacity: .08; }
.activity-chart-line { fill: none; stroke: var(--chart-color); stroke-width: 3; stroke-linecap: round; }
.activity-bar-chart { height: 92px; display: flex; align-items: end; gap: 7px; padding: 0 3px 2px; border-bottom: 1px solid #e8edf4; }
.activity-bar-chart i { flex: 1; border-radius: 4px 4px 0 0; background: var(--chart-color); opacity: .7; }
.activity-bar-chart i:nth-child(3n) { opacity: .35; }
.activity-heatmap { height: 92px; display: grid; grid-template-columns: repeat(8,1fr); gap: 4px; }
.activity-heatmap i { background: var(--chart-color); border-radius: 3px; }
.home-page .new-start { background: #faf8fc; border-bottom: 1px solid #eae6ef; }
.home-page .new-start h2 { max-width: 720px; }

/* Shared page pacing: keep quiet chapters visibly separate. */
.destination-page .feature-chapters, .platform-feature-index { border-top: 1px solid #eae7ef; padding-block: 72px; }
.feature-chapters-heading { margin-bottom: 48px; }
.feature-chapters-heading > .eyebrow { display: none; }
.destination-proof { padding-block: 64px; border-bottom: 1px solid #eae7ef; }
.destination-faq { padding-block: 64px 40px; }
.destination-related { padding-block: 32px 48px; border-top: 1px solid #eae7ef; }
.destination-faq + .destination-related, .detail-faq + .destination-related { border-top: 0; }
.destination-related > .eyebrow { font-size: 12px; margin-bottom: 16px; }
.destination-related > div { gap: 14px 30px; }
.destination-related .text-link { font-size: 15px; }
.integration-catalogue > section + section { border-top: 1px solid #e8e5ed; }
.integration-catalogue > section { position: relative; }
.destination-archive .destination-hero { grid-template-columns: 1fr; max-width: 950px; padding-block: 48px 52px; }
.destination-archive .destination-hero-copy { max-width: 730px; }
.destination-archive .destination-chapters { max-width: 950px; }
.archive-label { color: var(--muted); font-size: 13px; padding-bottom: 24px; border-bottom: 1px solid #eae7ef; }
.destination-archive .destination-chapter { gap: 48px; padding-block: 38px; border-bottom: 1px solid #eae7ef; }
.destination-archive .destination-chapter h2 { font-size: 25px; line-height: 1.2; }
.destination-archive .destination-chapter-number { display: none; }
.destination-archive .destination-chapter p { font-size: 16px; }
.editorial-section + .editorial-section { border-top: 1px solid #eae7ef; }
.editorial-section:nth-of-type(even) { background: #faf9fc; }
.ai-page > .sphere-intro + .editorial-section { background: #faf9fc; }
.buyer-page .buyer-section { padding-block: 72px; }
.buyer-section + .buyer-section { border-top: 1px solid #eae7ef; }
.buyer-source-summary { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 28px 32px; border: 1px solid #dbe5f5; background: #f1f6fd; border-radius: 22px; }
.buyer-source-summary .buyer-section-heading { margin: 0; max-width: 720px; }
.buyer-source-summary .buyer-section-heading .eyebrow { display: none; }
.buyer-source-summary .buyer-section-heading h2 { font-size: 24px; }
.buyer-source-summary .buyer-section-heading p { margin-top: 12px; font-size: 16px; }
.buyer-faq .buyer-container, .buyer-faq { border-top: 1px solid #eae7ef; }
.buyer-faq > div > .eyebrow, .buyer-faq > div > p { display: none; }
.buyer-microsoft .destination-connection { padding-top: 48px; }
.buyer-microsoft .buyer-microsoft-art { background: radial-gradient(ellipse at 10% 0,#ffe9df,transparent 55%),radial-gradient(ellipse at 90% 100%,#d8edff,transparent 70%),#f4f6ff; }
.destination-actions .button, .detail-page-actions .button, .brand-cta-action .button { font-size: 15px; max-width: 100%; }
.button { overflow-wrap: break-word; }
.button > svg, .text-link > svg { flex-shrink: 0; }

@media (max-width: 1120px) { .header-v2 .signin { display: none; } }
@media (max-width: 1068px) {
 .home-page :is(.new-workflows, .new-stories) .new-section-heading { margin-bottom: 40px; }
 .home-page .recipient-grid, .home-page .home-proof-cards { gap: 24px; }
 /* Switch to rows while longer localized headings still fit comfortably. */
 .home-page .recipient-grid { grid-template-columns: 1fr; }
 .home-page .recipient-card { display: grid; grid-template-columns: .8fr 1fr; }
 .home-page .recipient-image { align-self: stretch; aspect-ratio: auto; }.home-page .recipient-image img { height: 100%; aspect-ratio: auto; }
 .home-page .recipient-creative .recipient-image { padding: 14px 0 14px 14px; }
 .home-page .microsoft-partner-foundations { margin-top: 40px; gap: 20px; }
 .home-page .microsoft-partner-footer { margin-top: 32px; }
 .feature-chapters-heading { margin-bottom: 40px; }
}
@media (max-width: 900px) {
 .trust-proof-grid { grid-template-columns: 1.15fr 1fr; gap: 14px; }
 .home-page .early-proof { padding: 22px; gap: 14px; grid-template-columns: 1fr; }
 .home-page .early-proof > img:first-child, .home-page .early-proof blockquote, .home-page .early-proof .proof-attribution, .home-page .early-proof > a { grid-column: 1; }
 .home-page .recipient-copy { padding: 20px; }
 .home-page .recipient-copy h3 { font-size: 24px; }
 .home-analytics > .container { gap: 36px; }
 .buyer-source-summary { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 1068px) and (min-width: 761px) {
 .customers-strip .customer-logos { --logos-visible: 4; --logo-gap: 28px; }
}
@media (max-width: 760px) {
 .trust-proof-grid { grid-template-columns: 1fr; }
 .customers-strip .customer-logos { --logos-visible: 3; }
 .trust-g2 { padding: 22px; }.trust-g2 > img { max-width: 520px; }
 .home-analytics > .container { grid-template-columns: 1fr; }
 .home-analytics-preview { transform: none; }
 .home-page .home-connected { padding-block: 56px; }
 .destination-page .feature-chapters, .platform-feature-index { padding-block: 52px; }
 .buyer-page .buyer-section { padding-block: 52px; }
 .destination-actions .button, .detail-page-actions .button { font-size: 15px; }
}
@media (min-width: 1121px) and (max-width: 1200px) {
 .header-v2 .navigation { gap: 12px; }
 .header-v2 .language-switcher-compact { margin-inline-end: 0; padding-inline-end: 10px; }
}
@media (max-width: 540px) {
 .header-v2 .header-actions { gap: 7px; }.header-v2 .language-switcher-compact { margin-inline-end: 2px; padding-inline-end: 10px; gap: 0; }
 .header-v2 .language-switcher-compact a { width: 30px; min-width: 30px; }
 .home-trust-band { padding-bottom: 26px; }
 .home-trust-band .customers-strip { padding-block: 22px; }
 .home-page :is(.new-workflows, .new-stories) .new-section-heading { margin-bottom: 26px; }
 .home-page .microsoft-partner-foundations { margin-top: 36px; }
 .feature-chapters-heading { margin-bottom: 36px; }
 .trust-g2-badges { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 300px; }
 .customer-strip-heading > p { font-size: 12px; }
 .customers-strip .customer-logos { --logo-gap: 20px; --logo-height: 44px; --logo-scale: 1.1; }
 .home-page .early-proof { padding: 24px; }.home-page .early-proof blockquote { font-size: 17px; }
 .home-page .recipient-card { display: flex; }.home-page .recipient-image { aspect-ratio: 16/9; }.home-page .recipient-image img { height: 100%; aspect-ratio: auto; }
 .home-page .recipient-copy { padding: 24px; }.home-page .recipient-copy h3 { font-size: 27px; }
 .home-page .recipient-creative .recipient-image { padding: 18px 18px 0; }
 .home-analytics-preview { padding: 14px; }.home-analytics ul { gap: 10px; }
 .home-analytics .activity-card { padding: 15px 11px 11px; gap: 12px; }.activity-card-heading { font-size: 12px; gap: 6px; }
 .activity-card-heading svg { width: 15px; }.activity-line-chart, .activity-bar-chart, .activity-heatmap { height: 75px; }
 .activity-bar-chart { gap: 4px; }.activity-heatmap { gap: 3px; }
 .microsoft-color-halo { right: -130px; top: 20px; width: 420px; height: 420px; opacity: .35; }
 .buyer-source-summary { padding: 24px; }
 .destination-related > div { gap: 16px; }
}
@media (max-width: 359px) {
 .header-v2 .header-actions { gap: 4px; }.header-v2 .language-switcher-compact a { width: 27px; min-width: 27px; }
 .header-v2 .language-switcher-compact { margin-inline-end: 0; padding-inline-end: 7px; }
 .header-v2 .header-cta { padding-inline: 11px; }
 .home-page .early-proof { padding: 20px; }.trust-g2 { padding: 20px 14px; }
 .home-analytics .activity-card { padding-inline: 9px; }.activity-card-heading { align-items: flex-start; }
 .activity-card-heading svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
 .header-v2 .mega-menu:not([hidden]), .header-v2 .mega-menu:not([hidden]) .menu-section { animation: none; }
 .customer-logo-track[data-sliding="true"] { transition: none; }
 .header-v2 .nav-trigger > svg, .header-v2 .menu-link, .header-v2 .menu-link > svg { transition: none; }
}

/* Editorial spacing: keep headings, copy and actions distinct within each block.
   Scope this to content layouts so demos and aligned card actions keep their rhythm. */
:root {
 --content-heading-gap: 20px;
 --content-paragraph-gap: 16px;
 --content-action-gap: 24px;
 --content-item-gap: 40px;
}
:is(.buyer-feature-grid > article, .buyer-editorial-list > article > div,
 .buyer-roadmap > li > div, .buyer-inline-link, .buyer-path-card, .buyer-story,
 .detail-value-grid > article, .detail-steps > article,
 .detail-rollout-list article > div, .demo-agenda-list article > div,
 .destination-steps > li) > h3 {
 margin-bottom: var(--content-heading-gap);
}
:is(.buyer-section-heading, .buyer-cta > div) > h2 {
 margin-bottom: var(--content-action-gap);
}
:is(.buyer-feature-grid > article, .buyer-editorial-list > article > div,
 .buyer-roadmap > li > div, .buyer-inline-link) > p + p {
 margin-top: var(--content-paragraph-gap);
}
:is(.buyer-feature-grid > article, .buyer-editorial-list > article > div,
 .buyer-roadmap > li > div, .buyer-inline-link) > p + .text-link {
 margin-top: var(--content-action-gap);
}
.buyer-editorial-list { gap: var(--content-item-gap); }
.buyer-feature-grid { column-gap: 40px; }
.feature-subtopics { gap: 28px; }
.feature-subtopics h3 { margin-bottom: 14px; }
.home-page .operations-benefits h3 { margin-bottom: 16px; }

@media (max-width: 760px) {
 :root {
  --content-heading-gap: 18px;
  --content-action-gap: 22px;
  --content-item-gap: 32px;
 }
 .feature-subtopics { gap: 24px; }
}
