/* ==========================================================================
   Insights: /insights and /insights/{post}
   Mobile first: the base rules are the phone; min-width queries add room.
   Brand tokens come from site.css. Square corners, Signal Blue for action.
   PURE ASCII ONLY in this file.
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- page head (dark band) ---- */
.ins-head { background: var(--polar-night); color: #fff; padding: 40px 0 36px; }
.ins-head .eyebrow { margin-bottom: 14px; }
.ins-head .eyebrow a { color: inherit; text-decoration: none; }
.ins-head .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ins-kick { color: rgba(255,255,255,.7); }
.ins-head h1 { color: #fff; font-size: clamp(30px, 7vw, 50px); line-height: 1.1; margin: 0 0 16px; max-width: 22ch; }

.ins-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 14px; color: rgba(255,255,255,.72); }
.ins-meta .dot { color: rgba(255,255,255,.35); }
.ins-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.ins-tags a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 13px; text-decoration: none; }

.ins-head--index { padding: 48px 0 44px; }

/* the hero picture overlaps the bottom of the dark band */

.ins-hero { margin: -48px auto 0; }
.ins-hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--cold-daylight); }

/* ---- post layout: body, then the product rail (beside it on wide screens) ---- */
.ins-layout { display: grid; gap: 40px; padding-top: 36px; padding-bottom: 56px; }
.ins-body { min-width: 0; max-width: 720px; }
.ins-body > p, .ins-body li { font-size: 17px; line-height: 1.7; color: #232a3d; }
.ins-body > p { margin: 0 0 20px; }
.ins-body > p:first-of-type { font-size: 19px; color: var(--polar-night); }
.ins-body h2 { font-size: clamp(23px, 4.6vw, 30px); line-height: 1.2; margin: 40px 0 14px; color: var(--polar-night); }
.ins-body h3 { font-size: 20px; line-height: 1.3; margin: 30px 0 10px; color: var(--polar-night); }
.ins-body ul, .ins-body ol { margin: 0 0 24px; padding-left: 24px; }
.ins-body li { margin-bottom: 8px; }
.ins-body li::marker { color: var(--signal-blue); }
.ins-body a { color: var(--signal-blue); text-decoration: underline; text-underline-offset: 3px; }
.ins-body a:hover { color: var(--deep-blue); }
.ins-body blockquote { margin: 32px 0; padding: 20px 22px; border-left: 4px solid var(--signal-blue); background: var(--cold-daylight);
  font-family: var(--head); font-size: 20px; line-height: 1.45; color: var(--polar-night); }
.ins-body blockquote p { margin: 0; }
.ins-body figure { margin: 32px 0; }
.ins-body figure img { display: block; width: 100%; height: auto; }
.ins-body figcaption { margin-top: 8px; font-size: 14px; color: var(--silver-dark); }
.ins-dateline { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--signal-blue); margin: 0 0 14px; }
.ins-about { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.ins-about h2 { font-size: 18px; margin: 0 0 8px; }
.ins-about p, .ins-contact { font-size: 15px; line-height: 1.6; color: var(--silver-dark); }
.ins-disclaimer { margin-top: 36px; padding: 14px 18px; background: var(--neutral-light); font-size: 13px; line-height: 1.5; color: var(--silver-dark); }

/* ---- customer story: at a glance ---- */
.ins-story { margin: 0 0 32px; padding: 22px; background: var(--cold-daylight); border-top: 3px solid var(--signal-blue); display: grid; gap: 20px; }
.ins-story-who { display: flex; align-items: center; gap: 14px; }
.ins-story-logo { width: 64px; height: 64px; object-fit: contain; background: #fff; padding: 6px; flex: none; }
.ins-story-name { margin: 0; font-family: var(--head); font-size: 19px; font-weight: 700; color: var(--polar-night); }
.ins-story-loc { margin: 2px 0 0; font-size: 14px; color: var(--silver-dark); }
.ins-metrics { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ins-metrics li { display: grid; gap: 2px; }
.ins-metrics b { font-family: var(--display); font-size: 36px; line-height: 1.05; color: var(--signal-blue); font-weight: 600; }
.ins-metrics span { font-size: 14px; color: var(--polar-night); }
.ins-story-quote { margin: 0; }
.ins-story-quote blockquote { margin: 0; padding: 0; border: 0; background: none; font-size: 19px; }
.ins-story-quote figcaption { margin-top: 8px; font-size: 14px; color: var(--silver-dark); }

/* ---- product rail ---- */
.ins-side-h { font-family: var(--body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--deep-blue); margin: 0 0 12px; }
.ins-prods ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ins-prod { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); background: #fff; color: var(--polar-night); text-decoration: none; }

.ins-prod-img { flex: none; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--cold-daylight); }
.ins-prod-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ins-prod-t { display: grid; gap: 3px; min-width: 0; font-size: 14px; }
.ins-prod-t b { font-size: 16px; }
.ins-prod-t span { color: var(--silver-dark); line-height: 1.4; }
.ins-prod-t .ins-prod-go { color: var(--signal-blue); font-weight: 700; font-size: 13px; }

/* ---- filters ---- */
.ins-filters { display: grid; gap: 10px; margin-bottom: 28px; }
.ins-chips { display: flex; gap: 8px; list-style: none; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
.ins-chips::-webkit-scrollbar { display: none; }
.ins-chips li { flex: none; }
.ins-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--polar-night); text-decoration: none; white-space: nowrap; }
.ins-chips a:hover { border-color: var(--signal-blue); color: var(--signal-blue); }
.ins-chips a[aria-current="page"] { background: var(--polar-night); border-color: var(--polar-night); color: #fff; }

.ins-chips a:focus-visible { outline: 2px solid var(--signal-blue); outline-offset: 2px; }

/* ---- cards ---- */
.ins-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }

.ins-card-a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.ins-card-a:focus-visible { outline: 2px solid var(--signal-blue); outline-offset: 2px; }
.ins-card-img { aspect-ratio: 16 / 9; background: var(--polar-night); overflow: hidden; }
.ins-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ins-card-ph { display: flex; align-items: flex-end; height: 100%; padding: 16px; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px;
  background: linear-gradient(135deg, var(--deep-blue), var(--polar-night)); }

.ins-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.ins-card-tag { margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--signal-blue); }

