/* ==========================================================================
   Microsoft 365 — page illustrée (Microsoft365.html + /en/ + /nl-be/, refonte du 2026-10-11)
   Generated markup: scripts/generate-microsoft365.mjs. Design notes: docs/design-microsoft365.md.
   The page shares the homepage grammar (home-v27.css, scope .story-page--v27: paper, display
   typography, chips, cards, bubbles, scenes, pricing, FAQ, final card, film player). This sheet
   only adds what is specific to the page: the paper top bar, the breadcrumb, the Neoo console
   board, the scene layouts and their motion.
   Motion: every animated or initially hidden state lives under html.v27-motion (set by
   home-v27.js only when prefers-reduced-motion is not "reduce"); the markup is the final state.
   ========================================================================== */

.m365-page {
  --m365-topbar-h: 76px;
  overflow-x: hidden;
}

.m365-skip {
  position: absolute;
  left: 18px;
  top: -60px;
  z-index: 200;
  padding: 11px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--cb-ink);
  font-weight: 700;
  text-decoration: none;
}

.m365-skip:focus { top: 16px; }

/* ---------- Top bar on paper (same rhythm as the homepage header) ---------- */

.m365-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--m365-topbar-h);
  color: var(--v27-ink);
  background: rgba(251, 244, 230, .94);
  border-bottom: 1px solid rgba(7, 8, 63, .06);
  transition: background-color .25s ease, box-shadow .25s ease;
}

.m365-topbar__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  height: 100%;
  padding: 0 var(--cb-topbar-pad-x);
}

.m365-brand { text-decoration: none; }

.m365-nav {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 22px;
}

