/* Tiempify product navigation. Loaded only by the Russian landing. */
.products-menu > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 14px;
  margin-inline: -14px;
  border-radius: 100px;
  list-style: none;
  cursor: pointer;
  transition: color .18s, background .18s;
}
.products-menu > summary::-webkit-details-marker { display: none; }
.products-menu > summary svg { flex: none; transition: transform .18s; }
.products-menu[open] > summary { color: #4251c7; background: #eaf4ff; }
.products-menu[open] > summary svg { transform: rotate(180deg); }
.products-menu > summary:hover { color: #4251c7; background: #f3f9ff; }
.products-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100vw - 48px));
  max-height: calc(100dvh - 108px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid #c7d3ec;
  border-radius: 26px;
  box-shadow: 0 24px 64px #273d7224;
  text-align: left;
}
.products-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 28px; border-bottom: 1px solid #e4e9f5; }
.products-heading .products-kicker { margin-bottom: 6px; font-size: 10px; letter-spacing: 2.1px; font-weight: 750; color: #5966db; }
.products-heading p:last-child { font-size: 16px; font-weight: 650; letter-spacing: -.25px; }
.products-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid #dce3f3; border-radius: 50%; color: var(--ink); background: #fff; font-size: 27px; font-weight: 400; cursor: pointer; }
.products-close:hover { background: #eaf4ff; }
.products-layout { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.6fr); }
.product-choices { display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; background: #fafbff; border-right: 1px solid #e4e9f5; }
.product-choice { display: flex; align-items: center; gap: 13px; min-height: 60px; padding: 12px 14px; border: 1px solid transparent; border-radius: 14px; line-height: 1.4; transition: background .18s, border-color .18s; }
.site-header .product-choice { font-size: 13px; color: var(--ink); }
.product-choice:hover { background: #f0f4ff; }
.product-choice.is-selected { background: linear-gradient(105deg, #e7f3ff, #e6f2ff); border-color: #c8d3fa; }
.site-header .product-choice.is-selected { color: #2c4bc2; }
.product-choice-label { flex: 1; font-weight: 650; }
.product-choice-icon { display: flex; flex: 0 0 24px; color: #6770da; }
.product-choice-icon svg { width: 24px; height: 24px; }
.product-choice-arrow { color: #6979bb; font-size: 19px; }
.product-soon { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 3px 8px; border: 1px solid #dacbfa; border-radius: 100px; color: #6d449d; background: #eaf4ff; font-size: 10px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.product-choice .product-soon { display: flex; margin-top: 5px; font-size: 9px; padding: 1px 6px; }
.product-panels { min-width: 0; background: linear-gradient(125deg, #fff 15%, #f4f9ff 70%, #eaf5ff); }
.product-panel { padding: 25px 32px 28px; scroll-margin-top: 20px; }
.product-panel + .product-panel { border-top: 1px solid #dce3f3; }
.products-menu.is-enhanced .product-panel { border: 0; }
.product-panel-heading { display: flex; align-items: center; gap: 14px; }
.product-heading-copy { min-width: 0; }
.product-heading-copy .product-soon { margin-top: 7px; }
.product-panel-icon { display: grid; flex: 0 0 43px; place-items: center; width: 43px; height: 43px; border: 1px solid #d9d9fa; border-radius: 13px; color: #6559df; background: #eaf4ff; }
.product-panel-icon svg { width: 25px; height: 25px; }
.product-panel h3 { font-size: 25px; line-height: 1.22; letter-spacing: -.8px; font-weight: 750; max-width: 560px; }
.product-panel .product-lede { margin-top: 12px; color: #5b6b8f; font-size: 14px; line-height: 1.65; max-width: 550px; }
.product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; list-style: none; padding: 0; margin-top: 27px; }
.product-features li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.product-feature-spark { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; background: var(--gradient); -webkit-mask: url('/static/tiempify/ai-sparkle.svg') center / contain no-repeat; mask: url('/static/tiempify/ai-sparkle.svg') center / contain no-repeat; }
.product-features h4 { margin: 0; font-size: 13px; font-weight: 750; line-height: 1.5; }
.product-features p { margin-top: 5px; color: #5b6b8f; font-size: 12px; line-height: 1.65; }
.product-features .product-soon { margin-top: 5px; }
.product-panel .product-note, .product-panel .product-roadmap { margin-top: 22px; color: #677396; font-size: 11px; line-height: 1.7; }
.product-roadmap .product-soon { margin-right: 4px; }
.product-panel .product-demo { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; margin-top: 24px; padding: 12px 19px; border-radius: 100px; color: #fff; background: var(--gradient); font-size: 12px; font-weight: 700; }
.product-panel .product-demo:hover { color: #fff; box-shadow: 0 6px 16px #6356da25; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.product-panel .product-actions .product-demo { margin-top: 0; }
.product-panel .product-learn-more { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 19px; border: 1px solid #b8c8f3; border-radius: 100px; color: #3156ce; background: #fff; font-size: 12px; font-weight: 700; }
.product-panel .product-learn-more:hover { background: #f0f4ff; }
.products-mobile-fallback { display: block; }
@media (max-width: 1100px) and (min-width: 901px) {
  .site-header .nav-links { gap: 15px; }
  .products-layout { grid-template-columns: minmax(245px, .85fr) minmax(0, 1.6fr); }
}
@media (max-width: 900px) {
  .products-menu > summary { margin: 0; padding: 13px 8px; border-radius: 8px; font-size: 15px; }
  .mobile-menu:has(.products-menu) .mobile-nav-links,
  .mobile-menu:has(.products-nojs) .mobile-nav-links { max-height: calc(100dvh - 79px); overflow-y: auto; overscroll-behavior: contain; }
  .products-dropdown { position: static; transform: none; width: 100%; max-height: none; margin-block: 8px 12px; border-radius: 18px; box-shadow: none; overflow: hidden; }
  .products-heading { padding: 17px 18px; }
  .products-heading p:last-child { font-size: 14px; }
  .products-heading .products-kicker { font-size: 9px; }
  .products-close { width: 36px; height: 36px; min-width: 36px; font-size: 24px; }
  .products-layout { grid-template-columns: minmax(210px, .8fr) minmax(0, 1.4fr); }
  .product-choices { padding: 10px 8px; }
  .mobile-nav-links .product-choice { padding: 11px 9px; font-size: 12px; }
  .product-choice { gap: 9px; }
  .product-choice-icon { flex-basis: 21px; }
  .product-choice-icon svg { width: 21px; height: 21px; }
  .product-panel { padding: 22px; }
  .product-panel h3 { font-size: 22px; }
  .product-features { grid-template-columns: 1fr; gap: 19px; }
  .mobile-nav-links .product-demo { padding: 12px 19px; font-size: 12px; }
}
@media (max-width: 600px) {
  .mobile-menu:has(.products-menu) .mobile-nav-links,
  .mobile-menu:has(.products-nojs) .mobile-nav-links { padding-inline: 12px; max-height: calc(100dvh - 75px); }
  .products-heading { padding: 16px; gap: 8px; }
  .products-layout { grid-template-columns: minmax(0, 1fr); }
  .product-choices { flex-direction: row; gap: 7px; overflow-x: auto; padding: 12px; border-right: 0; border-bottom: 1px solid #e4e9f5; scroll-padding-inline: 12px; }
  .product-choice { flex: 0 0 174px; align-items: flex-start; min-height: 82px; border-color: #e0e5f3; }
  .product-choice-icon { margin-top: 2px; }
  .product-choice-arrow { display: none; }
  .product-panel { padding: 22px 18px; }
  .product-panel h3 { font-size: 23px; }
  .product-panel .product-lede { font-size: 13px; }
  .product-features { gap: 19px; margin-top: 23px; }
  .product-features h4 { font-size: 13px; }
  .product-panel .product-demo { width: 100%; }
  .product-panel .product-learn-more { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .products-menu > summary, .products-menu > summary svg, .product-choice { transition: none; }
}
/* Direct product links keep mobile navigation usable when JavaScript is disabled. */
.products-nojs > summary { cursor: pointer; padding: 13px 8px; border-radius: 8px; font-size: 15px; }
.products-nojs > nav { display: grid; gap: 2px; padding: 4px 0 8px 12px; }
.products-nojs > nav a { padding: 10px 8px; border-radius: 8px; font-size: 14px; }
.products-nojs > nav a:hover { background: #f2f5fc; }