.ins-card-h { font-size: 20px; line-height: 1.25; margin: 0 0 10px; color: var(--polar-night); }
.ins-card-metric { margin: 0 0 10px; font-size: 14px; color: var(--polar-night); }
.ins-card-metric b { font-family: var(--display); font-size: 22px; color: var(--signal-blue); margin-right: 4px; }
.ins-card-sum { flex: 1; margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--silver-dark); }
.ins-card-meta { margin: 0; font-size: 13px; color: var(--silver-dark); }

.ins-empty { padding: 40px 0; text-align: center; color: var(--silver-dark); font-size: 17px; }
.ins-pages { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; font-size: 15px; }
.ins-pages a { color: var(--signal-blue); font-weight: 700; }
.ins-more h2 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 24px; }
.ins-more { background: var(--cold-daylight); }
/* phones: the related posts become a swipeable row, so they do not triple the page length */
@media (max-width: 639px) {
  .ins-more .ins-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .ins-more .ins-grid::-webkit-scrollbar { display: none; }
  .ins-more .ins-card { scroll-snap-align: start; }
  .ins-more .ins-card:hover { transform: none; }
}
.ins-all { margin: 28px 0 0; text-align: center; }

.ins-preview-flag { position: sticky; top: 0; z-index: 50; margin: 0; padding: 8px 16px; background: #FFF4D6; color: #6B4E00; font-size: 14px; font-weight: 600; text-align: center; }

/* ---- larger screens ---- */
@media (min-width: 640px) {
  .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ins-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .ins-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ins-story { padding: 28px; }
}
@media (min-width: 900px) {
  
  
  
  
  
  .ins-hero img { aspect-ratio: 21 / 9; }
  .ins-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 56px; padding-bottom: 80px; align-items: start; }
  .ins-prods { position: sticky; top: 96px; }
  .ins-body > p, .ins-body li { font-size: 18px; }
  .ins-card--lead { grid-column: 1 / -1; }
  .ins-card--lead .ins-card-a { flex-direction: row; }
  .ins-card--lead .ins-card-img { flex: 0 0 58%; aspect-ratio: auto; min-height: 340px; }
  .ins-card--lead .ins-card-body { padding: 32px; justify-content: center; }
  .ins-card--lead .ins-card-h { font-size: 30px; }
  .ins-card--lead .ins-card-sum { flex: 0 1 auto; font-size: 17px; }
}
@media (min-width: 1000px) {
  .ins-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .ins-card, .ins-card:hover { transition: none; transform: none; }
}
/* page not found: a short way back into the site */
.ins-empty h2 { font-size: 20px; margin: 32px 0 12px; color: var(--polar-night); }
.nf-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.nf-links a { color: var(--signal-blue); font-weight: 600; }

