/* Editorial product overview in the Smartstuff homepage design language. */

body.smartstuff-products-page .page-header { display: none; }
body.smartstuff-products-page .site-content { margin: 0; padding: 0; background: #fff; }
body.smartstuff-products-page { background: #fff; }
body.smartstuff-products-page #masthead { position: absolute; top: 34px; right: 0; left: 0; background: transparent; }
body.admin-bar.smartstuff-products-page #masthead { top: 66px; }

.ss-products-main {
  --ss-navy: #09111d;
  --ss-navy-2: #101c2b;
  --ss-blue: #183f69;
  --ss-orange: #ff8218;
  --ss-ink: #17202c;
  --ss-muted: #64717f;
  --ss-line: #dfe5ea;
  --ss-mist: #f2f6f9;
  color: var(--ss-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.ss-products-main *, .ss-products-main *::before, .ss-products-main *::after { box-sizing: border-box; }
.ss-products-main :is(h1,h2,h3,p,ul) { margin-top: 0; }
.ss-products-main :is(h1,h2,h3) { color: inherit; font-family: inherit; letter-spacing: -.035em; }
.ss-products-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.ss-products-anchor-target { position: absolute; transform: translateY(-28px); }

.ss-products-hero { min-height: 720px; display: flex; align-items: center; overflow: hidden; padding: 154px 0 80px; color: #fff; background: var(--ss-hero-background); }
.ss-products-hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(480px,.95fr); align-items: center; gap: 70px; }
.ss-products-eyebrow { margin-bottom: 18px; color: var(--ss-orange); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ss-products-hero h1 { max-width: 700px; margin-bottom: 24px; color: #fff; font-size: clamp(44px,5vw,72px); font-weight: 750; line-height: 1.02; }
.ss-products-hero__intro { max-width: 660px; margin-bottom: 34px; color: #c7d2dd; font-size: 19px; line-height: 1.7; }
.ss-products-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ss-products-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; color: #fff; font-size: 14px; font-weight: 750; }
.ss-products-button:hover, .ss-products-button:focus-visible { color: #fff; transform: translateY(-1px); }
.ss-products-button--orange { border-color: var(--ss-orange); color: #111923; background: var(--ss-orange); }
.ss-products-button--orange:hover, .ss-products-button--orange:focus-visible { color: #111923; background: #ff963d; }
.ss-products-button--ghost { background: rgba(255,255,255,.04); }
.ss-products-hero__visual { position: relative; min-height: 450px; }
.ss-products-glow { position: absolute; inset: 16% 8%; border-radius: 50%; background: rgba(73,133,187,.2); filter: blur(45px); }
.ss-products-hero__visual img { position: absolute; z-index: 2; height: auto; object-fit: contain; filter: drop-shadow(0 26px 24px rgba(0,0,0,.42)); }
.ss-products-hero__d1mc { z-index: 3 !important; right: -4%; bottom: 4%; width: 61%; }
.ss-products-hero__nrgd { top: 5%; left: 4%; width: 45%; }
.ss-products-hero__ultra { top: 13%; right: -7%; width: 53%; }

.ss-products-anchorbar { position: relative; z-index: 4; border-bottom: 1px solid var(--ss-line); background: #fff; box-shadow: 0 12px 35px rgba(15,32,49,.07); }
.ss-products-anchorbar__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ss-products-anchorbar a { color: #28384a; font-size: 16px; font-weight: 750; }
.ss-products-anchorbar a span { margin-left: 7px; color: var(--ss-orange); }

.ss-products-section { position: relative; padding: 112px 0; scroll-margin-top: 24px; }
.ss-products-section--white { background: #fff; }
.ss-products-section--mist { background: var(--ss-mist); }
.ss-products-section-head { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.7fr); align-items: end; gap: 80px; margin-bottom: 52px; }
.ss-products-section-head h2, .ss-products-cta h2 { margin-bottom: 0; font-size: clamp(34px,4vw,53px); font-weight: 730; line-height: 1.08; }
.ss-products-section-head > p { max-width: 520px; margin-bottom: 3px; color: var(--ss-muted); font-size: 17px; line-height: 1.7; }
.ss-products-grid { display: grid; gap: 22px; }
.ss-products-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ss-products-grid--interfaces { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ss-products-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }

.ss-product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ss-line); border-radius: 17px; background: #fff; box-shadow: 0 12px 35px rgba(13,31,48,.045); }
.ss-product-card__image { height: 300px; display: grid; place-items: center; padding: 30px; overflow: hidden; background: #f8fafb; }
.ss-product-image { --ss-product-scale: 1; width: 92%; height: 100%; object-fit: contain; object-position: center; mix-blend-mode: multiply; scale: var(--ss-product-scale); transition: transform .28s ease; }
.ss-product-card:hover .ss-product-image { transform: scale(1.025); }
.ss-product-image--d1mc { --ss-product-scale: .78 !important; }
.ss-product-image--nrgd { --ss-product-scale: 1.22 !important; }
.ss-product-image--p1um { --ss-product-scale: .84 !important; }
.ss-product-image--nrgm { --ss-product-scale: .72 !important; translate: 0 -4px; }
.ss-product-image--p1s { --ss-product-scale: 1.42 !important; }
.ss-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 30px; }
.ss-product-card__label, .ss-platform-card__label { margin-bottom: 14px; color: #516a82; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ss-product-card__title { min-height: 70px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.ss-product-card__title h3 { margin-bottom: 14px; font-size: 25px; font-weight: 720; line-height: 1.15; }
.ss-product-card__title span { flex: 0 0 auto; padding: 5px 8px; border-radius: 5px; color: #4b5d6e; background: #eaf0f4; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.ss-product-card__body > p:not(.ss-product-card__label) { color: var(--ss-muted); font-size: 15px; line-height: 1.66; }
.ss-product-card ul { margin: 4px 0 26px; padding: 0; list-style: none; }
.ss-product-card li { position: relative; margin: 8px 0; padding-left: 20px; color: #354554; font-size: 14px; }
.ss-product-card li::before { position: absolute; top: 9px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ss-orange); content: ""; }
.ss-product-card__actions { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 8px; }
.ss-product-card__actions a { color: #142b43; font-size: 14px; font-weight: 800; }
.ss-product-card__actions a::after { margin-left: 7px; color: var(--ss-orange); content: "→"; }
.ss-product-card__actions a + a { color: #667380; font-weight: 680; }
.ss-product-card--wide { display: flex; }
.ss-product-card--wide .ss-product-card__image { height: 300px; min-height: 300px; }
.ss-product-card--wide .ss-product-card__body { padding: 36px; }
.ss-product-card--wide .ss-product-card__actions,
.ss-product-card--compact .ss-product-card__actions { flex-direction: row; flex-wrap: wrap; gap: 17px; }
.ss-product-card--compact { display: flex; }
.ss-product-card--compact .ss-product-card__image { height: 300px; min-height: 300px; }
.ss-product-card--compact .ss-product-card__body { padding: 36px; }
.ss-products-choice-note { margin: 26px 0 0; padding: 20px 24px; border-left: 3px solid var(--ss-orange); color: #536372; background: #fff; font-size: 15px; }

.ss-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.ss-choice-card { padding: 34px; border: 1px solid var(--ss-line); border-radius: 16px; background: #fff; }
.ss-choice-card > span { display: block; margin-bottom: 12px; color: var(--ss-blue); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.ss-choice-card h3 { min-height: 66px; margin-bottom: 24px; font-size: 24px; line-height: 1.25; }
.ss-choice-card__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ss-choice-card__compare p { margin-bottom: 0; padding: 18px; border-radius: 9px; color: #5f6c79; background: var(--ss-mist); font-size: 14px; line-height: 1.55; }
.ss-choice-card__compare strong { display: block; margin-bottom: 5px; color: #223448; font-size: 15px; }
.ss-choice-card__compare strong small { display: inline-block; margin-left: 7px; color: #6b7b8a; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.ss-choice-card__answer { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--ss-line); color: #26394b; font-size: 14px; font-weight: 750; }

.ss-platforms { color: #fff; background: var(--ss-navy); }
.ss-products-section-head--dark h2 { color: #fff; }
.ss-products-section-head--dark > p { color: #aebbc8; }
.ss-platform-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ss-platform-card { min-height: 340px; display: flex; flex-direction: column; padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: var(--ss-navy-2); }
.ss-platform-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 10px; color: var(--ss-orange); background: rgba(255,130,24,.1); font-size: 24px; font-weight: 500; }
.ss-platform-card__label { color: #87a7c4; }
.ss-platform-card h3 { margin-bottom: 14px; color: #fff; font-size: 27px; }
.ss-platform-card > p:not(.ss-platform-card__label) { color: #aebbc8; }
.ss-platform-card > div:last-child { display: flex; flex-wrap: wrap; gap: 20px; margin-top: auto; padding-top: 15px; }
.ss-platform-card a { color: #fff; font-size: 14px; font-weight: 750; }
.ss-platform-card a::after { margin-left: 7px; color: var(--ss-orange); content: "→"; }

.ss-products-cta { padding: 85px 0; color: #fff; background: linear-gradient(115deg,#163f69,#0b1c2e); }
.ss-products-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.ss-products-cta h2 { max-width: 690px; color: #fff; font-size: clamp(34px,4vw,48px); }
.ss-products-cta p:not(.ss-products-eyebrow) { max-width: 720px; margin: 20px 0 0; color: #bdc9d5; }
.ss-products-cta .ss-products-actions { flex: 0 0 auto; }

@media (max-width: 1100px) {
  .ss-products-hero__grid { grid-template-columns: minmax(0,1fr) minmax(390px,.8fr); gap: 35px; }
  .ss-products-grid--three, .ss-products-grid--interfaces { grid-template-columns: 1fr; }
  .ss-products-grid--three .ss-product-card, .ss-products-grid--interfaces .ss-product-card { display: grid; grid-template-columns: 38% 62%; }
  .ss-products-grid--three .ss-product-card__image, .ss-products-grid--interfaces .ss-product-card__image { height: 100%; min-height: 390px; }
  .ss-product-card--wide, .ss-product-card--compact { display: flex; }
  .ss-product-card--wide .ss-product-card__image, .ss-product-card--compact .ss-product-card__image { min-height: 280px; height: 280px; }
}

@media (max-width: 860px) {
  body.admin-bar.smartstuff-products-page #masthead { top: 80px; }
  .ss-products-hero { min-height: auto; padding-top: 152px; }
  .ss-products-hero__grid { grid-template-columns: 1fr; }
  .ss-products-hero__visual { min-height: 390px; max-width: 620px; width: 100%; margin: 0 auto; }
  .ss-products-anchorbar__inner { padding: 20px 0; justify-content: flex-start; flex-wrap: wrap; }
  .ss-products-anchorbar a { flex: 1 1 calc(50% - 20px); }
  .ss-products-section { padding: 84px 0; }
  .ss-products-section-head { grid-template-columns: 1fr; gap: 20px; }
  .ss-products-section-head > p { max-width: 660px; }
  .ss-products-grid--two, .ss-choice-grid, .ss-platform-grid { grid-template-columns: 1fr; }
  .ss-products-cta__inner { align-items: flex-start; flex-direction: column; gap: 34px; }
}

@media (max-width: 620px) {
  .ss-products-wrap { width: min(100% - 32px,1180px); }
  .ss-products-hero { padding: 142px 0 48px; }
  .ss-products-hero h1 { font-size: 43px; }
  .ss-products-hero__intro { font-size: 17px; }
  .ss-products-hero__visual { min-height: 285px; }
  .ss-products-hero__d1mc { right: -3%; width: 64%; }
  .ss-products-hero__nrgd { left: -2%; width: 48%; }
  .ss-products-hero__ultra { right: -9%; width: 57%; }
  .ss-products-anchorbar__inner { gap: 14px; }
  .ss-products-anchorbar a { flex-basis: 100%; }
  .ss-products-section { padding: 68px 0; }
  .ss-products-section-head { margin-bottom: 34px; }
  .ss-products-section-head h2 { font-size: 36px; }
  .ss-products-grid--three .ss-product-card, .ss-products-grid--interfaces .ss-product-card { display: flex; }
  .ss-products-grid--three .ss-product-card__image, .ss-products-grid--interfaces .ss-product-card__image, .ss-product-card__image { min-height: 0; height: 230px; }
  .ss-product-card__body, .ss-product-card--wide .ss-product-card__body, .ss-product-card--compact .ss-product-card__body { padding: 26px 24px; }
  .ss-product-card--wide .ss-product-card__actions,
  .ss-product-card--compact .ss-product-card__actions { flex-direction: column; gap: 10px; }
  .ss-product-card__title { min-height: 0; }
  .ss-choice-card { padding: 26px 22px; }
  .ss-choice-card h3 { min-height: 0; font-size: 22px; }
  .ss-choice-card__compare { grid-template-columns: 1fr; }
  .ss-platform-card { min-height: 0; padding: 28px 24px; }
  .ss-products-cta { padding: 68px 0; }
  .ss-products-cta .ss-products-actions { width: 100%; }
  .ss-products-cta .ss-products-button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ss-products-main *, .ss-products-main *::before, .ss-products-main *::after { scroll-behavior: auto !important; transition: none !important; }
}
