/* Selected Connected Business homepage and its sibling review compositions. */
.he-page {
  --he-surface: var(--nemely-color-warm-paper);
  --he-ink: var(--nemely-color-navy);
  --he-muted: var(--nemely-color-muted-ink);
  color: var(--he-ink);
  background: var(--he-surface);
}
.he-page .he-wrap { width: min(calc(100% - 96px), var(--nemely-editorial-width)); margin-inline: auto; }
.he-page .he-section { padding-block: clamp(64px, 6.3vw, 100px); }
.he-page .he-delivery { scroll-margin-top: var(--nemely-sticky-header-offset, 94px); }
.he-page :is(a, button, summary) { -webkit-tap-highlight-color: transparent; }
.he-page a { color: inherit; }
.he-page :is(a, button, summary):focus-visible { outline: 3px solid var(--nemely-color-orange); outline-offset: 5px; }
.homepage-pitch main .he-page .he-eyebrow { font-size: .75rem; line-height: 1.5; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--nemely-color-orange-ink); }
.homepage-pitch main .he-page .he-body { color: var(--he-muted); font-size: 1.0625rem; line-height: 1.7; }
.homepage-pitch main .he-page h2:not(.ncl-statement) { color: var(--he-ink); font-size: clamp(2.45rem, 3.9vw, 4rem); letter-spacing: -.05em; line-height: 1.05; white-space: pre-line; text-wrap: balance; }
.homepage-pitch main .he-page h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -.025em; }
.he-page .he-heading > h2 { margin-top: 18px; }
.he-page .he-heading > .he-body { max-width: 570px; margin-top: 24px; }
.he-page .he-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; font-size: .9375rem; line-height: 1.4; font-weight: 650; }
.he-page .he-link > svg { flex: 0 0 auto; }
.he-page .he-link > svg, .he-page .he-start-action > svg { width: 19px; height: 19px; }
.he-page .he-capability-list > a > svg { width: 24px; height: 24px; }
.he-page .he-map-node > svg { width: 17px; height: 17px; }
.he-page .he-map-toggle[hidden] { display: none; }
.he-page a svg { transition: transform .2s ease; }
.he-page a:hover > svg, .he-page a:hover > .he-start-action svg { transform: translate(3px, -3px); }
.he-page .he-link:hover { color: var(--nemely-color-orange-ink); }
.he-page .he-button { min-height: var(--nemely-action-height); padding: var(--nemely-action-padding); border-radius: var(--nemely-action-radius); background: var(--nemely-color-orange); color: var(--nemely-color-navy-dark); }
.he-page .he-button:hover { background: var(--nemely-color-orange-hover); color: var(--nemely-color-navy-dark); }
.he-page .he-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }

/* Clearly Nemely: oversized type, paper canvas, an offset editorial frame. */
.he-page .he-hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 40px; padding-block: 56px 60px; }
.he-page .he-hero-copy { min-width: 0; position: relative; z-index: 1; }
.homepage-pitch main .he-page h1 { margin-block: 26px; color: var(--he-ink); font-size: clamp(3.55rem, 6.7vw, 6.6rem); font-weight: 600; line-height: .99; letter-spacing: -.06em; }
.he-page h1 > span { display: block; }
.he-page--impact h1 > span { max-width: 7.9em; }
.he-page .he-hero-explanation > .he-body { max-width: 570px; font-size: 1.125rem; }
.he-page .he-hero-media { position: relative; min-width: 0; margin: 0 18px 18px 0; }
.he-page .he-photo-window { position: relative; aspect-ratio: 1.1; overflow: hidden; border-radius: 160px 12px 12px 12px; }
.he-page .he-photo-window img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 42% center; }
.he-page--impact .he-hero-media::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; background: var(--nemely-color-orange); border-radius: 160px 12px 12px 12px; }
.he-page .he-hero-media figcaption { display: flex; align-items: center; gap: 18px; position: absolute; bottom: 26px; left: -34px; max-width: 270px; padding: 22px 26px; background: var(--nemely-color-navy); color: var(--nemely-color-white); border-radius: 0 18px 18px 18px; font-size: 1rem; font-weight: 600; line-height: 1.45; }
.he-page .he-hero-media figcaption svg { flex-shrink: 0; color: var(--nemely-color-orange); }
.he-page .he-trust { border-top: 1px solid var(--nemely-color-footer-line); }
.he-page .nemely-customer-strip { padding-block: 27px 24px; }
.he-page .nemely-customer-strip .ncl-statement { font-size: .75rem; margin-bottom: 16px; }

/* Visitor situations: three real destinations, not another catalogue. */
.he-page .he-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin-top: 38px; }
.he-page .he-start-grid > a { display: flex; flex-direction: column; align-items: flex-start; position: relative; border-top: 1px solid var(--nemely-color-stone); padding-top: 28px; }
.he-page .he-start-grid > a:hover { border-color: var(--nemely-color-orange); }
.he-page .he-start-arrow { display: grid; width: 46px; height: 46px; place-items: center; color: var(--nemely-color-orange-ink); margin-bottom: 20px; }
.he-page .he-start-grid h3 { margin-bottom: 14px; }
.he-page .he-start-grid p { max-width: 350px; margin-bottom: 20px; color: var(--he-muted); }
.he-page .he-start-action { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; margin-top: auto; font-size: .9375rem; line-height: 1.4; font-weight: 650; }
.he-page .he-start-action svg { flex-shrink: 0; }
.he-page .he-possibilities { display: flex; align-items: baseline; gap: 30px; border-top: 1px solid var(--nemely-color-footer-line); margin-top: 42px; padding-top: 22px; }
.he-page .he-possibilities > strong { flex-shrink: 0; font-size: .8125rem; }
.he-page .he-possibilities > div { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; }
.he-page .he-possibilities .he-link { font-size: .875rem; }
.he-page .he-possibilities .he-link > svg { width: 15px; }

