.demo-start-content { overflow: auto; }
.demo-start-content .demo-intro { margin-bottom: 26px; }
.demo-start-content .demo-intro h1 { font-size: 30px; }
.demo-start-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; max-width: 1150px; padding-top: 24px; padding-bottom: 10px; }
.demo-start-products--single { max-width: 555px; }
.demo-start-product { --product-accent: #a22473; --product-line: #e6cedd; position: relative; min-width: 0; min-height: 426px; display: flex; flex-direction: column; padding: 28px 28px 24px; color: var(--ink); background: #fbf1f7; border: 1px solid var(--product-line); border-radius: 10px; transition: border-color .25s ease, box-shadow .25s ease; }
.demo-start-product--sheet { --product-accent: #247a77; --product-line: #cadfdd; background: #edf6f4; }
.demo-start-product:is(:hover, :focus-visible) { color: var(--ink); border-color: var(--product-accent); box-shadow: 0 10px 26px #29394a0c; }
.demo-start-product:focus-visible { outline: 2px solid var(--product-accent); outline-offset: 4px; }
.demo-start-product__details { min-width: 0; flex: 1 1 auto; }
.demo-start-product h2 { margin: 0; font-size: 23px; font-weight: 650; letter-spacing: -.025em; }
.demo-start-product__heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.demo-start-product__heading .tree-badge { margin-left: 0; }
.demo-start-product__details > p { margin: 12px 0 0; color: #5d6979; font-size: 12px; line-height: 1.8; }
.demo-start-product__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--product-line); }
.demo-start-product__count { color: #7d8694; font-size: 11px; }
.demo-start-product__action { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 17px; color: var(--product-accent); font-size: 12px; font-weight: 600; }
.demo-start-product__action > span { font-size: 20px; line-height: 1; transition: transform .25s ease; }
.demo-start-product:is(:hover, :focus-visible) .demo-start-product__action > span { transform: translateX(4px); }

/* The previews are document illustrations; only the containing product link is interactive. */
.demo-start-art { position: relative; height: 230px; flex: 0 0 230px; margin: -48px 0 24px; pointer-events: none; }
.demo-start-art--document::before { content: ""; position: absolute; top: 10px; left: calc(50% - 118px); width: 236px; height: 222px; background: #fff9fc; border: 1px solid #e6d7e2; border-radius: 2px; transform: rotate(3deg); transition: transform .35s ease; }
.document-preview { position: relative; z-index: 1; width: min(246px, 100%); height: 236px; margin: 0 auto; padding: 20px 23px 16px; color: #414759; background: #fff; border: 1px solid #e6dce5; border-radius: 2px; box-shadow: 0 10px 20px #6d3d6720; transform: rotate(-4deg); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.document-preview__brand { display: flex; justify-content: space-between; padding-bottom: 10px; margin-bottom: 13px; border-bottom: 2px solid #bc438a; color: #70536d; font-size: 7px; font-weight: 750; letter-spacing: .12em; }
.document-preview__brand > span { color: #99939f; font-weight: 500; }
.document-preview__title { display: block; margin-bottom: 10px; font-family: Georgia, serif; font-size: 22px; line-height: 1.1; font-weight: 400; letter-spacing: -.025em; }
.document-preview > p { margin: 0 0 12px; font-size: 7px; line-height: 1.5; }
.document-preview > p > span { padding: 3px 4px; color: #a22473; background: #f9e8f2; border-radius: 2px; }
.document-preview__lines { display: grid; gap: 4px; margin-bottom: 12px; }
.document-preview__lines > i { display: block; height: 3px; border-radius: 2px; background: #e7e8ee; }
.document-preview__lines > i:last-child { width: 75%; }
.document-preview__table { display: grid; grid-template-columns: 1fr auto; font-size: 7px; line-height: 1.8; }
.document-preview__table > strong { margin-bottom: 3px; padding-bottom: 2px; border-bottom: 1px solid #e9e3e9; color: #7b6176; font-weight: 650; }
.document-preview__table > :nth-child(even) { text-align: right; }
.document-preview__table > b { margin-top: 2px; padding-top: 2px; border-top: 1px solid #e9e3e9; }
.document-preview__signature { display: block; width: 82px; height: 22px; margin-top: 7px; color: #a45e8c; }
.sheet-preview { position: relative; width: 100%; max-width: 374px; height: 228px; margin: 0 auto; color: #405c63; background: #fff; border: 1px solid #c5d8d6; border-radius: 5px; box-shadow: 0 10px 20px #2c625f1c; transform: rotate(2deg); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.sheet-preview__title { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 12px; color: #3f706c; background: #e9f3ef; border-radius: 4px 4px 0 0; font-size: 8px; font-weight: 600; }
.sheet-preview__title > span:last-child { margin-left: auto; color: #7c9c97; font-size: 7px; font-weight: 400; }
.sheet-preview__mark { font-size: 15px; line-height: 1; }
.sheet-preview__formula { display: flex; align-items: center; gap: 12px; height: 23px; padding: 0 12px; border-top: 1px solid #dce8e5; border-bottom: 1px solid #dce8e5; color: #7f9694; background: #f9fbfa; font-size: 7px; }
.sheet-preview__formula > span { padding-right: 12px; border-right: 1px solid #dce8e5; }
.sheet-preview__formula > i { color: #247a77; }
.sheet-preview__formula code { color: #5e7775; font-size: 7px; }
.sheet-preview__content { padding: 11px 13px 0; }
.sheet-preview__grid { width: 100%; border-collapse: collapse; font-size: 7px; line-height: 1.4; }
.sheet-preview__grid th { padding: 4px 6px; color: #3b716c; background: #e8f3ef; font-weight: 600; text-align: right; }
.sheet-preview__grid td { padding: 3px 6px; border-bottom: 1px solid #e4eeeb; text-align: right; }
.sheet-preview__grid tr:nth-child(even) td { background: #f6faf8; }
.sheet-preview__grid th:first-child, .sheet-preview__grid td:first-child { text-align: left; }
.sheet-preview__grid td:last-child { width: 22%; padding-top: 1px; padding-bottom: 1px; }
.sheet-preview__grid svg { display: block; width: 100%; max-width: 55px; height: 14px; margin-left: auto; fill: none; stroke: #348e7a; stroke-width: 1.4; }
.sheet-preview__chart-title { display: flex; justify-content: space-between; margin-top: 10px; font-size: 7px; font-weight: 600; }
.sheet-preview__chart-title > span { color: #90a29f; font-size: 6px; font-weight: 400; }
.sheet-preview__bars { display: flex; gap: 20px; height: 44px; margin: 6px 14px 0; border-bottom: 1px solid #d7e6e0; }
.sheet-preview__bars > div { position: relative; display: flex; flex: 1; align-items: flex-end; justify-content: center; gap: 4px; }
.sheet-preview__bars i { display: block; width: 20px; height: var(--bar-height); background: #539f8b; border-radius: 2px 2px 0 0; transform: scaleY(.88); transform-origin: bottom; transition: transform .4s ease; }
.sheet-preview__bars i:nth-child(2) { background: #c5ded4; transition-delay: .04s; }
.sheet-preview__bars small { position: absolute; top: 48px; color: #83978f; font-size: 6px; }
.demo-start-product:is(:hover, :focus-visible) .document-preview { transform: translateY(-9px) rotate(-1deg); box-shadow: 0 16px 26px #6d3d6729; }
.demo-start-product:is(:hover, :focus-visible) .demo-start-art--document::before { transform: translateY(-2px) rotate(1deg); }
.demo-start-product:is(:hover, :focus-visible) .sheet-preview { transform: translateY(-9px) rotate(0deg); box-shadow: 0 16px 26px #2c625f25; }
.demo-start-product:is(:hover, :focus-visible) .sheet-preview__bars i { transform: scaleY(1); }

/* Keep navigation in the start-page frame at ordinary desktop widths. */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .explorer-shell--start { display: grid; grid-template-columns: var(--sidebar-width) 7px minmax(0, 1fr); }
  .explorer-shell--start.sidebar-collapsed { display: grid; grid-template-columns: 52px 0 minmax(0, 1fr); }
  .explorer-shell--start .demo-sidebar { position: relative; top: auto; bottom: auto; left: auto; width: auto; transform: none; box-shadow: none; z-index: auto; }
  .explorer-shell--start.sidebar-collapsed .demo-sidebar { visibility: hidden; }
  .explorer-shell--start .sidebar-resizer { display: block; }
  .explorer-shell--start .sidebar-toggle-icon { position: absolute; top: 18px; left: calc(var(--sidebar-width) - 48px); }
  .explorer-shell--start .sidebar-toggle-icon.is-collapsed { left: 12px; }
  .explorer-shell--start .sidebar-toggle-icon:not(.is-collapsed) span:first-child { transform: translateY(5px) rotate(45deg); }
  .explorer-shell--start .sidebar-toggle-icon:not(.is-collapsed) span:nth-child(2) { opacity: 0; }
  .explorer-shell--start .sidebar-toggle-icon:not(.is-collapsed) span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .explorer-shell--start .demo-topbar { padding-left: 34px; }
  .explorer-shell--start.sidebar-collapsed .demo-topbar { padding-left: 62px; }
}
@media (max-width: 767.98px) {
  .demo-start-products { gap: 54px; padding-top: 26px; }
  .demo-start-product { padding-right: 22px; padding-left: 22px; }
  .demo-start-product h2 { font-size: 22px; }
  .demo-start-art { margin-bottom: 20px; }
}
@media (max-width: 991.98px) {
  .demo-start-header-products { display: none; }
}
@media (max-width: 359.98px) {
  .document-preview { padding-right: 18px; padding-left: 18px; }
  .document-preview__title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-start-product, .document-preview, .sheet-preview, .demo-start-art--document::before, .sheet-preview__bars i, .demo-start-product__action > span { transition: none; }
  .demo-start-product:is(:hover, :focus-visible) .document-preview { transform: rotate(-4deg); }
  .demo-start-product:is(:hover, :focus-visible) .demo-start-art--document::before { transform: rotate(3deg); }
  .demo-start-product:is(:hover, :focus-visible) .sheet-preview { transform: rotate(2deg); }
  .sheet-preview__bars i, .demo-start-product:is(:hover, :focus-visible) .sheet-preview__bars i { transform: none; }
  .demo-start-product:is(:hover, :focus-visible) .demo-start-product__action > span { transform: none; }
}
