/* ProfileHub Global — site styles */
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--brand)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;background:#fff;padding:10px 14px;z-index:999;border-radius:8px}
.wrap{max-width:1360px;margin:0 auto;padding:0 32px}
.section{padding-top:36px;padding-bottom:64px}
.narrow{max-width:820px}
.muted{color:var(--muted)}
.eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--brand);margin-bottom:8px}
.hbtn{display:inline-flex;align-items:center;gap:8px;border-radius:10px;padding:11px 22px;font-weight:600;font-size:15px;text-decoration:none;border:1.5px solid var(--brand);transition:.15s;white-space:nowrap;cursor:pointer;font-family:inherit}
.hbtn svg{width:18px;height:18px}
.hbtn.solid{background:var(--brand);color:#fff}
.hbtn.solid:hover{filter:brightness(.92)}
.hbtn.ghost{background:#fff;color:var(--brand)}
.hbtn.ghost:hover{background:var(--brand-t)}
.hbtn.lg{padding:14px 26px;font-size:16px}
.hbtn.gold{background:var(--gold);border-color:var(--gold);color:#1b1300}
.hbtn.white{background:#fff;border-color:#fff;color:var(--brand-d)}
/* header */
.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.admin-bar .site-header{top:32px}
.hwrap{max-width:1440px;margin:0 auto;padding:10px 32px;display:flex;align-items:center;gap:28px;min-height:76px}
.site-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--brand-d);flex:none}
.site-brand .globe{width:56px;height:56px;color:var(--brand);display:block}
.site-brand .globe svg{width:100%;height:100%}
.site-brand .bt b{display:block;font-size:24px;font-weight:800;line-height:1;letter-spacing:.2px;text-transform:uppercase;max-width:220px}
.site-brand .bt small{display:block;font-size:11px;font-weight:600;margin-top:5px;color:var(--brand-d)}
.site-brand .custom-logo{max-height:60px;width:auto}
.site-nav{display:flex;align-items:center;flex:1;gap:20px}
.site-nav .menu{list-style:none;margin:0 auto;padding:0;display:flex;gap:6px}
.site-nav .menu li{position:relative}
.site-nav .menu a{display:block;padding:10px 12px;text-decoration:none;color:var(--ink);font-weight:500;font-size:15px}
.site-nav .menu a:hover{color:var(--brand)}
.site-nav .menu .current-menu-item>a,.site-nav .menu .current_page_item>a{color:var(--brand);box-shadow:inset 0 -3px 0 var(--brand)}
.site-nav .sub-menu{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;list-style:none;min-width:200px;box-shadow:0 14px 30px rgba(10,42,102,.12)}
.site-nav li:hover>.sub-menu{display:block}
.hact{display:flex;align-items:center;gap:12px}
.hsearch{width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--brand-d)}
.hsearch svg{width:24px;height:24px}
.hact .hbtn{padding:10px 22px}
.plan-pill{font-size:12px;font-weight:700;color:var(--brand-d);background:var(--brand-t);border-radius:999px;padding:5px 10px}
.nav-toggle{display:none;margin-left:auto;background:none;border:0;width:44px;height:44px;flex-direction:column;justify-content:center;gap:5px;padding:10px}
.nav-toggle span:not(.screen-reader-text){display:block;height:2.5px;background:var(--brand-d);border-radius:2px}
/* hero */
.hero{position:relative;background:linear-gradient(180deg,#F4F8FF 0%,#EAF2FF 82%,#fff 82%);padding-bottom:4px}
.hero-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:30px;align-items:center;min-height:440px;position:relative;z-index:1}
.hero-copy{padding:56px 0 90px}
.hero h1{font-size:58px;line-height:1.08;letter-spacing:-1.5px;margin:0 0 24px;font-weight:800;color:#0F1B33}
.hero h1 span{color:var(--brand)}
.hero-copy p{font-size:19px;color:#2B3954;max-width:560px;margin:0 0 28px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-art{position:relative;align-self:stretch;min-height:420px}
.hero-photo{position:absolute;right:-20px;bottom:0;max-height:110%;width:auto;max-width:115%;object-fit:contain}
.hero-svg{position:absolute;left:0;right:-32px;bottom:0;width:calc(100% + 32px);height:100%;object-fit:cover;object-position:left bottom}
.hero-art{overflow:hidden}
.hero-docs{position:absolute;right:20px;bottom:90px;width:420px;height:300px}
.hdoc{position:absolute;width:170px;height:240px;border-radius:6px;overflow:hidden;background:#fff;box-shadow:0 22px 50px rgba(10,42,102,.28)}
.hdoc-0{left:0;top:40px;transform:rotate(-8deg)}
.hdoc-1{left:120px;top:0;z-index:2}
.hdoc-2{left:240px;top:44px;transform:rotate(8deg)}
.mini-in{width:794px;height:1123px;transform-origin:top left}
.hdoc .mini-in{transform:scale(.2141)}
.mini-tp{width:794px;height:1123px}
.hsearchbar{position:relative;z-index:3;display:flex;align-items:center;gap:0;background:#fff;border-radius:14px;box-shadow:0 14px 40px rgba(10,42,102,.12);padding:10px;max-width:1296px;margin:-44px auto 0;border:1px solid var(--line)}
.hsearchbar .hs-q{flex:1.6;display:flex;align-items:center;gap:10px;padding:0 14px}
.hsearchbar .hs-q svg{width:20px;height:20px;color:var(--ink);flex:none}
.hsearchbar input,.hsearchbar select{border:0;outline:0;background:transparent;font:inherit;font-size:15px;color:var(--ink);padding:12px 8px;width:100%}
.hsearchbar select{flex:1;border-left:1px solid var(--line);padding:12px 14px;cursor:pointer;min-width:0}
.hsearchbar .hbtn{margin-left:8px;padding:12px 38px}
.hsearchbar.inline{margin:22px 0 0;max-width:none}
/* category tiles */
.cat-tiles{display:grid;grid-template-columns:repeat(7,1fr);gap:16px;margin-top:22px;margin-bottom:22px}
.ctile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:18px 10px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;color:var(--c);box-shadow:0 4px 14px rgba(10,42,102,.05);transition:.15s;min-height:104px}
.ctile:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(10,42,102,.1)}
.ctile .ic{width:32px;height:32px}
.ctile .ic svg{width:100%;height:100%}
.ctile b{font-size:16px;line-height:1.2}
.ctile small{color:#2B3954;font-size:13px}
/* how it works */
.how{background:#EAF2FF;padding:26px 0}
.how-grid{display:flex;align-items:center;gap:18px}
.how-t{flex:none;width:250px}
.how-t h2{margin:0;font-size:30px;letter-spacing:-.5px}
.how-t p{margin:4px 0 0;color:#2B3954}
.step{flex:1;display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center;position:relative}
.step .n{width:30px;height:30px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}
.step .ic{width:40px;height:40px;color:var(--brand)}
.step .ic svg{width:100%;height:100%}
.step b{width:100%;text-align:center;font-weight:600;font-size:15px}
.arr{width:26px;color:#93A6C8;flex:none}
.arr svg{width:100%}
/* featured + promo */
.feat-row{display:grid;grid-template-columns:1.45fr 1fr;gap:28px;padding-top:28px;padding-bottom:20px}
.sec-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.sec-h h2{margin:0;font-size:24px}
.sec-h a{display:flex;align-items:center;gap:6px;text-decoration:none;font-weight:600}
.sec-h a svg{width:16px}
.fp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.plist{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}
.pcard{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:0 4px 14px rgba(10,42,102,.05);transition:.15s}
a.pcard:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(10,42,102,.12)}
.pcard .bnr{height:130px;background:#dfe7f3 center/cover;position:relative}
.pcard .lg{position:absolute;left:14px;bottom:-20px;width:46px;height:46px;border-radius:50%;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;overflow:hidden;border:3px solid #fff}
.pcard .lg .mono{border-radius:50%}
.pcard .bd{padding:28px 14px 14px}
.pcard h4{margin:0 0 3px;font-size:15px;display:flex;align-items:center;gap:6px}
.pcard .m{font-size:13px;color:var(--muted)}
.pcard .tag{margin-top:8px}
.verified{display:inline-flex;width:16px;height:16px;border-radius:50%;background:var(--brand);color:#fff;padding:2px}
.verified svg{width:100%;height:100%}
.promo{position:relative;border-radius:18px;background:linear-gradient(120deg,#0A2A66 0%,#0B4FBF 100%);color:#fff;padding:34px 30px;overflow:hidden;display:flex;align-items:center;min-height:230px}
.promo-t{position:relative;z-index:2;max-width:56%}
.promo h2{margin:0 0 10px;font-size:28px;line-height:1.15}
.promo p{margin:0 0 20px;opacity:.9}
.promo-docs{position:absolute;right:10px;top:16px;bottom:16px;width:44%}
.pdoc{position:absolute;width:132px;height:187px;border-radius:5px;overflow:hidden;background:#fff;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.pdoc .mini-in{transform:scale(.1663)}
.pdoc-0{left:0;top:30px;transform:rotate(-10deg)}
.pdoc-1{left:70px;top:6px;transform:rotate(-2deg);z-index:2}
.pdoc-2{left:150px;top:26px;transform:rotate(8deg)}
/* why + pricing */
.why-row{display:grid;grid-template-columns:2.6fr 1fr;gap:24px;padding-top:10px;padding-bottom:56px}
.why{display:flex;align-items:center;background:#EEF4FF;border-radius:16px;padding:20px 24px;gap:10px}
.why-t{flex:1.6}
.why-t h2{margin:0;font-size:24px}
.why-t p{margin:4px 0 0;color:#2B3954}
.wi{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:0 6px;border-left:1px solid #CFDCF2}
.wi .ic{width:34px;height:34px;color:var(--brand)}
.wi .ic svg{width:100%;height:100%}
.wi b{font-size:13px;font-weight:600}
.price-cta{position:relative;display:block;border-radius:16px;background:linear-gradient(120deg,#0B5ED7,#1E7BFF);color:#fff;padding:22px 26px;text-decoration:none;overflow:hidden}
.price-cta h3{margin:0;font-size:21px}
.price-cta p{margin:2px 0 14px;opacity:.9;font-size:14px}
.price-cta .hbtn{padding:8px 18px;font-size:14px}
.price-cta .trend{position:absolute;right:10px;bottom:6px;width:160px}
/* page hero */
.page-hero{background:linear-gradient(180deg,#F4F8FF,#EAF2FF);padding:48px 0 40px;border-bottom:1px solid var(--line)}
.page-hero h1{margin:0 0 10px;font-size:42px;letter-spacing:-.8px;line-height:1.1}
.page-hero p{margin:0;color:#2B3954;font-size:17px;max-width:760px}
.page-hero.slim{padding:36px 0 30px}
.page-hero.slim h1{font-size:34px}
#phg-gallery{padding-top:8px;padding-bottom:60px}
/* pricing */
.plans{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.plan{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:10px}
.plan.hot{border:2px solid var(--brand);box-shadow:0 14px 34px rgba(11,94,215,.15)}
.plan .tag{align-self:flex-start}
.plan h3{margin:0;font-size:21px}
.plan .pr{font-size:34px;font-weight:800}
.plan .pr small{font-size:14px;color:var(--muted);font-weight:500}
.plan ul{padding:0;margin:6px 0 10px;list-style:none;display:flex;flex-direction:column;gap:8px;font-size:15px;flex:1}
.plan li:before{content:"✓";color:var(--ok);font-weight:800;margin-right:8px}
.plan .btn{justify-content:center;text-decoration:none}
.btn.disabled{opacity:.6;pointer-events:none}
.tier-table{margin-top:24px}
.tier-table h3{margin-top:0}
/* public profile */
.pubbar{position:sticky;top:77px;z-index:20;background:var(--brand-d);color:#fff;display:flex;align-items:center;gap:12px;padding:10px 32px;font-size:14px}
.admin-bar .pubbar{top:109px}
.pubbar .sp{flex:1}
.pubbar .btn{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.25);color:#fff;text-decoration:none}
.pubbar .btn.pri{background:#fff;color:var(--brand-d)}
.vbadge{display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,.15);border-radius:999px;padding:3px 10px;font-size:12px}
.vbadge svg{width:12px}
.phg-public{container-type:inline-size}
/* content */
.entry{font-size:17px;line-height:1.7}
.entry h2,.entry h3{line-height:1.2;margin:1.6em 0 .6em}
.entry img{border-radius:12px}
.feat-img{margin:0 0 24px}
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}
.post-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.post-card .thumb img{display:block;width:100%;height:200px;object-fit:cover}
.pc-b{padding:18px}
.pc-b h2{font-size:20px;margin:6px 0 8px}
.pc-b h2 a{color:var(--ink);text-decoration:none}
.pager{margin-top:30px}
.pager .nav-links{display:flex;gap:6px;flex-wrap:wrap}
.pager .page-numbers{padding:8px 14px;border:1px solid var(--line);border-radius:8px;text-decoration:none}
.pager .current{background:var(--brand);color:#fff;border-color:var(--brand)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.cform{display:flex;flex-direction:column;gap:12px}
.cform .hp{position:absolute;left:-9999px}
.notice{padding:10px 14px;border-radius:10px;font-size:14px}
.notice.ok{background:#E6F6EC;color:#0B7A3B}
.notice.err{background:#FDECEC;color:#B42318}
.comments{margin-top:40px;border-top:1px solid var(--line);padding-top:20px}
.comment-list{padding-left:20px}
.alignwide{max-width:1100px}
.alignfull{width:100vw;margin-left:calc(50% - 50vw)}
/* footer */
.site-footer{background:#0A1B3F;color:rgba(255,255,255,.75);padding:56px 0 0;font-size:14px}
.fgrid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:36px}
.site-footer h4{color:#fff;margin:0 0 14px;font-size:15px}
.site-footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px}
.site-footer a{color:rgba(255,255,255,.75);text-decoration:none}
.site-footer a:hover{color:#fff}
.site-brand.light{color:#fff}
.site-brand.light .globe{color:#6FA8FF;width:46px;height:46px}
.site-brand.light .bt b{font-size:19px}
.site-brand.light .bt small{color:rgba(255,255,255,.7)}
.fbrand p{max-width:360px;margin-top:16px}
.fbottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding:18px 32px;font-size:13px}
/* editor page */
.phg-editor-page .site-main{background:var(--bg)}
/* responsive */
@media (max-width:1280px){.hero h1{font-size:52px}.cat-tiles{grid-template-columns:repeat(4,1fr)}.feat-row{grid-template-columns:1fr}.why-row{grid-template-columns:1fr}.site-nav .menu a{padding:10px 8px}.site-brand .bt b{font-size:20px}}
@media (max-width:1080px){
 .nav-toggle{display:flex}
 .site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:12px 20px 20px;border-bottom:1px solid var(--line);box-shadow:0 20px 30px rgba(10,42,102,.1)}
 .site-nav.open{display:flex}
 .site-nav .menu{flex-direction:column;margin:0}
 .site-nav .sub-menu{position:static;display:block;box-shadow:none;border:0;padding-left:14px}
 .hact{flex-wrap:wrap}
 .hero-grid{grid-template-columns:1fr}.hero-copy{padding:40px 0 10px}.hero-art{min-height:320px}.hero-docs{right:auto;left:50%;margin-left:-210px;bottom:90px}
 .hsearchbar{flex-wrap:wrap;margin-top:-40px}.hsearchbar .hs-q{flex:1 1 100%;border-bottom:1px solid var(--line)}.hsearchbar select{border-left:0;flex:1 1 30%}.hsearchbar .hbtn{flex:1 1 100%;margin:8px 0 0;justify-content:center}
 .how-grid{flex-wrap:wrap}.how-t{width:100%}.arr{display:none}.step{flex:1 1 30%}
 .fp-grid{grid-template-columns:repeat(2,1fr)}
 .why{flex-wrap:wrap}.why-t{flex:1 1 100%}.wi{border:0}
 .plans{grid-template-columns:1fr 1fr}.fgrid{grid-template-columns:1fr 1fr}.contact-grid{grid-template-columns:1fr}
 .pubbar{top:77px;flex-wrap:wrap;padding:10px 16px}
}
@media (max-width:640px){
 .wrap{padding:0 16px}.hwrap{padding:8px 16px;min-height:64px}.site-brand .globe{width:42px;height:42px}.site-brand .bt b{font-size:17px}.site-brand .bt small{display:none}
 .hero h1{font-size:38px}.hero-copy p{font-size:16px}.hero-art{min-height:260px}.hero-docs{transform:scale(.7);transform-origin:center bottom}
 .cat-tiles{grid-template-columns:repeat(2,1fr)}.fp-grid{grid-template-columns:1fr}.step{flex:1 1 45%}
 .promo{flex-direction:column;align-items:flex-start}.promo-t{max-width:none}.promo-docs{position:relative;width:300px;height:220px;right:auto;top:auto}
 .plans,.fgrid{grid-template-columns:1fr}.page-hero h1{font-size:30px}
}
@media screen and (max-width:782px){.admin-bar .site-header{top:46px}}
.phg-public .wnav{position:static}
.hsearchbar:not(.inline){width:calc(100% - 64px)}@media (max-width:640px){.hsearchbar:not(.inline){width:calc(100% - 32px)}}
.plans.two-plans{grid-template-columns:repeat(2,minmax(0,420px));justify-content:center}@media(max-width:640px){.plans.two-plans{grid-template-columns:1fr}}