/* Nemely IP has a visual signature, not a pretend dashboard or success metric. */
.he-page .he-products { background: var(--nemely-color-ivory); }
.he-page .he-products .he-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0 72px; align-items: end; }
.he-page .he-products .he-heading > .he-eyebrow { grid-column: 1 / -1; }
.he-page .he-products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 42px; }
.he-page .he-product-flagship { display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--nemely-color-navy-dark); color: var(--nemely-color-white); border-radius: 10px 70px 10px 10px; }
.he-page .he-product-visual { position: relative; display: grid; min-height: 170px; place-items: center; overflow: hidden; color: var(--nemely-color-orange); }
.he-page .he-product-visual span { position: absolute; width: 230px; height: 230px; border: 1px solid var(--nemely-color-white-line); border-radius: 45px; transform: rotate(-30deg); }
.he-page .he-product-visual span:nth-child(2) { width: 320px; height: 320px; }
.he-page .he-product-visual span:nth-child(3) { width: 410px; height: 410px; }
.he-page .he-product-visual > svg { position: relative; }
.he-page .he-product-flagship-copy { padding: 28px 36px 32px; }
.homepage-pitch main .he-page .he-product-flagship .he-eyebrow { color: var(--nemely-color-on-dark-accent); font-size: .7rem; }
.homepage-pitch main .he-page .he-product-flagship h3 { font-size: clamp(2rem, 2.7vw, 2.8rem); margin-top: 12px; }
.he-page .he-product-flagship-copy > p:not(.he-eyebrow) { margin-block: 18px 22px; color: var(--nemely-color-on-dark-muted); }
.he-page .he-product-flagship:hover .he-start-action { color: var(--nemely-color-on-dark-accent); }
.he-page .he-product-list > .he-eyebrow { margin-bottom: 6px; }
.he-page .he-product-list > a { display: grid; grid-template-columns: 28px 1fr 20px; gap: 20px; align-items: start; min-height: 108px; padding: 23px 0; border-bottom: 1px solid var(--nemely-color-footer-line); }
.he-page .he-product-list > a:last-child { border: 0; }
.he-page .he-product-list > a > svg:first-child { color: var(--nemely-color-orange-ink); }
.he-page .he-product-list h3 { font-size: 1.25rem; margin-bottom: 8px; }
.he-page .he-product-list p { color: var(--he-muted); font-size: .9375rem; line-height: 1.55; }
.he-page .he-product-list > a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.he-page .he-partner-products { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid var(--nemely-color-footer-line); margin-top: 34px; padding-top: 18px; font-size: .875rem; }
.he-page .he-partner-products > div { display: flex; flex-wrap: wrap; gap: 0 32px; }
.he-page .he-partner-products .he-link { font-size: .875rem; }

/* A short delivery story, with deeper links behind native disclosures. */
.he-page .he-delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.he-page .he-delivery-intro figure { position: relative; overflow: hidden; border-radius: 10px 10px 70px 10px; margin-block: 30px 16px; }
.he-page .he-delivery-intro figure img { display: block; width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; }
.he-page .he-delivery-intro figcaption { position: absolute; bottom: 0; left: 0; max-width: 90%; padding: 15px 22px; border-radius: 0 16px 0 0; background: var(--nemely-color-navy); color: var(--nemely-color-white); font-size: .875rem; font-weight: 600; }
.he-page .he-delivery-stages { border-top: 1px solid var(--nemely-color-footer-line); }
.he-page .he-delivery-stages details { border-bottom: 1px solid var(--nemely-color-footer-line); }
.he-page .he-delivery-stages summary { display: flex; align-items: center; gap: 20px; min-height: 88px; padding-block: 24px; cursor: pointer; list-style: none; }
.he-page .he-delivery-stages summary::-webkit-details-marker { display: none; }
.he-page .he-delivery-stages summary h3 { font-size: 1.375rem; }
.he-page .he-step { font-size: .75rem; font-weight: 650; color: var(--nemely-color-orange-ink); }
.he-page .he-delivery-stages summary > svg { flex-shrink: 0; margin-left: auto; transition: transform .28s ease; }
.he-page .he-delivery-stages details[open] summary > svg { transform: rotate(45deg); }
.he-page .he-stage-body { padding: 0 0 26px 36px; }
.he-page .he-stage-body > p { color: var(--he-muted); }
.he-page .he-stage-body > div { display: grid; justify-items: start; gap: 2px; margin-top: 16px; }
.he-page .he-stage-body .he-link { font-size: .875rem; }
.he-page .he-existing { padding: 24px 28px; margin-top: 28px; background: var(--nemely-color-ivory); border-radius: 8px; }
.he-page .he-existing > p { font-weight: 600; font-size: 1.0625rem; }
.he-page .he-existing .he-link { margin-top: 12px; }
.he-page .he-technology { background: var(--nemely-color-white); border-top: 1px solid var(--nemely-color-footer-line); }
.he-page .he-technology > div { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 23px; }
.he-page .he-technology strong { font-size: .9375rem; }
.he-page .he-technology > div > div { display: flex; flex-wrap: wrap; gap: 0 28px; }
.he-page .he-technology .he-link { font-size: .8125rem; }

/* A quiet inset callout, matching the existing Accelerator invitation. */
.he-page .he-technology--inset { background: var(--nemely-color-warm-paper); color: var(--nemely-color-navy); border-top: 0; padding-block: 24px 32px; scroll-margin-top: calc(var(--nemely-sticky-header-offset) + 16px); }
.he-page .he-technology--inset > .he-wrap { padding: 24px 28px; background: var(--nemely-color-ivory); border-radius: var(--nemely-radius-panel); }
.he-page .he-technology--inset strong { font-size: 1.0625rem; font-weight: 600; }
.he-page .he-technology--inset .he-link { font-size: .875rem; }
.he-page .he-technology--inset .he-link:is(:hover, :focus-visible) { color: var(--nemely-color-orange-ink); }
/* Continue the warm surround behind the contact panel's rounded corner. */
.homepage-pitch:has(.he-technology--inset) + .nemely-page-ending[data-contact-first],
.homepage-pitch:has(.he-technology--inset) .nemely-page-ending[data-contact-first] { background: var(--nemely-color-warm-paper); }
@media (max-width: 650px) {
  .he-page .he-technology--inset > .he-wrap { padding: 22px; }
  .he-page .he-technology--inset .he-link { justify-content: space-between; gap: 12px; }
}

