/*
  Minimal-radius design variant: 3 / 5 / 7 px.
  The original bundle stays untouched; this layer changes corner geometry only.
*/

:root {
  --radius-lg: 7px;
  --radius-md: 5px;
  --ui-radius-panel: 7px;
  --ui-radius-control: 5px;
  --ui-radius-compact: 3px;
}

/* Excel desktop fidelity pass: calibrated against the activated Windows build. */
.hero.hero-second-screen .workbook {
  --xl-green: #217346;
  --xl-green-dark: #1e6b42;
  --xl-title: #217346;
  --xl-grid: #d4d4d4;
  --xl-ui: #f3f3f3;
  --xl-col: 64px;
  --xl-row: 20px;
  --xl-canvas-width: 1319px;
  width: var(--xl-canvas-width);
  max-width: none;
  border: 1px solid #9ba6a0;
  border-radius: 0;
  color: #262626;
  background: #fff;
  box-shadow: 0 12px 30px rgba(25, 67, 43, .15), 0 2px 5px rgba(25, 67, 43, .08);
  font-family: "Segoe UI", Arial, sans-serif;
  transform: scale(var(--xl-workbook-scale, 1));
  transform-origin: left top;
}

/* Every visible Excel control is live HTML/CSS. The supplied captures are used
   only as an external calibration reference during visual QA. */

.hero.hero-second-screen .xl-titlebar {
  position: relative;
  z-index: auto;
  isolation: isolate;
  height: 35px;
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 7px;
  overflow: visible;
  padding: 0 7px 0 12px;
  color: #fff;
  border: 0;
  background-color: #217346;
  background-image:
    radial-gradient(ellipse at 72% 18%, rgba(12, 81, 44, .24) 0 9%, transparent 9.4%),
    radial-gradient(ellipse at 83% 80%, rgba(12, 81, 44, .19) 0 11%, transparent 11.5%),
    radial-gradient(ellipse at 94% 12%, rgba(12, 81, 44, .2) 0 8%, transparent 8.5%);
  font-size: 10px;
}

.hero.hero-second-screen .xl-autosave {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .25);
  white-space: nowrap;
}

.hero.hero-second-screen .xl-autosave button {
  position: relative;
  width: 37px;
  height: 16px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 9px;
  background: transparent;
}

.hero.hero-second-screen .xl-autosave button i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .26);
}

.hero.hero-second-screen .xl-quick-access {
  position: relative;
  z-index: 2;
  gap: 0;
}

.hero.hero-second-screen .xl-quick-access button,
.hero.hero-second-screen .xl-ribbon-display,
.hero.hero-second-screen .xl-window-actions span {
  width: 24px;
  height: 25px;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, .9);
  background: transparent;
}

.hero.hero-second-screen .xl-quick-access button:hover,
.hero.hero-second-screen .xl-ribbon-display:hover,
.hero.hero-second-screen .xl-window-actions span:hover {
  background: rgba(255, 255, 255, .12);
}

.hero.hero-second-screen .xl-quick-access button svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.hero.hero-second-screen .xl-quick-access .xl-quick-customize {
  width: 17px;
  color: rgba(255, 255, 255, .85);
  font-size: 11px;
}

.hero.hero-second-screen .xl-document-title {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  height: 35px;
  max-width: 34%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateX(-50%);
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
}

.hero.hero-second-screen .xl-document-title .doc-title,
.hero.hero-second-screen .xl-document-title .xl-excel-suffix {
  overflow: hidden;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.hero-second-screen .xl-document-title .xl-excel-suffix {
  flex: 0 0 auto;
  overflow: visible;
}

.hero.hero-second-screen .xl-titlebar-tools {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.hero.hero-second-screen .xl-search {
  position: relative;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  overflow: hidden;
  padding: 0 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: width .15s ease, background .15s ease;
}

.hero.hero-second-screen .xl-search > span {
  flex: 0 0 17px;
  color: #fff;
}

.hero.hero-second-screen .xl-search > span svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.55;
}

.hero.hero-second-screen .xl-search input {
  width: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  color: #fff;
  background: transparent;
  font-size: 9px;
}

.hero.hero-second-screen .xl-search:focus-within {
  width: 150px;
  padding-inline: 7px;
  background: rgba(255, 255, 255, .14);
}

.hero.hero-second-screen .xl-search:focus-within input {
  width: 118px;
  opacity: 1;
}

.hero.hero-second-screen .xl-account-name {
  min-width: 40px;
  color: rgba(255, 255, 255, .96);
  font-size: 9px;
  text-align: right;
}

.hero.hero-second-screen .xl-avatar {
  width: 23px;
  height: 23px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #bd2bb8;
  box-shadow: none;
  font-size: 9px;
  font-weight: 500;
}

.hero.hero-second-screen .xl-ribbon-display {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 11px;
}

.hero.hero-second-screen .xl-window-actions {
  display: flex;
  align-items: stretch;
  margin-right: -7px;
}

.hero.hero-second-screen .xl-window-actions span {
  width: 32px;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.hero.hero-second-screen .xl-window-actions span:last-child:hover {
  background: #c42b1c;
}

.hero.hero-second-screen .xl-tabbar {
  position: relative;
  isolation: isolate;
  height: 33px;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 0;
  background-color: #217346;
  background-image: radial-gradient(ellipse at 82% -20%, rgba(12, 81, 44, .2) 0 16%, transparent 16.5%);
}

.hero.hero-second-screen .xl-tabbar button {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-width: 0;
  height: 33px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, .96);
  background: transparent;
  font-size: 9.5px;
  line-height: 33px;
  font-weight: 400;
  white-space: nowrap;
}

.hero.hero-second-screen .xl-tabbar button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.hero.hero-second-screen .xl-tabbar button.active {
  color: #185c37;
  background: #f3f3f3;
  font-weight: 400;
}

.hero.hero-second-screen .xl-tabbar button.active::after {
  content: none;
  display: none;
}

.hero.hero-second-screen .xl-tabbar button.file,
.hero.hero-second-screen .xl-tabbar button.file:hover {
  color: #fff;
  background: transparent;
}

.hero.hero-second-screen .xl-tabbar-spacer {
  min-width: 4px;
  flex: 1 1 auto;
}

.hero.hero-second-screen .xl-tabbar .xl-comments-button {
  width: 30px;
  height: 26px;
  align-self: center;
  display: grid;
  place-items: center;
  margin-right: 3px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .24);
  line-height: 1;
}

.hero.hero-second-screen .xl-comments-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: rgba(255, 255, 255, .72);
  stroke-width: 1.5;
}

.hero.hero-second-screen .xl-tabbar .xl-share {
  height: 27px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .8);
  color: #fff;
  background: rgba(20, 91, 53, .38);
  font-size: 9.5px;
  line-height: 25px;
  font-weight: 650;
}

.hero.hero-second-screen .xl-tabbar .xl-share small {
  font-size: 7px;
}

.hero.hero-second-screen .xl-ribbon {
  position: relative;
  box-sizing: border-box;
  height: 102px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 9px;
  border-bottom: 1px solid #c8c8c8;
  background: #f3f3f3;
}

.hero.hero-second-screen .xl-ribbon::after {
  content: "⌃";
  position: absolute;
  right: 6px;
  bottom: 0;
  width: 13px;
  height: 9px;
  display: grid;
  place-items: center;
  color: #4e5752;
  background: #f3f3f3;
  font-size: 9px;
  line-height: 1;
}

.hero.hero-second-screen .xl-ribbon-panel {
  box-sizing: border-box;
  width: max-content;
  min-width: 100%;
  height: 92px;
  align-items: stretch;
  padding: 3px 3px 1px;
  background: #f3f3f3;
}

.hero.hero-second-screen .xl-ribbon-group {
  box-sizing: border-box;
  align-items: flex-start;
  gap: 2px;
  padding: 2px 6px 17px;
  border-right-color: #c7c7c7;
}

.hero.hero-second-screen .xl-ribbon-group > em {
  right: 4px;
  bottom: 2px;
  left: 4px;
  color: #4d4d4d;
  font-size: 8px;
}

.hero.hero-second-screen .xl-ribbon-group.has-launcher::after {
  content: "↘";
  right: 2px;
  bottom: 1px;
  color: #4f4f4f;
  font-size: 6px;
}

.hero.hero-second-screen .xl-tool,
.hero.hero-second-screen .xl-icon-tool {
  border-color: transparent;
  border-radius: 0;
  color: #262626;
  background: transparent;
}

.hero.hero-second-screen .xl-tool:hover,
.hero.hero-second-screen .xl-icon-tool:hover,
.hero.hero-second-screen .xl-tool.active,
.hero.hero-second-screen .xl-icon-tool.active {
  border-color: #b9c8bf;
  background: #e1e8e4;
}

.hero.hero-second-screen .xl-tool {
  min-height: 24px;
  gap: 4px;
  padding: 2px 4px;
  font-size: 8.5px;
}

.hero.hero-second-screen .xl-tool > span {
  line-height: 1.12;
}

.hero.hero-second-screen .xl-tool.large {
  width: 48px;
  height: 68px;
  gap: 1px;
  padding: 3px;
}

.hero.hero-second-screen .xl-tool.vertical {
  min-width: 44px;
  height: 68px;
  gap: 2px;
  padding: 3px 5px;
}

.hero.hero-second-screen .xl-tool.vertical.narrow {
  min-width: 40px;
  padding-inline: 3px;
}

.hero.hero-second-screen .xl-tool.vertical span {
  max-width: 74px;
}

.hero.hero-second-screen .xl-icon-tool {
  width: 23px;
  height: 23px;
  font-size: 10px;
}

.hero.hero-second-screen .xl-control-row {
  gap: 1px;
}

.hero.hero-second-screen .xl-control-row select,
.hero.hero-second-screen .xl-ribbon-group.number > select {
  height: 23px;
  border-color: #aaa;
  border-radius: 0;
  color: #252525;
  font-size: 8.5px;
}

.hero.hero-second-screen .xl-control-row select:first-child {
  width: 120px;
}

.hero.hero-second-screen .xl-control-row select:last-child {
  width: 43px;
}

.hero.hero-second-screen .xl-ribbon-group.number > select {
  width: 86px;
}

.hero.hero-second-screen .xl-ribbon-group.font,
.hero.hero-second-screen .xl-ribbon-group.alignment,
.hero.hero-second-screen .xl-ribbon-group.number {
  gap: 2px;
}

.hero.hero-second-screen .xl-tool-stack.dense {
  grid-template-rows: repeat(3, 22px);
}

.hero.hero-second-screen .xl-tool-stack.dense .xl-tool {
  min-height: 22px;
  height: 22px;
  padding: 0 3px;
}

.hero.hero-second-screen .xl-tool-stack.dense .xl-tool span {
  font-size: 8.5px;
}

.hero.hero-second-screen .xl-command-glyph {
  width: 17px;
  height: 17px;
  color: #4d6558;
}

.hero.hero-second-screen .xl-tool.vertical .xl-command-glyph,
.hero.hero-second-screen .xl-tool.large .xl-command-glyph {
  width: 25px;
  height: 25px;
}

.hero.hero-second-screen .xl-command-glyph svg {
  stroke-width: 1.35;
}

.hero.hero-second-screen .xl-command-glyph svg .accent {
  fill: #21a366;
}

.hero.hero-second-screen .xl-command-glyph svg .soft {
  fill: #e1eee6;
  stroke: #217346;
}

.hero.hero-second-screen .xl-command-glyph svg .orange {
  fill: #f28c00;
  stroke: #d97800;
}

.hero.hero-second-screen .xl-command-glyph svg .soft-blue {
  fill: #4f88c6;
  stroke: #3473b7;
}

.hero.hero-second-screen .xl-ribbon-group.clipboard .xl-tool.large .xl-command-glyph {
  color: #8a6a32;
}

.hero.hero-second-screen .xl-ribbon-group.styles .xl-command-glyph,
.hero.hero-second-screen .xl-ribbon-group.cells .xl-command-glyph {
  color: #47745d;
}

.hero.hero-second-screen .xl-ribbon-group.editing .xl-tool[data-xl-menu="autosum"] .xl-command-glyph {
  color: #5c5c5c;
}

.hero.hero-second-screen [data-xl-panel="home"] .modern-tools:has([data-xl-command="analyze-data"]),
.hero.hero-second-screen [data-xl-panel="home"] .copilot,
.hero.hero-second-screen [data-xl-panel="insert"] .addins,
.hero.hero-second-screen [data-xl-panel="insert"] .tours,
.hero.hero-second-screen [data-xl-panel="insert"] .comments,
.hero.hero-second-screen [data-xl-panel="formulas"] .python,
.hero.hero-second-screen [data-xl-panel="data"] .data-types,
.hero.hero-second-screen [data-xl-panel="data"] .analysis,
.hero.hero-second-screen [data-xl-panel="review"] .insights,
.hero.hero-second-screen [data-xl-panel="view"] .switch-mode {
  display: none !important;
}

.hero.hero-second-screen [data-xl-panel="home"] .modern-tools:has([data-xl-command="sensitivity"]) {
  opacity: .38;
}

.hero.hero-second-screen [data-xl-panel="home"] .modern-tools:has([data-xl-command="home-addins"]) .xl-command-glyph {
  color: #ef8c00;
}

.hero.hero-second-screen [data-xl-panel="insert"] .tables { order: 1; }
.hero.hero-second-screen [data-xl-panel="insert"] .illustrations { order: 2; }
.hero.hero-second-screen [data-xl-panel="insert"] .cell-controls { order: 3; }
.hero.hero-second-screen [data-xl-panel="insert"] .charts { order: 4; }
.hero.hero-second-screen [data-xl-panel="insert"] .sparklines { order: 5; }
.hero.hero-second-screen [data-xl-panel="insert"] .filters { order: 6; }
.hero.hero-second-screen [data-xl-panel="insert"] .links { order: 7; }
.hero.hero-second-screen [data-xl-panel="insert"] .text { order: 8; }
.hero.hero-second-screen [data-xl-panel="insert"] .symbols { order: 9; }

.hero.hero-second-screen .xl-ribbon-group.is-collapsed {
  width: 53px;
  min-width: 53px;
  height: 87px;
  padding: 1px 2px 2px;
}

.hero.hero-second-screen .xl-ribbon-group.is-collapsed > .xl-group-toggle {
  width: 47px;
  height: 82px;
  gap: 2px;
  padding: 3px 2px;
  border-radius: 0;
  font-size: 8px;
}

.hero.hero-second-screen .xl-group-toggle b,
.hero.hero-second-screen .xl-group-toggle b svg {
  width: 25px;
  height: 25px;
}

.hero.hero-second-screen .xl-ribbon-group.drawing-tools .xl-command-glyph,
.hero.hero-second-screen .xl-ribbon-group.pens .xl-command-glyph,
.hero.hero-second-screen .xl-ribbon-group.convert-ink .xl-command-glyph {
  color: #4a5a52;
}