/* ---- Insights carousel on product pages (the shared .ctn-carousel) ---- */
.ins-pc .eyebrow { margin-bottom: 6px; }
.ins-pc h2 { margin-bottom: 28px; }
.ins-carousel .cc-track { grid-auto-columns: minmax(260px, 84%); align-items: stretch; }
.ins-pc-slide { display: flex; }
.ins-pc-slide .ins-card { flex: 1; }
@media (min-width: 640px) { .ins-carousel .cc-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1000px) { .ins-carousel .cc-track { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; } }

/* ==========================================================================
   Insights, 2026 redesign. These rules come after the originals above and
   override them where they differ.
   Same language as the homepage and the redesigned product pages: Polar
   Night heads with the brand edge pattern, the spectrum only as a thin
   light edge, ruled lists, square corners.
   Mobile first. PURE ASCII ONLY in this file.
   ========================================================================== */

.ins-post, .ins-index, .ins-pc { --ins-edge: linear-gradient(90deg, #99B2FA 0%, #5C81F1 33%, #F05E60 66%, #F18A64 100%); }

/* ---- page head: Polar Night with the C edge pattern at the right ---- */
.ins-head { position: relative; overflow: hidden; padding: 48px 0 48px; }
.ins-head::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; height: 100%; width: auto; aspect-ratio: 494 / 604; max-width: 46%;
  background: url("/images/brand/edge-c.svg") left center / auto 100% no-repeat; opacity: .06; pointer-events: none; }
.ins-head > .wrap { position: relative; z-index: 1; }
.ins-head h1 { font-size: clamp(36px, 8.4vw, 60px); line-height: 1.05; margin: 0 0 20px; max-width: 20ch; }
.ins-dek { color: #cbd3da; font-size: 17px; font-weight: 300; line-height: 1.6; max-width: 56ch; margin: 0 0 24px; }
.ins-head--index .ins-dek { margin-bottom: 0; }
.ins-meta { font-size: 14px; color: rgba(255,255,255,.66); }
.ins-tags { margin-top: 20px; }
.ins-tags a { min-height: 34px; padding: 4px 12px; border-color: rgba(255,255,255,.24); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.ins-tags a:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* the post picture overlaps the bottom of the head, with the spectrum edge under it */
.ins-head:has(+ .ins-hero) { padding-bottom: 80px; }
.ins-hero { position: relative; z-index: 2; margin-top: -56px; }
.ins-hero img { border-bottom: 3px solid transparent; border-image: var(--ins-edge) 1; }

/* ---- filters: type as tabs with the spectrum under the current one,
        industries as square chips (the product pages' market chips) ---- */
.ins-filters { gap: 18px; margin-bottom: 36px; }
.ins-chips { gap: 8px; margin: 0 calc(var(--gutter, 16px) * -1); padding: 0 var(--gutter, 16px) 4px; scroll-padding-inline: var(--gutter, 16px); }
.ins-chips:not(.ins-chips--sub) { gap: 24px; border-bottom: 1px solid var(--silver-light); padding-bottom: 0; }
.ins-chips:not(.ins-chips--sub) a { position: relative; min-height: 44px; padding: 0; border: 0; background: none;
  font-size: 15px; font-weight: 600; color: var(--silver-dark); }
.ins-chips:not(.ins-chips--sub) a:hover { color: var(--polar-night); }
.ins-chips:not(.ins-chips--sub) a[aria-current="page"] { background: none; color: var(--polar-night); }
.ins-chips:not(.ins-chips--sub) a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ins-edge); }
.ins-chips--sub a { min-height: 40px; padding: 0 14px; border: 1px solid var(--silver-light); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--polar-night); }
.ins-chips--sub a:hover { border-color: var(--signal-blue); color: var(--signal-blue); }
.ins-chips--sub a[aria-current="page"] { background: var(--polar-night); border-color: var(--polar-night); color: #fff; }

/* ---- cards: flat and square, the picture gets the spectrum edge on hover ---- */
.ins-grid { gap: 40px 24px; }
.ins-card { border: 0; background: none; transition: none; }
.ins-card:hover { border: 0; box-shadow: none; transform: none; }
.ins-card-img { position: relative; background: var(--polar-night); }
.ins-card-img img { transition: transform .5s ease; }
.ins-card-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ins-edge);
  transform: scaleX(0); transform-origin: left center; transition: transform .35s ease; }