/* The Connected Business: an original explorable map, never an imitation UI. */
.he-page--ecosystem .he-hero { --he-ink: var(--nemely-color-white); --he-muted: var(--nemely-color-on-dark-muted); color: var(--nemely-color-white); background: var(--nemely-color-navy-dark); }
.he-page--ecosystem .he-hero-grid { grid-template-columns: 1fr 1fr; gap: 50px; padding-block: 40px; }
.homepage-pitch main .he-page--ecosystem .he-hero .he-eyebrow { color: var(--nemely-color-on-dark-accent); }
.homepage-pitch main .he-page--ecosystem h1 { font-size: clamp(4rem, 7.3vw, 7.2rem); }
.he-page--ecosystem h1 > span { color: var(--nemely-color-orange); }
.he-page--ecosystem h1 > .he-hero-lead { color: var(--nemely-color-white); }
.he-page--ecosystem .he-hero .he-link:not(.he-button):hover { color: var(--nemely-color-on-dark-accent); }
.he-page--ecosystem .he-trust { background: var(--nemely-color-navy-dark); border-color: var(--nemely-color-white-line); }
.he-page .he-map { --he-orbit-duration: 84s; position: relative; width: 100%; max-width: 620px; margin-inline: auto; color: var(--nemely-color-white); container-type: inline-size; }
.he-page .he-map-stage { position: relative; width: 100%; aspect-ratio: 1; }
.he-page .he-map-wheel { position: absolute; inset: 0; }
.he-page .he-map-point { position: absolute; width: 0; height: 0; }
.he-page .he-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--nemely-color-white-line); stroke-width: 1; }
.he-page .he-map-inner-orbit { stroke-dasharray: 2 8; }
.he-page .he-map-track { stroke: var(--nemely-color-orange); stroke-width: 1.5; }
.he-page .he-map-signal { opacity: 0; stroke: var(--nemely-color-white); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 93; }
.he-page .he-map-connection[data-active] .he-map-track { stroke-width: 2.5; }
.he-page .he-map-connection[data-active] .he-map-signal { opacity: 1; }
.he-page .he-map[data-active-connection] .he-map-connection:not([data-active]) { opacity: .3; }
.he-page .he-map-connection { transition: opacity .2s ease; }
.he-page .he-map-lines .he-map-spark { fill: var(--nemely-color-orange); stroke: none; }
.he-page .he-map-centre { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--nemely-color-white); color: var(--nemely-color-navy); border-radius: 50%; padding: 16px; box-shadow: 0 0 0 12px var(--nemely-color-navy-panel); pointer-events: none; }
.he-page .he-map-message { display: flex; flex-direction: column; align-items: center; width: 100%; }
.homepage-pitch main .he-page .he-map-centre p { max-width: 145px; font-size: .65rem; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.he-page .he-map-centre strong { font-size: clamp(1.6rem, 6.5cqw, 2.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; margin-block: 13px; }
.he-page .he-map-centre .he-map-message > span { font-size: .75rem; line-height: 1.5; }
.he-page .he-map[data-active-connection] .he-map-centre strong { font-size: clamp(1.35rem, 4.8cqw, 2rem); margin-block: 8px; }
.he-page .he-map[data-active-connection] .he-map-centre p { color: var(--nemely-color-orange-ink); }
.he-page .he-map[data-active-connection] .he-map-centre .he-map-message > span { max-width: 180px; }
.he-page .he-map-node { position: absolute; transform: translate(-50%, -50%); display: flex; justify-content: space-between; align-items: center; gap: 8px; width: clamp(128px, 26cqw, 176px); min-height: 64px; padding: 12px 14px; border: 1px solid var(--nemely-color-white-line); background: var(--nemely-color-navy-dark); border-radius: 99px; font-size: clamp(.75rem, 2.3cqw, .9375rem); line-height: 1.25; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s; }
.he-page .he-map-node > span { flex: 1; text-align: center; text-wrap: balance; }
.he-page .he-map-node > svg { color: var(--nemely-color-orange); flex-shrink: 0; }
.he-page .he-map-node:is(:focus-visible, :active, [data-active]) { border-color: var(--nemely-color-orange); background: var(--nemely-color-orange); color: var(--nemely-color-navy-dark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nemely-color-orange) 18%, transparent); }
.he-page .he-map-node:is(:focus-visible, :active, [data-active]) > svg { color: currentColor; }
/* Hover signals a real destination without stopping or resizing the wheel. */
@media (hover: hover) and (pointer: fine) {
  .he-page .he-map-node:hover { border-color: var(--nemely-color-orange); background: var(--nemely-color-orange); color: var(--nemely-color-navy-dark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nemely-color-orange) 18%, transparent); }
  .he-page .he-map-node:hover > svg { color: currentColor; }
}
/* No instruction row or reserved space; keyboard users can still stop motion. */
.he-page .he-map-toggle { position: absolute; right: 8px; bottom: 8px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 12px; color: var(--nemely-color-white); background: var(--nemely-color-navy-dark); border: 1px solid var(--nemely-color-white-line); border-radius: 6px; font: inherit; font-size: .75rem; cursor: pointer; transition: none; }
.he-page .he-map-toggle:not(:focus-visible) { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.he-page .he-capabilities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.he-page .he-capabilities { scroll-margin-top: var(--nemely-sticky-header-offset, 94px); }
.he-page .he-capabilities .he-eyebrow { display: flex; align-items: center; gap: 14px; }
.he-page .he-capabilities .he-eyebrow::before { content: ''; width: 36px; height: 3px; background: var(--nemely-color-orange); }
.he-page .he-capabilities figure { position: relative; isolation: isolate; margin: 46px 16px 18px 12px; }
.he-page .he-capabilities figure::before { content: ''; position: absolute; z-index: -1; inset: -16px -16px 25% 26%; background: var(--nemely-color-orange); border-radius: 0 60px 0 0; }
.he-page .he-capabilities figure::after { content: ''; position: absolute; z-index: -1; inset: 26% 24% -14px -12px; border: 1px solid var(--nemely-color-navy); border-radius: 0 0 0 26px; }
.he-page .he-capabilities figure img { width: 100%; height: auto; aspect-ratio: 1.9; display: block; object-fit: cover; border-radius: 8px 60px 8px 26px; box-shadow: var(--nemely-shadow-photo); }
.he-page .he-capability-list { align-self: start; padding: 8px 28px 22px; background: var(--nemely-surface-section); border: 1px solid var(--nemely-color-footer-line); border-top: 3px solid var(--nemely-color-orange); border-radius: 0 0 var(--nemely-radius-editorial) var(--nemely-radius-editorial); }
.he-page .he-capability-list > a:not(.he-link) { position: relative; display: block; padding: 20px 32px 20px 48px; border-top: 1px solid var(--nemely-color-footer-line); }
.he-page .he-capability-list > a:first-child { border-top: 0; }
.he-page .he-capability-number { position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--nemely-color-navy); color: var(--nemely-color-white); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; }
.he-page .he-capability-list h3 { margin-bottom: 8px; font-size: 1.5rem; }
.he-page .he-capability-list p { color: var(--he-muted); }
.he-page .he-capability-list > a > svg { position: absolute; right: 0; top: 24px; color: var(--nemely-color-orange-ink); }
.he-page .he-capability-list > .he-link { margin-top: 16px; }
.he-page .he-capability-list > .he-link > svg { position: static; }
.he-page .he-capability-list a:is(:hover, :focus-visible) h3 { color: var(--nemely-color-orange-ink); }
.he-page .he-capability-list a:is(:hover, :focus-visible) .he-capability-number { background: var(--nemely-color-orange); color: var(--nemely-color-navy-dark); }
.he-page .he-start--compact { background: var(--nemely-color-navy); color: var(--nemely-color-white); }
.he-page .he-start--compact .he-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 26px; }
.homepage-pitch main .he-page .he-start--compact h2 { font-size: clamp(2rem, 3vw, 3rem); color: var(--nemely-color-white); margin: 0; white-space: normal; }
.homepage-pitch main .he-page .he-start--compact .he-eyebrow { color: var(--nemely-color-on-dark-accent); flex-shrink: 0; }
.he-page .he-start--compact .he-start-grid > a { border-color: var(--nemely-color-white-line); }
.he-page .he-start--compact .he-start-grid p { color: var(--nemely-color-on-dark-muted); }
.he-page .he-start--compact .he-start-arrow { display: none; }
.he-page .he-start--compact .he-start-action > svg { color: var(--nemely-color-orange); }