.hero.hero-second-screen .xl-ribbon-group.pens .xl-pen.black .xl-command-glyph { color: #111; }
.hero.hero-second-screen .xl-ribbon-group.pens .xl-pen.red .xl-command-glyph { color: #d7192d; }
.hero.hero-second-screen .xl-ribbon-group.pens .xl-pen.yellow .xl-command-glyph { color: #f2d600; }

.hero.hero-second-screen .xl-script-gallery {
  width: 500px;
  height: 61px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 0 8px;
  overflow: hidden;
  padding: 4px 8px;
  border: 1px solid #b9b9b9;
  background: #fff;
}

.hero.hero-second-screen .xl-script-gallery button {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding: 0 4px;
  border: 0;
  color: #545454;
  background: transparent;
  font-size: 8px;
  text-align: left;
  white-space: nowrap;
}

.hero.hero-second-screen .xl-script-gallery button i {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: #f28c00;
}

.hero.hero-second-screen .xl-script-gallery button span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero.hero-second-screen .xl-ribbon-group.script-gallery {
  display: flex;
  padding-right: 25px;
}

.hero.hero-second-screen .xl-gallery-more {
  position: absolute;
  top: 3px;
  right: 6px;
  width: 19px;
  height: 62px;
  border: 1px solid #aaa;
  background: #f3f3f3;
}

.hero.hero-second-screen .office-scripts .xl-command-glyph,
.hero.hero-second-screen .power-automate .xl-command-glyph {
  color: #f28c00;
}

.hero.hero-second-screen .xl-formula-row {
  height: 30px;
  grid-template-columns: 104px 26px 34px 34px 48px minmax(0, 1fr);
  border-bottom-color: #bdbdbd;
  background: #f3f3f3;
}

.hero.hero-second-screen .xl-formula-row > * {
  border-right-color: #c8c8c8;
  background: #fff;
  font-size: 9px;
}

.hero.hero-second-screen .xl-name-box {
  padding: 0 7px;
}

.hero.hero-second-screen .xl-formula-divider {
  display: grid;
  place-items: center;
  color: #7e7e7e;
  background: #f3f3f3;
  font-size: 13px;
}

.hero.hero-second-screen .xl-formula-cancel,
.hero.hero-second-screen .xl-formula-accept {
  visibility: visible;
  color: #9f9f9f;
  opacity: .43;
  font-size: 16px;
}

.hero.hero-second-screen .workbook.is-editing .xl-formula-cancel,
.hero.hero-second-screen .workbook.is-editing .xl-formula-accept {
  opacity: 1;
}

.hero.hero-second-screen .xl-fx {
  color: #5c5c5c;
  font-size: 11px;
}

.hero.hero-second-screen .xl-workspace {
  position: relative;
  height: 370px;
}

.hero.hero-second-screen .xl-workspace::after {
  content: "";
  position: absolute;
  z-index: 9;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  border-left: 1px solid #a5a5a5;
  background:
    linear-gradient(#f2f2f2 0 16px, #9b9b9b 16px 17px, #f2f2f2 17px calc(100% - 17px), #9b9b9b calc(100% - 17px) calc(100% - 16px), #f2f2f2 calc(100% - 16px));
  pointer-events: none;
}

.hero.hero-second-screen .xl-grid {
  grid-template-columns: 24px repeat(20, var(--xl-col));
  grid-template-rows: 27px;
  grid-auto-rows: var(--xl-row);
  min-width: calc(24px + 20 * var(--xl-col));
  min-height: calc(27px + 22 * var(--xl-row));
}

.hero.hero-second-screen .xl-corner,
.hero.hero-second-screen .xl-col-header,
.hero.hero-second-screen .xl-row-header {
  border-color: #c9c9c9;
  color: #333;
  background: #e6e6e6;
  font-size: 12px;
}

.hero.hero-second-screen .xl-corner::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  border-width: 0 0 9px 9px;
  border-style: solid;
  border-color: transparent transparent #b7b7b7 transparent;
}

.hero.hero-second-screen .xl-col-header.highlight,
.hero.hero-second-screen .xl-row-header.highlight {
  color: #185c37;
  background: #d9e5de;
}

.hero.hero-second-screen .xl-cell {
  padding: 1px 4px;
  border-color: #d9d9d9;
  font-family: "Aptos Narrow", Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  line-height: 18px;
}

.hero.hero-second-screen .xl-cell.active {
  box-shadow: 0 0 0 2px #217346;
}

.hero.hero-second-screen .xl-cell.active::after {
  background: #217346;
}

.hero.hero-second-screen .xl-sheetbar {
  height: 28px;
  border-top-color: #bfbfbf;
  background: #f3f3f3;
}

.hero.hero-second-screen .xl-sheet-nav {
  gap: 0;
  padding: 0 2px;
}

.hero.hero-second-screen .xl-sheet-nav button {
  width: 17px;
  height: 27px;
  color: #4e4e4e;
  font-size: 8px;
}

.hero.hero-second-screen .xl-sheet-tabs button {
  height: 27px;
  padding: 0 9px;
  color: #3d3d3d;
  font-size: 9px;
}

.hero.hero-second-screen .xl-sheet-tabs .xl-sheet-tab.active {
  color: #185c37;
  border-bottom-color: #217346;
}

.hero.hero-second-screen .xl-horizontal-scroll {
  height: 11px;
  border-color: #c5c5c5;
  background: #ececec;
}

.hero.hero-second-screen .xl-horizontal-scroll::before {
  height: 7px;
  border-color: #aaa;
  background: #d0d0d0;
}

.hero.hero-second-screen .xl-statusbar {
  min-height: 24px;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 0 8px;
  border-top-color: #c9c9c9;
  color: #4b4b4b;
  background: #f3f3f3;
  font-size: 8.5px;
}

.hero.hero-second-screen .xl-accessibility {
  color: #666;
  white-space: nowrap;
}

.hero.hero-second-screen .xl-view-shortcuts {
  gap: 1px;
}

.hero.hero-second-screen .xl-view-shortcuts span {
  width: 19px;
  height: 20px;
  border-radius: 0;
  color: #555;
  background: transparent;
}

.hero.hero-second-screen .xl-view-shortcuts span:first-child {
  color: #333;
  background: #ddd;
}

.hero.hero-second-screen .xl-zoom input {
  width: 78px;
  accent-color: #555;
}

.hero.hero-second-screen .xl-popup,
.hero.hero-second-screen .xl-toast,
.hero.hero-second-screen .xl-chart-card {
  border-radius: 1px;
}

@media (max-width: 1100px) {
  .hero.hero-second-screen .xl-tabbar button {
    padding-inline: 8px;
    font-size: 8.8px;
  }

  .hero.hero-second-screen .xl-account-name,
  .hero.hero-second-screen .xl-ribbon-display {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero.hero-second-screen .xl-autosave,
  .hero.hero-second-screen .xl-titlebar-tools .xl-account-name,
  .hero.hero-second-screen .xl-titlebar-tools .xl-avatar,
  .hero.hero-second-screen .xl-titlebar-tools .xl-ribbon-display,
  .hero.hero-second-screen .xl-tabbar .xl-comments-button,
  .hero.hero-second-screen .xl-tabbar .xl-share {
    display: none;
  }

  .hero.hero-second-screen .xl-document-title {
    position: static;
    max-width: none;
    margin-right: auto;
    transform: none;
  }

  .hero.hero-second-screen .xl-titlebar {
    height: 35px;
  }

  .hero.hero-second-screen .xl-tabbar {
    overflow-x: auto;
  }

  .hero.hero-second-screen .xl-statusbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero.hero-second-screen .xl-accessibility,
  .hero.hero-second-screen .xl-selection-summary,
  .hero.hero-second-screen .xl-view-shortcuts {
    display: none;
  }
}

/* Keep the header-to-hero brand rule equally saturated across the full viewport. */
body > header.office-header .header-bottom-groove {
  background: #21a366 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    0 4px 13px rgba(16, 124, 65, .13) !important;
}

/* Large standalone surfaces. */
.hero.hero-second-screen .workbook,
.hero.hero-second-screen .hero-heading-icon,
.hero.hero-second-screen .hero-os-actions .os-download,
#versions .filter-list,
#versions .legacy,
#features .excel-capability,
section#faq .faq-topic-toolbar .faq-topic-nav,
section#faq .faq-topic-panel .faq-item,
dialog#question-dialog,
dialog#question-dialog .question-dialog-card,
.download-return-button,
.toast {
  border-radius: 7px !important;
}

/* Controls, fields and compact inner surfaces. */
body > header.office-header .header-catalog-menu > summary,
body > header.office-header .header-catalog-panel .header-app-grid a,
body > header.office-header .header-catalog-panel .header-version-grid a,
body > header.office-header .header-brand-links a,
.global-apps-toggle,
.global-quick-app,
.hero.hero-second-screen .workbook-nav,
.hero.hero-second-screen .os-download-excel-icon,
#versions .filter-button,
#versions .release-row:hover,
#versions .release-row .download,
#versions .legacy-item,
.program-facts .program-links-list a,
#features .excel-capability-icon,
section#requirements .requirements-tier-icon,
section#faq .faq-topic,
section#faq .faq-ask-button,
section#faq .faq-topic-panel .faq-item summary::after,
dialog#question-dialog .question-dialog-close,
dialog#question-dialog .question-field input,
dialog#question-dialog .question-field textarea,
dialog#question-dialog .question-form-status,
dialog#question-dialog .question-form-cancel,
dialog#question-dialog .question-form-submit {
  border-radius: 5px !important;
}

/* Small badges, keys and footer affordances. */
body > header.office-header .header-version-grid .version-mark,
#versions .status,
#versions .platform-tag,
section#faq .faq-topic svg,
.hero.hero-second-screen .hero-bookmark-hint kbd,
.footer .ms-brand,
.footer .footer-app,
.footer .legal-link {
  border-radius: 3px !important;
}

/* Structural areas stay flat; the new layer must not turn them into cards. */
body > header.office-header .header-catalog-panel,
.global-apps-panel,
.hero.hero-second-screen .hero-download-panel,
.hero.hero-second-screen .os-platform-icon,
.hero.hero-second-screen .hero-os-actions .download-icon,
#versions .release-list,
#versions .release-row,
#versions .release-icon,
#features .excel-capabilities-grid,
section#requirements .requirements-matrix,
dialog#question-dialog .question-dialog-icon,
.trust-icon,
.download-return-panel {
  border-radius: 0 !important;
}

/* Optically center the download glyph against the visible text, not only its line box. */
.program-facts .program-links-list li:first-child a::before {
  position: relative;
  top: 1px;
  align-self: center;
}

/* Use recognizable product marks in the feature cards. */
#features .excel-capability-icon,
#features .excel-capability:nth-child(2) .excel-capability-icon,
#features .excel-capability:nth-child(3) .excel-capability-icon {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 5px;
  border: 1px solid rgba(47, 69, 57, .1);
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 6px 16px rgba(35, 57, 44, .08);
}

#features .excel-capability-icon::before {
  display: none;
  content: none;
}

#features .excel-capability-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

#features .excel-capability:nth-child(7) {
  --tile-rgb: 56, 101, 173;
  --tile-accent: #3865ad;
}

#features .excel-capability:nth-child(8) {
  --tile-rgb: 20, 128, 118;
  --tile-accent: #148076;
}

#features .excel-capability:nth-child(9) {
  --tile-rgb: 204, 128, 35;
  --tile-accent: #cc8023;
}

#features .excel-capability:nth-child(10) {
  --tile-rgb: 122, 80, 180;
  --tile-accent: #7a50b4;
}

#features .excel-capability:nth-child(11) {
  --tile-rgb: 0, 120, 212;
  --tile-accent: #0078d4;
}

#features .excel-capability:nth-child(12) {
  --tile-rgb: 82, 129, 71;
  --tile-accent: #528147;
}

/* A lower-right horizontal arrow reads as “open” without implying an external jump. */
#features .excel-capability[href]::after {
  display: block;
  content: "";
  top: auto;
  right: 18px;
  bottom: 18px;
  width: 20px;
  height: 20px;
  opacity: .58;
  background: var(--tile-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-5-5 5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-5-5 5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity .16s ease, transform .16s ease;
}

#features .excel-capability[href]:hover::after,
#features .excel-capability[href]:focus-visible::after {
  opacity: 1;
  transform: translateX(3px);
}

/* Genuine circles and slim active markers retain their intended geometry. */
.workbook-dots button,
.xl-avatar,
.quick-tools i,
.toast::before,
body > header.office-header .header-brand-identity::before,
body > header.office-header .header-brand-identity::after {
  border-radius: 50% !important;
}

.workbook-dots button.active,
body > header.office-header .header-app-grid a::before,
body > header.office-header .header-app-grid a::after,
section#faq .faq-topic.active::before,
.requirement-tier-badge {
  border-radius: 999px !important;
}

/* Review 2: align the version filter with the row actions on desktop. */
@media (min-width: 901px) {
  #versions .filter-list {
    margin-right: 20px;
  }
}

/* A balanced 2-by-2 grid replaces the optically uneven original "All" icon. */
#versions .filter-button:first-child::before {
  display: none !important;
}

#versions .filter-icon-all {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #107c41;
  fill: currentColor;
  overflow: visible;
}

/* Requirements use one shared signal-strength metaphor: fewer bars vs more bars. */
section#requirements .requirements-tier-icon-minimum rect,
section#requirements .requirements-tier-icon-comfort rect {
  opacity: 1;
}

section#requirements .requirements-tier-icon-minimum rect:first-child {
  opacity: .62;
}

section#requirements .requirements-tier-icon-minimum rect:nth-child(2) {
  opacity: 1;
}

section#requirements .requirements-tier-icon-comfort rect:nth-child(1) {
  opacity: .4;
}

section#requirements .requirements-tier-icon-comfort rect:nth-child(2) {
  opacity: .58;
}

section#requirements .requirements-tier-icon-comfort rect:nth-child(3) {
  opacity: .78;
}

/* Open FAQ entries stay clean; the dated +/- badge becomes a compact chevron. */
section#faq .faq-topic-panel .faq-item {
  position: relative;
}

section#faq .faq-topic-panel .faq-item[open],
section#faq .faq-topic-panel .faq-item[open]:hover {
  border-color: rgba(16, 124, 65, .25) !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 7px 18px rgba(49, 62, 71, .045) !important;
}

section#faq .faq-topic-panel .faq-item[open]::before {
  content: none;
  display: none;
}

section#faq .faq-topic-panel .faq-item summary::after,
section#faq .faq-topic-panel .faq-item[open] summary::after {
  content: "" !important;
  display: block;
  width: 8px !important;
  height: 8px !important;
  flex: 0 0 8px;
  margin-right: 4px;
  border: 0 !important;
  border-right: 2px solid #65747d !important;
  border-bottom: 2px solid #65747d !important;
  border-radius: 0 !important;
  color: transparent !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
  transform: rotate(45deg);
  transition: transform .18s ease, border-color .18s ease;
}

section#faq .faq-topic-panel .faq-item summary:hover::after,
section#faq .faq-topic-panel .faq-item[open] summary::after {
  border-right-color: #107c41 !important;
  border-bottom-color: #107c41 !important;
}

section#faq .faq-topic-panel .faq-item[open] summary::after {
  transform: rotate(225deg);
}

/* The older Office links begin opposite Office 2024, leaving Microsoft 365 alone. */
.footer-office-columns > .footer-list:nth-child(2) {
  padding-top: calc(1.55em + 9px);
}

/* Trust rail: slightly stronger pictograms without changing the rail geometry. */
@media (min-width: 621px) {
  main#top > section.trust-strip .trust-icon svg {
    width: 26px;
    height: 26px;
  }
}

/* Requirements review: one dense technical profile instead of scattered cells. */
section#requirements.system-requirements {
  padding: 48px 0 50px;
  border-top-color: rgba(65, 76, 70, .1);
  border-bottom-color: rgba(65, 76, 70, .11);
  background:
    radial-gradient(720px 260px at 94% 0%, rgba(218, 223, 228, .24), transparent 72%),
    radial-gradient(680px 250px at 4% 100%, rgba(226, 229, 227, .3), transparent 74%),
    linear-gradient(180deg, #fafbfb 0%, #f2f4f3 100%);
}

section#requirements .system-requirements-heading {
  margin-bottom: 22px;
}

section#requirements .system-requirements-lead {
  max-width: 760px;
  margin-top: 9px;
  color: #66716b;
  font-size: 15px;
  line-height: 1.48;
}

section#requirements .requirements-matrix {
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(57, 73, 64, .22);
  border-bottom: 0;
  background: rgba(255, 255, 255, .32);
  box-shadow: none;
}

section#requirements .requirements-matrix-head,
section#requirements .requirements-matrix-row {
  grid-template-columns: minmax(205px, .82fr) repeat(3, minmax(0, 1.1fr));
  column-gap: 0;
}

section#requirements .requirements-matrix-head {
  min-height: 74px;
  border-bottom: 1px solid rgba(57, 73, 64, .18);
  background: rgba(255, 255, 255, .58);
}

section#requirements .requirements-matrix-head > * + *,
section#requirements .requirements-matrix-row > * + * {
  border-left: 1px solid rgba(57, 73, 64, .105);
}

section#requirements .requirements-matrix-label-head,
section#requirements .requirements-plan {
  padding: 14px 18px;
}

section#requirements .requirements-matrix-label-head {
  color: #66746d;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .065em;
}

section#requirements .requirements-plan {
  gap: 4px;
}

section#requirements .requirements-plan::before {
  display: block;
  top: auto;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 2px;
  background: #d59a24;
}

section#requirements .requirements-plan-comfort::before {
  background: #4d78c7;
}

section#requirements .requirements-plan-android::before {
  background: #2ba96b;
}

section#requirements .requirements-plan-title {
  gap: 8px;
}

section#requirements .requirements-plan strong {
  color: #26332c;
  font-size: 16.5px;
  font-weight: 680;
}

section#requirements .requirements-plan > span:last-child {
  color: #68746e;
  font-size: 12px;
  font-weight: 520;
  line-height: 1.35;
}

section#requirements .requirements-matrix-row {
  min-height: 56px;
  background: rgba(255, 255, 255, .16);
}

section#requirements .requirements-matrix-row:nth-child(odd) {
  background: rgba(255, 255, 255, .43);
}

section#requirements .requirements-matrix-row + .requirements-matrix-row {
  border-top: 1px solid rgba(57, 73, 64, .105);
}

section#requirements .requirements-matrix-label,
section#requirements .requirements-matrix-value {
  padding: 12px 18px;
}