.m365-nav a {
  padding: 12px 2px;
  border-radius: 7px;
  color: var(--v27-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.m365-nav a:hover,
.m365-nav a.is-active,
.m365-login:hover { color: #2f43b8; }

.m365-topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Beats the shared .cb-language-control pill (footer.css, loaded later) to keep the chevron. */
.m365-topbar .m365-lang select {
  -webkit-appearance: none;
  appearance: none;
  width: 74px;
  min-height: 42px;
  padding: 0 28px 0 14px;
  border: 1px solid rgba(7, 8, 63, .2);
  border-radius: 8px;
  color: var(--v27-ink);
  background: rgba(255, 253, 249, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2307083f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 14px 14px no-repeat;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.m365-login {
  color: var(--v27-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.m365-page .m365-topbar__cta {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 9px;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(66, 140, 223, .28);
}

.m365-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(7, 8, 63, .2);
  border-radius: 10px;
  color: var(--v27-ink);
  background: rgba(255, 253, 249, .7);
  cursor: pointer;
}

.m365-menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.m365-topbar a:focus-visible,
.m365-topbar select:focus-visible,
.m365-topbar button:focus-visible,
.m365-skip:focus-visible {
  outline: 3px solid var(--v27-focus);
  outline-offset: 3px;
}

@media (min-width: 1121px) {
  .m365-page { --m365-topbar-h: 100px; }

  /* Transparent over the hero, paper glass once the page scrolls (as on the homepage). */
  .m365-topbar { background: transparent; border-bottom: 0; }

  .m365-topbar.is-scrolled {
    background: rgba(251, 244, 230, .86);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    backdrop-filter: blur(16px) saturate(1.1);
    box-shadow: 0 1px 0 rgba(7, 8, 63, .07);
  }
}

/* ---------- Hero ---------- */

.m365-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--v27-muted);
  font-size: 14px;
  font-weight: 500;
}

.m365-crumbs li { display: flex; align-items: center; gap: 10px; }
.m365-crumbs li + li::before { content: "/"; color: rgba(62, 67, 120, .45); }
.m365-crumbs a { color: var(--v27-ink-soft); text-decoration: none; border-bottom: 1px solid rgba(47, 67, 184, .25); }
.m365-crumbs a:hover { color: #2f43b8; border-bottom-color: currentColor; }
.m365-crumbs [aria-current] { color: var(--v27-ink); }

@media (min-width: 1121px) {
  /* The chip sits on the windows, right of Nadia and above Lisa. */
  .m365-hero .v27-hero__time { left: 69%; top: 16%; }
}

/* Small marks reused in the console and the cards. */
.m365-lic__mark {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 2px;
  padding: 7px;
  border-radius: 9px;
  background: #eef0fb;
}

.m365-lic__mark i { width: 7px; height: 7px; border-radius: 1.5px; background: #567eff; }
.m365-lic__mark i:nth-child(2) { background: #42bbdf; }
.m365-lic__mark i:nth-child(3) { background: #67e0b9; }
.m365-lic__mark i:nth-child(4) { background: #8ea6ff; }

/* 00 Everyday: the homepage Monday layout (tasks on the right and below) keeps Greet's face clear. */

/* ---------- Console board (features) ---------- */

.m365-page .m365-board { aspect-ratio: 1200 / 620; }

.m365-board::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  background: url("/assets/home/home-v27/wash-blue-20261011.webp") center / contain no-repeat;
  opacity: .24;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Centred with the independent translate property: the reveal keyframes animate transform. */
.m365-console {
  position: absolute;
  left: 28%;
  top: 46%;
  translate: 0 -50%;
  z-index: 2;
  width: 44%;
  margin: 0;
  padding: 0 0 6px;
  overflow: hidden;
}

.m365-console__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--v27-line);
  background: #f6f2ea;
  font-size: 13px;
  white-space: nowrap;
}

.m365-console__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d2c4; }
.m365-console__bar b { margin-left: 8px; font-size: 15px; font-weight: 700; letter-spacing: -.04em; }
.m365-console__bar span { font-weight: 600; }
.m365-console__bar small { margin-left: auto; color: var(--v27-muted); font-size: 12px; font-weight: 500; }

.m365-console__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 16px 16px 12px;
}

.m365-console__kpis div {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8f5ef;
}

.m365-console__kpis dt { color: var(--v27-muted); font-size: 12px; font-weight: 500; }

/* KPI values are small display numbers: the homepage display grammar. */
.m365-console__kpis dd {
  margin: 4px 0 0;
  color: var(--v27-ink);
  font-family: var(--cb-display-font);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: var(--cb-display-leading);
  font-variant-numeric: tabular-nums;
}

.m365-console__head,
.m365-console__rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px 56px;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
}

.m365-console__head {
  margin: 0;
  padding-block: 6px;
  color: var(--v27-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.m365-console__rows { margin: 0; padding: 0; list-style: none; }

.m365-console__rows li {
  padding-block: 10px;
  border-top: 1px solid var(--v27-line);
}

.m365-lic { display: flex; align-items: center; gap: 10px; min-width: 0; }
.m365-lic > span:last-child { display: grid; min-width: 0; }
.m365-lic b { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.m365-lic small { overflow: hidden; color: var(--v27-muted); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }

.m365-usage { display: grid; gap: 6px; }
.m365-usage b { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

.m365-usage i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #567eff, #42bbdf) 0 0 / var(--u, 0%) 100% no-repeat, #ece6da;
}

.m365-console__rows em {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  color: #0f3d2a;
  background: #c9f0dd;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.m365-console__activity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 12px 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f6ff;
  font-size: 13px;
  font-weight: 500;
}

.m365-console__activity img { width: 32px; height: 32px; border-radius: 50%; }
.m365-console__activity small { margin-left: auto; color: var(--v27-muted); font-size: 12px; white-space: nowrap; }

.m365-node--a { --n: 0; }
.m365-node--b { --n: 2; }
.m365-node--c { --n: 1; }
.m365-node--d { --n: 3; }

@media (min-width: 761px) {
  .m365-node--a { left: 0; top: 19%; }
  .m365-node--b { left: 0; top: 60%; }
  .m365-node--c { right: 0; top: 17%; }
  .m365-node--d { right: 0; top: 62%; }
}

.m365-board .v27-node { margin: 0; cursor: default; }
.m365-board .v27-node:hover { transform: none; box-shadow: var(--v27-shadow-soft); }
.m365-page .m365-board__team { top: auto; bottom: 2%; }

.m365-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px clamp(20px, 2.6vw, 40px);
  margin: clamp(48px, 5vw, 80px) auto 0;
  padding: 0;
  list-style: none;
}

.m365-benefits li {
  display: grid;
  align-content: start;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(7, 8, 63, .2);
}

.m365-benefits__num {
  grid-row: 1 / span 2;
  color: #3249c7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.6;
}

.m365-benefits h3 { margin: 0; color: var(--v27-ink); font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.m365-benefits p { margin: 6px 0 0; color: var(--v27-muted); font-size: 15px; line-height: 1.5; }

/* ---------- Lifecycle scenes ---------- */

.m365-points { margin-top: 30px; }
.m365-points li { font-size: 17px; }

/* Scene placement (desktop and tablet). Phones keep the stacked flow of the homepage scenes. */
@media (min-width: 761px) {
  /* 01 Joiners (reuses the homepage onboarding card: .v27-scene--automate .v27-flow). */
  .m365-join__art { position: absolute; left: 0; top: 9%; width: 84%; }
  .m365-join__clock { position: absolute; left: 3%; top: 0; z-index: 3; }
  .m365-join__bubble { right: 14%; top: 4%; }
  .m365-join__reply { left: 4%; bottom: 3%; }

  /* 02 Movers */
  .m365-scene--move { aspect-ratio: 760 / 560; }
  .m365-move__art { position: absolute; right: 0; top: 7%; width: 86%; }
  .m365-move__bubble { right: 2%; top: 0; }
  .m365-change { position: absolute; left: 0; bottom: 0; z-index: 2; width: 56%; }

  /* 03 Leavers */
  .m365-leave__art { position: absolute; left: 0; top: 9%; width: 84%; }
  .m365-leave__clock { position: absolute; right: 2%; top: 0; z-index: 3; }
  .m365-leave__bubble { left: 12%; top: 3%; }

  /* 04 Security */
  .m365-scene--protect { aspect-ratio: 760 / 560; }
  .m365-protect__art { position: absolute; right: 0; top: 6%; width: 86%; }
  .m365-protect__bubble { left: 20%; top: 0; }
  .m365-policies { position: absolute; left: 0; bottom: 7%; z-index: 2; width: 52%; }
  .m365-protect__chip { position: absolute; right: 3%; bottom: 24%; z-index: 3; }
}

.m365-scene { position: relative; }
.m365-flow__photo { object-fit: cover; }
.m365-flow__initials { background: linear-gradient(135deg, #8a92b8, #5b6390); }

/* 02 Movers: the role-change card. */
.m365-change { padding: 16px 18px 14px; }

.m365-change__head { display: flex; align-items: center; gap: 12px; margin: 0; }
.m365-change__head img { width: 38px; height: 38px; border-radius: 50%; }
.m365-change__head > span { display: grid; }
.m365-change__head small { color: var(--v27-muted); font-size: 12px; font-weight: 500; }
.m365-change__head b { font-size: 16px; font-weight: 600; }

.m365-change__head em {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  color: #23307e;
  background: #e6ebff;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.m365-change__rows { display: grid; gap: 0; margin: 14px 0 0; }

.m365-change__rows div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--v27-line);
  font-size: 13px;
}

.m365-change__rows dt { color: var(--v27-muted); font-weight: 500; }
.m365-change__rows dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; }
.m365-change__rows s { color: #8c8fa6; text-decoration-color: rgba(216, 67, 47, .7); }
.m365-change__rows b { color: var(--v27-ink); font-weight: 600; }
.m365-change__rows svg { width: 14px; height: 14px; fill: none; stroke: #2f43b8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.m365-change__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--v27-line);
  color: var(--v27-muted);
  font-size: 12.5px;
  font-weight: 500;
}

.m365-change__status b { margin-left: auto; color: var(--v27-ink); font-weight: 700; letter-spacing: -.04em; }

/* 04 Security: Bram and the policies card. */
.m365-policies {
  padding: 14px 16px 10px;
  color: #e6ecfb;
  background: #10173d;
  box-shadow: 0 24px 50px rgba(16, 23, 61, .3);
}

.m365-policies__head { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.m365-policies__head > span:last-child { display: grid; }
.m365-policies__head b { color: #fff; font-size: 15px; font-weight: 700; }
.m365-policies__head small { color: #aeb8d8; font-size: 12px; }

.m365-policies__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--v27-accent-button);
}

.m365-policies__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.m365-policies__rows { margin: 0; padding: 0; list-style: none; }

.m365-policies__rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px;
}

.m365-policies__rows em { color: #9be8c8; font-size: 11.5px; font-style: normal; font-weight: 700; }

.m365-toggle {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: #4fd69c;
}

.m365-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 15px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}

/* ---------- Pricing: three offers ---------- */

.m365-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Motion (only with html.v27-motion) ---------- */

@keyframes m365-grow {
  from { background-size: 0% 100%; }
}

@keyframes m365-strike {
  from { text-decoration-color: transparent; color: var(--v27-ink); }
}

@keyframes m365-switch {
  from { background: #5b6390; }
}

@keyframes m365-knob {
  from { left: 2px; }
}

html.v27-motion .m365-board .m365-console { opacity: 0; }
html.v27-motion .m365-board.is-in .m365-console { animation: v27-rise .9s cubic-bezier(.2, .7, .2, 1) both .2s; }
html.v27-motion .m365-board.is-in .m365-usage i { animation: m365-grow 1.2s cubic-bezier(.3, .6, .2, 1) both calc(.9s + var(--i, 0) * .15s); }
html.v27-motion .m365-board .m365-console__activity { opacity: 0; }
html.v27-motion .m365-board.is-in .m365-console__activity { animation: v27-pop .6s cubic-bezier(.3, 1.4, .5, 1) both 2.4s; }
.m365-console__rows li:nth-child(1) .m365-usage i { --i: 0; }
.m365-console__rows li:nth-child(2) .m365-usage i { --i: 1; }
.m365-console__rows li:nth-child(3) .m365-usage i { --i: 2; }
.m365-console__rows li:nth-child(4) .m365-usage i { --i: 3; }

html.v27-motion .m365-benefits[data-v27-reveal] > li {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

html.v27-motion .m365-benefits.is-in > li { opacity: 1; transform: none; }
html.v27-motion .m365-benefits.is-in > li:nth-child(2) { transition-delay: .08s; }
html.v27-motion .m365-benefits.is-in > li:nth-child(3) { transition-delay: .16s; }
html.v27-motion .m365-benefits.is-in > li:nth-child(4) { transition-delay: .24s; }
html.v27-motion .m365-benefits.is-in > li:nth-child(5) { transition-delay: .32s; }
html.v27-motion .m365-benefits.is-in > li:nth-child(6) { transition-delay: .4s; }

/* 01: the clock, Nadia's line, the checks (homepage timing), then Lisa's thanks. */
html.v27-motion .v27-scene.is-in .m365-join__clock { animation-delay: .3s; }
html.v27-motion .v27-scene.is-in .m365-join__bubble { animation-delay: .9s; }
html.v27-motion .v27-scene.is-in .m365-join__reply { animation-delay: 4s; }

/* 02: Jonas's line, then each old value is struck and the new one lands. */
html.v27-motion .v27-scene.is-in .m365-move__bubble { animation-delay: .6s; }
html.v27-motion .v27-scene.is-in .m365-change { animation-delay: 1s; }
html.v27-motion .m365-scene--move .m365-change__rows b,
html.v27-motion .m365-scene--move .m365-change__rows svg,
html.v27-motion .m365-scene--move .m365-change__status { opacity: 0; }
html.v27-motion .m365-scene--move.is-in .m365-change__rows s { animation: m365-strike .5s ease both calc(1.9s + var(--i, 0) * .55s); }
html.v27-motion .m365-scene--move.is-in .m365-change__rows svg { animation: v27-fade-in .3s ease both calc(2.1s + var(--i, 0) * .55s); }
html.v27-motion .m365-scene--move.is-in .m365-change__rows b { animation: v27-rise .45s ease both calc(2.2s + var(--i, 0) * .55s); }
html.v27-motion .m365-scene--move.is-in .m365-change__status { animation: v27-fade-in .5s ease both 3.9s; }
.m365-change__rows div:nth-child(1) { --i: 0; }
.m365-change__rows div:nth-child(2) { --i: 1; }
.m365-change__rows div:nth-child(3) { --i: 2; }

/* 03: Marc asks, the leaver card checks itself (homepage timing), Friday's clock closes. */
html.v27-motion .v27-scene.is-in .m365-leave__bubble { animation-delay: .5s; }
html.v27-motion .v27-scene.is-in .m365-leave__clock { animation-delay: 3.9s; }

/* 04: Bram, the policies card, then each policy switches on. */
html.v27-motion .v27-scene.is-in .m365-protect__bubble { animation-delay: .6s; }
html.v27-motion .v27-scene.is-in .m365-policies { animation-delay: 1s; }
html.v27-motion .v27-scene.is-in .m365-protect__chip { animation-delay: 3.6s; }
html.v27-motion .m365-scene--protect .m365-policies__rows em { opacity: 0; }
html.v27-motion .m365-scene--protect.is-in .m365-toggle { animation: m365-switch .35s ease both calc(1.8s + var(--i, 0) * .4s); }
html.v27-motion .m365-scene--protect.is-in .m365-toggle::after { animation: m365-knob .35s ease both calc(1.8s + var(--i, 0) * .4s); }
html.v27-motion .m365-scene--protect.is-in .m365-policies__rows em { animation: v27-fade-in .3s ease both calc(1.95s + var(--i, 0) * .4s); }
.m365-policies__rows li:nth-child(1) { --i: 0; }
.m365-policies__rows li:nth-child(2) { --i: 1; }
.m365-policies__rows li:nth-child(3) { --i: 2; }
.m365-policies__rows li:nth-child(4) { --i: 3; }

/* ---------- Responsive ---------- */

@media (max-width: 1440px) {
  .m365-nav { gap: 16px; }
  .m365-console__head,
  .m365-console__rows li { grid-template-columns: minmax(0, 1fr) 96px 52px; gap: 10px; }
}

@media (max-width: 1280px) and (min-width: 1121px) {
  .m365-login { display: none; }
}

@media (max-width: 1120px) {
  .m365-topbar__inner { grid-template-columns: auto 1fr auto; }

  .m365-nav {
    position: fixed;
    inset: var(--m365-topbar-h) 14px auto;
    z-index: 95;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(7, 8, 63, .08);
    border-radius: 16px;
    background: rgba(251, 244, 230, .98);
    box-shadow: 0 26px 50px rgba(61, 44, 14, .14);
    opacity: 0;
    visibility: hidden;
    translate: 0 -10px;
    transition: opacity .2s ease, translate .2s ease, visibility 0s linear .2s;
  }

  .m365-topbar.is-menu-open .m365-nav {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition: opacity .2s ease, translate .2s ease;
  }

  .m365-nav a { padding: 14px 12px; border-bottom: 1px solid rgba(7, 8, 63, .08); border-radius: 0; }
  .m365-nav a:last-child { border-bottom: 0; }
  .m365-menu-toggle { display: block; }
  .m365-topbar__actions { grid-column: 3; gap: 12px; }
  .m365-login { display: none; }
  .m365-topbar.is-menu-open .m365-menu-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .m365-topbar.is-menu-open .m365-menu-toggle span:nth-child(2) { opacity: 0; }
  .m365-topbar.is-menu-open .m365-menu-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .m365-page .m365-board { aspect-ratio: 1200 / 700; }
  .m365-console { left: 25%; width: 50%; }
  .m365-page .m365-board__team { top: -5%; bottom: auto; }
  .m365-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m365-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .m365-page { --m365-topbar-h: 68px; }
  .m365-topbar__inner { gap: 10px; padding: 0 16px; }
  .m365-page .m365-topbar__cta { display: none; }
  .m365-topbar .m365-lang select { width: 64px; padding-left: 12px; }
  .m365-crumbs ol { margin-bottom: 16px; font-size: 13px; }

  /* Board: the console first, then the four services in a 2 × 2 grid. */
  .m365-board::before { width: 140%; top: 32%; }
  /* --cb-shell keeps its 120px desktop gutter on phones: use the phone shell width. */
  .m365-page .m365-board { width: calc(100% - 40px); aspect-ratio: auto; }
  .m365-console { position: relative; inset: auto; translate: none; grid-column: 1 / -1; width: 100%; margin-bottom: 6px; }
  .m365-console__bar small { display: none; }
  .m365-console__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m365-console__head,
  .m365-console__rows li { grid-template-columns: minmax(0, 1fr) 76px; }
  .m365-console__head span:last-child,
  .m365-console__rows em { display: none; }
  .m365-lic__mark { display: none; }
  .m365-page .m365-board__team { top: 0; bottom: auto; }
  .m365-board__team .v27-chip__sep,
  .m365-board__team > span:last-child { display: none; }
  .m365-benefits { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  /* Scenes stack like the homepage ones: illustration, then the live pieces in flow. */
  .m365-scene--move,
  .m365-scene--protect { aspect-ratio: auto; display: grid; gap: 14px; }

  .m365-scene--move > *,
  .m365-scene--protect > * { position: relative; inset: auto; width: 100%; }

  .m365-join__bubble,
  .m365-join__reply,
  .m365-leave__bubble,
  .m365-move__bubble,
  .m365-protect__bubble { position: relative; inset: auto; justify-self: start; width: max-content; max-width: 100%; white-space: normal; }
  .m365-join__reply { justify-self: end; }
  .m365-join__clock,
  .m365-leave__clock,
  .m365-protect__chip { position: relative; inset: auto; justify-self: start; width: max-content; max-width: 100%; white-space: normal; }
  .m365-change,
  .m365-policies { width: 100%; }
  .m365-change__rows div { grid-template-columns: 92px minmax(0, 1fr); }
  .m365-prices { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 390px) {
  .m365-topbar .m365-lang select { width: 60px; padding-left: 10px; }
}

@media (forced-colors: active) {
  .m365-usage i { background: CanvasText; }
  .m365-toggle { background: Highlight; }
}

@media (prefers-reduced-motion: reduce) {
  .m365-topbar,
  .m365-nav,
  .m365-menu-toggle span { transition: none; }
}