/* Approved Connected paths: three native destinations, always visible. The
   lighter Nemely blue is shared with the previous starting-points section. */
.he-page .he-start--connected { --he-path-gap: 28px; --he-ink: var(--nemely-color-white); --he-muted: var(--nemely-color-on-dark-muted); background: var(--nemely-color-navy); color: var(--he-ink); scroll-margin-top: var(--nemely-sticky-header-offset); }
.homepage-pitch main .he-page .he-start--connected.he-section { padding-block: clamp(44px, 4.8vw, 72px); }
.he-page .he-start--connected .he-heading { display: block; }
.homepage-pitch main .he-page .he-start--connected .he-eyebrow { color: var(--nemely-color-on-dark-accent); }
.homepage-pitch main .he-page .he-start--connected h2 { margin-top: 16px; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; color: var(--he-ink); text-wrap: initial; }
.he-page .he-start--connected .he-heading-accent { display: block; color: var(--nemely-color-on-dark-accent); }
.he-page .he-start--connected .he-start-grid { gap: var(--he-path-gap); margin-top: 34px; }
.he-page .he-start--connected .he-start-path { min-width: 0; padding: 0 16px 12px; border: 0; border-radius: var(--nemely-radius-panel); background: transparent; color: var(--he-ink); overflow-wrap: anywhere; transition: background-color .24s ease, transform .24s ease; }
.he-page .he-start--connected .he-start-path::before,
.he-page .he-start--connected .he-start-path::after { content: ''; position: absolute; z-index: 0; top: 22px; left: 38px; right: calc(-1 * var(--he-path-gap) - 38px); height: 1px; background: var(--nemely-color-white-line); pointer-events: none; }
.he-page .he-start--connected .he-start-path:last-child::before,
.he-page .he-start--connected .he-start-path:last-child::after { right: 16px; }
.he-page .he-start--connected .he-start-path::after { height: 2px; background: var(--nemely-color-orange); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--nemely-disclosure-easing); }
.he-page .he-start--connected .he-start-path > :is(span,h3,p) { position: relative; z-index: 1; }
.he-page .he-start--connected .he-start-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; margin-bottom: 20px; border: 1px solid var(--nemely-color-white-line); border-radius: 50%; background: var(--nemely-color-navy); color: var(--nemely-color-on-dark-accent); transition: background-color .24s ease, border-color .24s ease, color .24s ease; }
.he-page .he-start--connected .he-start-icon > svg { width: 21px; height: 21px; }
.homepage-pitch main .he-page .he-start--connected h3 { max-width: 14ch; margin: 0 0 12px; padding: 0; color: var(--he-ink); font-size: clamp(1.45rem, 2.15vw, 1.875rem); line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
.homepage-pitch main .he-page .he-start--connected .he-start-path > p { margin: 0 0 18px; color: var(--he-muted); line-height: 1.7; }
.he-page .he-start--connected .he-start-action { justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; color: var(--he-ink); }
.he-page .he-start--connected .he-start-action > svg { color: var(--nemely-color-on-dark-accent); transform: rotate(-35deg); }
.he-page .he-start--connected .he-start-path:is(:focus-visible,:active) { background: var(--nemely-surface-blue-hover); }
.he-page .he-start--connected .he-start-path:is(:focus-visible,:active)::after { transform: scaleX(1); }
.he-page .he-start--connected .he-start-path:is(:focus-visible,:active) .he-start-icon { background: var(--nemely-color-orange); border-color: var(--nemely-color-orange); color: var(--nemely-color-navy-dark); }
.he-page .he-start--connected .he-start-path:is(:focus-visible,:active) .he-start-action > svg { transform: translate(3px,-3px) rotate(-35deg); }
@media (hover: hover) and (pointer: fine) {
  .he-page .he-start--connected .he-start-path:hover { background: var(--nemely-surface-blue-hover); transform: translateY(-3px); }
  .he-page .he-start--connected .he-start-path:hover::after { transform: scaleX(1); }
  .he-page .he-start--connected .he-start-path:hover .he-start-icon { background: var(--nemely-color-orange); border-color: var(--nemely-color-orange); color: var(--nemely-color-navy-dark); }
  .he-page .he-start--connected .he-start-path:hover .he-start-action > svg { transform: translate(3px,-3px) rotate(-35deg); }
}
@media (max-width: 700px) {
  .he-page .he-start--connected .he-start-grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .he-page .he-start--connected .he-start-path { display: grid; grid-template-columns: 38px minmax(0,1fr); column-gap: 16px; padding: 0 0 24px; border-radius: 0; }
  .he-page .he-start--connected .he-start-path:not(:first-child) { padding-top: 12px; }
  .he-page .he-start--connected .he-start-path:last-child { padding-bottom: 0; }
  .he-page .he-start--connected .he-start-icon { grid-column: 1; grid-row: 1 / 4; width: 38px; height: 38px; margin: 0; }
  .he-page .he-start--connected .he-start-icon > svg { width: 18px; height: 18px; }
  .homepage-pitch main .he-page .he-start--connected h3 { grid-column: 2; max-width: none; margin: 3px 0 8px; font-size: 1.45rem; text-wrap: initial; }
  .homepage-pitch main .he-page .he-start--connected .he-start-path > p { grid-column: 2; max-width: none; margin-bottom: 8px; font-size: .9375rem; line-height: 1.65; }
  .he-page .he-start--connected .he-start-action { grid-column: 2; font-size: .875rem; }
  .he-page .he-start--connected .he-start-path::before,
  .he-page .he-start--connected .he-start-path::after { top: 38px; bottom: -12px; left: 19px; right: auto; width: 1px; height: auto; transform-origin: top; }
  .he-page .he-start--connected .he-start-path:not(:first-child)::before,
  .he-page .he-start--connected .he-start-path:not(:first-child)::after { top: 50px; }
  .he-page .he-start--connected .he-start-path::after { width: 2px; transform: scaleY(0); }
  .he-page .he-start--connected .he-start-path:last-child::before,
  .he-page .he-start--connected .he-start-path:last-child::after { display: none; }
  .he-page .he-start--connected .he-start-path:is(:hover,:focus-visible,:active) { transform: none; background: transparent; }
  .he-page .he-start--connected .he-start-path:is(:focus-visible,:active)::after { transform: scaleY(1); }
}
@media (max-width: 700px) and (hover: hover) and (pointer: fine) {
  .he-page .he-start--connected .he-start-path:hover::after { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .he-page .he-start--connected .he-start-path,
  .he-page .he-start--connected .he-start-path::after,
  .he-page .he-start--connected .he-start-icon,
  .he-page .he-start--connected .he-start-action > svg { transition: none; }
  .he-page .he-start--connected .he-start-path:is(:hover,:focus-visible,:active) { transform: none; }
  .he-page .he-start--connected .he-start-path:is(:hover,:focus-visible,:active) .he-start-action > svg { transform: rotate(-35deg); }
}
.he-page .he-delivery--timeline .he-delivery-grid { display: block; }
.he-page .he-delivery--timeline .he-delivery-intro { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; }
.he-page .he-delivery--timeline .he-heading > .he-body { max-width: 720px; }
.he-page .he-delivery--timeline .he-delivery-content { margin-top: 44px; }
.he-page .he-delivery--timeline .he-delivery-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: none; gap: 32px; }
.he-page .he-delivery--timeline details { border: none; border-top: 2px solid var(--nemely-color-orange); }
.he-page .he-delivery--timeline summary { align-items: flex-start; flex-wrap: wrap; gap: 20px; min-height: 140px; }
.he-page .he-delivery--timeline .he-step { width: calc(100% - 44px); }
.he-page .he-delivery--timeline summary h3 { order: 1; width: 100%; }
.he-page .he-delivery--timeline summary > svg { width: 20px; }
.he-page .he-delivery--timeline .he-stage-body { padding-left: 0; }
.he-page .he-delivery--timeline .he-existing { display: flex; justify-content: space-between; align-items: center; gap: 26px; }
.he-page .he-delivery--timeline .he-existing .he-link { margin: 0; flex-shrink: 0; }

/* People Make It Work: an editorial spread and a warmer partnership story. */
.he-page--people .he-hero-grid { display: block; padding-block: 46px 0; }
.he-page--people .he-hero-copy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0 80px; align-items: end; }
.he-page--people .he-hero-copy > .he-eyebrow { grid-column: 1 / -1; }
.homepage-pitch main .he-page--people h1 { font-size: clamp(3.35rem, 5.65vw, 5.7rem); line-height: 1.04; margin-block: 20px 0; }
.he-page--people h1 > span { color: var(--nemely-color-orange-heading); }
.he-page--people .he-hero-explanation > .he-body { font-size: 1.0625rem; }
.he-page--people .he-hero-explanation .he-actions { gap: 10px 22px; margin-top: 20px; }
.he-page--people .he-hero-media { margin: 40px 0 0; }
.he-page--people .he-photo-window { aspect-ratio: 3.7; border-radius: 10px 90px 10px 10px; }
.he-page--people .he-photo-window img { object-position: center 38%; }
.he-page--people .he-hero-media figcaption { left: 0; bottom: 0; max-width: 410px; background: var(--nemely-color-warm-paper); color: var(--nemely-color-navy); border-radius: 0 22px 0 0; padding: 22px 32px 12px 0; }
.he-page--people .he-trust { border: none; }
.he-page--people .he-principles { padding-top: 62px; }
.he-page .he-principles .he-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0 90px; align-items: end; }
.he-page .he-principles .he-heading > .he-eyebrow { grid-column: 1 / -1; }
.he-page .he-principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; margin-top: 46px; }
.he-page .he-principles-grid > div { border-top: 1px solid var(--nemely-color-footer-line); padding-top: 25px; }
.he-page .he-principles-grid svg { color: var(--nemely-color-orange-ink); margin-bottom: 20px; }
.he-page .he-principles-grid h3 { font-size: 1.3rem; margin-bottom: 14px; }
.he-page .he-principles-grid p { color: var(--he-muted); }
.he-page--people .he-delivery { background: var(--nemely-color-ivory); }
.he-page--people .he-delivery-intro figure { border-radius: 80px 10px 10px 10px; }
.he-page--people .he-existing { background: var(--nemely-color-warm-paper); }
.he-page--people .he-start--compact { background: var(--nemely-color-warm-paper); color: var(--nemely-color-navy); padding-bottom: 0; }
.homepage-pitch main .he-page--people .he-start--compact h2 { color: var(--nemely-color-navy); }
.homepage-pitch main .he-page--people .he-start--compact .he-eyebrow { color: var(--nemely-color-orange-ink); }
.he-page--people .he-start--compact .he-start-grid > a { border-color: var(--nemely-color-footer-line); }
.he-page--people .he-start--compact .he-start-grid p { color: var(--he-muted); }
.he-page--people .he-products { background: var(--nemely-color-warm-paper); }
.he-page--people .he-products-grid { grid-template-columns: .9fr 1.1fr; }
.he-page--people .he-product-flagship { background: var(--nemely-color-navy); }