section#requirements .requirements-matrix-label {
  gap: 11px;
  color: #3f5147;
  background: rgba(226, 231, 228, .52);
  font-size: 13px;
  font-weight: 660;
  line-height: 1.3;
}

section#requirements .requirements-matrix-label svg {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  color: #5d7468;
  stroke-width: 1.55;
}

section#requirements .requirements-matrix-value {
  color: #2f3b35;
  font-size: 13.25px;
  font-weight: 540;
  font-variant-numeric: tabular-nums;
  line-height: 1.42;
}

section#requirements .requirements-matrix-note {
  margin: 0;
  padding: 10px 18px 11px;
  color: #717d77;
  border-top: 1px solid rgba(57, 73, 64, .105);
  border-bottom: 1px solid rgba(57, 73, 64, .18);
  background: rgba(255, 255, 255, .32);
  font-size: 11.5px;
  line-height: 1.45;
}

@media (max-width: 900px) and (min-width: 621px) {
  section#requirements.system-requirements {
    padding: 46px 0 48px;
  }

  section#requirements .requirements-matrix-head {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  section#requirements .requirements-matrix-label-head {
    display: none;
  }

  section#requirements .requirements-plan-minimum {
    border-left: 0;
  }

  section#requirements .requirements-matrix-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  section#requirements .requirements-matrix-label {
    grid-column: 1 / -1;
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(57, 73, 64, .09);
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value {
    min-height: 54px;
    padding: 12px 16px;
    border-left: 0;
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value + .requirements-matrix-value {
    border-left: 1px solid rgba(57, 73, 64, .105);
  }
}

@media (max-width: 620px) {
  section#requirements.system-requirements {
    padding: 40px 0 42px;
  }

  section#requirements .system-requirements-heading {
    margin-bottom: 18px;
  }

  section#requirements .system-requirements-lead {
    font-size: 14px;
  }

  section#requirements .requirements-matrix {
    background: transparent;
  }

  section#requirements .requirements-matrix-row {
    grid-template-columns: 1fr;
    background: transparent;
  }

  section#requirements .requirements-matrix-row:nth-child(odd) {
    background: transparent;
  }

  section#requirements .requirements-matrix-row > * + * {
    border-left: 0;
  }

  section#requirements .requirements-matrix-label {
    grid-column: auto;
    padding: 13px 14px 10px;
    background: rgba(226, 231, 228, .52);
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value,
  section#requirements .requirements-matrix-row > .requirements-matrix-value + .requirements-matrix-value {
    min-height: 0;
    padding: 10px 14px;
    border-top: 1px solid rgba(57, 73, 64, .08);
    border-left: 0;
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value:last-child {
    padding-bottom: 14px;
  }

  section#requirements .requirements-matrix-note {
    padding: 10px 0 11px;
    background: transparent;
  }
}

/* Keep both hero overhangs optically balanced: the Excel window leaves its
   column to the left by exactly the same amount as the download panel does to
   the right. One shared variable preserves the symmetry at every desktop size. */
@media (min-width: 1081px) {
  .hero.hero-second-screen .hero-grid {
    --excel-display-width: 1279px;
    --excel-overhang: var(--download-overhang);
  }
}

@media (min-width: 1780px) {
  .hero.hero-second-screen .hero-grid.container {
    width: min(1280px, calc(100% - 56px));
    max-width: 1280px;
  }

  .hero.hero-second-screen .hero-layout {
    grid-template-columns: 842px 400px;
    gap: 0 38px;
  }


  .hero.hero-second-screen .workbook-stage {
    width: calc(842px + var(--excel-overhang));
    max-width: var(--excel-display-width, 1279px);
    margin: 20px 0 0 calc(-1 * var(--excel-overhang));
  }

  .hero.hero-second-screen .workbook {
    width: var(--xl-canvas-width, 1319px);
    border-radius: 0 !important;
  }

  .hero.hero-second-screen .hero-download-panel {
    width: calc(100% + var(--download-overhang, 0px));
    max-width: none;
    margin-top: 20px;
    margin-right: calc(-1 * var(--download-overhang, 0px));
  }

  .hero.hero-second-screen .xl-titlebar {
    padding-left: 19px;
  }

  .hero.hero-second-screen .xl-titlebar-tools {
    width: 315px;
  }

  .hero.hero-second-screen .xl-window-actions {
    margin-left: auto;
  }
}

/* Native Excel type scale: the reference captures use unscaled 11–12 px UI text. */
.hero.hero-second-screen .xl-titlebar {
  font-size: 11.5px;
}

.hero.hero-second-screen .xl-document-title .doc-title,
.hero.hero-second-screen .xl-document-title .xl-excel-suffix {
  font-size: 12px;
}

.hero.hero-second-screen .xl-account-name,
.hero.hero-second-screen .xl-avatar {
  font-size: 10.5px;
}

.hero.hero-second-screen .xl-tabbar button {
  padding-inline: 13px;
  font-size: 12px;
}

.hero.hero-second-screen .xl-tabbar .xl-share {
  font-size: 12px;
}

.hero.hero-second-screen .xl-tool,
.hero.hero-second-screen .xl-tool-stack.dense .xl-tool span {
  font-size: 10.5px;
}

.hero.hero-second-screen .xl-ribbon-group > em {
  font-size: 10px;
}

.hero.hero-second-screen .xl-icon-tool,
.hero.hero-second-screen .xl-control-row select,
.hero.hero-second-screen .xl-ribbon-group.number > select {
  font-size: 10.5px;
}

.hero.hero-second-screen .xl-formula-row > * {
  font-size: 11.5px;
}

.hero.hero-second-screen .xl-fx {
  font-size: 14px;
}

.hero.hero-second-screen .xl-col-header,
.hero.hero-second-screen .xl-row-header {
  font-size: 12px;
}

.hero.hero-second-screen .xl-cell {
  font-size: 11px;
}

.hero.hero-second-screen .xl-sheet-tabs button,
.hero.hero-second-screen .xl-statusbar {
  font-size: 10px;
}

.hero.hero-second-screen .xl-tool.vertical .xl-command-glyph,
.hero.hero-second-screen .xl-tool.large .xl-command-glyph {
  width: 30px;
  height: 30px;
}

/* Home ribbon group boundaries mirror the supplied 1319 px Excel capture. */
@media (min-width: 1780px) {
.hero.hero-second-screen [data-xl-panel="home"] .clipboard {
  width: 113px;
  min-width: 113px;
  max-width: 113px;
  flex: 0 0 113px;
  overflow: hidden;
}

.hero.hero-second-screen [data-xl-panel="home"] .clipboard .xl-tool-stack {
  width: 34px;
}

.hero.hero-second-screen [data-xl-panel="home"] .clipboard .xl-tool-stack .xl-tool {
  width: 32px;
}

.hero.hero-second-screen [data-xl-panel="home"] .clipboard .xl-tool-stack .xl-tool span {
  display: none;
}

.hero.hero-second-screen [data-xl-panel="home"] .font {
  width: 233px;
  min-width: 233px;
  max-width: 233px;
  flex: 0 0 233px;
}

.hero.hero-second-screen [data-xl-panel="home"] .alignment {
  width: 136px;
  min-width: 136px;
  max-width: 136px;
  flex: 0 0 136px;
  overflow: hidden;
}

.hero.hero-second-screen [data-xl-panel="home"] .alignment .xl-icon-tool {
  width: 20px;
}

.hero.hero-second-screen [data-xl-panel="home"] .number {
  width: 99px;
  min-width: 99px;
  max-width: 99px;
  flex: 0 0 99px;
  overflow: hidden;
}

.hero.hero-second-screen [data-xl-panel="home"] .number .xl-icon-tool {
  width: 16px;
}

.hero.hero-second-screen [data-xl-panel="home"] .styles {
  width: 212px;
  min-width: 212px;
  max-width: 212px;
  flex: 0 0 212px;
  flex-direction: column;
  overflow: hidden;
}

.hero.hero-second-screen [data-xl-panel="home"] .styles .xl-tool {
  width: 198px;
  min-height: 22px;
  height: 22px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 0 3px;
}

.hero.hero-second-screen [data-xl-panel="home"] .styles .xl-tool .xl-command-glyph {
  width: 18px;
  height: 18px;
}

.hero.hero-second-screen [data-xl-panel="home"] .styles .xl-tool br {
  display: none;
}

.hero.hero-second-screen [data-xl-panel="home"] .cells {
  width: 114px;
  min-width: 114px;
  max-width: 114px;
  flex: 0 0 114px;
  overflow: hidden;
}

.hero.hero-second-screen [data-xl-panel="home"] .cells .xl-tool-stack {
  width: 102px;
}

.hero.hero-second-screen [data-xl-panel="home"] .editing {
  width: 101px;
  min-width: 101px;
  max-width: 101px;
  flex: 0 0 101px;
  overflow: hidden;
}

.hero.hero-second-screen [data-xl-panel="home"] .editing > .xl-tool.vertical {
  width: 28px;
  min-width: 28px;
  padding-inline: 1px;
}

.hero.hero-second-screen [data-xl-panel="home"] .editing > .xl-tool-stack {
  width: 22px;
}

.hero.hero-second-screen [data-xl-panel="home"] .editing > .xl-tool-stack .xl-tool {
  width: 22px;
  padding-inline: 1px;
}

.hero.hero-second-screen [data-xl-panel="home"] .editing > .xl-tool span,
.hero.hero-second-screen [data-xl-panel="home"] .editing > .xl-tool-stack span {
  display: none;
}

.hero.hero-second-screen [data-xl-panel="home"] .modern-tools:has([data-xl-command="sensitivity"]) {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  flex: 0 0 140px;
}

.hero.hero-second-screen [data-xl-panel="home"] .modern-tools:has([data-xl-command="home-addins"]) {
  width: 89px;
  min-width: 89px;
  max-width: 89px;
  flex: 0 0 89px;
}
}