.ins-card-a:hover .ins-card-img::after, .ins-card-a:focus-visible .ins-card-img::after { transform: scaleX(1); }
.ins-card-a:hover .ins-card-img img { transform: scale(1.03); }
.ins-card-body { padding: 20px 0 0; }
.ins-card-tag { font-size: 11px; letter-spacing: .14em; margin-bottom: 12px; }
.ins-card-tag span { color: var(--silver-dark); font-weight: 600; }
.ins-card-h { font-size: 21px; line-height: 1.25; margin-bottom: 10px; transition: color .2s; }
.ins-card-a:hover .ins-card-h { color: var(--signal-blue); }
.ins-card-sum { font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.ins-card-meta { padding-top: 12px; border-top: 1px solid var(--silver-light); font-size: 13px; }
.ins-card-ph { background: var(--polar-night); font-size: 11px; letter-spacing: .14em; }
.ins-card--story .ins-card-ph, .ins-card--press .ins-card-ph { background: var(--polar-night); }

/* on a Cold Daylight band (Keep reading, the product pages' carousel) the
   card body sits on white so the cards still read as cards */
.ins-more .ins-card-body, .ins-pc .ins-card-body, .band.light .ins-card-body { background: #fff; padding: 20px 20px 18px; }

/* ---- the newest post leads the list: picture and copy side by side ---- */
.ins-card--lead .ins-card-h { font-size: clamp(24px, 5vw, 34px); line-height: 1.15; }

/* ---- post body ---- */
.ins-layout { padding-top: 40px; }
.ins-body h2 { font-size: clamp(24px, 4.6vw, 32px); margin: 48px 0 16px; }
.ins-body blockquote { border-left: 0; position: relative; padding: 22px 24px 22px 28px; }
.ins-body blockquote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #99B2FA 0%, #5C81F1 33%, #F05E60 66%, #F18A64 100%); }
.ins-body figure img { border-bottom: 3px solid transparent; border-image: var(--ins-edge) 1; }
.ins-disclaimer { background: none; padding: 16px 0 0; border-top: 1px solid var(--silver-light); }
.ins-story { border-top: 0; position: relative; }
.ins-story::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ins-edge); }

/* ---- product rail: a ruled list, the jellybean on Cold Daylight ---- */
.ins-side-h { font-size: 11px; letter-spacing: .14em; color: var(--silver-dark); margin-bottom: 0; padding-bottom: 12px; border-bottom: 1px solid var(--polar-night); }
.ins-prods ul { gap: 0; }
.ins-prod { padding: 16px 0; border: 0; border-bottom: 1px solid var(--silver-light); background: none; }
.ins-prod:hover { border-color: var(--silver-light); }
.ins-prod:hover b { color: var(--signal-blue); }
.ins-prod-img { width: 72px; height: 72px; }
.ins-prod-t b { font-family: var(--display); font-weight: 500; transition: color .2s; }
.ins-prod-t .ins-prod-go { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---- bands ---- */
.ins-list.band { padding-top: 40px; padding-bottom: 64px; }
.ins-more h2 { font-size: clamp(26px, 5vw, 36px); margin-bottom: 28px; }
.ins-pages a { font-weight: 600; }

@media (min-width: 640px) {
  .ins-grid { gap: 48px 24px; }
  .ins-chips { margin: 0; padding: 0; }
}
@media (min-width: 900px) {
  .ins-head { padding: 72px 0 64px; }
  .ins-head--index { padding: 88px 0 80px; }
  .ins-dek { font-size: 19px; }
  .ins-head:has(+ .ins-hero) { padding-bottom: 128px; }
  .ins-hero { margin-top: -96px; }
  .ins-filters { grid-template-columns: auto; margin-bottom: 48px; }
  .ins-chips--sub a { padding: 0 12px; font-size: 13px; }
  .ins-list.band { padding-top: 56px; padding-bottom: 96px; }
  .ins-card--lead { margin-bottom: 16px; }
  .ins-card--lead .ins-card-a { gap: 48px; align-items: center; }
  .ins-card--lead .ins-card-img { flex: 0 0 56%; min-height: 360px; }
  .ins-card--lead .ins-card-body { padding: 0 0 32px; }
  .ins-card--lead .ins-card-sum { font-size: 17px; }
  .ins-card--lead .ins-card-meta { border-top: 0; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ins-card-img img, .ins-card-img::after, .ins-card-h { transition: none; }
  .ins-card-a:hover .ins-card-img img { transform: none; }
}