@media (min-width: 1700px) {
  .he-page .he-hero-grid { padding-block: 64px 70px; }
}
@media (max-width: 1150px) {
  .he-page .he-wrap { width: calc(100% - 64px); }
  .he-page .he-hero-grid { gap: 32px; }
  .he-page .he-hero-media figcaption { left: -18px; padding: 18px; max-width: 240px; }
  .he-page .he-hero-copy .he-eyebrow { max-width: 350px; }
  .he-page .he-actions { gap: 10px 18px; }
  .he-page .he-hero-explanation > .he-body { font-size: 1rem; }
  .he-page .he-start-grid, .he-page .he-principles-grid { gap: 28px; }
  .he-page .he-products-grid, .he-page .he-delivery-grid, .he-page .he-capabilities-grid { gap: 46px; }
  .he-page .he-products .he-heading, .he-page .he-principles .he-heading { gap: 0 40px; }
  .he-page .he-product-list > a { gap: 15px; }
  .he-page .he-technology > div { display: block; }
  .he-page .he-technology > div > div { margin-top: 10px; }
  .he-page--ecosystem .he-hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .he-page--ecosystem .he-hero-copy { max-width: 800px; }
  .he-page--people .he-hero-copy { gap: 0 42px; }
  .he-page--people .he-hero-copy > .he-eyebrow { max-width: none; }
  .he-page--people .he-hero-media figcaption { left: 0; max-width: 340px; }
  .he-page .he-delivery--timeline .he-delivery-stages { gap: 22px; }
  .he-page .he-delivery--timeline summary { min-height: 145px; }
}
@media (max-width: 850px) {
  .he-page .he-hero-grid { grid-template-columns: 1fr; gap: 34px; padding-block: 42px; }
  .homepage-pitch main .he-page h1 { font-size: clamp(3.5rem, 9.5vw, 5.75rem); margin-block: 20px 24px; }
  .he-page .he-hero-explanation > .he-body { font-size: 1.0625rem; max-width: 650px; }
  .he-page .he-hero-copy .he-eyebrow { max-width: none; }
  .he-page .he-hero-media { margin-left: 14px; }
  .he-page .he-photo-window { aspect-ratio: 1.9; border-radius: 90px 10px 10px 10px; }
  .he-page--impact .he-hero-media::before { border-radius: 90px 10px 10px 10px; }
  .he-page--impact .he-photo-window img { object-position: center 43%; }
  .he-page .he-hero-media figcaption { max-width: 290px; bottom: 18px; }
  .he-page .he-start-grid { gap: 24px; }
  .he-page .he-start-grid h3 { font-size: 1.2rem; }
  .he-page .he-start-grid p { font-size: .9375rem; }
  .he-page .he-possibilities { display: block; }
  .he-page .he-possibilities > div { margin-top: 8px; }
  .he-page .he-products .he-heading, .he-page .he-principles .he-heading { display: block; }
  .he-page .he-products-grid { gap: 30px; }
  .he-page .he-product-flagship-copy { padding: 24px; }
  .he-page .he-product-list > a { grid-template-columns: 1fr 18px; }
  .he-page .he-product-list > a > svg:first-child { display: none; }
  .he-page .he-delivery-grid { grid-template-columns: 1fr; gap: 34px; }
  .he-page .he-delivery-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .he-page .he-delivery-intro > .he-heading { grid-row: span 2; }
  .he-page .he-delivery-intro figure { margin: 0 0 12px; }
  .he-page .he-delivery-intro figure img { aspect-ratio: 1.1; }
  .he-page .he-delivery-intro > .he-link { align-self: start; justify-content: flex-start; }
  .he-page .he-capabilities-grid { gap: 42px; }
  .he-page .he-map { margin: -8px auto 0; }
  .he-page--ecosystem .he-hero-grid { gap: 20px; }
  .he-page .he-start--compact .he-heading { display: block; }
  .he-page .he-start--compact .he-heading > h2 { margin-top: 16px; }
  .he-page .he-delivery--timeline .he-delivery-intro { display: block; }
  .he-page .he-delivery--timeline .he-delivery-intro > .he-link { margin-top: 18px; }
  .he-page .he-delivery--timeline .he-delivery-stages { grid-template-columns: 1fr 1fr; gap: 24px 40px; }
  .he-page .he-delivery--timeline summary { min-height: 122px; }
  .he-page .he-delivery--timeline .he-existing { display: block; }
  .he-page .he-delivery--timeline .he-existing .he-link { margin-top: 10px; }
  .he-page--people .he-hero-copy { display: block; }
  .he-page--people .he-hero-media { margin: 30px 0 0; }
  .he-page--people .he-photo-window { aspect-ratio: 2.4; }
  .he-page--people .he-photo-window img { object-position: 66% center; }
  .he-page--people .he-hero-media figcaption { position: relative; left: auto; bottom: auto; max-width: none; border-radius: 0; padding: 18px 0 0; }
  .he-page--people .he-hero-grid { padding-bottom: 20px; }
}
@media (max-width: 600px) {
  .he-page .he-wrap { width: calc(100% - 40px); }
  .he-page .he-section { padding-block: 54px; }
  .homepage-pitch main .he-page .he-eyebrow { font-size: .65rem; letter-spacing: .08em; }
  .homepage-pitch main .he-page h1 { font-size: clamp(3rem, 11.8vw, 4.6rem); line-height: 1.02; letter-spacing: -.055em; }
  .homepage-pitch main .he-page h2:not(.ncl-statement) { font-size: clamp(2rem, 8.2vw, 2.8rem); }
  .he-page .he-hero-grid { padding-top: 32px; }
  .he-page .he-hero-explanation > .he-body { font-size: 1rem; line-height: 1.65; }
  .he-page .he-actions { gap: 8px 22px; margin-top: 24px; }
  .he-page .he-link { font-size: .875rem; }
  .he-page .he-button { min-height: 52px; }
  .he-page .he-hero-media { margin-left: 8px; margin-right: 12px; }
  .he-page .he-photo-window { aspect-ratio: 1.3; border-radius: 75px 8px 8px 8px; }
  .he-page--impact .he-hero-media::before { inset: 12px -12px -12px 12px; border-radius: 75px 8px 8px 8px; }
  .he-page .he-hero-media figcaption { left: -8px; max-width: 235px; font-size: .875rem; padding: 16px; bottom: 14px; }
  .he-page .he-hero-media figcaption svg { width: 24px; }
  .he-page .he-start-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .he-page .he-start-grid > a { padding-top: 24px; padding-right: 28px; }
  .he-page .he-start-arrow { position: absolute; top: 15px; right: -8px; width: 30px; }
  .he-page .he-start-grid h3 { font-size: 1.45rem; padding-right: 12px; }
  .he-page .he-start-grid p { margin-bottom: 10px; max-width: none; }
  .he-page .he-start-action { font-size: .875rem; }
  .he-page .he-possibilities { margin-top: 26px; }
  .he-page .he-possibilities > div { gap: 0 23px; }
  .he-page .he-products-grid, .he-page--people .he-products-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 30px; }
  .he-page .he-product-visual { min-height: 160px; }
  .he-page .he-product-flagship-copy { padding: 24px 24px 28px; }
  .he-page .he-product-list > a { grid-template-columns: 24px 1fr 18px; min-height: 0; gap: 14px; padding-block: 22px; }
  .he-page .he-product-list > a > svg:first-child { display: block; }
  .he-page .he-product-list h3 { font-size: 1.25rem; }
  .he-page .he-partner-products { margin-top: 20px; }
  .he-page .he-partner-products > div { display: grid; gap: 0; }
  .he-page .he-delivery-intro { display: block; }
  .he-page .he-delivery-intro figure { margin-block: 28px 14px; }
  .he-page .he-delivery-intro figure img { aspect-ratio: 1.45; }
  .he-page .he-delivery-stages summary { gap: 16px; min-height: 80px; }
  .he-page .he-delivery-stages summary h3 { font-size: 1.2rem; }
  .he-page .he-stage-body { padding-left: 30px; }
  .he-page .he-existing { padding: 22px; }
  .he-page .he-technology > div { padding-block: 24px; }
  .he-page .he-technology > div > div { display: grid; gap: 0; }
  .he-page .he-technology .he-link { justify-content: flex-start; }
  .he-page .he-capabilities-grid { grid-template-columns: 1fr; gap: 30px; }
  .he-page .he-capability-list { padding: 6px 18px 18px; }
  .he-page .he-capability-list > a:not(.he-link) { padding-left: 42px; padding-right: 24px; }
  .he-page .he-capability-list > a > svg { width: 18px; }
  /* Keep the same circular navigation on phones. Use a little of the hero's
     side gutter so all seven 44px targets fit through an entire revolution. */
  .he-page .he-map { width: calc(100% + 24px); margin: 10px -12px 0; }
  .he-page .he-map-node { width: 26cqw; min-height: 44px; padding: 6px 4px; font-size: clamp(.65625rem, 3cqw, .8125rem); gap: 0; }
  .he-page .he-map-node > svg { display: none; }
  .he-page .he-map-centre { width: 34%; padding: clamp(6px, 2cqw, 12px); box-shadow: 0 0 0 5px var(--nemely-color-navy-panel); }
  .homepage-pitch main .he-page .he-map-centre p { font-size: clamp(.4375rem, 1.9cqw, .65rem); line-height: 1.3; letter-spacing: .04em; }
  .he-page .he-map-centre strong { font-size: clamp(1.125rem, 6.5cqw, 2rem); margin-block: 6px; }
  .he-page .he-map-centre .he-map-message > span { font-size: clamp(.5625rem, 2.65cqw, .75rem); line-height: 1.35; }
  /* The selected link already provides the category. Reserve the compact
     centre for its benefit and description instead of repeating that label. */
  .he-page .he-map[data-active-connection] .he-map-centre p { display: none; }
  .he-page .he-map[data-active-connection] .he-map-centre strong { font-size: clamp(.875rem, 4.6cqw, 1.65rem); margin-block: 4px; }
  .he-page .he-delivery--timeline .he-delivery-stages { grid-template-columns: 1fr; gap: 0; }
  .he-page .he-delivery--timeline summary { flex-wrap: nowrap; min-height: 84px; align-items: center; }
  .he-page .he-delivery--timeline summary h3 { order: 0; width: auto; }
  .he-page .he-delivery--timeline .he-step { width: auto; }
  .he-page .he-delivery--timeline details { border-top: 1px solid var(--nemely-color-footer-line); }
  .he-page .he-delivery--timeline .he-stage-body { padding-left: 30px; }
  .he-page--people .he-hero-media { margin: 28px 0 0; }
  .he-page--people .he-photo-window { aspect-ratio: 1.4; border-radius: 8px 60px 8px 8px; }
  .he-page--people .he-photo-window img { object-position: 83% center; }
  .he-page--people .he-hero-media figcaption { bottom: auto; left: auto; padding: 16px 0 0; max-width: none; }
  .he-page .he-principles-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .he-page .he-principles-grid > div { position: relative; padding-left: 40px; }
  .he-page .he-principles-grid svg { position: absolute; left: 0; top: 24px; }
  .he-page--people .he-start--compact { padding-bottom: 0; }
}
/* The wheel and its counter-rotating labels share one clock. Pressing a node
   or focusing a control stops the entire orbit, without rewinding. */