/* The remaining tab captures use their own native ribbon group boundaries. */
@media (min-width: 1780px) {
  .hero.hero-second-screen :is(
    [data-xl-panel="insert"],
    [data-xl-panel="draw"],
    [data-xl-panel="layout"],
    [data-xl-panel="formulas"],
    [data-xl-panel="data"],
    [data-xl-panel="review"],
    [data-xl-panel="view"],
    [data-xl-panel="automate"],
    [data-xl-panel="help"]
  ) > .xl-ribbon-group {
    width: var(--xl-reference-width);
    min-width: var(--xl-reference-width);
    max-width: var(--xl-reference-width);
    flex: 0 0 var(--xl-reference-width);
    overflow: hidden;
  }

  .hero.hero-second-screen [data-xl-panel="insert"] .tables { --xl-reference-width: 276px; }
  .hero.hero-second-screen [data-xl-panel="insert"] .illustrations { --xl-reference-width: 97px; }
  .hero.hero-second-screen [data-xl-panel="insert"] .cell-controls { --xl-reference-width: 78px; }
  .hero.hero-second-screen [data-xl-panel="insert"] .charts { --xl-reference-width: 342px; }
  .hero.hero-second-screen [data-xl-panel="insert"] .sparklines { --xl-reference-width: 160px; }
  .hero.hero-second-screen [data-xl-panel="insert"] .filters { --xl-reference-width: 145px; }
  .hero.hero-second-screen [data-xl-panel="insert"] .links { --xl-reference-width: 64px; }
  .hero.hero-second-screen [data-xl-panel="insert"] .text { --xl-reference-width: 56px; }
  .hero.hero-second-screen [data-xl-panel="insert"] .symbols { --xl-reference-width: 69px; }

  .hero.hero-second-screen [data-xl-panel="draw"] .drawing-undo { --xl-reference-width: 50px; }
  .hero.hero-second-screen [data-xl-panel="draw"] .drawing-tools { --xl-reference-width: 600px; }
  .hero.hero-second-screen [data-xl-panel="draw"] .convert-ink { --xl-reference-width: 267px; }
  .hero.hero-second-screen [data-xl-panel="draw"] .ink-replay { --xl-reference-width: 127px; }
  .hero.hero-second-screen [data-xl-panel="draw"] .ink-help { --xl-reference-width: 131px; }

  .hero.hero-second-screen [data-xl-panel="layout"] .themes { --xl-reference-width: 151px; }
  .hero.hero-second-screen [data-xl-panel="layout"] .page-setup { --xl-reference-width: 406px; }
  .hero.hero-second-screen [data-xl-panel="layout"] .scale-fit { --xl-reference-width: 170px; }
  .hero.hero-second-screen [data-xl-panel="layout"] .sheet-options { --xl-reference-width: 188px; }
  .hero.hero-second-screen [data-xl-panel="layout"] .arrange { --xl-reference-width: 294px; }

  .hero.hero-second-screen [data-xl-panel="formulas"] .function-library { --xl-reference-width: 538px; }
  .hero.hero-second-screen [data-xl-panel="formulas"] .defined-names { --xl-reference-width: 259px; }
  .hero.hero-second-screen [data-xl-panel="formulas"] .formula-auditing { --xl-reference-width: 245px; }
  .hero.hero-second-screen [data-xl-panel="formulas"] .calculation { --xl-reference-width: 201px; }

  .hero.hero-second-screen [data-xl-panel="data"] .external-data { --xl-reference-width: 122px; }
  .hero.hero-second-screen [data-xl-panel="data"] .get-transform { --xl-reference-width: 222px; }
  .hero.hero-second-screen [data-xl-panel="data"] .connections { --xl-reference-width: 157px; }
  .hero.hero-second-screen [data-xl-panel="data"] .sort-filter { --xl-reference-width: 314px; }
  .hero.hero-second-screen [data-xl-panel="data"] .data-tools { --xl-reference-width: 185px; }
  .hero.hero-second-screen [data-xl-panel="data"] .forecast { --xl-reference-width: 118px; }
  .hero.hero-second-screen [data-xl-panel="data"] .outline { --xl-reference-width: 73px; }

  .hero.hero-second-screen [data-xl-panel="review"] .proofing { --xl-reference-width: 133px; }
  .hero.hero-second-screen [data-xl-panel="review"] .performance { --xl-reference-width: 133px; }
  .hero.hero-second-screen [data-xl-panel="review"] .accessibility { --xl-reference-width: 156px; }
  .hero.hero-second-screen [data-xl-panel="review"] .language { --xl-reference-width: 78px; }
  .hero.hero-second-screen [data-xl-panel="review"] .changes { --xl-reference-width: 74px; }
  .hero.hero-second-screen [data-xl-panel="review"] .comments { --xl-reference-width: 230px; }
  .hero.hero-second-screen [data-xl-panel="review"] .notes { --xl-reference-width: 67px; }
  .hero.hero-second-screen [data-xl-panel="review"] .protect { --xl-reference-width: 61px; }
  .hero.hero-second-screen [data-xl-panel="review"] .ink { --xl-reference-width: 131px; }

  .hero.hero-second-screen [data-xl-panel="view"] .sheet-view { --xl-reference-width: 123px; }
  .hero.hero-second-screen [data-xl-panel="view"] .workbook-views { --xl-reference-width: 286px; }
  .hero.hero-second-screen [data-xl-panel="view"] .checks { --xl-reference-width: 95px; }
  .hero.hero-second-screen [data-xl-panel="view"] .zoom-group { --xl-reference-width: 199px; }
  .hero.hero-second-screen [data-xl-panel="view"] .window { --xl-reference-width: 303px; }
  .hero.hero-second-screen [data-xl-panel="view"] .macros { --xl-reference-width: 89px; }

  .hero.hero-second-screen [data-xl-panel="automate"] .office-scripts { --xl-reference-width: 165px; }
  .hero.hero-second-screen [data-xl-panel="automate"] .script-gallery { --xl-reference-width: 533px; }
  .hero.hero-second-screen [data-xl-panel="automate"] .power-automate { --xl-reference-width: 104px; }
  .hero.hero-second-screen [data-xl-panel="help"] .help-tools { --xl-reference-width: 285px; }

  .hero.hero-second-screen :is(
    [data-xl-panel="insert"],
    [data-xl-panel="data"],
    [data-xl-panel="review"],
    [data-xl-panel="view"]
  ) > .xl-ribbon-group.is-collapsed > .xl-group-toggle {
    width: calc(100% - 6px);
  }

  .hero.hero-second-screen [data-xl-panel="review"] .proofing {
    flex-direction: column;
  }

  .hero.hero-second-screen [data-xl-panel="review"] .proofing > .xl-tool:not(.xl-group-toggle) {
    width: 119px;
    min-height: 22px;
    height: 22px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 3px;
  }

  .hero.hero-second-screen [data-xl-panel="review"] .proofing > .xl-tool .xl-command-glyph {
    width: 18px;
    height: 18px;
  }

  .hero.hero-second-screen [data-xl-panel="review"] .proofing > .xl-tool br {
    display: none;
  }

  .hero.hero-second-screen [data-xl-panel="review"] .proofing > .xl-tool {
    gap: 6px;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange {
    display: grid;
    grid-template-columns: 148px 132px;
    grid-template-rows: repeat(3, 22px);
    gap: 0 2px;
    align-content: start;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange > .xl-group-toggle {
    display: none;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange > .xl-tool,
  .hero.hero-second-screen [data-xl-panel="layout"] .arrange > .xl-tool-stack .xl-tool {
    width: 100%;
    min-width: 0;
    min-height: 22px;
    height: 22px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
    padding: 0 3px;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange > .xl-tool .xl-command-glyph,
  .hero.hero-second-screen [data-xl-panel="layout"] .arrange > .xl-tool-stack .xl-command-glyph {
    width: 17px;
    height: 17px;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange > [data-xl-command="bring-forward"] {
    grid-column: 1;
    grid-row: 1;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange > [data-xl-command="send-backward"] {
    grid-column: 1;
    grid-row: 2;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange > .xl-tool-stack {
    display: contents;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange [data-xl-command="selection-pane"] {
    grid-column: 1;
    grid-row: 3;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange [data-xl-command="align-objects"] {
    grid-column: 2;
    grid-row: 1;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange [data-xl-command="group-objects"] {
    grid-column: 2;
    grid-row: 2;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange [data-xl-command="rotate-object"] {
    grid-column: 2;
    grid-row: 3;
  }

  .hero.hero-second-screen [data-xl-panel="layout"] .arrange br {
    display: none;
  }
}

.hero.hero-second-screen .xl-script-gallery button {
  font-size: 9.5px;
}

/* Native ribbon palette: Office mixes blue, teal, amber and red accents. */
.hero.hero-second-screen [data-xl-command="cut"] .xl-command-glyph { color: #4f81bd; }
.hero.hero-second-screen [data-xl-command="copy"] .xl-command-glyph { color: #5c8098; }
.hero.hero-second-screen [data-xl-command="format-painter"] .xl-command-glyph { color: #b88745; }
.hero.hero-second-screen .xl-icon-tool.fill { color: #caa800; }
.hero.hero-second-screen .xl-icon-tool.color { color: #c00000; }
.hero.hero-second-screen [data-xl-command="conditional-format"] .xl-command-glyph { color: #477eb0; }
.hero.hero-second-screen [data-xl-command="conditional-format"] .xl-command-glyph .accent { fill: #d96555; }
.hero.hero-second-screen [data-xl-command="table"] .xl-command-glyph { color: #437aa6; }
.hero.hero-second-screen [data-xl-command="table"] .xl-command-glyph .accent { fill: #6aa4c8; }
.hero.hero-second-screen [data-xl-command="cell-styles"] .xl-command-glyph { color: #42815e; }
.hero.hero-second-screen [data-xl-command="cell-styles"] .xl-command-glyph .accent { fill: #e2a445; }
.hero.hero-second-screen [data-xl-command="insert-cells"] .xl-command-glyph { color: #3e80ae; }
.hero.hero-second-screen [data-xl-command="delete-cells"] .xl-command-glyph { color: #c65c50; }
.hero.hero-second-screen [data-xl-command="format-cells"] .xl-command-glyph { color: #517f9d; }
.hero.hero-second-screen :is([data-xl-command="fill"], [data-xl-command="find"]) .xl-command-glyph { color: #477eb0; }
.hero.hero-second-screen [data-xl-command="clear"] .xl-command-glyph { color: #c96072; }

.hero.hero-second-screen [data-xl-panel="insert"] .tables .xl-command-glyph { color: #2f7f83; }
.hero.hero-second-screen [data-xl-panel="insert"] .illustrations .xl-command-glyph { color: #497fae; }
.hero.hero-second-screen [data-xl-panel="insert"] .charts .xl-command-glyph { color: #467bb2; }
.hero.hero-second-screen [data-xl-panel="insert"] .charts .xl-command-glyph .soft { fill: #f2a65a; }
.hero.hero-second-screen [data-xl-panel="insert"] .sparklines .xl-command-glyph { color: #4f82ac; }
.hero.hero-second-screen [data-xl-panel="insert"] .filters .xl-command-glyph { color: #60798a; }
.hero.hero-second-screen [data-xl-panel="insert"] .links .xl-command-glyph { color: #4d7fa4; }
.hero.hero-second-screen [data-xl-panel="insert"] :is(.text, .symbols) .xl-command-glyph { color: #4f6fa0; }

.hero.hero-second-screen [data-xl-panel="draw"] .xl-pen.rainbow .xl-command-glyph { color: #8064a2; }
.hero.hero-second-screen [data-xl-panel="draw"] .xl-pen.pencil .xl-command-glyph { color: #5b6164; }
.hero.hero-second-screen [data-xl-panel="draw"] .xl-pen.blue .xl-command-glyph { color: #3f78b5; }
.hero.hero-second-screen [data-xl-panel="draw"] .xl-pen.green .xl-command-glyph { color: #2d8a57; }
.hero.hero-second-screen [data-xl-panel="draw"] .xl-pen.effects .xl-command-glyph { color: #6954a3; }

.hero.hero-second-screen [data-xl-panel="layout"] :is(.themes, .page-setup) .xl-command-glyph { color: #4d7b9e; }
.hero.hero-second-screen [data-xl-panel="layout"] .arrange .xl-command-glyph { color: #657b8a; }
.hero.hero-second-screen [data-xl-panel="data"] :is(.external-data, .get-transform, .connections) .xl-command-glyph { color: #487b6b; }
.hero.hero-second-screen [data-xl-panel="data"] :is(.data-tools, .forecast) .xl-command-glyph { color: #4a7c9f; }
.hero.hero-second-screen [data-xl-panel="review"] :is(.proofing, .accessibility, .language) .xl-command-glyph { color: #4d78a0; }

/* Requirements v3 draft retained for reference; the active final cascade lives at the end.
section#requirements.system-requirements {
  --requirements-ink: #1d2c24;
  --requirements-muted: #68776f;
  --requirements-rule: rgba(54, 78, 65, .14);
  --requirements-rule-soft: rgba(54, 78, 65, .09);
  padding: 54px 0 58px;
  background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
}

section#requirements .system-requirements-heading {
  align-items: center;
  margin-bottom: 26px;
}

section#requirements .system-requirements-heading h2 {
  color: var(--cohesive-ink, #17231c);
  font-family: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: var(--excel-heading-section-size, clamp(29px, 2.35vw, 36px));
  font-weight: 620;
  line-height: 1.1;
}

section#requirements .system-requirements-lead {
  margin-top: 7px;
  color: var(--requirements-muted);
  font-size: 14px;
  line-height: 1.5;
}

section#requirements .requirements-matrix {
  overflow: visible;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
}

section#requirements .requirements-matrix-head,
section#requirements .requirements-matrix-row {
  grid-template-columns: minmax(190px, .72fr) repeat(2, minmax(0, 1.18fr));
  column-gap: clamp(26px, 3.2vw, 48px);
}

section#requirements .requirements-matrix-head {
  min-height: 64px;
  border-top: 1px solid var(--requirements-rule);
  border-bottom: 1px solid var(--requirements-rule);
  background: transparent;
}

section#requirements .requirements-matrix-head > * + *,
section#requirements .requirements-matrix-row > * + * {
  border-left: 0;
}

section#requirements .requirements-matrix-label-head,
section#requirements .requirements-plan {
  padding: 13px 0 14px;
}

section#requirements .requirements-matrix-label-head {
  align-items: flex-end;
  color: #748078;
  font-size: 10px;
  font-weight: 680;
}

section#requirements .requirements-plan {
  gap: 3px;
}

section#requirements .requirements-plan::before {
  top: auto;
  right: auto;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #d59a24;
}

section#requirements .requirements-plan-recommended::before {
  background: #168452;
}

section#requirements .requirements-plan-title {
  gap: 7px;
}

section#requirements .requirements-plan strong {
  color: var(--requirements-ink);
  font-size: 15px;
  font-weight: 650;
}

section#requirements .requirements-plan > span:last-child {
  color: #77827c;
  font-size: 11px;
  font-weight: 500;
}

section#requirements .requirements-tier-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

section#requirements .requirements-matrix-row,
section#requirements .requirements-matrix-row:nth-child(odd) {
  min-height: 58px;
  background: transparent;
}

section#requirements .requirements-matrix-row + .requirements-matrix-row {
  border-top: 1px solid var(--requirements-rule-soft);
}

section#requirements .requirements-matrix-label,
section#requirements .requirements-matrix-value {
  min-width: 0;
  padding: 13px 0;
}

section#requirements .requirements-matrix-label {
  gap: 11px;
  color: #425249;
  background: transparent;
  font-size: 12.5px;
  font-weight: 630;
}

section#requirements .requirements-matrix-label svg {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
  color: #5f786a;
  stroke-width: 1.65;
}

section#requirements .requirements-matrix-label use[href="#req-os"] {
  color: #287fb4;
  stroke: #287fb4;
}

section#requirements .requirements-matrix-label use[href="#req-cpu"] {
  color: #7259ba;
  stroke: #7259ba;
}

section#requirements .requirements-matrix-label use[href="#req-memory"] {
  color: #c27a21;
  stroke: #c27a21;
}

section#requirements .requirements-matrix-label use[href="#req-storage"] {
  color: #168a72;
  stroke: #168a72;
}

section#requirements .requirements-matrix-label use[href="#req-display"] {
  color: #4c70aa;
  stroke: #4c70aa;
}

section#requirements .requirements-matrix-label use[href="#req-connect"] {
  color: #378457;
  stroke: #378457;
}

section#requirements .requirements-matrix-value {
  color: #34423a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

section#requirements .requirements-matrix-row > .requirements-matrix-value:last-child {
  color: #26352d;
  font-weight: 550;
}

section#requirements .requirements-matrix-note {
  margin-top: 8px;
  padding: 12px 0 0;
  border-top: 1px solid var(--requirements-rule);
  border-bottom: 0;
  color: #758078;
  background: transparent;
  font-size: 10.5px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  section#requirements .requirements-matrix-head,
  section#requirements .requirements-matrix-row {
    grid-template-columns: minmax(154px, .66fr) repeat(2, minmax(0, 1.12fr));
    column-gap: 20px;
  }
}

@media (max-width: 620px) {
  section#requirements.system-requirements {
    padding: 40px 0 44px;
  }

  section#requirements .system-requirements-heading {
    margin-bottom: 22px;
  }

  section#requirements .system-requirements-heading h2 {
    font-size: 29px;
  }

  section#requirements .requirements-matrix-head,
  section#requirements .requirements-matrix-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  section#requirements .requirements-matrix-head {
    min-height: 62px;
  }

  section#requirements .requirements-matrix-label-head {
    display: none;
  }

  section#requirements .requirements-plan {
    padding: 11px 0 12px;
  }

  section#requirements .requirements-plan-minimum {
    border-left: 0;
  }

  section#requirements .requirements-plan::before {
    right: auto;
    left: 0;
  }

  section#requirements .requirements-plan strong {
    font-size: 13.5px;
  }

  section#requirements .requirements-plan > span:last-child {
    font-size: 10px;
  }

  section#requirements .requirements-matrix-row {
    padding: 4px 0 3px;
  }

  section#requirements .requirements-matrix-label {
    grid-column: 1 / -1;
    padding: 10px 0 4px;
    border-bottom: 0;
    background: transparent;
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value,
  section#requirements .requirements-matrix-row > .requirements-matrix-value + .requirements-matrix-value {
    min-height: 0;
    padding: 5px 0 11px;
    border-top: 0;
    border-left: 0;
    font-size: 12px;
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value + .requirements-matrix-value {
    padding-left: 0;
  }

  section#requirements .requirements-matrix-value::before {
    margin-bottom: 2px;
    color: #7b857f;
    font-size: 8.5px;
    font-weight: 680;
  }

  section#requirements .requirements-matrix-note {
    margin-top: 6px;
    padding-top: 10px;
  }
}

/* Requirements v4: lighter tier headers with right-aligned load gauges. */
section#requirements .requirements-matrix-head {
  min-height: 52px;
  border-top: 0;
}

section#requirements .requirements-matrix-label-head,
section#requirements .requirements-plan {
  padding: 10px 0 12px;
}

section#requirements .requirements-plan {
  gap: 0;
}

section#requirements .requirements-plan-title {
  width: 100%;
  justify-content: space-between;
  gap: 14px;
}

section#requirements .requirements-tier-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

section#requirements .requirements-tier-icon circle {
  fill: currentColor;
  stroke: none;
}

section#requirements .requirements-matrix-note {
  margin-top: 12px;
  padding: 0;
  border-top: 0;
}

@media (max-width: 620px) {
  section#requirements .requirements-matrix-head {
    min-height: 50px;
  }

  section#requirements .requirements-plan {
    padding: 9px 0 11px;
  }

  section#requirements .requirements-tier-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

/* Original hero downloads restored: one quiet shared light field, no variant chrome. */
.hero.hero-second-screen .hero-download-panel.download-original-only {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.hero.hero-second-screen .download-original-only .download-original-view {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero.hero-second-screen .download-original-only .hero-os-actions {
  position: relative;
  isolation: isolate;
}

.hero.hero-second-screen .download-original-only .hero-os-actions::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -26px -48px -24px 22px;
  pointer-events: none;
  border: 0;
  border-radius: 0 !important;
  background:
    radial-gradient(ellipse 82% 32% at 52% 17%,
      rgba(255, 255, 255, .94) 0%,
      rgba(255, 255, 255, .74) 35%,
      rgba(255, 255, 255, .32) 62%,
      rgba(255, 255, 255, 0) 82%),
    radial-gradient(ellipse 88% 34% at 52% 50%,
      rgba(255, 255, 255, .96) 0%,
      rgba(255, 255, 255, .76) 36%,
      rgba(255, 255, 255, .34) 64%,
      rgba(255, 255, 255, 0) 84%),
    radial-gradient(ellipse 82% 32% at 52% 83%,
      rgba(255, 255, 255, .92) 0%,
      rgba(255, 255, 255, .7) 35%,
      rgba(255, 255, 255, .3) 62%,
      rgba(255, 255, 255, 0) 82%);
  filter: blur(12px);
  opacity: .96;
}

.hero.hero-second-screen .download-original-only .hero-os-actions .os-option {
  position: relative;
  z-index: 1;
}

.hero.hero-second-screen .download-original-only .hero-os-actions .os-download {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    inset 0 -1px 0 rgba(0, 0, 0, .13),
    0 9px 20px var(--cta-shadow),
    0 0 30px rgba(255, 255, 255, .34);
}

@media (max-width: 620px) {
  .hero.hero-second-screen .hero-download-panel.download-original-only {
    min-height: 0;
  }

  .hero.hero-second-screen .download-original-only .hero-os-actions::before {
    inset: -18px -10px -18px 8px;
    background:
      radial-gradient(ellipse 100% 30% at 56% 17%,
        rgba(255, 255, 255, .84) 0%,
        rgba(255, 255, 255, .58) 38%,
        rgba(255, 255, 255, .22) 65%,
        rgba(255, 255, 255, 0) 84%),
      radial-gradient(ellipse 100% 32% at 56% 50%,
        rgba(255, 255, 255, .88) 0%,
        rgba(255, 255, 255, .62) 38%,
        rgba(255, 255, 255, .24) 66%,
        rgba(255, 255, 255, 0) 85%),
      radial-gradient(ellipse 100% 30% at 56% 83%,
        rgba(255, 255, 255, .82) 0%,
        rgba(255, 255, 255, .56) 38%,
        rgba(255, 255, 255, .2) 65%,
        rgba(255, 255, 255, 0) 84%);
    filter: blur(10px);
    opacity: .9;
  }
}

/* Hero background: the approved centered-light variant is now permanent. */

.hero.hero-second-screen[data-hero-background="2"] {
  background: #e7f3eb !important;
}

.hero.hero-second-screen[data-hero-background="2"]::before {
  opacity: 1 !important;
  background:
    radial-gradient(ellipse 62% 88% at 68% 50%,
      rgba(255, 255, 255, .96) 0%,
      rgba(255, 255, 255, .88) 28%,
      rgba(255, 255, 255, .6) 52%,
      rgba(255, 255, 255, .2) 72%,
      rgba(255, 255, 255, 0) 88%),
    radial-gradient(ellipse 48% 72% at 32% 65%,
      rgba(250, 253, 251, .7) 0%,
      rgba(236, 248, 241, .42) 48%,
      rgba(224, 242, 232, 0) 82%),
    linear-gradient(90deg, #deeee5 0%, #e7f3eb 24%, #f0f8f3 55%, #e5f2e9 100%) !important;
}

.hero.hero-second-screen[data-hero-background="2"] .download-original-only .hero-os-actions::before {
  opacity: 0 !important;
}

/* Requirements v2: platform tabs with a focused minimum/recommended comparison. */
section#requirements.system-requirements {
  --requirements-ink: #26312c;
  --requirements-muted: #68736d;
  --requirements-rule: rgba(54, 68, 61, .16);
  --requirements-rule-soft: rgba(54, 68, 61, .09);
  padding: 50px 0 52px;
  border-top-color: rgba(65, 76, 70, .09);
  border-bottom-color: rgba(65, 76, 70, .1);
  background:
    radial-gradient(680px 230px at 96% 0%, rgba(222, 226, 230, .22), transparent 72%),
    linear-gradient(180deg, #fafbfb 0%, #f3f5f4 100%);
}

section#requirements .system-requirements-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
  margin: 0 0 24px;
}

section#requirements .system-requirements-copy {
  min-width: 0;
}

section#requirements .system-requirements-copy .section-label {
  margin: 0 0 7px;
  color: #3b8061;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .085em;
}

section#requirements .system-requirements-heading h2 {
  margin: 0;
  color: var(--requirements-ink);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 650;
  line-height: 1.12;
}

section#requirements .system-requirements-lead {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--requirements-muted);
  font-size: 14px;
  line-height: 1.48;
}

section#requirements .requirements-platform-tabs {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 3px;
  border: 1px solid rgba(58, 71, 64, .14);
  border-radius: 5px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 7px 18px rgba(47, 58, 53, .06);
}

section#requirements .requirements-platform-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 3px;
  color: #5d6963;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  font-weight: 630;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

section#requirements .requirements-platform-tab:hover {
  color: #2d3933;
  background: rgba(234, 238, 236, .58);
}

section#requirements .requirements-platform-tab.active {
  color: #25322c;
  background: #e8ecea;
}

section#requirements .requirements-platform-tab:focus-visible {
  outline: 2px solid rgba(16, 124, 65, .62);
  outline-offset: 1px;
}

section#requirements .requirements-platform-tab img {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

section#requirements .requirements-platform-panel[hidden] {
  display: none !important;
}

section#requirements .requirements-matrix {
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(54, 68, 61, .22);
  border-bottom: 0;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .3);
  box-shadow: none !important;
}

section#requirements .requirements-matrix-head,
section#requirements .requirements-matrix-row {
  display: grid;
  grid-template-columns: minmax(210px, .78fr) repeat(2, minmax(0, 1.18fr));
  column-gap: 0;
}

section#requirements .requirements-matrix-head {
  min-height: 76px;
  border-bottom: 1px solid var(--requirements-rule);
  background: rgba(255, 255, 255, .62);
}

section#requirements .requirements-matrix-head > * + *,
section#requirements .requirements-matrix-row > * + * {
  border-left: 1px solid var(--requirements-rule-soft);
}

section#requirements .requirements-matrix-label-head,
section#requirements .requirements-plan {
  padding: 14px 18px;
}

section#requirements .requirements-matrix-label-head {
  display: flex;
  align-items: center;
  color: #67746d;
  font-size: 10.5px;
  font-weight: 740;
  letter-spacing: .07em;
  text-transform: uppercase;
}

section#requirements .requirements-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

section#requirements .requirements-plan::before {
  content: "";
  position: absolute;
  top: auto;
  right: 18px;
  bottom: -1px;
  left: 18px;
  display: block;
  width: auto;
  height: 2px;
  border-radius: 0;
  background: #d59a24;
}

section#requirements .requirements-plan-recommended::before {
  background: #168452;
}

section#requirements .requirements-plan-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

section#requirements .requirements-plan strong {
  color: var(--requirements-ink);
  font-size: 16px;
  font-weight: 680;
  line-height: 1.2;
}

section#requirements .requirements-plan > span:last-child {
  color: var(--requirements-muted);
  font-size: 11.5px;
  font-weight: 520;
  line-height: 1.35;
}

section#requirements .requirements-tier-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: currentColor;
  stroke: none;
}

section#requirements .requirements-tier-icon-minimum {
  color: #d59a24;
}

section#requirements .requirements-tier-icon-recommended {
  color: #168452;
}

section#requirements .requirements-tier-icon-minimum rect:first-child {
  opacity: .65;
}

section#requirements .requirements-tier-icon-recommended rect:nth-child(1) {
  opacity: .38;
}

section#requirements .requirements-tier-icon-recommended rect:nth-child(2) {
  opacity: .56;
}

section#requirements .requirements-tier-icon-recommended rect:nth-child(3) {
  opacity: .76;
}

section#requirements .requirements-matrix-row {
  min-height: 58px;
  background: rgba(255, 255, 255, .17);
}

section#requirements .requirements-matrix-row:nth-child(odd) {
  background: rgba(255, 255, 255, .42);
}

section#requirements .requirements-matrix-row + .requirements-matrix-row {
  border-top: 1px solid var(--requirements-rule-soft);
}

section#requirements .requirements-matrix-label,
section#requirements .requirements-matrix-value {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 12px 18px;
}

section#requirements .requirements-matrix-label {
  gap: 11px;
  color: #3f5047;
  background: rgba(226, 231, 228, .5);
  font-size: 12.75px;
  font-weight: 660;
  line-height: 1.3;
}

section#requirements .requirements-matrix-label svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: #5d7468;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

section#requirements .requirements-matrix-value {
  color: #2f3b35;
  font-size: 13px;
  font-weight: 540;
  font-variant-numeric: tabular-nums;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

section#requirements .requirements-matrix-note {
  margin: 0;
  padding: 10px 18px 11px;
  border-top: 1px solid var(--requirements-rule-soft);
  border-bottom: 1px solid var(--requirements-rule);
  color: #717c76;
  background: rgba(255, 255, 255, .3);
  font-size: 11px;
  line-height: 1.48;
}

section#requirements .requirements-matrix-note a {
  color: #2f7656;
  font-weight: 650;
  text-decoration: none;
}

section#requirements .requirements-matrix-note a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  section#requirements .system-requirements-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  section#requirements .requirements-platform-tabs {
    justify-self: start;
  }

  section#requirements .requirements-matrix-head,
  section#requirements .requirements-matrix-row {
    grid-template-columns: minmax(170px, .72fr) repeat(2, minmax(0, 1.15fr));
  }
}

@media (max-width: 620px) {
  section#requirements.system-requirements {
    padding: 38px 0 42px;
  }

  section#requirements .system-requirements-heading {
    gap: 16px;
    margin-bottom: 20px;
  }

  section#requirements .system-requirements-heading h2 {
    font-size: 26px;
  }

  section#requirements .system-requirements-lead {
    font-size: 13.5px;
  }

  section#requirements .requirements-platform-tabs {
    width: 100%;
    min-height: 40px;
  }

  section#requirements .requirements-platform-tab {
    flex: 1 1 0;
    min-width: 0;
    height: 32px;
    padding: 0 8px;
    font-size: 11.5px;
  }

  section#requirements .requirements-platform-tab img {
    width: 14px;
    height: 14px;
  }

  section#requirements .requirements-matrix-head,
  section#requirements .requirements-matrix-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  section#requirements .requirements-matrix-head {
    min-height: 70px;
  }

  section#requirements .requirements-matrix-label-head {
    display: none;
  }

  section#requirements .requirements-plan {
    padding: 12px;
  }

  section#requirements .requirements-plan-minimum {
    border-left: 0;
  }

  section#requirements .requirements-plan::before {
    right: 12px;
    left: 12px;
  }

  section#requirements .requirements-plan strong {
    font-size: 13.5px;
  }

  section#requirements .requirements-plan > span:last-child {
    font-size: 10px;
  }

  section#requirements .requirements-tier-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  section#requirements .requirements-matrix-label {
    grid-column: 1 / -1;
    padding: 11px 12px 9px;
    border-bottom: 1px solid var(--requirements-rule-soft);
    background: rgba(226, 231, 228, .5);
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value,
  section#requirements .requirements-matrix-row > .requirements-matrix-value + .requirements-matrix-value {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 5px;
    min-height: 0;
    padding: 10px 12px 12px;
    border-top: 0;
    border-left: 0;
    font-size: 12px;
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value + .requirements-matrix-value {
    border-left: 1px solid var(--requirements-rule-soft);
  }

  section#requirements .requirements-matrix-value::before {
    content: attr(data-tier);
    color: #79847e;
    font-size: 9px;
    font-weight: 740;
    letter-spacing: .055em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  section#requirements .requirements-matrix-note {
    padding: 10px 0 11px;
    background: transparent;
  }
}

