/* ============================================================
   PHOENIX LICENSES PAGE — fully isolated
   ============================================================ */
body.phx-licenses-page{background:#003b39;color:#f6fbfa}
body.phx-licenses-page>header.navbar{position:absolute!important;top:0!important;left:0!important;right:0!important;margin:20px 40px 0!important;z-index:100!important}
body.phx-licenses-page .phx-licenses-shell{--lic-deep:#003b39;--lic-dark:#004b49;--lic-teal:#00d8d4;--lic-light:#eff8f8;--lic-text:#073b3d;width:100%;overflow:hidden;background:var(--lic-deep)}
.phx-licenses-hero{position:relative;min-height:720px;height:min(100vh,860px);display:flex;align-items:center;isolation:isolate;overflow:hidden;padding-top:80px}
.phx-licenses-hero-media{position:absolute;inset:0;z-index:-2;overflow:hidden}.phx-licenses-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.9) contrast(1.05)}
.phx-licenses-hero-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,25,26,.15) 0%,rgba(0,43,42,.25) 34%,rgba(0,48,47,.72) 69%,rgba(0,48,47,.96) 100%)}
.phx-licenses-hero-copy{width:min(600px,46vw);margin-right:7.5vw;margin-left:auto;text-align:right;padding:50px 0 60px}
.phx-licenses-kicker{display:flex;align-items:center;gap:13px;color:var(--lic-teal);font-size:14px;font-weight:700;letter-spacing:.1px;margin-bottom:18px}.phx-licenses-kicker:after{content:"";width:36px;height:1px;background:currentColor;display:block}
.phx-licenses-hero h1{margin:0;color:#fff;font-size:42px;line-height:1.45;font-weight:800;letter-spacing:-.6px}.phx-licenses-hero h2{margin:14px 0 0;color:#bfe5e3;font-size:18px;line-height:1.8;font-weight:600}.phx-licenses-hero p{margin:18px 0 0;color:#edf8f7;font-size:14px;line-height:2.15;max-width:560px}
.phx-licenses-hero-btn{display:inline-flex;align-items:center;gap:14px;margin-top:28px;padding:12px 23px;border:1px solid var(--lic-teal);border-radius:28px;color:var(--lic-teal);background:rgba(0,20,21,.18);text-decoration:none;font-size:13px;font-weight:700;transition:transform .25s ease,background .25s ease}.phx-licenses-hero-btn:hover{transform:translateY(-2px);background:rgba(0,216,212,.08)}

.phx-licenses-showcase{background:var(--lic-deep);padding:88px 7vw 105px;scroll-margin-top:20px}.phx-licenses-showcase-head{display:flex;justify-content:center;align-items:center;gap:18px;color:var(--lic-teal);margin-bottom:58px}.phx-licenses-showcase-head span{width:32px;height:1px;background:currentColor}.phx-licenses-showcase-head h2{margin:0;font-size:23px;color:#fff;font-weight:800}
.phx-licenses-slider{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr);gap:6vw;align-items:center;min-height:500px;direction:ltr}.phx-licenses-art{position:relative;min-height:460px;display:flex;align-items:center;justify-content:center;isolation:isolate}.phx-licenses-slide-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transform:translateY(16px) scale(.985);transition:opacity .75s ease,transform .75s ease;pointer-events:none}.phx-licenses-slide-art.is-active{opacity:1;transform:translateY(0) scale(1)}.phx-licenses-slide-art:after{content:"";position:absolute;inset:8% 3%;z-index:-1;background:radial-gradient(ellipse at center,rgba(0,216,212,.12),transparent 64%);filter:blur(22px)}.phx-licenses-slide-art img{width:min(780px,100%);max-height:470px;object-fit:contain;filter:drop-shadow(0 25px 38px rgba(0,0,0,.28));-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 92%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 8%,#000 92%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 8%,#000 92%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 8%,#000 92%,transparent 100%);-webkit-mask-composite:source-in;mask-composite:intersect}
.phx-licenses-copy{text-align:right;direction:rtl;min-height:350px;display:flex;flex-direction:column;justify-content:center}.phx-licenses-slide-copy{display:none;animation:phxLicCopyIn .7s ease both}.phx-licenses-slide-copy.is-active{display:block}@keyframes phxLicCopyIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.phx-licenses-number-label{color:var(--lic-teal);font-size:13px;font-weight:700;margin-bottom:18px}.phx-licenses-slide-copy h3{margin:0;color:#fff;font-size:31px;line-height:1.55;font-weight:800}.phx-licenses-slide-copy p{margin:17px 0 0;color:#c6dddc;font-size:14px;line-height:2.15;max-width:450px}.phx-licenses-controls{display:flex;gap:12px;align-items:center;margin-top:42px;direction:ltr}.phx-licenses-dot{appearance:none;border:0;background:transparent;color:#7faead;font:700 12px/1 inherit;padding:7px 5px;cursor:pointer;position:relative;transition:color .25s ease}.phx-licenses-dot:after{content:"";position:absolute;left:50%;bottom:0;width:0;height:1px;background:var(--lic-teal);transform:translateX(-50%);transition:width .25s ease}.phx-licenses-dot:hover,.phx-licenses-dot.is-active{color:var(--lic-teal)}.phx-licenses-dot.is-active:after{width:24px}.phx-licenses-empty{max-width:800px;margin:auto;text-align:center;color:#b9d2d0;padding:70px 0}

.phx-licenses-credibility{min-height:520px;background:var(--lic-light);color:var(--lic-text);display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);align-items:center;overflow:hidden}.phx-licenses-cred-media{height:100%;min-height:520px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.phx-licenses-cred-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--lic-light) 0%,rgba(239,248,248,.15) 26%,transparent 55%,rgba(239,248,248,.06) 100%);pointer-events:none}.phx-licenses-cred-media img{width:100%;height:100%;object-fit:cover;object-position:center;mask-image:linear-gradient(90deg,transparent 0%,#000 17%,#000 84%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 17%,#000 84%,transparent 100%)}.phx-licenses-cred-copy{padding:70px 5vw 70px 3vw;text-align:right}.phx-licenses-cred-copy .phx-licenses-kicker{color:#0a8d87}.phx-licenses-cred-copy h2{margin:0;color:#073b3d;font-size:34px;line-height:1.55}.phx-licenses-cred-copy p{margin:20px 0 0;max-width:520px;color:#426064;font-size:14px;line-height:2.2}

.phx-licenses-trust{background:#004b49;min-height:400px;display:flex;align-items:center;justify-content:center;text-align:center;padding:80px 7vw}.phx-licenses-trust-inner{max-width:940px}.phx-licenses-trust .phx-licenses-kicker{justify-content:center}.phx-licenses-trust .phx-licenses-kicker:before{content:"";width:36px;height:1px;background:currentColor}.phx-licenses-trust h2{margin:0;color:#fff;font-size:33px;line-height:1.55}.phx-licenses-trust p{margin:18px auto 0;color:#c6e2e0;font-size:14px;line-height:2.15;max-width:680px}.phx-licenses-trust-items{display:flex;justify-content:center;gap:60px;margin-top:45px;color:#8de5e1;font-size:14px;font-weight:700}.phx-licenses-trust-items div{position:relative}.phx-licenses-trust-items div:not(:last-child):after{content:"";position:absolute;left:-30px;top:50%;width:1px;height:18px;background:rgba(141,229,225,.35);transform:translateY(-50%)}

.phx-licenses-cta{position:relative;min-height:430px;display:flex;align-items:center;overflow:hidden;background:#002f30;background-image:var(--phx-licenses-cta-image);background-size:cover;background-position:center}.phx-licenses-cta-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,47,48,.25),rgba(0,47,48,.74) 60%,rgba(0,47,48,.96) 100%)}.phx-licenses-cta-copy{position:relative;z-index:2;width:min(580px,48vw);margin-right:8vw;text-align:right}.phx-licenses-cta-copy h2{margin:0;color:#fff;font-size:35px;line-height:1.5}.phx-licenses-cta-copy p{margin:15px 0 0;color:#d7eceb;font-size:14px;line-height:2}.phx-licenses-cta-copy a{display:inline-flex;align-items:center;gap:12px;margin-top:25px;padding:12px 24px;border:1px solid var(--lic-teal);border-radius:26px;color:var(--lic-teal);text-decoration:none;font-size:13px;font-weight:700;transition:transform .25s ease}.phx-licenses-cta-copy a:hover{transform:translateY(-2px)}

@media(max-width:900px){body.phx-licenses-page>header.navbar{left:20px!important;right:20px!important;margin-top:14px!important}.phx-licenses-hero{min-height:700px;height:78vh}.phx-licenses-hero-copy{width:min(620px,76vw);margin-right:8vw}.phx-licenses-slider{grid-template-columns:1fr;gap:10px}.phx-licenses-art{min-height:420px;order:1}.phx-licenses-copy{order:2;min-height:300px}.phx-licenses-credibility{grid-template-columns:1fr}.phx-licenses-cred-media{min-height:420px}.phx-licenses-cred-copy{padding:50px 8vw}.phx-licenses-trust-items{gap:30px}.phx-licenses-trust-items div:not(:last-child):after{left:-15px}}
@media(max-width:650px){body.phx-licenses-page>header.navbar{left:10px!important;right:10px!important;margin-top:10px!important}.phx-licenses-hero{min-height:720px;height:100svh;align-items:flex-end;padding-top:0}.phx-licenses-hero-media img{object-position:54% center}.phx-licenses-hero-overlay{background:linear-gradient(180deg,rgba(0,43,42,.08) 0%,rgba(0,43,42,.34) 37%,rgba(0,43,42,.96) 100%)}.phx-licenses-hero-copy{width:100%;margin:0;padding:42px 7vw 52px}.phx-licenses-hero h1{font-size:29px}.phx-licenses-hero h2{font-size:15px}.phx-licenses-hero p{font-size:12.5px}.phx-licenses-showcase{padding:62px 6vw 75px}.phx-licenses-showcase-head{margin-bottom:35px}.phx-licenses-showcase-head h2{font-size:19px}.phx-licenses-art{min-height:330px}.phx-licenses-slide-art img{max-height:330px}.phx-licenses-slide-copy h3{font-size:25px}.phx-licenses-slide-copy p{font-size:12.5px}.phx-licenses-controls{margin-top:30px;gap:8px}.phx-licenses-cred-media{min-height:330px}.phx-licenses-cred-copy h2{font-size:27px}.phx-licenses-cred-copy p{font-size:12.5px}.phx-licenses-trust{padding:62px 7vw;min-height:360px}.phx-licenses-trust h2{font-size:27px}.phx-licenses-trust p{font-size:12.5px}.phx-licenses-trust-items{flex-direction:column;gap:16px}.phx-licenses-trust-items div:not(:last-child):after{display:none}.phx-licenses-cta{min-height:360px}.phx-licenses-cta-copy{width:100%;margin:0;padding:45px 7vw}.phx-licenses-cta-copy h2{font-size:27px}.phx-licenses-cta-copy p{font-size:12.5px}}

/* ============================================================
   FINAL SCOPED HERO SIZE — LICENSES PAGE ONLY
   Desktop: exact 1905x600 visual Hero; no other section touched.
   ============================================================ */
@media (min-width:901px){
  body.phx-licenses-page .phx-licenses-hero{
    width:100%;
    height:600px;
    min-height:600px;
    box-sizing:border-box;
  }
  body.phx-licenses-page .phx-licenses-hero-media,
  body.phx-licenses-page .phx-licenses-hero-media img{
    width:100%;
    height:100%;
  }
}

/* Scoped additions for licenses page management controls */
body.phx-licenses-page .phx-licenses-hero-copy, body.phx-licenses-page .phx-licenses-hero-copy * { text-align: right; }
body.phx-licenses-page .phx-licenses-hero-copy { margin-left: auto; margin-right: 7.5vw; }
body.phx-licenses-page .phx-licenses-cta { min-height: 365px; }
body.phx-licenses-page .phx-licenses-cta-copy { text-align: right; }
@media(max-width:900px){body.phx-licenses-page .phx-licenses-hero-copy{margin-right:8vw;margin-left:auto;}}
@media(max-width:650px){body.phx-licenses-page .phx-licenses-hero-copy{margin:0;}}

/* Responsive CTA natural-image fit: scoped to licenses page and disabled above 1400px. */
.phx-licenses-cta-natural-image{display:none}
@media (max-width:1400px){
  body.phx-licenses-page .phx-licenses-cta{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;height:auto;background-color:#002f30;background-image:none!important;overflow:hidden}
  body.phx-licenses-page .phx-licenses-cta-natural-image,body.phx-licenses-page .phx-licenses-cta-overlay,body.phx-licenses-page .phx-licenses-cta-copy{grid-area:1/1;min-width:0}
  body.phx-licenses-page .phx-licenses-cta-natural-image{display:block;position:relative;inset:auto;width:100%;height:auto;max-width:none;object-fit:contain;align-self:center;justify-self:stretch;border:0;border-radius:0}
  body.phx-licenses-page .phx-licenses-cta-overlay{position:relative;inset:auto;width:100%;height:100%;min-height:0;background:linear-gradient(90deg,rgba(0,47,48,.40),rgba(0,47,48,.86));pointer-events:none}
  body.phx-licenses-page .phx-licenses-cta-copy{position:relative;z-index:2;align-self:center;justify-self:stretch;width:100%;max-width:900px;box-sizing:border-box;margin:0 auto;padding:clamp(18px,3vw,42px) clamp(16px,5vw,64px)}
  body.phx-licenses-page .phx-licenses-cta-copy h2{font-size:clamp(19px,2.1vw,30px);line-height:1.45}
  body.phx-licenses-page .phx-licenses-cta-copy p{font-size:clamp(11px,1vw,14px);line-height:1.9}
  body.phx-licenses-page .phx-licenses-cta-copy a{font-size:clamp(11px,.95vw,13px);padding:clamp(8px,.9vw,12px) clamp(13px,1.6vw,22px)}
}
@media (max-width:780px){body.phx-licenses-page .phx-licenses-cta-overlay{background:linear-gradient(180deg,rgba(0,47,48,.48),rgba(0,47,48,.84))}body.phx-licenses-page .phx-licenses-cta-copy{padding:clamp(18px,4vw,30px) 16px;margin:0;text-align:center}}
@media (max-width:480px){body.phx-licenses-page .phx-licenses-cta-copy{padding:16px 12px}body.phx-licenses-page .phx-licenses-cta-copy h2{font-size:clamp(17px,5vw,21px)}}

/* ============================================================
   LICENSES HERO — intrinsic image ratio for laptop and tablet.
   Scoped to this page only: keep the full source image visible, with
   the existing copy and navigation layered above it.
   ============================================================ */
@media screen and (min-width:601px) and (max-width:1440px) {
  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero {
    display:block;
    width:100%;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
    box-sizing:border-box;
    overflow:hidden;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero > .phx-licenses-hero-media {
    position:relative;
    inset:auto;
    z-index:0;
    width:100%;
    height:auto;
    min-width:0;
    overflow:hidden;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero > .phx-licenses-hero-media > img {
    display:block;
    width:100%!important;
    height:auto!important;
    min-width:0;
    max-width:100%!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero > .phx-licenses-hero-overlay {
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero > .phx-licenses-hero-copy {
    position:absolute;
    top:0;
    right:clamp(36px,7.5vw,104px);
    bottom:0;
    left:auto;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:center;
    width:min(600px,46vw);
    max-width:100%;
    min-width:0;
    max-height:100%;
    box-sizing:border-box;
    margin:0;
    padding:clamp(68px,9vh,92px) 0 clamp(20px,3vh,32px);
    overflow:hidden;
    text-align:right;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero .phx-licenses-kicker {
    flex:0 0 auto;
    margin-bottom:clamp(8px,1.3vh,14px);
    font-size:clamp(11px,.9vw,13px);
    line-height:1.4;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero h1 {
    flex:0 0 auto;
    max-width:100%;
    margin:0;
    font-size:clamp(24px,2.05vw,31px)!important;
    line-height:1.3!important;
    overflow-wrap:anywhere;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero h2 {
    flex:0 0 auto;
    max-width:100%;
    margin-top:clamp(7px,1.2vh,12px);
    font-size:clamp(14px,1.15vw,17px)!important;
    line-height:1.5!important;
    overflow-wrap:anywhere;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero p {
    flex:0 1 auto;
    max-width:100%;
    margin-top:clamp(8px,1.4vh,14px);
    margin-bottom:0;
    font-size:clamp(11px,.95vw,14px)!important;
    line-height:1.55!important;
    overflow-wrap:anywhere;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero .phx-licenses-hero-btn {
    flex:0 0 auto;
    align-self:flex-start;
    max-width:100%;
    margin-top:clamp(12px,2vh,22px);
    padding:clamp(8px,.8vw,11px) clamp(14px,1.6vw,22px);
    box-sizing:border-box;
    font-size:clamp(11px,.88vw,13px)!important;
    line-height:1.35;
    white-space:normal;
  }
}

/* Short laptop screens: compact only the licenses hero copy, not the menu. */
@media screen and (min-width:1101px) and (max-width:1440px) and (max-height:650px) {
  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero > .phx-licenses-hero-copy {
    width:min(560px,44vw);
    right:clamp(36px,7vw,96px);
    padding-top:68px;
    padding-bottom:18px;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero h1 {
    font-size:clamp(23px,1.9vw,27px)!important;
    line-height:1.25!important;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero h2 {
    font-size:clamp(13px,1.05vw,15px)!important;
    line-height:1.4!important;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero p {
    font-size:12px!important;
    line-height:1.45!important;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero .phx-licenses-hero-btn {
    margin-top:10px;
    padding:7px 15px;
    font-size:11px!important;
  }
}

/* Tablet: preserve the original image ratio and keep copy inside its bounds. */
@media screen and (min-width:601px) and (max-width:1100px) {
  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero > .phx-licenses-hero-copy {
    width:min(620px,82vw);
    right:clamp(22px,6vw,66px);
    padding-top:clamp(64px,8vh,84px);
    padding-bottom:clamp(16px,2.5vh,26px);
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero h1 {
    font-size:clamp(21px,3vw,29px)!important;
    line-height:1.28!important;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero h2 {
    font-size:clamp(13px,1.8vw,16px)!important;
    line-height:1.45!important;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero p {
    font-size:clamp(11px,1.35vw,13px)!important;
    line-height:1.5!important;
  }

  body.phx-licenses-page .phx-licenses-shell > .phx-licenses-hero .phx-licenses-hero-btn {
    margin-top:12px;
    padding:8px 16px;
    font-size:11px!important;
  }
}

/* Licenses page only: show the original Hero and CTA images without tint or filters. */
body.phx-licenses-page .phx-licenses-hero-media img {
  filter: none !important;
}
body.phx-licenses-page .phx-licenses-hero-overlay,
body.phx-licenses-page .phx-licenses-cta-overlay {
  background: none !important;
}
