/* Phosphor Icons GlobeHemisphereEast.
MIT License

Copyright (c) 2020 Phosphor Icons

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/
:root{--pinhon-language-globe:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%3E%0A%20%20%3Cdefs%3E%3CclipPath%20id%3D%22earth%22%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2232%22%20r%3D%2229%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%0A%20%20%3Ccircle%20cx%3D%2232%22%20cy%3D%2232%22%20r%3D%2230%22%20fill%3D%22%23078f9c%22%2F%3E%0A%20%20%3Cg%20clip-path%3D%22url(%23earth)%22%20fill%3D%22%23a1d6aa%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22m13%207%207-3%204%203-3%204-5%201-2%205-5%201-4%207-4-1%204-12Zm11%204%205-5%207-2%209%203%204%203%208%204%205%208-4%204-5-2-2%205-4%201-2-5-4%201-2%205-5-2-3%203-3-3-1%206-4%205-3-4-2-8-4-2-3%201-3-4%204-5%206%201%203-3%205%201%202-3-5-1Z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22m8%2028%207%201%203%205%204%202%202%206-4%206-1%206-5%201-4-7-1-7-5-4%201-5Zm25%206%204-2%203%204%203%201%202%205-3%202-3-6-3%201Zm16-5%202%201-2%205-2-1Zm-5%2016%204%201%204-4%202%202%202%207-3%205-8-1-5%202-3-5%202-5Zm-12-3%204%201%203%203-1%202-5-3Zm25%2013%202%201-2%204-2-1Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%20%20%3Ccircle%20cx%3D%2232%22%20cy%3D%2232%22%20r%3D%2229%22%20stroke%3D%22%23087c82%22%20stroke-width%3D%221.5%22%2F%3E%0A%3C%2Fsvg%3E%0A");}
/* Language icon and mobile drawer. Existing product, page and card styles are untouched. */
:is(.language-switcher,.mobile-language-switcher,.formal-language-switcher)>summary{position:relative;display:flex;align-items:center;justify-content:center;gap:0;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;color:#343737;background:transparent;box-shadow:none;list-style:none;cursor:pointer;}
:is(.language-switcher,.mobile-language-switcher,.formal-language-switcher)>summary::before{content:"";display:block;width:32px;height:32px;background:var(--pinhon-language-globe) center/contain no-repeat;-webkit-mask:none;mask:none;}
:is(.language-switcher,.mobile-language-switcher,.formal-language-switcher)>summary::-webkit-details-marker{display:none;}
:is(.language-switcher,.mobile-language-switcher,.formal-language-switcher)>summary>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
:is(.language-switcher,.mobile-language-switcher,.formal-language-switcher)>summary>:is(i,[aria-hidden="true"]){display:none;}
:is(.language-switcher,.mobile-language-switcher,.formal-language-switcher)>summary:hover{background:#eaf0ed;}
:is(.language-switcher,.mobile-language-switcher,.formal-language-switcher)>summary:focus-visible{outline:2px solid #0b776e;outline-offset:3px;}
.pinhon-drawer-trigger,.pinhon-mobile-drawer,.pinhon-drawer-backdrop{display:none;}
.pinhon-mobile-drawer[hidden],.pinhon-drawer-backdrop[hidden]{display:none!important;}
@media(max-width:1050px){
 .site-header .desktop-nav,.site-header .header-cta,.site-header .language-switcher{display:none;}
 .site-header [data-menu-button]{display:flex;}
 .pinhon-drawer-trigger{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:10px;color:#263c34;background:transparent;cursor:pointer;}
 .pinhon-drawer-backdrop{position:fixed;inset:0;z-index:9998;display:block;background:#18283c73;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .2s ease;}
 .pinhon-drawer-backdrop[data-open=true]{opacity:1;}
 .pinhon-mobile-drawer{position:fixed;inset:0 0 0 auto;z-index:9999;display:flex;flex-direction:column;width:50vw;height:100vh;height:100dvh;max-width:100%;background:#f6f7f7;color:#26352f;box-shadow:-12px 0 40px #163c291a;transform:translateX(100%);transition:transform .2s ease;overscroll-behavior:contain;}
 .pinhon-mobile-drawer[data-open=true]{transform:translateX(0);}
 .pinhon-drawer-top{position:relative;z-index:2;display:flex;flex:none;align-items:center;justify-content:space-between;min-height:76px;padding:max(12px,env(safe-area-inset-top)) 12px 12px;}
 .pinhon-drawer-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;margin-left:auto;padding:0;border:0;border-radius:50%;color:#333;background:transparent;cursor:pointer;}
 .pinhon-drawer-close:hover{background:#e4e9e6;}
 .pinhon-drawer-close:focus-visible,.pinhon-mobile-drawer a:focus-visible,.pinhon-mobile-drawer button:focus-visible{outline:2px solid #0b776e;outline-offset:3px;}
 .pinhon-mobile-drawer>.mobile-nav{position:static!important;display:block!important;flex:1;min-height:0;width:100%;max-height:none!important;overflow-x:hidden;overflow-y:auto;padding:4px 16px max(24px,env(safe-area-inset-bottom))!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
 .pinhon-mobile-drawer .mobile-nav>.mobile-nav-group{display:block;overflow:visible;margin:0;padding:0;border:0;border-bottom:1px solid #d9deda;border-radius:0;background:transparent;}
 .pinhon-mobile-drawer .mobile-nav-toggle,.pinhon-mobile-drawer .mobile-nav>.mobile-icon-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:58px;margin:0;padding:16px 0;border:0;border-radius:0;color:#26352f;background:transparent;font-family:inherit;font-size:15px;font-weight:500;overflow-wrap:anywhere;white-space:normal;line-height:1.45;text-align:left;text-decoration:none;}
 .pinhon-mobile-drawer .mobile-nav>.mobile-icon-link{border-bottom:1px solid #d9deda;}
 .pinhon-mobile-drawer .mobile-nav>.mobile-icon-link>svg{display:none;}
 .pinhon-mobile-drawer .mobile-nav-toggle[aria-expanded=true]{color:#0b776e;background:transparent;}
 .pinhon-mobile-drawer .mobile-nav-toggle i{width:8px;height:8px;flex-shrink:0;color:#8f9c96;}
 .pinhon-mobile-drawer .mobile-nav-panel{position:static;max-height:none;overflow:visible;display:grid;gap:0;padding:0 0 12px 6px;border:0;}
 .pinhon-mobile-drawer .mobile-nav-panel[hidden]{display:none!important;}
 .pinhon-mobile-drawer .mobile-nav-panel a{display:block;min-height:42px;padding:10px 0;border:0;color:#586b62;font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:normal;}
 .pinhon-mobile-drawer .mobile-nav>.mobile-sample-link{display:block;min-height:52px;margin-top:25px;padding:14px 18px;border:1px solid #cad8d0;border-radius:5px;color:#254f3b;background:transparent;box-shadow:none;font-size:14px;text-align:center;}
 .pinhon-mobile-drawer .mobile-sample-link>svg{display:none;}
 .pinhon-drawer-top .mobile-language-switcher{position:relative;grid-column:auto;padding:0;}
 .pinhon-drawer-top .mobile-language-switcher>div{position:absolute;top:100%;left:0;z-index:5;display:grid;grid-template-columns:1fr;width:calc(50vw - 24px);min-width:0;max-width:240px;padding:7px;border:1px solid #d7e0da;border-radius:10px;background:white;box-shadow:0 12px 30px #183d2926;}
 .pinhon-drawer-top .mobile-language-switcher a{min-height:40px;padding:8px 12px;font-size:14px;text-align:left;}
 .formal-header-actions{gap:4px;}
 .site-header:has(.pinhon-drawer-trigger) .brand-logo{width:135px;}
}
@media(prefers-reduced-motion:reduce){.pinhon-mobile-drawer,.pinhon-drawer-backdrop{transition:none;}}

/* Homepage header and three-card desktop formulation goals. */
body .site-header{background:transparent!important;padding-bottom:8px;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
body .home-header-row>.nav-shell{background:#F3F7FD!important}
.english-home .en-goal-track{--visible-goals:3!important}
body .home-header-row{width:calc(100% - 40px);max-width:1440px;margin:0 auto;display:flex;align-items:center;gap:24px}
body .home-header-row>.brand{display:flex;flex:0 0 180px;width:180px;height:70px;padding:0;background:transparent;border:0;box-shadow:none}
body .home-header-row>.brand .brand-logo{width:180px;height:auto;max-height:70px;object-fit:contain}
body .home-header-row>.nav-shell{flex:1;min-width:0;width:auto;margin:0;padding:6px 10px;border-radius:40px;gap:8px;min-height:64px;box-shadow:0 10px 30px rgb(0 0 53 / 7%)}
body .home-header-row .desktop-nav{flex:1;justify-content:space-between;gap:0;padding:0;background:transparent;border:0}
body .home-header-row .nav-icon-link{padding:10px 9px;gap:5px;font-size:14px;white-space:nowrap}
body .home-header-row .nav-icon-link>svg{display:none}
body .home-nav-link{background:#F3F7FD;border-radius:24px}
body .home-header-row .header-cta{padding:0 12px;font-size:13px;gap:6px}
@media(min-width:1051px) and (max-width:1250px){
body .home-header-row{gap:16px}
body .home-header-row>.brand{flex-basis:160px;width:160px}
body .home-header-row>.brand .brand-logo{width:160px}
body .home-header-row .header-cta{display:none}
body .home-header-row .nav-icon-link{font-size:13px;padding:10px 7px}
}
@media(max-width:1050px){
body .home-header-row>.nav-shell{flex:0 0 auto;margin-left:auto;min-height:54px}
}
@media(max-width:980px){.english-home .en-goal-track{--visible-goals:2!important}}
@media(max-width:620px){
.english-home .en-goal-track{--visible-goals:1!important}
body .home-header-row{width:calc(100% - 24px);gap:10px}
body .home-header-row>.brand{flex-basis:130px;width:130px;height:58px}
body .home-header-row>.brand .brand-logo{width:130px}
body .home-header-row>.nav-shell{padding:4px 7px;gap:4px;min-height:48px}
body .home-header-row .phai-launch{font-size:0!important;width:38px;min-width:38px;padding:6px!important;gap:0!important}
body .home-header-row .phai-launch>span{font-size:0!important}
body .home-header-row .phai-launch>span:first-child{font-size:20px!important}
body .home-header-row .menu-button{padding:8px 10px;font-size:14px}
}

/* Give all six homepage images their natural landscape proportions. */
.english-home .en-goals>.shell{width:calc(100% - 40px);max-width:1440px}
.english-home .en-goal-slide{height:auto!important;min-height:0!important}
.english-home .en-goal-slide .en-goal-card{height:100%;display:flex;flex-direction:column}
.english-home .en-goal-art{height:auto!important;aspect-ratio:1672 / 941;flex:0 0 auto}
.english-home .en-goal-card h3{height:auto;min-height:76px;display:flex;align-items:center;padding:18px}
@media(max-width:620px){.english-home .en-goals>.shell{width:calc(100% - 32px)}.english-home .en-goal-card h3{min-height:64px}}

/* Compact desktop menu capsule, with controls aligned on one center line. */
@media(min-width:1051px){
body .home-header-row>.nav-shell{height:58px;min-height:58px;padding:5px 10px}
body .home-header-row .desktop-nav{height:46px;min-height:0}
body .home-header-row .nav-icon-link{height:40px;min-height:40px;padding:8px 9px;line-height:1.2;display:flex;align-items:center}
body .home-header-row .header-cta,body .home-header-row .phai-launch{height:40px;min-height:40px}
body .home-header-row .nav-item{height:40px;display:flex;align-items:center}
}