@media (max-width: 390px) {
  section#requirements .requirements-platform-tab {
    gap: 5px;
    padding: 0 5px;
  }

  section#requirements .requirements-platform-tab img {
    width: 13px;
    height: 13px;
  }
}

/* FAQ toolbar: one exact control height for the topic rail and ask action. */
section#faq .faq-topic-toolbar {
  --faq-control-height: 44px;
  align-items: stretch;
}

section#faq .faq-topic-toolbar .faq-topic-nav,
section#faq .faq-topic-toolbar .faq-ask-button {
  height: var(--faq-control-height);
  min-height: var(--faq-control-height);
  max-height: var(--faq-control-height);
  align-self: stretch;
  margin-block: 0;
  box-sizing: border-box;
}

section#faq .faq-topic-toolbar .faq-ask-button {
  padding-block: 0;
  line-height: 1;
}

@media (max-width: 780px) {
  section#faq .faq-topic-toolbar .faq-topic-nav {
    height: auto;
    max-height: none;
  }
}

/* Footer rhythm: integer rows and one optical size for every link and icon. */
footer.footer {
  --footer-heading-height: 32px;
  --footer-heading-gap: 12px;
  --footer-link-height: 22px;
  --footer-link-gap: 7px;
  --footer-icon-box: 20px;
  --footer-icon-size: 18px;
}

footer.footer .footer-grid {
  align-items: start;
}

footer.footer .footer-grid > div {
  display: grid;
  grid-template-rows: var(--footer-heading-height) auto;
  align-content: start;
  row-gap: var(--footer-heading-gap);
}

footer.footer .ms-brand,
footer.footer h3 {
  height: var(--footer-heading-height);
  min-height: var(--footer-heading-height);
  margin: 0;
  align-items: center;
  font-size: 15px;
  font-weight: 680;
  line-height: 20px;
}

footer.footer p {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
}

footer.footer .footer-list {
  display: grid;
  grid-auto-rows: var(--footer-link-height);
  align-content: start;
  row-gap: var(--footer-link-gap);
  font-size: 13px;
  line-height: 18px;
}

footer.footer .footer-app {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: var(--footer-link-height);
  min-height: var(--footer-link-height);
  gap: 8px;
  line-height: 18px;
}

footer.footer .footer-app-icon {
  display: grid;
  place-items: center;
  width: var(--footer-icon-box);
  height: var(--footer-icon-box);
  flex: 0 0 var(--footer-icon-box);
}

footer.footer .footer-app-icon img {
  display: block;
  width: var(--footer-icon-size);
  height: var(--footer-icon-size);
  object-fit: contain;
}

footer.footer .footer-app-icon img[src$="microsoft-office.svg"] {
  width: 19px;
  height: 19px;
}

footer.footer .footer-app-icon img[src$="microsoft-onedrive.svg"] {
  width: 20px;
  height: auto;
  max-height: 14px;
}

footer.footer .footer-app > span:last-child {
  display: block;
  width: fit-content;
  line-height: 18px;
  white-space: nowrap;
}

footer.footer .footer-apps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--footer-link-gap) 18px;
}

footer.footer .footer-office-columns {
  align-items: start;
  column-gap: 20px;
  row-gap: 0;
}

footer.footer .footer-office-columns > .footer-list:nth-child(2) {
  padding-top: calc(var(--footer-link-height) + var(--footer-link-gap));
}

footer.footer .legal {
  align-items: center;
  font-size: 11.5px;
  line-height: 18px;
}

footer.footer .legal-links,
footer.footer .legal-link {
  align-items: center;
  line-height: 18px;
}

footer.footer .legal-link {
  min-height: 18px;
}

@media (max-width: 620px) {
  footer.footer .footer-apps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  footer.footer .legal {
    align-items: flex-start;
  }
}

/* Download concept lab: ten structural treatments over one shared data set. */
.hero.hero-second-screen .download-concept-lab {
  --concept-ink: #24333d;
  --concept-muted: #6d7d88;
  --concept-line: rgba(53, 77, 91, .16);
  --concept-surface: rgba(255, 255, 255, .76);
  box-sizing: border-box;
  font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", sans-serif;
}

.hero.hero-second-screen .download-concept-switchbar {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}

.hero.hero-second-screen .download-concept-switch-label {
  color: #74828b;
  font-size: 9.5px;
  font-weight: 730;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
}

