/* www.siggysoft.org: the product-site layer over the NewBiz theme (css/style.css). Published as /css/site.css by
   Website/_site/build_site.py; every page links it after style.css. Colors are the site's own: heading blue #1741A2,
   link blue #007bff, menu navy #004289, brand gold #fed136.
   2026-10-26.01 First version: Products menu, product cards and groups, platform filter, breadcrumbs, app pages. */

:root {
  --ss-blue: #1741A2;
  --ss-link: #007bff;
  --ss-navy: #004289;
  --ss-gold: #fed136;
  --ss-text: #2c3e50;
  --ss-muted: #5f6f80;
  --ss-line: #e3e9f5;
  --ss-tint: #f2f6fd;
}

/* ---------- Products menu (desktop) ---------- */
#header .main-nav > ul > li.has-mega { position: static; display: flex; align-items: center; }
#header .main-nav .mega-caret {
  background: none; border: 0; color: var(--ss-navy); cursor: pointer;
  padding: 10px 8px 10px 0; margin-left: -12px; font-size: 11px; line-height: 1;
}
#header .main-nav .mega-caret:hover,
#header .main-nav .has-mega.open .mega-caret { color: var(--ss-link); }
#header .main-nav .has-mega.open > .mega-link { color: var(--ss-link); }
#header .main-nav .has-mega .fa-chevron-down { transition: transform .15s; }
#header .main-nav .has-mega.open .fa-chevron-down { transform: rotate(180deg); }

#header .main-nav .mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 9999;
  background: #fff; border-top: 3px solid var(--ss-blue);
  box-shadow: 0 18px 40px rgba(16, 40, 90, .18);
  white-space: normal; max-height: calc(100vh - 90px); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .1s, transform .1s, visibility .1s;
}
#header .main-nav .has-mega.open > .mega { opacity: 1; visibility: visible; transform: none; }
/* The theme's ".main-nav *" rule zeroes every margin and the header fix makes every "#header .container" a centered
   space-between flex row; the panel's own containers need their centering and alignment back. */
#header .main-nav .mega .container { margin-left: auto; margin-right: auto; }
#header .main-nav .mega-inner {
  display: grid; grid-template-columns: 2fr 1fr; gap: 8px 40px; padding: 22px 15px 10px; align-items: start;
}
#header .main-nav .mega-col { margin-bottom: 12px; }
#header .main-nav .mega-col h6 {
  font: 600 12px/1.2 "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ss-muted); margin: 0 0 8px; padding: 0 8px;
}
#header .main-nav .mega-col h6 i { color: var(--ss-blue); margin-right: 4px; }
#header .main-nav .mega-list { display: grid; grid-template-columns: 1fr; gap: 2px; }
#header .main-nav .mega-col.is-wide .mega-list { grid-template-columns: 1fr 1fr; gap: 2px 12px; }
#header .main-nav .mega-item {
  display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px;
  font: 400 14px/1.35 "Open Sans", sans-serif; color: var(--ss-text);
}
#header .main-nav a.mega-item:hover,
#header .main-nav a.mega-item:focus-visible { background: var(--ss-tint); color: var(--ss-text); }
#header .main-nav .mega-item .product-icon { width: 40px; height: 40px; border-radius: 10px; font-size: 18px; flex: none; }
#header .main-nav .mega-item strong { display: block; font: 600 14px/1.3 "Montserrat", sans-serif; color: var(--ss-blue); }
#header .main-nav .mega-item small { display: block; font-size: 12.5px; color: var(--ss-muted); }
#header .main-nav .mega-item.is-coming { opacity: .85; }
#header .main-nav .mega-item .soon,
.mobile-nav .mega-item .soon {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; vertical-align: 1px;
  background: var(--ss-gold); color: #3d3200; font: 600 10px/1.5 "Montserrat", sans-serif;
}
#header .main-nav .mega-extra { display: block; padding: 8px; font-size: 13.5px; color: var(--ss-link); }
#header .main-nav .mega-extra i { width: 40px; text-align: center; margin-right: 12px; color: var(--ss-blue); }
#header .main-nav .mega-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 18px;
  border-top: 1px solid var(--ss-line); padding: 12px 23px 16px;
}
#header .main-nav .mega-foot a { padding: 0; font-size: 13.5px; color: var(--ss-link); }
#header .main-nav .mega-foot a:hover { text-decoration: underline; }
#header .main-nav .mega-foot .mega-all { font-weight: 600; margin-right: 12px; }
#header .main-nav .mega-foot .mega-by { font-size: 13px; color: var(--ss-muted); }