@keyframes he-hero-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes he-map-intro { from { opacity: 0; } to { opacity: 1; } }
@keyframes he-wheel-turn { to { transform: rotate(360deg); } }
@keyframes he-node-counter { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes he-signal-flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes he-map-message { from { opacity: .4; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 851px) and (prefers-reduced-motion: no-preference) {
  .he-page--ecosystem .he-hero-copy > .he-eyebrow { animation: he-hero-reveal .6s var(--nemely-disclosure-easing) both; }
  .he-page--ecosystem .he-hero-lead { animation: he-hero-reveal .75s var(--nemely-disclosure-easing) .08s both; }
  .he-page--ecosystem .he-hero-accent { animation: he-hero-reveal .75s var(--nemely-disclosure-easing) .18s both; }
  .he-page--ecosystem .he-hero-explanation { animation: he-hero-reveal .7s var(--nemely-disclosure-easing) .28s both; }
  .he-page .he-map { animation: he-map-intro .8s var(--nemely-disclosure-easing) .18s both; }
  .he-page .he-map-message { animation: he-map-message .22s ease-out both; }
  .he-page .he-map-connection[data-active] .he-map-signal { animation: he-signal-flow 1.65s linear 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .he-page .he-map[data-motion-enabled] :is(.he-map-wheel, .he-map-node) { animation-duration: var(--he-orbit-duration); animation-timing-function: linear; animation-iteration-count: infinite; animation-play-state: paused; }
  .he-page .he-map[data-motion-enabled] .he-map-wheel { animation-name: he-wheel-turn; }
  .he-page .he-map[data-motion-enabled] .he-map-node { animation-name: he-node-counter; }
  .he-page .he-map[data-orbit-playing] :is(.he-map-wheel, .he-map-node) { animation-play-state: running; }
  .he-page .he-map:focus-within :is(.he-map-wheel, .he-map-node) { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .he-page a svg, .he-page .he-map-node, .he-page .he-map-connection, .he-page .he-delivery-stages summary > svg { transition: none; }
}

/* Approved product selector: readable product rows, a softly lit navy preview,
   and the same content in an inline disclosure layout on smaller screens. */
.he-page .he-product-selector { --he-ink: var(--nemely-color-white); --he-muted: var(--nemely-color-on-dark-muted); background: var(--nemely-color-navy-dark); color: var(--he-ink); }
.homepage-pitch main .he-page .he-product-selector.he-section { padding-block: clamp(32px, 4.5vh, 56px); scroll-margin-top: var(--nemely-sticky-header-offset); }
.homepage-pitch main .he-page .he-product-selector .he-eyebrow { color: var(--nemely-color-on-dark-accent); }
.homepage-pitch main .he-page .he-product-selector h2 { font-size: clamp(2.25rem, 3.4vw, 3.25rem); margin-top: 12px; }
.he-page .he-product-selector .he-heading > .he-body { margin-top: 0; }
.homepage-pitch main .he-page .he-product-list-label { margin-top: 22px; font-size: .7rem; }
.he-page .he-product-browser { margin-top: 8px; }
.he-page .he-product-option { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 48px; margin-bottom: 24px; }
.he-page .he-product-choice { display: grid; grid-template-columns: 28px minmax(0,1fr) 20px; align-items: start; gap: 16px; width: 100%; min-width: 0; min-height: 80px; padding: 10px 18px; border: 1px solid transparent; border-bottom-color: var(--nemely-color-white-line); border-radius: 10px; color: var(--nemely-color-white); background: transparent; font: inherit; cursor: pointer; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.he-page .he-product-choice > svg { width: 25px; height: 25px; color: var(--nemely-color-on-dark-accent); }
.he-page .he-product-choice > svg:last-child { width: 20px; height: 20px; color: inherit; }
.he-page .he-product-choice-copy { display: grid; gap: 5px; min-width: 0; }
.he-page .he-product-choice-title { font-size: 1.25rem; font-weight: var(--nemely-heading-weight); line-height: 1.2; letter-spacing: -.025em; }
.he-page .he-product-choice-description { font-size: .9375rem; font-weight: 400; line-height: 1.55; color: var(--nemely-color-on-dark-muted); }
.he-page .he-product-choice:is(:hover, :focus, :active, [aria-pressed="true"]) { color: var(--nemely-color-white); background: var(--nemely-color-navy); border-color: var(--nemely-color-white-line); }
.he-page .he-product-choice:hover { border-color: var(--nemely-color-on-dark-accent); }
.he-page .he-product-panel { display: flex; flex-direction: column; align-items: flex-start; align-self: start; padding: 28px; border: 1px solid var(--nemely-color-white-line); border-radius: 20px; background: var(--nemely-surface-raised-dark); box-shadow: var(--nemely-shadow-raised-dark); color: var(--nemely-color-white); }
.he-page .he-product-panel > svg { width: 36px; height: 36px; margin-bottom: 20px; color: var(--nemely-color-on-dark-accent); }
.homepage-pitch main .he-page .he-product-panel h3 { color: var(--nemely-color-white); font-size: 1.5rem; line-height: 1.2; }
.homepage-pitch main .he-page .he-product-panel p { margin-block: 14px 24px; font-size: .9375rem; line-height: 1.55; color: var(--nemely-color-on-dark-muted); }
.he-page .he-product-benefit { color: var(--nemely-color-white); font-weight: 650; }
.he-page .he-product-panel .he-button { margin-top: auto; }
.he-page .he-product-panel[hidden] { display: none; }
.he-page .he-product-browser[data-homepage-enhanced] { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); grid-template-rows: repeat(var(--he-product-count),auto); gap: 0 64px; }
.he-page .he-product-browser[data-homepage-enhanced] .he-product-option { display: contents; }
.he-page .he-product-browser[data-homepage-enhanced] .he-product-choice { grid-column: 1; }
.he-page .he-product-browser[data-homepage-enhanced] .he-product-panel { grid-column: 2; grid-row: 1 / -1; position: sticky; top: calc(var(--nemely-sticky-header-offset, 94px) + 20px); min-height: 300px; }
.he-page .he-product-selector .he-partner-products { border-color: var(--nemely-color-white-line); margin-top: 22px; padding-top: 14px; }
.he-page .he-product-selector .he-partner-products > div:first-child { display: grid; gap: 4px; }
.he-page .he-product-selector .he-partner-products > div:first-child > span { color: var(--nemely-color-on-dark-muted); font-size: .8125rem; }
.he-page .he-product-selector .he-partner-products .he-link:hover { color: var(--nemely-color-on-dark-accent); }
/* Short laptop viewports get tighter whitespace, never a clipped/fixed height. */
@media(min-width: 851px) and (max-height: 960px) {
  .homepage-pitch main .he-page .he-product-selector.he-section { padding-block: 18px; }
  .homepage-pitch main .he-page .he-product-selector h2 { font-size: clamp(2rem, 3.1vw, 2.625rem); margin-top: 10px; }
  .homepage-pitch main .he-page .he-product-list-label { margin-top: 12px; }
  .he-page .he-product-browser { margin-top: 6px; }
  .he-page .he-product-choice { min-height: 60px; padding-block: 4px; }
  .he-page .he-product-choice-copy { gap: 4px; }
  .he-page .he-product-choice-description { line-height: 1.35; }
  .he-page .he-product-selector .he-partner-products { margin-top: 12px; padding-top: 10px; }
}
@media(max-width: 850px) {
  .homepage-pitch main .he-page .he-product-selector h2 { font-size: clamp(2rem, 6vw, 2.75rem); }
  .he-page .he-product-selector .he-heading > .he-body { margin-top: 20px; }
  .he-page .he-product-option, .he-page .he-product-browser[data-homepage-enhanced] { display: block; }
  .he-page .he-product-browser[data-homepage-enhanced] .he-product-option { display: block; margin-bottom: 8px; }
  .he-page .he-product-choice { padding: 16px 12px; gap: 14px; }
  .he-page .he-product-browser[data-homepage-enhanced] .he-product-panel { position: static; min-height: 0; margin-block: 12px 24px; }
  .he-page .he-product-panel { margin-top: 12px; padding: 26px; }
}
@media(max-width: 380px) {
  .he-page .he-product-choice { grid-template-columns: 22px minmax(0,1fr) 16px; gap: 10px; padding-inline: 6px; }
  .he-page .he-product-choice > svg { width: 22px; height: 22px; }
  .he-page .he-product-choice > svg:last-child { width: 16px; height: 16px; }
}

@media screen and (max-width:650px) {
  /* Let the existing interactive orbit introduce the homepage on phones. */
  .he-page--ecosystem .he-hero-grid > .he-map { order:-1; margin-top:0; }
  .he-page .he-section { padding-block:var(--nemely-phone-section-space); }
  .he-page .he-start-grid { gap:18px; }
  .he-page .he-delivery-intro figure img { max-height:var(--nemely-phone-photo-height); object-fit:cover; }
}

/* Size the Swedish display headline to its column, keeping complete words.
   Body copy retains the shared readable type scale. */
html:lang(sv) .he-page--ecosystem .he-hero-copy { container-type: inline-size; }
html:lang(sv) .homepage-pitch main .he-page--ecosystem h1 { font-size: clamp(2.5rem, 15cqi, 6.4rem); }