.hero.hero-second-screen .download-concept-switcher {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(10, minmax(28px, 1fr));
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(57, 77, 90, .14);
  border-radius: 7px;
  background: rgba(255, 255, 255, .56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
}

.hero.hero-second-screen .download-concept-switch {
  min-width: 0;
  height: 29px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #71808a;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font: inherit;
  font-size: 9.5px;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.hero.hero-second-screen .download-concept-switch:hover {
  color: #2d404c;
  background: rgba(222, 229, 233, .72);
}

.hero.hero-second-screen .download-concept-switch.active {
  color: #fff;
  background: #2e414d;
  box-shadow: 0 3px 8px rgba(34, 51, 62, .15);
}

.hero.hero-second-screen .download-concept-switch:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid rgba(16, 124, 65, .52);
  outline-offset: 1px;
}

.hero.hero-second-screen .download-concept-stage {
  position: relative;
  min-height: 418px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 18px;
  overflow: hidden;
  color: var(--concept-ink);
  border: 1px solid var(--concept-line);
  border-radius: 7px;
  background: var(--concept-surface);
  box-shadow: 0 16px 38px rgba(42, 61, 72, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.hero.hero-second-screen .download-concept-stage.is-switching {
  animation: download-concept-reveal .28s ease both;
}

@keyframes download-concept-reveal {
  from { opacity: .58; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero.hero-second-screen .download-concept-intro {
  position: static;
  inset: auto;
  z-index: auto;
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: inherit;
  background: transparent !important;
  box-shadow: none;
  text-align: left;
}

.hero.hero-second-screen .download-concept-app {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 124, 65, .15);
  border-radius: 5px;
  background: #eef8f1;
}

.hero.hero-second-screen .download-concept-app img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.hero.hero-second-screen .download-concept-copy {
  min-width: 0;
}

.hero.hero-second-screen .download-concept-index {
  display: block;
  margin-bottom: 3px;
  color: #78868e;
  font-size: 8.5px;
  font-weight: 740;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.hero.hero-second-screen .download-concept-index b {
  color: #107c41;
  font-weight: 760;
}

.hero.hero-second-screen .download-concept-copy h2 {
  margin: 0;
  color: inherit;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.hero.hero-second-screen .download-concept-copy p {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--concept-muted);
  font-size: 10px;
  font-weight: 480;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.hero-second-screen .download-concept-platforms {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.hero.hero-second-screen .download-platform-card {
  --platform-accent: #147fc8;
  --platform-soft: #eaf5fd;
  --platform-ink: #1f638f;
  min-width: 0;
  box-sizing: border-box;
  color: var(--concept-ink);
}

.hero.hero-second-screen .download-platform-card[data-platform="macos"] {
  --platform-accent: #3a444c;
  --platform-soft: #edf0f2;
  --platform-ink: #3a444c;
}

.hero.hero-second-screen .download-platform-card[data-platform="android"] {
  --platform-accent: #168754;
  --platform-soft: #e8f6ee;
  --platform-ink: #147548;
}

.hero.hero-second-screen .download-platform-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero.hero-second-screen .download-platform-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--platform-accent) 18%, transparent);
  border-radius: 5px;
  background: var(--platform-soft);
}

.hero.hero-second-screen .download-platform-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero.hero-second-screen .download-platform-identity > div {
  min-width: 0;
}

.hero.hero-second-screen .download-platform-kicker {
  display: block;
  margin-bottom: 1px;
  color: var(--platform-ink);
  font-size: 8.5px;
  font-weight: 760;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}

.hero.hero-second-screen .download-platform-identity h3 {
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 690;
  letter-spacing: -.012em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.hero-second-screen .download-platform-identity p {
  margin: 2px 0 0;
  overflow: hidden;
  color: #75828b;
  font-size: 8.8px;
  font-weight: 480;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.hero-second-screen .download-platform-meta {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero.hero-second-screen .download-platform-meta li {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.hero.hero-second-screen .download-platform-meta span {
  color: #8a969d;
  font-size: 7px;
  font-weight: 720;
  letter-spacing: .045em;
  line-height: 1;
  text-transform: uppercase;
}

.hero.hero-second-screen .download-platform-meta strong {
  overflow: hidden;
  color: #566670;
  font-size: 8.3px;
  font-weight: 570;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.hero-second-screen .download-platform-action {
  min-width: 0;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  padding: 0 12px;
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--platform-accent) 84%, #17232b);
  border-radius: 5px;
  background: var(--platform-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  font: inherit;
  font-size: 10px;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: filter .16s ease, transform .16s ease, box-shadow .16s ease;
}

.hero.hero-second-screen .download-platform-action svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero.hero-second-screen .download-platform-action:hover {
  filter: brightness(.94) saturate(1.08);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--platform-accent) 20%, transparent), inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.hero.hero-second-screen .download-platform-action:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--platform-accent) 45%, transparent);
  outline-offset: 2px;
}

.hero.hero-second-screen .download-concept-stage .hero-bookmark-hint {
  width: 100%;
  margin: auto 0 0;
  padding-top: 12px;
  box-sizing: border-box;
}

/* 01 — a dense technical rail. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="01"] {
  padding: 13px 0 0;
  overflow: visible;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.hero.hero-second-screen [data-download-layout="01"] .download-concept-intro {
  padding-inline: 3px;
  margin-bottom: 10px;
}

.hero.hero-second-screen [data-download-layout="01"] .download-concept-platforms {
  gap: 8px;
}

.hero.hero-second-screen [data-download-layout="01"] .download-platform-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  grid-template-areas: "identity action" "meta meta";
  align-items: center;
  gap: 8px 12px;
  padding: 9px 10px 8px;
  border: 1px solid color-mix(in srgb, var(--platform-accent) 17%, #dce4e8);
  border-left: 3px solid var(--platform-accent);
  border-radius: 5px;
  background: rgba(255, 255, 255, .74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
}

.hero.hero-second-screen [data-download-layout="01"] .download-platform-identity { grid-area: identity; }
.hero.hero-second-screen [data-download-layout="01"] .download-platform-meta { grid-area: meta; padding-left: 48px; }
.hero.hero-second-screen [data-download-layout="01"] .download-platform-action { grid-area: action; width: 92px; }

/* 02 — a prominent Windows card with two compact companions. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="02"] {
  background: linear-gradient(150deg, rgba(248, 251, 252, .98), rgba(237, 243, 246, .9));
}

.hero.hero-second-screen [data-download-layout="02"] .download-concept-platforms {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hero.hero-second-screen [data-download-layout="02"] .download-platform-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(64, 86, 99, .14);
  border-top: 3px solid var(--platform-accent);
  border-radius: 5px;
  background: rgba(255, 255, 255, .83);
  box-shadow: 0 7px 18px rgba(52, 72, 83, .055);
}

.hero.hero-second-screen [data-download-layout="02"] .download-platform-card[data-platform="windows"] {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, .9fr) 96px;
  align-items: center;
  gap: 14px;
}

.hero.hero-second-screen [data-download-layout="02"] .download-platform-card:not([data-platform="windows"]) .download-platform-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero.hero-second-screen [data-download-layout="02"] .download-platform-action {
  width: 100%;
  margin-top: auto;
}

/* 03 — one continuous platform dock. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="03"] {
  justify-content: space-between;
  background: #fbfcfc;
}

.hero.hero-second-screen [data-download-layout="03"] .download-concept-platforms {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(55, 76, 89, .16);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 11px 26px rgba(47, 65, 76, .065);
}

.hero.hero-second-screen [data-download-layout="03"] .download-platform-card {
  min-height: 242px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px 12px;
  text-align: center;
}

.hero.hero-second-screen [data-download-layout="03"] .download-platform-card + .download-platform-card {
  border-left: 1px solid rgba(55, 76, 89, .12);
}

.hero.hero-second-screen [data-download-layout="03"] .download-platform-identity {
  flex-direction: column;
  gap: 8px;
}

.hero.hero-second-screen [data-download-layout="03"] .download-platform-icon {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
  border-radius: 50%;
}

.hero.hero-second-screen [data-download-layout="03"] .download-platform-icon img {
  width: 28px;
  height: 28px;
}

.hero.hero-second-screen [data-download-layout="03"] .download-platform-meta {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(55, 76, 89, .1);
}

.hero.hero-second-screen [data-download-layout="03"] .download-platform-meta li {
  grid-template-columns: 1fr auto;
  text-align: left;
}

.hero.hero-second-screen [data-download-layout="03"] .download-platform-meta li:nth-child(n+3) { display: none; }
.hero.hero-second-screen [data-download-layout="03"] .download-platform-action { width: 100%; margin-top: auto; }

/* 04 — a restrained release registry. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="04"] {
  background: rgba(255, 255, 255, .52);
}

.hero.hero-second-screen [data-download-layout="04"] .download-concept-intro {
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid #344957;
}

.hero.hero-second-screen [data-download-layout="04"] .download-concept-platforms {
  gap: 0;
}

.hero.hero-second-screen [data-download-layout="04"] .download-platform-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(132px, .8fr) 88px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(57, 78, 91, .13);
}

.hero.hero-second-screen [data-download-layout="04"] .download-platform-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border: 0;
  background: transparent;
}

.hero.hero-second-screen [data-download-layout="04"] .download-platform-icon img { width: 21px; height: 21px; }
.hero.hero-second-screen [data-download-layout="04"] .download-platform-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero.hero-second-screen [data-download-layout="04"] .download-platform-meta li:nth-child(n+3) { display: none; }
.hero.hero-second-screen [data-download-layout="04"] .download-platform-action { height: 31px; padding-inline: 9px; }

/* 05 — a dark command center with a leading Windows route. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="05"] {
  --concept-ink: #f4f7f8;
  --concept-muted: #aab8c0;
  border-color: #1c2a32;
  background:
    radial-gradient(320px 190px at 0 0, rgba(29, 126, 190, .22), transparent 72%),
    linear-gradient(145deg, #26343d, #1b242a);
  box-shadow: 0 18px 42px rgba(19, 30, 36, .2), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.hero.hero-second-screen [data-download-layout="05"] .download-concept-app {
  border-color: rgba(104, 222, 157, .22);
  background: rgba(42, 105, 71, .27);
}

.hero.hero-second-screen [data-download-layout="05"] .download-concept-index { color: #93a7b3; }
.hero.hero-second-screen [data-download-layout="05"] .download-concept-index b { color: #65d596; }

.hero.hero-second-screen [data-download-layout="05"] .download-concept-platforms {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.hero.hero-second-screen [data-download-layout="05"] .download-platform-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 5px;
  background: rgba(255, 255, 255, .055);
}

.hero.hero-second-screen [data-download-layout="05"] .download-platform-card[data-platform="windows"] {
  grid-row: 1 / span 2;
  justify-content: center;
  padding: 16px;
  background: rgba(31, 126, 188, .15);
}

.hero.hero-second-screen [data-download-layout="05"] .download-platform-card:not([data-platform="windows"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
}

.hero.hero-second-screen [data-download-layout="05"] .download-platform-identity h3 { color: #f5f7f8; }
.hero.hero-second-screen [data-download-layout="05"] .download-platform-identity p,
.hero.hero-second-screen [data-download-layout="05"] .download-platform-meta strong { color: #aebbc3; }
.hero.hero-second-screen [data-download-layout="05"] .download-platform-meta span { color: #7f929e; }
.hero.hero-second-screen [data-download-layout="05"] .download-platform-card:not([data-platform="windows"]) .download-platform-meta { display: none; }
.hero.hero-second-screen [data-download-layout="05"] .download-platform-card:not([data-platform="windows"]) .download-platform-action { width: 34px; padding: 0; }
.hero.hero-second-screen [data-download-layout="05"] .download-platform-card:not([data-platform="windows"]) .download-platform-action span { display: none; }
.hero.hero-second-screen [data-download-layout="05"] .download-platform-card[data-platform="windows"] .download-platform-action { width: 100%; margin-top: auto; }
.hero.hero-second-screen [data-download-layout="05"] .hero-bookmark-hint { color: #9aaab3; }
.hero.hero-second-screen [data-download-layout="05"] .hero-bookmark-hint > svg { stroke: #91a4ae; }

/* 06 — a device journey along one continuous axis. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="06"] {
  background: linear-gradient(180deg, #fafcfb, #f2f6f4);
}

.hero.hero-second-screen [data-download-layout="06"] .download-concept-platforms {
  position: relative;
  gap: 4px;
  padding-left: 17px;
}

.hero.hero-second-screen [data-download-layout="06"] .download-concept-platforms::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 18px;
  width: 1px;
  background: linear-gradient(#147fc8, #6f7a82 50%, #168754);
}

.hero.hero-second-screen [data-download-layout="06"] .download-platform-card {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  grid-template-areas: "identity action" "meta action";
  align-items: center;
  gap: 5px 12px;
  padding: 8px 0 8px 39px;
  border-bottom: 1px solid rgba(57, 79, 70, .09);
}

.hero.hero-second-screen [data-download-layout="06"] .download-platform-identity { grid-area: identity; }
.hero.hero-second-screen [data-download-layout="06"] .download-platform-icon {
  position: absolute;
  left: -1px;
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  z-index: 1;
  background: #fff;
}
.hero.hero-second-screen [data-download-layout="06"] .download-platform-icon img { width: 18px; height: 18px; }
.hero.hero-second-screen [data-download-layout="06"] .download-platform-meta { grid-area: meta; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 15px; }
.hero.hero-second-screen [data-download-layout="06"] .download-platform-meta li:nth-child(n+3) { display: none; }
.hero.hero-second-screen [data-download-layout="06"] .download-platform-action { grid-area: action; width: 86px; }

/* 07 — editorial split: promise on the left, actions on the right. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="07"] {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 0 16px;
  background: #f7f8f6;
}

.hero.hero-second-screen [data-download-layout="07"] .download-concept-intro {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 15px;
  margin: 0;
  padding: 8px 14px 8px 0;
  border-right: 1px solid rgba(53, 73, 64, .14);
  background: rgba(255, 255, 255, .5) !important;
}

.hero.hero-second-screen [data-download-layout="07"] .download-concept-app { width: 52px; height: 52px; }
.hero.hero-second-screen [data-download-layout="07"] .download-concept-app img { width: 40px; height: 40px; }
.hero.hero-second-screen [data-download-layout="07"] .download-concept-copy h2 { font-size: 23px; line-height: 1.02; }
.hero.hero-second-screen [data-download-layout="07"] .download-concept-copy p { white-space: normal; }
.hero.hero-second-screen [data-download-layout="07"] .download-concept-platforms { grid-column: 2; grid-row: 1; gap: 0; }

.hero.hero-second-screen [data-download-layout="07"] .download-platform-card {
  min-height: 89px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(55, 76, 66, .12);
}

.hero.hero-second-screen [data-download-layout="07"] .download-platform-meta { grid-column: 1; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 14px; padding-left: 48px; }
.hero.hero-second-screen [data-download-layout="07"] .download-platform-meta li:nth-child(n+3) { display: none; }
.hero.hero-second-screen [data-download-layout="07"] .download-platform-action { grid-column: 2; grid-row: 1 / span 2; width: 34px; padding: 0; }
.hero.hero-second-screen [data-download-layout="07"] .download-platform-action span { display: none; }
.hero.hero-second-screen [data-download-layout="07"] .hero-bookmark-hint { grid-column: 1 / -1; grid-row: 2; }

/* 08 — layered cards, like a small download stack. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="08"] {
  background:
    radial-gradient(280px 210px at 100% 0, rgba(35, 126, 184, .12), transparent 72%),
    linear-gradient(150deg, #f9fbfb, #edf2f3);
}

.hero.hero-second-screen [data-download-layout="08"] .download-concept-platforms {
  position: relative;
  height: 250px;
  display: block;
}

.hero.hero-second-screen [data-download-layout="08"] .download-platform-card {
  position: absolute;
  width: calc(100% - 36px);
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  grid-template-areas: "identity action" "meta action";
  align-items: center;
  gap: 6px 12px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--platform-accent) 16%, #d4dde2);
  border-radius: 5px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 28px rgba(40, 61, 73, .12);
}

.hero.hero-second-screen [data-download-layout="08"] .download-platform-card:nth-child(1) { top: 0; left: 0; z-index: 1; }
.hero.hero-second-screen [data-download-layout="08"] .download-platform-card:nth-child(2) { top: 73px; left: 18px; z-index: 2; }
.hero.hero-second-screen [data-download-layout="08"] .download-platform-card:nth-child(3) { top: 146px; left: 36px; z-index: 3; }
.hero.hero-second-screen [data-download-layout="08"] .download-platform-identity { grid-area: identity; }
.hero.hero-second-screen [data-download-layout="08"] .download-platform-meta { grid-area: meta; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 14px; padding-left: 48px; }
.hero.hero-second-screen [data-download-layout="08"] .download-platform-meta li:nth-child(n+3) { display: none; }
.hero.hero-second-screen [data-download-layout="08"] .download-platform-action { grid-area: action; width: 86px; }

/* 09 — an editorial, nearly borderless download list. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="09"] {
  padding-inline: 8px;
  overflow: visible;
  border-color: transparent;
  border-top-color: rgba(48, 68, 79, .18);
  border-bottom-color: rgba(48, 68, 79, .18);
  background: transparent;
  box-shadow: none;
}

.hero.hero-second-screen [data-download-layout="09"] .download-concept-intro {
  grid-template-columns: 1fr 44px;
  padding: 0 3px 13px;
  border-bottom: 1px solid rgba(48, 68, 79, .18);
}

.hero.hero-second-screen [data-download-layout="09"] .download-concept-app { grid-column: 2; grid-row: 1; }
.hero.hero-second-screen [data-download-layout="09"] .download-concept-copy { grid-column: 1; grid-row: 1; }
.hero.hero-second-screen [data-download-layout="09"] .download-concept-copy h2 { font-size: 21px; }
.hero.hero-second-screen [data-download-layout="09"] .download-concept-platforms { gap: 0; }

.hero.hero-second-screen [data-download-layout="09"] .download-platform-card {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, .58fr) 82px;
  align-items: center;
  gap: 12px;
  padding: 9px 3px;
  border-bottom: 1px solid rgba(48, 68, 79, .12);
}

.hero.hero-second-screen [data-download-layout="09"] .download-platform-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border: 0;
  background: transparent;
}
.hero.hero-second-screen [data-download-layout="09"] .download-platform-icon img { width: 20px; height: 20px; }
.hero.hero-second-screen [data-download-layout="09"] .download-platform-meta { grid-template-columns: 1fr; }
.hero.hero-second-screen [data-download-layout="09"] .download-platform-meta li:not(:first-child) { display: none; }
.hero.hero-second-screen [data-download-layout="09"] .download-platform-action {
  height: 30px;
  justify-content: flex-end;
  padding: 0;
  color: var(--platform-ink);
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--platform-accent) 36%, transparent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* 10 — three self-contained device decks. */
.hero.hero-second-screen .download-concept-stage[data-download-layout="10"] {
  background:
    radial-gradient(280px 180px at 50% 0, rgba(16, 124, 65, .08), transparent 75%),
    #f7faf8;
}

.hero.hero-second-screen [data-download-layout="10"] .download-concept-platforms {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.hero.hero-second-screen [data-download-layout="10"] .download-platform-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(55, 77, 67, .14);
  border-radius: 5px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 9px 22px rgba(44, 66, 54, .07);
}

.hero.hero-second-screen [data-download-layout="10"] .download-platform-card::before {
  content: "";
  height: 3px;
  margin: -14px -10px 3px;
  background: var(--platform-accent);
}

.hero.hero-second-screen [data-download-layout="10"] .download-platform-identity {
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.hero.hero-second-screen [data-download-layout="10"] .download-platform-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.hero.hero-second-screen [data-download-layout="10"] .download-platform-icon img { width: 27px; height: 27px; }
.hero.hero-second-screen [data-download-layout="10"] .download-platform-meta { grid-template-columns: 1fr; gap: 5px; }
.hero.hero-second-screen [data-download-layout="10"] .download-platform-meta li { grid-template-columns: 1fr auto; }
.hero.hero-second-screen [data-download-layout="10"] .download-platform-meta li:nth-child(3) { display: none; }
.hero.hero-second-screen [data-download-layout="10"] .download-platform-action { width: 100%; margin-top: auto; }

@media (min-width: 1081px) {
  .hero.hero-second-screen .download-concept-lab {
    align-self: center;
  }
}

@media (min-width: 1081px) and (max-width: 1335px) {
  .hero.hero-second-screen .hero-download-panel.download-concept-lab {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 1080px) {
  .hero.hero-second-screen .download-concept-lab {
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .hero.hero-second-screen .download-concept-stage {
    min-height: 410px;
  }
}

@media (max-width: 620px) {
  .hero.hero-second-screen .download-concept-switchbar {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero.hero-second-screen .download-concept-switcher {
    grid-template-columns: repeat(10, 34px);
    justify-content: start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .hero.hero-second-screen .download-concept-stage,
  .hero.hero-second-screen .download-concept-stage[data-download-layout] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 14px;
    overflow: hidden;
  }

  .hero.hero-second-screen .download-concept-intro,
  .hero.hero-second-screen [data-download-layout] .download-concept-intro {
    width: auto;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
  }

  .hero.hero-second-screen [data-download-layout] .download-concept-app {
    grid-column: 1;
    grid-row: 1;
    width: 40px;
    height: 40px;
  }

  .hero.hero-second-screen [data-download-layout] .download-concept-app img { width: 31px; height: 31px; }
  .hero.hero-second-screen [data-download-layout] .download-concept-copy { grid-column: 2; grid-row: 1; }
  .hero.hero-second-screen [data-download-layout] .download-concept-copy h2 { font-size: 18px; }
  .hero.hero-second-screen [data-download-layout] .download-concept-copy p { white-space: normal; }

  .hero.hero-second-screen [data-download-layout] .download-concept-platforms {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 8px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero.hero-second-screen [data-download-layout] .download-concept-platforms::before { content: none; }

  .hero.hero-second-screen [data-download-layout] .download-platform-card,
  .hero.hero-second-screen [data-download-layout] .download-platform-card[data-platform="windows"],
  .hero.hero-second-screen [data-download-layout] .download-platform-card:not([data-platform="windows"]),
  .hero.hero-second-screen [data-download-layout] .download-platform-card:nth-child(n) {
    position: static;
    width: 100%;
    min-height: 82px;
    display: grid;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr) 84px;
    grid-template-areas: "identity action" "meta meta";
    align-items: center;
    gap: 5px 10px;
    margin: 0;
    padding: 9px 10px;
    border: 1px solid color-mix(in srgb, var(--platform-accent) 17%, #dce4e8);
    border-left: 3px solid var(--platform-accent);
    border-radius: 5px;
    color: var(--concept-ink);
    background: rgba(255, 255, 255, .78);
    box-shadow: none;
    text-align: left;
  }

  .hero.hero-second-screen [data-download-layout] .download-platform-card::before { content: none; }
  .hero.hero-second-screen [data-download-layout] .download-platform-identity { grid-area: identity; flex-direction: row; align-items: center; }
  .hero.hero-second-screen [data-download-layout] .download-platform-identity h3 { color: var(--concept-ink); }
  .hero.hero-second-screen [data-download-layout] .download-platform-identity p { color: #75828b; }

  .hero.hero-second-screen [data-download-layout] .download-platform-icon {
    position: static;
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border: 1px solid color-mix(in srgb, var(--platform-accent) 18%, transparent);
    border-radius: 5px;
    background: var(--platform-soft);
  }

  .hero.hero-second-screen [data-download-layout] .download-platform-icon img { width: 21px; height: 21px; }

  .hero.hero-second-screen [data-download-layout] .download-platform-meta {
    grid-area: meta;
    width: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: start;
    gap: 12px;
    padding: 0 0 0 44px;
    border: 0;
  }

  .hero.hero-second-screen [data-download-layout] .download-platform-meta li { display: grid; grid-template-columns: 1fr; }
  .hero.hero-second-screen [data-download-layout] .download-platform-meta li:nth-child(n+3) { display: none; }
  .hero.hero-second-screen [data-download-layout] .download-platform-meta strong { color: #566670; }
  .hero.hero-second-screen [data-download-layout] .download-platform-meta span { color: #8a969d; }

  .hero.hero-second-screen [data-download-layout] .download-platform-action,
  .hero.hero-second-screen [data-download-layout] .download-platform-card:not([data-platform="windows"]) .download-platform-action {
    grid-area: action;
    width: 84px;
    height: 34px;
    justify-content: center;
    margin: 0;
    padding: 0 8px;
    color: #fff;
    border: 1px solid color-mix(in srgb, var(--platform-accent) 84%, #17232b);
    border-radius: 5px;
    background: var(--platform-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  }

  .hero.hero-second-screen [data-download-layout] .download-platform-action span,
  .hero.hero-second-screen [data-download-layout] .download-platform-card:not([data-platform="windows"]) .download-platform-action span { display: inline; }

  .hero.hero-second-screen [data-download-layout="05"] .hero-bookmark-hint { color: #9aaab3; }
  .hero.hero-second-screen .download-concept-stage .hero-bookmark-hint { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero-second-screen .download-concept-stage.is-switching { animation: none; }
  .hero.hero-second-screen .download-concept-switch,
  .hero.hero-second-screen .download-platform-action { transition: none; }
}

/* Final comparison: keep the selected rail and the untouched pre-gallery block. */
.hero.hero-second-screen .download-view-switcher {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}

.hero.hero-second-screen .download-view-switch {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 0 9px;
  text-align: left;
}

.hero.hero-second-screen .download-view-switch b {
  width: 21px;
  flex: 0 0 21px;
  color: #60717c;
  font-size: 9px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
  line-height: 1;
}

.hero.hero-second-screen .download-view-switch span {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.hero-second-screen .download-view-switch.active b {
  color: #bfe8cf;
}

.hero.hero-second-screen .download-view-panel[hidden] {
  display: none !important;
}

.hero.hero-second-screen .download-original-view {
  min-height: 418px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.hero.hero-second-screen .download-original-view.is-switching {
  animation: download-concept-reveal .28s ease both;
}

.hero.hero-second-screen .download-original-view .hero-bookmark-hint {
  width: calc(100% - 86px);
  max-width: 100%;
  min-height: 22px;
  margin: 16px 0 0 86px;
  padding: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #5f7067;
  font-size: 11px;
  font-weight: 520;
  line-height: 1.35;
  text-align: left;
  text-wrap: nowrap;
}

.hero.hero-second-screen .download-original-view .hero-bookmark-hint > span {
  white-space: nowrap;
}

.hero.hero-second-screen .download-original-view .hero-shortcut {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hero.hero-second-screen .download-original-view .hero-shortcut-plus {
  color: #718077;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.hero.hero-second-screen .download-original-view .hero-bookmark-hint > svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #3d765b;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero.hero-second-screen .download-original-view .hero-bookmark-hint kbd {
  min-width: 0;
  height: 22px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 7px;
  color: #40564b;
  border: 1px solid rgba(62, 86, 73, .24);
  border-bottom-color: rgba(62, 86, 73, .38);
  border-radius: 3px !important;
  background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 1px 1px rgba(53, 70, 80, .05);
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  vertical-align: -1px;
  white-space: nowrap;
}

.hero.hero-second-screen .download-original-view .hero-shortcut kbd:first-child {
  min-width: 34px;
}

.hero.hero-second-screen .download-original-view .hero-shortcut kbd:last-child {
  min-width: 24px;
}

@media (max-width: 1080px) and (min-width: 621px) {
  .hero.hero-second-screen .download-original-view .hero-bookmark-hint {
    width: calc(100% - 68px);
    margin-left: 68px;
  }
}

@media (max-width: 620px) {
  .hero.hero-second-screen .download-view-switcher {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    overflow-x: visible;
  }

  .hero.hero-second-screen .download-original-view {
    min-height: 0;
  }

  .hero.hero-second-screen .download-original-view .hero-bookmark-hint {
    width: 100%;
    margin: 14px 0 0;
    padding-top: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    font-size: 10.5px;
    text-align: center;
    text-wrap: balance;
  }

  .hero.hero-second-screen .download-original-view .hero-bookmark-hint > span {
    white-space: normal;
  }

  .hero.hero-second-screen .download-original-view .hero-bookmark-hint > .hero-shortcut {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero-second-screen .download-original-view.is-switching {
    animation: none;
  }
}

/* Signature tab rails: one shared visual language across the catalog, requirements and FAQ. */
section#requirements .requirements-platform-tabs,
#versions .filter-list,
section#faq .faq-topic-toolbar .faq-topic-nav {
  gap: 4px !important;
  min-height: 42px;
  padding: 3px !important;
  border: 1px solid rgba(58, 71, 64, .14) !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 7px 18px rgba(47, 58, 53, .06) !important;
  box-sizing: border-box;
}

#versions .filter-list,
section#faq .faq-topic-toolbar .faq-topic-nav {
  display: grid !important;
  align-items: center;
  gap: 4px !important;
}

#versions .filter-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 560px);
  overflow: hidden;
}

section#faq .faq-topic-toolbar {
  --faq-control-height: 44px;
  align-items: stretch;
  gap: 10px;
}

section#faq .faq-topic-toolbar .faq-topic-nav {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: auto;
  height: var(--faq-control-height) !important;
  min-height: var(--faq-control-height) !important;
  max-height: var(--faq-control-height) !important;
  overflow: hidden;
}

section#faq .faq-topic-toolbar .faq-topic {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
}

section#requirements .requirements-platform-tab,
#versions .filter-button,
section#faq .faq-topic {
  position: relative;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 3px !important;
  color: #5d6963 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 12.5px;
  font-weight: 630;
  line-height: 1;
  cursor: pointer;
  transform: none !important;
  transition: color .18s ease, background-color .18s ease;
}

section#requirements .requirements-platform-tab {
  min-width: 112px;
  padding-inline: 14px;
}

section#requirements .requirements-platform-tab:hover,
#versions .filter-button:not(.active):hover,
section#faq .faq-topic:not(.active):hover {
  color: #2d3933 !important;
  background: rgba(234, 238, 236, .58) !important;
}

section#requirements .requirements-platform-tab.active,
#versions .filter-button.active,
#versions .filter-button.active:hover,
section#faq .faq-topic.active,
section#faq .faq-topic.active:hover {
  color: #25322c !important;
  background: #e8ecea !important;
  box-shadow: none !important;
}

section#requirements .requirements-platform-tab:focus-visible,
#versions .filter-button:focus-visible,
section#faq .faq-topic:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(16, 124, 65, .62) !important;
}

section#requirements .requirements-platform-tab img,
#versions .filter-button::before,
#versions .filter-icon-all,
section#faq .faq-topic svg {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
}

#versions .filter-button::before {
  mask-size: 15px 15px;
  -webkit-mask-size: 15px 15px;
  opacity: .86;
}

#versions .filter-button.active::before,
#versions .filter-button:hover::before,
#versions .filter-button:focus-visible::before {
  opacity: 1;
}

section#faq .faq-topic svg,
section#faq .faq-topic:nth-child(n) svg,
section#faq .faq-topic.active svg {
  box-sizing: border-box;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #607069 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  stroke-width: 1.7;
}

section#faq .faq-topic.active svg {
  color: #107c41 !important;
}

section#faq .faq-topic.active::before {
  content: none;
  display: none;
}

section#faq .faq-topic-toolbar .faq-ask-button {
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  align-self: center;
  padding-block: 0;
  box-sizing: border-box;
  border-radius: 5px !important;
  line-height: 1;
  transform: none !important;
}

section#faq .faq-topic-toolbar .faq-ask-button:hover,
section#faq .faq-topic-toolbar .faq-ask-button:focus-visible {
  transform: none !important;
}

@media (max-width: 780px) {
  section#faq .faq-topic-toolbar .faq-topic-nav {
    display: flex !important;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  section#faq .faq-topic-toolbar .faq-ask-button {
    height: var(--faq-control-height) !important;
    min-height: var(--faq-control-height) !important;
    max-height: var(--faq-control-height) !important;
    align-self: stretch;
  }

  section#faq .faq-topic-toolbar .faq-topic-nav::-webkit-scrollbar {
    display: none;
  }

  section#faq .faq-topic {
    min-width: 112px;
    flex: 0 0 112px;
  }
}

