/* Keep the original image-positioning script from shifting the new grid. */
.j3-page .j3-detail-layout .img-ph { margin-top: 0 !important; margin-bottom: 0 !important; }
.j3-page .j3-detail-layout :is(.img-ph-clip, .j3-feature-art) > img { display: block; }
.j3-page .j3-solutions > a.sol-card { text-decoration: none; color: var(--j3-ink); }
.j3-page .j3-solutions > a.sol-card > div:last-child { display: flex; flex-direction: column; min-width: 0; }
.j3-page .j3-solutions .sol-card-list { list-style: none; padding: 0; display: grid; gap: 8px; margin: 18px 0 0; }
.j3-page .j3-solutions .sol-card-list li { position: relative; padding-left: 14px; }
.j3-page .j3-solutions .sol-card-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; position: absolute; top: 10px; left: 0; background: var(--j3-accent); }
.j3-page .j3-solutions .sol-card-link { margin-top: auto; padding-top: 22px; }
.j3-page .j3-solutions > a.sol-card:hover .sol-card-link { text-decoration: underline; text-underline-offset: 4px; }

/* Homepage product chapters: compact feature lists balance the illustration. */
.j3-page[data-j3-page="home-page"] .j3-section-feature .prd-head { display: flex; flex-direction: column; align-items: center; }
.j3-page[data-j3-page="home-page"] .prd-head > .sec-tag { order: -1; margin-bottom: 8px; }
.j3-page[data-j3-page="home-page"] .prd-head > .sec-sub { margin-bottom: 0; }
.j3-page[data-j3-page="home-page"] :is(#messenger,#telephony,#crm) .j3-detail-layout { gap: 48px; align-items: center; }
.j3-page[data-j3-page="home-page"] :is(#messenger,#crm) .prd-img { position: static; }
.j3-page[data-j3-page="home-page"] :is(#messenger,#telephony,#crm) .feat-grid { gap: 0 24px; }
.j3-page[data-j3-page="home-page"] :is(#messenger,#telephony,#crm) .feat-card {
  display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: start; gap: 12px;
  padding: 23px 0; border: 0; border-bottom: 1px solid var(--j3-line); border-radius: 0; background: transparent;
}
.j3-page[data-j3-page="home-page"] .feat-card .feat-ico { width: 30px; height: 30px; margin: 0; background: transparent; }
.j3-page[data-j3-page="home-page"] .feat-card .feat-ico svg { width: 22px; height: 22px; }
.j3-page[data-j3-page="home-page"] .feat-card h3 { font-size: 17px; line-height: 1.4; margin: 0 0 9px; }
.j3-page[data-j3-page="home-page"] .feat-card p { font-size: 13px; line-height: 1.8; }
.j3-page[data-j3-page="home-page"] .product-cta-row { margin-top: 28px; }
.j3-page[data-j3-page="home-page"] #telephony .j3-detail-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.j3-page[data-j3-page="home-page"] #telephony .prd-img { align-self: center; }
.j3-page[data-j3-page="home-page"] #telephony .prd-img { background: #eae9f1; }

/* Supporting facts share a baseline and no longer read as loose text. */
.j3-page[data-j3-page="home-page"] #hero .j3-hero-support { display: block; max-width: 840px; margin-top: 45px; }
.j3-page[data-j3-page="home-page"] #hero .hero-visual { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.j3-page[data-j3-page="home-page"] #hero .j3-product-note { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-height: 88px; margin: 0; padding: 18px 24px; background: var(--j3-white); }
.j3-page[data-j3-page="home-page"] #hero .j3-product-note > div:empty { display: none; }
.j3-page[data-j3-page="home-page"] #hero .j3-product-note > div > span { display: block; }
.j3-page[data-j3-page="home-page"] #hero .j3-product-note :is(strong, span:not(.pb-meta-muted), div > span:first-child) { font-size: 24px; font-weight: 800; line-height: 1.2; }
.j3-page[data-j3-page="home-page"] #hero .j3-product-note div > span + span { margin-top: 6px; font-size: 11px; color: var(--j3-muted); }
@media(max-width:1000px) {
  .j3-page[data-j3-page="home-page"] :is(#messenger,#telephony,#crm) .j3-detail-layout { gap: 30px; }
  .j3-page[data-j3-page="home-page"] .feat-card h3 { font-size: 16px; }
}
@media(max-width:760px) {
  .j3-page[data-j3-page="home-page"] :is(#messenger,#telephony,#crm) .j3-detail-layout { grid-template-columns: minmax(0,1fr); }
  .j3-page[data-j3-page="home-page"] #telephony .prd-img { grid-row: 1; }
  .j3-page[data-j3-page="home-page"] #hero .hero-visual { gap: 10px; }
  .j3-page[data-j3-page="home-page"] #hero .j3-product-note { padding: 17px 14px; }
  .j3-page[data-j3-page="home-page"] #hero .j3-product-note :is(strong, span:not(.pb-meta-muted), div > span:first-child) { font-size: 19px; }
}
@media(max-width:480px) {
  .j3-page[data-j3-page="home-page"] :is(#messenger,#telephony,#crm) .feat-grid { grid-template-columns: minmax(0,1fr); }
  .j3-page[data-j3-page="home-page"] :is(#messenger,#telephony,#crm) .feat-card { padding: 19px 0; }
  .j3-page[data-j3-page="home-page"] #hero .hero-visual { grid-template-columns: minmax(0,1fr); }
  .j3-page[data-j3-page="home-page"] #hero .j3-product-note { min-height: 76px; padding: 17px 22px; }
}

/* Developer summaries retain distinct, readable metadata groups. */
.j3-developer .meta { display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; }
.j3-developer .meta .pill { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid var(--j3-line); border-radius:999px; background:var(--j3-white); font-size:12px; line-height:1.45; }
.j3-developer .meta .dot { width:5px; height:5px; flex:0 0 5px; border-radius:50%; background:var(--j3-accent); }
@media(max-width:600px){.j3-developer .meta {gap:7px}.j3-developer .meta .pill{font-size:11px;padding:7px 10px}}
.j3-page[data-j3-page="home-page"] #hero .j3-product-note.j3-product-note > div > span + span { font-size:11px; font-weight:500; line-height:1.5; color:var(--j3-muted); }

/* Illustration captions belong to a shared baseline, outside the artwork. */
.j3-page[data-j3-page="home-page"] .prd-img .img-ph { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.j3-page[data-j3-page="home-page"] .prd-img .img-ph-clip { grid-column:1/-1; }
.j3-page[data-j3-page="home-page"] .prd-img .j3-product-note { margin:0; min-width:0; padding:12px 8px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:5px; min-height:74px; background:transparent; border-top:1px solid var(--j3-line); border-radius:0; color:var(--j3-ink); }
.j3-page[data-j3-page="home-page"] .prd-img .j3-product-note :is(.pb-card-val,strong) {font-size:19px;line-height:1.25;}
.j3-page[data-j3-page="home-page"] .prd-img .j3-product-note :is(.pb-meta-soft,.pb-card-lbl) {font-size:11px;line-height:1.4;color:var(--j3-muted);}
.j3-page[data-j3-page="home-page"] #telephony .prd-img {padding:18px 22px 22px;--j3-ink:#2d2a44;--j3-muted:#5d5a70;--j3-line:#c5c2d7;}
.j3-page[data-j3-page="home-page"] #telephony .prd-img img {max-height:560px;}
@media(max-width:600px){
.j3-page[data-j3-page="home-page"] .prd-img .img-ph {gap:7px;}
.j3-page[data-j3-page="home-page"] #telephony .prd-img {padding:10px 12px 16px;}
.j3-page[data-j3-page="home-page"] .prd-img .j3-product-note {padding:10px 3px;min-height:70px;}
}

/* eSIM is one product story: introduction and plans beside the device. */
.j3-page[data-j3-page="home-page"] #esim-intro .j3-detail-layout {grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;}
.j3-page[data-j3-page="home-page"] #esim-intro .j3-section-head {text-align:left;margin:0 0 26px;max-width:none;}
.j3-page[data-j3-page="home-page"] #esim-intro .j3-section-head h2 {font-size:clamp(34px,3.4vw,48px);line-height:1.13;text-wrap:balance;margin:16px 0 20px;}
.j3-page[data-j3-page="home-page"] #esim-intro .j3-section-head :is(p,.sec-sub) {font-size:16px;line-height:1.75;margin:0;max-width:590px;}
.j3-page[data-j3-page="home-page"] #esim-intro .prd-img {padding:20px 20px 16px;--j3-ink:#2e2b45;--j3-muted:#5f5b76;--j3-line:#c7c5d6;}
.j3-page[data-j3-page="home-page"] #esim-intro .prd-img img {max-height:440px;}
.j3-page[data-j3-page="home-page"] #esim-intro .ei-packs {gap:12px;}
.j3-page[data-j3-page="home-page"] #esim-intro .ei-pack {padding:18px 22px;min-height:94px;border-radius:14px;}
.j3-page[data-j3-page="home-page"] #esim-intro .ei-gb {font-size:28px;}
.j3-page[data-j3-page="home-page"] #esim-intro .ei-note {margin:15px 0 0;}
.j3-page[data-j3-page="home-page"] #esim-intro .product-cta-row {margin-top:23px;}
@media(max-width:900px){.j3-page[data-j3-page="home-page"] #esim-intro .j3-detail-layout{gap:28px;}}
@media(max-width:760px){
.j3-page[data-j3-page="home-page"] #esim-intro .j3-detail-layout{grid-template-columns:minmax(0,1fr);gap:30px;}
.j3-page[data-j3-page="home-page"] #esim-intro .j3-section-head h2{font-size:36px;}
.j3-page[data-j3-page="home-page"] #esim-intro .prd-img{max-width:500px;width:100%;margin:auto;}
.j3-page[data-j3-page="home-page"] #esim-intro .ei-pack{padding:17px;}
}
.j3-page[data-j3-page="home-page"] #esim-intro .prd-head {align-items:flex-start;text-align:left;}

/* ROI: a shared introduction above aligned input and result columns. */
@media(min-width:960px){
.j3-page[data-j3-page="home-page"] .jl-cc-dashboard {display:grid;grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);grid-template-rows:auto auto auto auto;gap:20px 28px;align-items:stretch;}
.j3-page[data-j3-page="home-page"] .jl-cc-dashboard > .jl-cc-roi-tag {grid-column:1/-1;grid-row:1;margin:0;}
.j3-page[data-j3-page="home-page"] .jl-cc-col-left {display:contents;}
.j3-page[data-j3-page="home-page"] .jl-cc-header-text {grid-column:1/-1;grid-row:2;margin:0 0 14px;align-items:flex-start;text-align:left;}
.j3-page[data-j3-page="home-page"] .jl-cc-header-text h2 {max-width:950px;}
.j3-page[data-j3-page="home-page"] .jl-cc-header-text .sec-sub {max-width:850px;margin:0;}
.j3-page[data-j3-page="home-page"] .jl-cc-controls {grid-column:1;grid-row:3;margin:0;}
.j3-page[data-j3-page="home-page"] .jl-cc-research {grid-column:1;grid-row:4;margin:0;}
.j3-page[data-j3-page="home-page"] .jl-cc-col-right {grid-column:2;grid-row:3/5;margin-top:0;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;gap:20px;}
.j3-page[data-j3-page="home-page"] .jl-cc-col-right > * {margin-top:0;margin-bottom:0;}
}

/* Home headline follows the text column instead of scaling to display size. */
body.j3-page[data-j3-page="home-page"] #hero .j3-hero-copy h1{font-size:clamp(44px,4.2vw,60px);line-height:1.12;letter-spacing:-.045em;margin-block:20px 22px;text-wrap:balance}
@media(max-width:600px){
 body.j3-page[data-j3-page="home-page"] #hero .j3-hero-copy h1{font-size:clamp(32px,8.8vw,40px);line-height:1.14;letter-spacing:-.035em;margin-block:18px 20px}
}
/* Retain legacy anchor IDs for original scripts without a second navigation menu. */
body.j3-page .j3-local-nav-retained{display:none!important}