/* ---------- Products menu (phone: inside the menu that mobile-nav.js copies) ---------- */
/* The caret button is shown as the arrow; a tap anywhere on "Products" opens the list (js/site.js). */
.mobile-nav .has-mega { position: relative; }
.mobile-nav .has-mega > .mega-link { padding-right: 45px; }
.mobile-nav .mega-caret {
  position: absolute; right: 12px; top: 6px; padding: 6px; background: none; border: 0; color: #fff;
  font-size: 12px; pointer-events: none;
}
.mobile-nav .has-mega .fa-chevron-down { transition: transform .15s; }
.mobile-nav .has-mega.open .fa-chevron-down { transform: rotate(180deg); }
.mobile-nav .mega { display: none; padding-bottom: 8px; }
.mobile-nav .has-mega.open > .mega { display: block; }
.mobile-nav .mega-col h6 {
  color: #9fb6d6; font: 600 11px/1.2 "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 20px 4px 30px;
}
.mobile-nav .mega-col h6 i { margin-right: 4px; }
.mobile-nav .mega-item { display: flex; align-items: center; gap: 10px; padding: 7px 20px 7px 30px; color: #fff; }
.mobile-nav .mega-item .product-icon { width: 28px; height: 28px; border-radius: 7px; font-size: 13px; flex: none; }
.mobile-nav .mega-item strong { font-weight: 500; color: #fff; font-size: 14px; }
.mobile-nav .mega-item small { display: none; }
.mobile-nav .mega-item.is-coming { color: #c9d3df; }
.mobile-nav .mega-extra { padding: 7px 20px 7px 30px; color: #74b5fc; font-size: 14px; }
.mobile-nav .mega-extra i { width: 28px; margin-right: 10px; text-align: center; }
.mobile-nav .mega-foot a { display: block; padding: 7px 20px 7px 30px; color: #74b5fc; font-size: 14px; }
.mobile-nav .mega-foot .mega-by { display: block; padding: 8px 20px 2px 30px; color: #9fb6d6; font-size: 12px; }

/* ---------- Product cards and groups ---------- */
.product-groups { display: grid; grid-template-columns: 1fr; gap: 28px 24px; }
.product-group-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 12px;
  font: 600 16px/1.3 "Montserrat", sans-serif; color: var(--ss-navy);
}
.product-group-title i { color: var(--ss-blue); }
.product-group-title small { font: 400 13px/1.4 "Open Sans", sans-serif; color: var(--ss-muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.product-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 100%;
  padding: 18px; background: #fff; border: 1px solid var(--ss-line); border-radius: 12px;
  color: var(--ss-text); text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.product-card:hover,
a.product-card:focus-visible {
  border-color: var(--ss-blue); box-shadow: 0 6px 20px rgba(23, 65, 162, .15); transform: translateY(-2px);
  color: var(--ss-text); text-decoration: none;
}
a.product-card:focus-visible { outline: 3px solid rgba(0, 123, 255, .35); outline-offset: 2px; }
.product-icon { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 1px 4px rgba(0, 0, 0, .14); flex: none; }
.product-icon-fa {
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 28px;
  background: linear-gradient(135deg, var(--from, #1741A2), var(--to, #007bff));
}
.product-kind {
  margin-top: 10px; font: 600 11px/1.2 "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ss-link);
}
.product-name { font: 700 17px/1.25 "Montserrat", sans-serif; color: var(--ss-blue); }
.product-tagline { flex: 1; font-size: 14px; line-height: 1.5; color: var(--ss-muted); }
.product-platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pf {
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: #e8effc; color: var(--ss-blue); font-size: 12px; line-height: 1.4;
}
.pf-coming { background: #f1f3f6; color: #6b7480; }
.pf-coming em { font-style: normal; }
.product-badge {
  position: absolute; top: 14px; right: 14px; padding: 3px 9px; border-radius: 999px;
  background: var(--ss-gold); color: #3d3200; font: 600 11px/1.4 "Montserrat", sans-serif;
}
.product-card.is-coming .product-icon { opacity: .9; }
.product-card[hidden], .product-group[hidden] { display: none !important; }

@media (min-width: 992px) {
  .product-groups { grid-template-columns: 1fr 1fr; }
  .product-group.is-wide { grid-column: 1 / -1; }
  .product-group.is-wide .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .product-grid { gap: 10px; }
  .product-card { padding: 14px 12px; }
  .product-icon { width: 48px; height: 48px; border-radius: 11px; }
  .product-icon-fa { font-size: 21px; }
  .product-kind { margin-top: 8px; font-size: 10px; }
  .product-name { font-size: 15px; }
  .product-tagline {
    font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .pf { font-size: 11px; padding: 2px 7px; }
  .product-badge { top: 10px; right: 10px; font-size: 10px; padding: 2px 7px; }
}

/* ---------- The platform filter on /products/ ---------- */
.product-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.product-filter button {
  border: 1px solid #c9d6ef; background: #fff; color: var(--ss-blue); border-radius: 999px;
  padding: 7px 15px; font: 500 14px/1.2 "Montserrat", sans-serif; cursor: pointer;
}
.product-filter button:hover { border-color: var(--ss-blue); }
.product-filter button[aria-pressed="true"] { background: var(--ss-blue); border-color: var(--ss-blue); color: #fff; }
.product-filter .count { margin-left: 3px; opacity: .7; font-size: 12px; }

/* ---------- Home page: products right under the intro ---------- */
#intro .btn-get-started, #intro .btn-services { text-decoration: none; }
#products { padding: 60px 0 50px; background: #f5f8fd; }
#products .section-header, .products-page .section-header { margin-bottom: 26px; }
#products .section-header p, .products-page .section-header p { padding-bottom: 0; margin-bottom: 0; }
#products .more-all, .more-products .more-all { margin: 26px 0 0; text-align: center; font-weight: 600; }
.more-all a { text-decoration: none; }
.more-all a:hover { text-decoration: underline; }

/* ---------- /products/ page ---------- */
.products-page .lead-note { max-width: 760px; margin: 0 auto 22px; text-align: center; color: var(--ss-muted); }

/* ---------- App pages ---------- */
#main.app-page { padding: 112px 0 60px; }
.crumbs { margin-bottom: 6px; font-size: 13px; color: var(--ss-muted); }
.crumbs a { color: var(--ss-link); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 7px; color: #a3b1c2; }
.more-products { margin-top: 50px; padding: 36px 0 10px; border-top: 1px solid var(--ss-line); background: #fafcff; }
.more-products h4 { margin-bottom: 18px; }

/* The app pages' own blocks (were inline in each page's head before 2026-10-26). */
.app-page h4.pt_blue { margin-top: 40px; }
.app-page p, .app-page li { font-size: 16px; line-height: 1.7; }
.app-page .product-tagline, .app-page .product-card li { font-size: 14px; line-height: 1.5; }
.app-panel { background: linear-gradient(135deg, #1741A2 0%, #007bff 100%); border-radius: 10px; padding: 40px; color: #fff; text-align: center; }
.app-panel h3 { color: #fff; margin-bottom: 20px; }
.app-panel ul { text-align: left; list-style: none; padding: 0; }
.app-panel li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.app-panel li:last-child { border-bottom: none; }
.app-panel li i { color: #a9db80; margin-right: 10px; }
.app-panel .btn-app { background: #fff; color: #1741A2; padding: 12px 30px; border-radius: 5px; font-weight: 600; text-decoration: none; display: inline-block; margin-top: 20px; }
.app-panel .btn-app:hover { background: #eaf2ff; }
.app-panel .meta { color: rgba(255, 255, 255, .85); font-size: 12px; margin-top: 12px; word-break: break-all; }
.app-page .icon-box { margin-top: 24px; }
.app-page .icon-box .icon { float: left; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #1741A2; }
.app-page .icon-box .icon i { color: #1741A2; font-size: 26px; }
.app-page .icon-box .title { margin-left: 84px; font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.app-page .icon-box .description { margin-left: 84px; color: #556877; }
.app-page .note { border-left: 4px solid #1741A2; background: #f2f6fd; padding: 12px 16px; border-radius: 4px; }
.app-page table th { color: #1741A2; }
.app-page .policy h4 { color: #1741A2; margin-top: 30px; font-size: 20px; }
.app-page .shots { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin: 24px 0; }
.app-page .shots figure { margin: 0; width: 220px; max-width: 45%; text-align: center; }
.app-page .shots img { width: 100%; border-radius: 12px; box-shadow: 0 2px 12px rgba(23, 65, 162, .18); }
.app-page .shots figcaption { font-size: 13px; color: #556877; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  #header .main-nav .mega, .product-card, #header .main-nav .has-mega .fa-chevron-down { transition: none; }
  a.product-card:hover { transform: none; }
}