@media (max-width: 620px) {
  #versions .filter-list {
    display: flex !important;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  #versions .filter-list::-webkit-scrollbar {
    display: none;
  }

  #versions .filter-button,
  #versions .filter-button:last-child {
    min-width: 106px;
    flex: 0 0 106px;
    grid-column: auto;
  }
}

/* Hero download rail v2: one quiet, legible technical surface. */
.hero.hero-second-screen .download-concept-switchbar {
  margin-bottom: 10px;
}

.hero.hero-second-screen .download-view-switcher {
  min-height: 42px;
  padding: 3px;
  gap: 0;
  border: 1px solid rgba(58, 71, 64, .14);
  border-radius: 5px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 7px 18px rgba(47, 58, 53, .06);
  box-sizing: border-box;
}

.hero.hero-second-screen .download-view-switch {
  height: 34px;
  padding: 0 11px;
  border-radius: 3px;
  color: #5d6963;
  background: transparent;
  box-shadow: none;
}

.hero.hero-second-screen .download-view-switch:hover {
  color: #2d3933;
  background: rgba(234, 238, 236, .58);
}

.hero.hero-second-screen .download-view-switch.active,
.hero.hero-second-screen .download-view-switch.active:hover {
  color: #25322c;
  background: #e8ecea;
  box-shadow: none;
}

.hero.hero-second-screen .download-view-switch b,
.hero.hero-second-screen .download-view-switch.active b {
  color: #107c41;
}

.hero.hero-second-screen #download-view-modern {
  min-height: 418px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(58, 71, 64, .14);
  border-radius: 5px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 32px rgba(47, 58, 53, .07), inset 0 1px 0 rgba(255, 255, 255, .92);
}

.hero.hero-second-screen #download-view-modern .download-concept-intro {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 15px 16px 14px;
  border-bottom: 1px solid rgba(58, 71, 64, .11);
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(248, 250, 249, .78)) !important;
}

.hero.hero-second-screen #download-view-modern .download-concept-app {
  width: 42px;
  height: 42px;
  border-color: rgba(16, 124, 65, .13);
  border-radius: 5px;
  background: #edf6f0;
}

.hero.hero-second-screen #download-view-modern .download-concept-app img {
  width: 32px;
  height: 32px;
}

.hero.hero-second-screen #download-view-modern .download-concept-index {
  margin-bottom: 4px;
  color: #107c41;
  font-size: 9.5px;
  font-weight: 740;
  letter-spacing: .055em;
}

.hero.hero-second-screen #download-view-modern .download-concept-copy h2 {
  color: #25322c;
  font-size: 17px;
  font-weight: 670;
  letter-spacing: -.018em;
}

.hero.hero-second-screen #download-view-modern .download-concept-copy p {
  margin-top: 4px;
  overflow: visible;
  color: #69756f;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
}

.hero.hero-second-screen #download-view-modern .download-concept-platforms {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.hero.hero-second-screen #download-view-modern .download-platform-card,
.hero.hero-second-screen #download-view-modern .download-platform-card[data-platform="windows"],
.hero.hero-second-screen #download-view-modern .download-platform-card:not([data-platform="windows"]) {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  grid-template-areas: "identity action" "meta meta";
  align-content: center;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  padding: 11px 14px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero.hero-second-screen #download-view-modern .download-platform-card + .download-platform-card {
  border-top: 1px solid rgba(58, 71, 64, .1);
}

.hero.hero-second-screen #download-view-modern .download-platform-card::before {
  content: none;
}

.hero.hero-second-screen #download-view-modern .download-platform-identity {
  grid-area: identity;
  gap: 10px;
}

.hero.hero-second-screen #download-view-modern .download-platform-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-radius: 3px;
  background: var(--platform-soft);
}

.hero.hero-second-screen #download-view-modern .download-platform-icon img {
  width: 20px;
  height: 20px;
}

.hero.hero-second-screen #download-view-modern .download-platform-kicker {
  margin-bottom: 2px;
  font-size: 9.5px;
  letter-spacing: .015em;
  text-transform: none;
}

.hero.hero-second-screen #download-view-modern .download-platform-identity h3 {
  color: #2a3730;
  font-size: 14px;
  font-weight: 670;
}

.hero.hero-second-screen #download-view-modern .download-platform-identity p {
  margin-top: 2px;
  color: #718079;
  font-size: 10.5px;
  line-height: 1.25;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta {
  grid-area: meta;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 0 0 42px;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta li {
  display: grid;
  gap: 2px;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta span {
  color: #88948e;
  font-size: 8.5px;
  font-weight: 720;
  letter-spacing: .04em;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta strong {
  color: #55645d;
  font-size: 10.5px;
  font-weight: 570;
  line-height: 1.25;
}

.hero.hero-second-screen #download-view-modern .download-platform-action,
.hero.hero-second-screen #download-view-modern .download-platform-card:not([data-platform="windows"]) .download-platform-action {
  grid-area: action;
  width: 94px;
  height: 38px;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  color: #fff;
  border: 1px solid #0d6f3b;
  border-radius: 5px;
  background: #107c41;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  font-size: 11.5px;
  font-weight: 680;
}

.hero.hero-second-screen #download-view-modern .download-platform-action:hover {
  border-color: #0a6335;
  background: #0d713b;
  box-shadow: 0 6px 14px rgba(16, 101, 54, .14), inset 0 1px 0 rgba(255, 255, 255, .16);
  filter: none;
  transform: none;
}

.hero.hero-second-screen #download-view-modern .download-platform-action:focus-visible {
  outline-color: rgba(16, 124, 65, .48);
}

.hero.hero-second-screen #download-view-modern .hero-bookmark-hint {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 9px 14px 10px;
  justify-content: flex-start;
  border-top: 1px solid rgba(58, 71, 64, .1);
  background: rgba(247, 249, 248, .72);
  color: #6d7a74;
  font-size: 10px;
  line-height: 1.35;
  text-align: left;
}

.hero.hero-second-screen #download-view-modern .hero-bookmark-hint > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

@media (max-width: 620px) {
  .hero.hero-second-screen .download-concept-switch-label {
    justify-self: start;
    padding-left: 3px;
    text-align: left;
  }

  .hero.hero-second-screen .download-view-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }

  .hero.hero-second-screen #download-view-modern {
    min-height: 0;
  }

  .hero.hero-second-screen #download-view-modern .download-concept-intro {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 12px;
  }

  .hero.hero-second-screen #download-view-modern .download-concept-app {
    width: 40px;
    height: 40px;
  }

  .hero.hero-second-screen #download-view-modern .download-platform-card,
  .hero.hero-second-screen #download-view-modern .download-platform-card[data-platform="windows"],
  .hero.hero-second-screen #download-view-modern .download-platform-card:not([data-platform="windows"]) {
    grid-template-columns: minmax(0, 1fr) 96px;
    grid-template-areas: "identity action" "meta meta";
    gap: 8px 10px;
    padding: 11px 12px 10px;
  }

  .hero.hero-second-screen #download-view-modern .download-platform-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 12px;
    padding-left: 42px;
  }

  .hero.hero-second-screen #download-view-modern .download-platform-meta li:nth-child(n+3) {
    display: grid;
  }

  .hero.hero-second-screen #download-view-modern .download-platform-action,
  .hero.hero-second-screen #download-view-modern .download-platform-card:not([data-platform="windows"]) .download-platform-action {
    width: 96px;
    height: 44px;
  }

  .hero.hero-second-screen #download-view-modern .hero-bookmark-hint {
    padding-inline: 12px;
  }
}

/* Hero download rail v3: three independent platform routes. */
.hero.hero-second-screen #download-view-modern {
  min-height: 418px;
  padding: 5px 0 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero.hero-second-screen #download-view-modern .download-concept-intro {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
  margin: 0 3px 11px;
  padding: 0;
  border: 0;
  background: transparent !important;
}

.hero.hero-second-screen #download-view-modern .download-concept-app {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(16, 124, 65, .12);
  border-radius: 4px;
  background: rgba(226, 242, 232, .8);
}

.hero.hero-second-screen #download-view-modern .download-concept-app img {
  width: 31px;
  height: 31px;
}

.hero.hero-second-screen #download-view-modern .download-concept-index {
  margin-bottom: 3px;
  color: #4f6a5b;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .035em;
}

.hero.hero-second-screen #download-view-modern .download-concept-copy h2 {
  color: #213029;
  font-size: 18px;
  font-weight: 680;
}

.hero.hero-second-screen #download-view-modern .download-concept-copy p {
  margin-top: 3px;
  color: #718078;
  font-size: 10.5px;
  line-height: 1.3;
}

.hero.hero-second-screen #download-view-modern .download-concept-platforms {
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.hero.hero-second-screen #download-view-modern .download-platform-card,
.hero.hero-second-screen #download-view-modern .download-platform-card[data-platform="windows"],
.hero.hero-second-screen #download-view-modern .download-platform-card:not([data-platform="windows"]) {
  --route-border: rgba(20, 127, 200, .18);
  --route-surface: linear-gradient(112deg, rgba(230, 244, 252, .96), rgba(242, 249, 251, .84));
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  grid-template-areas: "identity action" "meta meta";
  align-content: center;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  padding: 12px 14px 11px;
  border: 1px solid var(--route-border);
  border-radius: 4px;
  background: var(--route-surface);
  box-shadow: 0 8px 20px rgba(41, 58, 50, .045), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.hero.hero-second-screen #download-view-modern .download-platform-card[data-platform="macos"] {
  --route-border: rgba(57, 68, 76, .17);
  --route-surface: linear-gradient(112deg, rgba(234, 239, 242, .96), rgba(245, 247, 248, .86));
}

.hero.hero-second-screen #download-view-modern .download-platform-card[data-platform="android"] {
  --route-border: rgba(22, 135, 84, .18);
  --route-surface: linear-gradient(112deg, rgba(230, 246, 237, .96), rgba(242, 249, 245, .86));
}

.hero.hero-second-screen #download-view-modern .download-platform-card + .download-platform-card {
  border-top: 1px solid var(--route-border);
}

.hero.hero-second-screen #download-view-modern .download-platform-card::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px -1px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--platform-accent);
  opacity: .78;
}

.hero.hero-second-screen #download-view-modern .download-platform-identity {
  grid-area: identity;
  gap: 10px;
}

.hero.hero-second-screen #download-view-modern .download-platform-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid color-mix(in srgb, var(--platform-accent) 16%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--platform-soft) 82%, white);
}

.hero.hero-second-screen #download-view-modern .download-platform-icon img {
  width: 21px;
  height: 21px;
}

.hero.hero-second-screen #download-view-modern .download-platform-kicker {
  margin-bottom: 2px;
  color: var(--platform-ink);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.hero.hero-second-screen #download-view-modern .download-platform-identity h3 {
  color: #26342d;
  font-size: 14.5px;
  font-weight: 690;
}

.hero.hero-second-screen #download-view-modern .download-platform-identity p {
  margin-top: 2px;
  color: #697871;
  font-size: 10px;
  line-height: 1.2;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta {
  grid-area: meta;
  width: 100%;
  display: grid;
  grid-template-columns: .68fr .86fr 1.46fr;
  align-items: start;
  gap: 0;
  padding: 9px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--platform-accent) 13%, rgba(82, 98, 89, .16));
}

.hero.hero-second-screen #download-view-modern .download-platform-meta li {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 0 12px;
  border-left: 1px solid color-mix(in srgb, var(--platform-accent) 11%, rgba(82, 98, 89, .13));
}

.hero.hero-second-screen #download-view-modern .download-platform-meta li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta li:nth-child(3) {
  display: none;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta li:nth-child(4) {
  display: grid;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta li:not(:first-child)::before {
  content: none;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta span {
  display: block;
  color: color-mix(in srgb, var(--platform-ink) 58%, #849089);
  font-size: 7.5px;
  font-weight: 740;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}

.hero.hero-second-screen #download-view-modern .download-platform-meta strong {
  overflow: hidden;
  color: #4c5b53;
  font-size: 10.5px;
  font-weight: 620;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero.hero-second-screen #download-view-modern .download-platform-action,
.hero.hero-second-screen #download-view-modern .download-platform-card:not([data-platform="windows"]) .download-platform-action {
  grid-area: action;
  width: 104px;
  height: 40px;
  align-self: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--platform-accent) 84%, #17232b);
  border-radius: 4px;
  background: var(--platform-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  font-size: 11.5px;
  font-weight: 690;
}

.hero.hero-second-screen #download-view-modern .download-platform-action:hover,
.hero.hero-second-screen #download-view-modern .download-platform-card:not([data-platform="windows"]) .download-platform-action:hover {
  border-color: color-mix(in srgb, var(--platform-accent) 78%, #101b16);
  background: color-mix(in srgb, var(--platform-accent) 90%, #101b16);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--platform-accent) 17%, transparent), inset 0 1px 0 rgba(255, 255, 255, .16);
  filter: none;
  transform: none;
}

.hero.hero-second-screen #download-view-modern .download-platform-action:focus-visible {
  outline-color: color-mix(in srgb, var(--platform-accent) 48%, transparent);
}

.hero.hero-second-screen #download-view-modern .hero-bookmark-hint {
  width: auto;
  min-height: 0;
  margin: 10px 3px 0;
  padding: 0;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  color: #6f7d76;
  font-size: 9.5px;
  line-height: 1.35;
  text-align: left;
}

.hero.hero-second-screen #download-view-modern .hero-bookmark-hint > svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  color: #557468;
}

@media (max-width: 620px) {
  .hero.hero-second-screen #download-view-modern {
    min-height: 0;
    padding-top: 3px;
  }

  .hero.hero-second-screen #download-view-modern .download-concept-intro {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    margin-inline: 2px;
    padding: 0;
  }

  .hero.hero-second-screen #download-view-modern .download-concept-app {
    width: 38px;
    height: 38px;
  }

  .hero.hero-second-screen #download-view-modern .download-concept-app img {
    width: 29px;
    height: 29px;
  }

  .hero.hero-second-screen #download-view-modern .download-platform-card,
  .hero.hero-second-screen #download-view-modern .download-platform-card[data-platform="windows"],
  .hero.hero-second-screen #download-view-modern .download-platform-card:not([data-platform="windows"]) {
    grid-template-columns: minmax(0, 1fr) 94px;
    grid-template-areas: "identity action" "meta meta";
    gap: 9px 10px;
    padding: 11px 10px 10px;
  }

  .hero.hero-second-screen #download-view-modern .download-platform-meta {
    display: grid;
    grid-template-columns: .68fr .86fr 1.46fr;
    gap: 0;
    padding: 9px 0 0;
  }

  .hero.hero-second-screen #download-view-modern .download-platform-meta li:nth-child(3) {
    display: none;
  }

  .hero.hero-second-screen #download-view-modern .download-platform-action,
  .hero.hero-second-screen #download-view-modern .download-platform-card:not([data-platform="windows"]) .download-platform-action {
    width: 94px;
    height: 44px;
  }

  .hero.hero-second-screen #download-view-modern .hero-bookmark-hint {
    margin-inline: 2px;
    padding: 0;
  }
}

/* Requirements v3 final: light, open and informative instead of a boxed table. */
section#requirements.system-requirements {
  --requirements-ink: #1d2c24;
  --requirements-muted: #6b747a;
  --requirements-rule: rgba(70, 82, 91, .14);
  --requirements-rule-soft: rgba(70, 82, 91, .085);
  padding: 54px 0 58px;
  border-top-color: rgba(70, 82, 91, .08);
  border-bottom-color: rgba(70, 82, 91, .09);
  background:
    radial-gradient(760px 300px at 96% 6%, rgba(184, 201, 216, .11), transparent 72%),
    radial-gradient(680px 300px at -4% 100%, rgba(214, 219, 224, .18), transparent 74%),
    linear-gradient(180deg, #fbfcfd 0%, #f3f5f6 100%);
}

section#requirements .system-requirements-heading {
  align-items: center;
  margin-bottom: 26px;
}

section#requirements .system-requirements-heading h2 {
  color: var(--cohesive-ink, #17231c);
  font-family: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: clamp(31px, 3.2vw, 36px);
  font-weight: 620;
  line-height: 1.1;
}

section#requirements .system-requirements-lead {
  margin-top: 7px;
  color: var(--requirements-muted);
  font-size: 14px;
  line-height: 1.5;
}

section#requirements .requirements-matrix {
  overflow: visible;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none !important;
}

section#requirements .requirements-matrix-head,
section#requirements .requirements-matrix-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px;
}

section#requirements .requirements-matrix-head {
  min-height: 64px;
  border-top: 1px solid var(--requirements-rule);
  border-bottom: 1px solid var(--requirements-rule);
  background: transparent;
}

section#requirements .requirements-matrix-head > * + *,
section#requirements .requirements-matrix-row > * + * {
  border-left: 0;
}

section#requirements .requirements-matrix-label-head,
section#requirements .requirements-plan {
  padding: 13px 0 14px;
}

section#requirements .requirements-matrix-label-head {
  align-items: flex-end;
  color: #748078;
  font-size: 10px;
  font-weight: 680;
}

section#requirements .requirements-plan {
  gap: 3px;
}

section#requirements .requirements-plan::before {
  top: auto;
  right: auto;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #d59a24;
}

section#requirements .requirements-plan-recommended::before {
  background: #168452;
}

section#requirements .requirements-plan-title {
  gap: 7px;
}

section#requirements .requirements-plan strong {
  color: var(--requirements-ink);
  font-size: 15px;
  font-weight: 650;
}

section#requirements .requirements-plan > span:last-child {
  color: #77827c;
  font-size: 11px;
  font-weight: 500;
}

section#requirements .requirements-tier-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

section#requirements .requirements-matrix-row,
section#requirements .requirements-matrix-row:nth-child(odd) {
  min-height: 58px;
  background: transparent;
}

section#requirements .requirements-matrix-row + .requirements-matrix-row {
  border-top: 1px solid var(--requirements-rule-soft);
}

section#requirements .requirements-matrix-label,
section#requirements .requirements-matrix-value {
  min-width: 0;
  padding: 13px 0;
}

section#requirements .requirements-matrix-label {
  gap: 11px;
  color: #425249;
  background: transparent;
  font-size: 12.5px;
  font-weight: 630;
}

section#requirements .requirements-matrix-label svg {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
  color: #5f786a;
  stroke-width: 1.65;
}

section#requirements .requirements-matrix-label use[href="#req-os"] {
  color: #287fb4;
  stroke: #287fb4;
}

section#requirements .requirements-matrix-label use[href="#req-cpu"] {
  color: #7259ba;
  stroke: #7259ba;
}

section#requirements .requirements-matrix-label use[href="#req-memory"] {
  color: #c27a21;
  stroke: #c27a21;
}

section#requirements .requirements-matrix-label use[href="#req-storage"] {
  color: #168a72;
  stroke: #168a72;
}

section#requirements .requirements-matrix-label use[href="#req-display"] {
  color: #4c70aa;
  stroke: #4c70aa;
}

section#requirements .requirements-matrix-label use[href="#req-connect"] {
  color: #378457;
  stroke: #378457;
}

section#requirements .requirements-matrix-value {
  color: #34423a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

section#requirements .requirements-matrix-row > .requirements-matrix-value:last-child {
  color: #26352d;
  font-weight: 550;
}

section#requirements .requirements-matrix-note {
  margin-top: 8px;
  padding: 12px 0 0;
  border-top: 1px solid var(--requirements-rule);
  border-bottom: 0;
  color: #758078;
  background: transparent;
  font-size: 10.5px;
  line-height: 1.5;
}

@media (max-width: 980px) and (min-width: 621px) {
  section#requirements .requirements-matrix-head,
  section#requirements .requirements-matrix-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(22px, 4vw, 34px);
  }

  section#requirements .requirements-matrix-label-head {
    display: none;
  }

  section#requirements .requirements-matrix-label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  section#requirements.system-requirements {
    padding: 40px 0 44px;
  }

  section#requirements .system-requirements-heading {
    margin-bottom: 22px;
  }

  section#requirements .system-requirements-heading h2 {
    font-size: 29px;
  }

  section#requirements .requirements-matrix-head {
    display: none;
  }

  section#requirements .requirements-matrix-row {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  section#requirements .requirements-matrix-head {
    min-height: 62px;
  }

  section#requirements .requirements-matrix-label-head {
    display: none;
  }

  section#requirements .requirements-plan {
    padding: 11px 0 12px;
  }

  section#requirements .requirements-plan-minimum {
    border-left: 0;
  }

  section#requirements .requirements-plan::before {
    right: auto;
    left: 0;
  }

  section#requirements .requirements-plan strong {
    font-size: 13.5px;
  }

  section#requirements .requirements-plan > span:last-child {
    font-size: 10px;
  }

  section#requirements .requirements-matrix-row {
    padding: 4px 0 3px;
  }

  section#requirements .requirements-matrix-label {
    grid-column: auto;
    padding: 10px 0 4px;
    border-bottom: 0;
    background: transparent;
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value,
  section#requirements .requirements-matrix-row > .requirements-matrix-value + .requirements-matrix-value {
    min-height: 0;
    padding: 5px 0 11px;
    border-top: 0;
    border-left: 0;
    font-size: 12px;
  }

  section#requirements .requirements-matrix-row > .requirements-matrix-value + .requirements-matrix-value {
    padding-left: 0;
  }

  section#requirements .requirements-matrix-value::before {
    margin-bottom: 2px;
    color: #7b857f;
    font-size: 8.5px;
    font-weight: 680;
  }

  section#requirements .requirements-matrix-note {
    margin-top: 6px;
    padding-top: 10px;
  }
}
